@ilo-org/react 0.0.16 → 0.0.17
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/.turbo/turbo-build.log +60 -62
- package/.turbo/turbo-check.log +1 -1
- package/.turbo/turbo-test.log +13 -13
- package/CHANGELOG.md +16 -0
- package/package.json +6 -6
- package/src/stories/Accordion.stories.tsx +6 -1
- package/src/stories/Button.stories.tsx +22 -1
- package/src/stories/Callout.stories.tsx +14 -1
- package/src/stories/Dropdown.stories.tsx +6 -0
- package/src/stories/Hero.stories.tsx +17 -1
- package/src/stories/Link.stories.tsx +6 -1
- package/src/stories/LinkList.stories.tsx +6 -0
- package/src/stories/List.stories.tsx +10 -1
- package/src/stories/Loading.stories.tsx +10 -0
- package/src/stories/Notification.stories.tsx +10 -1
- package/src/stories/Tag.stories.tsx +13 -2
- package/src/stories/Tooltip.stories.tsx +10 -1
- package/storybook-static/iframe.html +2 -2
- package/storybook-static/main.3ae24e12.iframe.bundle.js +1 -0
- package/storybook-static/project.json +1 -1
- package/storybook-static/static/css/main.4deb891d.css +3 -0
- package/storybook-static/static/css/main.4deb891d.css.map +1 -0
- package/storybook-static/main.09e49cbd.iframe.bundle.js +0 -1
- package/storybook-static/static/css/main.3a816114.css +0 -3
- package/storybook-static/static/css/main.3a816114.css.map +0 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
|
|
2
|
-
> @ilo-org/react@0.0.
|
|
2
|
+
> @ilo-org/react@0.0.17 build /home/runner/work/designsystem/designsystem/packages/react
|
|
3
3
|
> pnpm run build:rollup && npm run build:storybook
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
> @ilo-org/react@0.0.
|
|
6
|
+
> @ilo-org/react@0.0.17 build:rollup /home/runner/work/designsystem/designsystem/packages/react
|
|
7
7
|
> rollup -c
|
|
8
8
|
|
|
9
9
|
[36m
|
|
10
10
|
[1msrc/index.ts[22m → [1mlib/index.js, lib/index.esm.js[22m...[39m
|
|
11
|
-
[32mcreated [1mlib/index.js, lib/index.esm.js[22m in [1m10.
|
|
11
|
+
[32mcreated [1mlib/index.js, lib/index.esm.js[22m in [1m10.3s[22m[39m
|
|
12
12
|
|
|
13
|
-
> @ilo-org/react@0.0.
|
|
13
|
+
> @ilo-org/react@0.0.17 build:storybook
|
|
14
14
|
> build-storybook
|
|
15
15
|
|
|
16
16
|
info @storybook/react v6.5.13
|
|
@@ -153,7 +153,7 @@ info => Using default Webpack5 setup
|
|
|
153
153
|
<s> [webpack.Progress] 9% setup compilation
|
|
154
154
|
<s> [webpack.Progress] 10% building
|
|
155
155
|
<s> [webpack.Progress] 10% building 0/1 entries 0/0 dependencies 0/0 modules
|
|
156
|
-
<s> [webpack.Progress] 10% building 0/14 entries
|
|
156
|
+
<s> [webpack.Progress] 10% building 0/14 entries 1/14 dependencies 0/0 modules
|
|
157
157
|
<s> [webpack.Progress] 10% building import loader ../../node_modules/.pnpm/babel-loader@8.2.5_f645c55d63e77e0aacb83a76bcc9695b/node_modules/babel-loader/lib/index.js
|
|
158
158
|
<s> [webpack.Progress] 10% building import loader ../../node_modules/.pnpm/source-map-loader@3.0.2_webpack@5.74.0/node_modules/source-map-loader/dist/cjs.js
|
|
159
159
|
<s> [webpack.Progress] 10% building 0/14 entries 6/19 dependencies 0/5 modules
|
|
@@ -174,31 +174,31 @@ info => Using default Webpack5 setup
|
|
|
174
174
|
<s> [webpack.Progress] 10% building 0/14 entries 186/238 dependencies 1/121 modules
|
|
175
175
|
<s> [webpack.Progress] 10% building 0/14 entries 199/300 dependencies 1/134 modules
|
|
176
176
|
<s> [webpack.Progress] 10% building 0/14 entries 234/306 dependencies 3/142 modules
|
|
177
|
-
<s> [webpack.Progress] 13% building 1/14 entries 237/
|
|
178
|
-
<s> [webpack.Progress] 13% building 1/14 entries
|
|
179
|
-
<s> [webpack.Progress] 13% building 1/14 entries
|
|
180
|
-
<s> [webpack.Progress] 13% building 1/14 entries
|
|
181
|
-
<s> [webpack.Progress] 13% building 1/14 entries 500/
|
|
182
|
-
<s> [webpack.Progress] 13% building 1/14 entries
|
|
183
|
-
<s> [webpack.Progress] 13% building 1/14 entries
|
|
184
|
-
<s> [webpack.Progress] 13% building 1/14 entries
|
|
185
|
-
<s> [webpack.Progress] 13% building 1/14 entries
|
|
186
|
-
<s> [webpack.Progress] 13% building 1/14 entries
|
|
187
|
-
<s> [webpack.Progress] 13% building 1/14 entries
|
|
188
|
-
<s> [webpack.Progress] 13% building 1/14 entries
|
|
189
|
-
<s> [webpack.Progress] 13% building 1/14 entries
|
|
190
|
-
<s> [webpack.Progress] 13% building 1/14 entries
|
|
191
|
-
<s> [webpack.Progress] 13% building 1/14 entries
|
|
192
|
-
<s> [webpack.Progress] 13% building 1/14 entries
|
|
193
|
-
<s> [webpack.Progress] 13% building 1/14 entries 2400
|
|
194
|
-
<s> [webpack.Progress] 13% building 1/14 entries
|
|
195
|
-
<s> [webpack.Progress] 13% building 1/14 entries
|
|
196
|
-
<s> [webpack.Progress] 13% building 1/14 entries
|
|
197
|
-
<s> [webpack.Progress]
|
|
198
|
-
<s> [webpack.Progress]
|
|
199
|
-
<s> [webpack.Progress]
|
|
200
|
-
<s> [webpack.Progress]
|
|
201
|
-
<s> [webpack.Progress] 18% building 1/14 entries
|
|
177
|
+
<s> [webpack.Progress] 13% building 1/14 entries 237/339 dependencies 17/142 modules
|
|
178
|
+
<s> [webpack.Progress] 13% building 1/14 entries 323/355 dependencies 31/207 modules
|
|
179
|
+
<s> [webpack.Progress] 13% building 1/14 entries 328/400 dependencies 31/210 modules
|
|
180
|
+
<s> [webpack.Progress] 13% building 1/14 entries 330/600 dependencies 33/211 modules
|
|
181
|
+
<s> [webpack.Progress] 13% building 1/14 entries 500/698 dependencies 40/297 modules
|
|
182
|
+
<s> [webpack.Progress] 13% building 1/14 entries 657/700 dependencies 42/353 modules
|
|
183
|
+
<s> [webpack.Progress] 13% building 1/14 entries 661/751 dependencies 46/357 modules
|
|
184
|
+
<s> [webpack.Progress] 13% building 1/14 entries 800/1121 dependencies 50/385 modules
|
|
185
|
+
<s> [webpack.Progress] 13% building 1/14 entries 1076/1121 dependencies 55/400 modules
|
|
186
|
+
<s> [webpack.Progress] 13% building 1/14 entries 1086/1200 dependencies 55/408 modules
|
|
187
|
+
<s> [webpack.Progress] 13% building 1/14 entries 1200/1527 dependencies 64/420 modules
|
|
188
|
+
<s> [webpack.Progress] 13% building 1/14 entries 1496/1527 dependencies 77/500 modules
|
|
189
|
+
<s> [webpack.Progress] 13% building 1/14 entries 1518/1600 dependencies 78/508 modules
|
|
190
|
+
<s> [webpack.Progress] 13% building 1/14 entries 1576/1700 dependencies 88/508 modules
|
|
191
|
+
<s> [webpack.Progress] 13% building 1/14 entries 1830/1900 dependencies 112/561 modules
|
|
192
|
+
<s> [webpack.Progress] 13% building 1/14 entries 2000/2390 dependencies 156/570 modules
|
|
193
|
+
<s> [webpack.Progress] 13% building 1/14 entries 2373/2400 dependencies 175/653 modules
|
|
194
|
+
<s> [webpack.Progress] 13% building 1/14 entries 2469/2500 dependencies 202/665 modules
|
|
195
|
+
<s> [webpack.Progress] 13% building 1/14 entries 2600/3029 dependencies 263/674 modules
|
|
196
|
+
<s> [webpack.Progress] 13% building 1/14 entries 3000/3083 dependencies 344/706 modules
|
|
197
|
+
<s> [webpack.Progress] 14% building 1/14 entries 3200/3255 dependencies 375/727 modules
|
|
198
|
+
<s> [webpack.Progress] 15% building 1/14 entries 3500/3708 dependencies 484/750 modules
|
|
199
|
+
<s> [webpack.Progress] 16% building 1/14 entries 3856/3900 dependencies 586/843 modules
|
|
200
|
+
<s> [webpack.Progress] 17% building 1/14 entries 4100/4234 dependencies 652/916 modules
|
|
201
|
+
<s> [webpack.Progress] 18% building 1/14 entries 4358/4400 dependencies 758/1016 modules
|
|
202
202
|
|
|
203
203
|
|
|
204
204
|
┌─────────────────────────────────────────────────────────────────────────────────┐
|
|
@@ -212,23 +212,21 @@ info => Using default Webpack5 setup
|
|
|
212
212
|
└─────────────────────────────────────────────────────────────────────────────────┘
|
|
213
213
|
|
|
214
214
|
|
|
215
|
-
<s> [webpack.Progress] 19% building 1/14 entries
|
|
216
|
-
<s> [webpack.Progress]
|
|
217
|
-
<s> [webpack.Progress]
|
|
218
|
-
<s> [webpack.Progress]
|
|
219
|
-
<s> [webpack.Progress]
|
|
220
|
-
<s> [webpack.Progress]
|
|
221
|
-
<s> [webpack.Progress]
|
|
222
|
-
<s> [webpack.Progress]
|
|
223
|
-
<s> [webpack.Progress]
|
|
224
|
-
<s> [webpack.Progress]
|
|
225
|
-
<s> [webpack.Progress]
|
|
226
|
-
<s> [webpack.Progress]
|
|
227
|
-
<s> [webpack.Progress]
|
|
228
|
-
<s> [webpack.Progress]
|
|
229
|
-
<s> [webpack.Progress]
|
|
230
|
-
<s> [webpack.Progress] 61% building 13/14 entries 5509/5509 dependencies 1344/1344 modules
|
|
231
|
-
<s> [webpack.Progress] 64% building 14/14 entries 5509/5509 dependencies 1344/1344 modules
|
|
215
|
+
<s> [webpack.Progress] 19% building 1/14 entries 4565/4600 dependencies 846/1063 modules
|
|
216
|
+
<s> [webpack.Progress] 21% building 1/14 entries 5000/5083 dependencies 1080/1274 modules
|
|
217
|
+
<s> [webpack.Progress] 23% building 2/14 entries 5192/5245 dependencies 1183/1296 modules
|
|
218
|
+
<s> [webpack.Progress] 23% building 3/14 entries 5192/5245 dependencies 1183/1296 modules
|
|
219
|
+
<s> [webpack.Progress] 25% building 4/14 entries 5192/5245 dependencies 1183/1296 modules
|
|
220
|
+
<s> [webpack.Progress] 29% building 5/14 entries 5192/5245 dependencies 1183/1296 modules
|
|
221
|
+
<s> [webpack.Progress] 33% building 6/14 entries 5192/5245 dependencies 1183/1296 modules
|
|
222
|
+
<s> [webpack.Progress] 37% building 7/14 entries 5192/5245 dependencies 1183/1296 modules
|
|
223
|
+
<s> [webpack.Progress] 41% building 8/14 entries 5192/5245 dependencies 1183/1296 modules
|
|
224
|
+
<s> [webpack.Progress] 45% building 9/14 entries 5192/5245 dependencies 1183/1296 modules
|
|
225
|
+
<s> [webpack.Progress] 49% building 10/14 entries 5192/5245 dependencies 1184/1296 modules
|
|
226
|
+
<s> [webpack.Progress] 53% building 11/14 entries 5397/5423 dependencies 1236/1322 modules
|
|
227
|
+
<s> [webpack.Progress] 57% building 12/14 entries 5516/5516 dependencies 1333/1352 modules
|
|
228
|
+
<s> [webpack.Progress] 61% building 13/14 entries 5518/5518 dependencies 1353/1353 modules
|
|
229
|
+
<s> [webpack.Progress] 65% building 14/14 entries 5518/5518 dependencies 1353/1353 modules
|
|
232
230
|
<s> [webpack.Progress] 65% building
|
|
233
231
|
<s> [webpack.Progress] 69% building finish
|
|
234
232
|
<s> [webpack.Progress] 69% building finish
|
|
@@ -333,10 +331,10 @@ info => Using default Webpack5 setup
|
|
|
333
331
|
info => Manager built (1.88 min)
|
|
334
332
|
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin
|
|
335
333
|
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin
|
|
336
|
-
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin static/css/main.
|
|
337
|
-
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin static/css/main.
|
|
338
|
-
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin main.
|
|
339
|
-
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin main.
|
|
334
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin static/css/main.d7641925.css generate SourceMap
|
|
335
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin static/css/main.d7641925.css generated SourceMap
|
|
336
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin main.f938557e.iframe.bundle.js generate SourceMap
|
|
337
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin main.f938557e.iframe.bundle.js generated SourceMap
|
|
340
338
|
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin runtime~main.fac2eb59.iframe.bundle.js generate SourceMap
|
|
341
339
|
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin runtime~main.fac2eb59.iframe.bundle.js generated SourceMap
|
|
342
340
|
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 259.813ec34b.iframe.bundle.js generate SourceMap
|
|
@@ -386,8 +384,8 @@ info => Manager built (1.88 min)
|
|
|
386
384
|
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 504.9dfe019e.iframe.bundle.js generate SourceMap
|
|
387
385
|
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 504.9dfe019e.iframe.bundle.js generated SourceMap
|
|
388
386
|
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin resolve sources
|
|
389
|
-
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin static/css/main.
|
|
390
|
-
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin static/css/main.
|
|
387
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin static/css/main.d7641925.css attach SourceMap
|
|
388
|
+
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin static/css/main.d7641925.css attached SourceMap
|
|
391
389
|
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 212.af750ee2.iframe.bundle.js attach SourceMap
|
|
392
390
|
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 212.af750ee2.iframe.bundle.js attached SourceMap
|
|
393
391
|
<s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin
|
|
@@ -400,8 +398,8 @@ info => Manager built (1.88 min)
|
|
|
400
398
|
<s> [webpack.Progress] 92% sealing asset processing HtmlWebpackPlugin
|
|
401
399
|
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin
|
|
402
400
|
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin
|
|
403
|
-
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin main.
|
|
404
|
-
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin main.
|
|
401
|
+
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin main.3ae24e12.iframe.bundle.js generate SourceMap
|
|
402
|
+
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin main.3ae24e12.iframe.bundle.js generated SourceMap
|
|
405
403
|
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin runtime~main.3bae6a4f.iframe.bundle.js generate SourceMap
|
|
406
404
|
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin runtime~main.3bae6a4f.iframe.bundle.js generated SourceMap
|
|
407
405
|
<s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 259.03b8a6d8.iframe.bundle.js generate SourceMap
|
|
@@ -474,7 +472,7 @@ info => Manager built (1.88 min)
|
|
|
474
472
|
<s> [webpack.Progress] 99% cache begin idle
|
|
475
473
|
<s> [webpack.Progress] 100%
|
|
476
474
|
|
|
477
|
-
info => Preview built (2 min)
|
|
475
|
+
info => Preview built (2.02 min)
|
|
478
476
|
WARN Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
|
|
479
477
|
WARN Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
|
|
480
478
|
WARN Should not import the named export 'themeprefix'.'value' (imported as 'themeprefix') from default-exporting module (only default export is available soon)
|
|
@@ -482,7 +480,7 @@ WARN Should not import the named export 'themeprefix'.'value' (imported as 'them
|
|
|
482
480
|
WARN Module Warning (from ../../node_modules/.pnpm/postcss-loader@6.2.1_postcss@8.4.18+webpack@5.74.0/node_modules/postcss-loader/dist/cjs.js):
|
|
483
481
|
WARN Warning
|
|
484
482
|
WARN
|
|
485
|
-
WARN (1:
|
|
483
|
+
WARN (1:191112) postcss-preset-env: start value has mixed support, consider using flex-start instead
|
|
486
484
|
WARN [eslint]
|
|
487
485
|
WARN src/components/Accordion/AccordionPanel.tsx
|
|
488
486
|
WARN Line 11:3: 'timeout' is assigned a value but never used @typescript-eslint/no-unused-vars
|
|
@@ -513,18 +511,18 @@ WARN 4bf5fc6f93ba10519c82.eot (473 KiB)
|
|
|
513
511
|
WARN d3434771ad7e9030387e.ttf (473 KiB)
|
|
514
512
|
WARN 9ff97e342523931a4992.eot (339 KiB)
|
|
515
513
|
WARN 1dbed2ef5cef8fcb4cbe.ttf (338 KiB)
|
|
516
|
-
WARN main.
|
|
517
|
-
WARN static/css/main.
|
|
514
|
+
WARN main.3ae24e12.iframe.bundle.js (538 KiB)
|
|
515
|
+
WARN static/css/main.4deb891d.css (293 KiB)
|
|
518
516
|
WARN 639.c568c669.iframe.bundle.js (807 KiB)
|
|
519
517
|
WARN 212.faba6ad0.iframe.bundle.js (2.33 MiB)
|
|
520
518
|
WARN 504.f9ef513c.iframe.bundle.js (656 KiB)
|
|
521
519
|
WARN entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
|
|
522
520
|
WARN Entrypoints:
|
|
523
|
-
WARN main (3.
|
|
521
|
+
WARN main (3.15 MiB)
|
|
524
522
|
WARN runtime~main.3bae6a4f.iframe.bundle.js
|
|
525
523
|
WARN 212.faba6ad0.iframe.bundle.js
|
|
526
|
-
WARN main.
|
|
527
|
-
WARN static/css/main.
|
|
524
|
+
WARN main.3ae24e12.iframe.bundle.js
|
|
525
|
+
WARN static/css/main.4deb891d.css
|
|
528
526
|
WARN
|
|
529
527
|
<s> [webpack.Progress] 99% cache shutdown
|
|
530
528
|
<s> [webpack.Progress] 99% cache shutdown
|
package/.turbo/turbo-check.log
CHANGED
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
|
-
> @ilo-org/react@0.0.
|
|
2
|
+
> @ilo-org/react@0.0.17 test /home/runner/work/designsystem/designsystem/packages/react
|
|
3
3
|
> NODE_OPTIONS=--experimental-vm-modules SKIP_PREFLIGHT_CHECK=true react-scripts test --watchAll=false --setupFilesAfterEnv ./src/setup.ts
|
|
4
4
|
|
|
5
|
-
(node:
|
|
5
|
+
(node:3109) ExperimentalWarning: VM Modules is an experimental feature. This feature could change at any time
|
|
6
6
|
(Use `node --trace-warnings ...` to show where the warning was created)
|
|
7
7
|
PASS src/__tests__/Button.test.tsx
|
|
8
8
|
PASS src/__tests__/Pagination.test.tsx
|
|
@@ -13,7 +13,7 @@ PASS src/__tests__/Accordion.test.tsx
|
|
|
13
13
|
|
|
14
14
|
console.log
|
|
15
15
|
<ref *1> HTMLButtonElement {
|
|
16
|
-
'__reactFiber$
|
|
16
|
+
'__reactFiber$ukzwfpfn0hj': <ref *2> FiberNode {
|
|
17
17
|
tag: 5,
|
|
18
18
|
key: null,
|
|
19
19
|
elementType: 'button',
|
|
@@ -164,7 +164,7 @@ PASS src/__tests__/Accordion.test.tsx
|
|
|
164
164
|
_debugNeedsRemount: false,
|
|
165
165
|
_debugHookTypes: null
|
|
166
166
|
},
|
|
167
|
-
'__reactProps$
|
|
167
|
+
'__reactProps$ukzwfpfn0hj': {
|
|
168
168
|
className: 'ilo--accordion--button',
|
|
169
169
|
'aria-expanded': true,
|
|
170
170
|
onClick: [Function: onClick],
|
|
@@ -178,7 +178,7 @@ PASS src/__tests__/Accordion.test.tsx
|
|
|
178
178
|
|
|
179
179
|
console.log
|
|
180
180
|
<ref *1> HTMLButtonElement {
|
|
181
|
-
'__reactFiber$
|
|
181
|
+
'__reactFiber$ukzwfpfn0hj': <ref *2> FiberNode {
|
|
182
182
|
tag: 5,
|
|
183
183
|
key: null,
|
|
184
184
|
elementType: 'button',
|
|
@@ -329,7 +329,7 @@ PASS src/__tests__/Accordion.test.tsx
|
|
|
329
329
|
_debugNeedsRemount: false,
|
|
330
330
|
_debugHookTypes: null
|
|
331
331
|
},
|
|
332
|
-
'__reactProps$
|
|
332
|
+
'__reactProps$ukzwfpfn0hj': {
|
|
333
333
|
className: 'ilo--accordion--button',
|
|
334
334
|
'aria-expanded': true,
|
|
335
335
|
onClick: [Function: onClick],
|
|
@@ -343,7 +343,7 @@ PASS src/__tests__/Accordion.test.tsx
|
|
|
343
343
|
|
|
344
344
|
console.log
|
|
345
345
|
<ref *1> HTMLButtonElement {
|
|
346
|
-
'__reactFiber$
|
|
346
|
+
'__reactFiber$ukzwfpfn0hj': <ref *2> FiberNode {
|
|
347
347
|
tag: 5,
|
|
348
348
|
key: null,
|
|
349
349
|
elementType: 'button',
|
|
@@ -494,7 +494,7 @@ PASS src/__tests__/Accordion.test.tsx
|
|
|
494
494
|
_debugNeedsRemount: false,
|
|
495
495
|
_debugHookTypes: null
|
|
496
496
|
},
|
|
497
|
-
'__reactProps$
|
|
497
|
+
'__reactProps$ukzwfpfn0hj': {
|
|
498
498
|
className: 'ilo--accordion--button',
|
|
499
499
|
'aria-expanded': true,
|
|
500
500
|
onClick: [Function: onClick],
|
|
@@ -511,7 +511,7 @@ PASS src/__tests__/Callout.test.tsx
|
|
|
511
511
|
|
|
512
512
|
console.log
|
|
513
513
|
<ref *1> HTMLHeadingElement {
|
|
514
|
-
'__reactFiber$
|
|
514
|
+
'__reactFiber$f9ajgme1f97': <ref *2> FiberNode {
|
|
515
515
|
tag: 5,
|
|
516
516
|
key: null,
|
|
517
517
|
elementType: 'h5',
|
|
@@ -648,7 +648,7 @@ PASS src/__tests__/Callout.test.tsx
|
|
|
648
648
|
_debugNeedsRemount: false,
|
|
649
649
|
_debugHookTypes: null
|
|
650
650
|
},
|
|
651
|
-
'__reactProps$
|
|
651
|
+
'__reactProps$f9ajgme1f97': { className: 'undefined--callout--headline', children: 'With CTA' }
|
|
652
652
|
}
|
|
653
653
|
|
|
654
654
|
at Object.<anonymous> (src/__tests__/Callout.test.tsx:14:13)
|
|
@@ -658,7 +658,7 @@ PASS src/__tests__/Notification.test.tsx
|
|
|
658
658
|
|
|
659
659
|
console.log
|
|
660
660
|
<ref *1> HTMLHeadingElement {
|
|
661
|
-
'__reactFiber$
|
|
661
|
+
'__reactFiber$ztxh2swd5wo': <ref *2> FiberNode {
|
|
662
662
|
tag: 5,
|
|
663
663
|
key: null,
|
|
664
664
|
elementType: 'h2',
|
|
@@ -801,7 +801,7 @@ PASS src/__tests__/Notification.test.tsx
|
|
|
801
801
|
_debugNeedsRemount: false,
|
|
802
802
|
_debugHookTypes: null
|
|
803
803
|
},
|
|
804
|
-
'__reactProps$
|
|
804
|
+
'__reactProps$ztxh2swd5wo': {
|
|
805
805
|
className: 'undefined--notification--headline',
|
|
806
806
|
children: 'With CTA'
|
|
807
807
|
}
|
|
@@ -885,5 +885,5 @@ PASS src/__tests__/Tag.test.tsx
|
|
|
885
885
|
Test Suites: 20 passed, 20 total
|
|
886
886
|
Tests: 66 passed, 66 total
|
|
887
887
|
Snapshots: 0 total
|
|
888
|
-
Time:
|
|
888
|
+
Time: 18.258 s
|
|
889
889
|
Ran all test suites.
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @ilo-org/react
|
|
2
2
|
|
|
3
|
+
## 0.0.17
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 62c3c624e: Bugfixes in multiple components
|
|
8
|
+
- 1b29018f0: Adds better React Storybook experience
|
|
9
|
+
- 43c2b0026: Cornercut changes to make more consistent across sizes and breakpoints for hero and cards
|
|
10
|
+
- Updated dependencies [62c3c624e]
|
|
11
|
+
- Updated dependencies [1b29018f0]
|
|
12
|
+
- Updated dependencies [43c2b0026]
|
|
13
|
+
- @ilo-org/fonts@0.0.5
|
|
14
|
+
- @ilo-org/styles@0.1.13
|
|
15
|
+
- @ilo-org/themes@0.1.13
|
|
16
|
+
- @ilo-org/utils@0.0.9
|
|
17
|
+
- @ilo-org/icons-react@0.0.15
|
|
18
|
+
|
|
3
19
|
## 0.0.16
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ilo-org/react",
|
|
3
3
|
"description": "React components for the ILO's Design System",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.17",
|
|
5
5
|
"author": "@justintemps",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"main": "lib/index.js",
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@ilo-org/brand-assets": "0.0.1",
|
|
27
|
-
"@ilo-org/fonts": "0.0.
|
|
28
|
-
"@ilo-org/icons-react": "0.0.
|
|
29
|
-
"@ilo-org/styles": "0.1.
|
|
30
|
-
"@ilo-org/themes": "0.1.
|
|
31
|
-
"@ilo-org/utils": "0.0.
|
|
27
|
+
"@ilo-org/fonts": "0.0.5",
|
|
28
|
+
"@ilo-org/icons-react": "0.0.15",
|
|
29
|
+
"@ilo-org/styles": "0.1.13",
|
|
30
|
+
"@ilo-org/themes": "0.1.13",
|
|
31
|
+
"@ilo-org/utils": "0.0.9",
|
|
32
32
|
"classnames": "^2.3.1",
|
|
33
33
|
"dom-helpers": "^5.2.1",
|
|
34
34
|
"global": "^4.4.0",
|
|
@@ -23,7 +23,12 @@ import accordionArgs from "../components/Accordion/Accordion.args";
|
|
|
23
23
|
export default {
|
|
24
24
|
title: "Components/Accordion",
|
|
25
25
|
component: Accordion,
|
|
26
|
-
argTypes: {
|
|
26
|
+
argTypes: {
|
|
27
|
+
allowMultipleExpanded: {
|
|
28
|
+
options: [true, false],
|
|
29
|
+
control: { type: "boolean" },
|
|
30
|
+
},
|
|
31
|
+
},
|
|
27
32
|
subcomponents: {
|
|
28
33
|
AccordionItem,
|
|
29
34
|
AccordionButton,
|
|
@@ -64,7 +64,28 @@ Populating the \`url\` prop with a valid url and/or an anchor to an id in the cu
|
|
|
64
64
|
export default {
|
|
65
65
|
title: "Components/Button",
|
|
66
66
|
component: Button,
|
|
67
|
-
argTypes: {
|
|
67
|
+
argTypes: {
|
|
68
|
+
size: {
|
|
69
|
+
options: ["large", "medium", "small"],
|
|
70
|
+
control: { type: "select" },
|
|
71
|
+
},
|
|
72
|
+
type: {
|
|
73
|
+
options: ["primary", "secondary", "tertiary"],
|
|
74
|
+
control: { type: "select" },
|
|
75
|
+
},
|
|
76
|
+
icononly: {
|
|
77
|
+
options: [true, false],
|
|
78
|
+
control: { type: "boolean" },
|
|
79
|
+
},
|
|
80
|
+
iconPosition: {
|
|
81
|
+
options: ["left", "center", "right"],
|
|
82
|
+
control: { type: "select" },
|
|
83
|
+
},
|
|
84
|
+
opensmodal: {
|
|
85
|
+
options: [true, false],
|
|
86
|
+
control: { type: "boolean" },
|
|
87
|
+
},
|
|
88
|
+
},
|
|
68
89
|
parameters: {
|
|
69
90
|
componentSubtitle: "Component",
|
|
70
91
|
docs: {
|
|
@@ -30,7 +30,20 @@ By changing the \`type\` prop you can change base coloring of the links. By defa
|
|
|
30
30
|
export default {
|
|
31
31
|
title: "Components/Callout",
|
|
32
32
|
component: Callout,
|
|
33
|
-
argTypes: {
|
|
33
|
+
argTypes: {
|
|
34
|
+
isCollapsible: {
|
|
35
|
+
options: [true, false],
|
|
36
|
+
control: { type: "boolean" },
|
|
37
|
+
},
|
|
38
|
+
isOpen: {
|
|
39
|
+
options: [true, false],
|
|
40
|
+
control: { type: "boolean" },
|
|
41
|
+
},
|
|
42
|
+
type: {
|
|
43
|
+
options: ["info", "error", "success", "warning"],
|
|
44
|
+
control: { type: "select" },
|
|
45
|
+
},
|
|
46
|
+
},
|
|
34
47
|
parameters: {
|
|
35
48
|
componentSubtitle: "Component",
|
|
36
49
|
docs: {
|
|
@@ -28,6 +28,12 @@ The Dropdown receives a prop for 'options,' which has three parameters:
|
|
|
28
28
|
export default {
|
|
29
29
|
title: "Components/Dropdown",
|
|
30
30
|
component: Dropdown,
|
|
31
|
+
argTypes: {
|
|
32
|
+
disabled: {
|
|
33
|
+
options: [true, false],
|
|
34
|
+
control: { type: "boolean" },
|
|
35
|
+
},
|
|
36
|
+
},
|
|
31
37
|
parameters: {
|
|
32
38
|
componentSubtitle: "Component",
|
|
33
39
|
docs: {
|
|
@@ -18,7 +18,23 @@ import heroArgs from "../components/Hero/Hero.args";
|
|
|
18
18
|
export default {
|
|
19
19
|
title: "Components/Hero",
|
|
20
20
|
component: Hero,
|
|
21
|
-
argTypes: {
|
|
21
|
+
argTypes: {
|
|
22
|
+
theme: {
|
|
23
|
+
options: ["dark", "light"],
|
|
24
|
+
control: { type: "select" },
|
|
25
|
+
},
|
|
26
|
+
types: {
|
|
27
|
+
options: [
|
|
28
|
+
"publication",
|
|
29
|
+
"graphic",
|
|
30
|
+
"article",
|
|
31
|
+
"portal",
|
|
32
|
+
"project",
|
|
33
|
+
"home",
|
|
34
|
+
],
|
|
35
|
+
control: { type: "select" },
|
|
36
|
+
},
|
|
37
|
+
},
|
|
22
38
|
parameters: {
|
|
23
39
|
componentSubtitle: "Component",
|
|
24
40
|
docs: {
|
|
@@ -29,7 +29,12 @@ By changing the \`theme\` prop you can change base coloring of the links. By def
|
|
|
29
29
|
export default {
|
|
30
30
|
title: "Components/Link",
|
|
31
31
|
component: Link,
|
|
32
|
-
argTypes: {
|
|
32
|
+
argTypes: {
|
|
33
|
+
theme: {
|
|
34
|
+
options: ["light", "dark", "footer"],
|
|
35
|
+
control: { type: "select" },
|
|
36
|
+
},
|
|
37
|
+
},
|
|
33
38
|
parameters: {
|
|
34
39
|
componentSubtitle: "Component",
|
|
35
40
|
docs: {
|
|
@@ -17,6 +17,12 @@ import profileArgs from "../components/LinkList/LinkList.args";
|
|
|
17
17
|
export default {
|
|
18
18
|
title: "Components/LinkList",
|
|
19
19
|
component: LinkList,
|
|
20
|
+
argTypes: {
|
|
21
|
+
theme: {
|
|
22
|
+
options: ["light", "dark"],
|
|
23
|
+
control: { type: "select" },
|
|
24
|
+
},
|
|
25
|
+
},
|
|
20
26
|
parameters: {
|
|
21
27
|
componentSubtitle: "Component",
|
|
22
28
|
docs: {
|
|
@@ -29,7 +29,16 @@ By changing the \`ordered\` prop you can use switch from a \`<ol>\` to a \`<ul>\
|
|
|
29
29
|
export default {
|
|
30
30
|
title: "Components/List",
|
|
31
31
|
component: List,
|
|
32
|
-
argTypes: {
|
|
32
|
+
argTypes: {
|
|
33
|
+
alignment: {
|
|
34
|
+
options: ["horizontal", "default"],
|
|
35
|
+
control: { type: "select" },
|
|
36
|
+
},
|
|
37
|
+
ordered: {
|
|
38
|
+
options: ["ordered", "unordered", "unstyled"],
|
|
39
|
+
control: { type: "select" },
|
|
40
|
+
},
|
|
41
|
+
},
|
|
33
42
|
subcomponents: {
|
|
34
43
|
ListItem,
|
|
35
44
|
},
|
|
@@ -35,6 +35,16 @@ By changing the \`size\` prop you can change whether the Loading component appea
|
|
|
35
35
|
export default {
|
|
36
36
|
title: "Components/Loading",
|
|
37
37
|
component: Loading,
|
|
38
|
+
argTypes: {
|
|
39
|
+
size: {
|
|
40
|
+
options: ["small", "large"],
|
|
41
|
+
control: { type: "select" },
|
|
42
|
+
},
|
|
43
|
+
status: {
|
|
44
|
+
options: ["idle", "loading", "loaded"],
|
|
45
|
+
control: { type: "select" },
|
|
46
|
+
},
|
|
47
|
+
},
|
|
38
48
|
parameters: {
|
|
39
49
|
componentSubtitle: "Component",
|
|
40
50
|
docs: {
|
|
@@ -37,7 +37,16 @@ By changing the \`placement\` prop you can set whether the Notification is displ
|
|
|
37
37
|
export default {
|
|
38
38
|
title: "Components/Notification",
|
|
39
39
|
component: Notification,
|
|
40
|
-
argTypes: {
|
|
40
|
+
argTypes: {
|
|
41
|
+
type: {
|
|
42
|
+
options: ["error", "info", "success", "warning"],
|
|
43
|
+
control: { type: "select" },
|
|
44
|
+
},
|
|
45
|
+
placement: {
|
|
46
|
+
options: ["dialog", "inline"],
|
|
47
|
+
control: { type: "select" },
|
|
48
|
+
},
|
|
49
|
+
},
|
|
41
50
|
parameters: {
|
|
42
51
|
componentSubtitle: "Component",
|
|
43
52
|
docs: {
|
|
@@ -14,7 +14,13 @@ import tagSetArgs from "../components/Tag/TagSet.args";
|
|
|
14
14
|
import tagArgs from "../components/Tag/Tag.args";
|
|
15
15
|
|
|
16
16
|
const themeDoc = `
|
|
17
|
-
By changing
|
|
17
|
+
By changing the \`type\` prop you can set the which kind of tag to use.
|
|
18
|
+
|
|
19
|
+
| Prop | Description |
|
|
20
|
+
|----------|-------------|
|
|
21
|
+
| \`anochor\` | The tag is a link. Useful for taxonomies that have landing pages. |
|
|
22
|
+
| \`button\` | The tag is a button. Useful for tags that are used to filter search results. |
|
|
23
|
+
| \`display\` | The tag is static (not clickable). Useful for displaying non-actionable info. |
|
|
18
24
|
`;
|
|
19
25
|
|
|
20
26
|
/**
|
|
@@ -24,7 +30,12 @@ By changing
|
|
|
24
30
|
export default {
|
|
25
31
|
title: "Components/Tag",
|
|
26
32
|
component: Tag,
|
|
27
|
-
argTypes: {
|
|
33
|
+
argTypes: {
|
|
34
|
+
type: {
|
|
35
|
+
options: ["anchor", "button", "display"],
|
|
36
|
+
control: { type: "select" },
|
|
37
|
+
},
|
|
38
|
+
},
|
|
28
39
|
parameters: {
|
|
29
40
|
componentSubtitle: "Component",
|
|
30
41
|
docs: {
|
|
@@ -22,7 +22,16 @@ By changing the \`theme\` prop you can set whether the tooltip has a light or da
|
|
|
22
22
|
export default {
|
|
23
23
|
title: "Components/Tooltip",
|
|
24
24
|
component: Tooltip,
|
|
25
|
-
argTypes: {
|
|
25
|
+
argTypes: {
|
|
26
|
+
icon: {
|
|
27
|
+
options: [true, false],
|
|
28
|
+
control: { type: "boolean" },
|
|
29
|
+
},
|
|
30
|
+
theme: {
|
|
31
|
+
options: ["light", "dark"],
|
|
32
|
+
control: { type: "select" },
|
|
33
|
+
},
|
|
34
|
+
},
|
|
26
35
|
parameters: {
|
|
27
36
|
componentSubtitle: "Component",
|
|
28
37
|
docs: {
|
|
@@ -338,7 +338,7 @@
|
|
|
338
338
|
/* eslint-enable object-shorthand */
|
|
339
339
|
})
|
|
340
340
|
);
|
|
341
|
-
};</script><link href="static/css/main.
|
|
341
|
+
};</script><link href="static/css/main.4deb891d.css" rel="stylesheet"><style>#root[hidden],
|
|
342
342
|
#docs-root[hidden] {
|
|
343
343
|
display: none !important;
|
|
344
344
|
}</style></head><body><div class="sb-preparing-story sb-wrapper"><div class="sb-loader"></div></div><div class="sb-preparing-docs sb-wrapper"><div class="sb-previewBlock"><div class="sb-previewBlock_header"><div class="sb-previewBlock_icon"></div><div class="sb-previewBlock_icon"></div><div class="sb-previewBlock_icon"></div><div class="sb-previewBlock_icon"></div></div><div class="sb-previewBlock_body"><div class="sb-loader"></div></div></div><table aria-hidden="true" class="sb-argstableBlock"><thead class="sb-argstableBlock-head"><tr><th><span>Name</span></th><th><span>Description</span></th><th><span>Default</span></th><th><span>Control</span></th></tr></thead><tbody class="sb-argstableBlock-body"><tr><td><span>propertyName</span><span title="Required">*</span></td><td><div><span>This is a short description</span></div><div class="sb-argstableBlock-summary"><div><span class="sb-argstableBlock-code">summary</span></div></div></td><td><div><span class="sb-argstableBlock-code">defaultValue</span></div></td><td><button>Set string</button></td></tr><tr><td><span>propertyName</span><span>*</span></td><td><div><span>This is a short description</span></div><div class="sb-argstableBlock-summary"><div><span class="sb-argstableBlock-code">summary</span></div></div></td><td><div><span class="sb-argstableBlock-code">defaultValue</span></div></td><td><button>Set string</button></td></tr><tr><td><span>propertyName</span><span>*</span></td><td><div><span>This is a short description</span></div><div class="sb-argstableBlock-summary"><div><span class="sb-argstableBlock-code">summary</span></div></div></td><td><div><span class="sb-argstableBlock-code">defaultValue</span></div></td><td><button>Set string</button></td></tr></tbody></table></div><div class="sb-nopreview sb-wrapper"><div class="sb-nopreview_main"><h1 class="sb-nopreview_heading sb-heading">No Preview</h1><p>Sorry, but you either have no stories or none are selected somehow.</p><ul><li>Please check the Storybook config.</li><li>Try reloading the page.</li></ul><p>If the problem persists, check the browser console, or the terminal you've run Storybook from.</p></div></div><div class="sb-errordisplay sb-wrapper"><pre id="error-message" class="sb-heading"></pre><pre class="sb-errordisplay_code"><code id="error-stack"></code></pre></div><div id="root"></div><div id="docs-root"></div><script>window['CONFIG_TYPE'] = "PRODUCTION";
|
|
@@ -361,4 +361,4 @@
|
|
|
361
361
|
|
|
362
362
|
|
|
363
363
|
|
|
364
|
-
window['STORIES'] = [{"titlePrefix":"","directory":"./src","files":"**/*.stories.mdx","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.mdx)$"},{"titlePrefix":"","directory":"./src","files":"**/*.stories.@(js|jsx|ts|tsx)","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.(js|jsx|ts|tsx))$"}];</script><script src="runtime~main.3bae6a4f.iframe.bundle.js"></script><script src="212.faba6ad0.iframe.bundle.js"></script><script src="main.
|
|
364
|
+
window['STORIES'] = [{"titlePrefix":"","directory":"./src","files":"**/*.stories.mdx","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.mdx)$"},{"titlePrefix":"","directory":"./src","files":"**/*.stories.@(js|jsx|ts|tsx)","importPathMatcher":"^\\.[\\\\/](?:src(?:\\/(?!\\.)(?:(?:(?!(?:^|\\/)\\.).)*?)\\/|\\/|$)(?!\\.)(?=.)[^/]*?\\.stories\\.(js|jsx|ts|tsx))$"}];</script><script src="runtime~main.3bae6a4f.iframe.bundle.js"></script><script src="212.faba6ad0.iframe.bundle.js"></script><script src="main.3ae24e12.iframe.bundle.js"></script></body></html>
|