polaris_view_components 1.1.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/icons/polaris/AbandonedCartFilledMajor.svg +1 -0
- data/app/assets/icons/polaris/AbandonedCartMajor.svg +1 -1
- data/app/assets/icons/polaris/AccessibilityMajor.svg +1 -1
- data/app/assets/icons/polaris/ActivitiesMajor.svg +1 -1
- data/app/assets/icons/polaris/AddCodeMajor.svg +1 -1
- data/app/assets/icons/polaris/AddImageMajor.svg +1 -1
- data/app/assets/icons/polaris/AddMajor.svg +1 -1
- data/app/assets/icons/polaris/AddNoteMajor.svg +1 -1
- data/app/assets/icons/polaris/AddProductMajor.svg +1 -1
- data/app/assets/icons/polaris/AdjustMinor.svg +1 -1
- data/app/assets/icons/polaris/AffiliateMajor.svg +1 -1
- data/app/assets/icons/polaris/AlertMinor.svg +1 -1
- data/app/assets/icons/polaris/AnalyticsBarHorizontalMinor.svg +1 -1
- data/app/assets/icons/polaris/AnalyticsBarStackedMinor.svg +1 -1
- data/app/assets/icons/polaris/AnalyticsCohortMinor.svg +1 -1
- data/app/assets/icons/polaris/AnalyticsDonutMinor.svg +1 -1
- data/app/assets/icons/polaris/AnalyticsFilledMinor.svg +1 -0
- data/app/assets/icons/polaris/AnalyticsFunnelMinor.svg +1 -1
- data/app/assets/icons/polaris/AnalyticsLineMinor.svg +1 -1
- data/app/assets/icons/polaris/AnalyticsMajor.svg +1 -1
- data/app/assets/icons/polaris/AnalyticsMinor.svg +1 -1
- data/app/assets/icons/polaris/AnalyticsTableMinor.svg +1 -1
- data/app/assets/icons/polaris/AnyClickModelMinor.svg +1 -1
- data/app/assets/icons/polaris/AppExtensionMinor.svg +1 -1
- data/app/assets/icons/polaris/AppsFilledMajor.svg +1 -0
- data/app/assets/icons/polaris/AppsMajor.svg +1 -1
- data/app/assets/icons/polaris/AppsMinor.svg +1 -1
- data/app/assets/icons/polaris/ArchiveMajor.svg +1 -1
- data/app/assets/icons/polaris/ArchiveMinor.svg +1 -1
- data/app/assets/icons/polaris/ArrowDownMinor.svg +1 -1
- data/app/assets/icons/polaris/ArrowLeftMinor.svg +1 -1
- data/app/assets/icons/polaris/ArrowRightMinor.svg +1 -1
- data/app/assets/icons/polaris/ArrowUpMinor.svg +1 -1
- data/app/assets/icons/polaris/AttachmentFilledMajor.svg +1 -0
- data/app/assets/icons/polaris/AttachmentMajor.svg +1 -1
- data/app/assets/icons/polaris/AutomationFilledMajor.svg +1 -0
- data/app/assets/icons/polaris/AutomationMajor.svg +1 -1
- data/app/assets/icons/polaris/BackspaceMajor.svg +1 -1
- data/app/assets/icons/polaris/BalanceFilledMajor.svg +1 -0
- data/app/assets/icons/polaris/BalanceMajor.svg +1 -1
- data/app/assets/icons/polaris/BankFilledMajor.svg +1 -0
- data/app/assets/icons/polaris/BankMajor.svg +1 -1
- data/app/assets/icons/polaris/BarcodeMajor.svg +1 -1
- data/app/assets/icons/polaris/BehaviorFilledMajor.svg +1 -0
- data/app/assets/icons/polaris/BehaviorMajor.svg +1 -1
- data/app/assets/icons/polaris/BehaviorMinor.svg +1 -1
- data/app/assets/icons/polaris/BillingStatementDollarFilledMajor.svg +1 -0
- data/app/assets/icons/polaris/BillingStatementDollarMajor.svg +1 -1
- data/app/assets/icons/polaris/BillingStatementEuroFilledMajor.svg +1 -0
- data/app/assets/icons/polaris/BillingStatementEuroMajor.svg +1 -1
- data/app/assets/icons/polaris/BillingStatementPoundFilledMajor.svg +1 -0
- data/app/assets/icons/polaris/BillingStatementPoundMajor.svg +1 -1
- data/app/assets/icons/polaris/BillingStatementRupeeFilledMajor.svg +1 -0
- data/app/assets/icons/polaris/BillingStatementRupeeMajor.svg +1 -1
- data/app/assets/icons/polaris/BillingStatementYenFilledMajor.svg +1 -0
- data/app/assets/icons/polaris/BillingStatementYenMajor.svg +1 -1
- data/app/assets/icons/polaris/BlockMinor.svg +1 -1
- data/app/assets/icons/polaris/BlockquoteMajor.svg +1 -1
- data/app/assets/icons/polaris/BlogMajor.svg +1 -1
- data/app/assets/icons/polaris/BoldMajor.svg +1 -0
- data/app/assets/icons/polaris/BoldMinor.svg +1 -0
- data/app/assets/icons/polaris/BugMajor.svg +1 -1
- data/app/assets/icons/polaris/ButtonCornerPillMajor.svg +1 -1
- data/app/assets/icons/polaris/ButtonCornerRoundedMajor.svg +1 -1
- data/app/assets/icons/polaris/ButtonCornerSquareMajor.svg +1 -1
- data/app/assets/icons/polaris/ButtonMinor.svg +1 -1
- data/app/assets/icons/polaris/BuyButtonButtonLayoutMajor.svg +1 -1
- data/app/assets/icons/polaris/BuyButtonHorizontalLayoutMajor.svg +1 -1
- data/app/assets/icons/polaris/BuyButtonMajor.svg +1 -1
- data/app/assets/icons/polaris/BuyButtonVerticalLayoutMajor.svg +1 -1
- data/app/assets/icons/polaris/CalendarMajor.svg +1 -1
- data/app/assets/icons/polaris/CalendarMinor.svg +1 -1
- data/app/assets/icons/polaris/CalendarTickMajor.svg +1 -1
- data/app/assets/icons/polaris/CalendarTimeMinor.svg +1 -1
- data/app/assets/icons/polaris/CameraMajor.svg +1 -1
- data/app/assets/icons/polaris/CancelMajor.svg +1 -1
- data/app/assets/icons/polaris/CancelMinor.svg +1 -1
- data/app/assets/icons/polaris/CancelSmallMinor.svg +1 -1
- data/app/assets/icons/polaris/CapitalFilledMajor.svg +1 -0
- data/app/assets/icons/polaris/CapitalMajor.svg +1 -1
- data/app/assets/icons/polaris/CapturePaymentMinor.svg +1 -1
- data/app/assets/icons/polaris/CardReaderChipMajor.svg +1 -1
- data/app/assets/icons/polaris/CardReaderMajor.svg +1 -1
- data/app/assets/icons/polaris/CardReaderTapMajor.svg +1 -1
- data/app/assets/icons/polaris/CaretDownMinor.svg +1 -1
- data/app/assets/icons/polaris/CaretUpMinor.svg +1 -1
- data/app/assets/icons/polaris/CartDownFilledMajor.svg +1 -0
- data/app/assets/icons/polaris/CartDownMajor.svg +1 -1
- data/app/assets/icons/polaris/CartFilledMajor.svg +1 -0
- data/app/assets/icons/polaris/CartMajor.svg +1 -1
- data/app/assets/icons/polaris/CartUpMajor.svg +1 -1
- data/app/assets/icons/polaris/CashDollarFilledMajor.svg +1 -0
- data/app/assets/icons/polaris/CashDollarMajor.svg +1 -1
- data/app/assets/icons/polaris/CashDollarMinor.svg +1 -1
- data/app/assets/icons/polaris/CashEuroMajor.svg +1 -1
- data/app/assets/icons/polaris/CashPoundMajor.svg +1 -1
- data/app/assets/icons/polaris/CashRupeeMajor.svg +1 -1
- data/app/assets/icons/polaris/CashYenMajor.svg +1 -1
- data/app/assets/icons/polaris/CategoriesMajor.svg +1 -1
- data/app/assets/icons/polaris/ChannelsMajor.svg +1 -1
- data/app/assets/icons/polaris/ChatMajor.svg +1 -1
- data/app/assets/icons/polaris/ChecklistAlternateMajor.svg +1 -1
- data/app/assets/icons/polaris/ChecklistMajor.svg +1 -1
- data/app/assets/icons/polaris/CheckoutMajor.svg +1 -1
- data/app/assets/icons/polaris/ChevronDownMinor.svg +1 -1
- data/app/assets/icons/polaris/ChevronLeftMinor.svg +1 -1
- data/app/assets/icons/polaris/ChevronRightMinor.svg +1 -1
- data/app/assets/icons/polaris/ChevronUpMinor.svg +1 -1
- data/app/assets/icons/polaris/CircleAlertMajor.svg +1 -1
- data/app/assets/icons/polaris/CircleCancelMajor.svg +1 -1
- data/app/assets/icons/polaris/CircleCancelMinor.svg +1 -1
- data/app/assets/icons/polaris/CircleChevronDownMinor.svg +1 -1
- data/app/assets/icons/polaris/CircleChevronLeftMinor.svg +1 -1
- data/app/assets/icons/polaris/CircleChevronRightMinor.svg +1 -1
- data/app/assets/icons/polaris/CircleChevronUpMinor.svg +1 -1
- data/app/assets/icons/polaris/CircleDisableMinor.svg +1 -1
- data/app/assets/icons/polaris/CircleDisabledMajor.svg +1 -1
- data/app/assets/icons/polaris/CircleDotsMajor.svg +1 -1
- data/app/assets/icons/polaris/CircleDownMajor.svg +1 -1
- data/app/assets/icons/polaris/CircleInformationMajor.svg +1 -1
- data/app/assets/icons/polaris/CircleLeftMajor.svg +1 -1
- data/app/assets/icons/polaris/CircleMinusMajor.svg +1 -1
- data/app/assets/icons/polaris/CircleMinusMinor.svg +1 -1
- data/app/assets/icons/polaris/CircleMinusOutlineMinor.svg +1 -1
- data/app/assets/icons/polaris/CirclePlusMajor.svg +1 -1
- data/app/assets/icons/polaris/CirclePlusMinor.svg +1 -1
- data/app/assets/icons/polaris/CirclePlusOutlineMinor.svg +1 -1
- data/app/assets/icons/polaris/CircleRightMajor.svg +1 -1
- data/app/assets/icons/polaris/CircleTickMajor.svg +1 -1
- data/app/assets/icons/polaris/CircleTickMinor.svg +1 -1
- data/app/assets/icons/polaris/CircleTickOutlineMinor.svg +1 -1
- data/app/assets/icons/polaris/CircleUpMajor.svg +1 -1
- data/app/assets/icons/polaris/ClipboardMinor.svg +1 -1
- data/app/assets/icons/polaris/ClockMajor.svg +1 -1
- data/app/assets/icons/polaris/ClockMinor.svg +1 -1
- data/app/assets/icons/polaris/CodeMajor.svg +1 -1
- data/app/assets/icons/polaris/CodeMinor.svg +1 -1
- data/app/assets/icons/polaris/CollectionReferenceMinor.svg +1 -1
- data/app/assets/icons/polaris/CollectionsFilledMajor.svg +1 -0
- data/app/assets/icons/polaris/CollectionsMajor.svg +1 -1
- data/app/assets/icons/polaris/ColorNoneMinor.svg +1 -1
- data/app/assets/icons/polaris/ColorsMajor.svg +1 -1
- data/app/assets/icons/polaris/Column1Major.svg +1 -1
- data/app/assets/icons/polaris/ColumnWithTextMajor.svg +1 -1
- data/app/assets/icons/polaris/Columns2Major.svg +1 -1
- data/app/assets/icons/polaris/Columns3Major.svg +1 -1
- data/app/assets/icons/polaris/Columns3Minor.svg +1 -1
- data/app/assets/icons/polaris/ComposeMajor.svg +1 -1
- data/app/assets/icons/polaris/ConfettiMajor.svg +1 -1
- data/app/assets/icons/polaris/ConnectMinor.svg +1 -1
- data/app/assets/icons/polaris/ContentFilledMinor.svg +1 -0
- data/app/assets/icons/polaris/ContentMinor.svg +1 -1
- data/app/assets/icons/polaris/ConversationMinor.svg +1 -1
- data/app/assets/icons/polaris/CreditCardCancelMajor.svg +1 -1
- data/app/assets/icons/polaris/CreditCardMajor.svg +1 -1
- data/app/assets/icons/polaris/CreditCardPercentMajor.svg +1 -1
- data/app/assets/icons/polaris/CreditCardSecureMajor.svg +1 -1
- data/app/assets/icons/polaris/CurrencyConvertMinor.svg +1 -1
- data/app/assets/icons/polaris/CustomerMinusMajor.svg +1 -1
- data/app/assets/icons/polaris/CustomerPlusMajor.svg +1 -1
- data/app/assets/icons/polaris/CustomersFilledMinor.svg +1 -0
- data/app/assets/icons/polaris/CustomersMajor.svg +1 -1
- data/app/assets/icons/polaris/CustomersMinor.svg +1 -1
- data/app/assets/icons/polaris/DataDrivenModelMinor.svg +1 -1
- data/app/assets/icons/polaris/DataVisualizationMajor.svg +1 -1
- data/app/assets/icons/polaris/DecimalMinor.svg +1 -1
- data/app/assets/icons/polaris/DeleteMajor.svg +1 -1
- data/app/assets/icons/polaris/DeleteMinor.svg +1 -1
- data/app/assets/icons/polaris/DesktopMajor.svg +1 -1
- data/app/assets/icons/polaris/DetailedPopUpMajor.svg +1 -1
- data/app/assets/icons/polaris/DiamondAlertMajor.svg +1 -1
- data/app/assets/icons/polaris/DiamondAlertMinor.svg +1 -1
- data/app/assets/icons/polaris/DigitalMediaReceiverMajor.svg +1 -1
- data/app/assets/icons/polaris/DiscountAutomaticMajor.svg +1 -1
- data/app/assets/icons/polaris/DiscountCodeMajor.svg +1 -1
- data/app/assets/icons/polaris/DiscountsFilledMinor.svg +1 -0
- data/app/assets/icons/polaris/DiscountsMajor.svg +1 -1
- data/app/assets/icons/polaris/DiscountsMinor.svg +1 -1
- data/app/assets/icons/polaris/DisputeMinor.svg +1 -1
- data/app/assets/icons/polaris/DnsSettingsMajor.svg +1 -1
- data/app/assets/icons/polaris/DockFloatingMajor.svg +1 -1
- data/app/assets/icons/polaris/DockSideMajor.svg +1 -1
- data/app/assets/icons/polaris/DomainNewMajor.svg +1 -1
- data/app/assets/icons/polaris/DomainRedirectMinor.svg +1 -1
- data/app/assets/icons/polaris/DomainsFilledMajor.svg +1 -0
- data/app/assets/icons/polaris/DomainsMajor.svg +1 -1
- data/app/assets/icons/polaris/DraftOrdersFilledMajor.svg +1 -0
- data/app/assets/icons/polaris/DraftOrdersMajor.svg +1 -1
- data/app/assets/icons/polaris/DragDropMajor.svg +1 -1
- data/app/assets/icons/polaris/DragHandleMinor.svg +1 -1
- data/app/assets/icons/polaris/DropdownMinor.svg +1 -1
- data/app/assets/icons/polaris/DuplicateMinor.svg +1 -1
- data/app/assets/icons/polaris/DynamicSourceMajor.svg +1 -1
- data/app/assets/icons/polaris/DynamicSourceMinor.svg +1 -1
- data/app/assets/icons/polaris/EditMajor.svg +1 -1
- data/app/assets/icons/polaris/EditMinor.svg +1 -1
- data/app/assets/icons/polaris/EmailMajor.svg +1 -1
- data/app/assets/icons/polaris/EmailNewsletterMajor.svg +1 -1
- data/app/assets/icons/polaris/EmbedMinor.svg +1 -1
- data/app/assets/icons/polaris/EnableSelectionMinor.svg +1 -1
- data/app/assets/icons/polaris/EnterMajor.svg +1 -1
- data/app/assets/icons/polaris/EnvelopeMajor.svg +1 -1
- data/app/assets/icons/polaris/ExchangeMajor.svg +1 -1
- data/app/assets/icons/polaris/ExistingInventoryMajor.svg +1 -1
- data/app/assets/icons/polaris/ExitMajor.svg +1 -1
- data/app/assets/icons/polaris/ExploreImagesMajor.svg +1 -1
- data/app/assets/icons/polaris/ExportMinor.svg +1 -1
- data/app/assets/icons/polaris/ExtendMajor.svg +1 -1
- data/app/assets/icons/polaris/ExtendMinor.svg +1 -1
- data/app/assets/icons/polaris/ExternalMinor.svg +1 -1
- data/app/assets/icons/polaris/ExternalSmallMinor.svg +1 -1
- data/app/assets/icons/polaris/EyeDropperMinor.svg +1 -1
- data/app/assets/icons/polaris/FacebookMinor.svg +1 -0
- data/app/assets/icons/polaris/FaviconMajor.svg +1 -1
- data/app/assets/icons/polaris/FavoriteMajor.svg +1 -1
- data/app/assets/icons/polaris/FeaturedCollectionMajor.svg +1 -1
- data/app/assets/icons/polaris/FeaturedContentMajor.svg +1 -1
- data/app/assets/icons/polaris/FileFilledMinor.svg +1 -0
- data/app/assets/icons/polaris/FileMinor.svg +1 -1
- data/app/assets/icons/polaris/FilterMajor.svg +1 -1
- data/app/assets/icons/polaris/FilterMinor.svg +1 -1
- data/app/assets/icons/polaris/FinancesMajor.svg +1 -1
- data/app/assets/icons/polaris/FinancesMinor.svg +1 -1
- data/app/assets/icons/polaris/FirstClickModelMinor.svg +1 -1
- data/app/assets/icons/polaris/FirstOrderMajor.svg +1 -1
- data/app/assets/icons/polaris/FirstVisitMajor.svg +1 -1
- data/app/assets/icons/polaris/FlagMajor.svg +1 -1
- data/app/assets/icons/polaris/FlipCameraMajor.svg +1 -1
- data/app/assets/icons/polaris/FolderDownMajor.svg +1 -1
- data/app/assets/icons/polaris/FolderMajor.svg +1 -1
- data/app/assets/icons/polaris/FolderMinusMajor.svg +1 -1
- data/app/assets/icons/polaris/FolderPlusMajor.svg +1 -1
- data/app/assets/icons/polaris/FolderUpMajor.svg +1 -1
- data/app/assets/icons/polaris/FollowUpEmailMajor.svg +1 -1
- data/app/assets/icons/polaris/FoodMajor.svg +1 -1
- data/app/assets/icons/polaris/FooterMajor.svg +1 -1
- data/app/assets/icons/polaris/FormsMajor.svg +1 -1
- data/app/assets/icons/polaris/FraudProtectMajor.svg +1 -1
- data/app/assets/icons/polaris/FraudProtectMinor.svg +1 -1
- data/app/assets/icons/polaris/FraudProtectPendingMajor.svg +1 -1
- data/app/assets/icons/polaris/FraudProtectPendingMinor.svg +1 -1
- data/app/assets/icons/polaris/FraudProtectUnprotectedMajor.svg +1 -1
- data/app/assets/icons/polaris/FraudProtectUnprotectedMinor.svg +1 -1
- data/app/assets/icons/polaris/FulfillmentFulfilledMajor.svg +1 -1
- data/app/assets/icons/polaris/FulfillmentOnHoldMajor.svg +1 -1
- data/app/assets/icons/polaris/GamesConsoleMajor.svg +1 -1
- data/app/assets/icons/polaris/GaugeMajor.svg +1 -0
- data/app/assets/icons/polaris/GaugeMinor.svg +1 -0
- data/app/assets/icons/polaris/GiftCardFilledMinor.svg +1 -0
- data/app/assets/icons/polaris/GiftCardMajor.svg +1 -1
- data/app/assets/icons/polaris/GiftCardMinor.svg +1 -1
- data/app/assets/icons/polaris/GlobeMajor.svg +1 -1
- data/app/assets/icons/polaris/GlobeMinor.svg +1 -1
- data/app/assets/icons/polaris/GrammarMajor.svg +1 -1
- data/app/assets/icons/polaris/HashtagMajor.svg +1 -1
- data/app/assets/icons/polaris/HashtagMinor.svg +1 -1
- data/app/assets/icons/polaris/HeaderMajor.svg +1 -1
- data/app/assets/icons/polaris/HeartMajor.svg +1 -1
- data/app/assets/icons/polaris/HideKeyboardMajor.svg +1 -1
- data/app/assets/icons/polaris/HideMinor.svg +1 -1
- data/app/assets/icons/polaris/HintMajor.svg +1 -1
- data/app/assets/icons/polaris/HomeFilledMinor.svg +1 -0
- data/app/assets/icons/polaris/HomeMajor.svg +1 -1
- data/app/assets/icons/polaris/HomeMinor.svg +1 -1
- data/app/assets/icons/polaris/HorizontalDotsMinor.svg +1 -1
- data/app/assets/icons/polaris/IconsFilledMajor.svg +1 -0
- data/app/assets/icons/polaris/IconsMajor.svg +1 -1
- data/app/assets/icons/polaris/IdentityCardFilledMajor.svg +1 -0
- data/app/assets/icons/polaris/IdentityCardMajor.svg +1 -1
- data/app/assets/icons/polaris/IllustrationMajor.svg +1 -1
- data/app/assets/icons/polaris/ImageAltMajor.svg +1 -1
- data/app/assets/icons/polaris/ImageAltMinor.svg +1 -1
- data/app/assets/icons/polaris/ImageMajor.svg +1 -1
- data/app/assets/icons/polaris/ImageWithTextMajor.svg +1 -1
- data/app/assets/icons/polaris/ImageWithTextOverlayMajor.svg +1 -1
- data/app/assets/icons/polaris/ImagesMajor.svg +1 -1
- data/app/assets/icons/polaris/ImportMinor.svg +1 -1
- data/app/assets/icons/polaris/ImportStoreMajor.svg +1 -1
- data/app/assets/icons/polaris/InactiveLocationMajor.svg +1 -1
- data/app/assets/icons/polaris/InactiveLocationMinor.svg +1 -1
- data/app/assets/icons/polaris/IncomingMajor.svg +1 -1
- data/app/assets/icons/polaris/IndentMajor.svg +1 -0
- data/app/assets/icons/polaris/IndentMinor.svg +1 -0
- data/app/assets/icons/polaris/InfoMinor.svg +1 -1
- data/app/assets/icons/polaris/InsertDynamicSourceMajor.svg +1 -1
- data/app/assets/icons/polaris/InsertDynamicSourceMinor.svg +1 -1
- data/app/assets/icons/polaris/InstagramMinor.svg +1 -0
- data/app/assets/icons/polaris/InstallMinor.svg +1 -1
- data/app/assets/icons/polaris/InventoryFilledMajor.svg +1 -0
- data/app/assets/icons/polaris/InventoryMajor.svg +1 -1
- data/app/assets/icons/polaris/InviteMinor.svg +1 -1
- data/app/assets/icons/polaris/IqMajor.svg +1 -1
- data/app/assets/icons/polaris/ItalicMajor.svg +1 -0
- data/app/assets/icons/polaris/ItalicMinor.svg +1 -0
- data/app/assets/icons/polaris/JobsFilledMajor.svg +1 -0
- data/app/assets/icons/polaris/JobsMajor.svg +1 -1
- data/app/assets/icons/polaris/KeyMajor.svg +1 -1
- data/app/assets/icons/polaris/KeyboardMajor.svg +1 -1
- data/app/assets/icons/polaris/KeyboardMinor.svg +1 -1
- data/app/assets/icons/polaris/LabelPrinterMajor.svg +1 -1
- data/app/assets/icons/polaris/LandingPageMajor.svg +1 -1
- data/app/assets/icons/polaris/LanguageFilledMinor.svg +1 -0
- data/app/assets/icons/polaris/LanguageMinor.svg +1 -1
- data/app/assets/icons/polaris/LastClickModelMinor.svg +1 -1
- data/app/assets/icons/polaris/LastNonDirectClickModelMinor.svg +1 -1
- data/app/assets/icons/polaris/LegalFilledMajor.svg +1 -0
- data/app/assets/icons/polaris/LegalMajor.svg +1 -1
- data/app/assets/icons/polaris/LinearModelMinor.svg +1 -1
- data/app/assets/icons/polaris/LinkMinor.svg +1 -1
- data/app/assets/icons/polaris/ListFilledMajor.svg +1 -0
- data/app/assets/icons/polaris/ListMajor.svg +1 -1
- data/app/assets/icons/polaris/ListMinor.svg +1 -1
- data/app/assets/icons/polaris/LiveViewFilledMajor.svg +1 -0
- data/app/assets/icons/polaris/LiveViewMajor.svg +1 -1
- data/app/assets/icons/polaris/LocationFilledMajor.svg +1 -0
- data/app/assets/icons/polaris/LocationMajor.svg +1 -1
- data/app/assets/icons/polaris/LocationsMinor.svg +1 -1
- data/app/assets/icons/polaris/LockFilledMajor.svg +1 -0
- data/app/assets/icons/polaris/LockMajor.svg +1 -1
- data/app/assets/icons/polaris/LockMinor.svg +1 -1
- data/app/assets/icons/polaris/LogOutMinor.svg +1 -1
- data/app/assets/icons/polaris/LogoBlockMajor.svg +1 -1
- data/app/assets/icons/polaris/MagicMajor.svg +1 -1
- data/app/assets/icons/polaris/MagicMinor.svg +1 -1
- data/app/assets/icons/polaris/ManagedStoreMajor.svg +1 -1
- data/app/assets/icons/polaris/MarkFulfilledMinor.svg +1 -1
- data/app/assets/icons/polaris/MarkPaidMinor.svg +1 -1
- data/app/assets/icons/polaris/MarketingFilledMinor.svg +1 -0
- data/app/assets/icons/polaris/MarketingMajor.svg +1 -1
- data/app/assets/icons/polaris/MarketingMinor.svg +1 -1
- data/app/assets/icons/polaris/MarketsFilledMajor.svg +1 -0
- data/app/assets/icons/polaris/MarketsMajor.svg +1 -1
- data/app/assets/icons/polaris/MaximizeMajor.svg +1 -1
- data/app/assets/icons/polaris/MaximizeMinor.svg +1 -1
- data/app/assets/icons/polaris/MeasurementMinor.svg +1 -1
- data/app/assets/icons/polaris/MentionMajor.svg +1 -1
- data/app/assets/icons/polaris/MergeMinor.svg +1 -1
- data/app/assets/icons/polaris/MetafieldsFilledMinor.svg +1 -0
- data/app/assets/icons/polaris/MetafieldsMajor.svg +1 -1
- data/app/assets/icons/polaris/MetafieldsMinor.svg +1 -1
- data/app/assets/icons/polaris/MetaobjectMinor.svg +1 -1
- data/app/assets/icons/polaris/MetaobjectReferenceMinor.svg +1 -1
- data/app/assets/icons/polaris/MicrophoneMajor.svg +1 -1
- data/app/assets/icons/polaris/MinimizeMajor.svg +1 -1
- data/app/assets/icons/polaris/MinimizeMinor.svg +1 -1
- data/app/assets/icons/polaris/MinusMajor.svg +1 -1
- data/app/assets/icons/polaris/MinusMinor.svg +1 -1
- data/app/assets/icons/polaris/MobileAcceptMajor.svg +1 -1
- data/app/assets/icons/polaris/MobileBackArrowMajor.svg +1 -1
- data/app/assets/icons/polaris/MobileCancelMajor.svg +1 -1
- data/app/assets/icons/polaris/MobileChevronMajor.svg +1 -1
- data/app/assets/icons/polaris/MobileHamburgerMajor.svg +1 -1
- data/app/assets/icons/polaris/MobileHorizontalDotsMajor.svg +1 -1
- data/app/assets/icons/polaris/MobileMajor.svg +1 -1
- data/app/assets/icons/polaris/MobilePlusMajor.svg +1 -1
- data/app/assets/icons/polaris/MobileVerticalDotsMajor.svg +1 -1
- data/app/assets/icons/polaris/MonerisMajor.svg +1 -1
- data/app/assets/icons/polaris/MoneyFilledMinor.svg +1 -0
- data/app/assets/icons/polaris/MoneyMinor.svg +1 -1
- data/app/assets/icons/polaris/NatureMajor.svg +1 -1
- data/app/assets/icons/polaris/NavigationMajor.svg +1 -1
- data/app/assets/icons/polaris/NoteMajor.svg +1 -1
- data/app/assets/icons/polaris/NoteMinor.svg +1 -1
- data/app/assets/icons/polaris/NotificationFilledMajor.svg +1 -0
- data/app/assets/icons/polaris/NotificationMajor.svg +1 -1
- data/app/assets/icons/polaris/OnlineStoreMajor.svg +1 -1
- data/app/assets/icons/polaris/OnlineStoreMinor.svg +1 -1
- data/app/assets/icons/polaris/OrderStatusMinor.svg +1 -1
- data/app/assets/icons/polaris/OrderedListMajor.svg +1 -0
- data/app/assets/icons/polaris/OrderedListMinor.svg +1 -0
- data/app/assets/icons/polaris/OrdersFilledMinor.svg +1 -0
- data/app/assets/icons/polaris/OrdersMajor.svg +1 -1
- data/app/assets/icons/polaris/OrdersMinor.svg +1 -1
- data/app/assets/icons/polaris/OrganizationMajor.svg +1 -1
- data/app/assets/icons/polaris/OutdentMajor.svg +1 -0
- data/app/assets/icons/polaris/OutdentMinor.svg +1 -0
- data/app/assets/icons/polaris/OutgoingMajor.svg +1 -1
- data/app/assets/icons/polaris/PackageFilledMajor.svg +1 -0
- data/app/assets/icons/polaris/PackageMajor.svg +1 -1
- data/app/assets/icons/polaris/PageDownMajor.svg +1 -1
- data/app/assets/icons/polaris/PageMajor.svg +1 -1
- data/app/assets/icons/polaris/PageMinusMajor.svg +1 -1
- data/app/assets/icons/polaris/PagePlusMajor.svg +1 -1
- data/app/assets/icons/polaris/PageReferenceMinor.svg +1 -1
- data/app/assets/icons/polaris/PageUpMajor.svg +1 -1
- data/app/assets/icons/polaris/PaginationEndMinor.svg +1 -1
- data/app/assets/icons/polaris/PaginationStartMinor.svg +1 -1
- data/app/assets/icons/polaris/PaintBrushMajor.svg +1 -1
- data/app/assets/icons/polaris/PaperCheckMajor.svg +1 -1
- data/app/assets/icons/polaris/PaperCheckMinor.svg +1 -1
- data/app/assets/icons/polaris/PasskeyFilledMinor.svg +1 -0
- data/app/assets/icons/polaris/PasskeyMajor.svg +1 -1
- data/app/assets/icons/polaris/PasskeyMinor.svg +1 -1
- data/app/assets/icons/polaris/PauseCircleMajor.svg +1 -1
- data/app/assets/icons/polaris/PauseMajor.svg +1 -1
- data/app/assets/icons/polaris/PauseMinor.svg +1 -1
- data/app/assets/icons/polaris/PaymentsFilledMajor.svg +1 -0
- data/app/assets/icons/polaris/PaymentsMajor.svg +1 -1
- data/app/assets/icons/polaris/PersonalizedTextMajor.svg +1 -1
- data/app/assets/icons/polaris/PhoneInMajor.svg +1 -1
- data/app/assets/icons/polaris/PhoneMajor.svg +1 -1
- data/app/assets/icons/polaris/PhoneOutMajor.svg +1 -1
- data/app/assets/icons/polaris/PinMajor.svg +1 -1
- data/app/assets/icons/polaris/PinMinor.svg +1 -1
- data/app/assets/icons/polaris/PinUnfilledMajor.svg +1 -1
- data/app/assets/icons/polaris/PinUnfilledMinor.svg +1 -1
- data/app/assets/icons/polaris/PintrestMinor.svg +1 -0
- data/app/assets/icons/polaris/PlanFilledMinor.svg +1 -0
- data/app/assets/icons/polaris/PlanMajor.svg +1 -1
- data/app/assets/icons/polaris/PlanMinor.svg +1 -1
- data/app/assets/icons/polaris/PlayCircleMajor.svg +1 -1
- data/app/assets/icons/polaris/PlayMajor.svg +1 -1
- data/app/assets/icons/polaris/PlayMinor.svg +1 -1
- data/app/assets/icons/polaris/PlusMinor.svg +1 -1
- data/app/assets/icons/polaris/PointOfSaleMajor.svg +1 -1
- data/app/assets/icons/polaris/PopularMajor.svg +1 -1
- data/app/assets/icons/polaris/PositionBasedModelMinor.svg +1 -1
- data/app/assets/icons/polaris/PriceLookupMinor.svg +1 -1
- data/app/assets/icons/polaris/PrintMajor.svg +1 -1
- data/app/assets/icons/polaris/PrintMinor.svg +1 -1
- data/app/assets/icons/polaris/ProductCostMajor.svg +1 -1
- data/app/assets/icons/polaris/ProductReferenceMinor.svg +1 -1
- data/app/assets/icons/polaris/ProductReturnsMinor.svg +1 -1
- data/app/assets/icons/polaris/ProductsFilledMinor.svg +1 -0
- data/app/assets/icons/polaris/ProductsMajor.svg +1 -1
- data/app/assets/icons/polaris/ProductsMinor.svg +1 -1
- data/app/assets/icons/polaris/ProfileMajor.svg +1 -1
- data/app/assets/icons/polaris/ProfileMinor.svg +1 -1
- data/app/assets/icons/polaris/PromoteFilledMinor.svg +1 -0
- data/app/assets/icons/polaris/PromoteMinor.svg +1 -1
- data/app/assets/icons/polaris/QuestionMarkInverseMajor.svg +1 -1
- data/app/assets/icons/polaris/QuestionMarkInverseMinor.svg +1 -1
- data/app/assets/icons/polaris/QuestionMarkMajor.svg +1 -1
- data/app/assets/icons/polaris/QuestionMarkMinor.svg +1 -1
- data/app/assets/icons/polaris/QuickSaleMajor.svg +1 -1
- data/app/assets/icons/polaris/ReadTimeMinor.svg +1 -1
- data/app/assets/icons/polaris/ReceiptMajor.svg +1 -1
- data/app/assets/icons/polaris/RecentSearchesMajor.svg +1 -1
- data/app/assets/icons/polaris/RedoMajor.svg +1 -1
- data/app/assets/icons/polaris/ReferralCodeMajor.svg +1 -1
- data/app/assets/icons/polaris/ReferralMajor.svg +1 -1
- data/app/assets/icons/polaris/RefreshMajor.svg +1 -1
- data/app/assets/icons/polaris/RefreshMinor.svg +1 -1
- data/app/assets/icons/polaris/RefundMajor.svg +1 -1
- data/app/assets/icons/polaris/RefundMinor.svg +1 -1
- data/app/assets/icons/polaris/RemoveProductMajor.svg +1 -1
- data/app/assets/icons/polaris/RepeatOrderMajor.svg +1 -1
- data/app/assets/icons/polaris/ReplaceMajor.svg +1 -1
- data/app/assets/icons/polaris/ReplayMinor.svg +1 -1
- data/app/assets/icons/polaris/ReportFilledMinor.svg +1 -0
- data/app/assets/icons/polaris/ReportMinor.svg +1 -1
- data/app/assets/icons/polaris/ReportsMajor.svg +1 -1
- data/app/assets/icons/polaris/ResetMinor.svg +1 -1
- data/app/assets/icons/polaris/ResourcesMajor.svg +1 -1
- data/app/assets/icons/polaris/ReturnMinor.svg +1 -1
- data/app/assets/icons/polaris/ReturnsMajor.svg +1 -1
- data/app/assets/icons/polaris/RichTextMinor.svg +1 -1
- data/app/assets/icons/polaris/RiskMajor.svg +1 -1
- data/app/assets/icons/polaris/RiskMinor.svg +1 -1
- data/app/assets/icons/polaris/Rows2Major.svg +1 -1
- data/app/assets/icons/polaris/SandboxMajor.svg +1 -1
- data/app/assets/icons/polaris/SaveMinor.svg +1 -1
- data/app/assets/icons/polaris/SearchMajor.svg +1 -1
- data/app/assets/icons/polaris/SearchMinor.svg +1 -1
- data/app/assets/icons/polaris/SectionMajor.svg +1 -1
- data/app/assets/icons/polaris/SecureMajor.svg +1 -1
- data/app/assets/icons/polaris/SelectMinor.svg +1 -1
- data/app/assets/icons/polaris/SendMajor.svg +1 -1
- data/app/assets/icons/polaris/SettingsFilledMinor.svg +1 -0
- data/app/assets/icons/polaris/SettingsMajor.svg +1 -1
- data/app/assets/icons/polaris/SettingsMinor.svg +1 -1
- data/app/assets/icons/polaris/ShareIosMinor.svg +1 -1
- data/app/assets/icons/polaris/ShareMinor.svg +1 -1
- data/app/assets/icons/polaris/ShipmentFilledMajor.svg +1 -0
- data/app/assets/icons/polaris/ShipmentMajor.svg +1 -1
- data/app/assets/icons/polaris/ShopcodesMajor.svg +1 -1
- data/app/assets/icons/polaris/SidebarLeftMajor.svg +1 -1
- data/app/assets/icons/polaris/SidebarRightMajor.svg +1 -1
- data/app/assets/icons/polaris/SidekickMajor.svg +1 -0
- data/app/assets/icons/polaris/SimplifyMajor.svg +1 -1
- data/app/assets/icons/polaris/SimplifyMinor.svg +1 -1
- data/app/assets/icons/polaris/SlideshowMajor.svg +1 -1
- data/app/assets/icons/polaris/SmileyHappyMajor.svg +1 -1
- data/app/assets/icons/polaris/SmileyJoyMajor.svg +1 -1
- data/app/assets/icons/polaris/SmileyNeutralMajor.svg +1 -1
- data/app/assets/icons/polaris/SmileySadMajor.svg +1 -1
- data/app/assets/icons/polaris/SnapchatMinor.svg +1 -0
- data/app/assets/icons/polaris/SocialAdMajor.svg +1 -1
- data/app/assets/icons/polaris/SocialPostMajor.svg +1 -1
- data/app/assets/icons/polaris/SoftPackMajor.svg +1 -1
- data/app/assets/icons/polaris/SortAscendingMajor.svg +1 -1
- data/app/assets/icons/polaris/SortDescendingMajor.svg +1 -1
- data/app/assets/icons/polaris/SortMinor.svg +1 -1
- data/app/assets/icons/polaris/SoundMajor.svg +1 -1
- data/app/assets/icons/polaris/StarFilledMinor.svg +1 -1
- data/app/assets/icons/polaris/StarOutlineMinor.svg +1 -1
- data/app/assets/icons/polaris/StatusActiveMajor.svg +1 -1
- data/app/assets/icons/polaris/StopMajor.svg +1 -0
- data/app/assets/icons/polaris/StoreDetailsFilledMinor.svg +1 -0
- data/app/assets/icons/polaris/StoreDetailsMinor.svg +1 -0
- data/app/assets/icons/polaris/StoreFilledMinor.svg +1 -0
- data/app/assets/icons/polaris/StoreMajor.svg +1 -1
- data/app/assets/icons/polaris/StoreMinor.svg +1 -1
- data/app/assets/icons/polaris/StoreStatusMajor.svg +1 -1
- data/app/assets/icons/polaris/TabletMajor.svg +1 -1
- data/app/assets/icons/polaris/TapChipMajor.svg +1 -1
- data/app/assets/icons/polaris/TaxFilledMajor.svg +1 -0
- data/app/assets/icons/polaris/TaxMajor.svg +1 -1
- data/app/assets/icons/polaris/TeamMajor.svg +1 -1
- data/app/assets/icons/polaris/TemplateMajor.svg +1 -1
- data/app/assets/icons/polaris/TemplateMinor.svg +1 -1
- data/app/assets/icons/polaris/TextAlignmentCenterMajor.svg +1 -1
- data/app/assets/icons/polaris/TextAlignmentLeftMajor.svg +1 -1
- data/app/assets/icons/polaris/TextAlignmentRightMajor.svg +1 -1
- data/app/assets/icons/polaris/TextBlockMajor.svg +1 -1
- data/app/assets/icons/polaris/TextColorMajor.svg +1 -0
- data/app/assets/icons/polaris/TextColorMinor.svg +1 -0
- data/app/assets/icons/polaris/TextMajor.svg +1 -1
- data/app/assets/icons/polaris/ThemeEditMajor.svg +1 -1
- data/app/assets/icons/polaris/ThemeStoreMajor.svg +1 -1
- data/app/assets/icons/polaris/ThemesMajor.svg +1 -1
- data/app/assets/icons/polaris/ThumbsDownMajor.svg +1 -1
- data/app/assets/icons/polaris/ThumbsDownMinor.svg +1 -1
- data/app/assets/icons/polaris/ThumbsUpMajor.svg +1 -1
- data/app/assets/icons/polaris/ThumbsUpMinor.svg +1 -1
- data/app/assets/icons/polaris/TickMinor.svg +1 -1
- data/app/assets/icons/polaris/TickSmallMinor.svg +1 -1
- data/app/assets/icons/polaris/TiktokMinor.svg +1 -0
- data/app/assets/icons/polaris/TimeDecayModelMinor.svg +1 -1
- data/app/assets/icons/polaris/TimelineAttachmentMajor.svg +1 -1
- data/app/assets/icons/polaris/TipsMajor.svg +1 -1
- data/app/assets/icons/polaris/TitleMinor.svg +1 -1
- data/app/assets/icons/polaris/ToggleMinor.svg +1 -1
- data/app/assets/icons/polaris/ToolsMajor.svg +1 -1
- data/app/assets/icons/polaris/TransactionFeeDollarMajor.svg +1 -1
- data/app/assets/icons/polaris/TransactionFeeEuroMajor.svg +1 -1
- data/app/assets/icons/polaris/TransactionFeePoundMajor.svg +1 -1
- data/app/assets/icons/polaris/TransactionFeeRupeeMajor.svg +1 -1
- data/app/assets/icons/polaris/TransactionFeeYenMajor.svg +1 -1
- data/app/assets/icons/polaris/TransactionMajor.svg +1 -1
- data/app/assets/icons/polaris/TransferFilledMajor.svg +1 -0
- data/app/assets/icons/polaris/TransferInMajor.svg +1 -1
- data/app/assets/icons/polaris/TransferMajor.svg +1 -1
- data/app/assets/icons/polaris/TransferOutMajor.svg +1 -1
- data/app/assets/icons/polaris/TransferWithinShopifyMajor.svg +1 -1
- data/app/assets/icons/polaris/TranslateMajor.svg +1 -0
- data/app/assets/icons/polaris/TransportMajor.svg +1 -1
- data/app/assets/icons/polaris/TroubleshootMajor.svg +1 -1
- data/app/assets/icons/polaris/TumblrMinor.svg +1 -0
- data/app/assets/icons/polaris/TwitchMinor.svg +1 -0
- data/app/assets/icons/polaris/TwitterMinor.svg +1 -0
- data/app/assets/icons/polaris/TypeMajor.svg +1 -1
- data/app/assets/icons/polaris/TypeMinor.svg +1 -1
- data/app/assets/icons/polaris/UnderlineMajor.svg +1 -0
- data/app/assets/icons/polaris/UnderlineMinor.svg +1 -0
- data/app/assets/icons/polaris/UndoMajor.svg +1 -1
- data/app/assets/icons/polaris/UnfulfilledMajor.svg +1 -1
- data/app/assets/icons/polaris/UnknownDeviceMajor.svg +1 -1
- data/app/assets/icons/polaris/UpdateInventoryMajor.svg +1 -1
- data/app/assets/icons/polaris/UploadMajor.svg +1 -1
- data/app/assets/icons/polaris/VariantMajor.svg +1 -1
- data/app/assets/icons/polaris/ViewMajor.svg +1 -1
- data/app/assets/icons/polaris/ViewMinor.svg +1 -1
- data/app/assets/icons/polaris/ViewportNarrowMajor.svg +1 -1
- data/app/assets/icons/polaris/ViewportShortMajor.svg +1 -1
- data/app/assets/icons/polaris/ViewportTallMajor.svg +1 -1
- data/app/assets/icons/polaris/ViewportWideMajor.svg +1 -1
- data/app/assets/icons/polaris/VimeoMinor.svg +1 -0
- data/app/assets/icons/polaris/VocabularyMajor.svg +1 -1
- data/app/assets/icons/polaris/VolumeMinor.svg +1 -1
- data/app/assets/icons/polaris/WandMajor.svg +1 -1
- data/app/assets/icons/polaris/WandMinor.svg +1 -1
- data/app/assets/icons/polaris/WearableMajor.svg +1 -1
- data/app/assets/icons/polaris/WeightMinor.svg +1 -1
- data/app/assets/icons/polaris/WholesaleMajor.svg +1 -1
- data/app/assets/icons/polaris/WifiMajor.svg +1 -1
- data/app/assets/icons/polaris/YoutubeMinor.svg +1 -0
- data/app/assets/javascripts/polaris_view_components/button_controller.js +9 -0
- data/app/assets/javascripts/polaris_view_components/polaris_controller.js +4 -0
- data/app/assets/javascripts/polaris_view_components/popover_controller.js +50 -29
- data/app/assets/javascripts/polaris_view_components/text_field_controller.js +12 -0
- data/app/assets/javascripts/polaris_view_components/tooltip_controller.js +47 -34
- data/app/assets/javascripts/polaris_view_components.js +1102 -1284
- data/app/assets/stylesheets/polaris_view_components/custom.pcss +39 -57
- data/app/assets/stylesheets/polaris_view_components/shopify_navigation.pcss +8 -8
- data/app/assets/stylesheets/polaris_view_components/tooltip_component.pcss +31 -0
- data/app/assets/stylesheets/polaris_view_components.css +1543 -719
- data/app/assets/stylesheets/polaris_view_components.pcss +1 -0
- data/app/components/polaris/autocomplete_component.rb +1 -0
- data/app/components/polaris/avatar_component.html.erb +1 -1
- data/app/components/polaris/base_checkbox.rb +3 -1
- data/app/components/polaris/checkbox_component.rb +3 -0
- data/app/components/polaris/choice_list_component.rb +1 -0
- data/app/components/polaris/filters_component.html.erb +7 -7
- data/app/components/polaris/filters_component.rb +5 -5
- data/app/components/polaris/frame/top_bar_component.html.erb +46 -22
- data/app/components/polaris/frame/top_bar_component.rb +0 -1
- data/app/components/polaris/popover_component.html.erb +2 -8
- data/app/components/polaris/popover_component.rb +6 -3
- data/app/components/polaris/select_component.html.erb +2 -2
- data/app/components/polaris/select_component.rb +58 -4
- data/app/components/polaris/text_field_component.rb +11 -2
- data/app/components/polaris/tooltip_component.html.erb +1 -1
- data/app/components/polaris/tooltip_component.rb +6 -1
- data/app/helpers/polaris/form_builder.rb +25 -0
- data/lib/polaris/view_components/version.rb +1 -1
- metadata +89 -3
@@ -1,4 +1,5 @@
|
|
1
1
|
@import "@shopify/polaris/build/esm/styles.css";
|
2
2
|
@import "./polaris_view_components/shopify_navigation.pcss";
|
3
3
|
@import "./polaris_view_components/spacer_component.pcss";
|
4
|
+
@import "./polaris_view_components/tooltip_component.pcss";
|
4
5
|
@import "./polaris_view_components/custom.pcss";
|
@@ -1,6 +1,6 @@
|
|
1
1
|
<%= render Polaris::BaseComponent.new(**system_arguments) do %>
|
2
2
|
<% if @source %>
|
3
|
-
<%=
|
3
|
+
<img src="<%= @source %>" class="Polaris-Avatar__Image" role="presentation" onerror="this.src=''" />
|
4
4
|
<% else %>
|
5
5
|
<span class="Polaris-Avatar__Initials">
|
6
6
|
<% if @initials %>
|
@@ -6,6 +6,7 @@ module Polaris
|
|
6
6
|
name: nil,
|
7
7
|
checked: false,
|
8
8
|
disabled: false,
|
9
|
+
mulitple: false,
|
9
10
|
value: "1",
|
10
11
|
unchecked_value: "0",
|
11
12
|
**system_arguments
|
@@ -22,8 +23,9 @@ module Polaris
|
|
22
23
|
|
23
24
|
def system_arguments
|
24
25
|
@system_arguments.tap do |opts|
|
25
|
-
opts[:disabled] = true if @disabled
|
26
26
|
opts[:checked] = true if @checked
|
27
|
+
opts[:disabled] = true if @disabled
|
28
|
+
opts[:multiple] = true if @multiple
|
27
29
|
opts[:aria] ||= {}
|
28
30
|
opts[:aria][:checked] = @checked
|
29
31
|
if indeterminate?
|
@@ -16,6 +16,7 @@ module Polaris
|
|
16
16
|
label_hidden: false,
|
17
17
|
checked: false,
|
18
18
|
disabled: false,
|
19
|
+
multiple: false,
|
19
20
|
help_text: nil,
|
20
21
|
error: nil,
|
21
22
|
value: "1",
|
@@ -29,6 +30,7 @@ module Polaris
|
|
29
30
|
@name = name
|
30
31
|
@checked = checked
|
31
32
|
@disabled = disabled
|
33
|
+
@multiple = multiple
|
32
34
|
@value = value
|
33
35
|
@unchecked_value = unchecked_value
|
34
36
|
|
@@ -76,6 +78,7 @@ module Polaris
|
|
76
78
|
name: @name,
|
77
79
|
checked: @checked,
|
78
80
|
disabled: @disabled,
|
81
|
+
multiple: @multiple,
|
79
82
|
value: @value,
|
80
83
|
unchecked_value: @unchecked_value,
|
81
84
|
**@input_options
|
@@ -1,9 +1,9 @@
|
|
1
1
|
<%= render Polaris::BaseComponent.new(**system_arguments) do %>
|
2
|
-
<div class="Polaris-
|
3
|
-
<div class="Polaris-
|
2
|
+
<div class="Polaris-LegacyFilters-ConnectedFilterControl__Wrapper">
|
3
|
+
<div class="Polaris-LegacyFilters-ConnectedFilterControl Polaris-LegacyFilters-ConnectedFilterControl--right">
|
4
4
|
<% if query.present? %>
|
5
|
-
<div class="Polaris-
|
6
|
-
<div class="Polaris-
|
5
|
+
<div class="Polaris-LegacyFilters-ConnectedFilterControl__CenterContainer">
|
6
|
+
<div class="Polaris-LegacyFilters-ConnectedFilterControl__Item">
|
7
7
|
<%= query %>
|
8
8
|
</div>
|
9
9
|
</div>
|
@@ -17,18 +17,18 @@
|
|
17
17
|
<% end %>
|
18
18
|
</div>
|
19
19
|
<% if content.present? %>
|
20
|
-
<div class="Polaris-
|
20
|
+
<div class="Polaris-LegacyFilters-ConnectedFilterControl__AuxiliaryContainer">
|
21
21
|
<%= content %>
|
22
22
|
</div>
|
23
23
|
<% end %>
|
24
24
|
</div>
|
25
25
|
<% if tags.present? %>
|
26
|
-
<div class="Polaris-
|
26
|
+
<div class="Polaris-LegacyFilters__TagsContainer">
|
27
27
|
<%= tags %>
|
28
28
|
</div>
|
29
29
|
<% end %>
|
30
30
|
<% if @help_text.present? %>
|
31
|
-
<div class="Polaris-
|
31
|
+
<div class="Polaris-LegacyFilters__HelpText">
|
32
32
|
<%= polaris_text_subdued { @help_text } %>
|
33
33
|
</div>
|
34
34
|
<% end %>
|
@@ -21,16 +21,16 @@ module Polaris
|
|
21
21
|
opts[:tag] = "div"
|
22
22
|
opts[:classes] = class_names(
|
23
23
|
@system_arguments[:classes],
|
24
|
-
"Polaris-
|
24
|
+
"Polaris-LegacyFilters"
|
25
25
|
)
|
26
26
|
end
|
27
27
|
end
|
28
28
|
|
29
29
|
def items_wrapper_classes
|
30
30
|
class_names(
|
31
|
-
"Polaris-
|
32
|
-
"Polaris-
|
33
|
-
"Polaris-
|
31
|
+
"Polaris-LegacyFilters-ConnectedFilterControl__RightContainer",
|
32
|
+
"Polaris-LegacyFilters-ConnectedFilterControl__RightContainerWithoutMoreFilters",
|
33
|
+
"Polaris-LegacyFilters-ConnectedFilterControl--queryFieldHidden": @query.blank?
|
34
34
|
)
|
35
35
|
end
|
36
36
|
|
@@ -66,7 +66,7 @@ module Polaris
|
|
66
66
|
opts[:tag] = "div"
|
67
67
|
opts[:classes] = class_names(
|
68
68
|
@system_arguments[:classes],
|
69
|
-
"Polaris-
|
69
|
+
"Polaris-LegacyFilters-ConnectedFilterControl__Item"
|
70
70
|
)
|
71
71
|
end
|
72
72
|
end
|
@@ -1,33 +1,57 @@
|
|
1
1
|
<%= render(Polaris::BaseComponent.new(**system_arguments)) do %>
|
2
|
-
<
|
3
|
-
|
4
|
-
|
2
|
+
<div class="Polaris-TopBar__Container">
|
3
|
+
<div class="Polaris-TopBar__LeftContent">
|
4
|
+
<button data-action="polaris-frame#openMenu" type="button" class="Polaris-TopBar__NavigationIcon">
|
5
|
+
<%= polaris_icon(name: "MobileHamburgerMajor") %>
|
6
|
+
</button>
|
5
7
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
8
|
+
<% if @logo.present? %>
|
9
|
+
<div class="Polaris-TopBar__LogoContainer Polaris-TopBar__LogoDisplayControl">
|
10
|
+
<%= link_to(@logo.url,
|
11
|
+
class: "Polaris-TopBar__LogoLink",
|
12
|
+
style: "width: #{@logo.width}"
|
13
|
+
) do %>
|
14
|
+
<%= image_tag @logo.src,
|
15
|
+
class: "Polaris-TopBar__Logo",
|
16
|
+
style: "width: #{@logo.width}",
|
17
|
+
alt: @logo.alt %>
|
18
|
+
<% end %>
|
19
|
+
</div>
|
16
20
|
<% end %>
|
17
21
|
</div>
|
18
|
-
<% end %>
|
19
22
|
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
+
<div class="Polaris-TopBar__Search">
|
24
|
+
<div class="Polaris-TopBar-SearchField">
|
25
|
+
<%= search_field %>
|
26
|
+
</div>
|
23
27
|
</div>
|
24
|
-
|
25
|
-
|
28
|
+
|
29
|
+
<div class="Polaris-TopBar__RightContent">
|
30
|
+
<div>
|
31
|
+
<div class="Polaris-TopBar-Menu__ActivatorWrapper">
|
32
|
+
<%= user_menu %>
|
33
|
+
</div>
|
34
|
+
</div>
|
26
35
|
</div>
|
27
|
-
|
28
|
-
|
29
|
-
|
36
|
+
|
37
|
+
|
38
|
+
<%
|
39
|
+
=begin%>
|
40
|
+
|
41
|
+
<div class="Polaris-TopBar__Contents">
|
42
|
+
<div class="Polaris-TopBar__SearchField">
|
43
|
+
<%= search_field %>
|
44
|
+
</div>
|
45
|
+
<div class="Polaris-TopBar__SecondaryMenu">
|
46
|
+
<%= secondary_menu %>
|
47
|
+
</div>
|
48
|
+
<div>
|
49
|
+
<div class="Polaris-TopBar-Menu__ActivatorWrapper">
|
50
|
+
<%= user_menu %>
|
51
|
+
</div>
|
30
52
|
</div>
|
31
53
|
</div>
|
54
|
+
<%
|
55
|
+
=end%>
|
32
56
|
</div>
|
33
57
|
<% end %>
|
@@ -1,7 +1,6 @@
|
|
1
1
|
class Polaris::Frame::TopBarComponent < Polaris::Component
|
2
2
|
renders_one :user_menu, Polaris::TopBar::UserMenuComponent
|
3
3
|
renders_one :search_field
|
4
|
-
renders_one :secondary_menu
|
5
4
|
|
6
5
|
def initialize(logo:, **system_arguments)
|
7
6
|
@logo = logo.is_a?(Hash) ? Polaris::Logo.new(**logo) : logo
|
@@ -11,13 +11,7 @@
|
|
11
11
|
<%= render Polaris::BaseComponent.new(**system_arguments) do %>
|
12
12
|
<%= render Polaris::BaseComponent.new(**popover_arguments) do %>
|
13
13
|
<div class="Polaris-Popover__FocusTracker" tabindex="0"></div>
|
14
|
-
|
15
|
-
position: :relative,
|
16
|
-
overflow_x: :hidden,
|
17
|
-
overflow_y: :hidden,
|
18
|
-
background: "bg",
|
19
|
-
border_radius: "2"
|
20
|
-
) do %>
|
14
|
+
<div class="Polaris-Popover__ContentContainer">
|
21
15
|
<%= render Polaris::BaseComponent.new(**content_arguments) do %>
|
22
16
|
<% if panes.present? %>
|
23
17
|
<% panes.each do |pane| %>
|
@@ -32,7 +26,7 @@
|
|
32
26
|
<% end %>
|
33
27
|
<% end %>
|
34
28
|
<% end %>
|
35
|
-
|
29
|
+
</div>
|
36
30
|
<div class="Polaris-Popover__FocusTracker" tabindex="0"></div>
|
37
31
|
<% end %>
|
38
32
|
<% end %>
|
@@ -28,6 +28,7 @@ module Polaris
|
|
28
28
|
position: POSITION_DEFAULT,
|
29
29
|
append_to_body: false,
|
30
30
|
scrollable_shadow: true,
|
31
|
+
text_field_activator: false,
|
31
32
|
wrapper_arguments: {},
|
32
33
|
**system_arguments
|
33
34
|
)
|
@@ -41,6 +42,7 @@ module Polaris
|
|
41
42
|
@alignment = fetch_or_fallback(ALIGNMENT_OPTIONS, alignment, ALIGNMENT_DEFAULT)
|
42
43
|
@position = fetch_or_fallback(POSITION_OPTIONS, position, POSITION_DEFAULT)
|
43
44
|
@scrollable_shadow = scrollable_shadow
|
45
|
+
@text_field_activator = text_field_activator
|
44
46
|
@append_to_body = append_to_body
|
45
47
|
@wrapper_arguments = wrapper_arguments
|
46
48
|
@system_arguments = system_arguments
|
@@ -55,7 +57,8 @@ module Polaris
|
|
55
57
|
prepend_option(opts[:data], :controller, "polaris-popover")
|
56
58
|
opts[:data][:polaris_popover_append_to_body_value] = @append_to_body
|
57
59
|
opts[:data][:polaris_popover_active_value] = @active
|
58
|
-
opts[:data][:polaris_popover_placement_value] =
|
60
|
+
opts[:data][:polaris_popover_placement_value] = popover_placement
|
61
|
+
opts[:data][:polaris_popover_text_field_activator_value] = @text_field_activator
|
59
62
|
opts[:data][:polaris_popover_open_class] = "Polaris-Popover__PopoverOverlay--open"
|
60
63
|
opts[:data][:polaris_popover_closed_class] = "Polaris-Popover__PopoverOverlay--closed"
|
61
64
|
if @inline
|
@@ -106,13 +109,13 @@ module Polaris
|
|
106
109
|
end
|
107
110
|
end
|
108
111
|
|
109
|
-
def
|
112
|
+
def popover_placement
|
110
113
|
placement =
|
111
114
|
case @position
|
112
115
|
when :above then "top"
|
113
116
|
when :below then "bottom"
|
114
117
|
else
|
115
|
-
"
|
118
|
+
"bottom"
|
116
119
|
end
|
117
120
|
placement += "-start" if @alignment == :left
|
118
121
|
placement += "-end" if @alignment == :right
|
@@ -3,14 +3,14 @@
|
|
3
3
|
<% if @form.present? && @attribute.present? %>
|
4
4
|
<%= @form.select(
|
5
5
|
@attribute,
|
6
|
-
|
6
|
+
build_options_for_select,
|
7
7
|
@select_options,
|
8
8
|
@input_options,
|
9
9
|
) %>
|
10
10
|
<% else %>
|
11
11
|
<%= select_tag(
|
12
12
|
@name,
|
13
|
-
|
13
|
+
build_options_for_select,
|
14
14
|
@input_options,
|
15
15
|
) %>
|
16
16
|
<% end %>
|
@@ -3,13 +3,16 @@
|
|
3
3
|
module Polaris
|
4
4
|
class SelectComponent < Polaris::Component
|
5
5
|
def initialize(
|
6
|
-
options
|
6
|
+
options: {},
|
7
7
|
form: nil,
|
8
8
|
attribute: nil,
|
9
9
|
name: nil,
|
10
10
|
selected: nil,
|
11
11
|
disabled_options: nil,
|
12
12
|
label: nil,
|
13
|
+
prompt: nil,
|
14
|
+
divider: nil,
|
15
|
+
time_zone: nil,
|
13
16
|
label_hidden: false,
|
14
17
|
label_inline: false,
|
15
18
|
label_action: nil,
|
@@ -17,6 +20,7 @@ module Polaris
|
|
17
20
|
required: false,
|
18
21
|
help_text: nil,
|
19
22
|
error: false,
|
23
|
+
grouped: false,
|
20
24
|
wrapper_arguments: {},
|
21
25
|
select_options: {},
|
22
26
|
input_options: {},
|
@@ -32,6 +36,14 @@ module Polaris
|
|
32
36
|
@label_hidden = label_hidden
|
33
37
|
@label_inline = label_inline
|
34
38
|
@disabled = disabled
|
39
|
+
@grouped = grouped
|
40
|
+
@prompt = prompt
|
41
|
+
@divider = divider
|
42
|
+
@time_zone = time_zone
|
43
|
+
|
44
|
+
if @time_zone
|
45
|
+
@options = ::ActiveSupport::TimeZone.all
|
46
|
+
end
|
35
47
|
|
36
48
|
@system_arguments = system_arguments
|
37
49
|
@system_arguments[:tag] = "div"
|
@@ -73,10 +85,52 @@ module Polaris
|
|
73
85
|
end
|
74
86
|
|
75
87
|
def selected_option
|
76
|
-
|
77
|
-
|
88
|
+
if @grouped
|
89
|
+
grouped_selected_option
|
90
|
+
else
|
91
|
+
options_to_find = @time_zone ? @options.map { |z| [z.to_s, z.name] } : @options.to_a
|
92
|
+
option = options_to_find.find { |i| i.last.to_s == @selected.to_s }
|
93
|
+
return unless option
|
94
|
+
|
95
|
+
option.first
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
99
|
+
def build_options_for_select
|
100
|
+
if @grouped
|
101
|
+
grouped_options_for_select(
|
102
|
+
@options,
|
103
|
+
@selected,
|
104
|
+
disabled: @disabled_options,
|
105
|
+
prompt: @prompt,
|
106
|
+
divider: @divider
|
107
|
+
)
|
108
|
+
elsif @time_zone
|
109
|
+
time_zone_options_for_select(@selected)
|
110
|
+
else
|
111
|
+
options_for_select(@options, selected: @selected, disabled: @disabled_options)
|
112
|
+
end
|
113
|
+
end
|
114
|
+
|
115
|
+
private
|
116
|
+
|
117
|
+
def grouped_selected_option
|
118
|
+
@options.each do |group|
|
119
|
+
group_to_traverse = @divider ? group[1] : group
|
120
|
+
if group_to_traverse.is_a?(String)
|
121
|
+
return group_to_traverse if group_to_traverse == @selected.to_s
|
122
|
+
|
123
|
+
next
|
124
|
+
end
|
78
125
|
|
79
|
-
|
126
|
+
group_to_traverse.each do |item|
|
127
|
+
if item.is_a?(Array) && item[1] == @selected.to_s
|
128
|
+
return item[0]
|
129
|
+
elsif item.is_a?(String) && item == @selected.to_s
|
130
|
+
return item
|
131
|
+
end
|
132
|
+
end
|
133
|
+
end
|
80
134
|
end
|
81
135
|
end
|
82
136
|
end
|
@@ -52,6 +52,7 @@ module Polaris
|
|
52
52
|
required: false,
|
53
53
|
help_text: nil,
|
54
54
|
error: false,
|
55
|
+
clear_errors_on_focus: false,
|
55
56
|
wrapper_arguments: {},
|
56
57
|
input_options: {},
|
57
58
|
**system_arguments
|
@@ -83,6 +84,7 @@ module Polaris
|
|
83
84
|
@required = required
|
84
85
|
@help_text = help_text
|
85
86
|
@error = error
|
87
|
+
@clear_errors_on_focus = clear_errors_on_focus
|
86
88
|
@wrapper_arguments = wrapper_arguments
|
87
89
|
@input_options = input_options
|
88
90
|
@system_arguments = system_arguments
|
@@ -98,7 +100,8 @@ module Polaris
|
|
98
100
|
label_action: @label_action,
|
99
101
|
required: @required,
|
100
102
|
help_text: @help_text,
|
101
|
-
error: @error
|
103
|
+
error: @error,
|
104
|
+
classes: "polaris-text-field-wrapper"
|
102
105
|
}.deep_merge(@wrapper_arguments)
|
103
106
|
end
|
104
107
|
|
@@ -136,8 +139,14 @@ module Polaris
|
|
136
139
|
placeholder: @placeholder,
|
137
140
|
maxlength: @maxlength,
|
138
141
|
minlength: @minlength,
|
139
|
-
data: {
|
142
|
+
data: {
|
143
|
+
polaris_text_field_target: "input"
|
144
|
+
}
|
140
145
|
}
|
146
|
+
if @clear_errors_on_focus
|
147
|
+
append_option(default_options[:data], :action, "focus->polaris-text-field#clearErrorMessages")
|
148
|
+
end
|
149
|
+
|
141
150
|
if @type == :number
|
142
151
|
default_options.merge!({
|
143
152
|
step: @step,
|
@@ -4,6 +4,6 @@
|
|
4
4
|
<div class="Polaris-Tooltip-TooltipOverlay__Content Polaris-Tooltip-TooltipOverlay--default">
|
5
5
|
<%= @text %>
|
6
6
|
</div>
|
7
|
-
<div class="Polaris-Tooltip-Arrow" data-
|
7
|
+
<div class="Polaris-Tooltip-Arrow" data-tooltip-arrow="true"></div>
|
8
8
|
</template>
|
9
9
|
<% end %>
|
@@ -20,7 +20,12 @@ module Polaris
|
|
20
20
|
prepend_option(
|
21
21
|
system_arguments[:data],
|
22
22
|
:action,
|
23
|
-
|
23
|
+
%w[
|
24
|
+
mouseenter->polaris-tooltip#show
|
25
|
+
mouseleave->polaris-tooltip#hide
|
26
|
+
focus->polaris-tooltip#show
|
27
|
+
blur->polaris-tooltip#hide
|
28
|
+
].join(" ")
|
24
29
|
)
|
25
30
|
prepend_option(system_arguments[:data], :controller, "polaris-tooltip")
|
26
31
|
end
|
@@ -87,5 +87,30 @@ module Polaris
|
|
87
87
|
end
|
88
88
|
render Polaris::DropzoneComponent.new(form: self, attribute: method, **options, &block)
|
89
89
|
end
|
90
|
+
|
91
|
+
def polaris_collection_check_boxes(method, collection, value_method, text_method, **options, &block)
|
92
|
+
options[:error] ||= error_for(method)
|
93
|
+
if options[:error_hidden] && options[:error]
|
94
|
+
options[:error] = !!options[:error]
|
95
|
+
end
|
96
|
+
|
97
|
+
value = object&.public_send(method)
|
98
|
+
if value.present?
|
99
|
+
options[:selected] = value.map { |el| el.public_send(value_method) }
|
100
|
+
end
|
101
|
+
|
102
|
+
render Polaris::ChoiceListComponent.new(
|
103
|
+
form: self,
|
104
|
+
title: method.to_s.humanize,
|
105
|
+
attribute: method,
|
106
|
+
name: method,
|
107
|
+
**options,
|
108
|
+
&block
|
109
|
+
) do |choice|
|
110
|
+
collection.each do |item|
|
111
|
+
choice.with_checkbox(label: item.public_send(text_method), value: item.public_send(value_method))
|
112
|
+
end
|
113
|
+
end
|
114
|
+
end
|
90
115
|
end
|
91
116
|
end
|