From dcd4af63a5ca681293a14d8d3ca6608b6b8e861d Mon Sep 17 00:00:00 2001 From: Alex Barnsley <8069294+alexbarnsley@users.noreply.github.com> Date: Wed, 11 Dec 2024 11:09:42 +0000 Subject: [PATCH] refactor: info component allow html tooltip content (#633) --- icons.html | 6 +++--- .../views/components/blog/filter-dropdown.blade.php | 3 +-- resources/views/docs/sidebar-link.blade.php | 6 ++---- resources/views/info.blade.php | 8 +++++++- resources/views/pages/documentation.blade.php | 3 +-- resources/views/sidebar-link.blade.php | 6 ++---- resources/views/simple-filter-dropdown.blade.php | 9 +++------ 7 files changed, 19 insertions(+), 22 deletions(-) diff --git a/icons.html b/icons.html index 9770d8aa5..6a57ecee1 100644 --- a/icons.html +++ b/icons.html @@ -6,9 +6,9 @@ brands/solid/facebook
brands/solid/github
brands/solid/lbry
brands/solid/linkedin
brands/solid/reddit
brands/solid/slack
brands/solid/telegram
brands/solid/twitter
-brands/solid/youtube
brands/telegram
brands/tiktok
brands/twitter
brands/weibo
brands/windows
brands/x
brands/youtube-shorts-outline
brands/youtube-shorts
brands/youtube
calendar-without-dots
calendar
cards
categories
category
chain
chart-pie
check-mark-bold
check-mark-box
check-mark-small
check-mark
circle/arrow-down
circle/check-mark-big
circle/check-mark-pencil
circle/check-mark
circle/clock-big
circle/cross-big
circle/cross
circle/exclamation-mark-big
circle/exclamation-mark
circle/forward-big
circle/forward
circle/hand-big
circle/hand
circle/info
circle/lock
circle/min
circle/open-plus-inside
circle/open-plus-outside
circle/pause-big
circle/pause
circle/play-big
circle/play
circle/plus
circle/question-mark-big
circle/question-mark
+brands/solid/youtube
brands/telegram
brands/tiktok
brands/twitter
brands/weibo
brands/windows
brands/x
brands/youtube-shorts-outline
brands/youtube-shorts
brands/youtube
calendar-without-dots
calendar
cards
categories
category
chain
chart-pie
check-mark-bold
check-mark-box
check-mark-small
check-mark
circle/arrow-down
circle/check-mark-big
circle/check-mark-pencil
circle/check-mark
circle/clock-big
circle/cross-big
circle/cross
circle/exclamation-mark-big
circle/exclamation-mark
circle/forward-big
circle/forward
circle/hand-big
circle/hand
circle/info
circle/lock
circle/min
circle/open-plus-inside
circle/open-plus-outside
circle/pause-big
circle/pause
circle/play-big
circle/play
circle/plus
circle/question-mark-big
circle/question-mark
circle/search
circle/shopping-cart-pointer
-circle/spinner
circle/stop-big
circle/stop
circle/update
clock-ban
clock-pencil
clock
cloud-arrow-up
cloud
code
coins-stack
connection
controller
copy-key
copy
core
credit-card
cross-small
cross
dash
developer-tools
dollar-sign
double-check-mark
+circle/spinner
circle/stop-big
circle/stop
circle/update
clock-ban
clock-pencil
clock
cloud-arrow-up
cloud
code
coins-stack
connection
controller
copy-key
copy
core
credit-card
cross-small
cross
dash
developer-tools
dollar-sign
double-check-mark
drag
ellipsis-vertical
enter
envelope
exchanges
exclamation-mark-small
exit
explorer
eye-slash
eye
fat-arrow-right
file-coins
file-colored
file-dw
file-dwe
file-js
file-json
file-key
file-lines
file
filter
fire
flag
folder-home
forward
gear
gem
globe-line
globe-pointer
globe-wallet
globe
glossary
governance
grid-menu
grid
H1
H2
H3
H4
H5
H6
hammer
hand-point-up
hand-swipe
hand-touch
hand
hands-holding-document
hard-drive
hash
health-fitness
hint-small
id
identity
@@ -27,4 +27,4 @@ social-media-twitter
social-media
social-music-podcast
social-video-youtube-clip
square-expand
square-play
square-plus
square-return-arrow
square-shrink
star-filled
star
stars
stop
storage
sun
-table
text-bold
text-italic
text-strike-through
text-underline
thumbs-down
thumbs-up
transaction/blockchain-registration
transaction/business-registration
transaction/delegate-registration
transaction/delegate-resignation
transaction/ipfs
transaction/magistrate
transaction/module-registration
transaction/multipayment
transaction/multisignature
transaction/plugin-registration
transaction/product-registration
transaction/received
transaction/return
transaction/second-signature
transaction/sent
transaction/timelock
transaction/transfer
transaction/unknown-transaction
transaction/unvote
transaction/vote-combination
trash
tutorials
type
unban
underline-location
underline-moon
underline-sun
user-arrows
user-check-mark
user-pencil
user-share
user
users
verified-checkmark
video
wallet-desktop
wallet-mobile
wallet
wave-pulse
\ No newline at end of file +table
text-bold
text-italic
text-strike-through
text-underline
thumbs-down
thumbs-up
transaction/blockchain-registration
transaction/business-registration
transaction/contract
transaction/delegate-registration
transaction/delegate-resignation
transaction/ipfs
transaction/magistrate
transaction/module-registration
transaction/multipayment
transaction/multisignature
transaction/plugin-registration
transaction/product-registration
transaction/received
transaction/return
transaction/second-signature
transaction/sent
transaction/timelock
transaction/transfer
transaction/unknown-transaction
transaction/unvote
transaction/vote-combination
trash
tutorials
type
unban
underline-location
underline-moon
underline-sun
user-arrows
user-check-mark
user-pencil
user-share
user
users
verified-checkmark
video
wallet-desktop
wallet-mobile
wallet
wave-pulse
\ No newline at end of file diff --git a/resources/views/components/blog/filter-dropdown.blade.php b/resources/views/components/blog/filter-dropdown.blade.php index 28e29a138..be15409b5 100644 --- a/resources/views/components/blog/filter-dropdown.blade.php +++ b/resources/views/components/blog/filter-dropdown.blade.php @@ -19,8 +19,7 @@ ! $disabled, 'text-theme-secondary-500 cursor-default' => $disabled, ])" diff --git a/resources/views/docs/sidebar-link.blade.php b/resources/views/docs/sidebar-link.blade.php index 1f03f2b64..dbe3d1bb1 100644 --- a/resources/views/docs/sidebar-link.blade.php +++ b/resources/views/docs/sidebar-link.blade.php @@ -21,8 +21,7 @@ @if ($topBorder)
$onDocs, ])" /> @@ -48,8 +47,7 @@ @unless ($borderless)
$onDocs, ])" /> diff --git a/resources/views/info.blade.php b/resources/views/info.blade.php index b243823ab..3a944e89a 100644 --- a/resources/views/info.blade.php +++ b/resources/views/info.blade.php @@ -1,12 +1,18 @@ @props([ 'class' => '', 'tooltip' => '', + 'htmlTooltip' => null, 'type' => 'question', 'large' => false ])
true, ]) - $compact, 'pt-10 md:pt-12' => ! $compact, ])"> diff --git a/resources/views/sidebar-link.blade.php b/resources/views/sidebar-link.blade.php index 5439e3c5b..14d093341 100644 --- a/resources/views/sidebar-link.blade.php +++ b/resources/views/sidebar-link.blade.php @@ -50,8 +50,7 @@ @if ($icon && $iconAlignment === 'left') $isCurrent || $active, $iconColors => ! $isCurrent || $active, ])" @@ -63,8 +62,7 @@ @if ($icon && $iconAlignment === 'right') $isCurrent || $active, $iconColors => ! $isCurrent || $active, ])" diff --git a/resources/views/simple-filter-dropdown.blade.php b/resources/views/simple-filter-dropdown.blade.php index 0cce71e11..5fc4ba332 100644 --- a/resources/views/simple-filter-dropdown.blade.php +++ b/resources/views/simple-filter-dropdown.blade.php @@ -11,16 +11,13 @@ ])