@carbon-labs/react-animated-header 0.14.0 → 0.15.0
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/es/assets/static/illustration_data_fabric_dark_05.svg.js +1 -1
- package/es/assets/static/illustration_data_fabric_light_04.svg.js +1 -1
- package/es/assets/static/illustration_watson_x_data_dark_03.svg.js +1 -1
- package/es/assets/static/illustration_watson_x_data_light_03.svg.js +1 -1
- package/es/components/AnimatedHeader/AnimatedHeader.d.ts +1 -0
- package/es/components/AnimatedHeader/AnimatedHeader.js +8 -2
- package/es/components/Tiles/BaseTile/BaseTile.d.ts +1 -0
- package/es/components/Tiles/BaseTile/BaseTile.js +4 -2
- package/es/components/Tiles/GlassTile/GlassTile.d.ts +1 -0
- package/es/components/Tiles/GlassTile/GlassTile.js +5 -1
- package/lib/assets/static/illustration_data_fabric_dark_05.svg.js +1 -1
- package/lib/assets/static/illustration_data_fabric_light_04.svg.js +1 -1
- package/lib/assets/static/illustration_watson_x_data_dark_03.svg.js +1 -1
- package/lib/assets/static/illustration_watson_x_data_light_03.svg.js +1 -1
- package/lib/components/AnimatedHeader/AnimatedHeader.d.ts +1 -0
- package/lib/components/AnimatedHeader/AnimatedHeader.js +8 -2
- package/lib/components/Tiles/BaseTile/BaseTile.d.ts +1 -0
- package/lib/components/Tiles/BaseTile/BaseTile.js +4 -2
- package/lib/components/Tiles/GlassTile/GlassTile.d.ts +1 -0
- package/lib/components/Tiles/GlassTile/GlassTile.js +5 -1
- package/package.json +2 -2
|
@@ -5,6 +5,6 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
var illustration_data_fabric_dark_05 = "
|
|
8
|
+
var illustration_data_fabric_dark_05 = "export default \"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22illustrations%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20version%3D%221.1%22%20viewBox%3D%220%200%201312%20738%22%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%3Cstyle%3E%20%20%20%20%20%20.st0%2C%20.st1%20%7B%20%20%20%20%20%20%20%20fill%3A%20none%3B%20%20%20%20%20%20%7D%20%20%20%20%20%20.st1%20%7B%20%20%20%20%20%20%20%20stroke%3A%20%23003a6d%3B%20%20%20%20%20%20%20%20stroke-miterlimit%3A%2010%3B%20%20%20%20%20%20%7D%20%20%20%20%20%20.st2%20%7B%20%20%20%20%20%20%20%20fill%3A%20%23081a1c%3B%20%20%20%20%20%20%20%20stroke%3A%20%23005d5d%3B%20%20%20%20%20%20%7D%20%20%20%20%20%20.st3%20%7B%20%20%20%20%20%20%20%20clip-path%3A%20url%28%23clippath%29%3B%20%20%20%20%20%20%7D%20%20%20%20%3C%2Fstyle%3E%20%20%20%20%3CclipPath%20id%3D%22clippath%22%3E%20%20%20%20%20%20%3Crect%20class%3D%22st0%22%20width%3D%221312%22%20height%3D%22738%22%2F%3E%20%20%20%20%3C%2FclipPath%3E%20%20%3C%2Fdefs%3E%20%20%3Cg%20id%3D%22data_fabric_-_light%22%3E%20%20%20%20%3Cg%20class%3D%22st3%22%3E%20%20%20%20%20%20%3Cg%20id%3D%22data_fabric_-_light1%22%3E%20%20%20%20%20%20%20%20%3Cg%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M0%2C162.6h824%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M0%2C217.7h823.8%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M0%2C272.6h823.8%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M0%2C327.5h823.8%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M0%2C382.5h823.8%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M395.8%2C0v738%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M456.9%2C0v738%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M640.3%2C0v738%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M701.5%2C0v738%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M762.6%2C0v738%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M823.8-112.1v850.1%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M0%2C107.6h824%22%2F%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3Cg%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M1247.4%2C162.4c-84.6-131.2-242.7-219.4-423.6-219.4%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M1247.4%2C162.4C1162.8-1.6%2C1004.8-112.1%2C823.8-112.1%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M1247.4%2C162.4C1162.8%2C64.1%2C1004.7-2%2C823.8-2%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M1247.4%2C162.4c-84.6-65.5-242.8-109.5-423.6-109.5%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M1247.4%2C162.4c-84.6-32.7-242.8-54.6-423.6-54.6%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cline%20class%3D%22st1%22%20x1%3D%221247.4%22%20y1%3D%22162.4%22%20x2%3D%22823.8%22%20y2%3D%22162.6%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M1247.4%2C162.4c-84.6%2C32.9-242.7%2C55.3-423.6%2C55.3%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M1247.4%2C162.4c-84.6%2C65.7-242.7%2C110.2-423.6%2C110.2%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M1247.4%2C162.4c-84.6%2C98.5-242.7%2C165.1-423.6%2C165.1%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M1247.4%2C162.4c-84.3%2C163.6-242.7%2C275-423.6%2C275%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M1247.4%2C162.4c-84.3%2C130.8-242.8%2C220.1-423.6%2C220.1%22%2F%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M1254.4%2C162.5c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M464.1%2C107.8c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M647.5%2C107.8c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M464.1%2C162.6c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M402.9%2C162.6c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M708.6%2C162.6c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M464.1%2C217.7c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M525.2%2C217.7c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M586.3%2C217.7c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M647.5%2C217.7c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M708.6%2C217.7c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M769.8%2C162.6c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.2-3.2-7.2-7.1%2C3.2-7.1%2C7.2-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M964.8%2C162.6c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M1075.6%2C122.5c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M1167.2%2C223.7c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M1129%2C258c0%2C3.9-3.2%2C7.1-7.2%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.2%2C3.2%2C7.2%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M951.4%2C420.2c0%2C3.9-3.2%2C7.1-7.2%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.2%2C3.2%2C7.2%2C7.1Z%22%2F%3E%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%20%20%3C%2Fg%3E%3C%2Fsvg%3E\"";
|
|
9
9
|
|
|
10
10
|
export { illustration_data_fabric_dark_05 as default };
|
|
@@ -5,6 +5,6 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
var illustration_data_fabric_light_04 = "
|
|
8
|
+
var illustration_data_fabric_light_04 = "export default \"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22illustrations%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20version%3D%221.1%22%20viewBox%3D%220%200%201312%20738%22%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%3Cstyle%3E%20%20%20%20%20%20.st0%2C%20.st1%20%7B%20%20%20%20%20%20%20%20fill%3A%20none%3B%20%20%20%20%20%20%7D%20%20%20%20%20%20.st1%20%7B%20%20%20%20%20%20%20%20stroke%3A%20%2382cfff%3B%20%20%20%20%20%20%20%20stroke-miterlimit%3A%2010%3B%20%20%20%20%20%20%7D%20%20%20%20%20%20.st2%2C%20.st3%20%7B%20%20%20%20%20%20%20%20fill%3A%20%23d9fbfb%3B%20%20%20%20%20%20%20%20stroke%3A%20%2303ddbd%3B%20%20%20%20%20%20%7D%20%20%20%20%20%20.st3%20%7B%20%20%20%20%20%20%20%20stroke-width%3A%201px%3B%20%20%20%20%20%20%7D%20%20%20%20%20%20.st4%20%7B%20%20%20%20%20%20%20%20clip-path%3A%20url%28%23clippath%29%3B%20%20%20%20%20%20%7D%20%20%20%20%3C%2Fstyle%3E%20%20%20%20%3CclipPath%20id%3D%22clippath%22%3E%20%20%20%20%20%20%3Crect%20class%3D%22st0%22%20width%3D%221312%22%20height%3D%22738%22%2F%3E%20%20%20%20%3C%2FclipPath%3E%20%20%3C%2Fdefs%3E%20%20%3Cg%20id%3D%22data_fabric_-_light%22%3E%20%20%20%20%3Cg%20class%3D%22st4%22%3E%20%20%20%20%20%20%3Cg%20id%3D%22data_fabric_-_light1%22%3E%20%20%20%20%20%20%20%20%3Cg%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M0%2C162.6h824%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M0%2C217.7h823.8%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M0%2C272.6h823.8%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M0%2C327.5h823.8%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M0%2C382.5h823.8%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M395.8%2C0v738%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M456.9%2C0v738%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M640.3%2C0v738%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M701.5%2C0v738%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M762.6%2C0v738%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M823.8-112.1v850.1%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M0%2C107.6h824%22%2F%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3Cg%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M1247.4%2C162.4c-84.6-131.2-242.7-219.4-423.6-219.4%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M1247.4%2C162.4C1162.8-1.6%2C1004.8-112.1%2C823.8-112.1%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M1247.4%2C162.4C1162.8%2C64.1%2C1004.7-2%2C823.8-2%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M1247.4%2C162.4c-84.6-65.5-242.8-109.5-423.6-109.5%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M1247.4%2C162.4c-84.6-32.7-242.8-54.6-423.6-54.6%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cline%20class%3D%22st1%22%20x1%3D%221247.4%22%20y1%3D%22162.4%22%20x2%3D%22823.8%22%20y2%3D%22162.6%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M1247.4%2C162.4c-84.6%2C32.9-242.7%2C55.3-423.6%2C55.3%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M1247.4%2C162.4c-84.6%2C65.7-242.7%2C110.2-423.6%2C110.2%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M1247.4%2C162.4c-84.6%2C98.5-242.7%2C165.1-423.6%2C165.1%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M1247.4%2C162.4c-84.3%2C163.6-242.7%2C275-423.6%2C275%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M1247.4%2C162.4c-84.3%2C130.8-242.8%2C220.1-423.6%2C220.1%22%2F%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st3%22%20d%3D%22M1254.4%2C162.5c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M464.1%2C107.8c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M647.5%2C107.8c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M464.1%2C162.6c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M402.9%2C162.6c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M708.6%2C162.6c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M464.1%2C217.7c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M525.2%2C217.7c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M586.3%2C217.7c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M647.5%2C217.7c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M708.6%2C217.7c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M769.8%2C162.6c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.2-3.2-7.2-7.1%2C3.2-7.1%2C7.2-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M964.8%2C162.6c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M1075.6%2C122.5c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M1167.2%2C223.7c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M1129%2C258c0%2C3.9-3.2%2C7.1-7.2%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.2%2C3.2%2C7.2%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M951.4%2C420.2c0%2C3.9-3.2%2C7.1-7.2%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.2%2C3.2%2C7.2%2C7.1Z%22%2F%3E%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%20%20%3C%2Fg%3E%3C%2Fsvg%3E\"";
|
|
9
9
|
|
|
10
10
|
export { illustration_data_fabric_light_04 as default };
|
|
@@ -5,6 +5,6 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
var illustration_watson_x_data_dark_03 = "
|
|
8
|
+
var illustration_watson_x_data_dark_03 = "export default \"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22illustrations%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20version%3D%221.1%22%20viewBox%3D%220%200%201312%20738%22%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%3Cstyle%3E%20%20%20%20%20%20.st0%2C%20.st1%2C%20.st2%20%7B%20%20%20%20%20%20%20%20fill%3A%20none%3B%20%20%20%20%20%20%7D%20%20%20%20%20%20.st1%20%7B%20%20%20%20%20%20%20%20stroke%3A%20%23003a6d%3B%20%20%20%20%20%20%20%20stroke-miterlimit%3A%2010%3B%20%20%20%20%20%20%7D%20%20%20%20%20%20.st2%2C%20.st3%20%7B%20%20%20%20%20%20%20%20stroke%3A%20%23491d8b%3B%20%20%20%20%20%20%7D%20%20%20%20%20%20.st4%20%7B%20%20%20%20%20%20%20%20clip-path%3A%20url%28%23clippath%29%3B%20%20%20%20%20%20%7D%20%20%20%20%20%20.st5%20%7B%20%20%20%20%20%20%20%20fill%3A%20%23161616%3B%20%20%20%20%20%20%7D%20%20%20%20%20%20.st3%20%7B%20%20%20%20%20%20%20%20fill%3A%20%231c0f30%3B%20%20%20%20%20%20%7D%20%20%20%20%3C%2Fstyle%3E%20%20%20%20%3CclipPath%20id%3D%22clippath%22%3E%20%20%20%20%20%20%3Crect%20class%3D%22st0%22%20width%3D%221312%22%20height%3D%22738%22%2F%3E%20%20%20%20%3C%2FclipPath%3E%20%20%3C%2Fdefs%3E%20%20%3Crect%20class%3D%22st5%22%20width%3D%221312%22%20height%3D%22738%22%2F%3E%20%20%3Cg%20id%3D%22watsonx.data_-_dark%22%3E%20%20%20%20%3Cg%20class%3D%22st4%22%3E%20%20%20%20%20%20%3Cg%20id%3D%22watsonx.data_-_dark1%22%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M843.1%2C189.9c0-155.8%2C126.8-282.1%2C283.1-282.1%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M843.1%2C189.9c0%2C116.9%2C95.1%2C211.6%2C212.4%2C211.6s212.4-94.7%2C212.4-211.6-95.1-211.6-212.4-211.6%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M843.1%2C189.9c0-116.9%2C95.1-211.6%2C212.4-211.6%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M843.1%2C189.9c0%2C77.9%2C63.4%2C141.1%2C141.6%2C141.1s141.6-63.2%2C141.6-141.1-63.4-141.1-141.6-141.1%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M843.1%2C189.9c0-77.9%2C63.4-141.1%2C141.6-141.1%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M843.1%2C189.9c0%2C58.4%2C47.5%2C105.8%2C106.2%2C105.8s106.2-47.4%2C106.2-105.8-47.5-105.8-106.2-105.8%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M843.1%2C189.9c0-58.4%2C47.5-105.8%2C106.2-105.8%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M843.1%2C189.9c0%2C39%2C31.7%2C70.5%2C70.8%2C70.5s70.8-31.6%2C70.8-70.5-31.7-70.5-70.8-70.5%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M843.1%2C189.9c0-39%2C31.7-70.5%2C70.8-70.5%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M843.1%2C189.9c0%2C19.5%2C15.8%2C35.3%2C35.4%2C35.3s35.4-15.8%2C35.4-35.3-15.8-35.3-35.4-35.3%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M843.1%2C189.9c0-19.5%2C15.8-35.3%2C35.4-35.3%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M843.1.4v737.6%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M780.1.4v737.6%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M717.2.4v737.6%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M654.2.4v737.6%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M717.2%2C62.8H0%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M717.3%2C311.7H0%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M843.1%2C62.8h-63.2%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M843.1%2C125.8H0%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M843.1%2C188.7H0%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M843.1%2C251.6H0%22%2F%3E%20%20%20%20%20%20%20%20%3Ccircle%20class%3D%22st2%22%20cx%3D%221126.3%22%20cy%3D%22-83.4%22%20r%3D%228.8%22%2F%3E%20%20%20%20%20%20%20%20%3Ccircle%20class%3D%22st2%22%20cx%3D%221055.5%22%20cy%3D%22-12.9%22%20r%3D%228.8%22%2F%3E%20%20%20%20%20%20%20%20%3Ccircle%20class%3D%22st2%22%20cx%3D%22984.7%22%20cy%3D%2257.6%22%20r%3D%228.8%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M949.3%2C84.1c-4.9%2C0-8.8%2C3.9-8.8%2C8.8s4%2C8.8%2C8.8%2C8.8%2C8.8-3.9%2C8.8-8.8-4-8.8-8.8-8.8Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M913.9%2C119.4c-4.9%2C0-8.8%2C3.9-8.8%2C8.8s4%2C8.8%2C8.8%2C8.8%2C8.8-3.9%2C8.8-8.8-4-8.8-8.8-8.8Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M878.5%2C154.6c-4.9%2C0-8.8%2C3.9-8.8%2C8.8s4%2C8.8%2C8.8%2C8.8%2C8.8-3.9%2C8.8-8.8-4-8.8-8.8-8.8Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st3%22%20d%3D%22M677.8%2C94.3c0%2C4.3%2C3.5%2C7.8%2C7.9%2C7.8s7.9-3.5%2C7.9-7.8-3.5-7.8-7.9-7.8-7.9%2C3.5-7.9%2C7.8Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st3%22%20d%3D%22M677.8%2C157.2c0%2C4.3%2C3.5%2C7.8%2C7.9%2C7.8s7.9-3.5%2C7.9-7.8-3.5-7.8-7.9-7.8-7.9%2C3.5-7.9%2C7.8Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st3%22%20d%3D%22M677.8%2C220.1c0%2C4.3%2C3.5%2C7.9%2C7.9%2C7.9s7.9-3.5%2C7.9-7.9-3.5-7.8-7.9-7.8-7.9%2C3.5-7.9%2C7.8Z%22%2F%3E%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%20%20%3C%2Fg%3E%3C%2Fsvg%3E\"";
|
|
9
9
|
|
|
10
10
|
export { illustration_watson_x_data_dark_03 as default };
|
|
@@ -5,6 +5,6 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
var illustration_watson_x_data_light_03 = "
|
|
8
|
+
var illustration_watson_x_data_light_03 = "export default \"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22illustrations%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20version%3D%221.1%22%20viewBox%3D%220%200%201312%20738%22%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%3Cstyle%3E%20%20%20%20%20%20.st0%2C%20.st1%20%7B%20%20%20%20%20%20%20%20fill%3A%20none%3B%20%20%20%20%20%20%7D%20%20%20%20%20%20.st2%20%7B%20%20%20%20%20%20%20%20fill%3A%20%23f6f2ff%3B%20%20%20%20%20%20%20%20stroke%3A%20%23d4bbff%3B%20%20%20%20%20%20%7D%20%20%20%20%20%20.st2%2C%20.st1%20%7B%20%20%20%20%20%20%20%20stroke-miterlimit%3A%2010%3B%20%20%20%20%20%20%7D%20%20%20%20%20%20.st3%20%7B%20%20%20%20%20%20%20%20fill%3A%20%23d9fbfb%3B%20%20%20%20%20%20%20%20stroke%3A%20%2303ddbd%3B%20%20%20%20%20%20%7D%20%20%20%20%20%20.st1%20%7B%20%20%20%20%20%20%20%20stroke%3A%20%23a6c8ff%3B%20%20%20%20%20%20%7D%20%20%20%20%20%20.st4%20%7B%20%20%20%20%20%20%20%20clip-path%3A%20url%28%23clippath%29%3B%20%20%20%20%20%20%7D%20%20%20%20%3C%2Fstyle%3E%20%20%20%20%3CclipPath%20id%3D%22clippath%22%3E%20%20%20%20%20%20%3Crect%20class%3D%22st0%22%20width%3D%221312%22%20height%3D%22738%22%2F%3E%20%20%20%20%3C%2FclipPath%3E%20%20%3C%2Fdefs%3E%20%20%3Cg%20id%3D%22watsonx.data_-_light%22%3E%20%20%20%20%3Cg%20class%3D%22st4%22%3E%20%20%20%20%20%20%3Cg%20id%3D%22watsonx.data_-_light1%22%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M843.1%2C189.9c0-155.8%2C126.8-282.1%2C283.1-282.1M843.1%2C189.9c0%2C116.9%2C95.1%2C211.6%2C212.4%2C211.6s212.4-94.7%2C212.4-211.6-95.1-211.6-212.4-211.6M843.1%2C189.9c0-116.9%2C95.1-211.6%2C212.4-211.6M843.1%2C189.9c0%2C77.9%2C63.4%2C141.1%2C141.6%2C141.1s141.6-63.2%2C141.6-141.1-63.4-141.1-141.6-141.1M843.1%2C189.9c0-77.9%2C63.4-141.1%2C141.6-141.1M843.1%2C189.9c0%2C58.4%2C47.5%2C105.8%2C106.2%2C105.8s106.2-47.4%2C106.2-105.8-47.5-105.8-106.2-105.8M843.1%2C189.9c0-58.4%2C47.5-105.8%2C106.2-105.8M843.1%2C189.9c0%2C39%2C31.7%2C70.5%2C70.8%2C70.5s70.8-31.6%2C70.8-70.5-31.7-70.5-70.8-70.5M843.1%2C189.9c0-39%2C31.7-70.5%2C70.8-70.5M843.1%2C189.9c0%2C19.5%2C15.8%2C35.3%2C35.4%2C35.3s35.4-15.8%2C35.4-35.3-15.8-35.3-35.4-35.3M843.1%2C189.9c0-19.5%2C15.8-35.3%2C35.4-35.3M1126.3-92.2c-4.9%2C0-8.8%2C3.9-8.8%2C8.8s4%2C8.8%2C8.8%2C8.8%2C8.8-3.9%2C8.8-8.8-4-8.8-8.8-8.8ZM1055.5-21.7c-4.9%2C0-8.8%2C3.9-8.8%2C8.8s4%2C8.8%2C8.8%2C8.8%2C8.8-3.9%2C8.8-8.8-4-8.8-8.8-8.8ZM984.7%2C48.8c-4.9%2C0-8.8%2C3.9-8.8%2C8.8s4%2C8.8%2C8.8%2C8.8%2C8.8-3.9%2C8.8-8.8-4-8.8-8.8-8.8ZM949.3%2C84.1c-4.9%2C0-8.8%2C3.9-8.8%2C8.8s4%2C8.8%2C8.8%2C8.8%2C8.8-3.9%2C8.8-8.8-4-8.8-8.8-8.8ZM913.9%2C119.4c-4.9%2C0-8.8%2C3.9-8.8%2C8.8s4%2C8.8%2C8.8%2C8.8%2C8.8-3.9%2C8.8-8.8-4-8.8-8.8-8.8ZM878.5%2C154.6c-4.9%2C0-8.8%2C3.9-8.8%2C8.8s4%2C8.8%2C8.8%2C8.8%2C8.8-3.9%2C8.8-8.8-4-8.8-8.8-8.8Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M843.1.4v737.6%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M780.1.4v737.6%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M717.2.4v737.6%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M654.2.4v737.6%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M717.2%2C62.8H0%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M717.3%2C311.7H0%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M843.1%2C62.8h-63.2%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M843.1%2C125.8H0%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M843.1%2C188.7H0%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M843.1%2C251.6H0%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M677.8%2C94.3c0%2C4.3%2C3.5%2C7.8%2C7.9%2C7.8s7.9-3.5%2C7.9-7.8-3.5-7.8-7.9-7.8-7.9%2C3.5-7.9%2C7.8Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M677.8%2C157.2c0%2C4.3%2C3.5%2C7.8%2C7.9%2C7.8s7.9-3.5%2C7.9-7.8-3.5-7.8-7.9-7.8-7.9%2C3.5-7.9%2C7.8Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M677.8%2C220.1c0%2C4.3%2C3.5%2C7.9%2C7.9%2C7.9s7.9-3.5%2C7.9-7.9-3.5-7.8-7.9-7.8-7.9%2C3.5-7.9%2C7.8Z%22%2F%3E%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%20%20%3C%2Fg%3E%20%20%3Cpath%20class%3D%22st3%22%20d%3D%22M285.1%2C373.2c0-3.9%2C3.2-7.1%2C7.1-7.1s7.1%2C3.2%2C7.1%2C7.1%22%2F%3E%3C%2Fsvg%3E\"";
|
|
9
9
|
|
|
10
10
|
export { illustration_watson_x_data_light_03 as default };
|
|
@@ -52,6 +52,7 @@ export interface AnimatedHeaderProps {
|
|
|
52
52
|
workspaceLabel?: string;
|
|
53
53
|
expandButtonLabel?: string;
|
|
54
54
|
collapseButtonLabel?: string;
|
|
55
|
+
tileClickHandler?: (tile: Tile) => void;
|
|
55
56
|
}
|
|
56
57
|
declare const AnimatedHeader: React.FC<AnimatedHeaderProps>;
|
|
57
58
|
export default AnimatedHeader;
|
|
@@ -37,7 +37,8 @@ const AnimatedHeader = _ref => {
|
|
|
37
37
|
welcomeText,
|
|
38
38
|
workspaceLabel = `Open in: ${userName}'s workspace` || `Select a workspace`,
|
|
39
39
|
expandButtonLabel = 'Expand',
|
|
40
|
-
collapseButtonLabel = 'Collapse'
|
|
40
|
+
collapseButtonLabel = 'Collapse',
|
|
41
|
+
tileClickHandler
|
|
41
42
|
} = _ref;
|
|
42
43
|
const prefix = usePrefix();
|
|
43
44
|
const blockClass = `${prefix}--animated-header`;
|
|
@@ -176,6 +177,7 @@ const AnimatedHeader = _ref => {
|
|
|
176
177
|
className: `${blockClass}__tiles-container`
|
|
177
178
|
}, selectedTileGroup.tiles.map(tile => {
|
|
178
179
|
return /*#__PURE__*/React.createElement(BaseTile, {
|
|
180
|
+
onClick: () => tileClickHandler?.(tile),
|
|
179
181
|
key: tile.id,
|
|
180
182
|
id: tile.id,
|
|
181
183
|
open: open,
|
|
@@ -299,7 +301,11 @@ AnimatedHeader.propTypes = {
|
|
|
299
301
|
/**
|
|
300
302
|
* Specify the default workspace label above the tiles
|
|
301
303
|
*/
|
|
302
|
-
workspaceLabel: PropTypes.string
|
|
304
|
+
workspaceLabel: PropTypes.string,
|
|
305
|
+
/**
|
|
306
|
+
* Handler for tile clicks
|
|
307
|
+
*/
|
|
308
|
+
tileClickHandler: PropTypes.func
|
|
303
309
|
};
|
|
304
310
|
|
|
305
311
|
export { AnimatedHeader as default };
|
|
@@ -21,7 +21,8 @@ const BaseTile = _ref => {
|
|
|
21
21
|
title,
|
|
22
22
|
subtitle,
|
|
23
23
|
productName,
|
|
24
|
-
customContent
|
|
24
|
+
customContent,
|
|
25
|
+
onClick
|
|
25
26
|
} = _ref;
|
|
26
27
|
const props = {
|
|
27
28
|
id,
|
|
@@ -32,7 +33,8 @@ const BaseTile = _ref => {
|
|
|
32
33
|
title,
|
|
33
34
|
subtitle,
|
|
34
35
|
productName,
|
|
35
|
-
customContent
|
|
36
|
+
customContent,
|
|
37
|
+
onClick
|
|
36
38
|
};
|
|
37
39
|
const tile = id === 'ai-tile' ? /*#__PURE__*/React.createElement(AIPromptTile, props) : /*#__PURE__*/React.createElement(GlassTile, props);
|
|
38
40
|
return tile;
|
|
@@ -21,7 +21,8 @@ const GlassTile = _ref => {
|
|
|
21
21
|
secondaryIcon,
|
|
22
22
|
subtitle,
|
|
23
23
|
title,
|
|
24
|
-
customContent
|
|
24
|
+
customContent,
|
|
25
|
+
onClick: glassTileClickHandler
|
|
25
26
|
} = _ref;
|
|
26
27
|
const prefix = usePrefix();
|
|
27
28
|
const blockClass = `${prefix}--animated-header__glass-tile`;
|
|
@@ -29,6 +30,9 @@ const GlassTile = _ref => {
|
|
|
29
30
|
const MainIcon = mainIcon ? index[mainIcon] : null;
|
|
30
31
|
const SecondaryIcon = secondaryIcon ? index[secondaryIcon] : null;
|
|
31
32
|
return /*#__PURE__*/React.createElement(Link, {
|
|
33
|
+
onClick: () => {
|
|
34
|
+
glassTileClickHandler?.();
|
|
35
|
+
},
|
|
32
36
|
className: `${prefix}--animated-header__tile ${blockClass}`,
|
|
33
37
|
key: id,
|
|
34
38
|
href: href
|
|
@@ -9,6 +9,6 @@
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
11
11
|
|
|
12
|
-
var illustration_data_fabric_dark_05 = "
|
|
12
|
+
var illustration_data_fabric_dark_05 = "export default \"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22illustrations%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20version%3D%221.1%22%20viewBox%3D%220%200%201312%20738%22%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%3Cstyle%3E%20%20%20%20%20%20.st0%2C%20.st1%20%7B%20%20%20%20%20%20%20%20fill%3A%20none%3B%20%20%20%20%20%20%7D%20%20%20%20%20%20.st1%20%7B%20%20%20%20%20%20%20%20stroke%3A%20%23003a6d%3B%20%20%20%20%20%20%20%20stroke-miterlimit%3A%2010%3B%20%20%20%20%20%20%7D%20%20%20%20%20%20.st2%20%7B%20%20%20%20%20%20%20%20fill%3A%20%23081a1c%3B%20%20%20%20%20%20%20%20stroke%3A%20%23005d5d%3B%20%20%20%20%20%20%7D%20%20%20%20%20%20.st3%20%7B%20%20%20%20%20%20%20%20clip-path%3A%20url%28%23clippath%29%3B%20%20%20%20%20%20%7D%20%20%20%20%3C%2Fstyle%3E%20%20%20%20%3CclipPath%20id%3D%22clippath%22%3E%20%20%20%20%20%20%3Crect%20class%3D%22st0%22%20width%3D%221312%22%20height%3D%22738%22%2F%3E%20%20%20%20%3C%2FclipPath%3E%20%20%3C%2Fdefs%3E%20%20%3Cg%20id%3D%22data_fabric_-_light%22%3E%20%20%20%20%3Cg%20class%3D%22st3%22%3E%20%20%20%20%20%20%3Cg%20id%3D%22data_fabric_-_light1%22%3E%20%20%20%20%20%20%20%20%3Cg%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M0%2C162.6h824%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M0%2C217.7h823.8%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M0%2C272.6h823.8%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M0%2C327.5h823.8%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M0%2C382.5h823.8%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M395.8%2C0v738%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M456.9%2C0v738%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M640.3%2C0v738%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M701.5%2C0v738%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M762.6%2C0v738%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M823.8-112.1v850.1%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M0%2C107.6h824%22%2F%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3Cg%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M1247.4%2C162.4c-84.6-131.2-242.7-219.4-423.6-219.4%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M1247.4%2C162.4C1162.8-1.6%2C1004.8-112.1%2C823.8-112.1%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M1247.4%2C162.4C1162.8%2C64.1%2C1004.7-2%2C823.8-2%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M1247.4%2C162.4c-84.6-65.5-242.8-109.5-423.6-109.5%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M1247.4%2C162.4c-84.6-32.7-242.8-54.6-423.6-54.6%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cline%20class%3D%22st1%22%20x1%3D%221247.4%22%20y1%3D%22162.4%22%20x2%3D%22823.8%22%20y2%3D%22162.6%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M1247.4%2C162.4c-84.6%2C32.9-242.7%2C55.3-423.6%2C55.3%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M1247.4%2C162.4c-84.6%2C65.7-242.7%2C110.2-423.6%2C110.2%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M1247.4%2C162.4c-84.6%2C98.5-242.7%2C165.1-423.6%2C165.1%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M1247.4%2C162.4c-84.3%2C163.6-242.7%2C275-423.6%2C275%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M1247.4%2C162.4c-84.3%2C130.8-242.8%2C220.1-423.6%2C220.1%22%2F%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M1254.4%2C162.5c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M464.1%2C107.8c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M647.5%2C107.8c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M464.1%2C162.6c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M402.9%2C162.6c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M708.6%2C162.6c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M464.1%2C217.7c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M525.2%2C217.7c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M586.3%2C217.7c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M647.5%2C217.7c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M708.6%2C217.7c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M769.8%2C162.6c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.2-3.2-7.2-7.1%2C3.2-7.1%2C7.2-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M964.8%2C162.6c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M1075.6%2C122.5c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M1167.2%2C223.7c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M1129%2C258c0%2C3.9-3.2%2C7.1-7.2%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.2%2C3.2%2C7.2%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M951.4%2C420.2c0%2C3.9-3.2%2C7.1-7.2%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.2%2C3.2%2C7.2%2C7.1Z%22%2F%3E%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%20%20%3C%2Fg%3E%3C%2Fsvg%3E\"";
|
|
13
13
|
|
|
14
14
|
exports.default = illustration_data_fabric_dark_05;
|
|
@@ -9,6 +9,6 @@
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
11
11
|
|
|
12
|
-
var illustration_data_fabric_light_04 = "
|
|
12
|
+
var illustration_data_fabric_light_04 = "export default \"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22illustrations%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20version%3D%221.1%22%20viewBox%3D%220%200%201312%20738%22%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%3Cstyle%3E%20%20%20%20%20%20.st0%2C%20.st1%20%7B%20%20%20%20%20%20%20%20fill%3A%20none%3B%20%20%20%20%20%20%7D%20%20%20%20%20%20.st1%20%7B%20%20%20%20%20%20%20%20stroke%3A%20%2382cfff%3B%20%20%20%20%20%20%20%20stroke-miterlimit%3A%2010%3B%20%20%20%20%20%20%7D%20%20%20%20%20%20.st2%2C%20.st3%20%7B%20%20%20%20%20%20%20%20fill%3A%20%23d9fbfb%3B%20%20%20%20%20%20%20%20stroke%3A%20%2303ddbd%3B%20%20%20%20%20%20%7D%20%20%20%20%20%20.st3%20%7B%20%20%20%20%20%20%20%20stroke-width%3A%201px%3B%20%20%20%20%20%20%7D%20%20%20%20%20%20.st4%20%7B%20%20%20%20%20%20%20%20clip-path%3A%20url%28%23clippath%29%3B%20%20%20%20%20%20%7D%20%20%20%20%3C%2Fstyle%3E%20%20%20%20%3CclipPath%20id%3D%22clippath%22%3E%20%20%20%20%20%20%3Crect%20class%3D%22st0%22%20width%3D%221312%22%20height%3D%22738%22%2F%3E%20%20%20%20%3C%2FclipPath%3E%20%20%3C%2Fdefs%3E%20%20%3Cg%20id%3D%22data_fabric_-_light%22%3E%20%20%20%20%3Cg%20class%3D%22st4%22%3E%20%20%20%20%20%20%3Cg%20id%3D%22data_fabric_-_light1%22%3E%20%20%20%20%20%20%20%20%3Cg%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M0%2C162.6h824%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M0%2C217.7h823.8%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M0%2C272.6h823.8%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M0%2C327.5h823.8%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M0%2C382.5h823.8%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M395.8%2C0v738%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M456.9%2C0v738%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M640.3%2C0v738%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M701.5%2C0v738%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M762.6%2C0v738%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M823.8-112.1v850.1%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M0%2C107.6h824%22%2F%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3Cg%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M1247.4%2C162.4c-84.6-131.2-242.7-219.4-423.6-219.4%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M1247.4%2C162.4C1162.8-1.6%2C1004.8-112.1%2C823.8-112.1%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M1247.4%2C162.4C1162.8%2C64.1%2C1004.7-2%2C823.8-2%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M1247.4%2C162.4c-84.6-65.5-242.8-109.5-423.6-109.5%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M1247.4%2C162.4c-84.6-32.7-242.8-54.6-423.6-54.6%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cline%20class%3D%22st1%22%20x1%3D%221247.4%22%20y1%3D%22162.4%22%20x2%3D%22823.8%22%20y2%3D%22162.6%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M1247.4%2C162.4c-84.6%2C32.9-242.7%2C55.3-423.6%2C55.3%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M1247.4%2C162.4c-84.6%2C65.7-242.7%2C110.2-423.6%2C110.2%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M1247.4%2C162.4c-84.6%2C98.5-242.7%2C165.1-423.6%2C165.1%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M1247.4%2C162.4c-84.3%2C163.6-242.7%2C275-423.6%2C275%22%2F%3E%20%20%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M1247.4%2C162.4c-84.3%2C130.8-242.8%2C220.1-423.6%2C220.1%22%2F%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st3%22%20d%3D%22M1254.4%2C162.5c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M464.1%2C107.8c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M647.5%2C107.8c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M464.1%2C162.6c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M402.9%2C162.6c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M708.6%2C162.6c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M464.1%2C217.7c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M525.2%2C217.7c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M586.3%2C217.7c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M647.5%2C217.7c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M708.6%2C217.7c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M769.8%2C162.6c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.2-3.2-7.2-7.1%2C3.2-7.1%2C7.2-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M964.8%2C162.6c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M1075.6%2C122.5c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M1167.2%2C223.7c0%2C3.9-3.2%2C7.1-7.1%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.1%2C3.2%2C7.1%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M1129%2C258c0%2C3.9-3.2%2C7.1-7.2%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.2%2C3.2%2C7.2%2C7.1Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M951.4%2C420.2c0%2C3.9-3.2%2C7.1-7.2%2C7.1s-7.1-3.2-7.1-7.1%2C3.2-7.1%2C7.1-7.1%2C7.2%2C3.2%2C7.2%2C7.1Z%22%2F%3E%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%20%20%3C%2Fg%3E%3C%2Fsvg%3E\"";
|
|
13
13
|
|
|
14
14
|
exports.default = illustration_data_fabric_light_04;
|
|
@@ -9,6 +9,6 @@
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
11
11
|
|
|
12
|
-
var illustration_watson_x_data_dark_03 = "
|
|
12
|
+
var illustration_watson_x_data_dark_03 = "export default \"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22illustrations%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20version%3D%221.1%22%20viewBox%3D%220%200%201312%20738%22%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%3Cstyle%3E%20%20%20%20%20%20.st0%2C%20.st1%2C%20.st2%20%7B%20%20%20%20%20%20%20%20fill%3A%20none%3B%20%20%20%20%20%20%7D%20%20%20%20%20%20.st1%20%7B%20%20%20%20%20%20%20%20stroke%3A%20%23003a6d%3B%20%20%20%20%20%20%20%20stroke-miterlimit%3A%2010%3B%20%20%20%20%20%20%7D%20%20%20%20%20%20.st2%2C%20.st3%20%7B%20%20%20%20%20%20%20%20stroke%3A%20%23491d8b%3B%20%20%20%20%20%20%7D%20%20%20%20%20%20.st4%20%7B%20%20%20%20%20%20%20%20clip-path%3A%20url%28%23clippath%29%3B%20%20%20%20%20%20%7D%20%20%20%20%20%20.st5%20%7B%20%20%20%20%20%20%20%20fill%3A%20%23161616%3B%20%20%20%20%20%20%7D%20%20%20%20%20%20.st3%20%7B%20%20%20%20%20%20%20%20fill%3A%20%231c0f30%3B%20%20%20%20%20%20%7D%20%20%20%20%3C%2Fstyle%3E%20%20%20%20%3CclipPath%20id%3D%22clippath%22%3E%20%20%20%20%20%20%3Crect%20class%3D%22st0%22%20width%3D%221312%22%20height%3D%22738%22%2F%3E%20%20%20%20%3C%2FclipPath%3E%20%20%3C%2Fdefs%3E%20%20%3Crect%20class%3D%22st5%22%20width%3D%221312%22%20height%3D%22738%22%2F%3E%20%20%3Cg%20id%3D%22watsonx.data_-_dark%22%3E%20%20%20%20%3Cg%20class%3D%22st4%22%3E%20%20%20%20%20%20%3Cg%20id%3D%22watsonx.data_-_dark1%22%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M843.1%2C189.9c0-155.8%2C126.8-282.1%2C283.1-282.1%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M843.1%2C189.9c0%2C116.9%2C95.1%2C211.6%2C212.4%2C211.6s212.4-94.7%2C212.4-211.6-95.1-211.6-212.4-211.6%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M843.1%2C189.9c0-116.9%2C95.1-211.6%2C212.4-211.6%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M843.1%2C189.9c0%2C77.9%2C63.4%2C141.1%2C141.6%2C141.1s141.6-63.2%2C141.6-141.1-63.4-141.1-141.6-141.1%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M843.1%2C189.9c0-77.9%2C63.4-141.1%2C141.6-141.1%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M843.1%2C189.9c0%2C58.4%2C47.5%2C105.8%2C106.2%2C105.8s106.2-47.4%2C106.2-105.8-47.5-105.8-106.2-105.8%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M843.1%2C189.9c0-58.4%2C47.5-105.8%2C106.2-105.8%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M843.1%2C189.9c0%2C39%2C31.7%2C70.5%2C70.8%2C70.5s70.8-31.6%2C70.8-70.5-31.7-70.5-70.8-70.5%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M843.1%2C189.9c0-39%2C31.7-70.5%2C70.8-70.5%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M843.1%2C189.9c0%2C19.5%2C15.8%2C35.3%2C35.4%2C35.3s35.4-15.8%2C35.4-35.3-15.8-35.3-35.4-35.3%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M843.1%2C189.9c0-19.5%2C15.8-35.3%2C35.4-35.3%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M843.1.4v737.6%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M780.1.4v737.6%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M717.2.4v737.6%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M654.2.4v737.6%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M717.2%2C62.8H0%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M717.3%2C311.7H0%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M843.1%2C62.8h-63.2%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M843.1%2C125.8H0%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M843.1%2C188.7H0%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M843.1%2C251.6H0%22%2F%3E%20%20%20%20%20%20%20%20%3Ccircle%20class%3D%22st2%22%20cx%3D%221126.3%22%20cy%3D%22-83.4%22%20r%3D%228.8%22%2F%3E%20%20%20%20%20%20%20%20%3Ccircle%20class%3D%22st2%22%20cx%3D%221055.5%22%20cy%3D%22-12.9%22%20r%3D%228.8%22%2F%3E%20%20%20%20%20%20%20%20%3Ccircle%20class%3D%22st2%22%20cx%3D%22984.7%22%20cy%3D%2257.6%22%20r%3D%228.8%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M949.3%2C84.1c-4.9%2C0-8.8%2C3.9-8.8%2C8.8s4%2C8.8%2C8.8%2C8.8%2C8.8-3.9%2C8.8-8.8-4-8.8-8.8-8.8Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M913.9%2C119.4c-4.9%2C0-8.8%2C3.9-8.8%2C8.8s4%2C8.8%2C8.8%2C8.8%2C8.8-3.9%2C8.8-8.8-4-8.8-8.8-8.8Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M878.5%2C154.6c-4.9%2C0-8.8%2C3.9-8.8%2C8.8s4%2C8.8%2C8.8%2C8.8%2C8.8-3.9%2C8.8-8.8-4-8.8-8.8-8.8Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st3%22%20d%3D%22M677.8%2C94.3c0%2C4.3%2C3.5%2C7.8%2C7.9%2C7.8s7.9-3.5%2C7.9-7.8-3.5-7.8-7.9-7.8-7.9%2C3.5-7.9%2C7.8Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st3%22%20d%3D%22M677.8%2C157.2c0%2C4.3%2C3.5%2C7.8%2C7.9%2C7.8s7.9-3.5%2C7.9-7.8-3.5-7.8-7.9-7.8-7.9%2C3.5-7.9%2C7.8Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st3%22%20d%3D%22M677.8%2C220.1c0%2C4.3%2C3.5%2C7.9%2C7.9%2C7.9s7.9-3.5%2C7.9-7.9-3.5-7.8-7.9-7.8-7.9%2C3.5-7.9%2C7.8Z%22%2F%3E%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%20%20%3C%2Fg%3E%3C%2Fsvg%3E\"";
|
|
13
13
|
|
|
14
14
|
exports.default = illustration_watson_x_data_dark_03;
|
|
@@ -9,6 +9,6 @@
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
11
11
|
|
|
12
|
-
var illustration_watson_x_data_light_03 = "
|
|
12
|
+
var illustration_watson_x_data_light_03 = "export default \"data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20id%3D%22illustrations%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20version%3D%221.1%22%20viewBox%3D%220%200%201312%20738%22%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%3Cstyle%3E%20%20%20%20%20%20.st0%2C%20.st1%20%7B%20%20%20%20%20%20%20%20fill%3A%20none%3B%20%20%20%20%20%20%7D%20%20%20%20%20%20.st2%20%7B%20%20%20%20%20%20%20%20fill%3A%20%23f6f2ff%3B%20%20%20%20%20%20%20%20stroke%3A%20%23d4bbff%3B%20%20%20%20%20%20%7D%20%20%20%20%20%20.st2%2C%20.st1%20%7B%20%20%20%20%20%20%20%20stroke-miterlimit%3A%2010%3B%20%20%20%20%20%20%7D%20%20%20%20%20%20.st3%20%7B%20%20%20%20%20%20%20%20fill%3A%20%23d9fbfb%3B%20%20%20%20%20%20%20%20stroke%3A%20%2303ddbd%3B%20%20%20%20%20%20%7D%20%20%20%20%20%20.st1%20%7B%20%20%20%20%20%20%20%20stroke%3A%20%23a6c8ff%3B%20%20%20%20%20%20%7D%20%20%20%20%20%20.st4%20%7B%20%20%20%20%20%20%20%20clip-path%3A%20url%28%23clippath%29%3B%20%20%20%20%20%20%7D%20%20%20%20%3C%2Fstyle%3E%20%20%20%20%3CclipPath%20id%3D%22clippath%22%3E%20%20%20%20%20%20%3Crect%20class%3D%22st0%22%20width%3D%221312%22%20height%3D%22738%22%2F%3E%20%20%20%20%3C%2FclipPath%3E%20%20%3C%2Fdefs%3E%20%20%3Cg%20id%3D%22watsonx.data_-_light%22%3E%20%20%20%20%3Cg%20class%3D%22st4%22%3E%20%20%20%20%20%20%3Cg%20id%3D%22watsonx.data_-_light1%22%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M843.1%2C189.9c0-155.8%2C126.8-282.1%2C283.1-282.1M843.1%2C189.9c0%2C116.9%2C95.1%2C211.6%2C212.4%2C211.6s212.4-94.7%2C212.4-211.6-95.1-211.6-212.4-211.6M843.1%2C189.9c0-116.9%2C95.1-211.6%2C212.4-211.6M843.1%2C189.9c0%2C77.9%2C63.4%2C141.1%2C141.6%2C141.1s141.6-63.2%2C141.6-141.1-63.4-141.1-141.6-141.1M843.1%2C189.9c0-77.9%2C63.4-141.1%2C141.6-141.1M843.1%2C189.9c0%2C58.4%2C47.5%2C105.8%2C106.2%2C105.8s106.2-47.4%2C106.2-105.8-47.5-105.8-106.2-105.8M843.1%2C189.9c0-58.4%2C47.5-105.8%2C106.2-105.8M843.1%2C189.9c0%2C39%2C31.7%2C70.5%2C70.8%2C70.5s70.8-31.6%2C70.8-70.5-31.7-70.5-70.8-70.5M843.1%2C189.9c0-39%2C31.7-70.5%2C70.8-70.5M843.1%2C189.9c0%2C19.5%2C15.8%2C35.3%2C35.4%2C35.3s35.4-15.8%2C35.4-35.3-15.8-35.3-35.4-35.3M843.1%2C189.9c0-19.5%2C15.8-35.3%2C35.4-35.3M1126.3-92.2c-4.9%2C0-8.8%2C3.9-8.8%2C8.8s4%2C8.8%2C8.8%2C8.8%2C8.8-3.9%2C8.8-8.8-4-8.8-8.8-8.8ZM1055.5-21.7c-4.9%2C0-8.8%2C3.9-8.8%2C8.8s4%2C8.8%2C8.8%2C8.8%2C8.8-3.9%2C8.8-8.8-4-8.8-8.8-8.8ZM984.7%2C48.8c-4.9%2C0-8.8%2C3.9-8.8%2C8.8s4%2C8.8%2C8.8%2C8.8%2C8.8-3.9%2C8.8-8.8-4-8.8-8.8-8.8ZM949.3%2C84.1c-4.9%2C0-8.8%2C3.9-8.8%2C8.8s4%2C8.8%2C8.8%2C8.8%2C8.8-3.9%2C8.8-8.8-4-8.8-8.8-8.8ZM913.9%2C119.4c-4.9%2C0-8.8%2C3.9-8.8%2C8.8s4%2C8.8%2C8.8%2C8.8%2C8.8-3.9%2C8.8-8.8-4-8.8-8.8-8.8ZM878.5%2C154.6c-4.9%2C0-8.8%2C3.9-8.8%2C8.8s4%2C8.8%2C8.8%2C8.8%2C8.8-3.9%2C8.8-8.8-4-8.8-8.8-8.8Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M843.1.4v737.6%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M780.1.4v737.6%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M717.2.4v737.6%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M654.2.4v737.6%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M717.2%2C62.8H0%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M717.3%2C311.7H0%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M843.1%2C62.8h-63.2%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M843.1%2C125.8H0%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M843.1%2C188.7H0%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st1%22%20d%3D%22M843.1%2C251.6H0%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M677.8%2C94.3c0%2C4.3%2C3.5%2C7.8%2C7.9%2C7.8s7.9-3.5%2C7.9-7.8-3.5-7.8-7.9-7.8-7.9%2C3.5-7.9%2C7.8Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M677.8%2C157.2c0%2C4.3%2C3.5%2C7.8%2C7.9%2C7.8s7.9-3.5%2C7.9-7.8-3.5-7.8-7.9-7.8-7.9%2C3.5-7.9%2C7.8Z%22%2F%3E%20%20%20%20%20%20%20%20%3Cpath%20class%3D%22st2%22%20d%3D%22M677.8%2C220.1c0%2C4.3%2C3.5%2C7.9%2C7.9%2C7.9s7.9-3.5%2C7.9-7.9-3.5-7.8-7.9-7.8-7.9%2C3.5-7.9%2C7.8Z%22%2F%3E%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%20%20%3C%2Fg%3E%20%20%3Cpath%20class%3D%22st3%22%20d%3D%22M285.1%2C373.2c0-3.9%2C3.2-7.1%2C7.1-7.1s7.1%2C3.2%2C7.1%2C7.1%22%2F%3E%3C%2Fsvg%3E\"";
|
|
13
13
|
|
|
14
14
|
exports.default = illustration_watson_x_data_light_03;
|
|
@@ -52,6 +52,7 @@ export interface AnimatedHeaderProps {
|
|
|
52
52
|
workspaceLabel?: string;
|
|
53
53
|
expandButtonLabel?: string;
|
|
54
54
|
collapseButtonLabel?: string;
|
|
55
|
+
tileClickHandler?: (tile: Tile) => void;
|
|
55
56
|
}
|
|
56
57
|
declare const AnimatedHeader: React.FC<AnimatedHeaderProps>;
|
|
57
58
|
export default AnimatedHeader;
|
|
@@ -41,7 +41,8 @@ const AnimatedHeader = _ref => {
|
|
|
41
41
|
welcomeText,
|
|
42
42
|
workspaceLabel = `Open in: ${userName}'s workspace` || `Select a workspace`,
|
|
43
43
|
expandButtonLabel = 'Expand',
|
|
44
|
-
collapseButtonLabel = 'Collapse'
|
|
44
|
+
collapseButtonLabel = 'Collapse',
|
|
45
|
+
tileClickHandler
|
|
45
46
|
} = _ref;
|
|
46
47
|
const prefix = usePrefix.usePrefix();
|
|
47
48
|
const blockClass = `${prefix}--animated-header`;
|
|
@@ -180,6 +181,7 @@ const AnimatedHeader = _ref => {
|
|
|
180
181
|
className: `${blockClass}__tiles-container`
|
|
181
182
|
}, selectedTileGroup.tiles.map(tile => {
|
|
182
183
|
return /*#__PURE__*/React.createElement(BaseTile.BaseTile, {
|
|
184
|
+
onClick: () => tileClickHandler?.(tile),
|
|
183
185
|
key: tile.id,
|
|
184
186
|
id: tile.id,
|
|
185
187
|
open: open,
|
|
@@ -303,7 +305,11 @@ AnimatedHeader.propTypes = {
|
|
|
303
305
|
/**
|
|
304
306
|
* Specify the default workspace label above the tiles
|
|
305
307
|
*/
|
|
306
|
-
workspaceLabel: PropTypes.string
|
|
308
|
+
workspaceLabel: PropTypes.string,
|
|
309
|
+
/**
|
|
310
|
+
* Handler for tile clicks
|
|
311
|
+
*/
|
|
312
|
+
tileClickHandler: PropTypes.func
|
|
307
313
|
};
|
|
308
314
|
|
|
309
315
|
exports.default = AnimatedHeader;
|
|
@@ -23,7 +23,8 @@ const BaseTile = _ref => {
|
|
|
23
23
|
title,
|
|
24
24
|
subtitle,
|
|
25
25
|
productName,
|
|
26
|
-
customContent
|
|
26
|
+
customContent,
|
|
27
|
+
onClick
|
|
27
28
|
} = _ref;
|
|
28
29
|
const props = {
|
|
29
30
|
id,
|
|
@@ -34,7 +35,8 @@ const BaseTile = _ref => {
|
|
|
34
35
|
title,
|
|
35
36
|
subtitle,
|
|
36
37
|
productName,
|
|
37
|
-
customContent
|
|
38
|
+
customContent,
|
|
39
|
+
onClick
|
|
38
40
|
};
|
|
39
41
|
const tile = id === 'ai-tile' ? /*#__PURE__*/React.createElement(AIPromptTile.AIPromptTile, props) : /*#__PURE__*/React.createElement(GlassTile.GlassTile, props);
|
|
40
42
|
return tile;
|
|
@@ -23,7 +23,8 @@ const GlassTile = _ref => {
|
|
|
23
23
|
secondaryIcon,
|
|
24
24
|
subtitle,
|
|
25
25
|
title,
|
|
26
|
-
customContent
|
|
26
|
+
customContent,
|
|
27
|
+
onClick: glassTileClickHandler
|
|
27
28
|
} = _ref;
|
|
28
29
|
const prefix = usePrefix.usePrefix();
|
|
29
30
|
const blockClass = `${prefix}--animated-header__glass-tile`;
|
|
@@ -31,6 +32,9 @@ const GlassTile = _ref => {
|
|
|
31
32
|
const MainIcon = mainIcon ? index[mainIcon] : null;
|
|
32
33
|
const SecondaryIcon = secondaryIcon ? index[secondaryIcon] : null;
|
|
33
34
|
return /*#__PURE__*/React.createElement(react.Link, {
|
|
35
|
+
onClick: () => {
|
|
36
|
+
glassTileClickHandler?.();
|
|
37
|
+
},
|
|
34
38
|
className: `${prefix}--animated-header__tile ${blockClass}`,
|
|
35
39
|
key: id,
|
|
36
40
|
href: href
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carbon-labs/react-animated-header",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"provenance": true
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@carbon-labs/utilities": "canary"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "d2ecbcb99660bd0d7c5ce5721a9ed9182e3a1a21"
|
|
49
49
|
}
|