polaris_view_components 1.0.1 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (602) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/icons/polaris/AbandonedCartFilledMajor.svg +1 -0
  3. data/app/assets/icons/polaris/AbandonedCartMajor.svg +1 -1
  4. data/app/assets/icons/polaris/AccessibilityMajor.svg +1 -1
  5. data/app/assets/icons/polaris/ActivitiesMajor.svg +1 -1
  6. data/app/assets/icons/polaris/AddCodeMajor.svg +1 -1
  7. data/app/assets/icons/polaris/AddImageMajor.svg +1 -1
  8. data/app/assets/icons/polaris/AddMajor.svg +1 -1
  9. data/app/assets/icons/polaris/AddNoteMajor.svg +1 -1
  10. data/app/assets/icons/polaris/AddProductMajor.svg +1 -1
  11. data/app/assets/icons/polaris/AdjustMinor.svg +1 -1
  12. data/app/assets/icons/polaris/AffiliateMajor.svg +1 -1
  13. data/app/assets/icons/polaris/AlertMinor.svg +1 -1
  14. data/app/assets/icons/polaris/AnalyticsBarHorizontalMinor.svg +1 -1
  15. data/app/assets/icons/polaris/AnalyticsBarStackedMinor.svg +1 -1
  16. data/app/assets/icons/polaris/AnalyticsCohortMinor.svg +1 -1
  17. data/app/assets/icons/polaris/AnalyticsDonutMinor.svg +1 -1
  18. data/app/assets/icons/polaris/AnalyticsFilledMinor.svg +1 -0
  19. data/app/assets/icons/polaris/AnalyticsFunnelMinor.svg +1 -1
  20. data/app/assets/icons/polaris/AnalyticsLineMinor.svg +1 -1
  21. data/app/assets/icons/polaris/AnalyticsMajor.svg +1 -1
  22. data/app/assets/icons/polaris/AnalyticsMinor.svg +1 -1
  23. data/app/assets/icons/polaris/AnalyticsTableMinor.svg +1 -1
  24. data/app/assets/icons/polaris/AnyClickModelMinor.svg +1 -1
  25. data/app/assets/icons/polaris/AppExtensionMinor.svg +1 -1
  26. data/app/assets/icons/polaris/AppsFilledMajor.svg +1 -0
  27. data/app/assets/icons/polaris/AppsMajor.svg +1 -1
  28. data/app/assets/icons/polaris/AppsMinor.svg +1 -1
  29. data/app/assets/icons/polaris/ArchiveMajor.svg +1 -1
  30. data/app/assets/icons/polaris/ArchiveMinor.svg +1 -1
  31. data/app/assets/icons/polaris/ArrowDownMinor.svg +1 -1
  32. data/app/assets/icons/polaris/ArrowLeftMinor.svg +1 -1
  33. data/app/assets/icons/polaris/ArrowRightMinor.svg +1 -1
  34. data/app/assets/icons/polaris/ArrowUpMinor.svg +1 -1
  35. data/app/assets/icons/polaris/AttachmentFilledMajor.svg +1 -0
  36. data/app/assets/icons/polaris/AttachmentMajor.svg +1 -1
  37. data/app/assets/icons/polaris/AutomationFilledMajor.svg +1 -0
  38. data/app/assets/icons/polaris/AutomationMajor.svg +1 -1
  39. data/app/assets/icons/polaris/BackspaceMajor.svg +1 -1
  40. data/app/assets/icons/polaris/BalanceFilledMajor.svg +1 -0
  41. data/app/assets/icons/polaris/BalanceMajor.svg +1 -1
  42. data/app/assets/icons/polaris/BankFilledMajor.svg +1 -0
  43. data/app/assets/icons/polaris/BankMajor.svg +1 -1
  44. data/app/assets/icons/polaris/BarcodeMajor.svg +1 -1
  45. data/app/assets/icons/polaris/BehaviorFilledMajor.svg +1 -0
  46. data/app/assets/icons/polaris/BehaviorMajor.svg +1 -1
  47. data/app/assets/icons/polaris/BehaviorMinor.svg +1 -1
  48. data/app/assets/icons/polaris/BillingStatementDollarFilledMajor.svg +1 -0
  49. data/app/assets/icons/polaris/BillingStatementDollarMajor.svg +1 -1
  50. data/app/assets/icons/polaris/BillingStatementEuroFilledMajor.svg +1 -0
  51. data/app/assets/icons/polaris/BillingStatementEuroMajor.svg +1 -1
  52. data/app/assets/icons/polaris/BillingStatementPoundFilledMajor.svg +1 -0
  53. data/app/assets/icons/polaris/BillingStatementPoundMajor.svg +1 -1
  54. data/app/assets/icons/polaris/BillingStatementRupeeFilledMajor.svg +1 -0
  55. data/app/assets/icons/polaris/BillingStatementRupeeMajor.svg +1 -1
  56. data/app/assets/icons/polaris/BillingStatementYenFilledMajor.svg +1 -0
  57. data/app/assets/icons/polaris/BillingStatementYenMajor.svg +1 -1
  58. data/app/assets/icons/polaris/BlockMinor.svg +1 -1
  59. data/app/assets/icons/polaris/BlockquoteMajor.svg +1 -1
  60. data/app/assets/icons/polaris/BlogMajor.svg +1 -1
  61. data/app/assets/icons/polaris/BoldMajor.svg +1 -0
  62. data/app/assets/icons/polaris/BoldMinor.svg +1 -0
  63. data/app/assets/icons/polaris/BugMajor.svg +1 -1
  64. data/app/assets/icons/polaris/ButtonCornerPillMajor.svg +1 -1
  65. data/app/assets/icons/polaris/ButtonCornerRoundedMajor.svg +1 -1
  66. data/app/assets/icons/polaris/ButtonCornerSquareMajor.svg +1 -1
  67. data/app/assets/icons/polaris/ButtonMinor.svg +1 -1
  68. data/app/assets/icons/polaris/BuyButtonButtonLayoutMajor.svg +1 -1
  69. data/app/assets/icons/polaris/BuyButtonHorizontalLayoutMajor.svg +1 -1
  70. data/app/assets/icons/polaris/BuyButtonMajor.svg +1 -1
  71. data/app/assets/icons/polaris/BuyButtonVerticalLayoutMajor.svg +1 -1
  72. data/app/assets/icons/polaris/CalendarMajor.svg +1 -1
  73. data/app/assets/icons/polaris/CalendarMinor.svg +1 -1
  74. data/app/assets/icons/polaris/CalendarTickMajor.svg +1 -1
  75. data/app/assets/icons/polaris/CalendarTimeMinor.svg +1 -1
  76. data/app/assets/icons/polaris/CameraMajor.svg +1 -1
  77. data/app/assets/icons/polaris/CancelMajor.svg +1 -1
  78. data/app/assets/icons/polaris/CancelMinor.svg +1 -1
  79. data/app/assets/icons/polaris/CancelSmallMinor.svg +1 -1
  80. data/app/assets/icons/polaris/CapitalFilledMajor.svg +1 -0
  81. data/app/assets/icons/polaris/CapitalMajor.svg +1 -1
  82. data/app/assets/icons/polaris/CapturePaymentMinor.svg +1 -1
  83. data/app/assets/icons/polaris/CardReaderChipMajor.svg +1 -1
  84. data/app/assets/icons/polaris/CardReaderMajor.svg +1 -1
  85. data/app/assets/icons/polaris/CardReaderTapMajor.svg +1 -1
  86. data/app/assets/icons/polaris/CaretDownMinor.svg +1 -1
  87. data/app/assets/icons/polaris/CaretUpMinor.svg +1 -1
  88. data/app/assets/icons/polaris/CartDownFilledMajor.svg +1 -0
  89. data/app/assets/icons/polaris/CartDownMajor.svg +1 -1
  90. data/app/assets/icons/polaris/CartFilledMajor.svg +1 -0
  91. data/app/assets/icons/polaris/CartMajor.svg +1 -1
  92. data/app/assets/icons/polaris/CartUpMajor.svg +1 -1
  93. data/app/assets/icons/polaris/CashDollarFilledMajor.svg +1 -0
  94. data/app/assets/icons/polaris/CashDollarMajor.svg +1 -1
  95. data/app/assets/icons/polaris/CashDollarMinor.svg +1 -1
  96. data/app/assets/icons/polaris/CashEuroMajor.svg +1 -1
  97. data/app/assets/icons/polaris/CashPoundMajor.svg +1 -1
  98. data/app/assets/icons/polaris/CashRupeeMajor.svg +1 -1
  99. data/app/assets/icons/polaris/CashYenMajor.svg +1 -1
  100. data/app/assets/icons/polaris/CategoriesMajor.svg +1 -1
  101. data/app/assets/icons/polaris/ChannelsMajor.svg +1 -1
  102. data/app/assets/icons/polaris/ChatMajor.svg +1 -1
  103. data/app/assets/icons/polaris/ChecklistAlternateMajor.svg +1 -1
  104. data/app/assets/icons/polaris/ChecklistMajor.svg +1 -1
  105. data/app/assets/icons/polaris/CheckoutMajor.svg +1 -1
  106. data/app/assets/icons/polaris/ChevronDownMinor.svg +1 -1
  107. data/app/assets/icons/polaris/ChevronLeftMinor.svg +1 -1
  108. data/app/assets/icons/polaris/ChevronRightMinor.svg +1 -1
  109. data/app/assets/icons/polaris/ChevronUpMinor.svg +1 -1
  110. data/app/assets/icons/polaris/CircleAlertMajor.svg +1 -1
  111. data/app/assets/icons/polaris/CircleCancelMajor.svg +1 -1
  112. data/app/assets/icons/polaris/CircleCancelMinor.svg +1 -1
  113. data/app/assets/icons/polaris/CircleChevronDownMinor.svg +1 -1
  114. data/app/assets/icons/polaris/CircleChevronLeftMinor.svg +1 -1
  115. data/app/assets/icons/polaris/CircleChevronRightMinor.svg +1 -1
  116. data/app/assets/icons/polaris/CircleChevronUpMinor.svg +1 -1
  117. data/app/assets/icons/polaris/CircleDisableMinor.svg +1 -1
  118. data/app/assets/icons/polaris/CircleDisabledMajor.svg +1 -1
  119. data/app/assets/icons/polaris/CircleDotsMajor.svg +1 -1
  120. data/app/assets/icons/polaris/CircleDownMajor.svg +1 -1
  121. data/app/assets/icons/polaris/CircleInformationMajor.svg +1 -1
  122. data/app/assets/icons/polaris/CircleLeftMajor.svg +1 -1
  123. data/app/assets/icons/polaris/CircleMinusMajor.svg +1 -1
  124. data/app/assets/icons/polaris/CircleMinusMinor.svg +1 -1
  125. data/app/assets/icons/polaris/CircleMinusOutlineMinor.svg +1 -1
  126. data/app/assets/icons/polaris/CirclePlusMajor.svg +1 -1
  127. data/app/assets/icons/polaris/CirclePlusMinor.svg +1 -1
  128. data/app/assets/icons/polaris/CirclePlusOutlineMinor.svg +1 -1
  129. data/app/assets/icons/polaris/CircleRightMajor.svg +1 -1
  130. data/app/assets/icons/polaris/CircleTickMajor.svg +1 -1
  131. data/app/assets/icons/polaris/CircleTickMinor.svg +1 -1
  132. data/app/assets/icons/polaris/CircleTickOutlineMinor.svg +1 -1
  133. data/app/assets/icons/polaris/CircleUpMajor.svg +1 -1
  134. data/app/assets/icons/polaris/ClipboardMinor.svg +1 -1
  135. data/app/assets/icons/polaris/ClockMajor.svg +1 -1
  136. data/app/assets/icons/polaris/ClockMinor.svg +1 -1
  137. data/app/assets/icons/polaris/CodeMajor.svg +1 -1
  138. data/app/assets/icons/polaris/CodeMinor.svg +1 -1
  139. data/app/assets/icons/polaris/CollectionReferenceMinor.svg +1 -1
  140. data/app/assets/icons/polaris/CollectionsFilledMajor.svg +1 -0
  141. data/app/assets/icons/polaris/CollectionsMajor.svg +1 -1
  142. data/app/assets/icons/polaris/ColorNoneMinor.svg +1 -1
  143. data/app/assets/icons/polaris/ColorsMajor.svg +1 -1
  144. data/app/assets/icons/polaris/Column1Major.svg +1 -1
  145. data/app/assets/icons/polaris/ColumnWithTextMajor.svg +1 -1
  146. data/app/assets/icons/polaris/Columns2Major.svg +1 -1
  147. data/app/assets/icons/polaris/Columns3Major.svg +1 -1
  148. data/app/assets/icons/polaris/Columns3Minor.svg +1 -1
  149. data/app/assets/icons/polaris/ComposeMajor.svg +1 -1
  150. data/app/assets/icons/polaris/ConfettiMajor.svg +1 -1
  151. data/app/assets/icons/polaris/ConnectMinor.svg +1 -1
  152. data/app/assets/icons/polaris/ContentFilledMinor.svg +1 -0
  153. data/app/assets/icons/polaris/ContentMinor.svg +1 -1
  154. data/app/assets/icons/polaris/ConversationMinor.svg +1 -1
  155. data/app/assets/icons/polaris/CreditCardCancelMajor.svg +1 -1
  156. data/app/assets/icons/polaris/CreditCardMajor.svg +1 -1
  157. data/app/assets/icons/polaris/CreditCardPercentMajor.svg +1 -1
  158. data/app/assets/icons/polaris/CreditCardSecureMajor.svg +1 -1
  159. data/app/assets/icons/polaris/CurrencyConvertMinor.svg +1 -1
  160. data/app/assets/icons/polaris/CustomerMinusMajor.svg +1 -1
  161. data/app/assets/icons/polaris/CustomerPlusMajor.svg +1 -1
  162. data/app/assets/icons/polaris/CustomersFilledMinor.svg +1 -0
  163. data/app/assets/icons/polaris/CustomersMajor.svg +1 -1
  164. data/app/assets/icons/polaris/CustomersMinor.svg +1 -1
  165. data/app/assets/icons/polaris/DataDrivenModelMinor.svg +1 -1
  166. data/app/assets/icons/polaris/DataVisualizationMajor.svg +1 -1
  167. data/app/assets/icons/polaris/DecimalMinor.svg +1 -1
  168. data/app/assets/icons/polaris/DeleteMajor.svg +1 -1
  169. data/app/assets/icons/polaris/DeleteMinor.svg +1 -1
  170. data/app/assets/icons/polaris/DesktopMajor.svg +1 -1
  171. data/app/assets/icons/polaris/DetailedPopUpMajor.svg +1 -1
  172. data/app/assets/icons/polaris/DiamondAlertMajor.svg +1 -1
  173. data/app/assets/icons/polaris/DiamondAlertMinor.svg +1 -1
  174. data/app/assets/icons/polaris/DigitalMediaReceiverMajor.svg +1 -1
  175. data/app/assets/icons/polaris/DiscountAutomaticMajor.svg +1 -1
  176. data/app/assets/icons/polaris/DiscountCodeMajor.svg +1 -1
  177. data/app/assets/icons/polaris/DiscountsFilledMinor.svg +1 -0
  178. data/app/assets/icons/polaris/DiscountsMajor.svg +1 -1
  179. data/app/assets/icons/polaris/DiscountsMinor.svg +1 -1
  180. data/app/assets/icons/polaris/DisputeMinor.svg +1 -1
  181. data/app/assets/icons/polaris/DnsSettingsMajor.svg +1 -1
  182. data/app/assets/icons/polaris/DockFloatingMajor.svg +1 -1
  183. data/app/assets/icons/polaris/DockSideMajor.svg +1 -1
  184. data/app/assets/icons/polaris/DomainNewMajor.svg +1 -1
  185. data/app/assets/icons/polaris/DomainRedirectMinor.svg +1 -1
  186. data/app/assets/icons/polaris/DomainsFilledMajor.svg +1 -0
  187. data/app/assets/icons/polaris/DomainsMajor.svg +1 -1
  188. data/app/assets/icons/polaris/DraftOrdersFilledMajor.svg +1 -0
  189. data/app/assets/icons/polaris/DraftOrdersMajor.svg +1 -1
  190. data/app/assets/icons/polaris/DragDropMajor.svg +1 -1
  191. data/app/assets/icons/polaris/DragHandleMinor.svg +1 -1
  192. data/app/assets/icons/polaris/DropdownMinor.svg +1 -1
  193. data/app/assets/icons/polaris/DuplicateMinor.svg +1 -1
  194. data/app/assets/icons/polaris/DynamicSourceMajor.svg +1 -1
  195. data/app/assets/icons/polaris/DynamicSourceMinor.svg +1 -1
  196. data/app/assets/icons/polaris/EditMajor.svg +1 -1
  197. data/app/assets/icons/polaris/EditMinor.svg +1 -1
  198. data/app/assets/icons/polaris/EmailMajor.svg +1 -1
  199. data/app/assets/icons/polaris/EmailNewsletterMajor.svg +1 -1
  200. data/app/assets/icons/polaris/EmbedMinor.svg +1 -1
  201. data/app/assets/icons/polaris/EnableSelectionMinor.svg +1 -1
  202. data/app/assets/icons/polaris/EnterMajor.svg +1 -1
  203. data/app/assets/icons/polaris/EnvelopeMajor.svg +1 -1
  204. data/app/assets/icons/polaris/ExchangeMajor.svg +1 -1
  205. data/app/assets/icons/polaris/ExistingInventoryMajor.svg +1 -1
  206. data/app/assets/icons/polaris/ExitMajor.svg +1 -1
  207. data/app/assets/icons/polaris/ExploreImagesMajor.svg +1 -1
  208. data/app/assets/icons/polaris/ExportMinor.svg +1 -1
  209. data/app/assets/icons/polaris/ExtendMajor.svg +1 -1
  210. data/app/assets/icons/polaris/ExtendMinor.svg +1 -1
  211. data/app/assets/icons/polaris/ExternalMinor.svg +1 -1
  212. data/app/assets/icons/polaris/ExternalSmallMinor.svg +1 -1
  213. data/app/assets/icons/polaris/EyeDropperMinor.svg +1 -1
  214. data/app/assets/icons/polaris/FacebookMinor.svg +1 -0
  215. data/app/assets/icons/polaris/FaviconMajor.svg +1 -1
  216. data/app/assets/icons/polaris/FavoriteMajor.svg +1 -1
  217. data/app/assets/icons/polaris/FeaturedCollectionMajor.svg +1 -1
  218. data/app/assets/icons/polaris/FeaturedContentMajor.svg +1 -1
  219. data/app/assets/icons/polaris/FileFilledMinor.svg +1 -0
  220. data/app/assets/icons/polaris/FileMinor.svg +1 -1
  221. data/app/assets/icons/polaris/FilterMajor.svg +1 -1
  222. data/app/assets/icons/polaris/FilterMinor.svg +1 -1
  223. data/app/assets/icons/polaris/FinancesMajor.svg +1 -1
  224. data/app/assets/icons/polaris/FinancesMinor.svg +1 -1
  225. data/app/assets/icons/polaris/FirstClickModelMinor.svg +1 -1
  226. data/app/assets/icons/polaris/FirstOrderMajor.svg +1 -1
  227. data/app/assets/icons/polaris/FirstVisitMajor.svg +1 -1
  228. data/app/assets/icons/polaris/FlagMajor.svg +1 -1
  229. data/app/assets/icons/polaris/FlipCameraMajor.svg +1 -1
  230. data/app/assets/icons/polaris/FolderDownMajor.svg +1 -1
  231. data/app/assets/icons/polaris/FolderMajor.svg +1 -1
  232. data/app/assets/icons/polaris/FolderMinusMajor.svg +1 -1
  233. data/app/assets/icons/polaris/FolderPlusMajor.svg +1 -1
  234. data/app/assets/icons/polaris/FolderUpMajor.svg +1 -1
  235. data/app/assets/icons/polaris/FollowUpEmailMajor.svg +1 -1
  236. data/app/assets/icons/polaris/FoodMajor.svg +1 -1
  237. data/app/assets/icons/polaris/FooterMajor.svg +1 -1
  238. data/app/assets/icons/polaris/FormsMajor.svg +1 -1
  239. data/app/assets/icons/polaris/FraudProtectMajor.svg +1 -1
  240. data/app/assets/icons/polaris/FraudProtectMinor.svg +1 -1
  241. data/app/assets/icons/polaris/FraudProtectPendingMajor.svg +1 -1
  242. data/app/assets/icons/polaris/FraudProtectPendingMinor.svg +1 -1
  243. data/app/assets/icons/polaris/FraudProtectUnprotectedMajor.svg +1 -1
  244. data/app/assets/icons/polaris/FraudProtectUnprotectedMinor.svg +1 -1
  245. data/app/assets/icons/polaris/FulfillmentFulfilledMajor.svg +1 -1
  246. data/app/assets/icons/polaris/FulfillmentOnHoldMajor.svg +1 -1
  247. data/app/assets/icons/polaris/GamesConsoleMajor.svg +1 -1
  248. data/app/assets/icons/polaris/GaugeMajor.svg +1 -0
  249. data/app/assets/icons/polaris/GaugeMinor.svg +1 -0
  250. data/app/assets/icons/polaris/GiftCardFilledMinor.svg +1 -0
  251. data/app/assets/icons/polaris/GiftCardMajor.svg +1 -1
  252. data/app/assets/icons/polaris/GiftCardMinor.svg +1 -1
  253. data/app/assets/icons/polaris/GlobeMajor.svg +1 -1
  254. data/app/assets/icons/polaris/GlobeMinor.svg +1 -1
  255. data/app/assets/icons/polaris/GrammarMajor.svg +1 -1
  256. data/app/assets/icons/polaris/HashtagMajor.svg +1 -1
  257. data/app/assets/icons/polaris/HashtagMinor.svg +1 -1
  258. data/app/assets/icons/polaris/HeaderMajor.svg +1 -1
  259. data/app/assets/icons/polaris/HeartMajor.svg +1 -1
  260. data/app/assets/icons/polaris/HideKeyboardMajor.svg +1 -1
  261. data/app/assets/icons/polaris/HideMinor.svg +1 -1
  262. data/app/assets/icons/polaris/HintMajor.svg +1 -1
  263. data/app/assets/icons/polaris/HomeFilledMinor.svg +1 -0
  264. data/app/assets/icons/polaris/HomeMajor.svg +1 -1
  265. data/app/assets/icons/polaris/HomeMinor.svg +1 -1
  266. data/app/assets/icons/polaris/HorizontalDotsMinor.svg +1 -1
  267. data/app/assets/icons/polaris/IconsFilledMajor.svg +1 -0
  268. data/app/assets/icons/polaris/IconsMajor.svg +1 -1
  269. data/app/assets/icons/polaris/IdentityCardFilledMajor.svg +1 -0
  270. data/app/assets/icons/polaris/IdentityCardMajor.svg +1 -1
  271. data/app/assets/icons/polaris/IllustrationMajor.svg +1 -1
  272. data/app/assets/icons/polaris/ImageAltMajor.svg +1 -1
  273. data/app/assets/icons/polaris/ImageAltMinor.svg +1 -1
  274. data/app/assets/icons/polaris/ImageMajor.svg +1 -1
  275. data/app/assets/icons/polaris/ImageWithTextMajor.svg +1 -1
  276. data/app/assets/icons/polaris/ImageWithTextOverlayMajor.svg +1 -1
  277. data/app/assets/icons/polaris/ImagesMajor.svg +1 -1
  278. data/app/assets/icons/polaris/ImportMinor.svg +1 -1
  279. data/app/assets/icons/polaris/ImportStoreMajor.svg +1 -1
  280. data/app/assets/icons/polaris/InactiveLocationMajor.svg +1 -1
  281. data/app/assets/icons/polaris/InactiveLocationMinor.svg +1 -1
  282. data/app/assets/icons/polaris/IncomingMajor.svg +1 -1
  283. data/app/assets/icons/polaris/IndentMajor.svg +1 -0
  284. data/app/assets/icons/polaris/IndentMinor.svg +1 -0
  285. data/app/assets/icons/polaris/InfoMinor.svg +1 -1
  286. data/app/assets/icons/polaris/InsertDynamicSourceMajor.svg +1 -1
  287. data/app/assets/icons/polaris/InsertDynamicSourceMinor.svg +1 -1
  288. data/app/assets/icons/polaris/InstagramMinor.svg +1 -0
  289. data/app/assets/icons/polaris/InstallMinor.svg +1 -1
  290. data/app/assets/icons/polaris/InventoryFilledMajor.svg +1 -0
  291. data/app/assets/icons/polaris/InventoryMajor.svg +1 -1
  292. data/app/assets/icons/polaris/InviteMinor.svg +1 -1
  293. data/app/assets/icons/polaris/IqMajor.svg +1 -1
  294. data/app/assets/icons/polaris/ItalicMajor.svg +1 -0
  295. data/app/assets/icons/polaris/ItalicMinor.svg +1 -0
  296. data/app/assets/icons/polaris/JobsFilledMajor.svg +1 -0
  297. data/app/assets/icons/polaris/JobsMajor.svg +1 -1
  298. data/app/assets/icons/polaris/KeyMajor.svg +1 -1
  299. data/app/assets/icons/polaris/KeyboardMajor.svg +1 -1
  300. data/app/assets/icons/polaris/KeyboardMinor.svg +1 -1
  301. data/app/assets/icons/polaris/LabelPrinterMajor.svg +1 -1
  302. data/app/assets/icons/polaris/LandingPageMajor.svg +1 -1
  303. data/app/assets/icons/polaris/LanguageFilledMinor.svg +1 -0
  304. data/app/assets/icons/polaris/LanguageMinor.svg +1 -1
  305. data/app/assets/icons/polaris/LastClickModelMinor.svg +1 -1
  306. data/app/assets/icons/polaris/LastNonDirectClickModelMinor.svg +1 -1
  307. data/app/assets/icons/polaris/LegalFilledMajor.svg +1 -0
  308. data/app/assets/icons/polaris/LegalMajor.svg +1 -1
  309. data/app/assets/icons/polaris/LinearModelMinor.svg +1 -1
  310. data/app/assets/icons/polaris/LinkMinor.svg +1 -1
  311. data/app/assets/icons/polaris/ListFilledMajor.svg +1 -0
  312. data/app/assets/icons/polaris/ListMajor.svg +1 -1
  313. data/app/assets/icons/polaris/ListMinor.svg +1 -1
  314. data/app/assets/icons/polaris/LiveViewFilledMajor.svg +1 -0
  315. data/app/assets/icons/polaris/LiveViewMajor.svg +1 -1
  316. data/app/assets/icons/polaris/LocationFilledMajor.svg +1 -0
  317. data/app/assets/icons/polaris/LocationMajor.svg +1 -1
  318. data/app/assets/icons/polaris/LocationsMinor.svg +1 -1
  319. data/app/assets/icons/polaris/LockFilledMajor.svg +1 -0
  320. data/app/assets/icons/polaris/LockMajor.svg +1 -1
  321. data/app/assets/icons/polaris/LockMinor.svg +1 -1
  322. data/app/assets/icons/polaris/LogOutMinor.svg +1 -1
  323. data/app/assets/icons/polaris/LogoBlockMajor.svg +1 -1
  324. data/app/assets/icons/polaris/MagicMajor.svg +1 -1
  325. data/app/assets/icons/polaris/MagicMinor.svg +1 -1
  326. data/app/assets/icons/polaris/ManagedStoreMajor.svg +1 -1
  327. data/app/assets/icons/polaris/MarkFulfilledMinor.svg +1 -1
  328. data/app/assets/icons/polaris/MarkPaidMinor.svg +1 -1
  329. data/app/assets/icons/polaris/MarketingFilledMinor.svg +1 -0
  330. data/app/assets/icons/polaris/MarketingMajor.svg +1 -1
  331. data/app/assets/icons/polaris/MarketingMinor.svg +1 -1
  332. data/app/assets/icons/polaris/MarketsFilledMajor.svg +1 -0
  333. data/app/assets/icons/polaris/MarketsMajor.svg +1 -1
  334. data/app/assets/icons/polaris/MaximizeMajor.svg +1 -1
  335. data/app/assets/icons/polaris/MaximizeMinor.svg +1 -1
  336. data/app/assets/icons/polaris/MeasurementMinor.svg +1 -1
  337. data/app/assets/icons/polaris/MentionMajor.svg +1 -1
  338. data/app/assets/icons/polaris/MergeMinor.svg +1 -1
  339. data/app/assets/icons/polaris/MetafieldsFilledMinor.svg +1 -0
  340. data/app/assets/icons/polaris/MetafieldsMajor.svg +1 -1
  341. data/app/assets/icons/polaris/MetafieldsMinor.svg +1 -1
  342. data/app/assets/icons/polaris/MetaobjectMinor.svg +1 -1
  343. data/app/assets/icons/polaris/MetaobjectReferenceMinor.svg +1 -1
  344. data/app/assets/icons/polaris/MicrophoneMajor.svg +1 -1
  345. data/app/assets/icons/polaris/MinimizeMajor.svg +1 -1
  346. data/app/assets/icons/polaris/MinimizeMinor.svg +1 -1
  347. data/app/assets/icons/polaris/MinusMajor.svg +1 -1
  348. data/app/assets/icons/polaris/MinusMinor.svg +1 -1
  349. data/app/assets/icons/polaris/MobileAcceptMajor.svg +1 -1
  350. data/app/assets/icons/polaris/MobileBackArrowMajor.svg +1 -1
  351. data/app/assets/icons/polaris/MobileCancelMajor.svg +1 -1
  352. data/app/assets/icons/polaris/MobileChevronMajor.svg +1 -1
  353. data/app/assets/icons/polaris/MobileHamburgerMajor.svg +1 -1
  354. data/app/assets/icons/polaris/MobileHorizontalDotsMajor.svg +1 -1
  355. data/app/assets/icons/polaris/MobileMajor.svg +1 -1
  356. data/app/assets/icons/polaris/MobilePlusMajor.svg +1 -1
  357. data/app/assets/icons/polaris/MobileVerticalDotsMajor.svg +1 -1
  358. data/app/assets/icons/polaris/MonerisMajor.svg +1 -1
  359. data/app/assets/icons/polaris/MoneyFilledMinor.svg +1 -0
  360. data/app/assets/icons/polaris/MoneyMinor.svg +1 -1
  361. data/app/assets/icons/polaris/NatureMajor.svg +1 -1
  362. data/app/assets/icons/polaris/NavigationMajor.svg +1 -1
  363. data/app/assets/icons/polaris/NoteMajor.svg +1 -1
  364. data/app/assets/icons/polaris/NoteMinor.svg +1 -1
  365. data/app/assets/icons/polaris/NotificationFilledMajor.svg +1 -0
  366. data/app/assets/icons/polaris/NotificationMajor.svg +1 -1
  367. data/app/assets/icons/polaris/OnlineStoreMajor.svg +1 -1
  368. data/app/assets/icons/polaris/OnlineStoreMinor.svg +1 -1
  369. data/app/assets/icons/polaris/OrderStatusMinor.svg +1 -1
  370. data/app/assets/icons/polaris/OrderedListMajor.svg +1 -0
  371. data/app/assets/icons/polaris/OrderedListMinor.svg +1 -0
  372. data/app/assets/icons/polaris/OrdersFilledMinor.svg +1 -0
  373. data/app/assets/icons/polaris/OrdersMajor.svg +1 -1
  374. data/app/assets/icons/polaris/OrdersMinor.svg +1 -1
  375. data/app/assets/icons/polaris/OrganizationMajor.svg +1 -1
  376. data/app/assets/icons/polaris/OutdentMajor.svg +1 -0
  377. data/app/assets/icons/polaris/OutdentMinor.svg +1 -0
  378. data/app/assets/icons/polaris/OutgoingMajor.svg +1 -1
  379. data/app/assets/icons/polaris/PackageFilledMajor.svg +1 -0
  380. data/app/assets/icons/polaris/PackageMajor.svg +1 -1
  381. data/app/assets/icons/polaris/PageDownMajor.svg +1 -1
  382. data/app/assets/icons/polaris/PageMajor.svg +1 -1
  383. data/app/assets/icons/polaris/PageMinusMajor.svg +1 -1
  384. data/app/assets/icons/polaris/PagePlusMajor.svg +1 -1
  385. data/app/assets/icons/polaris/PageReferenceMinor.svg +1 -1
  386. data/app/assets/icons/polaris/PageUpMajor.svg +1 -1
  387. data/app/assets/icons/polaris/PaginationEndMinor.svg +1 -1
  388. data/app/assets/icons/polaris/PaginationStartMinor.svg +1 -1
  389. data/app/assets/icons/polaris/PaintBrushMajor.svg +1 -1
  390. data/app/assets/icons/polaris/PaperCheckMajor.svg +1 -1
  391. data/app/assets/icons/polaris/PaperCheckMinor.svg +1 -1
  392. data/app/assets/icons/polaris/PasskeyFilledMinor.svg +1 -0
  393. data/app/assets/icons/polaris/PasskeyMajor.svg +1 -1
  394. data/app/assets/icons/polaris/PasskeyMinor.svg +1 -1
  395. data/app/assets/icons/polaris/PauseCircleMajor.svg +1 -1
  396. data/app/assets/icons/polaris/PauseMajor.svg +1 -1
  397. data/app/assets/icons/polaris/PauseMinor.svg +1 -1
  398. data/app/assets/icons/polaris/PaymentsFilledMajor.svg +1 -0
  399. data/app/assets/icons/polaris/PaymentsMajor.svg +1 -1
  400. data/app/assets/icons/polaris/PersonalizedTextMajor.svg +1 -1
  401. data/app/assets/icons/polaris/PhoneInMajor.svg +1 -1
  402. data/app/assets/icons/polaris/PhoneMajor.svg +1 -1
  403. data/app/assets/icons/polaris/PhoneOutMajor.svg +1 -1
  404. data/app/assets/icons/polaris/PinMajor.svg +1 -1
  405. data/app/assets/icons/polaris/PinMinor.svg +1 -1
  406. data/app/assets/icons/polaris/PinUnfilledMajor.svg +1 -1
  407. data/app/assets/icons/polaris/PinUnfilledMinor.svg +1 -1
  408. data/app/assets/icons/polaris/PintrestMinor.svg +1 -0
  409. data/app/assets/icons/polaris/PlanFilledMinor.svg +1 -0
  410. data/app/assets/icons/polaris/PlanMajor.svg +1 -1
  411. data/app/assets/icons/polaris/PlanMinor.svg +1 -1
  412. data/app/assets/icons/polaris/PlayCircleMajor.svg +1 -1
  413. data/app/assets/icons/polaris/PlayMajor.svg +1 -1
  414. data/app/assets/icons/polaris/PlayMinor.svg +1 -1
  415. data/app/assets/icons/polaris/PlusMinor.svg +1 -1
  416. data/app/assets/icons/polaris/PointOfSaleMajor.svg +1 -1
  417. data/app/assets/icons/polaris/PopularMajor.svg +1 -1
  418. data/app/assets/icons/polaris/PositionBasedModelMinor.svg +1 -1
  419. data/app/assets/icons/polaris/PriceLookupMinor.svg +1 -1
  420. data/app/assets/icons/polaris/PrintMajor.svg +1 -1
  421. data/app/assets/icons/polaris/PrintMinor.svg +1 -1
  422. data/app/assets/icons/polaris/ProductCostMajor.svg +1 -1
  423. data/app/assets/icons/polaris/ProductReferenceMinor.svg +1 -1
  424. data/app/assets/icons/polaris/ProductReturnsMinor.svg +1 -1
  425. data/app/assets/icons/polaris/ProductsFilledMinor.svg +1 -0
  426. data/app/assets/icons/polaris/ProductsMajor.svg +1 -1
  427. data/app/assets/icons/polaris/ProductsMinor.svg +1 -1
  428. data/app/assets/icons/polaris/ProfileMajor.svg +1 -1
  429. data/app/assets/icons/polaris/ProfileMinor.svg +1 -1
  430. data/app/assets/icons/polaris/PromoteFilledMinor.svg +1 -0
  431. data/app/assets/icons/polaris/PromoteMinor.svg +1 -1
  432. data/app/assets/icons/polaris/QuestionMarkInverseMajor.svg +1 -1
  433. data/app/assets/icons/polaris/QuestionMarkInverseMinor.svg +1 -1
  434. data/app/assets/icons/polaris/QuestionMarkMajor.svg +1 -1
  435. data/app/assets/icons/polaris/QuestionMarkMinor.svg +1 -1
  436. data/app/assets/icons/polaris/QuickSaleMajor.svg +1 -1
  437. data/app/assets/icons/polaris/ReadTimeMinor.svg +1 -1
  438. data/app/assets/icons/polaris/ReceiptMajor.svg +1 -1
  439. data/app/assets/icons/polaris/RecentSearchesMajor.svg +1 -1
  440. data/app/assets/icons/polaris/RedoMajor.svg +1 -1
  441. data/app/assets/icons/polaris/ReferralCodeMajor.svg +1 -1
  442. data/app/assets/icons/polaris/ReferralMajor.svg +1 -1
  443. data/app/assets/icons/polaris/RefreshMajor.svg +1 -1
  444. data/app/assets/icons/polaris/RefreshMinor.svg +1 -1
  445. data/app/assets/icons/polaris/RefundMajor.svg +1 -1
  446. data/app/assets/icons/polaris/RefundMinor.svg +1 -1
  447. data/app/assets/icons/polaris/RemoveProductMajor.svg +1 -1
  448. data/app/assets/icons/polaris/RepeatOrderMajor.svg +1 -1
  449. data/app/assets/icons/polaris/ReplaceMajor.svg +1 -1
  450. data/app/assets/icons/polaris/ReplayMinor.svg +1 -1
  451. data/app/assets/icons/polaris/ReportFilledMinor.svg +1 -0
  452. data/app/assets/icons/polaris/ReportMinor.svg +1 -1
  453. data/app/assets/icons/polaris/ReportsMajor.svg +1 -1
  454. data/app/assets/icons/polaris/ResetMinor.svg +1 -1
  455. data/app/assets/icons/polaris/ResourcesMajor.svg +1 -1
  456. data/app/assets/icons/polaris/ReturnMinor.svg +1 -1
  457. data/app/assets/icons/polaris/ReturnsMajor.svg +1 -1
  458. data/app/assets/icons/polaris/RichTextMinor.svg +1 -1
  459. data/app/assets/icons/polaris/RiskMajor.svg +1 -1
  460. data/app/assets/icons/polaris/RiskMinor.svg +1 -1
  461. data/app/assets/icons/polaris/Rows2Major.svg +1 -1
  462. data/app/assets/icons/polaris/SandboxMajor.svg +1 -1
  463. data/app/assets/icons/polaris/SaveMinor.svg +1 -1
  464. data/app/assets/icons/polaris/SearchMajor.svg +1 -1
  465. data/app/assets/icons/polaris/SearchMinor.svg +1 -1
  466. data/app/assets/icons/polaris/SectionMajor.svg +1 -1
  467. data/app/assets/icons/polaris/SecureMajor.svg +1 -1
  468. data/app/assets/icons/polaris/SelectMinor.svg +1 -1
  469. data/app/assets/icons/polaris/SendMajor.svg +1 -1
  470. data/app/assets/icons/polaris/SettingsFilledMinor.svg +1 -0
  471. data/app/assets/icons/polaris/SettingsMajor.svg +1 -1
  472. data/app/assets/icons/polaris/SettingsMinor.svg +1 -1
  473. data/app/assets/icons/polaris/ShareIosMinor.svg +1 -1
  474. data/app/assets/icons/polaris/ShareMinor.svg +1 -1
  475. data/app/assets/icons/polaris/ShipmentFilledMajor.svg +1 -0
  476. data/app/assets/icons/polaris/ShipmentMajor.svg +1 -1
  477. data/app/assets/icons/polaris/ShopcodesMajor.svg +1 -1
  478. data/app/assets/icons/polaris/SidebarLeftMajor.svg +1 -1
  479. data/app/assets/icons/polaris/SidebarRightMajor.svg +1 -1
  480. data/app/assets/icons/polaris/SidekickMajor.svg +1 -0
  481. data/app/assets/icons/polaris/SimplifyMajor.svg +1 -1
  482. data/app/assets/icons/polaris/SimplifyMinor.svg +1 -1
  483. data/app/assets/icons/polaris/SlideshowMajor.svg +1 -1
  484. data/app/assets/icons/polaris/SmileyHappyMajor.svg +1 -1
  485. data/app/assets/icons/polaris/SmileyJoyMajor.svg +1 -1
  486. data/app/assets/icons/polaris/SmileyNeutralMajor.svg +1 -1
  487. data/app/assets/icons/polaris/SmileySadMajor.svg +1 -1
  488. data/app/assets/icons/polaris/SnapchatMinor.svg +1 -0
  489. data/app/assets/icons/polaris/SocialAdMajor.svg +1 -1
  490. data/app/assets/icons/polaris/SocialPostMajor.svg +1 -1
  491. data/app/assets/icons/polaris/SoftPackMajor.svg +1 -1
  492. data/app/assets/icons/polaris/SortAscendingMajor.svg +1 -1
  493. data/app/assets/icons/polaris/SortDescendingMajor.svg +1 -1
  494. data/app/assets/icons/polaris/SortMinor.svg +1 -1
  495. data/app/assets/icons/polaris/SoundMajor.svg +1 -1
  496. data/app/assets/icons/polaris/StarFilledMinor.svg +1 -1
  497. data/app/assets/icons/polaris/StarOutlineMinor.svg +1 -1
  498. data/app/assets/icons/polaris/StatusActiveMajor.svg +1 -1
  499. data/app/assets/icons/polaris/StopMajor.svg +1 -0
  500. data/app/assets/icons/polaris/StoreDetailsFilledMinor.svg +1 -0
  501. data/app/assets/icons/polaris/StoreDetailsMinor.svg +1 -0
  502. data/app/assets/icons/polaris/StoreFilledMinor.svg +1 -0
  503. data/app/assets/icons/polaris/StoreMajor.svg +1 -1
  504. data/app/assets/icons/polaris/StoreMinor.svg +1 -1
  505. data/app/assets/icons/polaris/StoreStatusMajor.svg +1 -1
  506. data/app/assets/icons/polaris/TabletMajor.svg +1 -1
  507. data/app/assets/icons/polaris/TapChipMajor.svg +1 -1
  508. data/app/assets/icons/polaris/TaxFilledMajor.svg +1 -0
  509. data/app/assets/icons/polaris/TaxMajor.svg +1 -1
  510. data/app/assets/icons/polaris/TeamMajor.svg +1 -1
  511. data/app/assets/icons/polaris/TemplateMajor.svg +1 -1
  512. data/app/assets/icons/polaris/TemplateMinor.svg +1 -1
  513. data/app/assets/icons/polaris/TextAlignmentCenterMajor.svg +1 -1
  514. data/app/assets/icons/polaris/TextAlignmentLeftMajor.svg +1 -1
  515. data/app/assets/icons/polaris/TextAlignmentRightMajor.svg +1 -1
  516. data/app/assets/icons/polaris/TextBlockMajor.svg +1 -1
  517. data/app/assets/icons/polaris/TextColorMajor.svg +1 -0
  518. data/app/assets/icons/polaris/TextColorMinor.svg +1 -0
  519. data/app/assets/icons/polaris/TextMajor.svg +1 -1
  520. data/app/assets/icons/polaris/ThemeEditMajor.svg +1 -1
  521. data/app/assets/icons/polaris/ThemeStoreMajor.svg +1 -1
  522. data/app/assets/icons/polaris/ThemesMajor.svg +1 -1
  523. data/app/assets/icons/polaris/ThumbsDownMajor.svg +1 -1
  524. data/app/assets/icons/polaris/ThumbsDownMinor.svg +1 -1
  525. data/app/assets/icons/polaris/ThumbsUpMajor.svg +1 -1
  526. data/app/assets/icons/polaris/ThumbsUpMinor.svg +1 -1
  527. data/app/assets/icons/polaris/TickMinor.svg +1 -1
  528. data/app/assets/icons/polaris/TickSmallMinor.svg +1 -1
  529. data/app/assets/icons/polaris/TiktokMinor.svg +1 -0
  530. data/app/assets/icons/polaris/TimeDecayModelMinor.svg +1 -1
  531. data/app/assets/icons/polaris/TimelineAttachmentMajor.svg +1 -1
  532. data/app/assets/icons/polaris/TipsMajor.svg +1 -1
  533. data/app/assets/icons/polaris/TitleMinor.svg +1 -1
  534. data/app/assets/icons/polaris/ToggleMinor.svg +1 -1
  535. data/app/assets/icons/polaris/ToolsMajor.svg +1 -1
  536. data/app/assets/icons/polaris/TransactionFeeDollarMajor.svg +1 -1
  537. data/app/assets/icons/polaris/TransactionFeeEuroMajor.svg +1 -1
  538. data/app/assets/icons/polaris/TransactionFeePoundMajor.svg +1 -1
  539. data/app/assets/icons/polaris/TransactionFeeRupeeMajor.svg +1 -1
  540. data/app/assets/icons/polaris/TransactionFeeYenMajor.svg +1 -1
  541. data/app/assets/icons/polaris/TransactionMajor.svg +1 -1
  542. data/app/assets/icons/polaris/TransferFilledMajor.svg +1 -0
  543. data/app/assets/icons/polaris/TransferInMajor.svg +1 -1
  544. data/app/assets/icons/polaris/TransferMajor.svg +1 -1
  545. data/app/assets/icons/polaris/TransferOutMajor.svg +1 -1
  546. data/app/assets/icons/polaris/TransferWithinShopifyMajor.svg +1 -1
  547. data/app/assets/icons/polaris/TranslateMajor.svg +1 -0
  548. data/app/assets/icons/polaris/TransportMajor.svg +1 -1
  549. data/app/assets/icons/polaris/TroubleshootMajor.svg +1 -1
  550. data/app/assets/icons/polaris/TumblrMinor.svg +1 -0
  551. data/app/assets/icons/polaris/TwitchMinor.svg +1 -0
  552. data/app/assets/icons/polaris/TwitterMinor.svg +1 -0
  553. data/app/assets/icons/polaris/TypeMajor.svg +1 -1
  554. data/app/assets/icons/polaris/TypeMinor.svg +1 -1
  555. data/app/assets/icons/polaris/UnderlineMajor.svg +1 -0
  556. data/app/assets/icons/polaris/UnderlineMinor.svg +1 -0
  557. data/app/assets/icons/polaris/UndoMajor.svg +1 -1
  558. data/app/assets/icons/polaris/UnfulfilledMajor.svg +1 -1
  559. data/app/assets/icons/polaris/UnknownDeviceMajor.svg +1 -1
  560. data/app/assets/icons/polaris/UpdateInventoryMajor.svg +1 -1
  561. data/app/assets/icons/polaris/UploadMajor.svg +1 -1
  562. data/app/assets/icons/polaris/VariantMajor.svg +1 -1
  563. data/app/assets/icons/polaris/ViewMajor.svg +1 -1
  564. data/app/assets/icons/polaris/ViewMinor.svg +1 -1
  565. data/app/assets/icons/polaris/ViewportNarrowMajor.svg +1 -1
  566. data/app/assets/icons/polaris/ViewportShortMajor.svg +1 -1
  567. data/app/assets/icons/polaris/ViewportTallMajor.svg +1 -1
  568. data/app/assets/icons/polaris/ViewportWideMajor.svg +1 -1
  569. data/app/assets/icons/polaris/VimeoMinor.svg +1 -0
  570. data/app/assets/icons/polaris/VocabularyMajor.svg +1 -1
  571. data/app/assets/icons/polaris/VolumeMinor.svg +1 -1
  572. data/app/assets/icons/polaris/WandMajor.svg +1 -1
  573. data/app/assets/icons/polaris/WandMinor.svg +1 -1
  574. data/app/assets/icons/polaris/WearableMajor.svg +1 -1
  575. data/app/assets/icons/polaris/WeightMinor.svg +1 -1
  576. data/app/assets/icons/polaris/WholesaleMajor.svg +1 -1
  577. data/app/assets/icons/polaris/WifiMajor.svg +1 -1
  578. data/app/assets/icons/polaris/YoutubeMinor.svg +1 -0
  579. data/app/assets/javascripts/polaris_view_components/index.js +4 -1
  580. data/app/assets/javascripts/polaris_view_components/popover_controller.js +50 -29
  581. data/app/assets/javascripts/polaris_view_components/tooltip_controller.js +67 -0
  582. data/app/assets/javascripts/polaris_view_components.js +1113 -1269
  583. data/app/assets/stylesheets/polaris_view_components/custom.pcss +45 -16
  584. data/app/assets/stylesheets/polaris_view_components/shopify_navigation.pcss +8 -8
  585. data/app/assets/stylesheets/polaris_view_components/tooltip_component.pcss +31 -0
  586. data/app/assets/stylesheets/polaris_view_components.css +1543 -680
  587. data/app/assets/stylesheets/polaris_view_components.pcss +1 -0
  588. data/app/components/polaris/autocomplete_component.rb +1 -0
  589. data/app/components/polaris/avatar_component.html.erb +1 -1
  590. data/app/components/polaris/filters_component.html.erb +7 -7
  591. data/app/components/polaris/filters_component.rb +5 -5
  592. data/app/components/polaris/frame/top_bar_component.html.erb +46 -22
  593. data/app/components/polaris/frame/top_bar_component.rb +0 -1
  594. data/app/components/polaris/popover_component.html.erb +2 -8
  595. data/app/components/polaris/popover_component.rb +6 -3
  596. data/app/components/polaris/select_component.html.erb +2 -2
  597. data/app/components/polaris/select_component.rb +58 -4
  598. data/app/components/polaris/tooltip_component.html.erb +9 -0
  599. data/app/components/polaris/tooltip_component.rb +33 -0
  600. data/app/helpers/polaris/view_helper.rb +1 -0
  601. data/lib/polaris/view_components/version.rb +1 -1
  602. metadata +92 -3
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M7.25 3.75a.75.75 0 0 0-1.5 0v6a4.25 4.25 0 0 0 8.5 0v-6a.75.75 0 0 0-1.5 0v6a2.75 2.75 0 1 1-5.5 0v-6Zm-2.5 11.75a.75.75 0 0 0 0 1.5h10.5a.75.75 0 0 0 0-1.5h-10.5Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M7.25 3.75a.75.75 0 0 0-1.5 0v6a4.25 4.25 0 0 0 8.5 0v-6a.75.75 0 0 0-1.5 0v6a2.75 2.75 0 1 1-5.5 0v-6Zm-2.5 11.75a.75.75 0 0 0 0 1.5h10.5a.75.75 0 0 0 0-1.5h-10.5Z"/></svg>
@@ -1 +1 @@
1
- <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3.488 5c2.149-1.934 3.99-3 6.512-3a8 8 0 0 1 8 8 8 8 0 0 1-8 8 1 1 0 1 0 0 2c5.523 0 10-4.477 10-10s-4.477-10-10-10c-3.297 0-5.644 1.496-8 3.647v-2.647a1 1 0 0 0-2 0v5a.998.998 0 0 0 1 1h5a1 1 0 0 0 0-2h-2.512z"/></svg>
1
+ <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M7.47 3.72a.75.75 0 0 1 1.06 1.06l-1.72 1.72h3.94a5 5 0 0 1 0 10h-1.5a.75.75 0 0 1 0-1.5h1.5a3.5 3.5 0 1 0 0-7h-3.94l1.72 1.72a.75.75 0 1 1-1.06 1.06l-3-3a.75.75 0 0 1 0-1.06l3-3Z"/></svg>
@@ -1 +1 @@
1
- <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M3 3v11h3.5c.775 0 1.388.662 1.926 1.244l.11.12a2 2 0 0 0 2.927-.001l.111-.119c.538-.582 1.151-1.244 1.926-1.244h3.5v-11h-14zm3-2h-3.5a1.5 1.5 0 0 0-1.5 1.5v15a1.5 1.5 0 0 0 1.5 1.5h15a1.5 1.5 0 0 0 1.5-1.5v-15a1.5 1.5 0 0 0-1.5-1.5h-11.5z"/></svg>
1
+ <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M12.53 4.78a.75.75 0 0 0-1.06-1.06l-1.47 1.47-1.47-1.47a.75.75 0 0 0-1.06 1.06l1.47 1.47-1.47 1.47a.75.75 0 0 0 1.06 1.06l1.47-1.47 1.47 1.47a.75.75 0 1 0 1.06-1.06l-1.47-1.47 1.47-1.47Z"/><path fill-rule="evenodd" d="m14.844 10-.336-2.265a.75.75 0 1 1 1.484-.22l.413 2.792c.063.425.095.853.095 1.282v1.661a3.25 3.25 0 0 1-3.25 3.25h-6.5a3.25 3.25 0 0 1-3.25-3.25v-1.66c0-.43.032-.858.094-1.283l.414-2.792a.75.75 0 0 1 1.484.22l-.336 2.265h2.484a1.25 1.25 0 0 1 1.185.855l.159.474a.25.25 0 0 0 .237.171h1.558a.25.25 0 0 0 .237-.17l.159-.475a1.25 1.25 0 0 1 1.185-.855h2.484Zm-9.843 1.5-.001.09v1.66c0 .967.784 1.75 1.75 1.75h6.5a1.75 1.75 0 0 0 1.75-1.75v-1.75h-2.46l-.1.303a1.75 1.75 0 0 1-1.66 1.197h-1.56a1.75 1.75 0 0 1-1.66-1.197l-.1-.303h-2.46Z"/></svg>
@@ -1 +1 @@
1
- <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M4 2h1v-2h-1.5a1.5 1.5 0 0 0-1.5 1.5v1.5h2v-1zm4.685 10.502h2.136v-.141c.011-1.17.23-1.302 1.02-1.777l.238-.144c1.11-.664 1.805-1.57 1.805-2.952 0-2.04-1.588-3.488-3.894-3.488-2.113 0-3.93 1.193-3.99 3.487h2.267c.054-1.135.86-1.533 1.711-1.533.924 0 1.666.616 1.666 1.564 0 .845-.561 1.424-1.292 1.883-.102.064-.2.122-.293.178-.882.528-1.363.816-1.374 2.782v.14zm.979 4.34c.712 0 1.322-.591 1.328-1.328a1.342 1.342 0 0 0-1.328-1.316c-.737 0-1.334.592-1.328 1.316a1.32 1.32 0 0 0 1.328 1.328zm-5.664 1.158v-1h-2v1.5a1.5 1.5 0 0 0 1.5 1.5h1.5v-2h-1zm11 0h1v-1h2v1.5a1.5 1.5 0 0 1-1.5 1.5h-1.5v-2zm-11-7v4h-2v-4h2zm0-2v-4h-2v4h2zm14 2v4h-2v-4h2zm0-2v-4h-2v4h2zm-2-6v-1h-1v-2h1.5a1.5 1.5 0 0 1 1.5 1.5v1.5h-2z"/></svg>
1
+ <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M10 7.25c-.69 0-1.25.56-1.25 1.25a.75.75 0 0 1-1.5 0 2.75 2.75 0 1 1 3.758 2.56.61.61 0 0 0-.226.147.154.154 0 0 0-.032.046.75.75 0 0 1-1.5-.003c0-.865.696-1.385 1.208-1.586a1.25 1.25 0 0 0-.458-2.414Zm.75 4.003v.002-.002Z"/><path d="M10 14.5a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"/><path fill-rule="evenodd" d="M4 5.75a2.75 2.75 0 0 1 2.75-2.75h6.5a2.75 2.75 0 0 1 2.75 2.75v8.5a2.75 2.75 0 0 1-2.75 2.75h-6.5a2.75 2.75 0 0 1-2.75-2.75v-8.5Zm2.75-1.25c-.69 0-1.25.56-1.25 1.25v8.5c0 .69.56 1.25 1.25 1.25h6.5c.69 0 1.25-.56 1.25-1.25v-8.5c0-.69-.56-1.25-1.25-1.25h-6.5Z"/></svg>
@@ -1 +1 @@
1
- <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m18 5.65-8-3.555-8 3.555v13.35h-2v-14c0-.396.232-.753.594-.913l9-4a.999.999 0 0 1 .812 0l9 4a1 1 0 0 1 .594.913v14h-2v-13.35z"/><path d="M9 15a.997.997 0 0 1-.707-.293l-2-2a1 1 0 0 1 1.414-1.414l1.293 1.293 3.293-3.293a1 1 0 1 1 1.414 1.415l-4 4a.999.999 0 0 1-.707.292z"/></svg>
1
+ <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M11.265 2.952a2.25 2.25 0 0 0-2.53 0l-4.094 2.783a3.75 3.75 0 0 0-1.641 3.101v7.413a.75.75 0 0 0 1.5 0v-7.413c0-.745.369-1.441.985-1.86l4.093-2.784a.75.75 0 0 1 .844 0l4.093 2.784a2.25 2.25 0 0 1 .985 1.86v7.413a.75.75 0 0 0 1.5 0v-7.413a3.75 3.75 0 0 0-1.641-3.1l-4.094-2.784Z"/><path d="M13.28 10.28a.75.75 0 0 0-1.06-1.061l-2.97 2.97-1.22-1.22a.75.75 0 1 0-1.06 1.06l1.75 1.75a.75.75 0 0 0 1.06 0l3.5-3.5Z"/></svg>
@@ -1 +1 @@
1
- <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M20 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10 10 4.477 10 10zm-14.707-1.707 4-4a1 1 0 0 1 1.414 0l4 4a1 1 0 0 1-1.414 1.414l-2.293-2.293v7.586a1 1 0 1 1-2 0v-7.586l-2.293 2.293a1 1 0 0 1-1.414-1.414z"/></svg>
1
+ <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M16.5 6.26a.75.75 0 0 1-1.5 0v-.51a.75.75 0 0 0-.75-.75h-8.5a.75.75 0 0 0-.75.75v.51a.75.75 0 0 1-1.5 0v-.51a2.25 2.25 0 0 1 2.25-2.25h8.5a2.25 2.25 0 0 1 2.25 2.25v.51Z"/><path d="M10.75 16.01a.75.75 0 0 1-1.5 0v-6.69l-1.72 1.72a.75.75 0 1 1-1.06-1.06l3-3a.75.75 0 0 1 1.06 0l3 3a.75.75 0 1 1-1.06 1.06l-1.72-1.72v6.69Z"/></svg>
@@ -1 +1 @@
1
- <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M17.5 1a1.5 1.5 0 0 1 1.5 1.5v12a1.5 1.5 0 0 1-1.5 1.5h-3.5v2.5a1.5 1.5 0 0 1-1.5 1.5h-11a1.5 1.5 0 0 1-1.5-1.5v-11a1.5 1.5 0 0 1 1.5-1.5h2.5v-3.5a1.5 1.5 0 0 1 1.5-1.5h12zm-6.5 13h6v-6l-6 6zm-9 4h10v-2.027l-6.495.022a1.5 1.5 0 0 1-1.505-1.5v-6.495h-2v10zm10-15h-6v6l6-6z"/></svg>
1
+ <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M6.01 6.01a2.75 2.75 0 0 1 2.74-2.51h5a2.75 2.75 0 0 1 2.75 2.75v5a2.75 2.75 0 0 1-2.51 2.74 2.75 2.75 0 0 1-2.74 2.51h-5a2.739 2.739 0 0 1-1.771-.646 1.001 1.001 0 0 1-.333-.333 2.739 2.739 0 0 1-.646-1.771v-5a2.75 2.75 0 0 1 2.51-2.74Zm1.515-.01h3.725c.675 0 1.293.243 1.771.646a1.003 1.003 0 0 1 .333.333c.403.478.646 1.096.646 1.771v3.725c.57-.116 1-.62 1-1.225v-5c0-.69-.56-1.25-1.25-1.25h-5c-.605 0-1.11.43-1.225 1Zm-1.275 1.5h4.836l-6.086 6.086v-4.836c0-.69.56-1.25 1.25-1.25Zm5 7.5h-4.836l6.086-6.086v4.836c0 .69-.56 1.25-1.25 1.25Z"/></svg>
@@ -1 +1 @@
1
- <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M19.928 9.629c-2.137-5.343-6.247-7.779-10.355-7.565-4.06.21-7.892 3.002-9.516 7.603l-.118.333.118.333c1.624 4.601 5.455 7.393 9.516 7.603 4.108.213 8.218-2.222 10.355-7.565l.149-.371-.149-.371zm-9.928 5.371a5 5 0 1 0 0-10 5 5 0 0 0 0 10z"/><circle cx="10" cy="10" r="3"/></svg>
1
+ <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M13 10a3 3 0 1 1-6 0 3 3 0 0 1 6 0Zm-1.5 0a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z"/><path fill-rule="evenodd" d="M10 4c-2.476 0-4.348 1.23-5.577 2.532a9.266 9.266 0 0 0-1.4 1.922 5.98 5.98 0 0 0-.37.818c-.082.227-.153.488-.153.728s.071.501.152.728c.088.246.213.524.371.818.317.587.784 1.27 1.4 1.922 1.229 1.302 3.1 2.532 5.577 2.532 2.476 0 4.348-1.23 5.577-2.532a9.265 9.265 0 0 0 1.4-1.922 5.98 5.98 0 0 0 .37-.818c.082-.227.153-.488.153-.728s-.071-.501-.152-.728a5.984 5.984 0 0 0-.371-.818 9.269 9.269 0 0 0-1.4-1.922c-1.229-1.302-3.1-2.532-5.577-2.532Zm-5.999 6.002v-.004c.004-.02.017-.09.064-.223a4.5 4.5 0 0 1 .278-.608 7.768 7.768 0 0 1 1.17-1.605c1.042-1.104 2.545-2.062 4.487-2.062 1.942 0 3.445.958 4.486 2.062a7.77 7.77 0 0 1 1.17 1.605c.13.24.221.447.279.608.047.132.06.203.064.223v.004c-.004.02-.017.09-.064.223a4.503 4.503 0 0 1-.278.608 7.768 7.768 0 0 1-1.17 1.605c-1.042 1.104-2.545 2.062-4.487 2.062-1.942 0-3.445-.958-4.486-2.062a7.766 7.766 0 0 1-1.17-1.605 4.5 4.5 0 0 1-.279-.608c-.047-.132-.06-.203-.064-.223Z"/></svg>
@@ -1 +1 @@
1
- <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M17.928 9.628c-.091-.229-2.317-5.628-7.928-5.628s-7.838 5.399-7.93 5.628a1.017 1.017 0 0 0 0 .744c.093.229 2.319 5.628 7.93 5.628s7.837-5.399 7.928-5.628a1.017 1.017 0 0 0 0-.744zm-7.928 4.372a4 4 0 1 1 0-8 4 4 0 0 1 0 8zm0-6a2 2 0 1 0 .002 4.001 2 2 0 0 0-.003-4.001z"/></svg>
1
+ <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M13 10a3 3 0 1 1-6 0 3 3 0 0 1 6 0Zm-1.5 0a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Z"/><path fill-rule="evenodd" d="M10 4c-2.476 0-4.348 1.23-5.577 2.532a9.266 9.266 0 0 0-1.4 1.922 5.98 5.98 0 0 0-.37.818c-.082.227-.153.488-.153.728s.071.501.152.728c.088.246.213.524.371.818.317.587.784 1.27 1.4 1.922 1.229 1.302 3.1 2.532 5.577 2.532 2.476 0 4.348-1.23 5.577-2.532a9.265 9.265 0 0 0 1.4-1.922 5.98 5.98 0 0 0 .37-.818c.082-.227.153-.488.153-.728s-.071-.501-.152-.728a5.984 5.984 0 0 0-.371-.818 9.269 9.269 0 0 0-1.4-1.922c-1.229-1.302-3.1-2.532-5.577-2.532Zm-5.999 6.002v-.004c.004-.02.017-.09.064-.223a4.5 4.5 0 0 1 .278-.608 7.768 7.768 0 0 1 1.17-1.605c1.042-1.104 2.545-2.062 4.487-2.062 1.942 0 3.445.958 4.486 2.062a7.77 7.77 0 0 1 1.17 1.605c.13.24.221.447.279.608.047.132.06.203.064.223v.004c-.004.02-.017.09-.064.223a4.503 4.503 0 0 1-.278.608 7.768 7.768 0 0 1-1.17 1.605c-1.042 1.104-2.545 2.062-4.487 2.062-1.942 0-3.445-.958-4.486-2.062a7.766 7.766 0 0 1-1.17-1.605 4.5 4.5 0 0 1-.279-.608c-.047-.132-.06-.203-.064-.223Z"/></svg>
@@ -1 +1 @@
1
- <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M14.414 9h4.586a1 1 0 1 1 0 2h-4.586l1.293 1.293a1 1 0 0 1-1.414 1.414l-3-3a1 1 0 0 1 0-1.414l3-3a1 1 0 1 1 1.414 1.414l-1.293 1.293zm-8.707-2.707 3 3a.999.999 0 0 1 0 1.414l-3 3a.997.997 0 0 1-1.631-.324 1 1 0 0 1 .217-1.09l1.293-1.293h-4.586a1 1 0 0 1 0-2h4.586l-1.293-1.293a1 1 0 0 1 1.414-1.414zm2.293-4.293v4l-2-2v-2.5a1.5 1.5 0 0 1 1.5-1.5h5a1.5 1.5 0 0 1 1.5 1.5v2.5l-2 2v-4h-4zm6 14-2-2v4h-4v-4l-2 2v2.5a1.5 1.5 0 0 0 1.5 1.5h5a1.5 1.5 0 0 0 1.5-1.5v-2.5z"/></svg>
1
+ <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M7.75 5c0-.966.784-1.75 1.75-1.75h1c.966 0 1.75.784 1.75 1.75v1.76a.75.75 0 0 1-1.5 0v-1.76a.25.25 0 0 0-.25-.25h-1a.25.25 0 0 0-.25.25v1.76a.75.75 0 0 1-1.5 0v-1.76Z"/><path d="M8.5 12.49a.75.75 0 0 1 .75.75v1.76c0 .138.112.25.25.25h1a.25.25 0 0 0 .25-.25v-1.76a.75.75 0 0 1 1.5 0v1.76a1.75 1.75 0 0 1-1.75 1.75h-1a1.75 1.75 0 0 1-1.75-1.75v-1.76a.75.75 0 0 1 .75-.75Z"/><path d="M4 10c0 .414.336.75.75.75h2.44l-.72.72a.75.75 0 1 0 1.06 1.06l2-2a.75.75 0 0 0 0-1.06l-2-2a.75.75 0 1 0-1.06 1.06l.72.72h-2.44a.75.75 0 0 0-.75.75Z"/><path d="M15.25 10.75a.75.75 0 0 0 0-1.5h-2.44l.72-.72a.75.75 0 0 0-1.06-1.06l-2 2a.75.75 0 0 0 0 1.06l2 2a.75.75 0 1 0 1.06-1.06l-.72-.72h2.44Z"/></svg>
@@ -1 +1 @@
1
- <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M11 14.414v4.586a1 1 0 0 1-2 0v-4.586l-1.293 1.293a1 1 0 0 1-1.414-1.414l3-3a1 1 0 0 1 1.414 0l3 3a1 1 0 0 1-1.414 1.414l-1.293-1.293Zm2.707-8.707-3 3a1 1 0 0 1-1.414 0l-3-3a.997.997 0 0 1 .324-1.631.999.999 0 0 1 1.09.217l1.293 1.293v-4.586a1 1 0 0 1 2 0v4.586l1.293-1.293a1 1 0 1 1 1.414 1.414Zm4.293 2.293h-4l2-2h2.5a1.5 1.5 0 0 1 1.5 1.5v5a1.5 1.5 0 0 1-1.5 1.5h-2.5l-2-2h4v-4Zm-14 6 2-2h-4v-4h4l-2-2h-2.5a1.5 1.5 0 0 0-1.5 1.5v5a1.5 1.5 0 0 0 1.5 1.5h2.5Z"/></svg>
1
+ <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10 4a.75.75 0 0 0-.75.75v2.44l-.72-.72a.75.75 0 1 0-1.06 1.06l2 2a.75.75 0 0 0 1.06 0l2-2a.75.75 0 0 0-1.06-1.06l-.72.72v-2.44a.75.75 0 0 0-.75-.75Z"/><path d="M4.75 12.25a1.75 1.75 0 0 1-1.75-1.75v-1c0-.966.784-1.75 1.75-1.75h1.875a.75.75 0 0 1 0 1.5h-1.875a.25.25 0 0 0-.25.25v1c0 .138.112.25.25.25h1.875a.75.75 0 0 1 0 1.5h-1.875Z"/><path d="M12.625 11.5a.75.75 0 0 1 .75-.75h1.875a.25.25 0 0 0 .25-.25v-1a.25.25 0 0 0-.25-.25h-1.875a.75.75 0 0 1 0-1.5h1.875c.966 0 1.75.784 1.75 1.75v1a1.75 1.75 0 0 1-1.75 1.75h-1.875a.75.75 0 0 1-.75-.75Z"/><path d="M9.25 15.25a.75.75 0 0 0 1.5 0v-2.44l.72.72a.75.75 0 0 0 1.06-1.06l-2-2a.75.75 0 0 0-1.06 0l-2 2a.75.75 0 1 0 1.06 1.06l.72-.72v2.44Z"/></svg>
@@ -1 +1 @@
1
- <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m13.707 16.707-3 3a.999.999 0 0 1-1.414 0l-3-3a.997.997 0 0 1 .324-1.631 1 1 0 0 1 1.09.217l1.293 1.293v-4.586a1 1 0 0 1 2 0v4.586l1.293-1.293a1 1 0 0 1 1.414 1.414Zm0-13.414a1 1 0 0 1-1.414 1.414l-1.293-1.293v4.586a1 1 0 1 1-2 0v-4.586l-1.293 1.293a1.002 1.002 0 0 1-1.414 0 1 1 0 0 1 0-1.414l3-3a.997.997 0 0 1 1.414 0l3 3Z"/><path d="M18.5 1a1.5 1.5 0 0 1 1.5 1.5v15a1.5 1.5 0 0 1-1.5 1.5h-4.5l2-2h2v-14h-2l-2-2h4.5Zm-16.5 16h2l2 2h-4.5a1.5 1.5 0 0 1-1.5-1.5v-15a1.5 1.5 0 0 1 1.5-1.5h4.5l-2 2h-2v14Z"/></svg>
1
+ <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M9.25 9v-2.44l-.72.72a.75.75 0 1 1-1.06-1.06l2-2a.75.75 0 0 1 1.06 0l2 2a.75.75 0 0 1-1.06 1.06l-.72-.72v2.44a.75.75 0 0 1-1.5 0Z"/><path d="M5.75 16a2.75 2.75 0 0 1-2.75-2.75v-6.5a2.75 2.75 0 0 1 2.75-2.75h.875a.75.75 0 0 1 0 1.5h-.875c-.69 0-1.25.56-1.25 1.25v6.5c0 .69.56 1.25 1.25 1.25h.875a.75.75 0 0 1 0 1.5h-.875Z"/><path d="M12.625 15.25a.75.75 0 0 1 .75-.75h.875c.69 0 1.25-.56 1.25-1.25v-6.5c0-.69-.56-1.25-1.25-1.25h-.875a.75.75 0 0 1 0-1.5h.875a2.75 2.75 0 0 1 2.75 2.75v6.5a2.75 2.75 0 0 1-2.75 2.75h-.875a.75.75 0 0 1-.75-.75Z"/><path d="M9.25 13.44v-2.44a.75.75 0 0 1 1.5 0v2.44l.72-.72a.75.75 0 0 1 1.06 1.06l-2 2.001a.75.75 0 0 1-1.06 0l-2-2a.75.75 0 1 1 1.06-1.06l.72.72Z"/></svg>
@@ -1 +1 @@
1
- <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="m16.707 6.293 3 3a.998.998 0 0 1 0 1.414l-3 3a.997.997 0 0 1-1.631-.324 1 1 0 0 1 .217-1.09l1.293-1.293h-4.586a1 1 0 1 1 0-2h4.586l-1.293-1.293a1 1 0 1 1 1.414-1.414zm-13.414 0a1 1 0 1 1 1.414 1.414l-1.293 1.293h4.586a1 1 0 0 1 0 2h-4.586l1.293 1.293a1.003 1.003 0 0 1 0 1.414 1 1 0 0 1-1.414 0l-3-3a.998.998 0 0 1 0-1.414l3-3z"/><path d="M1 1.5a1.5 1.5 0 0 1 1.5-1.5h15a1.5 1.5 0 0 1 1.5 1.5v4.5l-2-2v-2h-14v2l-2 2v-4.5zm16 16.5v-2l2-2v4.5a1.5 1.5 0 0 1-1.5 1.5h-15a1.5 1.5 0 0 1-1.5-1.5v-4.5l2 2v2h14z"/></svg>
1
+ <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M4 5.75a2.75 2.75 0 0 1 2.75-2.75h6.5a2.75 2.75 0 0 1 2.75 2.75v.875a.75.75 0 0 1-1.5 0v-.875c0-.69-.56-1.25-1.25-1.25h-6.5c-.69 0-1.25.56-1.25 1.25v.875a.75.75 0 0 1-1.5 0v-.875Z"/><path d="M4.75 12.625a.75.75 0 0 1 .75.75v.875c0 .69.56 1.25 1.25 1.25h6.5c.69 0 1.25-.56 1.25-1.25v-.875a.75.75 0 0 1 1.5 0v.875a2.75 2.75 0 0 1-2.75 2.75h-6.5a2.75 2.75 0 0 1-2.75-2.75v-.875a.75.75 0 0 1 .75-.75Z"/><path d="M9.75 10a.75.75 0 0 1-.75.75h-2.44l.72.72a.75.75 0 1 1-1.06 1.06l-2-2a.75.75 0 0 1 0-1.06l2-2a.75.75 0 1 1 1.06 1.06l-.72.72h2.44a.75.75 0 0 1 .75.75Z"/><path d="M11 10.75a.75.75 0 0 1 0-1.5h2.44l-.72-.72a.75.75 0 0 1 1.06-1.06l2 2a.75.75 0 0 1 0 1.06l-2 2a.75.75 0 1 1-1.06-1.06l.72-.72h-2.44Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M16.922 5.189c-.247-1.028-1.406-1.319-2.577-1.14-.6.094-2.628 1-3.32 3.171 1.223-.096 1.864.089 1.747 1.451-.05.57-.333 1.195-.652 1.794-.366.692-1.055 2.047-1.957 1.07-.812-.88-.75-2.561-.935-3.682-.105-.63-.214-1.413-.418-2.06-.174-.557-.576-1.226-1.068-1.373-.528-.155-1.18.09-1.563.319-1.192.707-2.084 1.682-3.107 2.522-.13.131-.053.242-.01.34.147.23.204.369.484.41.728.108 1.42-.686 1.901.142.295.504.387 1.056.575 1.6.25.727.445 1.516.651 2.35.35 1.411.776 3.52 1.982 4.04.614.262 1.538-.09 2.006-.371 1.268-.76 2.299-1.828 3.101-2.984 2.089-3.005 3.09-6.025 3.199-6.6.077-.417.027-.761-.04-.999Z"/></svg>
@@ -1 +1 @@
1
- <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M20 1.5a1.5 1.5 0 0 0-1.5-1.5h-6.5c-.768 0-1.469.29-2 .766a2.987 2.987 0 0 0-2-.766h-6.5a1.5 1.5 0 0 0-1.5 1.5v15a1.5 1.5 0 0 0 1.5 1.5h6.5a1 1 0 0 1 1 1 1 1 0 1 0 2 0 1 1 0 0 1 1-1h6.5a1.5 1.5 0 0 0 1.5-1.5v-15zm-2 14.5h-6c-.352 0-.687.067-1 .179v-13.179a1 1 0 0 1 1-1h6v14zm-10 0h-6v-14h6a1 1 0 0 1 1 1v13.179a2.959 2.959 0 0 0-1-.179z"/><path d="M4 4h3v2h-3zm9 0h3v2h-3zm-9 4h3v2h-3zm9 0h3v2h-3zm-9 4h3v2h-3z"/></svg>
1
+ <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M6.75 6a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Z"/><path d="M6.75 9a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Z"/><path d="M6.75 12a.75.75 0 0 0 0 1.5h.5a.75.75 0 0 0 0-1.5h-.5Z"/><path d="M12 6.75a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75Z"/><path d="M12 9.75a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75Z"/><path fill-rule="evenodd" d="M7.586 3.5c.87 0 1.714.273 2.414.771a4.164 4.164 0 0 1 2.414-.771h2.336c.966 0 1.75.784 1.75 1.75v9.5a1.75 1.75 0 0 1-1.75 1.75h-.238a9.25 9.25 0 0 0-3.161.557l-1.095.398a.75.75 0 0 1-.493.007l-1.46-.487a9.25 9.25 0 0 0-2.926-.475h-.127a1.75 1.75 0 0 1-1.75-1.75v-9.5c0-.966.784-1.75 1.75-1.75h2.336Zm-2.586 1.75a.25.25 0 0 1 .25-.25h2.336c.608 0 1.194.208 1.664.584v10.125l-.473-.157a10.75 10.75 0 0 0-3.4-.552h-.127a.25.25 0 0 1-.25-.25v-9.5Zm5.75 10.43v-10.096a2.664 2.664 0 0 1 1.664-.584h2.336a.25.25 0 0 1 .25.25v9.5a.25.25 0 0 1-.25.25h-.238a10.75 10.75 0 0 0-3.674.647l-.088.032Z"/></svg>
@@ -1 +1 @@
1
- <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M18 3a1 1 0 0 0-1-1h-14a1 1 0 0 0 0 2h1v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2v-12h1a1 1 0 0 0 1-1Zm-4 1h-8v7h8v-2h-2a1 1 0 1 1 0-2h2v-3Z"/></svg>
1
+ <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M13.5 5v3.042a3 3 0 0 0 .137.895l1.552 4.966a2 2 0 0 1-1.91 2.597h-6.559a2 2 0 0 1-1.909-2.597l1.552-4.966a3 3 0 0 0 .137-.895v-3.042h-.5a.75.75 0 0 1 0-1.5h8a.75.75 0 0 1 0 1.5h-.5Zm-5.5 3.042v-3.042h4v2.25h-.75a.75.75 0 0 0 0 1.5h.806c.034.214.084.427.149.634l.27.866h-4.95l.27-.866a4.5 4.5 0 0 0 .205-1.342Zm-.944 3.708h5.888l.813 2.6a.5.5 0 0 1-.477.65h-6.56a.5.5 0 0 1-.477-.65l.813-2.6Z"/></svg>
@@ -1 +1 @@
1
- <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M15.666.376c.495-.501 1.189-.501 1.684 0l2.278 2.307c.496.502.496 1.204 0 1.706l-3.665 3.611-3.963-4.013 3.666-3.61Z"/><path d="m10.993 5 4.007 4.007-10.618 10.617c-.5.501-1.202.501-1.703 0l-2.303-2.303c-.501-.501-.501-1.203 0-1.703l10.617-10.618Z"/><path d="M16 13c0-.6.4-1 1-1s1 .4 1 1 .4 1 1 1 1 .4 1 1-.4 1-1 1-1 .4-1 1-.4 1-1 1-1-.4-1-1-.4-1-1-1-1-.4-1-1 .4-1 1-1 1-.4 1-1Z"/><path d="M4 1c0-.6.4-1 1-1s1 .4 1 1 .4 1 1 1 1 .4 1 1-.4 1-1 1-1 .4-1 1-.4 1-1 1-1-.4-1-1-.4-1-1-1-1-.4-1-1 .4-1 1-1 1-.4 1-1Z"/></svg>
1
+ <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M14.737 3.677a1.75 1.75 0 0 0-2.474 0l-8.586 8.585a1.75 1.75 0 0 0 0 2.475l1.586 1.586a1.75 1.75 0 0 0 2.474 0l6.784-6.784.01-.009.008-.009 1.784-1.784a1.75 1.75 0 0 0 0-2.475l-1.586-1.585Zm-.737 4.262 1.263-1.262a.25.25 0 0 0 0-.354l-1.586-1.586a.25.25 0 0 0-.354 0l-1.262 1.263 1.939 1.94Zm-3-.878-6.263 6.262a.25.25 0 0 0 0 .354l1.586 1.585a.25.25 0 0 0 .354 0l6.262-6.262-1.94-1.94Z"/><path d="M14.25 12a.75.75 0 0 1 .75.75v.75h.75a.75.75 0 0 1 0 1.5h-.75v.75a.75.75 0 0 1-1.5 0v-.75h-.75a.75.75 0 0 1 0-1.5h.75v-.75a.75.75 0 0 1 .75-.75Z"/><path d="M6.5 4.25a.75.75 0 0 0-1.5 0v.75h-.75a.75.75 0 0 0 0 1.5h.75v.75a.75.75 0 0 0 1.5 0v-.75h.75a.75.75 0 0 0 0-1.5h-.75v-.75Z"/></svg>
@@ -1 +1 @@
1
- <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M3.44 15.56a1.5 1.5 0 0 1 0-2.12l6.792-6.793 3.121 3.12-6.792 6.794a1.5 1.5 0 0 1-2.122 0l-1-1Zm11.328-7.206 1.792-1.794a1.5 1.5 0 0 0 0-2.122l-1-1a1.5 1.5 0 0 0-2.122 0l-1.793 1.793 3.122 3.122Zm-1.768 3.646c1 0 2-1 2-2 0 1 1 2 2 2-1 0-2 1-2 2 0-1-1-2-2-2Zm-7-7c1 0 2-1 2-2 0 1 1 2 2 2-1 0-2 1-2 2 0-1-1-2-2-2Z"/></svg>
1
+ <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M14.737 3.677a1.75 1.75 0 0 0-2.474 0l-8.586 8.585a1.75 1.75 0 0 0 0 2.475l1.586 1.586a1.75 1.75 0 0 0 2.474 0l6.784-6.784.01-.009.008-.009 1.784-1.784a1.75 1.75 0 0 0 0-2.475l-1.586-1.585Zm-.737 4.262 1.263-1.262a.25.25 0 0 0 0-.354l-1.586-1.586a.25.25 0 0 0-.354 0l-1.262 1.263 1.939 1.94Zm-3-.878-6.263 6.262a.25.25 0 0 0 0 .354l1.586 1.585a.25.25 0 0 0 .354 0l6.262-6.262-1.94-1.94Z"/><path d="M14.25 12a.75.75 0 0 1 .75.75v.75h.75a.75.75 0 0 1 0 1.5h-.75v.75a.75.75 0 0 1-1.5 0v-.75h-.75a.75.75 0 0 1 0-1.5h.75v-.75a.75.75 0 0 1 .75-.75Z"/><path d="M6.5 4.25a.75.75 0 0 0-1.5 0v.75h-.75a.75.75 0 0 0 0 1.5h.75v.75a.75.75 0 0 0 1.5 0v-.75h.75a.75.75 0 0 0 0-1.5h-.75v-.75Z"/></svg>
@@ -1 +1 @@
1
- <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M6 4a3 3 0 0 0-3 3v6a3 3 0 0 0 3 3v2.5a1.5 1.5 0 0 0 1.5 1.5h5a1.5 1.5 0 0 0 1.5-1.5v-2.5a3 3 0 0 0 3-3v-1a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1v-1a3 3 0 0 0-3-3v-2.5a1.5 1.5 0 0 0-1.5-1.5h-5a1.5 1.5 0 0 0-1.5 1.5v2.5zm2 0v-2h4v2h-4zm4 12v2h-4v-2h4zm-6-10a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1v-6a1 1 0 0 0-1-1h-8z"/></svg>
1
+ <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10.75 8.75a.75.75 0 0 0-1.5 0v1.25c0 .199.079.39.22.53l1.25 1.25a.75.75 0 1 0 1.06-1.06l-1.03-1.03v-.94Z"/><path fill-rule="evenodd" d="M9 3a1.75 1.75 0 0 0-1.75 1.75v.933a3.75 3.75 0 0 0-2 3.317v2a3.75 3.75 0 0 0 2 3.318v.932c0 .966.784 1.75 1.75 1.75h2a1.75 1.75 0 0 0 1.75-1.75v-.932a3.75 3.75 0 0 0 2-3.318v-2a3.75 3.75 0 0 0-2-3.317v-.933a1.75 1.75 0 0 0-1.75-1.75h-2Zm0 2.25c-.084 0-.167.003-.25.008v-.508a.25.25 0 0 1 .25-.25h2a.25.25 0 0 1 .25.25v.508a3.805 3.805 0 0 0-.25-.008h-2Zm-.25 10v-.508c.083.005.166.008.25.008h2c.084 0 .167-.003.25-.008v.508a.25.25 0 0 1-.25.25h-2a.25.25 0 0 1-.25-.25Zm.25-8.5a2.25 2.25 0 0 0-2.25 2.25v2a2.25 2.25 0 0 0 2.25 2.25h2a2.25 2.25 0 0 0 2.25-2.25v-2a2.25 2.25 0 0 0-2.25-2.25h-2Z"/></svg>
@@ -1 +1 @@
1
- <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M12.83 6a3 3 0 1 0-5.66 0h-1.012a2.19 2.19 0 0 0-2.095 1.568l-1.97 6.6c-.419 1.411.631 2.832 2.097 2.832h11.622c1.465 0 2.516-1.42 2.095-2.832l-1.969-6.6a2.19 2.19 0 0 0-2.096-1.568h-1.013Zm-2.83 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"/></svg>
1
+ <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M4.75 3.75a.75.75 0 0 0-1.5 0c0 .966.784 1.75 1.75 1.75h4.25v1.5h-3.5a2.25 2.25 0 0 0-2.25 2.25v5a2.25 2.25 0 0 0 2.25 2.25h8.5a2.25 2.25 0 0 0 2.25-2.25v-5a2.25 2.25 0 0 0-2.25-2.25h-3.5v-1.5h4.25a1.75 1.75 0 0 0 1.75-1.75.75.75 0 0 0-1.5 0 .25.25 0 0 1-.25.25h-10a.25.25 0 0 1-.25-.25Zm.25 5.5a.75.75 0 0 1 .75-.75h4.25a3 3 0 1 0 0 6 3 3 0 0 0 0-6h4.25a.75.75 0 0 1 .75.75v5a.75.75 0 0 1-.75.75h-8.5a.75.75 0 0 1-.75-.75v-5Zm5 3.75a1.5 1.5 0 0 0 1.478-1.756l-.998.832a.75.75 0 1 1-.96-1.152l.998-.832a1.5 1.5 0 1 0-.518 2.908Z"/></svg>
@@ -1 +1 @@
1
- <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M17 3a1 1 0 1 0-2 0v5.392a2.5 2.5 0 0 0-.32-1.223l-2.184-3.892a2.5 2.5 0 0 0-2.18-1.277h-2.816a2.5 2.5 0 0 0-2.5 2.5v1.5h-2.5a1.5 1.5 0 0 0-1.5 1.5v2.585a1.5 1.5 0 0 0-1 1.415v5.5a3 3 0 1 0 6 0h3a3 3 0 1 0 6 0v-2h4a1 1 0 1 0 0-2h-2v-10zm-14 7h2v-2h-2v2zm10-1.608v1.608h-6v-5.5a.5.5 0 0 1 .5-.5h2.816a.5.5 0 0 1 .436.255l2.184 3.892a.5.5 0 0 1 .064.245zm-9 8.608a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm8 1a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"/></svg>
1
+ <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M15 4.25a.75.75 0 0 0-1.5 0v3.98l-.8-2.001a2.75 2.75 0 0 0-2.554-1.729h-3.396a.75.75 0 0 0-.75.75v3.25h-1.75a.75.75 0 0 0-.75.75v3.159a2.5 2.5 0 1 0 4.636 1.841h2.479a2.501 2.501 0 0 0 4.835-1.25h1.8a.75.75 0 0 0 0-1.5h-2.25v-7.25Zm-8.589 10a.998.998 0 0 0 0-1.5.996.996 0 0 0-1.322 0 .998.998 0 0 0 0 1.5.996.996 0 0 0 1.322 0Zm-1.411-3.136a2.501 2.501 0 0 1 3.136 1.636h2.479a2.502 2.502 0 0 1 2.135-1.738v-.012h-3.25a.75.75 0 0 1-.256-.045l-2.626-.955h-1.618v1.114Zm7.338 1.636a1 1 0 1 1 1.323 1.498 1 1 0 0 1-1.322-1.498Zm-2.706-3.25h2.76l-1.085-2.714a1.25 1.25 0 0 0-1.161-.786h-2.646v2.725l2.132.775Z"/></svg>
@@ -1 +1 @@
1
- <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10 18a1.501 1.501 0 0 1 0-3 1.501 1.501 0 0 1 0 3zm-8.996-10a.997.997 0 0 1-.607-1.795c2.709-2.067 6.119-3.205 9.603-3.205 3.483 0 6.892 1.137 9.598 3.202a1 1 0 1 1-1.212 1.59c-2.36-1.801-5.338-2.792-8.386-2.792-3.05 0-6.029.992-8.391 2.795a.988.988 0 0 1-.605.205zm2.996 3a.996.996 0 0 1-.958-1.293.998.998 0 0 1 .352-.502c1.861-1.422 4.208-2.205 6.606-2.205 2.397 0 4.742.782 6.601 2.203a1 1 0 0 1-1.213 1.59c-1.513-1.156-3.427-1.793-5.388-1.793-1.962 0-3.877.638-5.392 1.795a.989.989 0 0 1-.605.205h-.002zm8.994 3a.994.994 0 0 1-.594-.197 4.052 4.052 0 0 0-4.804 0 .999.999 0 1 1-1.192-1.606c2.108-1.565 5.079-1.566 7.187 0a1 1 0 0 1-.595 1.803z"/></svg>
1
+ <svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2.25 7.218a.75.75 0 0 0 1.06 1.06 9.5 9.5 0 0 1 13.435 0 .75.75 0 1 0 1.061-1.06c-4.296-4.296-11.26-4.296-15.556 0Z"/><path d="M4.725 10.753a.75.75 0 0 1 0-1.06 7.5 7.5 0 0 1 10.606 0 .75.75 0 1 1-1.06 1.06 6 6 0 0 0-8.486 0 .75.75 0 0 1-1.06 0Z"/><path d="M6.846 11.814a.75.75 0 0 0 1.06 1.06 3 3 0 0 1 4.243 0 .75.75 0 1 0 1.06-1.06 4.5 4.5 0 0 0-6.363 0Z"/><path d="M8.967 13.936a1.5 1.5 0 1 0 2.122 2.121 1.5 1.5 0 0 0-2.122-2.121Z"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path d="M16.86 7s-.14-.97-.56-1.4c-.53-.56-1.13-.56-1.4-.6-1.96-.14-4.9-.14-4.9-.14s-2.94 0-4.9.14c-.28.04-.87.04-1.4.6-.43.43-.56 1.4-.56 1.4s-.14 1.14-.14 2.28v1.07c0 1.14.14 2.28.14 2.28s.14.98.55 1.4c.54.56 1.24.55 1.55.6 1.12.11 4.76.15 4.76.15s2.94 0 4.9-.15c.27-.03.87-.04 1.4-.6.42-.42.56-1.4.56-1.4s.14-1.14.14-2.28v-1.07c0-1.14-.14-2.28-.14-2.28Zm-8.31 4.65v-3.96l3.78 1.98-3.78 1.98Z"/></svg>
@@ -13,8 +13,10 @@ import Scrollable from './scrollable_controller'
13
13
  import Select from './select_controller'
14
14
  import TextField from './text_field_controller'
15
15
  import Toast from './toast_controller'
16
+ import Tooltip from './tooltip_controller'
16
17
 
17
- export { Frame, Modal, Polaris, Popover, ResourceItem, Scrollable, Select, TextField }
18
+
19
+ export { Frame, Modal, Polaris, Popover, ResourceItem, Scrollable, Select, TextField, Tooltip }
18
20
 
19
21
  export function registerPolarisControllers(application) {
20
22
  application.register('polaris-autocomplete', Autocomplete)
@@ -32,4 +34,5 @@ export function registerPolarisControllers(application) {
32
34
  application.register('polaris-select', Select)
33
35
  application.register('polaris-text-field', TextField)
34
36
  application.register('polaris-toast', Toast)
37
+ application.register('polaris-tooltip', Tooltip)
35
38
  }
@@ -1,5 +1,5 @@
1
1
  import { Controller } from "@hotwired/stimulus"
2
- import { createPopper } from "@popperjs/core/dist/esm"
2
+ import { computePosition, autoUpdate, offset, flip, shift } from "@floating-ui/dom"
3
3
 
4
4
  export default class extends Controller {
5
5
  static targets = ["activator", "popover", "template"]
@@ -7,52 +7,64 @@ export default class extends Controller {
7
7
  static values = {
8
8
  appendToBody: Boolean,
9
9
  placement: String,
10
- active: Boolean
10
+ active: Boolean,
11
+ textFieldActivator: Boolean
11
12
  }
12
13
 
13
14
  connect() {
14
- const popperOptions = {
15
- placement: this.placementValue,
16
- modifiers: [
17
- {
18
- name: 'offset',
19
- options: {
20
- offset: [0, 5],
21
- },
22
- },
23
- {
24
- name: 'flip',
25
- options: {
26
- allowedAutoPlacements: ['top-start', 'bottom-start', 'top-end', 'bottom-end']
27
- },
28
- }
29
- ]
30
- }
31
-
32
15
  if (this.appendToBodyValue) {
33
16
  const clonedTemplate = this.templateTarget.content.cloneNode(true)
34
17
  this.target = clonedTemplate.firstElementChild
35
- popperOptions['strategy'] = 'fixed'
36
-
37
18
  document.body.appendChild(clonedTemplate)
38
19
  }
39
20
 
40
- this.popper = createPopper(this.activatorTarget, this.target, popperOptions)
21
+ this.target.style.display = 'none'
22
+
41
23
  if (this.activeValue) {
42
24
  this.show()
43
25
  }
44
26
  }
45
27
 
46
- async toggle() {
47
- this.target.classList.toggle(this.closedClass)
48
- this.target.classList.toggle(this.openClass)
49
- await this.popper.update()
28
+ disconnect() {
29
+ if (this.cleanup) {
30
+ this.cleanup()
31
+ }
50
32
  }
51
33
 
52
- async show() {
34
+ updatePosition() {
35
+ if (this.cleanup) {
36
+ this.cleanup()
37
+ }
38
+ this.cleanup = autoUpdate(this.activator, this.target, () => {
39
+ computePosition(this.activator, this.target, {
40
+ placement: this.placementValue,
41
+ middleware: [
42
+ offset(5),
43
+ flip(),
44
+ shift({ padding: 5 })
45
+ ]
46
+ }).then(({x, y}) => {
47
+ Object.assign(this.target.style, {
48
+ left: `${x}px`,
49
+ top: `${y}px`,
50
+ })
51
+ })
52
+ })
53
+ }
54
+
55
+ toggle() {
56
+ if (this.target.classList.contains(this.openClass)) {
57
+ this.forceHide()
58
+ } else {
59
+ this.show()
60
+ }
61
+ }
62
+
63
+ show() {
64
+ this.target.style.display = 'block'
53
65
  this.target.classList.remove(this.closedClass)
54
66
  this.target.classList.add(this.openClass)
55
- await this.popper.update()
67
+ this.updatePosition()
56
68
  }
57
69
 
58
70
  hide(event) {
@@ -64,10 +76,19 @@ export default class extends Controller {
64
76
  }
65
77
 
66
78
  forceHide() {
79
+ this.target.style.display = 'none'
67
80
  this.target.classList.remove(this.openClass)
68
81
  this.target.classList.add(this.closedClass)
69
82
  }
70
83
 
84
+ get activator() {
85
+ if (this.textFieldActivatorValue) {
86
+ return this.activatorTarget.querySelector('[data-controller="polaris-text-field"]')
87
+ } else {
88
+ return this.activatorTarget
89
+ }
90
+ }
91
+
71
92
  get target() {
72
93
  if (this.hasPopoverTarget) {
73
94
  return this.popoverTarget
@@ -0,0 +1,67 @@
1
+ import { Controller } from "@hotwired/stimulus"
2
+ import { computePosition, autoUpdate, offset, flip, shift, arrow } from "@floating-ui/dom"
3
+
4
+ export default class extends Controller {
5
+ static targets = ["template"]
6
+ static values = { active: Boolean, position: String }
7
+
8
+ show(event) {
9
+ if (!this.activeValue) return;
10
+
11
+ const element = event.currentTarget;
12
+
13
+ let tooltip = document.createElement("span");
14
+ tooltip.className = "Polaris-Tooltip"
15
+ tooltip.innerHTML = this.templateTarget.innerHTML;
16
+ this.tooltip = element.appendChild(tooltip);
17
+
18
+ const arrowElement = element.querySelector("[data-tooltip-arrow]");
19
+
20
+ computePosition(element, this.tooltip, {
21
+ placement: this.positionValue,
22
+ middleware: [
23
+ offset(this.offsetValue),
24
+ flip(),
25
+ shift({ padding: 5 }),
26
+ arrow({ element: arrowElement })
27
+ ]
28
+ }).then(({x, y, placement, middlewareData}) => {
29
+ Object.assign(this.tooltip.style, {
30
+ left: `${x}px`,
31
+ top: `${y}px`,
32
+ })
33
+
34
+ const {x: arrowX, y: arrowY} = middlewareData.arrow;
35
+
36
+ const staticSide = {
37
+ top: 'bottom',
38
+ right: 'left',
39
+ bottom: 'top',
40
+ left: 'right',
41
+ }[placement.split('-')[0]];
42
+
43
+ Object.assign(arrowElement.style, {
44
+ left: arrowX != null ? `${arrowX}px` : '',
45
+ top: arrowY != null ? `${arrowY}px` : '',
46
+ right: '',
47
+ bottom: '',
48
+ [staticSide]: '-4px',
49
+ });
50
+ })
51
+ }
52
+
53
+ hide() {
54
+ if (this.tooltip) {
55
+ this.tooltip.remove();
56
+ }
57
+ }
58
+
59
+ get offsetValue() {
60
+ switch (this.positionValue) {
61
+ case "top": case "bottom": case "left":
62
+ return 8
63
+ case "right":
64
+ return 6
65
+ }
66
+ }
67
+ }