@redgate/brand-web-toolkit 0.0.9 → 0.1.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.
Files changed (117) hide show
  1. package/components/_virtual/add-in.svg.js.map +1 -1
  2. package/components/_virtual/alert.svg.js.map +1 -1
  3. package/components/_virtual/arrow-down-circle.svg.js.map +1 -1
  4. package/components/_virtual/arrow-down.svg.js.map +1 -1
  5. package/components/_virtual/arrow-left-circle.svg.js.map +1 -1
  6. package/components/_virtual/arrow-left.svg.js.map +1 -1
  7. package/components/_virtual/arrow-right-circle.svg.js.map +1 -1
  8. package/components/_virtual/arrow-right.svg.js.map +1 -1
  9. package/components/_virtual/arrow-up-circle.svg.js.map +1 -1
  10. package/components/_virtual/arrow-up.svg.js.map +1 -1
  11. package/components/_virtual/bookmark.svg.js.map +1 -1
  12. package/components/_virtual/bookmarked.svg.js.map +1 -1
  13. package/components/_virtual/chevron-down.svg.js.map +1 -1
  14. package/components/_virtual/chevron-left.svg.js.map +1 -1
  15. package/components/_virtual/chevron-right.svg.js.map +1 -1
  16. package/components/_virtual/chevron-up.svg.js.map +1 -1
  17. package/components/_virtual/clock.svg.js.map +1 -1
  18. package/components/_virtual/close-circle.svg.js.map +1 -1
  19. package/components/_virtual/cloud-database.svg.js.map +1 -1
  20. package/components/_virtual/cloud-server.svg.js.map +1 -1
  21. package/components/_virtual/cloud.svg.js.map +1 -1
  22. package/components/_virtual/comparison-sdk.svg.js.map +1 -1
  23. package/components/_virtual/copy.svg.js.map +1 -1
  24. package/components/_virtual/data-compare-for-oracle.svg.js.map +1 -1
  25. package/components/_virtual/database-copy.svg.js.map +1 -1
  26. package/components/_virtual/database-image.svg.js.map +1 -1
  27. package/components/_virtual/database.svg.js.map +1 -1
  28. package/components/_virtual/databases.svg.js.map +1 -1
  29. package/components/_virtual/dlm-automation.svg.js.map +1 -1
  30. package/components/_virtual/dlm-dashboard.svg.js.map +1 -1
  31. package/components/_virtual/doc.svg.js.map +1 -1
  32. package/components/_virtual/dots-horizontal.svg.js.map +1 -1
  33. package/components/_virtual/dots-vertical.svg.js.map +1 -1
  34. package/components/_virtual/download.svg.js.map +1 -1
  35. package/components/_virtual/edit.svg.js.map +1 -1
  36. package/components/_virtual/expand.svg.js.map +1 -1
  37. package/components/_virtual/export.svg.js.map +1 -1
  38. package/components/_virtual/flag.svg.js.map +1 -1
  39. package/components/_virtual/flyway.svg.js.map +1 -1
  40. package/components/_virtual/globe.svg.js.map +1 -1
  41. package/components/_virtual/home.svg.js.map +1 -1
  42. package/components/_virtual/import.svg.js.map +1 -1
  43. package/components/_virtual/instance.svg.js.map +1 -1
  44. package/components/_virtual/link-external.svg.js.map +1 -1
  45. package/components/_virtual/log-in.svg.js.map +1 -1
  46. package/components/_virtual/log-out.svg.js.map +1 -1
  47. package/components/_virtual/map.svg.js.map +1 -1
  48. package/components/_virtual/minus-circle.svg.js.map +1 -1
  49. package/components/_virtual/minus.svg.js.map +1 -1
  50. package/components/_virtual/play-circle.svg.js.map +1 -1
  51. package/components/_virtual/play-video.svg.js.map +1 -1
  52. package/components/_virtual/play.svg.js.map +1 -1
  53. package/components/_virtual/plus-circle.svg.js.map +1 -1
  54. package/components/_virtual/plus.svg.js.map +1 -1
  55. package/components/_virtual/readyroll.svg.js.map +1 -1
  56. package/components/_virtual/redgate-monitor.svg.js.map +1 -1
  57. package/components/_virtual/redgate-pgcompare.svg.js.map +1 -1
  58. package/components/_virtual/redgate-pgnow.svg.js.map +1 -1
  59. package/components/_virtual/redgate-test-data-manager.svg.js.map +1 -1
  60. package/components/_virtual/redgate_assistant.svg.js.map +1 -1
  61. package/components/_virtual/redgate_data_modeler.svg.js.map +1 -1
  62. package/components/_virtual/rss.svg.js.map +1 -1
  63. package/components/_virtual/schema-compare-for-mysql.svg.js.map +1 -1
  64. package/components/_virtual/schema-compare-for-oracle.svg.js.map +1 -1
  65. package/components/_virtual/search.svg.js.map +1 -1
  66. package/components/_virtual/server-cluster.svg.js.map +1 -1
  67. package/components/_virtual/server.svg.js.map +1 -1
  68. package/components/_virtual/share.svg.js.map +1 -1
  69. package/components/_virtual/shopping-cart.svg.js.map +1 -1
  70. package/components/_virtual/source-control-for-oracle.svg.js.map +1 -1
  71. package/components/_virtual/sql-backup.svg.js.map +1 -1
  72. package/components/_virtual/sql-change-automation.svg.js.map +1 -1
  73. package/components/_virtual/sql-clone.svg.js.map +1 -1
  74. package/components/_virtual/sql-code-guard.svg.js.map +1 -1
  75. package/components/_virtual/sql-compare.svg.js.map +1 -1
  76. package/components/_virtual/sql-data-catalog.svg.js.map +1 -1
  77. package/components/_virtual/sql-data-compare.svg.js.map +1 -1
  78. package/components/_virtual/sql-data-generator.svg.js.map +1 -1
  79. package/components/_virtual/sql-data-masker.svg.js.map +1 -1
  80. package/components/_virtual/sql-dependency-tracker.svg.js.map +1 -1
  81. package/components/_virtual/sql-doc.svg.js.map +1 -1
  82. package/components/_virtual/sql-estate-manager.svg.js.map +1 -1
  83. package/components/_virtual/sql-index-manager.svg.js.map +1 -1
  84. package/components/_virtual/sql-multi-script.svg.js.map +1 -1
  85. package/components/_virtual/sql-prompt.svg.js.map +1 -1
  86. package/components/_virtual/sql-scripts-manager.svg.js.map +1 -1
  87. package/components/_virtual/sql-search.svg.js.map +1 -1
  88. package/components/_virtual/sql-source-control.svg.js.map +1 -1
  89. package/components/_virtual/sql-test.svg.js.map +1 -1
  90. package/components/_virtual/sql-toolbelt.svg.js.map +1 -1
  91. package/components/_virtual/stop.svg.js.map +1 -1
  92. package/components/_virtual/table-expand-large.svg.js.map +1 -1
  93. package/components/_virtual/table-expand-medium.svg.js.map +1 -1
  94. package/components/_virtual/table-expand-small.svg.js.map +1 -1
  95. package/components/_virtual/tag.svg.js.map +1 -1
  96. package/components/_virtual/tick-circle.svg.js.map +1 -1
  97. package/components/_virtual/tick.svg.js.map +1 -1
  98. package/components/_virtual/user.svg.js.map +1 -1
  99. package/components/_virtual/verified-tick-badge.svg.js.map +1 -1
  100. package/components/button/Button.d.ts +1 -1
  101. package/components/button/Button.js.map +1 -1
  102. package/components/icons/Icon.d.ts +1 -1
  103. package/components/icons/Icon.js.map +1 -1
  104. package/components/icons/Icons.d.ts +64 -64
  105. package/components/icons/Icons.js.map +1 -1
  106. package/components/icons/ProductIcon.d.ts +1 -1
  107. package/components/icons/ProductIcon.js.map +1 -1
  108. package/components/icons/ProductIcons.d.ts +35 -35
  109. package/components/icons/ProductIcons.js.map +1 -1
  110. package/components/notification/Notification.d.ts +4 -2
  111. package/components/notification/Notification.js +2 -2
  112. package/components/notification/Notification.js.map +1 -1
  113. package/components/testing/Test.d.ts +1 -1
  114. package/package.json +1 -1
  115. package/tailwindcss/pass.css +196 -217
  116. package/tailwindcss/redgate.css +196 -217
  117. package/tailwindcss/sql-server-central.css +196 -217
@@ -1 +1 @@
1
- {"version":3,"file":"add-in.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"add-in.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"alert.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"alert.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"arrow-down-circle.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"arrow-down-circle.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"arrow-down.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"arrow-down.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"arrow-left-circle.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"arrow-left-circle.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"arrow-left.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"arrow-left.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"arrow-right-circle.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"arrow-right-circle.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"arrow-right.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"arrow-right.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"arrow-up-circle.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"arrow-up-circle.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"arrow-up.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"arrow-up.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"bookmark.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"bookmark.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"bookmarked.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"bookmarked.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"chevron-down.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"chevron-down.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"chevron-left.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"chevron-left.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"chevron-right.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"chevron-right.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"chevron-up.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"chevron-up.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"clock.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"clock.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"close-circle.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"close-circle.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"cloud-database.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"cloud-database.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"cloud-server.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"cloud-server.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"cloud.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"cloud.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"comparison-sdk.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"comparison-sdk.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"copy.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"copy.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"data-compare-for-oracle.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"data-compare-for-oracle.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"database-copy.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"database-copy.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"database-image.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"database-image.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"database.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"database.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"databases.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"databases.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"dlm-automation.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"dlm-automation.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"dlm-dashboard.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"dlm-dashboard.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"doc.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"doc.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"dots-horizontal.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"dots-horizontal.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"dots-vertical.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"dots-vertical.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"download.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"download.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"edit.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"edit.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"expand.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"expand.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"export.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"export.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"flag.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"flag.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"flyway.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"flyway.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"globe.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"globe.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"home.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"home.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"import.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"import.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"instance.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"instance.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"link-external.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"link-external.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"log-in.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"log-in.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"log-out.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"log-out.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"map.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"map.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"minus-circle.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"minus-circle.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"minus.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"minus.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"play-circle.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"play-circle.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"play-video.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"play-video.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"play.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"play.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"plus-circle.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"plus-circle.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"plus.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"plus.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"readyroll.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"readyroll.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"redgate-monitor.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"redgate-monitor.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"redgate-pgcompare.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"redgate-pgcompare.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"redgate-pgnow.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"redgate-pgnow.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"redgate-test-data-manager.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"redgate-test-data-manager.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"redgate_assistant.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"redgate_assistant.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"redgate_data_modeler.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"redgate_data_modeler.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"rss.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"rss.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"schema-compare-for-mysql.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"schema-compare-for-mysql.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"schema-compare-for-oracle.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"schema-compare-for-oracle.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"search.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"search.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"server-cluster.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"server-cluster.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"server.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"server.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"share.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"share.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"shopping-cart.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"shopping-cart.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"source-control-for-oracle.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"source-control-for-oracle.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"sql-backup.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"sql-backup.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"sql-change-automation.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"sql-change-automation.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"sql-clone.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"sql-clone.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"sql-code-guard.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"sql-code-guard.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"sql-compare.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"sql-compare.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"sql-data-catalog.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"sql-data-catalog.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"sql-data-compare.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"sql-data-compare.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"sql-data-generator.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"sql-data-generator.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"sql-data-masker.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"sql-data-masker.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"sql-dependency-tracker.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"sql-dependency-tracker.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"sql-doc.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"sql-doc.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"sql-estate-manager.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"sql-estate-manager.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"sql-index-manager.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"sql-index-manager.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"sql-multi-script.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"sql-multi-script.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"sql-prompt.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"sql-prompt.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"sql-scripts-manager.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"sql-scripts-manager.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"sql-search.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"sql-search.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"sql-source-control.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"sql-source-control.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"sql-test.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"sql-test.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"sql-toolbelt.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"sql-toolbelt.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"stop.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"stop.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"table-expand-large.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"table-expand-large.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"table-expand-medium.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"table-expand-medium.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"table-expand-small.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"table-expand-small.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"tag.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"tag.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"tick-circle.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"tick-circle.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"tick.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"tick.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"user.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"user.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"verified-tick-badge.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"verified-tick-badge.svg.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -19,4 +19,4 @@ export type IButton = {
19
19
  };
20
20
  onClick?: (e: React.MouseEvent<HTMLButtonElement | HTMLAnchorElement, MouseEvent>) => void;
21
21
  };
22
- export default function Button({ hierarchy, label, icon, type, disabled, size, href, onClick, }: IButton): import("react/jsx-runtime").JSX.Element;
22
+ export default function Button({ hierarchy, label, icon, type, disabled, size, href, onClick, }: IButton): import("react").JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"Button.js","sources":["../../../../components/button/Button.tsx"],"sourcesContent":["import type { ReactNode } from 'react';\nimport Icon, { IIcon } from '../icons/Icon';\n\nexport type IButtonHierarchy =\n | 'primary'\n | 'secondary'\n | 'tertiary'\n | 'transparent';\n\nexport type IButton = {\n hierarchy?: IButtonHierarchy;\n label: string;\n size?: 'xl';\n type?: 'button' | 'reset' | 'submit' | 'link';\n href?: string;\n disabled?: boolean;\n icon?: {\n leading?: {\n icon: IIcon['icon'];\n size?: IIcon['size'];\n };\n trailing?: {\n icon: IIcon['icon'];\n size?: IIcon['size'];\n };\n };\n onClick?: (\n e: React.MouseEvent<HTMLButtonElement | HTMLAnchorElement, MouseEvent>,\n ) => void;\n};\n\nconst classNames = [\n 'inline-flex',\n 'items-center',\n 'justify-center',\n 'gap-sm',\n 'overflow-clip',\n 'text-md',\n 'font-semibold',\n 'rounded-button-default',\n 'cursor-pointer',\n\n 'disabled:opacity-50',\n 'disabled:cursor-not-allowed',\n];\n\nconst hierarchyStyles: Record<IButtonHierarchy, string[]> = {\n primary: [\n 'bg-bg-accent-strongest-alt',\n 'text-text-primary_on-accent-strongest-alt',\n 'hover:bg-bg-accent-strongest-alt_hover',\n 'disabled:bg-bg-accent-strongest',\n 'disabled:text-text-primary_on-accent-strongest-alt',\n ],\n secondary: [\n 'bg-bg-primary',\n 'inset-ring-2',\n 'inset-ring-border-accent',\n 'text-text-secondary',\n 'hover:bg-bg-primary_hover',\n 'hover:text-text-secondary_hover',\n 'disabled:bg-bg-primary',\n 'disabled:inset-ring-2',\n 'disabled:inset-ring-border-primary',\n 'disabled:text-text-secondary',\n ],\n tertiary: [\n 'bg-bg-primary',\n 'inset-ring-1',\n 'inset-ring-border-accent',\n 'text-text-secondary',\n 'hover:bg-bg-primary_hover',\n 'hover:text-text-secondary_hover',\n 'disabled:bg-bg-primary',\n 'disabled:inset-ring-1',\n 'disabled:inset-ring-border-primary',\n 'disabled:text-text-secondary',\n ],\n transparent: [\n 'text-text-tertiary',\n 'hover:bg-bg-primary_hover',\n 'hover:text-text-tertiary_hover',\n 'disabled:text-text-tertiary',\n ],\n};\n\nconst sizingStyles: Record<NonNullable<IButton['size']>, string[]> = {\n xl: ['px-xl', 'py-lg'],\n};\n\nfunction ButtonWrapper({\n type,\n href,\n disabled,\n className,\n onClick,\n children,\n}: {\n type: IButton['type'];\n href?: IButton['href'];\n disabled: IButton['disabled'];\n className: string;\n onClick: IButton['onClick'];\n children: ReactNode;\n}) {\n const props =\n type === 'link'\n ? {\n href,\n className,\n onClick,\n }\n : {\n type,\n disabled,\n className,\n onClick,\n };\n\n return type === 'link' ? (\n <a {...props}>{children}</a>\n ) : (\n <button {...props}>{children}</button>\n );\n}\n\nexport default function Button({\n hierarchy = 'primary',\n label,\n icon,\n type = 'button',\n disabled = false,\n size = 'xl',\n href,\n onClick,\n}: IButton) {\n const defaultIconSize = 20;\n const styles = hierarchyStyles[hierarchy];\n const sizeStyles = sizingStyles[size];\n\n let className = [...classNames, ...styles, ...sizeStyles].join(' ');\n\n // Disable links if set to disabled.\n if (disabled && type === 'link') {\n className = className + ' pointer-events-none';\n }\n\n return (\n <ButtonWrapper\n type={type}\n href={href}\n disabled={disabled}\n className={className}\n onClick={onClick}\n >\n {icon?.leading?.icon && (\n <Icon\n icon={icon.leading.icon}\n size={icon?.leading?.size || defaultIconSize}\n />\n )}\n {<span>{label}</span>}\n {icon?.trailing?.icon && (\n <Icon\n icon={icon.trailing.icon}\n size={icon?.trailing?.size || defaultIconSize}\n />\n )}\n </ButtonWrapper>\n );\n}\n"],"names":["_jsx","_jsxs"],"mappings":"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"}
1
+ {"version":3,"file":"Button.js","sources":["../../../../components/button/Button.tsx"],"sourcesContent":["import type { ReactNode } from 'react';\nimport Icon, { IIcon } from '../icons/Icon';\n\nexport type IButtonHierarchy =\n | 'primary'\n | 'secondary'\n | 'tertiary'\n | 'transparent';\n\nexport type IButton = {\n hierarchy?: IButtonHierarchy;\n label: string;\n size?: 'xl';\n type?: 'button' | 'reset' | 'submit' | 'link';\n href?: string;\n disabled?: boolean;\n icon?: {\n leading?: {\n icon: IIcon['icon'];\n size?: IIcon['size'];\n };\n trailing?: {\n icon: IIcon['icon'];\n size?: IIcon['size'];\n };\n };\n onClick?: (\n e: React.MouseEvent<HTMLButtonElement | HTMLAnchorElement, MouseEvent>,\n ) => void;\n};\n\nconst classNames = [\n 'inline-flex',\n 'items-center',\n 'justify-center',\n 'gap-sm',\n 'overflow-clip',\n 'text-md',\n 'font-semibold',\n 'rounded-button-default',\n 'cursor-pointer',\n\n 'disabled:opacity-50',\n 'disabled:cursor-not-allowed',\n];\n\nconst hierarchyStyles: Record<IButtonHierarchy, string[]> = {\n primary: [\n 'bg-bg-accent-strongest-alt',\n 'text-text-primary_on-accent-strongest-alt',\n 'hover:bg-bg-accent-strongest-alt_hover',\n 'disabled:bg-bg-accent-strongest',\n 'disabled:text-text-primary_on-accent-strongest-alt',\n ],\n secondary: [\n 'bg-bg-primary',\n 'inset-ring-2',\n 'inset-ring-border-accent',\n 'text-text-secondary',\n 'hover:bg-bg-primary_hover',\n 'hover:text-text-secondary_hover',\n 'disabled:bg-bg-primary',\n 'disabled:inset-ring-2',\n 'disabled:inset-ring-border-primary',\n 'disabled:text-text-secondary',\n ],\n tertiary: [\n 'bg-bg-primary',\n 'inset-ring-1',\n 'inset-ring-border-accent',\n 'text-text-secondary',\n 'hover:bg-bg-primary_hover',\n 'hover:text-text-secondary_hover',\n 'disabled:bg-bg-primary',\n 'disabled:inset-ring-1',\n 'disabled:inset-ring-border-primary',\n 'disabled:text-text-secondary',\n ],\n transparent: [\n 'text-text-tertiary',\n 'hover:bg-bg-primary_hover',\n 'hover:text-text-tertiary_hover',\n 'disabled:text-text-tertiary',\n ],\n};\n\nconst sizingStyles: Record<NonNullable<IButton['size']>, string[]> = {\n xl: ['px-xl', 'py-lg'],\n};\n\nfunction ButtonWrapper({\n type,\n href,\n disabled,\n className,\n onClick,\n children,\n}: {\n type: IButton['type'];\n href?: IButton['href'];\n disabled: IButton['disabled'];\n className: string;\n onClick: IButton['onClick'];\n children: ReactNode;\n}) {\n const props =\n type === 'link'\n ? {\n href,\n className,\n onClick,\n }\n : {\n type,\n disabled,\n className,\n onClick,\n };\n\n return type === 'link' ? (\n <a {...props}>{children}</a>\n ) : (\n <button {...props}>{children}</button>\n );\n}\n\nexport default function Button({\n hierarchy = 'primary',\n label,\n icon,\n type = 'button',\n disabled = false,\n size = 'xl',\n href,\n onClick,\n}: IButton) {\n const defaultIconSize = 20;\n const styles = hierarchyStyles[hierarchy];\n const sizeStyles = sizingStyles[size];\n\n let className = [...classNames, ...styles, ...sizeStyles].join(' ');\n\n // Disable links if set to disabled.\n if (disabled && type === 'link') {\n className = className + ' pointer-events-none';\n }\n\n return (\n <ButtonWrapper\n type={type}\n href={href}\n disabled={disabled}\n className={className}\n onClick={onClick}\n >\n {icon?.leading?.icon && (\n <Icon\n icon={icon.leading.icon}\n size={icon?.leading?.size || defaultIconSize}\n />\n )}\n {<span>{label}</span>}\n {icon?.trailing?.icon && (\n <Icon\n icon={icon.trailing.icon}\n size={icon?.trailing?.size || defaultIconSize}\n />\n )}\n </ButtonWrapper>\n );\n}\n"],"names":["_jsx","_jsxs"],"mappings":"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"}
@@ -20,4 +20,4 @@ export type IIconSvg = {
20
20
  export declare const defaults: {
21
21
  size: string;
22
22
  };
23
- export default function Icon(props: IIcon): import("react/jsx-runtime").JSX.Element | undefined;
23
+ export default function Icon(props: IIcon): import("react").JSX.Element | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"Icon.js","sources":["../../../../components/icons/Icon.tsx"],"sourcesContent":["import Icons from './Icons';\n\nexport type IIcon = {\n icon: keyof typeof Icons;\n size?: number | string;\n /**\n * Label is the accessible name for the icon. Only pass this when the icon is used\n * on its own (e.g. an icon-only button/link) and needs to convey\n * meaning to assistive tech.\n */\n label?: string;\n};\n\nexport type IIconSvg = {\n width: number | string;\n height: number | string;\n role?: string;\n 'aria-label'?: string;\n 'aria-hidden'?: boolean;\n focusable?: boolean;\n};\n\nexport const defaults = {\n size: '100%',\n};\n\nexport default function Icon(props: IIcon) {\n if (!props.icon) return;\n\n // Filter out any empty or blank values from props, so that defaults are\n // applied.\n const filteredProps = Object.entries(props).reduce<Partial<IIcon>>(\n (a, [k, v]) => (v !== '' && v !== null ? ((a as any)[k] = v, a) : a),\n {},\n );\n\n const p: Partial<IIcon> = { ...defaults, ...filteredProps };\n\n // Map the props to SVG props.\n const svgProps: IIconSvg = {\n width: p.size ?? defaults.size,\n height: p.size ?? defaults.size,\n ...(p.label\n ? { role: 'img', 'aria-label': p.label }\n : { 'aria-hidden': true, focusable: false }),\n };\n\n return Icons[props.icon](svgProps);\n}\n"],"names":[],"mappings":";;AAsBO,MAAM,QAAQ,GAAG;AACpB,IAAA,IAAI,EAAE,MAAM;;AAGF,SAAU,IAAI,CAAC,KAAY,EAAA;IACrC,IAAI,CAAC,KAAK,CAAC,IAAI;QAAE;;;IAIjB,MAAM,aAAa,GAAG,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,MAAM,CAC9C,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,KAAK,IAAI,IAAK,CAAS,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,EACpE,EAAE,CACL;IAED,MAAM,CAAC,GAAmB,EAAE,GAAG,QAAQ,EAAE,GAAG,aAAa,EAAE;;AAG3D,IAAA,MAAM,QAAQ,GAAa;AACvB,QAAA,KAAK,EAAE,CAAC,CAAC,IAAI,IAAI,QAAQ,CAAC,IAAI;AAC9B,QAAA,MAAM,EAAE,CAAC,CAAC,IAAI,IAAI,QAAQ,CAAC,IAAI;QAC/B,IAAI,CAAC,CAAC;cACA,EAAE,IAAI,EAAE,KAAK,EAAE,YAAY,EAAE,CAAC,CAAC,KAAK;cACpC,EAAE,aAAa,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;KACnD;IAED,OAAO,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC;AACtC;;;;"}
1
+ {"version":3,"file":"Icon.js","sources":["../../../../components/icons/Icon.tsx"],"sourcesContent":["import Icons from './Icons';\n\nexport type IIcon = {\n icon: keyof typeof Icons;\n size?: number | string;\n /**\n * Label is the accessible name for the icon. Only pass this when the icon is used\n * on its own (e.g. an icon-only button/link) and needs to convey\n * meaning to assistive tech.\n */\n label?: string;\n};\n\nexport type IIconSvg = {\n width: number | string;\n height: number | string;\n role?: string;\n 'aria-label'?: string;\n 'aria-hidden'?: boolean;\n focusable?: boolean;\n};\n\nexport const defaults = {\n size: '100%',\n};\n\nexport default function Icon(props: IIcon) {\n if (!props.icon) return;\n\n // Filter out any empty or blank values from props, so that defaults are\n // applied.\n const filteredProps = Object.entries(props).reduce<Partial<IIcon>>(\n (a, [k, v]) => (v !== '' && v !== null ? ((a as any)[k] = v, a) : a),\n {},\n );\n\n const p: Partial<IIcon> = { ...defaults, ...filteredProps };\n\n // Map the props to SVG props.\n const svgProps: IIconSvg = {\n width: p.size ?? defaults.size,\n height: p.size ?? defaults.size,\n ...(p.label\n ? { role: 'img', 'aria-label': p.label }\n : { 'aria-hidden': true, focusable: false }),\n };\n\n return Icons[props.icon](svgProps);\n}\n"],"names":[],"mappings":";;AAsBO,MAAM,QAAQ,GAAG;AACpB,IAAA,IAAI,EAAE,MAAM;;AAGF,SAAU,IAAI,CAAC,KAAY,EAAA;IACrC,IAAI,CAAC,KAAK,CAAC,IAAI;QAAE;;;IAIjB,MAAM,aAAa,GAAG,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,MAAM,CAC9C,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,KAAK,IAAI,IAAK,CAAS,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,EACpE,EAAE,CACL;IAED,MAAM,CAAC,GAAmB,EAAE,GAAG,QAAQ,EAAE,GAAG,aAAa,EAAE;;AAG3D,IAAA,MAAM,QAAQ,GAAa;AACvB,QAAA,KAAK,EAAE,CAAC,CAAC,IAAI,IAAI,QAAQ,CAAC,IAAI;AAC9B,QAAA,MAAM,EAAE,CAAC,CAAC,IAAI,IAAI,QAAQ,CAAC,IAAI;QAC/B,IAAI,CAAC,CAAC;cACA,EAAE,IAAI,EAAE,KAAK,EAAE,YAAY,EAAE,CAAC,CAAC,KAAK;cACpC,EAAE,aAAa,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC;KACnD;IAED,OAAO,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC;AACtC;;"}