@shopify/polaris-types 2.0.0-rc.0 → 2.0.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/custom-elements.json +3 -3
- package/dist/polaris.d.ts +288 -70
- package/package.json +1 -1
|
@@ -9625,7 +9625,7 @@
|
|
|
9625
9625
|
},
|
|
9626
9626
|
{
|
|
9627
9627
|
"name": "supplemental",
|
|
9628
|
-
"description": "Status or metadata that describes the section as a whole rather than qualifying its heading, rendered at the inline-end of the header before any actions. This is not an action. Only accepts Badge, Avatar, Text, Icon, and
|
|
9628
|
+
"description": "Status or metadata that describes the section as a whole rather than qualifying its heading, rendered at the inline-end of the header before any actions. This is not an action. Only accepts Badge, Avatar, Text, Icon, Thumbnail, and Tooltip elements, under the same prop constraints as `accessory`."
|
|
9629
9629
|
}
|
|
9630
9630
|
],
|
|
9631
9631
|
"members": [
|
|
@@ -11895,7 +11895,7 @@
|
|
|
11895
11895
|
"kind": "field",
|
|
11896
11896
|
"name": "icon",
|
|
11897
11897
|
"type": {
|
|
11898
|
-
"text": "\"cart-filled\" | \"channels-filled\" | \"home-filled\" | \"order-filled\" | \"person-filled\" | \"product-filled\" | \"color\" | \"info\" | \"adjust\" | \"affiliate\" | \"airplane\" | \"alert-bubble\" | \"alert-circle\" | \"alert-diamond\" | \"alert-location\" | \"alert-octagon\" | \"alert-octagon-filled\" | \"alert-triangle\" | \"align-horizontal-centers\" | \"app-extension\" | \"apps\" | \"archive\" | \"arrow-down\" | \"arrow-down-circle\" | \"arrow-left\" | \"arrow-left-circle\" | \"arrow-right\" | \"arrow-right-circle\" | \"arrow-up\" | \"arrow-up-circle\" | \"arrow-up-right\" | \"arrows-in-horizontal\" | \"arrows-out-horizontal\" | \"asterisk\" | \"attachment\" | \"automation\" | \"backspace\" | \"bag\" | \"bank\" | \"barcode\" | \"bill\" | \"blank\" | \"blog\" | \"bolt\" | \"bolt-filled\" | \"book\" | \"book-open\" | \"brain\" | \"bug\" | \"bullet\" | \"business-entity\" | \"button\" | \"button-press\" | \"calculator\" | \"calendar\" | \"calendar-check\" | \"calendar-compare\" | \"calendar-list\" | \"calendar-time\" | \"camera\" | \"camera-flip\" | \"caret-down\" | \"caret-left\" | \"caret-right\" | \"caret-up\" | \"cart\" | \"cart-abandoned\" | \"cart-discount\" | \"cart-down\" | \"cart-sale\" | \"cart-up\" | \"cash-dollar\" | \"cash-euro\" | \"cash-pound\" | \"cash-rupee\" | \"cash-yen\" | \"catalog-product\" | \"categories\" | \"channels\" | \"chart-cohort\" | \"chart-donut\" | \"chart-funnel\" | \"chart-histogram-first\" | \"chart-histogram-first-last\" | \"chart-histogram-flat\" | \"chart-histogram-full\" | \"chart-histogram-growth\" | \"chart-histogram-last\" | \"chart-histogram-second-last\" | \"chart-horizontal\" | \"chart-line\" | \"chart-popular\" | \"chart-stacked\" | \"chart-vertical\" | \"chat\" | \"chat-new\" | \"chat-referral\" | \"check\" | \"check-circle\" | \"check-circle-filled\" | \"checkbox\" | \"chevron-down\" | \"chevron-down-circle\" | \"chevron-left\" | \"chevron-left-circle\" | \"chevron-right\" | \"chevron-right-circle\" | \"chevron-up\" | \"chevron-up-circle\" | \"circle\" | \"circle-dashed\" | \"clipboard\" | \"clipboard-check\" | \"clipboard-checklist\" | \"clock\" | \"clock-list\" | \"clock-revert\" | \"code\" | \"code-add\" | \"collection\" | \"collection-featured\" | \"collection-list\" | \"collection-reference\" | \"color-none\" | \"compass\" | \"compose\" | \"confetti\" | \"connect\" | \"content\" | \"contract\" | \"corner-pill\" | \"corner-round\" | \"corner-square\" | \"credit-card\" | \"credit-card-cancel\" | \"credit-card-percent\" | \"credit-card-reader\" | \"credit-card-reader-chip\" | \"credit-card-reader-tap\" | \"credit-card-secure\" | \"credit-card-tap-chip\" | \"crop\" | \"currency-convert\" | \"cursor\" | \"cursor-banner\" | \"cursor-option\" | \"data-presentation\" | \"data-table\" | \"database\" | \"database-add\" | \"database-connect\" | \"delete\" | \"delivery\" | \"desktop\" | \"disabled\" | \"discount\" | \"discount-add\" | \"discount-code\" | \"dns-settings\" | \"dock-floating\" | \"dock-side\" | \"domain\" | \"domain-landing-page\" | \"domain-new\" | \"domain-redirect\" | \"download\" | \"drag-drop\" | \"drag-handle\" | \"duplicate\" | \"edit\" | \"email\" | \"email-follow-up\" | \"email-newsletter\" | \"enabled\" | \"enter\" | \"envelope\" | \"envelope-soft-pack\" | \"eraser\" | \"exchange\" | \"exit\" | \"export\" | \"external\" | \"eye-check-mark\" | \"eye-dropper\" | \"eye-dropper-list\" | \"eye-first\" | \"eyeglasses\" | \"favicon\" | \"file\" | \"file-list\" | \"filter\" | \"filter-active\" | \"flag\" | \"flip-horizontal\" | \"flip-vertical\" | \"flower\" | \"folder\" | \"folder-add\" | \"folder-down\" | \"folder-remove\" | \"folder-up\" | \"food\" | \"foreground\" | \"forklift\" | \"forms\" | \"games\" | \"gauge\" | \"gift-card\" | \"git-branch\" | \"git-commit\" | \"git-repository\" | \"globe\" | \"globe-asia\" | \"globe-europe\" | \"globe-lines\" | \"globe-list\" | \"grid\" | \"hashtag\" | \"hashtag-decimal\" | \"hashtag-list\" | \"heart\" | \"hide\" | \"hide-filled\" | \"home\" | \"icons\" | \"identity-card\" | \"image\" | \"image-add\" | \"image-alt\" | \"image-explore\" | \"image-magic\" | \"image-none\" | \"image-with-text-overlay\" | \"images\" | \"import\" | \"in-progress\" | \"incentive\" | \"incoming\" | \"incomplete\" | \"inheritance\" | \"inventory\" | \"inventory-updated\" | \"iq\" | \"key\" | \"keyboard\" | \"keyboard-filled\" | \"keyboard-hide\" | \"label-printer\" | \"language\" | \"language-translate\" | \"layer\" | \"layout-block\" | \"layout-buy-button\" | \"layout-buy-button-horizontal\" | \"layout-buy-button-vertical\" | \"layout-column-1\" | \"layout-columns-2\" | \"layout-columns-3\" | \"layout-footer\" | \"layout-header\" | \"layout-logo-block\" | \"layout-popup\" | \"layout-rows-2\" | \"layout-section\" | \"layout-sidebar-left\" | \"layout-sidebar-right\" | \"lightbulb\" | \"link\" | \"link-list\" | \"list-bulleted\" | \"list-bulleted-filled\" | \"list-numbered\" | \"live\" | \"location\" | \"location-none\" | \"lock\" | \"map\" | \"markets\" | \"markets-euro\" | \"markets-rupee\" | \"markets-yen\" | \"maximize\" | \"measurement-size\" | \"measurement-size-list\" | \"measurement-volume\" | \"measurement-volume-list\" | \"measurement-weight\" | \"measurement-weight-list\" | \"media-receiver\" | \"megaphone\" | \"mention\" | \"menu\" | \"menu-horizontal\" | \"menu-vertical\" | \"merge\" | \"metafields\" | \"metaobject\" | \"metaobject-list\" | \"metaobject-reference\" | \"microphone\" | \"microphone-muted\" | \"minimize\" | \"minus\" | \"minus-circle\" | \"mobile\" | \"money\" | \"money-none\" | \"moon\" | \"nature\" | \"note\" | \"note-add\" | \"notification\" | \"number-one\" | \"order\" | \"order-batches\" | \"order-draft\" | \"order-first\" | \"order-fulfilled\" | \"order-repeat\" | \"order-unfulfilled\" | \"orders-status\" | \"organization\" | \"outdent\" | \"outgoing\" | \"package\" | \"package-fulfilled\" | \"package-on-hold\" | \"package-returned\" | \"page\" | \"page-add\" | \"page-attachment\" | \"page-clock\" | \"page-down\" | \"page-heart\" | \"page-list\" | \"page-reference\" | \"page-remove\" | \"page-report\" | \"page-up\" | \"pagination-end\" | \"pagination-start\" | \"paint-brush-flat\" | \"paint-brush-round\" | \"paper-check\" | \"passkey\" | \"paste\" | \"pause-circle\" | \"payment\" | \"payment-capture\" | \"payout\" | \"payout-dollar\" | \"payout-euro\" | \"payout-pound\" | \"payout-rupee\" | \"payout-yen\" | \"person\" | \"person-add\" | \"person-exit\" | \"person-list\" | \"person-lock\" | \"person-remove\" | \"person-segment\" | \"personalized-text\" | \"phone\" | \"phone-down\" | \"phone-down-filled\" | \"phone-in\" | \"phone-out\" | \"pin\" | \"pin-remove\" | \"plan\" | \"play\" | \"play-circle\" | \"plus\" | \"plus-circle\" | \"plus-circle-down\" | \"plus-circle-filled\" | \"plus-circle-up\" | \"point-of-sale\" | \"price-list\" | \"print\" | \"product\" | \"product-add\" | \"product-cost\" | \"product-list\" | \"product-reference\" | \"product-remove\" | \"product-return\" | \"product-unavailable\" | \"profile\" | \"profile-filled\" | \"question-circle\" | \"question-circle-filled\" | \"radio-control\" | \"receipt\" | \"receipt-dollar\" | \"receipt-euro\" | \"receipt-paid\" | \"receipt-pound\" | \"receipt-refund\" | \"receipt-rupee\" | \"receipt-yen\" | \"receivables\" | \"redo\" | \"referral-code\" | \"refresh\" | \"remove-background\" | \"replace\" | \"replay\" | \"reset\" | \"return\" | \"reward\" | \"rocket\" | \"rotate-left\" | \"rotate-right\" | \"sandbox\" | \"save\" | \"search\" | \"search-add\" | \"search-list\" | \"search-recent\" | \"search-resource\" | \"select\" | \"send\" | \"settings\" | \"share\" | \"shield-check-mark\" | \"shield-none\" | \"shield-pending\" | \"shield-person\" | \"shipping-label\" | \"shopcodes\" | \"slideshow\" | \"smiley-happy\" | \"smiley-joy\" | \"smiley-neutral\" | \"smiley-sad\" | \"social-ad\" | \"social-post\" | \"sort\" | \"sort-ascending\" | \"sort-descending\" | \"sound\" | \"split\" | \"sports\" | \"star\" | \"star-filled\" | \"star-list\" | \"status\" | \"status-active\" | \"stop-circle\" | \"store\" | \"store-import\" | \"store-managed\" | \"store-online\" | \"sun\" | \"table\" | \"table-masonry\" | \"tablet\" | \"target\" | \"tax\" | \"team\" | \"text\" | \"text-align-center\" | \"text-align-left\" | \"text-align-right\" | \"text-block\" | \"text-bold\" | \"text-color\" | \"text-font\" | \"text-font-list\" | \"text-grammar\" | \"text-in-columns\" | \"text-in-rows\" | \"text-indent\" | \"text-italic\" | \"text-quote\" | \"text-title\" | \"text-underline\" | \"text-with-image\" | \"theme\" | \"theme-cart\" | \"theme-edit\" | \"theme-store\" | \"theme-template\" | \"three-d-environment\" | \"thumbs-down\" | \"thumbs-up\" | \"tip-jar\" | \"toggle-off\" | \"toggle-on\" | \"transaction\" | \"transaction-fee-dollar\" | \"transaction-fee-euro\" | \"transaction-fee-pound\" | \"transaction-fee-rupee\" | \"transaction-fee-yen\" | \"transfer\" | \"transfer-in\" | \"transfer-internal\" | \"transfer-out\" | \"undo\" | \"unknown-device\" | \"unlock\" | \"upload\" | \"variant\" | \"variant-list\" | \"video\" | \"video-list\" | \"view\" | \"viewport-narrow\" | \"viewport-short\" | \"viewport-tall\" | \"viewport-wide\" | \"wallet\" | \"wand\" | \"watch\" | \"wifi\" | \"work\" | \"work-list\" | \"wrench\" | \"x\" | \"x-circle\" | \"empty\" | \"alert-triangle-filled\" | \"arrow-down-right\" | \"battery-low\" | \"broom\" | \"cart-send\" | \"complete\" | \"delivered\" | \"disabled-filled\" | \"discount-automatic\" | \"discount-remove\" | \"drawer\" | \"fav\" | \"geolocation\" | \"gift\" | \"graduation-hat\" | \"info-filled\" | \"inventory-edit\" | \"inventory-list\" | \"inventory-transfer\" | \"keypad\" | \"live-critical\" | \"live-none\" | \"menu-filled\" | \"money-split\" | \"package-cancel\" | \"package-reassign\" | \"partially-complete\" | \"phablet\" | \"point-of-sale-register\" | \"receipt-folded\" | \"reorder\" | \"savings\" | \"scan-qr-code\" | \"shipping-label-cancel\" | \"star-circle\" | \"star-half\" | \"text-indent-remove\" | \"transaction-fee-add\" | \"truck\" | \"x-circle-filled\""
|
|
11898
|
+
"text": "\"cart-filled\" | \"channels-filled\" | \"home-filled\" | \"order-filled\" | \"person-filled\" | \"product-filled\" | \"color\" | \"info\" | \"adjust\" | \"affiliate\" | \"airplane\" | \"alert-bubble\" | \"alert-circle\" | \"alert-diamond\" | \"alert-location\" | \"alert-octagon\" | \"alert-octagon-filled\" | \"alert-triangle\" | \"align-horizontal-centers\" | \"app-extension\" | \"apps\" | \"archive\" | \"arrow-down\" | \"arrow-down-circle\" | \"arrow-left\" | \"arrow-left-circle\" | \"arrow-right\" | \"arrow-right-circle\" | \"arrow-up\" | \"arrow-up-circle\" | \"arrow-up-right\" | \"arrows-in-horizontal\" | \"arrows-out-horizontal\" | \"arrows-out-horizontal-filled\" | \"asterisk\" | \"attachment\" | \"automation\" | \"automation-filled\" | \"backspace\" | \"bag\" | \"bank\" | \"barcode\" | \"bill\" | \"bill-filled\" | \"blank\" | \"blank-filled\" | \"blog\" | \"blog-filled\" | \"bolt\" | \"bolt-filled\" | \"book\" | \"book-open\" | \"brain\" | \"bug\" | \"bullet\" | \"business-entity\" | \"button\" | \"button-press\" | \"calculator\" | \"calendar\" | \"calendar-check\" | \"calendar-compare\" | \"calendar-list\" | \"calendar-time\" | \"camera\" | \"camera-flip\" | \"caret-down\" | \"caret-left\" | \"caret-right\" | \"caret-up\" | \"cart\" | \"cart-abandoned\" | \"cart-abandoned-filled\" | \"cart-discount\" | \"cart-down\" | \"cart-down-filled\" | \"cart-sale\" | \"cart-up\" | \"cash-dollar\" | \"cash-euro\" | \"cash-pound\" | \"cash-rupee\" | \"cash-yen\" | \"catalog-product\" | \"categories\" | \"channels\" | \"chart-cohort\" | \"chart-donut\" | \"chart-funnel\" | \"chart-histogram-first\" | \"chart-histogram-first-last\" | \"chart-histogram-flat\" | \"chart-histogram-full\" | \"chart-histogram-growth\" | \"chart-histogram-last\" | \"chart-histogram-second-last\" | \"chart-horizontal\" | \"chart-line\" | \"chart-popular\" | \"chart-stacked\" | \"chart-vertical\" | \"chat\" | \"chat-new\" | \"chat-referral\" | \"check\" | \"check-circle\" | \"check-circle-filled\" | \"checkbox\" | \"chevron-down\" | \"chevron-down-circle\" | \"chevron-left\" | \"chevron-left-circle\" | \"chevron-right\" | \"chevron-right-circle\" | \"chevron-up\" | \"chevron-up-circle\" | \"circle\" | \"circle-dashed\" | \"clipboard\" | \"clipboard-check\" | \"clipboard-checklist\" | \"clock\" | \"clock-list\" | \"clock-revert\" | \"code\" | \"code-add\" | \"collection\" | \"collection-featured\" | \"collection-filled\" | \"collection-list\" | \"collection-reference\" | \"color-none\" | \"compass\" | \"compose\" | \"confetti\" | \"connect\" | \"content\" | \"contract\" | \"corner-pill\" | \"corner-round\" | \"corner-square\" | \"credit-card\" | \"credit-card-cancel\" | \"credit-card-percent\" | \"credit-card-reader\" | \"credit-card-reader-chip\" | \"credit-card-reader-tap\" | \"credit-card-secure\" | \"credit-card-tap-chip\" | \"crop\" | \"currency-convert\" | \"cursor\" | \"cursor-banner\" | \"cursor-option\" | \"data-presentation\" | \"data-table\" | \"database\" | \"database-add\" | \"database-connect\" | \"delete\" | \"delivery\" | \"desktop\" | \"disabled\" | \"discount\" | \"discount-add\" | \"discount-code\" | \"dns-settings\" | \"dock-floating\" | \"dock-side\" | \"domain\" | \"domain-landing-page\" | \"domain-new\" | \"domain-redirect\" | \"download\" | \"drag-drop\" | \"drag-handle\" | \"duplicate\" | \"edit\" | \"email\" | \"email-follow-up\" | \"email-newsletter\" | \"enabled\" | \"enter\" | \"envelope\" | \"envelope-soft-pack\" | \"eraser\" | \"exchange\" | \"exit\" | \"export\" | \"external\" | \"eye-check-mark\" | \"eye-dropper\" | \"eye-dropper-list\" | \"eye-first\" | \"eyeglasses\" | \"favicon\" | \"file\" | \"file-filled\" | \"file-list\" | \"filter\" | \"filter-active\" | \"flag\" | \"flip-horizontal\" | \"flip-vertical\" | \"flower\" | \"folder\" | \"folder-add\" | \"folder-down\" | \"folder-remove\" | \"folder-up\" | \"food\" | \"foreground\" | \"forklift\" | \"forms\" | \"games\" | \"gauge\" | \"generated-app\" | \"gift-card\" | \"git-branch\" | \"git-commit\" | \"git-repository\" | \"globe\" | \"globe-asia\" | \"globe-asia-filled\" | \"globe-europe\" | \"globe-europe-filled\" | \"globe-filled\" | \"globe-lines\" | \"globe-list\" | \"grid\" | \"hashtag\" | \"hashtag-decimal\" | \"hashtag-list\" | \"heart\" | \"hide\" | \"hide-filled\" | \"home\" | \"icons\" | \"identity-card\" | \"identity-card-filled\" | \"image\" | \"image-add\" | \"image-alt\" | \"image-explore\" | \"image-magic\" | \"image-none\" | \"image-with-text-overlay\" | \"images\" | \"import\" | \"in-progress\" | \"incentive\" | \"incoming\" | \"incomplete\" | \"inheritance\" | \"inventory\" | \"inventory-filled\" | \"inventory-updated\" | \"iq\" | \"key\" | \"keyboard\" | \"keyboard-filled\" | \"keyboard-hide\" | \"label-printer\" | \"language\" | \"language-translate\" | \"layer\" | \"layout-block\" | \"layout-buy-button\" | \"layout-buy-button-horizontal\" | \"layout-buy-button-vertical\" | \"layout-column-1\" | \"layout-columns-2\" | \"layout-columns-3\" | \"layout-footer\" | \"layout-header\" | \"layout-logo-block\" | \"layout-popup\" | \"layout-rows-2\" | \"layout-section\" | \"layout-sidebar-left\" | \"layout-sidebar-right\" | \"lightbulb\" | \"link\" | \"link-list\" | \"list-bulleted\" | \"list-bulleted-filled\" | \"list-numbered\" | \"live\" | \"live-filled\" | \"location\" | \"location-none\" | \"lock\" | \"magic\" | \"map\" | \"markets\" | \"markets-euro\" | \"markets-euro-filled\" | \"markets-rupee\" | \"markets-rupee-filled\" | \"markets-yen\" | \"markets-yen-filled\" | \"maximize\" | \"measurement-size\" | \"measurement-size-list\" | \"measurement-volume\" | \"measurement-volume-list\" | \"measurement-weight\" | \"measurement-weight-list\" | \"media-receiver\" | \"megaphone\" | \"megaphone-filled\" | \"mention\" | \"menu\" | \"menu-horizontal\" | \"menu-vertical\" | \"merge\" | \"metafields\" | \"metaobject\" | \"metaobject-filled\" | \"metaobject-list\" | \"metaobject-reference\" | \"microphone\" | \"microphone-muted\" | \"minimize\" | \"minus\" | \"minus-circle\" | \"mobile\" | \"money\" | \"money-filled\" | \"money-none\" | \"moon\" | \"nature\" | \"note\" | \"note-add\" | \"notification\" | \"number-one\" | \"order\" | \"order-batches\" | \"order-draft\" | \"order-draft-filled\" | \"order-first\" | \"order-fulfilled\" | \"order-repeat\" | \"order-unfulfilled\" | \"orders-status\" | \"organization\" | \"outdent\" | \"outgoing\" | \"package\" | \"package-fulfilled\" | \"package-on-hold\" | \"package-returned\" | \"page\" | \"page-add\" | \"page-attachment\" | \"page-clock\" | \"page-down\" | \"page-heart\" | \"page-list\" | \"page-reference\" | \"page-remove\" | \"page-report\" | \"page-up\" | \"pagination-end\" | \"pagination-start\" | \"paint-brush-flat\" | \"paint-brush-round\" | \"paper-check\" | \"passkey\" | \"passkey-filled\" | \"paste\" | \"pause-circle\" | \"payment\" | \"payment-capture\" | \"payout\" | \"payout-dollar\" | \"payout-euro\" | \"payout-pound\" | \"payout-rupee\" | \"payout-yen\" | \"person\" | \"person-add\" | \"person-exit\" | \"person-list\" | \"person-lock\" | \"person-remove\" | \"person-segment\" | \"personalized-text\" | \"phone\" | \"phone-down\" | \"phone-down-filled\" | \"phone-in\" | \"phone-out\" | \"pin\" | \"pin-filled\" | \"pin-remove\" | \"plan\" | \"play\" | \"play-circle\" | \"plus\" | \"plus-circle\" | \"plus-circle-down\" | \"plus-circle-filled\" | \"plus-circle-up\" | \"point-of-sale\" | \"price-list\" | \"price-list-filled\" | \"print\" | \"product\" | \"product-add\" | \"product-cost\" | \"product-list\" | \"product-reference\" | \"product-remove\" | \"product-return\" | \"product-unavailable\" | \"profile\" | \"profile-filled\" | \"question-circle\" | \"question-circle-filled\" | \"radio-control\" | \"rank-bottom\" | \"rank-top\" | \"receipt\" | \"receipt-dollar\" | \"receipt-euro\" | \"receipt-euro-filled\" | \"receipt-paid\" | \"receipt-pound\" | \"receipt-pound-filled\" | \"receipt-refund\" | \"receipt-rupee\" | \"receipt-rupee-filled\" | \"receipt-yen\" | \"receipt-yen-filled\" | \"receivables\" | \"redo\" | \"referral-code\" | \"refresh\" | \"remove-background\" | \"replace\" | \"replay\" | \"reset\" | \"return\" | \"reward\" | \"rocket\" | \"rotate-left\" | \"rotate-right\" | \"sandbox\" | \"save\" | \"search\" | \"search-add\" | \"search-list\" | \"search-recent\" | \"search-resource\" | \"select\" | \"send\" | \"settings\" | \"share\" | \"shield-check-mark\" | \"shield-network\" | \"shield-none\" | \"shield-pending\" | \"shield-person\" | \"shipping-label\" | \"shipping-label-filled\" | \"shopcodes\" | \"slideshow\" | \"smiley-happy\" | \"smiley-joy\" | \"smiley-neutral\" | \"smiley-sad\" | \"social-ad\" | \"social-post\" | \"sort\" | \"sort-ascending\" | \"sort-descending\" | \"sound\" | \"split\" | \"sports\" | \"star\" | \"star-filled\" | \"star-list\" | \"status\" | \"status-active\" | \"stop-circle\" | \"store\" | \"store-import\" | \"store-managed\" | \"store-online\" | \"sun\" | \"table\" | \"table-masonry\" | \"tablet\" | \"target\" | \"tax\" | \"team\" | \"text\" | \"text-align-center\" | \"text-align-left\" | \"text-align-right\" | \"text-block\" | \"text-bold\" | \"text-color\" | \"text-font\" | \"text-font-list\" | \"text-grammar\" | \"text-in-columns\" | \"text-in-rows\" | \"text-in-rows-filled\" | \"text-indent\" | \"text-italic\" | \"text-quote\" | \"text-title\" | \"text-underline\" | \"text-with-image\" | \"theme\" | \"theme-cart\" | \"theme-edit\" | \"theme-store\" | \"theme-template\" | \"three-d-environment\" | \"thumbs-down\" | \"thumbs-up\" | \"tip-jar\" | \"toggle-off\" | \"toggle-on\" | \"transaction\" | \"transaction-fee-dollar\" | \"transaction-fee-euro\" | \"transaction-fee-pound\" | \"transaction-fee-rupee\" | \"transaction-fee-yen\" | \"transfer\" | \"transfer-in\" | \"transfer-internal\" | \"transfer-out\" | \"undo\" | \"unknown-device\" | \"unlock\" | \"upload\" | \"variant\" | \"variant-list\" | \"video\" | \"video-list\" | \"view\" | \"viewport-narrow\" | \"viewport-short\" | \"viewport-tall\" | \"viewport-wide\" | \"wallet\" | \"wallet-filled\" | \"wand\" | \"watch\" | \"wifi\" | \"work\" | \"work-filled\" | \"work-list\" | \"wrench\" | \"x\" | \"x-circle\" | \"empty\" | \"alert-triangle-filled\" | \"app-generated-filled\" | \"arrow-down-right\" | \"battery-low\" | \"broom\" | \"cart-send\" | \"complete\" | \"delivered\" | \"disabled-filled\" | \"discount-automatic\" | \"discount-remove\" | \"drawer\" | \"fav\" | \"geolocation\" | \"gift\" | \"graduation-hat\" | \"info-filled\" | \"inventory-edit\" | \"inventory-list\" | \"inventory-transfer\" | \"keypad\" | \"layout-block-magic\" | \"live-critical\" | \"live-none\" | \"menu-filled\" | \"money-split\" | \"package-cancel\" | \"package-reassign\" | \"partially-complete\" | \"phablet\" | \"point-of-sale-register\" | \"receipt-folded\" | \"reorder\" | \"savings\" | \"scan-qr-code\" | \"shipping-label-cancel\" | \"star-circle\" | \"star-half\" | \"text-indent-remove\" | \"text-magic\" | \"transaction-fee-add\" | \"truck\" | \"x-circle-filled\""
|
|
11899
11899
|
},
|
|
11900
11900
|
"default": "''",
|
|
11901
11901
|
"description": "The type of icon to be displayed in the field."
|
|
@@ -12081,7 +12081,7 @@
|
|
|
12081
12081
|
"name": "icon",
|
|
12082
12082
|
"fieldName": "icon",
|
|
12083
12083
|
"type": {
|
|
12084
|
-
"text": "\"cart-filled\" | \"channels-filled\" | \"home-filled\" | \"order-filled\" | \"person-filled\" | \"product-filled\" | \"color\" | \"info\" | \"adjust\" | \"affiliate\" | \"airplane\" | \"alert-bubble\" | \"alert-circle\" | \"alert-diamond\" | \"alert-location\" | \"alert-octagon\" | \"alert-octagon-filled\" | \"alert-triangle\" | \"align-horizontal-centers\" | \"app-extension\" | \"apps\" | \"archive\" | \"arrow-down\" | \"arrow-down-circle\" | \"arrow-left\" | \"arrow-left-circle\" | \"arrow-right\" | \"arrow-right-circle\" | \"arrow-up\" | \"arrow-up-circle\" | \"arrow-up-right\" | \"arrows-in-horizontal\" | \"arrows-out-horizontal\" | \"asterisk\" | \"attachment\" | \"automation\" | \"backspace\" | \"bag\" | \"bank\" | \"barcode\" | \"bill\" | \"blank\" | \"blog\" | \"bolt\" | \"bolt-filled\" | \"book\" | \"book-open\" | \"brain\" | \"bug\" | \"bullet\" | \"business-entity\" | \"button\" | \"button-press\" | \"calculator\" | \"calendar\" | \"calendar-check\" | \"calendar-compare\" | \"calendar-list\" | \"calendar-time\" | \"camera\" | \"camera-flip\" | \"caret-down\" | \"caret-left\" | \"caret-right\" | \"caret-up\" | \"cart\" | \"cart-abandoned\" | \"cart-discount\" | \"cart-down\" | \"cart-sale\" | \"cart-up\" | \"cash-dollar\" | \"cash-euro\" | \"cash-pound\" | \"cash-rupee\" | \"cash-yen\" | \"catalog-product\" | \"categories\" | \"channels\" | \"chart-cohort\" | \"chart-donut\" | \"chart-funnel\" | \"chart-histogram-first\" | \"chart-histogram-first-last\" | \"chart-histogram-flat\" | \"chart-histogram-full\" | \"chart-histogram-growth\" | \"chart-histogram-last\" | \"chart-histogram-second-last\" | \"chart-horizontal\" | \"chart-line\" | \"chart-popular\" | \"chart-stacked\" | \"chart-vertical\" | \"chat\" | \"chat-new\" | \"chat-referral\" | \"check\" | \"check-circle\" | \"check-circle-filled\" | \"checkbox\" | \"chevron-down\" | \"chevron-down-circle\" | \"chevron-left\" | \"chevron-left-circle\" | \"chevron-right\" | \"chevron-right-circle\" | \"chevron-up\" | \"chevron-up-circle\" | \"circle\" | \"circle-dashed\" | \"clipboard\" | \"clipboard-check\" | \"clipboard-checklist\" | \"clock\" | \"clock-list\" | \"clock-revert\" | \"code\" | \"code-add\" | \"collection\" | \"collection-featured\" | \"collection-list\" | \"collection-reference\" | \"color-none\" | \"compass\" | \"compose\" | \"confetti\" | \"connect\" | \"content\" | \"contract\" | \"corner-pill\" | \"corner-round\" | \"corner-square\" | \"credit-card\" | \"credit-card-cancel\" | \"credit-card-percent\" | \"credit-card-reader\" | \"credit-card-reader-chip\" | \"credit-card-reader-tap\" | \"credit-card-secure\" | \"credit-card-tap-chip\" | \"crop\" | \"currency-convert\" | \"cursor\" | \"cursor-banner\" | \"cursor-option\" | \"data-presentation\" | \"data-table\" | \"database\" | \"database-add\" | \"database-connect\" | \"delete\" | \"delivery\" | \"desktop\" | \"disabled\" | \"discount\" | \"discount-add\" | \"discount-code\" | \"dns-settings\" | \"dock-floating\" | \"dock-side\" | \"domain\" | \"domain-landing-page\" | \"domain-new\" | \"domain-redirect\" | \"download\" | \"drag-drop\" | \"drag-handle\" | \"duplicate\" | \"edit\" | \"email\" | \"email-follow-up\" | \"email-newsletter\" | \"enabled\" | \"enter\" | \"envelope\" | \"envelope-soft-pack\" | \"eraser\" | \"exchange\" | \"exit\" | \"export\" | \"external\" | \"eye-check-mark\" | \"eye-dropper\" | \"eye-dropper-list\" | \"eye-first\" | \"eyeglasses\" | \"favicon\" | \"file\" | \"file-list\" | \"filter\" | \"filter-active\" | \"flag\" | \"flip-horizontal\" | \"flip-vertical\" | \"flower\" | \"folder\" | \"folder-add\" | \"folder-down\" | \"folder-remove\" | \"folder-up\" | \"food\" | \"foreground\" | \"forklift\" | \"forms\" | \"games\" | \"gauge\" | \"gift-card\" | \"git-branch\" | \"git-commit\" | \"git-repository\" | \"globe\" | \"globe-asia\" | \"globe-europe\" | \"globe-lines\" | \"globe-list\" | \"grid\" | \"hashtag\" | \"hashtag-decimal\" | \"hashtag-list\" | \"heart\" | \"hide\" | \"hide-filled\" | \"home\" | \"icons\" | \"identity-card\" | \"image\" | \"image-add\" | \"image-alt\" | \"image-explore\" | \"image-magic\" | \"image-none\" | \"image-with-text-overlay\" | \"images\" | \"import\" | \"in-progress\" | \"incentive\" | \"incoming\" | \"incomplete\" | \"inheritance\" | \"inventory\" | \"inventory-updated\" | \"iq\" | \"key\" | \"keyboard\" | \"keyboard-filled\" | \"keyboard-hide\" | \"label-printer\" | \"language\" | \"language-translate\" | \"layer\" | \"layout-block\" | \"layout-buy-button\" | \"layout-buy-button-horizontal\" | \"layout-buy-button-vertical\" | \"layout-column-1\" | \"layout-columns-2\" | \"layout-columns-3\" | \"layout-footer\" | \"layout-header\" | \"layout-logo-block\" | \"layout-popup\" | \"layout-rows-2\" | \"layout-section\" | \"layout-sidebar-left\" | \"layout-sidebar-right\" | \"lightbulb\" | \"link\" | \"link-list\" | \"list-bulleted\" | \"list-bulleted-filled\" | \"list-numbered\" | \"live\" | \"location\" | \"location-none\" | \"lock\" | \"map\" | \"markets\" | \"markets-euro\" | \"markets-rupee\" | \"markets-yen\" | \"maximize\" | \"measurement-size\" | \"measurement-size-list\" | \"measurement-volume\" | \"measurement-volume-list\" | \"measurement-weight\" | \"measurement-weight-list\" | \"media-receiver\" | \"megaphone\" | \"mention\" | \"menu\" | \"menu-horizontal\" | \"menu-vertical\" | \"merge\" | \"metafields\" | \"metaobject\" | \"metaobject-list\" | \"metaobject-reference\" | \"microphone\" | \"microphone-muted\" | \"minimize\" | \"minus\" | \"minus-circle\" | \"mobile\" | \"money\" | \"money-none\" | \"moon\" | \"nature\" | \"note\" | \"note-add\" | \"notification\" | \"number-one\" | \"order\" | \"order-batches\" | \"order-draft\" | \"order-first\" | \"order-fulfilled\" | \"order-repeat\" | \"order-unfulfilled\" | \"orders-status\" | \"organization\" | \"outdent\" | \"outgoing\" | \"package\" | \"package-fulfilled\" | \"package-on-hold\" | \"package-returned\" | \"page\" | \"page-add\" | \"page-attachment\" | \"page-clock\" | \"page-down\" | \"page-heart\" | \"page-list\" | \"page-reference\" | \"page-remove\" | \"page-report\" | \"page-up\" | \"pagination-end\" | \"pagination-start\" | \"paint-brush-flat\" | \"paint-brush-round\" | \"paper-check\" | \"passkey\" | \"paste\" | \"pause-circle\" | \"payment\" | \"payment-capture\" | \"payout\" | \"payout-dollar\" | \"payout-euro\" | \"payout-pound\" | \"payout-rupee\" | \"payout-yen\" | \"person\" | \"person-add\" | \"person-exit\" | \"person-list\" | \"person-lock\" | \"person-remove\" | \"person-segment\" | \"personalized-text\" | \"phone\" | \"phone-down\" | \"phone-down-filled\" | \"phone-in\" | \"phone-out\" | \"pin\" | \"pin-remove\" | \"plan\" | \"play\" | \"play-circle\" | \"plus\" | \"plus-circle\" | \"plus-circle-down\" | \"plus-circle-filled\" | \"plus-circle-up\" | \"point-of-sale\" | \"price-list\" | \"print\" | \"product\" | \"product-add\" | \"product-cost\" | \"product-list\" | \"product-reference\" | \"product-remove\" | \"product-return\" | \"product-unavailable\" | \"profile\" | \"profile-filled\" | \"question-circle\" | \"question-circle-filled\" | \"radio-control\" | \"receipt\" | \"receipt-dollar\" | \"receipt-euro\" | \"receipt-paid\" | \"receipt-pound\" | \"receipt-refund\" | \"receipt-rupee\" | \"receipt-yen\" | \"receivables\" | \"redo\" | \"referral-code\" | \"refresh\" | \"remove-background\" | \"replace\" | \"replay\" | \"reset\" | \"return\" | \"reward\" | \"rocket\" | \"rotate-left\" | \"rotate-right\" | \"sandbox\" | \"save\" | \"search\" | \"search-add\" | \"search-list\" | \"search-recent\" | \"search-resource\" | \"select\" | \"send\" | \"settings\" | \"share\" | \"shield-check-mark\" | \"shield-none\" | \"shield-pending\" | \"shield-person\" | \"shipping-label\" | \"shopcodes\" | \"slideshow\" | \"smiley-happy\" | \"smiley-joy\" | \"smiley-neutral\" | \"smiley-sad\" | \"social-ad\" | \"social-post\" | \"sort\" | \"sort-ascending\" | \"sort-descending\" | \"sound\" | \"split\" | \"sports\" | \"star\" | \"star-filled\" | \"star-list\" | \"status\" | \"status-active\" | \"stop-circle\" | \"store\" | \"store-import\" | \"store-managed\" | \"store-online\" | \"sun\" | \"table\" | \"table-masonry\" | \"tablet\" | \"target\" | \"tax\" | \"team\" | \"text\" | \"text-align-center\" | \"text-align-left\" | \"text-align-right\" | \"text-block\" | \"text-bold\" | \"text-color\" | \"text-font\" | \"text-font-list\" | \"text-grammar\" | \"text-in-columns\" | \"text-in-rows\" | \"text-indent\" | \"text-italic\" | \"text-quote\" | \"text-title\" | \"text-underline\" | \"text-with-image\" | \"theme\" | \"theme-cart\" | \"theme-edit\" | \"theme-store\" | \"theme-template\" | \"three-d-environment\" | \"thumbs-down\" | \"thumbs-up\" | \"tip-jar\" | \"toggle-off\" | \"toggle-on\" | \"transaction\" | \"transaction-fee-dollar\" | \"transaction-fee-euro\" | \"transaction-fee-pound\" | \"transaction-fee-rupee\" | \"transaction-fee-yen\" | \"transfer\" | \"transfer-in\" | \"transfer-internal\" | \"transfer-out\" | \"undo\" | \"unknown-device\" | \"unlock\" | \"upload\" | \"variant\" | \"variant-list\" | \"video\" | \"video-list\" | \"view\" | \"viewport-narrow\" | \"viewport-short\" | \"viewport-tall\" | \"viewport-wide\" | \"wallet\" | \"wand\" | \"watch\" | \"wifi\" | \"work\" | \"work-list\" | \"wrench\" | \"x\" | \"x-circle\" | \"empty\" | \"alert-triangle-filled\" | \"arrow-down-right\" | \"battery-low\" | \"broom\" | \"cart-send\" | \"complete\" | \"delivered\" | \"disabled-filled\" | \"discount-automatic\" | \"discount-remove\" | \"drawer\" | \"fav\" | \"geolocation\" | \"gift\" | \"graduation-hat\" | \"info-filled\" | \"inventory-edit\" | \"inventory-list\" | \"inventory-transfer\" | \"keypad\" | \"live-critical\" | \"live-none\" | \"menu-filled\" | \"money-split\" | \"package-cancel\" | \"package-reassign\" | \"partially-complete\" | \"phablet\" | \"point-of-sale-register\" | \"receipt-folded\" | \"reorder\" | \"savings\" | \"scan-qr-code\" | \"shipping-label-cancel\" | \"star-circle\" | \"star-half\" | \"text-indent-remove\" | \"transaction-fee-add\" | \"truck\" | \"x-circle-filled\""
|
|
12084
|
+
"text": "\"cart-filled\" | \"channels-filled\" | \"home-filled\" | \"order-filled\" | \"person-filled\" | \"product-filled\" | \"color\" | \"info\" | \"adjust\" | \"affiliate\" | \"airplane\" | \"alert-bubble\" | \"alert-circle\" | \"alert-diamond\" | \"alert-location\" | \"alert-octagon\" | \"alert-octagon-filled\" | \"alert-triangle\" | \"align-horizontal-centers\" | \"app-extension\" | \"apps\" | \"archive\" | \"arrow-down\" | \"arrow-down-circle\" | \"arrow-left\" | \"arrow-left-circle\" | \"arrow-right\" | \"arrow-right-circle\" | \"arrow-up\" | \"arrow-up-circle\" | \"arrow-up-right\" | \"arrows-in-horizontal\" | \"arrows-out-horizontal\" | \"arrows-out-horizontal-filled\" | \"asterisk\" | \"attachment\" | \"automation\" | \"automation-filled\" | \"backspace\" | \"bag\" | \"bank\" | \"barcode\" | \"bill\" | \"bill-filled\" | \"blank\" | \"blank-filled\" | \"blog\" | \"blog-filled\" | \"bolt\" | \"bolt-filled\" | \"book\" | \"book-open\" | \"brain\" | \"bug\" | \"bullet\" | \"business-entity\" | \"button\" | \"button-press\" | \"calculator\" | \"calendar\" | \"calendar-check\" | \"calendar-compare\" | \"calendar-list\" | \"calendar-time\" | \"camera\" | \"camera-flip\" | \"caret-down\" | \"caret-left\" | \"caret-right\" | \"caret-up\" | \"cart\" | \"cart-abandoned\" | \"cart-abandoned-filled\" | \"cart-discount\" | \"cart-down\" | \"cart-down-filled\" | \"cart-sale\" | \"cart-up\" | \"cash-dollar\" | \"cash-euro\" | \"cash-pound\" | \"cash-rupee\" | \"cash-yen\" | \"catalog-product\" | \"categories\" | \"channels\" | \"chart-cohort\" | \"chart-donut\" | \"chart-funnel\" | \"chart-histogram-first\" | \"chart-histogram-first-last\" | \"chart-histogram-flat\" | \"chart-histogram-full\" | \"chart-histogram-growth\" | \"chart-histogram-last\" | \"chart-histogram-second-last\" | \"chart-horizontal\" | \"chart-line\" | \"chart-popular\" | \"chart-stacked\" | \"chart-vertical\" | \"chat\" | \"chat-new\" | \"chat-referral\" | \"check\" | \"check-circle\" | \"check-circle-filled\" | \"checkbox\" | \"chevron-down\" | \"chevron-down-circle\" | \"chevron-left\" | \"chevron-left-circle\" | \"chevron-right\" | \"chevron-right-circle\" | \"chevron-up\" | \"chevron-up-circle\" | \"circle\" | \"circle-dashed\" | \"clipboard\" | \"clipboard-check\" | \"clipboard-checklist\" | \"clock\" | \"clock-list\" | \"clock-revert\" | \"code\" | \"code-add\" | \"collection\" | \"collection-featured\" | \"collection-filled\" | \"collection-list\" | \"collection-reference\" | \"color-none\" | \"compass\" | \"compose\" | \"confetti\" | \"connect\" | \"content\" | \"contract\" | \"corner-pill\" | \"corner-round\" | \"corner-square\" | \"credit-card\" | \"credit-card-cancel\" | \"credit-card-percent\" | \"credit-card-reader\" | \"credit-card-reader-chip\" | \"credit-card-reader-tap\" | \"credit-card-secure\" | \"credit-card-tap-chip\" | \"crop\" | \"currency-convert\" | \"cursor\" | \"cursor-banner\" | \"cursor-option\" | \"data-presentation\" | \"data-table\" | \"database\" | \"database-add\" | \"database-connect\" | \"delete\" | \"delivery\" | \"desktop\" | \"disabled\" | \"discount\" | \"discount-add\" | \"discount-code\" | \"dns-settings\" | \"dock-floating\" | \"dock-side\" | \"domain\" | \"domain-landing-page\" | \"domain-new\" | \"domain-redirect\" | \"download\" | \"drag-drop\" | \"drag-handle\" | \"duplicate\" | \"edit\" | \"email\" | \"email-follow-up\" | \"email-newsletter\" | \"enabled\" | \"enter\" | \"envelope\" | \"envelope-soft-pack\" | \"eraser\" | \"exchange\" | \"exit\" | \"export\" | \"external\" | \"eye-check-mark\" | \"eye-dropper\" | \"eye-dropper-list\" | \"eye-first\" | \"eyeglasses\" | \"favicon\" | \"file\" | \"file-filled\" | \"file-list\" | \"filter\" | \"filter-active\" | \"flag\" | \"flip-horizontal\" | \"flip-vertical\" | \"flower\" | \"folder\" | \"folder-add\" | \"folder-down\" | \"folder-remove\" | \"folder-up\" | \"food\" | \"foreground\" | \"forklift\" | \"forms\" | \"games\" | \"gauge\" | \"generated-app\" | \"gift-card\" | \"git-branch\" | \"git-commit\" | \"git-repository\" | \"globe\" | \"globe-asia\" | \"globe-asia-filled\" | \"globe-europe\" | \"globe-europe-filled\" | \"globe-filled\" | \"globe-lines\" | \"globe-list\" | \"grid\" | \"hashtag\" | \"hashtag-decimal\" | \"hashtag-list\" | \"heart\" | \"hide\" | \"hide-filled\" | \"home\" | \"icons\" | \"identity-card\" | \"identity-card-filled\" | \"image\" | \"image-add\" | \"image-alt\" | \"image-explore\" | \"image-magic\" | \"image-none\" | \"image-with-text-overlay\" | \"images\" | \"import\" | \"in-progress\" | \"incentive\" | \"incoming\" | \"incomplete\" | \"inheritance\" | \"inventory\" | \"inventory-filled\" | \"inventory-updated\" | \"iq\" | \"key\" | \"keyboard\" | \"keyboard-filled\" | \"keyboard-hide\" | \"label-printer\" | \"language\" | \"language-translate\" | \"layer\" | \"layout-block\" | \"layout-buy-button\" | \"layout-buy-button-horizontal\" | \"layout-buy-button-vertical\" | \"layout-column-1\" | \"layout-columns-2\" | \"layout-columns-3\" | \"layout-footer\" | \"layout-header\" | \"layout-logo-block\" | \"layout-popup\" | \"layout-rows-2\" | \"layout-section\" | \"layout-sidebar-left\" | \"layout-sidebar-right\" | \"lightbulb\" | \"link\" | \"link-list\" | \"list-bulleted\" | \"list-bulleted-filled\" | \"list-numbered\" | \"live\" | \"live-filled\" | \"location\" | \"location-none\" | \"lock\" | \"magic\" | \"map\" | \"markets\" | \"markets-euro\" | \"markets-euro-filled\" | \"markets-rupee\" | \"markets-rupee-filled\" | \"markets-yen\" | \"markets-yen-filled\" | \"maximize\" | \"measurement-size\" | \"measurement-size-list\" | \"measurement-volume\" | \"measurement-volume-list\" | \"measurement-weight\" | \"measurement-weight-list\" | \"media-receiver\" | \"megaphone\" | \"megaphone-filled\" | \"mention\" | \"menu\" | \"menu-horizontal\" | \"menu-vertical\" | \"merge\" | \"metafields\" | \"metaobject\" | \"metaobject-filled\" | \"metaobject-list\" | \"metaobject-reference\" | \"microphone\" | \"microphone-muted\" | \"minimize\" | \"minus\" | \"minus-circle\" | \"mobile\" | \"money\" | \"money-filled\" | \"money-none\" | \"moon\" | \"nature\" | \"note\" | \"note-add\" | \"notification\" | \"number-one\" | \"order\" | \"order-batches\" | \"order-draft\" | \"order-draft-filled\" | \"order-first\" | \"order-fulfilled\" | \"order-repeat\" | \"order-unfulfilled\" | \"orders-status\" | \"organization\" | \"outdent\" | \"outgoing\" | \"package\" | \"package-fulfilled\" | \"package-on-hold\" | \"package-returned\" | \"page\" | \"page-add\" | \"page-attachment\" | \"page-clock\" | \"page-down\" | \"page-heart\" | \"page-list\" | \"page-reference\" | \"page-remove\" | \"page-report\" | \"page-up\" | \"pagination-end\" | \"pagination-start\" | \"paint-brush-flat\" | \"paint-brush-round\" | \"paper-check\" | \"passkey\" | \"passkey-filled\" | \"paste\" | \"pause-circle\" | \"payment\" | \"payment-capture\" | \"payout\" | \"payout-dollar\" | \"payout-euro\" | \"payout-pound\" | \"payout-rupee\" | \"payout-yen\" | \"person\" | \"person-add\" | \"person-exit\" | \"person-list\" | \"person-lock\" | \"person-remove\" | \"person-segment\" | \"personalized-text\" | \"phone\" | \"phone-down\" | \"phone-down-filled\" | \"phone-in\" | \"phone-out\" | \"pin\" | \"pin-filled\" | \"pin-remove\" | \"plan\" | \"play\" | \"play-circle\" | \"plus\" | \"plus-circle\" | \"plus-circle-down\" | \"plus-circle-filled\" | \"plus-circle-up\" | \"point-of-sale\" | \"price-list\" | \"price-list-filled\" | \"print\" | \"product\" | \"product-add\" | \"product-cost\" | \"product-list\" | \"product-reference\" | \"product-remove\" | \"product-return\" | \"product-unavailable\" | \"profile\" | \"profile-filled\" | \"question-circle\" | \"question-circle-filled\" | \"radio-control\" | \"rank-bottom\" | \"rank-top\" | \"receipt\" | \"receipt-dollar\" | \"receipt-euro\" | \"receipt-euro-filled\" | \"receipt-paid\" | \"receipt-pound\" | \"receipt-pound-filled\" | \"receipt-refund\" | \"receipt-rupee\" | \"receipt-rupee-filled\" | \"receipt-yen\" | \"receipt-yen-filled\" | \"receivables\" | \"redo\" | \"referral-code\" | \"refresh\" | \"remove-background\" | \"replace\" | \"replay\" | \"reset\" | \"return\" | \"reward\" | \"rocket\" | \"rotate-left\" | \"rotate-right\" | \"sandbox\" | \"save\" | \"search\" | \"search-add\" | \"search-list\" | \"search-recent\" | \"search-resource\" | \"select\" | \"send\" | \"settings\" | \"share\" | \"shield-check-mark\" | \"shield-network\" | \"shield-none\" | \"shield-pending\" | \"shield-person\" | \"shipping-label\" | \"shipping-label-filled\" | \"shopcodes\" | \"slideshow\" | \"smiley-happy\" | \"smiley-joy\" | \"smiley-neutral\" | \"smiley-sad\" | \"social-ad\" | \"social-post\" | \"sort\" | \"sort-ascending\" | \"sort-descending\" | \"sound\" | \"split\" | \"sports\" | \"star\" | \"star-filled\" | \"star-list\" | \"status\" | \"status-active\" | \"stop-circle\" | \"store\" | \"store-import\" | \"store-managed\" | \"store-online\" | \"sun\" | \"table\" | \"table-masonry\" | \"tablet\" | \"target\" | \"tax\" | \"team\" | \"text\" | \"text-align-center\" | \"text-align-left\" | \"text-align-right\" | \"text-block\" | \"text-bold\" | \"text-color\" | \"text-font\" | \"text-font-list\" | \"text-grammar\" | \"text-in-columns\" | \"text-in-rows\" | \"text-in-rows-filled\" | \"text-indent\" | \"text-italic\" | \"text-quote\" | \"text-title\" | \"text-underline\" | \"text-with-image\" | \"theme\" | \"theme-cart\" | \"theme-edit\" | \"theme-store\" | \"theme-template\" | \"three-d-environment\" | \"thumbs-down\" | \"thumbs-up\" | \"tip-jar\" | \"toggle-off\" | \"toggle-on\" | \"transaction\" | \"transaction-fee-dollar\" | \"transaction-fee-euro\" | \"transaction-fee-pound\" | \"transaction-fee-rupee\" | \"transaction-fee-yen\" | \"transfer\" | \"transfer-in\" | \"transfer-internal\" | \"transfer-out\" | \"undo\" | \"unknown-device\" | \"unlock\" | \"upload\" | \"variant\" | \"variant-list\" | \"video\" | \"video-list\" | \"view\" | \"viewport-narrow\" | \"viewport-short\" | \"viewport-tall\" | \"viewport-wide\" | \"wallet\" | \"wallet-filled\" | \"wand\" | \"watch\" | \"wifi\" | \"work\" | \"work-filled\" | \"work-list\" | \"wrench\" | \"x\" | \"x-circle\" | \"empty\" | \"alert-triangle-filled\" | \"app-generated-filled\" | \"arrow-down-right\" | \"battery-low\" | \"broom\" | \"cart-send\" | \"complete\" | \"delivered\" | \"disabled-filled\" | \"discount-automatic\" | \"discount-remove\" | \"drawer\" | \"fav\" | \"geolocation\" | \"gift\" | \"graduation-hat\" | \"info-filled\" | \"inventory-edit\" | \"inventory-list\" | \"inventory-transfer\" | \"keypad\" | \"layout-block-magic\" | \"live-critical\" | \"live-none\" | \"menu-filled\" | \"money-split\" | \"package-cancel\" | \"package-reassign\" | \"partially-complete\" | \"phablet\" | \"point-of-sale-register\" | \"receipt-folded\" | \"reorder\" | \"savings\" | \"scan-qr-code\" | \"shipping-label-cancel\" | \"star-circle\" | \"star-half\" | \"text-indent-remove\" | \"text-magic\" | \"transaction-fee-add\" | \"truck\" | \"x-circle-filled\""
|
|
12085
12085
|
},
|
|
12086
12086
|
"default": "''",
|
|
12087
12087
|
"description": "The type of icon to be displayed in the field."
|
package/dist/polaris.d.ts
CHANGED
|
@@ -221,7 +221,7 @@ interface BackgroundProps {
|
|
|
221
221
|
*/
|
|
222
222
|
type ToneKeyword = 'auto' | 'neutral' | 'info' | 'success' | 'caution' | 'warning' | 'critical' | 'accent' | 'custom';
|
|
223
223
|
|
|
224
|
-
type IconType$1 = 'adjust' | 'affiliate' | 'airplane' | 'alert-bubble' | 'alert-circle' | 'alert-diamond' | 'alert-location' | 'alert-octagon' | 'alert-octagon-filled' | 'alert-triangle' | 'alert-triangle-filled' | 'align-horizontal-centers' | 'app-extension' | 'apps' | 'archive' | 'arrow-down' | 'arrow-down-circle' | 'arrow-down-right' | 'arrow-left' | 'arrow-left-circle' | 'arrow-right' | 'arrow-right-circle' | 'arrow-up' | 'arrow-up-circle' | 'arrow-up-right' | 'arrows-in-horizontal' | 'arrows-out-horizontal' | 'asterisk' | 'attachment' | 'automation' | 'backspace' | 'bag' | 'bank' | 'barcode' | 'battery-low' | 'bill' | 'blank' | 'blog' | 'bolt' | 'bolt-filled' | 'book' | 'book-open' | 'brain' | 'broom' | 'bug' | 'bullet' | 'business-entity' | 'button' | 'button-press' | 'calculator' | 'calendar' | 'calendar-check' | 'calendar-compare' | 'calendar-list' | 'calendar-time' | 'camera' | 'camera-flip' | 'caret-down' | 'caret-left' | 'caret-right' | 'caret-up' | 'cart' | 'cart-abandoned' | 'cart-discount' | 'cart-down' | 'cart-filled' | 'cart-sale' | 'cart-send' | 'cart-up' | 'cash-dollar' | 'cash-euro' | 'cash-pound' | 'cash-rupee' | 'cash-yen' | 'catalog-product' | 'categories' | 'channels' | 'channels-filled' | 'chart-cohort' | 'chart-donut' | 'chart-funnel' | 'chart-histogram-first' | 'chart-histogram-first-last' | 'chart-histogram-flat' | 'chart-histogram-full' | 'chart-histogram-growth' | 'chart-histogram-last' | 'chart-histogram-second-last' | 'chart-horizontal' | 'chart-line' | 'chart-popular' | 'chart-stacked' | 'chart-vertical' | 'chat' | 'chat-new' | 'chat-referral' | 'check' | 'check-circle' | 'check-circle-filled' | 'checkbox' | 'chevron-down' | 'chevron-down-circle' | 'chevron-left' | 'chevron-left-circle' | 'chevron-right' | 'chevron-right-circle' | 'chevron-up' | 'chevron-up-circle' | 'circle' | 'circle-dashed' | 'clipboard' | 'clipboard-check' | 'clipboard-checklist' | 'clock' | 'clock-list' | 'clock-revert' | 'code' | 'code-add' | 'collection' | 'collection-featured' | 'collection-list' | 'collection-reference' | 'color' | 'color-none' | 'compass' | 'complete' | 'compose' | 'confetti' | 'connect' | 'content' | 'contract' | 'corner-pill' | 'corner-round' | 'corner-square' | 'credit-card' | 'credit-card-cancel' | 'credit-card-percent' | 'credit-card-reader' | 'credit-card-reader-chip' | 'credit-card-reader-tap' | 'credit-card-secure' | 'credit-card-tap-chip' | 'crop' | 'currency-convert' | 'cursor' | 'cursor-banner' | 'cursor-option' | 'data-presentation' | 'data-table' | 'database' | 'database-add' | 'database-connect' | 'delete' | 'delivered' | 'delivery' | 'desktop' | 'disabled' | 'disabled-filled' | 'discount' | 'discount-add' | 'discount-automatic' | 'discount-code' | 'discount-remove' | 'dns-settings' | 'dock-floating' | 'dock-side' | 'domain' | 'domain-landing-page' | 'domain-new' | 'domain-redirect' | 'download' | 'drag-drop' | 'drag-handle' | 'drawer' | 'duplicate' | 'edit' | 'email' | 'email-follow-up' | 'email-newsletter' | 'empty' | 'enabled' | 'enter' | 'envelope' | 'envelope-soft-pack' | 'eraser' | 'exchange' | 'exit' | 'export' | 'external' | 'eye-check-mark' | 'eye-dropper' | 'eye-dropper-list' | 'eye-first' | 'eyeglasses' | 'fav' | 'favicon' | 'file' | 'file-list' | 'filter' | 'filter-active' | 'flag' | 'flip-horizontal' | 'flip-vertical' | 'flower' | 'folder' | 'folder-add' | 'folder-down' | 'folder-remove' | 'folder-up' | 'food' | 'foreground' | 'forklift' | 'forms' | 'games' | 'gauge' | 'geolocation' | 'gift' | 'gift-card' | 'git-branch' | 'git-commit' | 'git-repository' | 'globe' | 'globe-asia' | 'globe-europe' | 'globe-lines' | 'globe-list' | 'graduation-hat' | 'grid' | 'hashtag' | 'hashtag-decimal' | 'hashtag-list' | 'heart' | 'hide' | 'hide-filled' | 'home' | 'home-filled' | 'icons' | 'identity-card' | 'image' | 'image-add' | 'image-alt' | 'image-explore' | 'image-magic' | 'image-none' | 'image-with-text-overlay' | 'images' | 'import' | 'in-progress' | 'incentive' | 'incoming' | 'incomplete' | 'info' | 'info-filled' | 'inheritance' | 'inventory' | 'inventory-edit' | 'inventory-list' | 'inventory-transfer' | 'inventory-updated' | 'iq' | 'key' | 'keyboard' | 'keyboard-filled' | 'keyboard-hide' | 'keypad' | 'label-printer' | 'language' | 'language-translate' | 'layout-block' | 'layout-buy-button' | 'layout-buy-button-horizontal' | 'layout-buy-button-vertical' | 'layout-column-1' | 'layout-columns-2' | 'layout-columns-3' | 'layout-footer' | 'layout-header' | 'layout-logo-block' | 'layout-popup' | 'layout-rows-2' | 'layout-section' | 'layout-sidebar-left' | 'layout-sidebar-right' | 'layer' | 'lightbulb' | 'link' | 'link-list' | 'list-bulleted' | 'list-bulleted-filled' | 'list-numbered' | 'live' | 'live-critical' | 'live-none' | 'location' | 'location-none' | 'lock' | 'map' | 'markets' | 'markets-euro' | 'markets-rupee' | 'markets-yen' | 'maximize' | 'measurement-size' | 'measurement-size-list' | 'measurement-volume' | 'measurement-volume-list' | 'measurement-weight' | 'measurement-weight-list' | 'media-receiver' | 'megaphone' | 'mention' | 'menu' | 'menu-filled' | 'menu-horizontal' | 'menu-vertical' | 'merge' | 'metafields' | 'metaobject' | 'metaobject-list' | 'metaobject-reference' | 'microphone' | 'microphone-muted' | 'minimize' | 'minus' | 'minus-circle' | 'mobile' | 'money' | 'money-none' | 'money-split' | 'moon' | 'nature' | 'note' | 'note-add' | 'notification' | 'number-one' | 'order' | 'order-batches' | 'order-draft' | 'order-filled' | 'order-first' | 'order-fulfilled' | 'order-repeat' | 'order-unfulfilled' | 'orders-status' | 'organization' | 'outdent' | 'outgoing' | 'package' | 'package-cancel' | 'package-fulfilled' | 'package-on-hold' | 'package-reassign' | 'package-returned' | 'page' | 'page-add' | 'page-attachment' | 'page-clock' | 'page-down' | 'page-heart' | 'page-list' | 'page-reference' | 'page-remove' | 'page-report' | 'page-up' | 'pagination-end' | 'pagination-start' | 'paint-brush-flat' | 'paint-brush-round' | 'paper-check' | 'partially-complete' | 'passkey' | 'paste' | 'pause-circle' | 'payment' | 'payment-capture' | 'payout' | 'payout-dollar' | 'payout-euro' | 'payout-pound' | 'payout-rupee' | 'payout-yen' | 'person' | 'person-add' | 'person-exit' | 'person-filled' | 'person-list' | 'person-lock' | 'person-remove' | 'person-segment' | 'personalized-text' | 'phablet' | 'phone' | 'phone-down' | 'phone-down-filled' | 'phone-in' | 'phone-out' | 'pin' | 'pin-remove' | 'plan' | 'play' | 'play-circle' | 'plus' | 'plus-circle' | 'plus-circle-down' | 'plus-circle-filled' | 'plus-circle-up' | 'point-of-sale' | 'point-of-sale-register' | 'price-list' | 'print' | 'product' | 'product-add' | 'product-cost' | 'product-filled' | 'product-list' | 'product-reference' | 'product-remove' | 'product-return' | 'product-unavailable' | 'profile' | 'profile-filled' | 'question-circle' | 'question-circle-filled' | 'radio-control' | 'receipt' | 'receipt-dollar' | 'receipt-euro' | 'receipt-folded' | 'receipt-paid' | 'receipt-pound' | 'receipt-refund' | 'receipt-rupee' | 'receipt-yen' | 'receivables' | 'redo' | 'referral-code' | 'refresh' | 'remove-background' | 'reorder' | 'replace' | 'replay' | 'reset' | 'return' | 'reward' | 'rocket' | 'rotate-left' | 'rotate-right' | 'sandbox' | 'save' | 'savings' | 'scan-qr-code' | 'search' | 'search-add' | 'search-list' | 'search-recent' | 'search-resource' | 'select' | 'send' | 'settings' | 'share' | 'shield-check-mark' | 'shield-none' | 'shield-pending' | 'shield-person' | 'shipping-label' | 'shipping-label-cancel' | 'shopcodes' | 'slideshow' | 'smiley-happy' | 'smiley-joy' | 'smiley-neutral' | 'smiley-sad' | 'social-ad' | 'social-post' | 'sort' | 'sort-ascending' | 'sort-descending' | 'sound' | 'split' | 'sports' | 'star' | 'star-circle' | 'star-filled' | 'star-half' | 'star-list' | 'status' | 'status-active' | 'stop-circle' | 'store' | 'store-import' | 'store-managed' | 'store-online' | 'sun' | 'table' | 'table-masonry' | 'tablet' | 'target' | 'tax' | 'team' | 'text' | 'text-align-center' | 'text-align-left' | 'text-align-right' | 'text-block' | 'text-bold' | 'text-color' | 'text-font' | 'text-font-list' | 'text-grammar' | 'text-in-columns' | 'text-in-rows' | 'text-indent' | 'text-indent-remove' | 'text-italic' | 'text-quote' | 'text-title' | 'text-underline' | 'text-with-image' | 'theme' | 'theme-cart' | 'theme-edit' | 'theme-store' | 'theme-template' | 'three-d-environment' | 'thumbs-down' | 'thumbs-up' | 'tip-jar' | 'toggle-off' | 'toggle-on' | 'transaction' | 'transaction-fee-add' | 'transaction-fee-dollar' | 'transaction-fee-euro' | 'transaction-fee-pound' | 'transaction-fee-rupee' | 'transaction-fee-yen' | 'transfer' | 'transfer-in' | 'transfer-internal' | 'transfer-out' | 'truck' | 'undo' | 'unknown-device' | 'unlock' | 'upload' | 'variant' | 'variant-list' | 'video' | 'video-list' | 'view' | 'viewport-narrow' | 'viewport-short' | 'viewport-tall' | 'viewport-wide' | 'wallet' | 'wand' | 'watch' | 'wifi' | 'work' | 'work-list' | 'wrench' | 'x' | 'x-circle' | 'x-circle-filled';
|
|
224
|
+
type IconType$1 = 'adjust' | 'affiliate' | 'airplane' | 'alert-bubble' | 'alert-circle' | 'alert-diamond' | 'alert-location' | 'alert-octagon' | 'alert-octagon-filled' | 'alert-triangle' | 'alert-triangle-filled' | 'align-horizontal-centers' | 'app-extension' | 'app-generated-filled' | 'apps' | 'archive' | 'arrow-down' | 'arrow-down-circle' | 'arrow-down-right' | 'arrow-left' | 'arrow-left-circle' | 'arrow-right' | 'arrow-right-circle' | 'arrow-up' | 'arrow-up-circle' | 'arrow-up-right' | 'arrows-in-horizontal' | 'arrows-out-horizontal' | 'arrows-out-horizontal-filled' | 'asterisk' | 'attachment' | 'automation' | 'automation-filled' | 'backspace' | 'bag' | 'bank' | 'barcode' | 'battery-low' | 'bill' | 'bill-filled' | 'blank' | 'blank-filled' | 'blog' | 'blog-filled' | 'bolt' | 'bolt-filled' | 'book' | 'book-open' | 'brain' | 'broom' | 'bug' | 'bullet' | 'business-entity' | 'button' | 'button-press' | 'calculator' | 'calendar' | 'calendar-check' | 'calendar-compare' | 'calendar-list' | 'calendar-time' | 'camera' | 'camera-flip' | 'caret-down' | 'caret-left' | 'caret-right' | 'caret-up' | 'cart' | 'cart-abandoned' | 'cart-abandoned-filled' | 'cart-discount' | 'cart-down' | 'cart-down-filled' | 'cart-filled' | 'cart-sale' | 'cart-send' | 'cart-up' | 'cash-dollar' | 'cash-euro' | 'cash-pound' | 'cash-rupee' | 'cash-yen' | 'catalog-product' | 'categories' | 'channels' | 'channels-filled' | 'chart-cohort' | 'chart-donut' | 'chart-funnel' | 'chart-histogram-first' | 'chart-histogram-first-last' | 'chart-histogram-flat' | 'chart-histogram-full' | 'chart-histogram-growth' | 'chart-histogram-last' | 'chart-histogram-second-last' | 'chart-horizontal' | 'chart-line' | 'chart-popular' | 'chart-stacked' | 'chart-vertical' | 'chat' | 'chat-new' | 'chat-referral' | 'check' | 'check-circle' | 'check-circle-filled' | 'checkbox' | 'chevron-down' | 'chevron-down-circle' | 'chevron-left' | 'chevron-left-circle' | 'chevron-right' | 'chevron-right-circle' | 'chevron-up' | 'chevron-up-circle' | 'circle' | 'circle-dashed' | 'clipboard' | 'clipboard-check' | 'clipboard-checklist' | 'clock' | 'clock-list' | 'clock-revert' | 'code' | 'code-add' | 'collection' | 'collection-featured' | 'collection-filled' | 'collection-list' | 'collection-reference' | 'color' | 'color-none' | 'compass' | 'complete' | 'compose' | 'confetti' | 'connect' | 'content' | 'contract' | 'corner-pill' | 'corner-round' | 'corner-square' | 'credit-card' | 'credit-card-cancel' | 'credit-card-percent' | 'credit-card-reader' | 'credit-card-reader-chip' | 'credit-card-reader-tap' | 'credit-card-secure' | 'credit-card-tap-chip' | 'crop' | 'currency-convert' | 'cursor' | 'cursor-banner' | 'cursor-option' | 'data-presentation' | 'data-table' | 'database' | 'database-add' | 'database-connect' | 'delete' | 'delivered' | 'delivery' | 'desktop' | 'disabled' | 'disabled-filled' | 'discount' | 'discount-add' | 'discount-automatic' | 'discount-code' | 'discount-remove' | 'dns-settings' | 'dock-floating' | 'dock-side' | 'domain' | 'domain-landing-page' | 'domain-new' | 'domain-redirect' | 'download' | 'drag-drop' | 'drag-handle' | 'drawer' | 'duplicate' | 'edit' | 'email' | 'email-follow-up' | 'email-newsletter' | 'empty' | 'enabled' | 'enter' | 'envelope' | 'envelope-soft-pack' | 'eraser' | 'exchange' | 'exit' | 'export' | 'external' | 'eye-check-mark' | 'eye-dropper' | 'eye-dropper-list' | 'eye-first' | 'eyeglasses' | 'fav' | 'favicon' | 'file' | 'file-filled' | 'file-list' | 'filter' | 'filter-active' | 'flag' | 'flip-horizontal' | 'flip-vertical' | 'flower' | 'folder' | 'folder-add' | 'folder-down' | 'folder-remove' | 'folder-up' | 'food' | 'foreground' | 'forklift' | 'forms' | 'games' | 'gauge' | 'generated-app' | 'geolocation' | 'gift' | 'gift-card' | 'git-branch' | 'git-commit' | 'git-repository' | 'globe' | 'globe-asia' | 'globe-asia-filled' | 'globe-europe' | 'globe-europe-filled' | 'globe-filled' | 'globe-lines' | 'globe-list' | 'graduation-hat' | 'grid' | 'hashtag' | 'hashtag-decimal' | 'hashtag-list' | 'heart' | 'hide' | 'hide-filled' | 'home' | 'home-filled' | 'icons' | 'identity-card' | 'identity-card-filled' | 'image' | 'image-add' | 'image-alt' | 'image-explore' | 'image-magic' | 'image-none' | 'image-with-text-overlay' | 'images' | 'import' | 'in-progress' | 'incentive' | 'incoming' | 'incomplete' | 'info' | 'info-filled' | 'inheritance' | 'inventory' | 'inventory-edit' | 'inventory-filled' | 'inventory-list' | 'inventory-transfer' | 'inventory-updated' | 'iq' | 'key' | 'keyboard' | 'keyboard-filled' | 'keyboard-hide' | 'keypad' | 'label-printer' | 'language' | 'language-translate' | 'layout-block' | 'layout-block-magic' | 'layout-buy-button' | 'layout-buy-button-horizontal' | 'layout-buy-button-vertical' | 'layout-column-1' | 'layout-columns-2' | 'layout-columns-3' | 'layout-footer' | 'layout-header' | 'layout-logo-block' | 'layout-popup' | 'layout-rows-2' | 'layout-section' | 'layout-sidebar-left' | 'layout-sidebar-right' | 'layer' | 'lightbulb' | 'link' | 'link-list' | 'list-bulleted' | 'list-bulleted-filled' | 'list-numbered' | 'live' | 'live-critical' | 'live-filled' | 'live-none' | 'location' | 'location-none' | 'lock' | 'magic' | 'map' | 'markets' | 'markets-euro' | 'markets-euro-filled' | 'markets-rupee' | 'markets-rupee-filled' | 'markets-yen' | 'markets-yen-filled' | 'maximize' | 'measurement-size' | 'measurement-size-list' | 'measurement-volume' | 'measurement-volume-list' | 'measurement-weight' | 'measurement-weight-list' | 'media-receiver' | 'megaphone' | 'megaphone-filled' | 'mention' | 'menu' | 'menu-filled' | 'menu-horizontal' | 'menu-vertical' | 'merge' | 'metafields' | 'metaobject' | 'metaobject-filled' | 'metaobject-list' | 'metaobject-reference' | 'microphone' | 'microphone-muted' | 'minimize' | 'minus' | 'minus-circle' | 'mobile' | 'money' | 'money-filled' | 'money-none' | 'money-split' | 'moon' | 'nature' | 'note' | 'note-add' | 'notification' | 'number-one' | 'order' | 'order-batches' | 'order-draft' | 'order-draft-filled' | 'order-filled' | 'order-first' | 'order-fulfilled' | 'order-repeat' | 'order-unfulfilled' | 'orders-status' | 'organization' | 'outdent' | 'outgoing' | 'package' | 'package-cancel' | 'package-fulfilled' | 'package-on-hold' | 'package-reassign' | 'package-returned' | 'page' | 'page-add' | 'page-attachment' | 'page-clock' | 'page-down' | 'page-heart' | 'page-list' | 'page-reference' | 'page-remove' | 'page-report' | 'page-up' | 'pagination-end' | 'pagination-start' | 'paint-brush-flat' | 'paint-brush-round' | 'paper-check' | 'partially-complete' | 'passkey' | 'passkey-filled' | 'paste' | 'pause-circle' | 'payment' | 'payment-capture' | 'payout' | 'payout-dollar' | 'payout-euro' | 'payout-pound' | 'payout-rupee' | 'payout-yen' | 'person' | 'person-add' | 'person-exit' | 'person-filled' | 'person-list' | 'person-lock' | 'person-remove' | 'person-segment' | 'personalized-text' | 'phablet' | 'phone' | 'phone-down' | 'phone-down-filled' | 'phone-in' | 'phone-out' | 'pin' | 'pin-filled' | 'pin-remove' | 'plan' | 'play' | 'play-circle' | 'plus' | 'plus-circle' | 'plus-circle-down' | 'plus-circle-filled' | 'plus-circle-up' | 'point-of-sale' | 'point-of-sale-register' | 'price-list' | 'price-list-filled' | 'print' | 'product' | 'product-add' | 'product-cost' | 'product-filled' | 'product-list' | 'product-reference' | 'product-remove' | 'product-return' | 'product-unavailable' | 'profile' | 'profile-filled' | 'question-circle' | 'question-circle-filled' | 'radio-control' | 'rank-bottom' | 'rank-top' | 'receipt' | 'receipt-dollar' | 'receipt-euro' | 'receipt-euro-filled' | 'receipt-folded' | 'receipt-paid' | 'receipt-pound' | 'receipt-pound-filled' | 'receipt-refund' | 'receipt-rupee' | 'receipt-rupee-filled' | 'receipt-yen' | 'receipt-yen-filled' | 'receivables' | 'redo' | 'referral-code' | 'refresh' | 'remove-background' | 'reorder' | 'replace' | 'replay' | 'reset' | 'return' | 'reward' | 'rocket' | 'rotate-left' | 'rotate-right' | 'sandbox' | 'save' | 'savings' | 'scan-qr-code' | 'search' | 'search-add' | 'search-list' | 'search-recent' | 'search-resource' | 'select' | 'send' | 'settings' | 'share' | 'shield-check-mark' | 'shield-network' | 'shield-none' | 'shield-pending' | 'shield-person' | 'shipping-label' | 'shipping-label-cancel' | 'shipping-label-filled' | 'shopcodes' | 'slideshow' | 'smiley-happy' | 'smiley-joy' | 'smiley-neutral' | 'smiley-sad' | 'social-ad' | 'social-post' | 'sort' | 'sort-ascending' | 'sort-descending' | 'sound' | 'split' | 'sports' | 'star' | 'star-circle' | 'star-filled' | 'star-half' | 'star-list' | 'status' | 'status-active' | 'stop-circle' | 'store' | 'store-import' | 'store-managed' | 'store-online' | 'sun' | 'table' | 'table-masonry' | 'tablet' | 'target' | 'tax' | 'team' | 'text' | 'text-align-center' | 'text-align-left' | 'text-align-right' | 'text-block' | 'text-bold' | 'text-color' | 'text-font' | 'text-font-list' | 'text-grammar' | 'text-in-columns' | 'text-in-rows' | 'text-in-rows-filled' | 'text-indent' | 'text-indent-remove' | 'text-italic' | 'text-magic' | 'text-quote' | 'text-title' | 'text-underline' | 'text-with-image' | 'theme' | 'theme-cart' | 'theme-edit' | 'theme-store' | 'theme-template' | 'three-d-environment' | 'thumbs-down' | 'thumbs-up' | 'tip-jar' | 'toggle-off' | 'toggle-on' | 'transaction' | 'transaction-fee-add' | 'transaction-fee-dollar' | 'transaction-fee-euro' | 'transaction-fee-pound' | 'transaction-fee-rupee' | 'transaction-fee-yen' | 'transfer' | 'transfer-in' | 'transfer-internal' | 'transfer-out' | 'truck' | 'undo' | 'unknown-device' | 'unlock' | 'upload' | 'variant' | 'variant-list' | 'video' | 'video-list' | 'view' | 'viewport-narrow' | 'viewport-short' | 'viewport-tall' | 'viewport-wide' | 'wallet' | 'wallet-filled' | 'wand' | 'watch' | 'wifi' | 'work' | 'work-filled' | 'work-list' | 'wrench' | 'x' | 'x-circle' | 'x-circle-filled';
|
|
225
225
|
|
|
226
226
|
/**
|
|
227
227
|
* Like `Extract`, but ensures that the extracted type is a strict subtype of the input type.
|
|
@@ -1973,7 +1973,7 @@ interface GridItemProps$1 extends GlobalProps, BaseBoxPropsWithRole {
|
|
|
1973
1973
|
*
|
|
1974
1974
|
* @default 'auto'
|
|
1975
1975
|
*/
|
|
1976
|
-
gridColumn?:
|
|
1976
|
+
gridColumn?: MaybeResponsive<`span ${number}` | 'auto'>;
|
|
1977
1977
|
/**
|
|
1978
1978
|
* Number of rows the item will span across
|
|
1979
1979
|
*
|
|
@@ -1981,9 +1981,15 @@ interface GridItemProps$1 extends GlobalProps, BaseBoxPropsWithRole {
|
|
|
1981
1981
|
*
|
|
1982
1982
|
* @default 'auto'
|
|
1983
1983
|
*/
|
|
1984
|
-
gridRow?:
|
|
1984
|
+
gridRow?: MaybeResponsive<`span ${number}` | 'auto'>;
|
|
1985
1985
|
}
|
|
1986
1986
|
|
|
1987
|
+
/**
|
|
1988
|
+
* Common weight name mapping based on the CSS font-weight specification.
|
|
1989
|
+
*
|
|
1990
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight#common_weight_name_mapping
|
|
1991
|
+
*/
|
|
1992
|
+
type FontWeightKeyword = 'base' | 'medium' | 'semibold' | 'bold';
|
|
1987
1993
|
interface BaseTypographyProps {
|
|
1988
1994
|
/**
|
|
1989
1995
|
* Modify the color to be more or less intense.
|
|
@@ -2002,6 +2008,7 @@ interface BaseTypographyProps {
|
|
|
2002
2008
|
*
|
|
2003
2009
|
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/font-variant-numeric
|
|
2004
2010
|
*
|
|
2011
|
+
* @deprecated Wrap the numeric value in a `Number` component instead — it applies tabular numerals to the digits alone, so the variant does not have to be set at the call site. For time values use `Time`. Deprecated in v3.2.0
|
|
2005
2012
|
* @default 'auto' - inherit from the parent element
|
|
2006
2013
|
*/
|
|
2007
2014
|
fontVariantNumeric?: 'auto' | 'normal' | 'tabular-nums';
|
|
@@ -2028,63 +2035,40 @@ interface BaseTypographyProps {
|
|
|
2028
2035
|
* @default ''
|
|
2029
2036
|
*/
|
|
2030
2037
|
dir?: 'ltr' | 'rtl' | 'auto' | '';
|
|
2031
|
-
}
|
|
2032
|
-
interface BlockTypographyProps {
|
|
2033
2038
|
/**
|
|
2034
|
-
*
|
|
2039
|
+
* The font weight of the text.
|
|
2035
2040
|
*
|
|
2036
|
-
*
|
|
2041
|
+
* Font weight is an absolute value. When both a parent and child set
|
|
2042
|
+
* `fontWeight`, the child's value takes precedence.
|
|
2043
|
+
* When only the parent sets `fontWeight`, the child inherits the parent's value.
|
|
2037
2044
|
*
|
|
2038
|
-
* @
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
interface HeadingProps$1 extends GlobalProps, AccessibilityVisibilityProps, BlockTypographyProps {
|
|
2044
|
-
/**
|
|
2045
|
-
* The content of the Heading.
|
|
2045
|
+
* @implementation The surface decides how to handle how child inheritance is set. We recommend that fontWeight set explicitly by a child always wins except when it's within a Heading.
|
|
2046
|
+
*
|
|
2047
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight#common_weight_name_mapping
|
|
2048
|
+
* @default 'auto'
|
|
2046
2049
|
*/
|
|
2047
|
-
|
|
2050
|
+
fontWeight?: FontWeightKeyword | 'auto';
|
|
2048
2051
|
/**
|
|
2049
|
-
*
|
|
2050
|
-
* the role will be used by assistive technologies to help users
|
|
2051
|
-
* navigate the page.
|
|
2052
|
+
* The font size of the text.
|
|
2052
2053
|
*
|
|
2053
|
-
*
|
|
2054
|
-
*
|
|
2055
|
-
* and will prevent the element’s implicit ARIA semantics from
|
|
2056
|
-
* being exposed to the accessibility tree.
|
|
2057
|
-
* - `none`: a synonym for the `presentation` role.
|
|
2054
|
+
* When both a parent and child set `fontSize`, the child's value takes precedence.
|
|
2055
|
+
* When only the parent sets `fontSize`, the child inherits the parent's value.
|
|
2058
2056
|
*
|
|
2059
|
-
* @
|
|
2060
|
-
*
|
|
2061
|
-
* @implementation The `heading` role doesn't need to be applied if
|
|
2062
|
-
* the host applies it for you; for example, an HTML host rendering
|
|
2063
|
-
* an `<h2>` element should not apply the `heading` role.
|
|
2064
|
-
*/
|
|
2065
|
-
accessibilityRole?: 'heading' | ExtractStrict<AccessibilityRole, 'presentation' | 'none'>;
|
|
2066
|
-
}
|
|
2067
|
-
|
|
2068
|
-
interface IconProps$1 extends GlobalProps, Pick<InteractionProps, 'interestFor'> {
|
|
2069
|
-
/**
|
|
2070
|
-
* Sets the tone of the icon, based on the intention of the information being conveyed.
|
|
2057
|
+
* @implementation The surface decides how to handle how child inheritance is set. We recommend that fontSize set explicitly by a child always wins except when it's within a Heading.
|
|
2071
2058
|
*
|
|
2072
2059
|
* @default 'auto'
|
|
2073
2060
|
*/
|
|
2074
|
-
|
|
2061
|
+
fontSize?: SizeKeyword | 'auto';
|
|
2062
|
+
}
|
|
2063
|
+
interface BlockTypographyProps {
|
|
2075
2064
|
/**
|
|
2076
|
-
*
|
|
2065
|
+
* Truncates the text content to the specified number of lines.
|
|
2077
2066
|
*
|
|
2078
|
-
* @
|
|
2079
|
-
*/
|
|
2080
|
-
color?: ColorKeyword;
|
|
2081
|
-
/**
|
|
2082
|
-
* Adjusts the size of the icon.
|
|
2067
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/-webkit-line-clamp
|
|
2083
2068
|
*
|
|
2084
|
-
* @default
|
|
2069
|
+
* @default Infinity - no truncation is applied
|
|
2085
2070
|
*/
|
|
2086
|
-
|
|
2087
|
-
type?: IconType$1 | AnyString;
|
|
2071
|
+
lineClamp?: number;
|
|
2088
2072
|
}
|
|
2089
2073
|
|
|
2090
2074
|
interface BaseImageProps {
|
|
@@ -2133,6 +2117,64 @@ interface BaseImageProps {
|
|
|
2133
2117
|
srcSet?: string;
|
|
2134
2118
|
}
|
|
2135
2119
|
|
|
2120
|
+
interface HeadingProps$1 extends GlobalProps, AccessibilityVisibilityProps, BlockTypographyProps {
|
|
2121
|
+
/**
|
|
2122
|
+
* The content of the Heading.
|
|
2123
|
+
*/
|
|
2124
|
+
children?: ComponentChildren;
|
|
2125
|
+
/**
|
|
2126
|
+
* Sets the semantic meaning of the component’s content. When set,
|
|
2127
|
+
* the role will be used by assistive technologies to help users
|
|
2128
|
+
* navigate the page.
|
|
2129
|
+
*
|
|
2130
|
+
* - `heading`: defines the element as a heading to a page or section.
|
|
2131
|
+
* - `presentation`: the heading level will be stripped,
|
|
2132
|
+
* and will prevent the element’s implicit ARIA semantics from
|
|
2133
|
+
* being exposed to the accessibility tree.
|
|
2134
|
+
* - `none`: a synonym for the `presentation` role.
|
|
2135
|
+
*
|
|
2136
|
+
* @default 'heading'
|
|
2137
|
+
*
|
|
2138
|
+
* @implementation The `heading` role doesn't need to be applied if
|
|
2139
|
+
* the host applies it for you; for example, an HTML host rendering
|
|
2140
|
+
* an `<h2>` element should not apply the `heading` role.
|
|
2141
|
+
*/
|
|
2142
|
+
accessibilityRole?: 'heading' | ExtractStrict<AccessibilityRole, 'presentation' | 'none'>;
|
|
2143
|
+
/**
|
|
2144
|
+
* The visual size of the heading.
|
|
2145
|
+
*
|
|
2146
|
+
* This controls the visual appearance only — it does not affect the
|
|
2147
|
+
* semantic heading level.
|
|
2148
|
+
*
|
|
2149
|
+
* @implementation Surfaces can decide on the inheritance behavior for Text or Paragraph children of Heading. We recommend they inherit the fontSize from Heading regardless of the fontSize they set explicitly.
|
|
2150
|
+
*
|
|
2151
|
+
* @default 'auto'
|
|
2152
|
+
*/
|
|
2153
|
+
fontSize?: SizeKeyword | 'auto';
|
|
2154
|
+
}
|
|
2155
|
+
|
|
2156
|
+
interface IconProps$1 extends GlobalProps, Pick<InteractionProps, 'interestFor'> {
|
|
2157
|
+
/**
|
|
2158
|
+
* Sets the tone of the icon, based on the intention of the information being conveyed.
|
|
2159
|
+
*
|
|
2160
|
+
* @default 'auto'
|
|
2161
|
+
*/
|
|
2162
|
+
tone?: ToneKeyword;
|
|
2163
|
+
/**
|
|
2164
|
+
* Modify the color to be more or less intense.
|
|
2165
|
+
*
|
|
2166
|
+
* @default 'base'
|
|
2167
|
+
*/
|
|
2168
|
+
color?: ColorKeyword;
|
|
2169
|
+
/**
|
|
2170
|
+
* Adjusts the size of the icon.
|
|
2171
|
+
*
|
|
2172
|
+
* @default 'base'
|
|
2173
|
+
*/
|
|
2174
|
+
size?: SizeKeyword;
|
|
2175
|
+
type?: IconType$1 | AnyString;
|
|
2176
|
+
}
|
|
2177
|
+
|
|
2136
2178
|
interface ImageProps$1 extends GlobalProps, BaseImageProps, BorderProps {
|
|
2137
2179
|
/**
|
|
2138
2180
|
* Sets the semantic meaning of the component’s content. When set,
|
|
@@ -2238,7 +2280,7 @@ interface ListItemProps$1 extends GlobalProps {
|
|
|
2238
2280
|
children?: ComponentChildren;
|
|
2239
2281
|
}
|
|
2240
2282
|
|
|
2241
|
-
interface MenuProps$1 extends GlobalProps {
|
|
2283
|
+
interface MenuProps$1 extends GlobalProps, BaseOverlayProps {
|
|
2242
2284
|
/**
|
|
2243
2285
|
* A label that describes the purpose or contents of the element. When set,
|
|
2244
2286
|
* it will be announced using assistive technologies and provide additional context.
|
|
@@ -2424,6 +2466,13 @@ interface ParagraphProps$1 extends GlobalProps, BaseTypographyProps, BlockTypogr
|
|
|
2424
2466
|
* @default 'paragraph'
|
|
2425
2467
|
*/
|
|
2426
2468
|
type?: ParagraphType;
|
|
2469
|
+
/**
|
|
2470
|
+
* Sets the alignment of the text.
|
|
2471
|
+
* @see https://developer.mozilla.org/en-US/docs/Web/CSS/text-align
|
|
2472
|
+
*
|
|
2473
|
+
* @default 'auto'
|
|
2474
|
+
*/
|
|
2475
|
+
textAlign?: 'start' | 'end' | 'center' | 'auto';
|
|
2427
2476
|
}
|
|
2428
2477
|
type ParagraphType =
|
|
2429
2478
|
/**
|
|
@@ -2494,6 +2543,8 @@ interface ProgressProps$1 extends GlobalProps {
|
|
|
2494
2543
|
* If there is no value attribute, the progress bar is indeterminate;
|
|
2495
2544
|
* this indicates that an activity is ongoing with no indication of how long it is expected to take.
|
|
2496
2545
|
*
|
|
2546
|
+
* @default 0
|
|
2547
|
+
*
|
|
2497
2548
|
* @implementation Surfaces should apply styling to cover that indeterminate state.
|
|
2498
2549
|
* @implementation In a HTML host, you can customize the progress animation via the :indeterminate pseudo-class.
|
|
2499
2550
|
*
|
|
@@ -2555,6 +2606,54 @@ interface SectionProps$1 extends GlobalProps, ActionSlots {
|
|
|
2555
2606
|
* A title that describes the content of the section.
|
|
2556
2607
|
*/
|
|
2557
2608
|
heading?: string;
|
|
2609
|
+
/**
|
|
2610
|
+
* Supporting text that expands on the heading.
|
|
2611
|
+
*
|
|
2612
|
+
* This is not a heading: it adds no entry to the document outline, doesn't change the heading
|
|
2613
|
+
* level of the section's children, and isn't announced as part of the heading.
|
|
2614
|
+
*
|
|
2615
|
+
* @implementation surfaces must not render this as a heading element. A lower-rank heading under
|
|
2616
|
+
* the section's own heading would put non-navigational prose into heading navigation and invent
|
|
2617
|
+
* an outline level the content doesn't have.
|
|
2618
|
+
*
|
|
2619
|
+
* @implementation surfaces built on top of the web platform should render this as a paragraph
|
|
2620
|
+
* adjacent to the heading. When nothing else shares the heading's line, the pair can be grouped
|
|
2621
|
+
* with [`<hgroup>`](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/hgroup);
|
|
2622
|
+
* `hgroup` permits only `<p>` and a single `h1`-`h6`, so a surface that also renders `graphic` or
|
|
2623
|
+
* `accessory` should keep the paragraph as a sibling of the heading instead.
|
|
2624
|
+
*/
|
|
2625
|
+
subheading?: string;
|
|
2626
|
+
/**
|
|
2627
|
+
* A decorative visual that reinforces the heading.
|
|
2628
|
+
*
|
|
2629
|
+
* The heading identifies the section, so this content is decorative and is not announced by
|
|
2630
|
+
* assistive technologies. If no `heading` is provided, this content is not rendered - including
|
|
2631
|
+
* when the section is labelled by `accessibilityLabel` alone.
|
|
2632
|
+
*
|
|
2633
|
+
* @implementation surfaces could restrict the content of this slot to certain elements, such as
|
|
2634
|
+
* only allowing a single decorative element like an `s-icon`, `s-avatar`, or `s-thumbnail`.
|
|
2635
|
+
*
|
|
2636
|
+
* @implementation surfaces built on top of the web platform should hide this from assistive
|
|
2637
|
+
* technologies, for example with `aria-hidden`.
|
|
2638
|
+
*/
|
|
2639
|
+
graphic?: ComponentChildren;
|
|
2640
|
+
/**
|
|
2641
|
+
* Additional contextual information that qualifies the heading.
|
|
2642
|
+
*
|
|
2643
|
+
* @implementation surfaces could restrict the content of this slot to certain elements, such as only
|
|
2644
|
+
* allowing an `s-badge`, `s-icon`, `s-text`, `s-avatar`, `s-thumbnail`, `s-button`, or `s-menu`.
|
|
2645
|
+
*/
|
|
2646
|
+
accessory?: ComponentChildren;
|
|
2647
|
+
/**
|
|
2648
|
+
* Status or metadata that describes the section as a whole, rather than qualifying its heading.
|
|
2649
|
+
*
|
|
2650
|
+
* Unlike `accessory`, which annotates the heading, this content reports the current state of the
|
|
2651
|
+
* section. It is not an action, and it is not interactive.
|
|
2652
|
+
*
|
|
2653
|
+
* @implementation surfaces could restrict the content of this slot to certain elements, such as only
|
|
2654
|
+
* allowing an `s-badge`, `s-text`, `s-avatar`, `s-icon`, or `s-thumbnail`.
|
|
2655
|
+
*/
|
|
2656
|
+
supplemental?: ComponentChildren;
|
|
2558
2657
|
/**
|
|
2559
2658
|
* Adjust the padding of all edges.
|
|
2560
2659
|
*
|
|
@@ -3189,6 +3288,18 @@ interface PolarisGlobal {
|
|
|
3189
3288
|
* back to the bundled default rather than failing to typecheck.
|
|
3190
3289
|
*/
|
|
3191
3290
|
valueActions?: string;
|
|
3291
|
+
/**
|
|
3292
|
+
* Template for the button that accepts a value suggested by Sidekick. Use
|
|
3293
|
+
* `{label}` as the placeholder. Optional: hosts predating this key fall
|
|
3294
|
+
* back to the bundled default rather than failing to typecheck.
|
|
3295
|
+
*/
|
|
3296
|
+
acceptSuggestion?: string;
|
|
3297
|
+
/**
|
|
3298
|
+
* Template for the button that dismisses a value suggested by Sidekick.
|
|
3299
|
+
* Use `{label}` as the placeholder. Optional: hosts predating this key
|
|
3300
|
+
* fall back to the bundled default rather than failing to typecheck.
|
|
3301
|
+
*/
|
|
3302
|
+
dismissSuggestion?: string;
|
|
3192
3303
|
/** Label shown when a read-only multi picker field has no values. */
|
|
3193
3304
|
none: string;
|
|
3194
3305
|
};
|
|
@@ -3212,6 +3323,20 @@ interface PolarisGlobal {
|
|
|
3212
3323
|
colorField: {
|
|
3213
3324
|
colorPreviewDescription: string;
|
|
3214
3325
|
};
|
|
3326
|
+
/**
|
|
3327
|
+
* Strings shared by every Quick Edit field rather than owned by one of
|
|
3328
|
+
* them. Optional, so a host predating this release still satisfies the
|
|
3329
|
+
* shape and keeps type-checking against it.
|
|
3330
|
+
*/
|
|
3331
|
+
quickEditField?: {
|
|
3332
|
+
/**
|
|
3333
|
+
* Description announced on a field holding a value Sidekick has suggested
|
|
3334
|
+
* and the merchant has not resolved, which also carries what `Enter` does
|
|
3335
|
+
* while the suggestion is live. A host that omits it falls back to the
|
|
3336
|
+
* bundled default.
|
|
3337
|
+
*/
|
|
3338
|
+
suggestedValue?: string;
|
|
3339
|
+
};
|
|
3215
3340
|
quickNumberField: {
|
|
3216
3341
|
emptyLabel: string;
|
|
3217
3342
|
};
|
|
@@ -3432,11 +3557,70 @@ declare global {
|
|
|
3432
3557
|
}
|
|
3433
3558
|
}
|
|
3434
3559
|
|
|
3560
|
+
/**
|
|
3561
|
+
* What a component wants to hear about its own light DOM.
|
|
3562
|
+
*
|
|
3563
|
+
* Structure — children added, removed or moved — is always observed. The
|
|
3564
|
+
* `attributes` list is the part worth thinking about: the observer is a
|
|
3565
|
+
* `subtree` one, so every entry makes every descendant's writes to that
|
|
3566
|
+
* attribute wake this component up. List the attributes the component
|
|
3567
|
+
* actually reads off its children and nothing else.
|
|
3568
|
+
*/
|
|
3569
|
+
interface LightDomObservation {
|
|
3570
|
+
/**
|
|
3571
|
+
* Descendant attributes that should call {@link lightDomChanged}. Omit it to
|
|
3572
|
+
* hear about structure only.
|
|
3573
|
+
*
|
|
3574
|
+
* `'all'` observes every attribute on every descendant, which is only right
|
|
3575
|
+
* for a component that mirrors arbitrary child markup it cannot enumerate:
|
|
3576
|
+
* Menu copies an item's `innerHTML`, and the quick picker field clones the
|
|
3577
|
+
* elements slotted into an option. Anything else should list its attributes.
|
|
3578
|
+
*/
|
|
3579
|
+
attributes?: readonly string[] | 'all';
|
|
3580
|
+
}
|
|
3581
|
+
/**
|
|
3582
|
+
* The observer installed for {@link observeLightDom}. Deliberately not
|
|
3583
|
+
* exported: nothing outside this module can name the symbol, so nothing
|
|
3584
|
+
* outside this module can reach the observer.
|
|
3585
|
+
*/
|
|
3586
|
+
declare const lightDomObserver: unique symbol;
|
|
3587
|
+
/**
|
|
3588
|
+
* Static opt-in to light-DOM observation — see {@link LightDomObservation}.
|
|
3589
|
+
*
|
|
3590
|
+
* ```ts
|
|
3591
|
+
* static [observeLightDom]: LightDomObservation = { attributes: ['selected'] };
|
|
3592
|
+
* ```
|
|
3593
|
+
*
|
|
3594
|
+
* A Symbol key keeps this off the element's public API (and out of the
|
|
3595
|
+
* generated docs and definitions) while still letting subclasses in other
|
|
3596
|
+
* files declare it.
|
|
3597
|
+
*/
|
|
3598
|
+
declare const observeLightDom: unique symbol;
|
|
3599
|
+
/**
|
|
3600
|
+
* Called once per batch of light-DOM mutations a component opted into with
|
|
3601
|
+
* {@link observeLightDom}. Defaults to a re-render; override it with a Symbol
|
|
3602
|
+
* key, the same way the opt-in is declared, to do more.
|
|
3603
|
+
*/
|
|
3604
|
+
declare const lightDomChanged: unique symbol;
|
|
3435
3605
|
declare class PolarisCustomElement extends PreactCustomElement {
|
|
3606
|
+
/**
|
|
3607
|
+
* Opt in to light-DOM observation. Undefined means no observer is created.
|
|
3608
|
+
* @private
|
|
3609
|
+
*/
|
|
3610
|
+
static [observeLightDom]?: LightDomObservation;
|
|
3611
|
+
/** @private */
|
|
3612
|
+
[lightDomObserver]?: MutationObserver;
|
|
3436
3613
|
constructor(renderImpl: Omit<RenderImpl, 'globalShadowCSS'>);
|
|
3614
|
+
/**
|
|
3615
|
+
* Runs when the light DOM this component opted into observing changes.
|
|
3616
|
+
* @private
|
|
3617
|
+
*/
|
|
3618
|
+
[lightDomChanged](): void;
|
|
3437
3619
|
/** @private */
|
|
3438
3620
|
connectedCallback(): void;
|
|
3439
3621
|
/** @private */
|
|
3622
|
+
disconnectedCallback(): void;
|
|
3623
|
+
/** @private */
|
|
3440
3624
|
adoptedCallback(): void;
|
|
3441
3625
|
}
|
|
3442
3626
|
|
|
@@ -4047,7 +4231,7 @@ interface PreactOverlayControlProps extends Pick<InteractionProps, 'commandFor'
|
|
|
4047
4231
|
interestFor: Extract<InteractionProps['interestFor'], string>;
|
|
4048
4232
|
}
|
|
4049
4233
|
|
|
4050
|
-
declare const ButtonBase_base: (abstract new (renderImpl: Omit<RenderImpl, "globalShadowCSS">) => PolarisCustomElement & PreactOverlayControlProps) & Pick<typeof PolarisCustomElement, "prototype" | "observedAttributes">;
|
|
4234
|
+
declare const ButtonBase_base: (abstract new (renderImpl: Omit<RenderImpl, "globalShadowCSS">) => PolarisCustomElement & PreactOverlayControlProps) & Pick<typeof PolarisCustomElement, typeof observeLightDom | "prototype" | "observedAttributes">;
|
|
4051
4235
|
declare abstract class ButtonBase<TTagName extends keyof HTMLElementTagNameMap> extends ButtonBase_base implements Pick<ButtonProps, 'disabled' | 'loading' | 'target' | 'href' | 'download' | 'type' | 'accessibilityLabel' | 'inlineSize'> {
|
|
4052
4236
|
disabled: ButtonProps['disabled'];
|
|
4053
4237
|
loading: ButtonProps['loading'];
|
|
@@ -4140,8 +4324,6 @@ declare abstract class ButtonGroupBase extends PolarisCustomElement implements P
|
|
|
4140
4324
|
* @private
|
|
4141
4325
|
*/
|
|
4142
4326
|
setInertActions(actions: readonly Element[]): void;
|
|
4143
|
-
/** @private */
|
|
4144
|
-
disconnectedCallback(): void;
|
|
4145
4327
|
}
|
|
4146
4328
|
|
|
4147
4329
|
/**
|
|
@@ -4461,6 +4643,14 @@ declare class BaseClass$1 extends PolarisCustomElement {
|
|
|
4461
4643
|
* @publicDocs
|
|
4462
4644
|
*/
|
|
4463
4645
|
declare class ChoiceList extends BaseClass$1 implements ChoiceListProps {
|
|
4646
|
+
/**
|
|
4647
|
+
* Choices arrive one at a time from the HTML parser, and the list renders
|
|
4648
|
+
* from their attributes: `selected` for the value, `disabled`, `value` and
|
|
4649
|
+
* `accessibilitylabel` for the control it draws for each one. Text and
|
|
4650
|
+
* slotted details reach us as a `choice-change` event from Choice instead.
|
|
4651
|
+
* @private
|
|
4652
|
+
*/
|
|
4653
|
+
static [observeLightDom]: LightDomObservation;
|
|
4464
4654
|
/**
|
|
4465
4655
|
* Wraps change and input event listeners so they only fire when the event
|
|
4466
4656
|
* was dispatched directly on this ChoiceList (event.eventPhase === Event.AT_TARGET).
|
|
@@ -4489,6 +4679,8 @@ declare class ChoiceList extends BaseClass$1 implements ChoiceListProps {
|
|
|
4489
4679
|
formResetCallback(): void;
|
|
4490
4680
|
constructor();
|
|
4491
4681
|
/** @private */
|
|
4682
|
+
[lightDomChanged](): void;
|
|
4683
|
+
/** @private */
|
|
4492
4684
|
connectedCallback(): void;
|
|
4493
4685
|
/** @private */
|
|
4494
4686
|
disconnectedCallback(): void;
|
|
@@ -4553,7 +4745,7 @@ interface ReactProps$P extends Partial<ClickableProps>, Pick<ClickableProps$1, '
|
|
|
4553
4745
|
onBlur?: ((event: CallbackEvent<typeof tagName$P>) => void) | null;
|
|
4554
4746
|
}
|
|
4555
4747
|
|
|
4556
|
-
declare const Clickable_base: (abstract new (renderImpl: RenderImpl) => BoxElement & PreactOverlayControlProps) & Pick<typeof BoxElement, "prototype" | "observedAttributes">;
|
|
4748
|
+
declare const Clickable_base: (abstract new (renderImpl: RenderImpl) => BoxElement & PreactOverlayControlProps) & Pick<typeof BoxElement, typeof observeLightDom | "prototype" | "observedAttributes">;
|
|
4557
4749
|
/**
|
|
4558
4750
|
* Configure the following properties on the clickable component.
|
|
4559
4751
|
* @publicDocs
|
|
@@ -4636,7 +4828,7 @@ interface ReactProps$O extends Partial<ClickableChipProps>, Pick<ClickableChipPr
|
|
|
4636
4828
|
onAfterHide?: ((event: CallbackEvent<typeof tagName$O>) => void) | null;
|
|
4637
4829
|
}
|
|
4638
4830
|
|
|
4639
|
-
declare const ClickableChipBase_base: (abstract new (renderImpl: Omit<RenderImpl, "globalShadowCSS">) => PolarisCustomElement & PreactOverlayControlProps) & Pick<typeof PolarisCustomElement, "prototype" | "observedAttributes">;
|
|
4831
|
+
declare const ClickableChipBase_base: (abstract new (renderImpl: Omit<RenderImpl, "globalShadowCSS">) => PolarisCustomElement & PreactOverlayControlProps) & Pick<typeof PolarisCustomElement, typeof observeLightDom | "prototype" | "observedAttributes">;
|
|
4640
4832
|
declare abstract class ClickableChipBase<TTagName extends keyof HTMLElementTagNameMap> extends ClickableChipBase_base implements Pick<ClickableChipProps, 'accessibilityLabel' | 'removable' | 'hidden' | 'disabled' | 'href'> {
|
|
4641
4833
|
accessibilityLabel: ClickableChipProps['accessibilityLabel'];
|
|
4642
4834
|
removable: ClickableChipProps['removable'];
|
|
@@ -5459,7 +5651,7 @@ declare module 'preact' {
|
|
|
5459
5651
|
}
|
|
5460
5652
|
}
|
|
5461
5653
|
|
|
5462
|
-
type
|
|
5654
|
+
type GridSpan = `span ${number}` | 'auto';
|
|
5463
5655
|
/**
|
|
5464
5656
|
* The grid item component represents a single cell within a grid layout, allowing you to control how content is positioned and sized within the grid. Use grid item as a child of grid to specify column span, row span, and positioning for individual content areas.
|
|
5465
5657
|
*
|
|
@@ -5474,7 +5666,7 @@ interface GridItemProps extends BoxProps, Required<Pick<GridItemProps$1, 'gridCo
|
|
|
5474
5666
|
*
|
|
5475
5667
|
* @default 'auto'
|
|
5476
5668
|
*/
|
|
5477
|
-
gridColumn:
|
|
5669
|
+
gridColumn: GridSpan;
|
|
5478
5670
|
/**
|
|
5479
5671
|
* The number of rows the item will span across.
|
|
5480
5672
|
*
|
|
@@ -5482,7 +5674,7 @@ interface GridItemProps extends BoxProps, Required<Pick<GridItemProps$1, 'gridCo
|
|
|
5482
5674
|
*
|
|
5483
5675
|
* @default 'auto'
|
|
5484
5676
|
*/
|
|
5485
|
-
gridRow:
|
|
5677
|
+
gridRow: GridSpan;
|
|
5486
5678
|
}
|
|
5487
5679
|
|
|
5488
5680
|
declare const tagName$E = "s-grid-item";
|
|
@@ -5793,7 +5985,7 @@ interface ReactProps$A extends Partial<LinkProps>, Pick<LinkProps$1, 'id' | 'lan
|
|
|
5793
5985
|
onClick?: ((event: CallbackEvent<typeof tagName$A>) => void) | null;
|
|
5794
5986
|
}
|
|
5795
5987
|
|
|
5796
|
-
declare const LinkBase_base: (abstract new (renderImpl: Omit<RenderImpl, "globalShadowCSS">) => PolarisCustomElement & PreactOverlayControlProps) & Pick<typeof PolarisCustomElement, "prototype" | "observedAttributes">;
|
|
5988
|
+
declare const LinkBase_base: (abstract new (renderImpl: Omit<RenderImpl, "globalShadowCSS">) => PolarisCustomElement & PreactOverlayControlProps) & Pick<typeof PolarisCustomElement, typeof observeLightDom | "prototype" | "observedAttributes">;
|
|
5797
5989
|
declare abstract class LinkBase<TTagName extends keyof HTMLElementTagNameMap> extends LinkBase_base implements Pick<LinkProps, 'accessibilityLabel' | 'interestFor' | 'href' | 'target' | 'download' | 'lang'> {
|
|
5798
5990
|
accessibilityLabel: LinkProps['accessibilityLabel'];
|
|
5799
5991
|
href: LinkProps['href'];
|
|
@@ -5937,12 +6129,15 @@ declare class PreactOverlayElement extends PolarisCustomElement {
|
|
|
5937
6129
|
* @publicDocs
|
|
5938
6130
|
*/
|
|
5939
6131
|
declare class Menu extends PreactOverlayElement implements MenuProps {
|
|
6132
|
+
/**
|
|
6133
|
+
* Menu renders proxies of its items rather than slotting them — a button's
|
|
6134
|
+
* content is copied with `innerHTML` — so any attribute on any descendant
|
|
6135
|
+
* can change what the shadow root shows, and there is no list to filter to.
|
|
6136
|
+
* @private
|
|
6137
|
+
*/
|
|
6138
|
+
static [observeLightDom]: LightDomObservation;
|
|
5940
6139
|
accessibilityLabel: string;
|
|
5941
6140
|
constructor();
|
|
5942
|
-
/** @private */
|
|
5943
|
-
connectedCallback(): void;
|
|
5944
|
-
/** @private */
|
|
5945
|
-
disconnectedCallback(): void;
|
|
5946
6141
|
}
|
|
5947
6142
|
declare global {
|
|
5948
6143
|
interface HTMLElementTagNameMap {
|
|
@@ -6049,12 +6244,20 @@ declare const backdropMouseDownOnDialog: unique symbol;
|
|
|
6049
6244
|
declare const backdropMouseUpOnDialog: unique symbol;
|
|
6050
6245
|
declare const abortController: unique symbol;
|
|
6051
6246
|
declare const onChildModalChange: unique symbol;
|
|
6052
|
-
declare const childrenRerenderObserver: unique symbol;
|
|
6053
6247
|
declare const shadowDomRerenderObserver: unique symbol;
|
|
6054
6248
|
declare const focusTrapController: unique symbol;
|
|
6055
6249
|
declare const escapeKeyUpController: unique symbol;
|
|
6056
6250
|
declare const ensureDialogRef: unique symbol;
|
|
6057
6251
|
declare abstract class ModalBase<TTagName extends keyof HTMLElementTagNameMap> extends PreactOverlayElement implements Pick<ModalProps, 'accessibilityLabel' | 'heading' | 'padding' | 'size'> {
|
|
6252
|
+
/**
|
|
6253
|
+
* A nested modal can only arrive as an element, so structure is all this
|
|
6254
|
+
* needs. It used to observe every attribute below it too, which ran the
|
|
6255
|
+
* `querySelectorAll` in `#bindNestedModals` over the whole modal body
|
|
6256
|
+
* whenever anything in it flipped an attribute — a field's `error`, an
|
|
6257
|
+
* `aria-expanded` — and could never find a modal that way.
|
|
6258
|
+
* @private
|
|
6259
|
+
*/
|
|
6260
|
+
static [observeLightDom]: LightDomObservation;
|
|
6058
6261
|
accessibilityLabel: ModalProps['accessibilityLabel'];
|
|
6059
6262
|
heading: ModalProps['heading'];
|
|
6060
6263
|
padding: ModalProps['padding'];
|
|
@@ -6070,8 +6273,6 @@ declare abstract class ModalBase<TTagName extends keyof HTMLElementTagNameMap> e
|
|
|
6070
6273
|
/** @private */
|
|
6071
6274
|
[nestedModals]: Map<ModalBase<TTagName>, boolean>;
|
|
6072
6275
|
/** @private */
|
|
6073
|
-
[childrenRerenderObserver]: MutationObserver;
|
|
6074
|
-
/** @private */
|
|
6075
6276
|
[shadowDomRerenderObserver]: MutationObserver;
|
|
6076
6277
|
/**
|
|
6077
6278
|
* Focus trap keydown handler reference, stored for cleanup.
|
|
@@ -6152,6 +6353,8 @@ declare abstract class ModalBase<TTagName extends keyof HTMLElementTagNameMap> e
|
|
|
6152
6353
|
/** @private */
|
|
6153
6354
|
connectedCallback(): void;
|
|
6154
6355
|
/** @private */
|
|
6356
|
+
[lightDomChanged](): void;
|
|
6357
|
+
/** @private */
|
|
6155
6358
|
disconnectedCallback(): void;
|
|
6156
6359
|
constructor(renderImpl: RenderImpl);
|
|
6157
6360
|
}
|
|
@@ -7170,7 +7373,7 @@ interface ReactProps$h extends Partial<SectionProps>, Pick<SectionProps$1, 'id'
|
|
|
7170
7373
|
/**
|
|
7171
7374
|
* Status or metadata that describes the section as a whole rather than qualifying its heading, rendered at the inline-end of the header before any actions.
|
|
7172
7375
|
*
|
|
7173
|
-
* This is not an action. Only accepts Badge, Avatar, Text, Icon, and
|
|
7376
|
+
* This is not an action. Only accepts Badge, Avatar, Text, Icon, Thumbnail, and Tooltip elements, under the same prop constraints as `accessory`.
|
|
7174
7377
|
*/
|
|
7175
7378
|
supplemental?: ComponentChildren$1;
|
|
7176
7379
|
}
|
|
@@ -7238,6 +7441,13 @@ declare const usedFirstOptionSymbol: unique symbol;
|
|
|
7238
7441
|
declare const hasInitialValueSymbol: unique symbol;
|
|
7239
7442
|
|
|
7240
7443
|
declare abstract class SelectBase extends PreactInputElement implements Pick<SelectProps, 'icon' | 'details' | 'error' | 'label' | 'placeholder' | 'required' | 'labelAccessibilityVisibility'> {
|
|
7444
|
+
/**
|
|
7445
|
+
* The native `<select>` is rebuilt from the options in the light DOM:
|
|
7446
|
+
* `value`, `selected` and `disabled` from each option, `label` and
|
|
7447
|
+
* `disabled` from each group.
|
|
7448
|
+
* @private
|
|
7449
|
+
*/
|
|
7450
|
+
static [observeLightDom]: LightDomObservation;
|
|
7241
7451
|
icon: SelectProps['icon'];
|
|
7242
7452
|
details: SelectProps['details'];
|
|
7243
7453
|
error: SelectProps['error'];
|
|
@@ -7245,10 +7455,6 @@ declare abstract class SelectBase extends PreactInputElement implements Pick<Sel
|
|
|
7245
7455
|
placeholder: SelectProps['placeholder'];
|
|
7246
7456
|
required: SelectProps['required'];
|
|
7247
7457
|
labelAccessibilityVisibility: SelectProps['labelAccessibilityVisibility'];
|
|
7248
|
-
/** @private */
|
|
7249
|
-
connectedCallback(): void;
|
|
7250
|
-
/** @private */
|
|
7251
|
-
disconnectedCallback(): void;
|
|
7252
7458
|
constructor(renderImpl: RenderImpl);
|
|
7253
7459
|
/**
|
|
7254
7460
|
* used to determine if no value or defaultValue was set, in which case the first non-disabled option was used
|
|
@@ -7652,6 +7858,7 @@ interface ReactProps$a extends Partial<TableCellProps>, Pick<TableCellProps$1, '
|
|
|
7652
7858
|
}
|
|
7653
7859
|
|
|
7654
7860
|
declare const headerFormatSymbol: unique symbol;
|
|
7861
|
+
declare const primaryCellSymbol: unique symbol;
|
|
7655
7862
|
|
|
7656
7863
|
/**
|
|
7657
7864
|
* The table cell component represents a single data cell within a table row. Use table cell as a child of table row to display individual data values, with each cell corresponding to a column in the table.
|
|
@@ -7667,6 +7874,10 @@ declare class TableCell extends PolarisCustomElement implements TableCellProps {
|
|
|
7667
7874
|
get [headerFormatSymbol](): HeaderFormat;
|
|
7668
7875
|
/** @private */
|
|
7669
7876
|
set [headerFormatSymbol](format: HeaderFormat);
|
|
7877
|
+
/** @private */
|
|
7878
|
+
get [primaryCellSymbol](): boolean;
|
|
7879
|
+
/** @private */
|
|
7880
|
+
set [primaryCellSymbol](primary: boolean);
|
|
7670
7881
|
}
|
|
7671
7882
|
declare global {
|
|
7672
7883
|
interface HTMLElementTagNameMap {
|
|
@@ -7800,6 +8011,8 @@ interface ReactProps$7 extends Partial<TableRowProps>, Pick<TableRowProps$1, 'id
|
|
|
7800
8011
|
children?: ComponentChildren$1;
|
|
7801
8012
|
}
|
|
7802
8013
|
|
|
8014
|
+
declare const afterHoveredRowSymbol: unique symbol;
|
|
8015
|
+
|
|
7803
8016
|
/**
|
|
7804
8017
|
* The table row component represents a single row of data within a table body. Use table row as a child of table body to structure individual records or entries in the table.
|
|
7805
8018
|
*
|
|
@@ -7811,6 +8024,10 @@ declare class TableRow extends PolarisCustomElement implements TableRowProps {
|
|
|
7811
8024
|
[elementInternals]: ElementInternals;
|
|
7812
8025
|
constructor();
|
|
7813
8026
|
clickDelegate: string;
|
|
8027
|
+
/** @private */
|
|
8028
|
+
get [afterHoveredRowSymbol](): boolean;
|
|
8029
|
+
/** @private */
|
|
8030
|
+
set [afterHoveredRowSymbol](afterHoveredRow: boolean);
|
|
7814
8031
|
}
|
|
7815
8032
|
declare global {
|
|
7816
8033
|
interface HTMLElementTagNameMap {
|
|
@@ -7887,19 +8104,19 @@ interface ReactProps$6 extends Partial<TextProps>, Pick<TextProps$1, 'id' | 'chi
|
|
|
7887
8104
|
children?: ComponentChildren$1;
|
|
7888
8105
|
}
|
|
7889
8106
|
|
|
7890
|
-
declare abstract class TextBase extends PolarisCustomElement implements Pick<TextProps, 'fontVariantNumeric' | 'fontSize' | 'fontWeight' | '
|
|
8107
|
+
declare abstract class TextBase extends PolarisCustomElement implements Pick<TextProps, 'fontVariantNumeric' | 'fontSize' | 'fontWeight' | 'type' | 'dir' | 'accessibilityVisibility' | 'interestFor'> {
|
|
7891
8108
|
fontSize: TextProps['fontSize'];
|
|
7892
8109
|
fontWeight: TextProps['fontWeight'];
|
|
7893
8110
|
/**
|
|
7894
8111
|
* @deprecated Use `Number` for inline numeric values instead.
|
|
7895
8112
|
*/
|
|
7896
8113
|
fontVariantNumeric: TextProps['fontVariantNumeric'];
|
|
7897
|
-
color: TextProps['color'];
|
|
7898
8114
|
type: TextProps['type'];
|
|
7899
8115
|
dir: TextProps['dir'];
|
|
7900
8116
|
accessibilityVisibility: TextProps['accessibilityVisibility'];
|
|
7901
8117
|
interestFor: string;
|
|
7902
8118
|
abstract tone: string;
|
|
8119
|
+
abstract color: string;
|
|
7903
8120
|
constructor(renderImpl: RenderImpl);
|
|
7904
8121
|
}
|
|
7905
8122
|
|
|
@@ -7909,6 +8126,7 @@ declare abstract class TextBase extends PolarisCustomElement implements Pick<Tex
|
|
|
7909
8126
|
*/
|
|
7910
8127
|
declare class Text extends TextBase implements TextProps {
|
|
7911
8128
|
tone: TextProps['tone'];
|
|
8129
|
+
color: TextProps['color'];
|
|
7912
8130
|
constructor();
|
|
7913
8131
|
}
|
|
7914
8132
|
declare global {
|