@shopify/polaris-types 2.0.0-rc.0 → 2.0.0-rc.1
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 +285 -66
- 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.
|
|
2058
|
-
*
|
|
2059
|
-
* @default 'heading'
|
|
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.
|
|
2060
2056
|
*
|
|
2061
|
-
* @implementation The
|
|
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'];
|
|
@@ -4461,6 +4645,14 @@ declare class BaseClass$1 extends PolarisCustomElement {
|
|
|
4461
4645
|
* @publicDocs
|
|
4462
4646
|
*/
|
|
4463
4647
|
declare class ChoiceList extends BaseClass$1 implements ChoiceListProps {
|
|
4648
|
+
/**
|
|
4649
|
+
* Choices arrive one at a time from the HTML parser, and the list renders
|
|
4650
|
+
* from their attributes: `selected` for the value, `disabled`, `value` and
|
|
4651
|
+
* `accessibilitylabel` for the control it draws for each one. Text and
|
|
4652
|
+
* slotted details reach us as a `choice-change` event from Choice instead.
|
|
4653
|
+
* @private
|
|
4654
|
+
*/
|
|
4655
|
+
static [observeLightDom]: LightDomObservation;
|
|
4464
4656
|
/**
|
|
4465
4657
|
* Wraps change and input event listeners so they only fire when the event
|
|
4466
4658
|
* was dispatched directly on this ChoiceList (event.eventPhase === Event.AT_TARGET).
|
|
@@ -4489,6 +4681,8 @@ declare class ChoiceList extends BaseClass$1 implements ChoiceListProps {
|
|
|
4489
4681
|
formResetCallback(): void;
|
|
4490
4682
|
constructor();
|
|
4491
4683
|
/** @private */
|
|
4684
|
+
[lightDomChanged](): void;
|
|
4685
|
+
/** @private */
|
|
4492
4686
|
connectedCallback(): void;
|
|
4493
4687
|
/** @private */
|
|
4494
4688
|
disconnectedCallback(): void;
|
|
@@ -4553,7 +4747,7 @@ interface ReactProps$P extends Partial<ClickableProps>, Pick<ClickableProps$1, '
|
|
|
4553
4747
|
onBlur?: ((event: CallbackEvent<typeof tagName$P>) => void) | null;
|
|
4554
4748
|
}
|
|
4555
4749
|
|
|
4556
|
-
declare const Clickable_base: (abstract new (renderImpl: RenderImpl) => BoxElement & PreactOverlayControlProps) & Pick<typeof BoxElement, "prototype" | "observedAttributes">;
|
|
4750
|
+
declare const Clickable_base: (abstract new (renderImpl: RenderImpl) => BoxElement & PreactOverlayControlProps) & Pick<typeof BoxElement, typeof observeLightDom | "prototype" | "observedAttributes">;
|
|
4557
4751
|
/**
|
|
4558
4752
|
* Configure the following properties on the clickable component.
|
|
4559
4753
|
* @publicDocs
|
|
@@ -4636,7 +4830,7 @@ interface ReactProps$O extends Partial<ClickableChipProps>, Pick<ClickableChipPr
|
|
|
4636
4830
|
onAfterHide?: ((event: CallbackEvent<typeof tagName$O>) => void) | null;
|
|
4637
4831
|
}
|
|
4638
4832
|
|
|
4639
|
-
declare const ClickableChipBase_base: (abstract new (renderImpl: Omit<RenderImpl, "globalShadowCSS">) => PolarisCustomElement & PreactOverlayControlProps) & Pick<typeof PolarisCustomElement, "prototype" | "observedAttributes">;
|
|
4833
|
+
declare const ClickableChipBase_base: (abstract new (renderImpl: Omit<RenderImpl, "globalShadowCSS">) => PolarisCustomElement & PreactOverlayControlProps) & Pick<typeof PolarisCustomElement, typeof observeLightDom | "prototype" | "observedAttributes">;
|
|
4640
4834
|
declare abstract class ClickableChipBase<TTagName extends keyof HTMLElementTagNameMap> extends ClickableChipBase_base implements Pick<ClickableChipProps, 'accessibilityLabel' | 'removable' | 'hidden' | 'disabled' | 'href'> {
|
|
4641
4835
|
accessibilityLabel: ClickableChipProps['accessibilityLabel'];
|
|
4642
4836
|
removable: ClickableChipProps['removable'];
|
|
@@ -5459,7 +5653,7 @@ declare module 'preact' {
|
|
|
5459
5653
|
}
|
|
5460
5654
|
}
|
|
5461
5655
|
|
|
5462
|
-
type
|
|
5656
|
+
type GridSpan = `span ${number}` | 'auto';
|
|
5463
5657
|
/**
|
|
5464
5658
|
* 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
5659
|
*
|
|
@@ -5474,7 +5668,7 @@ interface GridItemProps extends BoxProps, Required<Pick<GridItemProps$1, 'gridCo
|
|
|
5474
5668
|
*
|
|
5475
5669
|
* @default 'auto'
|
|
5476
5670
|
*/
|
|
5477
|
-
gridColumn:
|
|
5671
|
+
gridColumn: GridSpan;
|
|
5478
5672
|
/**
|
|
5479
5673
|
* The number of rows the item will span across.
|
|
5480
5674
|
*
|
|
@@ -5482,7 +5676,7 @@ interface GridItemProps extends BoxProps, Required<Pick<GridItemProps$1, 'gridCo
|
|
|
5482
5676
|
*
|
|
5483
5677
|
* @default 'auto'
|
|
5484
5678
|
*/
|
|
5485
|
-
gridRow:
|
|
5679
|
+
gridRow: GridSpan;
|
|
5486
5680
|
}
|
|
5487
5681
|
|
|
5488
5682
|
declare const tagName$E = "s-grid-item";
|
|
@@ -5793,7 +5987,7 @@ interface ReactProps$A extends Partial<LinkProps>, Pick<LinkProps$1, 'id' | 'lan
|
|
|
5793
5987
|
onClick?: ((event: CallbackEvent<typeof tagName$A>) => void) | null;
|
|
5794
5988
|
}
|
|
5795
5989
|
|
|
5796
|
-
declare const LinkBase_base: (abstract new (renderImpl: Omit<RenderImpl, "globalShadowCSS">) => PolarisCustomElement & PreactOverlayControlProps) & Pick<typeof PolarisCustomElement, "prototype" | "observedAttributes">;
|
|
5990
|
+
declare const LinkBase_base: (abstract new (renderImpl: Omit<RenderImpl, "globalShadowCSS">) => PolarisCustomElement & PreactOverlayControlProps) & Pick<typeof PolarisCustomElement, typeof observeLightDom | "prototype" | "observedAttributes">;
|
|
5797
5991
|
declare abstract class LinkBase<TTagName extends keyof HTMLElementTagNameMap> extends LinkBase_base implements Pick<LinkProps, 'accessibilityLabel' | 'interestFor' | 'href' | 'target' | 'download' | 'lang'> {
|
|
5798
5992
|
accessibilityLabel: LinkProps['accessibilityLabel'];
|
|
5799
5993
|
href: LinkProps['href'];
|
|
@@ -5937,12 +6131,15 @@ declare class PreactOverlayElement extends PolarisCustomElement {
|
|
|
5937
6131
|
* @publicDocs
|
|
5938
6132
|
*/
|
|
5939
6133
|
declare class Menu extends PreactOverlayElement implements MenuProps {
|
|
6134
|
+
/**
|
|
6135
|
+
* Menu renders proxies of its items rather than slotting them — a button's
|
|
6136
|
+
* content is copied with `innerHTML` — so any attribute on any descendant
|
|
6137
|
+
* can change what the shadow root shows, and there is no list to filter to.
|
|
6138
|
+
* @private
|
|
6139
|
+
*/
|
|
6140
|
+
static [observeLightDom]: LightDomObservation;
|
|
5940
6141
|
accessibilityLabel: string;
|
|
5941
6142
|
constructor();
|
|
5942
|
-
/** @private */
|
|
5943
|
-
connectedCallback(): void;
|
|
5944
|
-
/** @private */
|
|
5945
|
-
disconnectedCallback(): void;
|
|
5946
6143
|
}
|
|
5947
6144
|
declare global {
|
|
5948
6145
|
interface HTMLElementTagNameMap {
|
|
@@ -6049,12 +6246,20 @@ declare const backdropMouseDownOnDialog: unique symbol;
|
|
|
6049
6246
|
declare const backdropMouseUpOnDialog: unique symbol;
|
|
6050
6247
|
declare const abortController: unique symbol;
|
|
6051
6248
|
declare const onChildModalChange: unique symbol;
|
|
6052
|
-
declare const childrenRerenderObserver: unique symbol;
|
|
6053
6249
|
declare const shadowDomRerenderObserver: unique symbol;
|
|
6054
6250
|
declare const focusTrapController: unique symbol;
|
|
6055
6251
|
declare const escapeKeyUpController: unique symbol;
|
|
6056
6252
|
declare const ensureDialogRef: unique symbol;
|
|
6057
6253
|
declare abstract class ModalBase<TTagName extends keyof HTMLElementTagNameMap> extends PreactOverlayElement implements Pick<ModalProps, 'accessibilityLabel' | 'heading' | 'padding' | 'size'> {
|
|
6254
|
+
/**
|
|
6255
|
+
* A nested modal can only arrive as an element, so structure is all this
|
|
6256
|
+
* needs. It used to observe every attribute below it too, which ran the
|
|
6257
|
+
* `querySelectorAll` in `#bindNestedModals` over the whole modal body
|
|
6258
|
+
* whenever anything in it flipped an attribute — a field's `error`, an
|
|
6259
|
+
* `aria-expanded` — and could never find a modal that way.
|
|
6260
|
+
* @private
|
|
6261
|
+
*/
|
|
6262
|
+
static [observeLightDom]: LightDomObservation;
|
|
6058
6263
|
accessibilityLabel: ModalProps['accessibilityLabel'];
|
|
6059
6264
|
heading: ModalProps['heading'];
|
|
6060
6265
|
padding: ModalProps['padding'];
|
|
@@ -6070,8 +6275,6 @@ declare abstract class ModalBase<TTagName extends keyof HTMLElementTagNameMap> e
|
|
|
6070
6275
|
/** @private */
|
|
6071
6276
|
[nestedModals]: Map<ModalBase<TTagName>, boolean>;
|
|
6072
6277
|
/** @private */
|
|
6073
|
-
[childrenRerenderObserver]: MutationObserver;
|
|
6074
|
-
/** @private */
|
|
6075
6278
|
[shadowDomRerenderObserver]: MutationObserver;
|
|
6076
6279
|
/**
|
|
6077
6280
|
* Focus trap keydown handler reference, stored for cleanup.
|
|
@@ -6152,6 +6355,8 @@ declare abstract class ModalBase<TTagName extends keyof HTMLElementTagNameMap> e
|
|
|
6152
6355
|
/** @private */
|
|
6153
6356
|
connectedCallback(): void;
|
|
6154
6357
|
/** @private */
|
|
6358
|
+
[lightDomChanged](): void;
|
|
6359
|
+
/** @private */
|
|
6155
6360
|
disconnectedCallback(): void;
|
|
6156
6361
|
constructor(renderImpl: RenderImpl);
|
|
6157
6362
|
}
|
|
@@ -7170,7 +7375,7 @@ interface ReactProps$h extends Partial<SectionProps>, Pick<SectionProps$1, 'id'
|
|
|
7170
7375
|
/**
|
|
7171
7376
|
* 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
7377
|
*
|
|
7173
|
-
* This is not an action. Only accepts Badge, Avatar, Text, Icon, and
|
|
7378
|
+
* This is not an action. Only accepts Badge, Avatar, Text, Icon, Thumbnail, and Tooltip elements, under the same prop constraints as `accessory`.
|
|
7174
7379
|
*/
|
|
7175
7380
|
supplemental?: ComponentChildren$1;
|
|
7176
7381
|
}
|
|
@@ -7238,6 +7443,13 @@ declare const usedFirstOptionSymbol: unique symbol;
|
|
|
7238
7443
|
declare const hasInitialValueSymbol: unique symbol;
|
|
7239
7444
|
|
|
7240
7445
|
declare abstract class SelectBase extends PreactInputElement implements Pick<SelectProps, 'icon' | 'details' | 'error' | 'label' | 'placeholder' | 'required' | 'labelAccessibilityVisibility'> {
|
|
7446
|
+
/**
|
|
7447
|
+
* The native `<select>` is rebuilt from the options in the light DOM:
|
|
7448
|
+
* `value`, `selected` and `disabled` from each option, `label` and
|
|
7449
|
+
* `disabled` from each group.
|
|
7450
|
+
* @private
|
|
7451
|
+
*/
|
|
7452
|
+
static [observeLightDom]: LightDomObservation;
|
|
7241
7453
|
icon: SelectProps['icon'];
|
|
7242
7454
|
details: SelectProps['details'];
|
|
7243
7455
|
error: SelectProps['error'];
|
|
@@ -7245,10 +7457,6 @@ declare abstract class SelectBase extends PreactInputElement implements Pick<Sel
|
|
|
7245
7457
|
placeholder: SelectProps['placeholder'];
|
|
7246
7458
|
required: SelectProps['required'];
|
|
7247
7459
|
labelAccessibilityVisibility: SelectProps['labelAccessibilityVisibility'];
|
|
7248
|
-
/** @private */
|
|
7249
|
-
connectedCallback(): void;
|
|
7250
|
-
/** @private */
|
|
7251
|
-
disconnectedCallback(): void;
|
|
7252
7460
|
constructor(renderImpl: RenderImpl);
|
|
7253
7461
|
/**
|
|
7254
7462
|
* used to determine if no value or defaultValue was set, in which case the first non-disabled option was used
|
|
@@ -7652,6 +7860,7 @@ interface ReactProps$a extends Partial<TableCellProps>, Pick<TableCellProps$1, '
|
|
|
7652
7860
|
}
|
|
7653
7861
|
|
|
7654
7862
|
declare const headerFormatSymbol: unique symbol;
|
|
7863
|
+
declare const primaryCellSymbol: unique symbol;
|
|
7655
7864
|
|
|
7656
7865
|
/**
|
|
7657
7866
|
* 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 +7876,10 @@ declare class TableCell extends PolarisCustomElement implements TableCellProps {
|
|
|
7667
7876
|
get [headerFormatSymbol](): HeaderFormat;
|
|
7668
7877
|
/** @private */
|
|
7669
7878
|
set [headerFormatSymbol](format: HeaderFormat);
|
|
7879
|
+
/** @private */
|
|
7880
|
+
get [primaryCellSymbol](): boolean;
|
|
7881
|
+
/** @private */
|
|
7882
|
+
set [primaryCellSymbol](primary: boolean);
|
|
7670
7883
|
}
|
|
7671
7884
|
declare global {
|
|
7672
7885
|
interface HTMLElementTagNameMap {
|
|
@@ -7800,6 +8013,8 @@ interface ReactProps$7 extends Partial<TableRowProps>, Pick<TableRowProps$1, 'id
|
|
|
7800
8013
|
children?: ComponentChildren$1;
|
|
7801
8014
|
}
|
|
7802
8015
|
|
|
8016
|
+
declare const afterHoveredRowSymbol: unique symbol;
|
|
8017
|
+
|
|
7803
8018
|
/**
|
|
7804
8019
|
* 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
8020
|
*
|
|
@@ -7811,6 +8026,10 @@ declare class TableRow extends PolarisCustomElement implements TableRowProps {
|
|
|
7811
8026
|
[elementInternals]: ElementInternals;
|
|
7812
8027
|
constructor();
|
|
7813
8028
|
clickDelegate: string;
|
|
8029
|
+
/** @private */
|
|
8030
|
+
get [afterHoveredRowSymbol](): boolean;
|
|
8031
|
+
/** @private */
|
|
8032
|
+
set [afterHoveredRowSymbol](afterHoveredRow: boolean);
|
|
7814
8033
|
}
|
|
7815
8034
|
declare global {
|
|
7816
8035
|
interface HTMLElementTagNameMap {
|