@ilo-org/react 0.0.1 → 0.0.3
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/.storybook/styles.scss +1 -1
- package/.turbo/turbo-build.log +74 -64
- package/.turbo/turbo-check.log +2 -2
- package/.turbo/turbo-test.log +14 -14
- package/CHANGELOG.md +18 -0
- package/package.json +3 -3
- package/src/components/Button/Button.args.ts +128 -0
- package/src/components/Button/Button.tsx +2 -2
- package/src/components/Callout/Callout.args.ts +4 -4
- package/src/stories/Button.stories.tsx +253 -390
- package/src/stories/Callout.stories.tsx +28 -0
- package/src/stories/ContextMenu.stories.tsx +10 -2
- package/src/stories/Hero.stories.tsx +49 -0
- package/src/stories/Loading.stories.tsx +0 -10
- package/src/stories/Notification.stories.tsx +14 -1
- package/src/stories/TableOfContents.stories.tsx +3 -3
- package/src/stories/Tag.stories.tsx +21 -0
- package/storybook-static/a46b8d4aa3504103cdde.ttf +0 -0
- package/storybook-static/iframe.html +2 -2
- package/storybook-static/main.10a8ad63.iframe.bundle.js +1 -0
- package/storybook-static/static/css/main.b43a53aa.css +3 -0
- package/storybook-static/static/css/main.b43a53aa.css.map +1 -0
- package/storybook-static/12ec02e7e66abaf38243.eot +0 -0
- package/storybook-static/1cc3364249fd0db446ad.ttf +0 -0
- package/storybook-static/248db78ddf1e3568728d.woff +0 -0
- package/storybook-static/2ac1a95228cf06e17040.woff2 +0 -0
- package/storybook-static/3579203659b1428de036.eot +0 -0
- package/storybook-static/36229f80a738c199462d.woff2 +0 -0
- package/storybook-static/51d7da3f5e58e3a24a84.woff +0 -0
- package/storybook-static/6f781753b674130d947a.ttf +0 -0
- package/storybook-static/70a240717e773fe567b3.woff2 +0 -0
- package/storybook-static/88739612501023fa15e3.woff +0 -0
- package/storybook-static/a41d7e330757fb4b2125.woff2 +0 -0
- package/storybook-static/ab3494afe25b712485ed.woff +0 -0
- package/storybook-static/b70a9c0ad8e8b43f5e6c.ttf +0 -0
- package/storybook-static/c5116d16544f932eba4b.eot +0 -0
- package/storybook-static/e2625b8a1277972c9240.ttf +0 -0
- package/storybook-static/f469ea3aa8aacf7ad83a.eot +0 -0
- package/storybook-static/main.01e6a863.iframe.bundle.js +0 -1
- package/storybook-static/static/css/main.3d116812.css +0 -3
- package/storybook-static/static/css/main.3d116812.css.map +0 -1
package/.storybook/styles.scss
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@import "@ilo-org/styles/scss";
|
|
1
|
+
@import "@ilo-org/styles/scss/monorepo";
|
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
@ilo-org/react:build: cache hit, replaying output
|
|
1
|
+
@ilo-org/react:build: cache hit, replaying output 9ced1a15c5136ef5
|
|
2
2
|
@ilo-org/react:build:
|
|
3
|
-
@ilo-org/react:build: > @ilo-org/react@0.0.
|
|
3
|
+
@ilo-org/react:build: > @ilo-org/react@0.0.3 build /home/runner/work/designsystem/designsystem/packages/react
|
|
4
4
|
@ilo-org/react:build: > pnpm run build:rollup && npm run build:storybook
|
|
5
5
|
@ilo-org/react:build:
|
|
6
6
|
@ilo-org/react:build:
|
|
7
|
-
@ilo-org/react:build: > @ilo-org/react@0.0.
|
|
7
|
+
@ilo-org/react:build: > @ilo-org/react@0.0.3 build:rollup /home/runner/work/designsystem/designsystem/packages/react
|
|
8
8
|
@ilo-org/react:build: > rollup -c
|
|
9
9
|
@ilo-org/react:build:
|
|
10
10
|
@ilo-org/react:build: [36m
|
|
11
11
|
@ilo-org/react:build: [1msrc/index.ts[22m → [1mlib/index.js, lib/index.esm.js[22m...[39m
|
|
12
|
-
@ilo-org/react:build: [32mcreated [1mlib/index.js, lib/index.esm.js[22m in [
|
|
12
|
+
@ilo-org/react:build: [32mcreated [1mlib/index.js, lib/index.esm.js[22m in [1m10.1s[22m[39m
|
|
13
13
|
@ilo-org/react:build:
|
|
14
|
-
@ilo-org/react:build: > @ilo-org/react@0.0.
|
|
14
|
+
@ilo-org/react:build: > @ilo-org/react@0.0.3 build:storybook
|
|
15
15
|
@ilo-org/react:build: > build-storybook
|
|
16
16
|
@ilo-org/react:build:
|
|
17
17
|
@ilo-org/react:build: info @storybook/react v6.4.22
|
|
@@ -151,9 +151,11 @@
|
|
|
151
151
|
@ilo-org/react:build: <s> [webpack.Progress] 10% building
|
|
152
152
|
@ilo-org/react:build: <s> [webpack.Progress] 10% building 0/1 entries 0/0 dependencies 0/0 modules
|
|
153
153
|
@ilo-org/react:build: info => Loading custom manager config
|
|
154
|
+
@ilo-org/react:build: <s> [webpack.Progress] 10% building 0/17 entries 2/18 dependencies 0/2 modules
|
|
154
155
|
@ilo-org/react:build: <s> [webpack.Progress] 10% building import loader ../../node_modules/.pnpm/babel-loader@8.2.5_acba72ea4bf9d339cdfcd8f55cdb7006/node_modules/babel-loader/lib/index.js
|
|
155
156
|
@ilo-org/react:build: <s> [webpack.Progress] 10% building import loader ../../node_modules/.pnpm/source-map-loader@3.0.1_webpack@5.72.0/node_modules/source-map-loader/dist/cjs.js
|
|
156
157
|
@ilo-org/react:build: <s> [webpack.Progress] 10% building 0/17 entries 6/22 dependencies 0/5 modules
|
|
158
|
+
@ilo-org/react:build: <s> [webpack.Progress] 10% building 0/17 entries 6/23 dependencies 0/5 modules
|
|
157
159
|
@ilo-org/react:build: <s> [webpack.Progress] 10% building 0/17 entries 21/90 dependencies 0/19 modules
|
|
158
160
|
@ilo-org/react:build: <s> [webpack.Progress] 10% building import loader ../../node_modules/.pnpm/babel-loader@8.2.5_598a497cebab8e15ee8f9e5632178e63/node_modules/babel-loader/lib/index.js
|
|
159
161
|
@ilo-org/react:build: <s> [webpack.Progress] 10% building import loader ../../node_modules/.pnpm/@mdx-js+loader@1.6.22_react@17.0.2/node_modules/@mdx-js/loader/index.js
|
|
@@ -162,37 +164,44 @@
|
|
|
162
164
|
@ilo-org/react:build: <s> [webpack.Progress] 10% building 0/17 entries 46/90 dependencies 0/45 modules
|
|
163
165
|
@ilo-org/react:build: <s> [webpack.Progress] 10% building 0/17 entries 49/90 dependencies 0/46 modules
|
|
164
166
|
@ilo-org/react:build: <s> [webpack.Progress] 10% building 0/17 entries 61/100 dependencies 0/58 modules
|
|
165
|
-
@ilo-org/react:build: <s> [webpack.Progress] 10% building 0/17 entries
|
|
166
|
-
@ilo-org/react:build: <s> [webpack.Progress] 10% building 0/17 entries
|
|
167
|
-
@ilo-org/react:build: <s> [webpack.Progress] 13% building 1/17 entries
|
|
167
|
+
@ilo-org/react:build: <s> [webpack.Progress] 10% building 0/17 entries 100/263 dependencies 1/91 modules
|
|
168
|
+
@ilo-org/react:build: <s> [webpack.Progress] 10% building 0/17 entries 233/289 dependencies 3/128 modules
|
|
169
|
+
@ilo-org/react:build: <s> [webpack.Progress] 13% building 1/17 entries 236/332 dependencies 17/128 modules
|
|
168
170
|
@ilo-org/react:build: <s> [webpack.Progress] 13% building import loader ../../node_modules/.pnpm/mini-css-extract-plugin@2.6.0_webpack@5.72.0/node_modules/mini-css-extract-plugin/dist/loader.js
|
|
169
171
|
@ilo-org/react:build: <s> [webpack.Progress] 13% building import loader ../../node_modules/.pnpm/css-loader@6.7.1_webpack@5.72.0/node_modules/css-loader/dist/cjs.js
|
|
170
172
|
@ilo-org/react:build: <s> [webpack.Progress] 13% building import loader ../../node_modules/.pnpm/postcss-loader@6.2.1_postcss@8.4.12+webpack@5.72.0/node_modules/postcss-loader/dist/cjs.js
|
|
171
173
|
@ilo-org/react:build: <s> [webpack.Progress] 13% building import loader ../../node_modules/.pnpm/resolve-url-loader@4.0.0/node_modules/resolve-url-loader/index.js
|
|
172
174
|
@ilo-org/react:build: <s> [webpack.Progress] 13% building import loader ../../node_modules/.pnpm/sass-loader@12.6.0_sass@1.50.1+webpack@5.72.0/node_modules/sass-loader/dist/cjs.js
|
|
173
|
-
@ilo-org/react:build: <s> [webpack.Progress] 13% building 1/17 entries
|
|
174
|
-
@ilo-org/react:build: <s> [webpack.Progress] 13% building 1/17 entries
|
|
175
|
-
@ilo-org/react:build: <s> [webpack.Progress] 13% building 1/17 entries
|
|
176
|
-
@ilo-org/react:build: <s> [webpack.Progress] 13% building 1/17 entries
|
|
177
|
-
@ilo-org/react:build: <s> [webpack.Progress] 13% building 1/17 entries
|
|
178
|
-
@ilo-org/react:build: <s> [webpack.Progress] 13% building 1/17 entries
|
|
179
|
-
@ilo-org/react:build: <s> [webpack.Progress] 13% building 1/17 entries
|
|
180
|
-
@ilo-org/react:build: <s> [webpack.Progress] 13% building 1/17 entries
|
|
181
|
-
@ilo-org/react:build: <s> [webpack.Progress] 13% building 1/17 entries
|
|
182
|
-
@ilo-org/react:build: <s> [webpack.Progress] 13% building 1/17 entries
|
|
183
|
-
@ilo-org/react:build: <s> [webpack.Progress] 13% building 1/17 entries
|
|
184
|
-
@ilo-org/react:build: <s> [webpack.Progress] 13% building 1/17 entries
|
|
185
|
-
@ilo-org/react:build: <s> [webpack.Progress] 13% building 1/17 entries
|
|
186
|
-
@ilo-org/react:build: <s> [webpack.Progress] 13% building 1/17 entries
|
|
187
|
-
@ilo-org/react:build: <s> [webpack.Progress]
|
|
188
|
-
@ilo-org/react:build: <s> [webpack.Progress]
|
|
189
|
-
@ilo-org/react:build: <s> [webpack.Progress]
|
|
190
|
-
@ilo-org/react:build: <s> [webpack.Progress]
|
|
191
|
-
@ilo-org/react:build: <s> [webpack.Progress]
|
|
192
|
-
@ilo-org/react:build: <s> [webpack.Progress]
|
|
193
|
-
@ilo-org/react:build: <s> [webpack.Progress]
|
|
194
|
-
@ilo-org/react:build: <s> [webpack.Progress]
|
|
195
|
-
@ilo-org/react:build: <s> [webpack.Progress]
|
|
175
|
+
@ilo-org/react:build: <s> [webpack.Progress] 13% building 1/17 entries 267/354 dependencies 31/153 modules
|
|
176
|
+
@ilo-org/react:build: <s> [webpack.Progress] 13% building 1/17 entries 301/438 dependencies 37/182 modules
|
|
177
|
+
@ilo-org/react:build: <s> [webpack.Progress] 13% building 1/17 entries 398/490 dependencies 38/227 modules
|
|
178
|
+
@ilo-org/react:build: <s> [webpack.Progress] 13% building 1/17 entries 458/585 dependencies 40/250 modules
|
|
179
|
+
@ilo-org/react:build: <s> [webpack.Progress] 13% building 1/17 entries 553/631 dependencies 45/300 modules
|
|
180
|
+
@ilo-org/react:build: <s> [webpack.Progress] 13% building 1/17 entries 597/631 dependencies 46/316 modules
|
|
181
|
+
@ilo-org/react:build: <s> [webpack.Progress] 13% building 1/17 entries 598/700 dependencies 46/317 modules
|
|
182
|
+
@ilo-org/react:build: <s> [webpack.Progress] 13% building 1/17 entries 628/730 dependencies 47/319 modules
|
|
183
|
+
@ilo-org/react:build: <s> [webpack.Progress] 13% building 1/17 entries 665/1000 dependencies 47/322 modules
|
|
184
|
+
@ilo-org/react:build: <s> [webpack.Progress] 13% building 1/17 entries 900/1063 dependencies 49/393 modules
|
|
185
|
+
@ilo-org/react:build: <s> [webpack.Progress] 13% building 1/17 entries 1075/1300 dependencies 50/420 modules
|
|
186
|
+
@ilo-org/react:build: <s> [webpack.Progress] 13% building 1/17 entries 1400/1521 dependencies 77/455 modules
|
|
187
|
+
@ilo-org/react:build: <s> [webpack.Progress] 13% building 1/17 entries 1600/1678 dependencies 86/511 modules
|
|
188
|
+
@ilo-org/react:build: <s> [webpack.Progress] 13% building 1/17 entries 1871/2000 dependencies 125/542 modules
|
|
189
|
+
@ilo-org/react:build: <s> [webpack.Progress] 13% building 1/17 entries 2035/2300 dependencies 192/559 modules
|
|
190
|
+
@ilo-org/react:build: <s> [webpack.Progress] 13% building 1/17 entries 2300/2444 dependencies 265/615 modules
|
|
191
|
+
@ilo-org/react:build: <s> [webpack.Progress] 13% building 1/17 entries 2500/2572 dependencies 325/628 modules
|
|
192
|
+
@ilo-org/react:build: <s> [webpack.Progress] 14% building 1/17 entries 2700/2793 dependencies 388/635 modules
|
|
193
|
+
@ilo-org/react:build: <s> [webpack.Progress] 14% building 1/17 entries 2763/2800 dependencies 399/657 modules
|
|
194
|
+
@ilo-org/react:build: <s> [webpack.Progress] 14% building 1/17 entries 3100/3232 dependencies 431/715 modules
|
|
195
|
+
@ilo-org/react:build: <s> [webpack.Progress] 14% building 1/17 entries 3200/3257 dependencies 444/750 modules
|
|
196
|
+
@ilo-org/react:build: <s> [webpack.Progress] 15% building 1/17 entries 3500/3615 dependencies 470/780 modules
|
|
197
|
+
@ilo-org/react:build: <s> [webpack.Progress] 15% building 1/17 entries 3603/3700 dependencies 484/797 modules
|
|
198
|
+
@ilo-org/react:build: <s> [webpack.Progress] 15% building 1/17 entries 3755/3800 dependencies 520/866 modules
|
|
199
|
+
@ilo-org/react:build: <s> [webpack.Progress] 16% building 1/17 entries 3900/4017 dependencies 554/903 modules
|
|
200
|
+
@ilo-org/react:build: <s> [webpack.Progress] 16% building 1/17 entries 3975/4100 dependencies 567/945 modules
|
|
201
|
+
@ilo-org/react:build: <s> [webpack.Progress] 16% building 1/17 entries 4200/4254 dependencies 589/1009 modules
|
|
202
|
+
@ilo-org/react:build: <s> [webpack.Progress] 17% building 1/17 entries 4390/4439 dependencies 653/1100 modules
|
|
203
|
+
@ilo-org/react:build: <s> [webpack.Progress] 18% building 1/17 entries 4707/4800 dependencies 746/1160 modules
|
|
204
|
+
@ilo-org/react:build: <s> [webpack.Progress] 19% building 1/17 entries 5000/5109 dependencies 850/1211 modules
|
|
196
205
|
@ilo-org/react:build:
|
|
197
206
|
@ilo-org/react:build:
|
|
198
207
|
@ilo-org/react:build: ┌─────────────────────────────────────────────────────────────────────────────────┐
|
|
@@ -206,25 +215,26 @@
|
|
|
206
215
|
@ilo-org/react:build: └─────────────────────────────────────────────────────────────────────────────────┘
|
|
207
216
|
@ilo-org/react:build:
|
|
208
217
|
@ilo-org/react:build:
|
|
209
|
-
@ilo-org/react:build: <s> [webpack.Progress]
|
|
210
|
-
@ilo-org/react:build: <s> [webpack.Progress]
|
|
211
|
-
@ilo-org/react:build: <s> [webpack.Progress]
|
|
212
|
-
@ilo-org/react:build: <s> [webpack.Progress] 24% building 2/17 entries
|
|
213
|
-
@ilo-org/react:build: <s> [webpack.Progress] 24% building 3/17 entries
|
|
214
|
-
@ilo-org/react:build: <s> [webpack.Progress] 24% building 4/17 entries
|
|
215
|
-
@ilo-org/react:build: <s> [webpack.Progress] 26% building 5/17 entries
|
|
216
|
-
@ilo-org/react:build: <s> [webpack.Progress] 29% building 6/17 entries
|
|
217
|
-
@ilo-org/react:build: <s> [webpack.Progress] 32% building 7/17 entries
|
|
218
|
-
@ilo-org/react:build: <s> [webpack.Progress] 35% building 8/17 entries
|
|
219
|
-
@ilo-org/react:build: <s> [webpack.Progress] 39% building 9/17 entries
|
|
220
|
-
@ilo-org/react:build: <s> [webpack.Progress] 42% building 10/17 entries
|
|
221
|
-
@ilo-org/react:build: <s> [webpack.Progress] 45% building 11/17 entries
|
|
222
|
-
@ilo-org/react:build: <s> [webpack.Progress] 48% building 12/17 entries
|
|
223
|
-
@ilo-org/react:build: <s> [webpack.Progress] 52% building 13/17 entries
|
|
224
|
-
@ilo-org/react:build: <s> [webpack.Progress]
|
|
225
|
-
@ilo-org/react:build: <s> [webpack.Progress]
|
|
226
|
-
@ilo-org/react:build: <s> [webpack.Progress]
|
|
227
|
-
@ilo-org/react:build: <s> [webpack.Progress]
|
|
218
|
+
@ilo-org/react:build: <s> [webpack.Progress] 19% building 1/17 entries 5108/5200 dependencies 895/1232 modules
|
|
219
|
+
@ilo-org/react:build: <s> [webpack.Progress] 20% building 1/17 entries 5293/5300 dependencies 972/1279 modules
|
|
220
|
+
@ilo-org/react:build: <s> [webpack.Progress] 23% building 1/17 entries 5700/5752 dependencies 1210/1435 modules
|
|
221
|
+
@ilo-org/react:build: <s> [webpack.Progress] 24% building 2/17 entries 5889/5929 dependencies 1308/1468 modules
|
|
222
|
+
@ilo-org/react:build: <s> [webpack.Progress] 24% building 3/17 entries 5889/5929 dependencies 1309/1468 modules
|
|
223
|
+
@ilo-org/react:build: <s> [webpack.Progress] 24% building 4/17 entries 5889/5929 dependencies 1310/1468 modules
|
|
224
|
+
@ilo-org/react:build: <s> [webpack.Progress] 26% building 5/17 entries 5889/5929 dependencies 1311/1468 modules
|
|
225
|
+
@ilo-org/react:build: <s> [webpack.Progress] 29% building 6/17 entries 5889/5929 dependencies 1312/1468 modules
|
|
226
|
+
@ilo-org/react:build: <s> [webpack.Progress] 32% building 7/17 entries 5889/5929 dependencies 1313/1468 modules
|
|
227
|
+
@ilo-org/react:build: <s> [webpack.Progress] 35% building 8/17 entries 5889/5929 dependencies 1314/1468 modules
|
|
228
|
+
@ilo-org/react:build: <s> [webpack.Progress] 39% building 9/17 entries 5889/5929 dependencies 1315/1468 modules
|
|
229
|
+
@ilo-org/react:build: <s> [webpack.Progress] 42% building 10/17 entries 5889/5929 dependencies 1316/1468 modules
|
|
230
|
+
@ilo-org/react:build: <s> [webpack.Progress] 45% building 11/17 entries 5889/5929 dependencies 1317/1468 modules
|
|
231
|
+
@ilo-org/react:build: <s> [webpack.Progress] 48% building 12/17 entries 5889/5929 dependencies 1318/1468 modules
|
|
232
|
+
@ilo-org/react:build: <s> [webpack.Progress] 52% building 13/17 entries 5889/5929 dependencies 1319/1468 modules
|
|
233
|
+
@ilo-org/react:build: <s> [webpack.Progress] 52% building 13/17 entries 6100/6117 dependencies 1427/1514 modules
|
|
234
|
+
@ilo-org/react:build: <s> [webpack.Progress] 55% building 14/17 entries 6109/6119 dependencies 1455/1516 modules
|
|
235
|
+
@ilo-org/react:build: <s> [webpack.Progress] 58% building 15/17 entries 6136/6137 dependencies 1512/1527 modules
|
|
236
|
+
@ilo-org/react:build: <s> [webpack.Progress] 61% building 16/17 entries 6137/6137 dependencies 1528/1528 modules
|
|
237
|
+
@ilo-org/react:build: <s> [webpack.Progress] 65% building 17/17 entries 6137/6137 dependencies 1528/1528 modules
|
|
228
238
|
@ilo-org/react:build: <s> [webpack.Progress] 65% building
|
|
229
239
|
@ilo-org/react:build: <s> [webpack.Progress] 69% building finish
|
|
230
240
|
@ilo-org/react:build: <s> [webpack.Progress] 69% building finish
|
|
@@ -326,13 +336,13 @@
|
|
|
326
336
|
@ilo-org/react:build: <s> [webpack.Progress] 92% sealing asset processing ESLintWebpackPlugin_1
|
|
327
337
|
@ilo-org/react:build: <s> [webpack.Progress] 92% sealing asset processing PersistentChildCompilerSingletonPlugin
|
|
328
338
|
@ilo-org/react:build: <s> [webpack.Progress] 92% sealing asset processing TerserPlugin
|
|
329
|
-
@ilo-org/react:build: info => Manager built (1.
|
|
339
|
+
@ilo-org/react:build: info => Manager built (1.65 min)
|
|
330
340
|
@ilo-org/react:build: <s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin
|
|
331
341
|
@ilo-org/react:build: <s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin
|
|
332
|
-
@ilo-org/react:build: <s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin static/css/main.
|
|
333
|
-
@ilo-org/react:build: <s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin static/css/main.
|
|
334
|
-
@ilo-org/react:build: <s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin main.
|
|
335
|
-
@ilo-org/react:build: <s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin main.
|
|
342
|
+
@ilo-org/react:build: <s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin static/css/main.cffdfa7b.css generate SourceMap
|
|
343
|
+
@ilo-org/react:build: <s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin static/css/main.cffdfa7b.css generated SourceMap
|
|
344
|
+
@ilo-org/react:build: <s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin main.8fdca5d3.iframe.bundle.js generate SourceMap
|
|
345
|
+
@ilo-org/react:build: <s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin main.8fdca5d3.iframe.bundle.js generated SourceMap
|
|
336
346
|
@ilo-org/react:build: <s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin runtime~main.24d7c1a5.iframe.bundle.js generate SourceMap
|
|
337
347
|
@ilo-org/react:build: <s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin runtime~main.24d7c1a5.iframe.bundle.js generated SourceMap
|
|
338
348
|
@ilo-org/react:build: <s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 181.05a792d9.iframe.bundle.js generate SourceMap
|
|
@@ -378,8 +388,8 @@
|
|
|
378
388
|
@ilo-org/react:build: <s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 29.c5a649d3.iframe.bundle.js generate SourceMap
|
|
379
389
|
@ilo-org/react:build: <s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin 29.c5a649d3.iframe.bundle.js generated SourceMap
|
|
380
390
|
@ilo-org/react:build: <s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin resolve sources
|
|
381
|
-
@ilo-org/react:build: <s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin static/css/main.
|
|
382
|
-
@ilo-org/react:build: <s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin static/css/main.
|
|
391
|
+
@ilo-org/react:build: <s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin static/css/main.cffdfa7b.css attach SourceMap
|
|
392
|
+
@ilo-org/react:build: <s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin static/css/main.cffdfa7b.css attached SourceMap
|
|
383
393
|
@ilo-org/react:build: <s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin
|
|
384
394
|
@ilo-org/react:build: <s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin
|
|
385
395
|
@ilo-org/react:build: <s> [webpack.Progress] 92% sealing asset processing SourceMapDevToolPlugin resolve sources
|
|
@@ -390,8 +400,8 @@
|
|
|
390
400
|
@ilo-org/react:build: <s> [webpack.Progress] 92% sealing asset processing HtmlWebpackPlugin
|
|
391
401
|
@ilo-org/react:build: <s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin
|
|
392
402
|
@ilo-org/react:build: <s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin
|
|
393
|
-
@ilo-org/react:build: <s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin main.
|
|
394
|
-
@ilo-org/react:build: <s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin main.
|
|
403
|
+
@ilo-org/react:build: <s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin main.10a8ad63.iframe.bundle.js generate SourceMap
|
|
404
|
+
@ilo-org/react:build: <s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin main.10a8ad63.iframe.bundle.js generated SourceMap
|
|
395
405
|
@ilo-org/react:build: <s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin runtime~main.f3168ed5.iframe.bundle.js generate SourceMap
|
|
396
406
|
@ilo-org/react:build: <s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin runtime~main.f3168ed5.iframe.bundle.js generated SourceMap
|
|
397
407
|
@ilo-org/react:build: <s> [webpack.Progress] 92% sealing asset processing RealContentHashPlugin 181.1d6d475b.iframe.bundle.js generate SourceMap
|
|
@@ -462,7 +472,7 @@
|
|
|
462
472
|
@ilo-org/react:build: <s> [webpack.Progress] 99% cache begin idle
|
|
463
473
|
@ilo-org/react:build: <s> [webpack.Progress] 100%
|
|
464
474
|
@ilo-org/react:build:
|
|
465
|
-
@ilo-org/react:build: info => Preview built (1.
|
|
475
|
+
@ilo-org/react:build: info => Preview built (1.75 min)
|
|
466
476
|
@ilo-org/react:build: WARN Should not import the named export 'themeprefix'.'value' (imported as 'themeprefix') from default-exporting module (only default export is available soon)
|
|
467
477
|
@ilo-org/react:build: WARN Should not import the named export 'themeprefix'.'value' (imported as 'themeprefix') from default-exporting module (only default export is available soon)
|
|
468
478
|
@ilo-org/react:build: WARN
|
|
@@ -495,16 +505,16 @@
|
|
|
495
505
|
@ilo-org/react:build: WARN d3434771ad7e9030387e.ttf (473 KiB)
|
|
496
506
|
@ilo-org/react:build: WARN 9ff97e342523931a4992.eot (339 KiB)
|
|
497
507
|
@ilo-org/react:build: WARN 1dbed2ef5cef8fcb4cbe.ttf (338 KiB)
|
|
498
|
-
@ilo-org/react:build: WARN main.
|
|
508
|
+
@ilo-org/react:build: WARN main.10a8ad63.iframe.bundle.js (479 KiB)
|
|
499
509
|
@ilo-org/react:build: WARN 337.b8defe66.iframe.bundle.js (602 KiB)
|
|
500
510
|
@ilo-org/react:build: WARN 29.8e0bc9a8.iframe.bundle.js (2.25 MiB)
|
|
501
511
|
@ilo-org/react:build: WARN entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
|
|
502
512
|
@ilo-org/react:build: WARN Entrypoints:
|
|
503
|
-
@ilo-org/react:build: WARN main (2.
|
|
513
|
+
@ilo-org/react:build: WARN main (2.9 MiB)
|
|
504
514
|
@ilo-org/react:build: WARN runtime~main.f3168ed5.iframe.bundle.js
|
|
505
515
|
@ilo-org/react:build: WARN 29.8e0bc9a8.iframe.bundle.js
|
|
506
|
-
@ilo-org/react:build: WARN main.
|
|
507
|
-
@ilo-org/react:build: WARN static/css/main.
|
|
516
|
+
@ilo-org/react:build: WARN main.10a8ad63.iframe.bundle.js
|
|
517
|
+
@ilo-org/react:build: WARN static/css/main.b43a53aa.css
|
|
508
518
|
@ilo-org/react:build: WARN
|
|
509
519
|
@ilo-org/react:build: <s> [webpack.Progress] 99% cache shutdown
|
|
510
520
|
@ilo-org/react:build: <s> [webpack.Progress] 99% cache shutdown
|
package/.turbo/turbo-check.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
@ilo-org/react:check: cache hit, replaying output
|
|
1
|
+
@ilo-org/react:check: cache hit, replaying output fa220bcbe0a45a75
|
|
2
2
|
@ilo-org/react:check:
|
|
3
|
-
@ilo-org/react:check: > @ilo-org/react@0.0.
|
|
3
|
+
@ilo-org/react:check: > @ilo-org/react@0.0.3 check /home/runner/work/designsystem/designsystem/packages/react
|
|
4
4
|
@ilo-org/react:check: > tsc --noEmit
|
|
5
5
|
@ilo-org/react:check:
|
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
@ilo-org/react:test: cache hit, replaying output
|
|
1
|
+
@ilo-org/react:test: cache hit, replaying output 0632db7b7826f1b2
|
|
2
2
|
@ilo-org/react:test:
|
|
3
|
-
@ilo-org/react:test: > @ilo-org/react@0.0.
|
|
3
|
+
@ilo-org/react:test: > @ilo-org/react@0.0.3 test /home/runner/work/designsystem/designsystem/packages/react
|
|
4
4
|
@ilo-org/react:test: > NODE_OPTIONS=--experimental-vm-modules SKIP_PREFLIGHT_CHECK=true react-scripts test --watchAll=false --setupFilesAfterEnv ./src/setup.ts
|
|
5
5
|
@ilo-org/react:test:
|
|
6
|
-
@ilo-org/react:test: (node:
|
|
6
|
+
@ilo-org/react:test: (node:2919) ExperimentalWarning: VM Modules is an experimental feature. This feature could change at any time
|
|
7
7
|
@ilo-org/react:test: (Use `node --trace-warnings ...` to show where the warning was created)
|
|
8
8
|
@ilo-org/react:test: PASS src/__tests__/Button.test.tsx
|
|
9
9
|
@ilo-org/react:test: PASS src/__tests__/Pagination.test.tsx
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
@ilo-org/react:test:
|
|
15
15
|
@ilo-org/react:test: console.log
|
|
16
16
|
@ilo-org/react:test: <ref *1> HTMLButtonElement {
|
|
17
|
-
@ilo-org/react:test: '__reactFiber$
|
|
17
|
+
@ilo-org/react:test: '__reactFiber$z4ws2hz0h5': <ref *2> FiberNode {
|
|
18
18
|
@ilo-org/react:test: tag: 5,
|
|
19
19
|
@ilo-org/react:test: key: null,
|
|
20
20
|
@ilo-org/react:test: elementType: 'button',
|
|
@@ -165,7 +165,7 @@
|
|
|
165
165
|
@ilo-org/react:test: _debugNeedsRemount: false,
|
|
166
166
|
@ilo-org/react:test: _debugHookTypes: null
|
|
167
167
|
@ilo-org/react:test: },
|
|
168
|
-
@ilo-org/react:test: '__reactProps$
|
|
168
|
+
@ilo-org/react:test: '__reactProps$z4ws2hz0h5': {
|
|
169
169
|
@ilo-org/react:test: className: 'ilo--accordion--button',
|
|
170
170
|
@ilo-org/react:test: 'aria-expanded': true,
|
|
171
171
|
@ilo-org/react:test: onClick: [Function: onClick],
|
|
@@ -179,7 +179,7 @@
|
|
|
179
179
|
@ilo-org/react:test:
|
|
180
180
|
@ilo-org/react:test: console.log
|
|
181
181
|
@ilo-org/react:test: <ref *1> HTMLButtonElement {
|
|
182
|
-
@ilo-org/react:test: '__reactFiber$
|
|
182
|
+
@ilo-org/react:test: '__reactFiber$z4ws2hz0h5': <ref *2> FiberNode {
|
|
183
183
|
@ilo-org/react:test: tag: 5,
|
|
184
184
|
@ilo-org/react:test: key: null,
|
|
185
185
|
@ilo-org/react:test: elementType: 'button',
|
|
@@ -330,7 +330,7 @@
|
|
|
330
330
|
@ilo-org/react:test: _debugNeedsRemount: false,
|
|
331
331
|
@ilo-org/react:test: _debugHookTypes: null
|
|
332
332
|
@ilo-org/react:test: },
|
|
333
|
-
@ilo-org/react:test: '__reactProps$
|
|
333
|
+
@ilo-org/react:test: '__reactProps$z4ws2hz0h5': {
|
|
334
334
|
@ilo-org/react:test: className: 'ilo--accordion--button',
|
|
335
335
|
@ilo-org/react:test: 'aria-expanded': true,
|
|
336
336
|
@ilo-org/react:test: onClick: [Function: onClick],
|
|
@@ -344,7 +344,7 @@
|
|
|
344
344
|
@ilo-org/react:test:
|
|
345
345
|
@ilo-org/react:test: console.log
|
|
346
346
|
@ilo-org/react:test: <ref *1> HTMLButtonElement {
|
|
347
|
-
@ilo-org/react:test: '__reactFiber$
|
|
347
|
+
@ilo-org/react:test: '__reactFiber$z4ws2hz0h5': <ref *2> FiberNode {
|
|
348
348
|
@ilo-org/react:test: tag: 5,
|
|
349
349
|
@ilo-org/react:test: key: null,
|
|
350
350
|
@ilo-org/react:test: elementType: 'button',
|
|
@@ -495,7 +495,7 @@
|
|
|
495
495
|
@ilo-org/react:test: _debugNeedsRemount: false,
|
|
496
496
|
@ilo-org/react:test: _debugHookTypes: null
|
|
497
497
|
@ilo-org/react:test: },
|
|
498
|
-
@ilo-org/react:test: '__reactProps$
|
|
498
|
+
@ilo-org/react:test: '__reactProps$z4ws2hz0h5': {
|
|
499
499
|
@ilo-org/react:test: className: 'ilo--accordion--button',
|
|
500
500
|
@ilo-org/react:test: 'aria-expanded': true,
|
|
501
501
|
@ilo-org/react:test: onClick: [Function: onClick],
|
|
@@ -512,7 +512,7 @@
|
|
|
512
512
|
@ilo-org/react:test:
|
|
513
513
|
@ilo-org/react:test: console.log
|
|
514
514
|
@ilo-org/react:test: <ref *1> HTMLHeadingElement {
|
|
515
|
-
@ilo-org/react:test: '__reactFiber$
|
|
515
|
+
@ilo-org/react:test: '__reactFiber$8p7xqjgbxvo': <ref *2> FiberNode {
|
|
516
516
|
@ilo-org/react:test: tag: 5,
|
|
517
517
|
@ilo-org/react:test: key: null,
|
|
518
518
|
@ilo-org/react:test: elementType: 'h5',
|
|
@@ -649,7 +649,7 @@
|
|
|
649
649
|
@ilo-org/react:test: _debugNeedsRemount: false,
|
|
650
650
|
@ilo-org/react:test: _debugHookTypes: null
|
|
651
651
|
@ilo-org/react:test: },
|
|
652
|
-
@ilo-org/react:test: '__reactProps$
|
|
652
|
+
@ilo-org/react:test: '__reactProps$8p7xqjgbxvo': { className: 'undefined--callout--headline', children: 'With CTA' }
|
|
653
653
|
@ilo-org/react:test: }
|
|
654
654
|
@ilo-org/react:test:
|
|
655
655
|
@ilo-org/react:test: at Object.<anonymous> (src/__tests__/Callout.test.tsx:14:13)
|
|
@@ -659,7 +659,7 @@
|
|
|
659
659
|
@ilo-org/react:test:
|
|
660
660
|
@ilo-org/react:test: console.log
|
|
661
661
|
@ilo-org/react:test: <ref *1> HTMLHeadingElement {
|
|
662
|
-
@ilo-org/react:test: '__reactFiber$
|
|
662
|
+
@ilo-org/react:test: '__reactFiber$2wrl51e936r': <ref *2> FiberNode {
|
|
663
663
|
@ilo-org/react:test: tag: 5,
|
|
664
664
|
@ilo-org/react:test: key: null,
|
|
665
665
|
@ilo-org/react:test: elementType: 'h2',
|
|
@@ -802,7 +802,7 @@
|
|
|
802
802
|
@ilo-org/react:test: _debugNeedsRemount: false,
|
|
803
803
|
@ilo-org/react:test: _debugHookTypes: null
|
|
804
804
|
@ilo-org/react:test: },
|
|
805
|
-
@ilo-org/react:test: '__reactProps$
|
|
805
|
+
@ilo-org/react:test: '__reactProps$2wrl51e936r': {
|
|
806
806
|
@ilo-org/react:test: className: 'undefined--notification--headline',
|
|
807
807
|
@ilo-org/react:test: children: 'With CTA'
|
|
808
808
|
@ilo-org/react:test: }
|
|
@@ -1672,5 +1672,5 @@
|
|
|
1672
1672
|
@ilo-org/react:test: Test Suites: 20 passed, 20 total
|
|
1673
1673
|
@ilo-org/react:test: Tests: 66 passed, 66 total
|
|
1674
1674
|
@ilo-org/react:test: Snapshots: 0 total
|
|
1675
|
-
@ilo-org/react:test: Time:
|
|
1675
|
+
@ilo-org/react:test: Time: 19.498 s
|
|
1676
1676
|
@ilo-org/react:test: Ran all test suites.
|
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# @ilo-org/react
|
|
2
|
+
|
|
3
|
+
## 0.0.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [ab6fd1b]
|
|
8
|
+
- Updated dependencies [b68f6fb]
|
|
9
|
+
- @ilo-org/styles@0.0.3
|
|
10
|
+
|
|
11
|
+
## 0.0.2
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- b61692a: CSS should default to assuming fonts are being loaded via a server rather than by means of the monorepo
|
|
16
|
+
- Updated dependencies [b61692a]
|
|
17
|
+
- @ilo-org/fonts@0.0.2
|
|
18
|
+
- @ilo-org/styles@0.0.2
|
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.3",
|
|
5
5
|
"author": "@justintemps",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"main": "lib/index.js",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@ilo-org/brand-assets": "0.0.1",
|
|
27
|
-
"@ilo-org/fonts": "0.0.
|
|
27
|
+
"@ilo-org/fonts": "0.0.2",
|
|
28
28
|
"@ilo-org/icons-react": "0.0.1",
|
|
29
|
-
"@ilo-org/styles": "0.0.
|
|
29
|
+
"@ilo-org/styles": "0.0.3",
|
|
30
30
|
"@ilo-org/themes": "0.0.1",
|
|
31
31
|
"@ilo-org/utils": "0.0.1",
|
|
32
32
|
"classnames": "^2.3.1",
|
|
@@ -100,6 +100,22 @@ const disabled: ButtonProps = {
|
|
|
100
100
|
url: "",
|
|
101
101
|
};
|
|
102
102
|
|
|
103
|
+
const disabledm: ButtonProps = {
|
|
104
|
+
disabled: true,
|
|
105
|
+
label: "Disabled Button",
|
|
106
|
+
size: "medium",
|
|
107
|
+
type: "primary",
|
|
108
|
+
url: "",
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
const disabledsm: ButtonProps = {
|
|
112
|
+
disabled: true,
|
|
113
|
+
label: "Disabled Button",
|
|
114
|
+
size: "small",
|
|
115
|
+
type: "primary",
|
|
116
|
+
url: "",
|
|
117
|
+
};
|
|
118
|
+
|
|
103
119
|
const iconleftlgprimary: ButtonProps = {
|
|
104
120
|
callback: "",
|
|
105
121
|
children: "",
|
|
@@ -306,6 +322,104 @@ const iconrightsmalert: ButtonProps = {
|
|
|
306
322
|
url: "",
|
|
307
323
|
};
|
|
308
324
|
|
|
325
|
+
const icononlylgprimary: ButtonProps = {
|
|
326
|
+
callback: "",
|
|
327
|
+
children: "",
|
|
328
|
+
icon: "close",
|
|
329
|
+
icononly: true,
|
|
330
|
+
label: "Icon only",
|
|
331
|
+
size: "large",
|
|
332
|
+
type: "primary",
|
|
333
|
+
};
|
|
334
|
+
|
|
335
|
+
const icononlymprimary: ButtonProps = {
|
|
336
|
+
icon: "close",
|
|
337
|
+
icononly: true,
|
|
338
|
+
label: "Icon only",
|
|
339
|
+
size: "medium",
|
|
340
|
+
type: "primary",
|
|
341
|
+
};
|
|
342
|
+
|
|
343
|
+
const icononlysmprimary: ButtonProps = {
|
|
344
|
+
icon: "close",
|
|
345
|
+
icononly: true,
|
|
346
|
+
label: "Icon only",
|
|
347
|
+
size: "small",
|
|
348
|
+
type: "primary",
|
|
349
|
+
};
|
|
350
|
+
|
|
351
|
+
const icononlylgsecondary: ButtonProps = {
|
|
352
|
+
icon: "close",
|
|
353
|
+
icononly: true,
|
|
354
|
+
label: "Icon only",
|
|
355
|
+
size: "large",
|
|
356
|
+
type: "secondary",
|
|
357
|
+
};
|
|
358
|
+
|
|
359
|
+
const icononlymsecondary: ButtonProps = {
|
|
360
|
+
icon: "close",
|
|
361
|
+
icononly: true,
|
|
362
|
+
label: "Icon only",
|
|
363
|
+
size: "medium",
|
|
364
|
+
type: "secondary",
|
|
365
|
+
};
|
|
366
|
+
|
|
367
|
+
const icononlysmsecondary: ButtonProps = {
|
|
368
|
+
icon: "close",
|
|
369
|
+
icononly: true,
|
|
370
|
+
label: "Icon only",
|
|
371
|
+
size: "small",
|
|
372
|
+
type: "secondary",
|
|
373
|
+
};
|
|
374
|
+
|
|
375
|
+
const icononlylgtertiary: ButtonProps = {
|
|
376
|
+
icon: "close",
|
|
377
|
+
icononly: true,
|
|
378
|
+
label: "Icon only",
|
|
379
|
+
size: "large",
|
|
380
|
+
type: "tertiary",
|
|
381
|
+
};
|
|
382
|
+
|
|
383
|
+
const icononlymtertiary: ButtonProps = {
|
|
384
|
+
icon: "close",
|
|
385
|
+
icononly: true,
|
|
386
|
+
label: "Icon only",
|
|
387
|
+
size: "medium",
|
|
388
|
+
type: "tertiary",
|
|
389
|
+
};
|
|
390
|
+
|
|
391
|
+
const icononlysmtertiary: ButtonProps = {
|
|
392
|
+
icon: "close",
|
|
393
|
+
icononly: true,
|
|
394
|
+
label: "Icon only",
|
|
395
|
+
size: "small",
|
|
396
|
+
type: "tertiary",
|
|
397
|
+
};
|
|
398
|
+
|
|
399
|
+
const icononlylgalert: ButtonProps = {
|
|
400
|
+
icon: "close",
|
|
401
|
+
icononly: true,
|
|
402
|
+
label: "Icon only",
|
|
403
|
+
size: "large",
|
|
404
|
+
type: "alert",
|
|
405
|
+
};
|
|
406
|
+
|
|
407
|
+
const icononlymalert: ButtonProps = {
|
|
408
|
+
icon: "close",
|
|
409
|
+
icononly: true,
|
|
410
|
+
label: "Icon only",
|
|
411
|
+
size: "medium",
|
|
412
|
+
type: "alert",
|
|
413
|
+
};
|
|
414
|
+
|
|
415
|
+
const icononlysmalert: ButtonProps = {
|
|
416
|
+
icon: "close",
|
|
417
|
+
icononly: true,
|
|
418
|
+
label: "Icon only",
|
|
419
|
+
size: "small",
|
|
420
|
+
type: "alert",
|
|
421
|
+
};
|
|
422
|
+
|
|
309
423
|
/**
|
|
310
424
|
* Sample prop definitions for Button's enumerable properties (imported in stories and tests).
|
|
311
425
|
*/
|
|
@@ -324,6 +438,8 @@ const ButtonArgs = {
|
|
|
324
438
|
alertm,
|
|
325
439
|
alertsm,
|
|
326
440
|
disabled,
|
|
441
|
+
disabledm,
|
|
442
|
+
disabledsm,
|
|
327
443
|
iconleftlgprimary,
|
|
328
444
|
iconleftmprimary,
|
|
329
445
|
iconleftsmprimary,
|
|
@@ -348,6 +464,18 @@ const ButtonArgs = {
|
|
|
348
464
|
iconrightlgalert,
|
|
349
465
|
iconrightmalert,
|
|
350
466
|
iconrightsmalert,
|
|
467
|
+
icononlylgprimary,
|
|
468
|
+
icononlymprimary,
|
|
469
|
+
icononlysmprimary,
|
|
470
|
+
icononlylgsecondary,
|
|
471
|
+
icononlymsecondary,
|
|
472
|
+
icononlysmsecondary,
|
|
473
|
+
icononlylgtertiary,
|
|
474
|
+
icononlymtertiary,
|
|
475
|
+
icononlysmtertiary,
|
|
476
|
+
icononlylgalert,
|
|
477
|
+
icononlymalert,
|
|
478
|
+
icononlysmalert,
|
|
351
479
|
};
|
|
352
480
|
|
|
353
481
|
export default ButtonArgs;
|
|
@@ -29,8 +29,8 @@ const Button: FC<ButtonProps> = ({
|
|
|
29
29
|
[baseClass]: true,
|
|
30
30
|
[`${baseClass}--${size}`]: size,
|
|
31
31
|
[`${baseClass}--${type}`]: type,
|
|
32
|
-
[`icon icon__position--${icoPos}`]: icon,
|
|
33
|
-
[`icon--only`]: icononly,
|
|
32
|
+
[`icon icon__position--${icoPos}`]: icon && !icononly,
|
|
33
|
+
[`icon icon--only`]: icon && icononly,
|
|
34
34
|
});
|
|
35
35
|
|
|
36
36
|
/**
|
|
@@ -18,7 +18,7 @@ const hascta: CalloutProps = {
|
|
|
18
18
|
const infoCallout: CalloutProps = {
|
|
19
19
|
copy: "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
|
|
20
20
|
isCollapsible: false,
|
|
21
|
-
headline: "
|
|
21
|
+
headline: "Callout Title",
|
|
22
22
|
type: "info",
|
|
23
23
|
};
|
|
24
24
|
|
|
@@ -30,7 +30,7 @@ const errorCallout: CalloutProps = {
|
|
|
30
30
|
copy: "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
|
|
31
31
|
isCollapsible: true,
|
|
32
32
|
isOpen: false,
|
|
33
|
-
headline: "
|
|
33
|
+
headline: "Callout Title",
|
|
34
34
|
toggleOpenLabel: "Open",
|
|
35
35
|
toggleClosedLabel: "Closed",
|
|
36
36
|
type: "error",
|
|
@@ -39,14 +39,14 @@ const errorCallout: CalloutProps = {
|
|
|
39
39
|
const successCallout: CalloutProps = {
|
|
40
40
|
copy: "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
|
|
41
41
|
isCollapsible: false,
|
|
42
|
-
headline: "
|
|
42
|
+
headline: "Callout Title",
|
|
43
43
|
type: "success",
|
|
44
44
|
};
|
|
45
45
|
|
|
46
46
|
const warningCallout: CalloutProps = {
|
|
47
47
|
copy: "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
|
|
48
48
|
isCollapsible: false,
|
|
49
|
-
headline: "
|
|
49
|
+
headline: "Callout Title",
|
|
50
50
|
type: "warning",
|
|
51
51
|
};
|
|
52
52
|
|