@sanity/ui 5.0.0-alpha.22 → 5.0.0-alpha.24
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/README.md +10 -0
- package/dist/index.d.ts +15 -7
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +76 -59
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/docs/components/avatar-counter.dsds.yaml +78 -0
- package/docs/components/avatar-stack.dsds.yaml +96 -0
- package/docs/components/avatar.dsds.yaml +115 -0
- package/docs/components/badge.dsds.yaml +126 -0
- package/docs/components/box.dsds.yaml +223 -0
- package/docs/components/button.dsds.yaml +296 -0
- package/docs/components/card.dsds.yaml +317 -0
- package/docs/components/checkbox.dsds.yaml +204 -0
- package/docs/components/code.dsds.yaml +169 -0
- package/docs/components/container.dsds.yaml +189 -0
- package/docs/components/dialog.dsds.yaml +343 -0
- package/docs/components/divider.dsds.yaml +93 -0
- package/docs/components/eyebrow.dsds.yaml +198 -0
- package/docs/components/flex.dsds.yaml +237 -0
- package/docs/components/grid.dsds.yaml +217 -0
- package/docs/components/h-stack.dsds.yaml +127 -0
- package/docs/components/heading.dsds.yaml +233 -0
- package/docs/components/hotkeys.dsds.yaml +60 -0
- package/docs/components/icon-button.dsds.yaml +227 -0
- package/docs/components/icon.dsds.yaml +275 -0
- package/docs/components/indicator-stack.dsds.yaml +98 -0
- package/docs/components/indicator.dsds.yaml +108 -0
- package/docs/components/inline.dsds.yaml +127 -0
- package/docs/components/kbd.dsds.yaml +59 -0
- package/docs/components/link.dsds.yaml +108 -0
- package/docs/components/list-button-item.dsds.yaml +103 -0
- package/docs/components/list-item-image.dsds.yaml +82 -0
- package/docs/components/list-item-text.dsds.yaml +80 -0
- package/docs/components/list-item.dsds.yaml +148 -0
- package/docs/components/list.dsds.yaml +162 -0
- package/docs/components/popover.dsds.yaml +214 -0
- package/docs/components/press-area.dsds.yaml +279 -0
- package/docs/components/radio.dsds.yaml +198 -0
- package/docs/components/select.dsds.yaml +214 -0
- package/docs/components/skip-to-content.dsds.yaml +110 -0
- package/docs/components/spinner.dsds.yaml +119 -0
- package/docs/components/switch.dsds.yaml +202 -0
- package/docs/components/tab.dsds.yaml +54 -0
- package/docs/components/tabs-list.dsds.yaml +56 -0
- package/docs/components/tabs-panel.dsds.yaml +54 -0
- package/docs/components/tabs.dsds.yaml +104 -0
- package/docs/components/text-area.dsds.yaml +170 -0
- package/docs/components/text-input.dsds.yaml +189 -0
- package/docs/components/text.dsds.yaml +268 -0
- package/docs/components/tooltip-group.dsds.yaml +90 -0
- package/docs/components/tooltip.dsds.yaml +216 -0
- package/docs/components/v-stack.dsds.yaml +155 -0
- package/docs/components/visually-hidden.dsds.yaml +112 -0
- package/docs/evals/cases.yaml +1319 -0
- package/docs/examples/checkbox-2.tsx +57 -0
- package/docs/examples/confirmation-dialogs-1.tsx +27 -0
- package/docs/examples/confirmation-dialogs-2.tsx +55 -0
- package/docs/examples/confirmation-dialogs-3.tsx +28 -0
- package/docs/examples/confirmation-dialogs-4.tsx +38 -0
- package/docs/examples/popover-1.tsx +48 -0
- package/docs/examples/popover-2.tsx +53 -0
- package/docs/foundations/accessibility-guidelines.dsds.yaml +301 -0
- package/docs/foundations/color-guidelines.dsds.yaml +308 -0
- package/docs/foundations/content-guidelines.dsds.yaml +285 -0
- package/docs/foundations/semantics.dsds.yaml +125 -0
- package/docs/foundations/spacing-guidelines.dsds.yaml +226 -0
- package/docs/foundations/typography-guidelines.dsds.yaml +322 -0
- package/docs/icons/icon-access-denied.dsds.yaml +40 -0
- package/docs/icons/icon-activity.dsds.yaml +40 -0
- package/docs/icons/icon-add-circle.dsds.yaml +14 -0
- package/docs/icons/icon-add-comment.dsds.yaml +34 -0
- package/docs/icons/icon-add-document.dsds.yaml +34 -0
- package/docs/icons/icon-add-user.dsds.yaml +30 -0
- package/docs/icons/icon-add.dsds.yaml +57 -0
- package/docs/icons/icon-api.dsds.yaml +17 -0
- package/docs/icons/icon-archive.dsds.yaml +44 -0
- package/docs/icons/icon-arrow-down.dsds.yaml +38 -0
- package/docs/icons/icon-arrow-left.dsds.yaml +32 -0
- package/docs/icons/icon-arrow-right.dsds.yaml +32 -0
- package/docs/icons/icon-arrow-top-right.dsds.yaml +32 -0
- package/docs/icons/icon-arrow-up.dsds.yaml +44 -0
- package/docs/icons/icon-asterisk.dsds.yaml +18 -0
- package/docs/icons/icon-bar-chart.dsds.yaml +40 -0
- package/docs/icons/icon-basket.dsds.yaml +14 -0
- package/docs/icons/icon-bell.dsds.yaml +30 -0
- package/docs/icons/icon-bill.dsds.yaml +40 -0
- package/docs/icons/icon-binary-document.dsds.yaml +30 -0
- package/docs/icons/icon-block-content.dsds.yaml +30 -0
- package/docs/icons/icon-block-element.dsds.yaml +32 -0
- package/docs/icons/icon-blockquote.dsds.yaml +32 -0
- package/docs/icons/icon-bold.dsds.yaml +28 -0
- package/docs/icons/icon-bolt.dsds.yaml +18 -0
- package/docs/icons/icon-book.dsds.yaml +34 -0
- package/docs/icons/icon-bookmark-filled.dsds.yaml +14 -0
- package/docs/icons/icon-bookmark.dsds.yaml +14 -0
- package/docs/icons/icon-bottle.dsds.yaml +18 -0
- package/docs/icons/icon-bug.dsds.yaml +28 -0
- package/docs/icons/icon-bulb-filled.dsds.yaml +14 -0
- package/docs/icons/icon-bulb-outline.dsds.yaml +30 -0
- package/docs/icons/icon-calendar.dsds.yaml +36 -0
- package/docs/icons/icon-case.dsds.yaml +18 -0
- package/docs/icons/icon-chart-upward.dsds.yaml +40 -0
- package/docs/icons/icon-checkmark-circle.dsds.yaml +40 -0
- package/docs/icons/icon-checkmark.dsds.yaml +36 -0
- package/docs/icons/icon-chevron-down.dsds.yaml +46 -0
- package/docs/icons/icon-chevron-left.dsds.yaml +42 -0
- package/docs/icons/icon-chevron-right.dsds.yaml +42 -0
- package/docs/icons/icon-chevron-up.dsds.yaml +44 -0
- package/docs/icons/icon-circle.dsds.yaml +28 -0
- package/docs/icons/icon-clipboard-image.dsds.yaml +30 -0
- package/docs/icons/icon-clipboard.dsds.yaml +34 -0
- package/docs/icons/icon-clock.dsds.yaml +39 -0
- package/docs/icons/icon-close-circle.dsds.yaml +18 -0
- package/docs/icons/icon-close.dsds.yaml +51 -0
- package/docs/icons/icon-code-block.dsds.yaml +38 -0
- package/docs/icons/icon-code.dsds.yaml +40 -0
- package/docs/icons/icon-cog.dsds.yaml +38 -0
- package/docs/icons/icon-collapse.dsds.yaml +40 -0
- package/docs/icons/icon-color-wheel.dsds.yaml +30 -0
- package/docs/icons/icon-comment.dsds.yaml +38 -0
- package/docs/icons/icon-component.dsds.yaml +18 -0
- package/docs/icons/icon-compose-sparkles.dsds.yaml +36 -0
- package/docs/icons/icon-compose.dsds.yaml +38 -0
- package/docs/icons/icon-confetti.dsds.yaml +18 -0
- package/docs/icons/icon-controls.dsds.yaml +36 -0
- package/docs/icons/icon-copy.dsds.yaml +31 -0
- package/docs/icons/icon-credit-card.dsds.yaml +18 -0
- package/docs/icons/icon-crop.dsds.yaml +32 -0
- package/docs/icons/icon-cube.dsds.yaml +36 -0
- package/docs/icons/icon-dashboard.dsds.yaml +34 -0
- package/docs/icons/icon-database.dsds.yaml +40 -0
- package/docs/icons/icon-desktop.dsds.yaml +31 -0
- package/docs/icons/icon-diamond.dsds.yaml +18 -0
- package/docs/icons/icon-document-pdf.dsds.yaml +34 -0
- package/docs/icons/icon-document-remove.dsds.yaml +30 -0
- package/docs/icons/icon-document-sheet.dsds.yaml +34 -0
- package/docs/icons/icon-document-text.dsds.yaml +30 -0
- package/docs/icons/icon-document-video.dsds.yaml +30 -0
- package/docs/icons/icon-document-word.dsds.yaml +34 -0
- package/docs/icons/icon-document-zip.dsds.yaml +30 -0
- package/docs/icons/icon-document.dsds.yaml +52 -0
- package/docs/icons/icon-documents.dsds.yaml +30 -0
- package/docs/icons/icon-dot.dsds.yaml +32 -0
- package/docs/icons/icon-double-chevron-down.dsds.yaml +38 -0
- package/docs/icons/icon-double-chevron-left.dsds.yaml +34 -0
- package/docs/icons/icon-double-chevron-right.dsds.yaml +34 -0
- package/docs/icons/icon-double-chevron-up.dsds.yaml +36 -0
- package/docs/icons/icon-double-quote.dsds.yaml +14 -0
- package/docs/icons/icon-download.dsds.yaml +40 -0
- package/docs/icons/icon-drag-handle.dsds.yaml +28 -0
- package/docs/icons/icon-drop.dsds.yaml +30 -0
- package/docs/icons/icon-earth-americas.dsds.yaml +34 -0
- package/docs/icons/icon-earth-globe.dsds.yaml +34 -0
- package/docs/icons/icon-edit.dsds.yaml +34 -0
- package/docs/icons/icon-ellipsis-horizontal.dsds.yaml +32 -0
- package/docs/icons/icon-ellipsis-vertical.dsds.yaml +14 -0
- package/docs/icons/icon-empty.dsds.yaml +28 -0
- package/docs/icons/icon-enter-right.dsds.yaml +18 -0
- package/docs/icons/icon-enter.dsds.yaml +18 -0
- package/docs/icons/icon-envelope.dsds.yaml +34 -0
- package/docs/icons/icon-equal.dsds.yaml +14 -0
- package/docs/icons/icon-error-filled.dsds.yaml +14 -0
- package/docs/icons/icon-error-outline.dsds.yaml +38 -0
- package/docs/icons/icon-error-screen.dsds.yaml +14 -0
- package/docs/icons/icon-expand.dsds.yaml +36 -0
- package/docs/icons/icon-eye-closed.dsds.yaml +38 -0
- package/docs/icons/icon-eye-open.dsds.yaml +38 -0
- package/docs/icons/icon-face-happy.dsds.yaml +14 -0
- package/docs/icons/icon-face-indifferent.dsds.yaml +14 -0
- package/docs/icons/icon-face-sad.dsds.yaml +14 -0
- package/docs/icons/icon-feedback.dsds.yaml +30 -0
- package/docs/icons/icon-filter.dsds.yaml +38 -0
- package/docs/icons/icon-folder.dsds.yaml +36 -0
- package/docs/icons/icon-generate.dsds.yaml +18 -0
- package/docs/icons/icon-github.dsds.yaml +14 -0
- package/docs/icons/icon-groq.dsds.yaml +31 -0
- package/docs/icons/icon-hash.dsds.yaml +18 -0
- package/docs/icons/icon-heart-filled.dsds.yaml +18 -0
- package/docs/icons/icon-heart.dsds.yaml +18 -0
- package/docs/icons/icon-help-circle.dsds.yaml +38 -0
- package/docs/icons/icon-highlight.dsds.yaml +18 -0
- package/docs/icons/icon-home.dsds.yaml +28 -0
- package/docs/icons/icon-ice-cream.dsds.yaml +18 -0
- package/docs/icons/icon-image-remove.dsds.yaml +32 -0
- package/docs/icons/icon-image.dsds.yaml +36 -0
- package/docs/icons/icon-images.dsds.yaml +34 -0
- package/docs/icons/icon-inbox.dsds.yaml +14 -0
- package/docs/icons/icon-info-filled.dsds.yaml +14 -0
- package/docs/icons/icon-info-outline.dsds.yaml +38 -0
- package/docs/icons/icon-inline-element.dsds.yaml +32 -0
- package/docs/icons/icon-inline.dsds.yaml +18 -0
- package/docs/icons/icon-insert-above.dsds.yaml +32 -0
- package/docs/icons/icon-insert-below.dsds.yaml +32 -0
- package/docs/icons/icon-italic.dsds.yaml +28 -0
- package/docs/icons/icon-joystick.dsds.yaml +18 -0
- package/docs/icons/icon-json.dsds.yaml +36 -0
- package/docs/icons/icon-launch.dsds.yaml +34 -0
- package/docs/icons/icon-leave.dsds.yaml +35 -0
- package/docs/icons/icon-lemon.dsds.yaml +18 -0
- package/docs/icons/icon-link-removed.dsds.yaml +30 -0
- package/docs/icons/icon-link.dsds.yaml +36 -0
- package/docs/icons/icon-linkedin.dsds.yaml +14 -0
- package/docs/icons/icon-list.dsds.yaml +14 -0
- package/docs/icons/icon-lock.dsds.yaml +39 -0
- package/docs/icons/icon-logo-js.dsds.yaml +18 -0
- package/docs/icons/icon-logo-ts.dsds.yaml +18 -0
- package/docs/icons/icon-marker-removed.dsds.yaml +14 -0
- package/docs/icons/icon-marker.dsds.yaml +14 -0
- package/docs/icons/icon-master-detail.dsds.yaml +28 -0
- package/docs/icons/icon-menu.dsds.yaml +40 -0
- package/docs/icons/icon-microphone-slash.dsds.yaml +14 -0
- package/docs/icons/icon-microphone.dsds.yaml +14 -0
- package/docs/icons/icon-mobile-device.dsds.yaml +32 -0
- package/docs/icons/icon-moon.dsds.yaml +30 -0
- package/docs/icons/icon-number.dsds.yaml +30 -0
- package/docs/icons/icon-ok-hand.dsds.yaml +18 -0
- package/docs/icons/icon-olist.dsds.yaml +36 -0
- package/docs/icons/icon-overage.dsds.yaml +42 -0
- package/docs/icons/icon-package.dsds.yaml +34 -0
- package/docs/icons/icon-panel-left.dsds.yaml +38 -0
- package/docs/icons/icon-panel-right.dsds.yaml +40 -0
- package/docs/icons/icon-pause.dsds.yaml +32 -0
- package/docs/icons/icon-pin-filled.dsds.yaml +28 -0
- package/docs/icons/icon-pin-removed.dsds.yaml +14 -0
- package/docs/icons/icon-pin.dsds.yaml +32 -0
- package/docs/icons/icon-play.dsds.yaml +32 -0
- package/docs/icons/icon-plug.dsds.yaml +35 -0
- package/docs/icons/icon-presentation.dsds.yaml +18 -0
- package/docs/icons/icon-progress50.dsds.yaml +14 -0
- package/docs/icons/icon-progress75.dsds.yaml +14 -0
- package/docs/icons/icon-projects.dsds.yaml +14 -0
- package/docs/icons/icon-publish.dsds.yaml +38 -0
- package/docs/icons/icon-read-only.dsds.yaml +36 -0
- package/docs/icons/icon-redo.dsds.yaml +38 -0
- package/docs/icons/icon-refresh.dsds.yaml +38 -0
- package/docs/icons/icon-remove-circle.dsds.yaml +14 -0
- package/docs/icons/icon-remove.dsds.yaml +30 -0
- package/docs/icons/icon-reset.dsds.yaml +40 -0
- package/docs/icons/icon-restore.dsds.yaml +45 -0
- package/docs/icons/icon-retrieve.dsds.yaml +14 -0
- package/docs/icons/icon-retry.dsds.yaml +14 -0
- package/docs/icons/icon-revert.dsds.yaml +14 -0
- package/docs/icons/icon-robot.dsds.yaml +17 -0
- package/docs/icons/icon-rocket.dsds.yaml +34 -0
- package/docs/icons/icon-schema.dsds.yaml +36 -0
- package/docs/icons/icon-search.dsds.yaml +34 -0
- package/docs/icons/icon-select.dsds.yaml +38 -0
- package/docs/icons/icon-share.dsds.yaml +36 -0
- package/docs/icons/icon-sort.dsds.yaml +40 -0
- package/docs/icons/icon-sparkle.dsds.yaml +26 -0
- package/docs/icons/icon-sparkles.dsds.yaml +34 -0
- package/docs/icons/icon-spinner.dsds.yaml +38 -0
- package/docs/icons/icon-split-horizontal.dsds.yaml +32 -0
- package/docs/icons/icon-split-vertical.dsds.yaml +30 -0
- package/docs/icons/icon-square.dsds.yaml +18 -0
- package/docs/icons/icon-stack-compact.dsds.yaml +30 -0
- package/docs/icons/icon-stack.dsds.yaml +44 -0
- package/docs/icons/icon-star-filled.dsds.yaml +48 -0
- package/docs/icons/icon-star.dsds.yaml +51 -0
- package/docs/icons/icon-stop.dsds.yaml +32 -0
- package/docs/icons/icon-strikethrough.dsds.yaml +28 -0
- package/docs/icons/icon-string.dsds.yaml +38 -0
- package/docs/icons/icon-sun.dsds.yaml +30 -0
- package/docs/icons/icon-sync.dsds.yaml +36 -0
- package/docs/icons/icon-tablet-device.dsds.yaml +30 -0
- package/docs/icons/icon-tag.dsds.yaml +32 -0
- package/docs/icons/icon-tags.dsds.yaml +36 -0
- package/docs/icons/icon-target.dsds.yaml +14 -0
- package/docs/icons/icon-task.dsds.yaml +30 -0
- package/docs/icons/icon-terminal.dsds.yaml +30 -0
- package/docs/icons/icon-text.dsds.yaml +32 -0
- package/docs/icons/icon-th-large.dsds.yaml +34 -0
- package/docs/icons/icon-th-list.dsds.yaml +30 -0
- package/docs/icons/icon-thumbs-down.dsds.yaml +27 -0
- package/docs/icons/icon-thumbs-up.dsds.yaml +30 -0
- package/docs/icons/icon-tiers.dsds.yaml +18 -0
- package/docs/icons/icon-timeline.dsds.yaml +32 -0
- package/docs/icons/icon-toggle-arrow-right.dsds.yaml +39 -0
- package/docs/icons/icon-token.dsds.yaml +30 -0
- package/docs/icons/icon-transfer.dsds.yaml +32 -0
- package/docs/icons/icon-translate.dsds.yaml +32 -0
- package/docs/icons/icon-trash.dsds.yaml +34 -0
- package/docs/icons/icon-trend-upward.dsds.yaml +42 -0
- package/docs/icons/icon-triangle-outline.dsds.yaml +18 -0
- package/docs/icons/icon-trolley.dsds.yaml +18 -0
- package/docs/icons/icon-truncate.dsds.yaml +18 -0
- package/docs/icons/icon-twitter.dsds.yaml +18 -0
- package/docs/icons/icon-ulist.dsds.yaml +36 -0
- package/docs/icons/icon-unarchive.dsds.yaml +32 -0
- package/docs/icons/icon-underline.dsds.yaml +28 -0
- package/docs/icons/icon-undo.dsds.yaml +34 -0
- package/docs/icons/icon-unknown.dsds.yaml +36 -0
- package/docs/icons/icon-unlink.dsds.yaml +32 -0
- package/docs/icons/icon-unlock.dsds.yaml +41 -0
- package/docs/icons/icon-unpublish.dsds.yaml +38 -0
- package/docs/icons/icon-upload.dsds.yaml +40 -0
- package/docs/icons/icon-user.dsds.yaml +34 -0
- package/docs/icons/icon-users.dsds.yaml +34 -0
- package/docs/icons/icon-versions.dsds.yaml +14 -0
- package/docs/icons/icon-video.dsds.yaml +32 -0
- package/docs/icons/icon-warning-filled.dsds.yaml +14 -0
- package/docs/icons/icon-warning-outline.dsds.yaml +38 -0
- package/docs/icons/icon-wrench.dsds.yaml +18 -0
- package/docs/icons.dsds.yaml +768 -0
- package/docs/index.dsds.yaml +506 -0
- package/docs/overview/api-essentials.dsds.yaml +221 -0
- package/docs/overview/component-reference.dsds.yaml +213 -0
- package/docs/overview/installation.dsds.yaml +254 -0
- package/docs/overview/quick-start.dsds.yaml +317 -0
- package/docs/patterns/confirmation-dialogs.dsds.yaml +140 -0
- package/docs/patterns/error-messaging.dsds.yaml +58 -0
- package/docs/patterns/forms.dsds.yaml +362 -0
- package/docs/patterns/layouts.dsds.yaml +403 -0
- package/docs/patterns/loading-states.dsds.yaml +41 -0
- package/docs/patterns/messaging.dsds.yaml +72 -0
- package/docs/patterns/navigation.dsds.yaml +153 -0
- package/docs/patterns/responsive.dsds.yaml +590 -0
- package/docs/tokens/color.dsds.yaml +1158 -0
- package/docs/tokens/container-widths.dsds.yaml +131 -0
- package/docs/tokens/content.dsds.yaml +258 -0
- package/docs/tokens/content.tokens.json +180 -0
- package/docs/tokens/dtcg/README.md +41 -0
- package/docs/tokens/dtcg/css/color.css +107 -0
- package/docs/tokens/dtcg/css/container.css +12 -0
- package/docs/tokens/dtcg/css/fontFamily.css +10 -0
- package/docs/tokens/dtcg/css/fontWeight.css +10 -0
- package/docs/tokens/dtcg/css/index.css +12 -0
- package/docs/tokens/dtcg/css/radius.css +14 -0
- package/docs/tokens/dtcg/css/semantic.css +42 -0
- package/docs/tokens/dtcg/css/shadow.css +22 -0
- package/docs/tokens/dtcg/css/space.css +16 -0
- package/docs/tokens/dtcg/css/typography.css +67 -0
- package/docs/tokens/dtcg/json/color.tokens.json +911 -0
- package/docs/tokens/dtcg/json/container.tokens.json +44 -0
- package/docs/tokens/dtcg/json/fontFamily.tokens.json +10 -0
- package/docs/tokens/dtcg/json/fontWeight.tokens.json +18 -0
- package/docs/tokens/dtcg/json/radius.tokens.json +58 -0
- package/docs/tokens/dtcg/json/semantic.tokens.json +372 -0
- package/docs/tokens/dtcg/json/shadow.tokens.json +599 -0
- package/docs/tokens/dtcg/json/space.tokens.json +72 -0
- package/docs/tokens/dtcg/json/typography.tokens.json +354 -0
- package/docs/tokens/font-family.dsds.yaml +79 -0
- package/docs/tokens/font-weight.dsds.yaml +103 -0
- package/docs/tokens/radius.dsds.yaml +153 -0
- package/docs/tokens/semantic.dsds.yaml +397 -0
- package/docs/tokens/shadow.dsds.yaml +125 -0
- package/docs/tokens/space.dsds.yaml +185 -0
- package/docs/tokens/typography.dsds.yaml +316 -0
- package/llms.txt +108 -0
- package/package.json +6 -3
- package/skills/sanity-ui-5/SKILL.md +158 -0
- package/skills/sanity-ui-5/references/component-choice.md +37 -0
- package/skills/sanity-ui-5/references/components.md +145 -0
- package/skills/sanity-ui-5/references/forms-and-accessibility.md +189 -0
- package/skills/sanity-ui-5/references/migrating-from-v3.md +250 -0
- package/skills/sanity-ui-5/references/props-and-imports.md +169 -0
- package/skills/sanity-ui-5/references/setup.md +177 -0
- package/skills/sanity-ui-5/references/silent-failures.md +33 -0
- package/skills/sanity-ui-5/references/taste.md +53 -0
- package/skills/sanity-ui-5/references/tone-and-color.md +55 -0
- package/src/components/button/Button.tsx +14 -3
- package/src/components/button/button.css +23 -25
- package/src/components/button/button.props.ts +4 -0
- package/src/components/code/code.props.ts +3 -2
- package/src/components/eyebrow/Eyebrow.tsx +8 -3
- package/src/components/eyebrow/eyebrow.props.ts +10 -2
- package/src/components/heading/Heading.tsx +1 -1
- package/src/components/heading/heading.props.ts +4 -3
- package/src/components/popover/Popover.tsx +4 -3
- package/src/components/popover/popover.css +5 -3
- package/src/components/popover/popover.props.ts +9 -0
- package/src/components/text/text.props.ts +6 -1
- package/src/css/classes/system/typography.css +6 -6
- package/src/css/tokens/semantic.css +7 -7
- package/src/props/typography.ts +1 -5
- package/src/version.ts +2 -2
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-thumbs-down
|
|
3
|
+
name: ThumbsDownIcon
|
|
4
|
+
description: Providing a negative vote on yes/no questions.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- Unlike
|
|
10
|
+
- Dislike
|
|
11
|
+
refs:
|
|
12
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/thumbs-down.svg
|
|
13
|
+
rel: source
|
|
14
|
+
$extensions:
|
|
15
|
+
com.sanity.ui:
|
|
16
|
+
iconOf: icons
|
|
17
|
+
described: true
|
|
18
|
+
sections:
|
|
19
|
+
- kind: guidelines
|
|
20
|
+
for: all
|
|
21
|
+
framing: when-to-use
|
|
22
|
+
title: When to use
|
|
23
|
+
items:
|
|
24
|
+
- level: should
|
|
25
|
+
statement: To represent a negative vote on a yes/no question.
|
|
26
|
+
- level: should-not
|
|
27
|
+
statement: For any purpose other than a negative vote on a yes/no question.
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-thumbs-up
|
|
3
|
+
name: ThumbsUpIcon
|
|
4
|
+
description: Providing a positive vote on yes/no questions.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- Like
|
|
10
|
+
refs:
|
|
11
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/thumbs-up.svg
|
|
12
|
+
rel: source
|
|
13
|
+
$extensions:
|
|
14
|
+
com.sanity.ui:
|
|
15
|
+
iconOf: icons
|
|
16
|
+
described: true
|
|
17
|
+
sections:
|
|
18
|
+
- kind: guidelines
|
|
19
|
+
for: all
|
|
20
|
+
framing: when-to-use
|
|
21
|
+
title: When to use
|
|
22
|
+
items:
|
|
23
|
+
- level: should
|
|
24
|
+
statement: To represent a positive vote on a yes/no question.
|
|
25
|
+
- level: should-not
|
|
26
|
+
statement: For any purpose other than a positive vote on a yes/no question.
|
|
27
|
+
- level: should-not
|
|
28
|
+
statement: To favorite/save content. Use StarIcon instead.
|
|
29
|
+
alternatives:
|
|
30
|
+
- to: icon-star
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-tiers
|
|
3
|
+
name: TiersIcon
|
|
4
|
+
description: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- Levels
|
|
10
|
+
- Hierarchy
|
|
11
|
+
- Pricing
|
|
12
|
+
refs:
|
|
13
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/tiers.svg
|
|
14
|
+
rel: source
|
|
15
|
+
$extensions:
|
|
16
|
+
com.sanity.ui:
|
|
17
|
+
iconOf: icons
|
|
18
|
+
described: true
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-timeline
|
|
3
|
+
name: TimelineIcon
|
|
4
|
+
description: A sequence or timeline of events.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- Gantt chart
|
|
10
|
+
refs:
|
|
11
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/timeline.svg
|
|
12
|
+
rel: source
|
|
13
|
+
$extensions:
|
|
14
|
+
com.sanity.ui:
|
|
15
|
+
iconOf: icons
|
|
16
|
+
described: true
|
|
17
|
+
sections:
|
|
18
|
+
- kind: guidelines
|
|
19
|
+
for: all
|
|
20
|
+
framing: when-to-use
|
|
21
|
+
title: When to use
|
|
22
|
+
items:
|
|
23
|
+
- level: should
|
|
24
|
+
statement: To represent a sequence or timeline of events
|
|
25
|
+
- level: should-not
|
|
26
|
+
statement: To represent tasks. Use TaskIcon instead.
|
|
27
|
+
alternatives:
|
|
28
|
+
- to: icon-task
|
|
29
|
+
- level: should-not
|
|
30
|
+
statement: To represent general dates. Use CalendarIcon instead.
|
|
31
|
+
alternatives:
|
|
32
|
+
- to: icon-calendar
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-toggle-arrow-right
|
|
3
|
+
name: ToggleArrowRightIcon
|
|
4
|
+
description: A visual affordance for expanding/collapsing items within a hierarchical tree view.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- Switch Right
|
|
10
|
+
- Navigate Toggle
|
|
11
|
+
- Expand
|
|
12
|
+
refs:
|
|
13
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/toggle-arrow-right.svg
|
|
14
|
+
rel: source
|
|
15
|
+
$extensions:
|
|
16
|
+
com.sanity.ui:
|
|
17
|
+
iconOf: icons
|
|
18
|
+
described: true
|
|
19
|
+
sections:
|
|
20
|
+
- kind: guidelines
|
|
21
|
+
for: all
|
|
22
|
+
framing: when-to-use
|
|
23
|
+
title: When to use
|
|
24
|
+
items:
|
|
25
|
+
- level: should
|
|
26
|
+
statement: For expanding/collapsing items within a hierarchical tree view.
|
|
27
|
+
- level: should-not
|
|
28
|
+
statement: To expand or collapse content within an accordion view. Use ChevronUpIcon and ChevronDownIcon instead.
|
|
29
|
+
alternatives:
|
|
30
|
+
- to: icon-chevron-up
|
|
31
|
+
- to: icon-chevron-down
|
|
32
|
+
- level: should-not
|
|
33
|
+
statement: For playing media or starting a process. Use PlayIcon instead.
|
|
34
|
+
alternatives:
|
|
35
|
+
- to: icon-play
|
|
36
|
+
- level: should-not
|
|
37
|
+
statement: For navigating forward to a new page or drilling in through nested content in a column view. Use ChevronRightIcon instead.
|
|
38
|
+
alternatives:
|
|
39
|
+
- to: icon-chevron-right
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-token
|
|
3
|
+
name: TokenIcon
|
|
4
|
+
description: To represent AI tokens.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- Key
|
|
10
|
+
- Authentication
|
|
11
|
+
- API Key
|
|
12
|
+
refs:
|
|
13
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/token.svg
|
|
14
|
+
rel: source
|
|
15
|
+
$extensions:
|
|
16
|
+
com.sanity.ui:
|
|
17
|
+
iconOf: icons
|
|
18
|
+
described: true
|
|
19
|
+
sections:
|
|
20
|
+
- kind: guidelines
|
|
21
|
+
for: all
|
|
22
|
+
framing: when-to-use
|
|
23
|
+
title: When to use
|
|
24
|
+
items:
|
|
25
|
+
- level: should
|
|
26
|
+
statement: Exclusively to represent AI token counts
|
|
27
|
+
- level: should-not
|
|
28
|
+
statement: To represent API or access tokens. Use PlugIcon instead.
|
|
29
|
+
alternatives:
|
|
30
|
+
- to: icon-plug
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-transfer
|
|
3
|
+
name: TransferIcon
|
|
4
|
+
description: Transfer or swapping of items or data.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- Move
|
|
10
|
+
- Exchange
|
|
11
|
+
- Swap
|
|
12
|
+
refs:
|
|
13
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/transfer.svg
|
|
14
|
+
rel: source
|
|
15
|
+
$extensions:
|
|
16
|
+
com.sanity.ui:
|
|
17
|
+
iconOf: icons
|
|
18
|
+
described: true
|
|
19
|
+
sections:
|
|
20
|
+
- kind: guidelines
|
|
21
|
+
for: all
|
|
22
|
+
framing: when-to-use
|
|
23
|
+
title: When to use
|
|
24
|
+
items:
|
|
25
|
+
- level: should
|
|
26
|
+
statement: For transferring items or data to different locations.
|
|
27
|
+
- level: should-not
|
|
28
|
+
statement: For bi- directional syncing of content/information. Use SyncIcon instead.
|
|
29
|
+
alternatives:
|
|
30
|
+
- to: icon-sync
|
|
31
|
+
- level: should-not
|
|
32
|
+
statement: To represent general direction or movement. Use arrow icons instead.
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-translate
|
|
3
|
+
name: TranslateIcon
|
|
4
|
+
description: Translation or language features.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- Language
|
|
10
|
+
- Localization
|
|
11
|
+
- Interpret
|
|
12
|
+
refs:
|
|
13
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/translate.svg
|
|
14
|
+
rel: source
|
|
15
|
+
$extensions:
|
|
16
|
+
com.sanity.ui:
|
|
17
|
+
iconOf: icons
|
|
18
|
+
described: true
|
|
19
|
+
sections:
|
|
20
|
+
- kind: guidelines
|
|
21
|
+
for: all
|
|
22
|
+
framing: when-to-use
|
|
23
|
+
title: When to use
|
|
24
|
+
items:
|
|
25
|
+
- level: should
|
|
26
|
+
statement: For representing translation or localization features.
|
|
27
|
+
- level: should
|
|
28
|
+
statement: For language settings/switching.
|
|
29
|
+
- level: should-not
|
|
30
|
+
statement: For representing global or international concepts. Use EarthGlobeIcon instead.
|
|
31
|
+
alternatives:
|
|
32
|
+
- to: icon-earth-globe
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-trash
|
|
3
|
+
name: TrashIcon
|
|
4
|
+
description: Permanent deletion of content/data.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- Delete
|
|
10
|
+
- Remove
|
|
11
|
+
- Discard
|
|
12
|
+
refs:
|
|
13
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/trash.svg
|
|
14
|
+
rel: source
|
|
15
|
+
$extensions:
|
|
16
|
+
com.sanity.ui:
|
|
17
|
+
iconOf: icons
|
|
18
|
+
described: true
|
|
19
|
+
sections:
|
|
20
|
+
- kind: guidelines
|
|
21
|
+
for: all
|
|
22
|
+
framing: when-to-use
|
|
23
|
+
title: When to use
|
|
24
|
+
items:
|
|
25
|
+
- level: should
|
|
26
|
+
statement: For permanent deletion/removal actions.
|
|
27
|
+
- level: should-not
|
|
28
|
+
statement: For archiving of content. Use ArchiveIcon instead.
|
|
29
|
+
alternatives:
|
|
30
|
+
- to: icon-archive
|
|
31
|
+
- level: should-not
|
|
32
|
+
statement: For any form of non-destructive deletion. Use RemoveIcon instead.
|
|
33
|
+
alternatives:
|
|
34
|
+
- to: icon-remove
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-trend-upward
|
|
3
|
+
name: TrendUpwardIcon
|
|
4
|
+
description: Trends in data.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- Growth
|
|
10
|
+
- Increase
|
|
11
|
+
- Rising
|
|
12
|
+
refs:
|
|
13
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/trend-upward.svg
|
|
14
|
+
rel: source
|
|
15
|
+
$extensions:
|
|
16
|
+
com.sanity.ui:
|
|
17
|
+
iconOf: icons
|
|
18
|
+
described: true
|
|
19
|
+
sections:
|
|
20
|
+
- kind: guidelines
|
|
21
|
+
for: all
|
|
22
|
+
framing: when-to-use
|
|
23
|
+
title: When to use
|
|
24
|
+
items:
|
|
25
|
+
- level: should
|
|
26
|
+
statement: For representing trending indicators in data.
|
|
27
|
+
- level: should-not
|
|
28
|
+
statement: To represent a general data visualization or a line chart. Use BarChartIcon instead.
|
|
29
|
+
alternatives:
|
|
30
|
+
- to: icon-bar-chart
|
|
31
|
+
- level: should-not
|
|
32
|
+
statement: To represent usage or a general line chart. Use ChartUpwardIcon instead.
|
|
33
|
+
alternatives:
|
|
34
|
+
- to: icon-chart-upward
|
|
35
|
+
- level: should-not
|
|
36
|
+
statement: To represent usage overages. Use OverageIcon instead.
|
|
37
|
+
alternatives:
|
|
38
|
+
- to: icon-overage
|
|
39
|
+
- level: should-not
|
|
40
|
+
statement: To represent activity or health metrics. Use ActivityIcon instead.
|
|
41
|
+
alternatives:
|
|
42
|
+
- to: icon-activity
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-triangle-outline
|
|
3
|
+
name: TriangleOutlineIcon
|
|
4
|
+
description: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- Triangle
|
|
10
|
+
- Shape
|
|
11
|
+
- Pointer
|
|
12
|
+
refs:
|
|
13
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/triangle-outline.svg
|
|
14
|
+
rel: source
|
|
15
|
+
$extensions:
|
|
16
|
+
com.sanity.ui:
|
|
17
|
+
iconOf: icons
|
|
18
|
+
described: true
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-trolley
|
|
3
|
+
name: TrolleyIcon
|
|
4
|
+
description: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- Cart
|
|
10
|
+
- Shopping
|
|
11
|
+
- E-Commerce
|
|
12
|
+
refs:
|
|
13
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/trolley.svg
|
|
14
|
+
rel: source
|
|
15
|
+
$extensions:
|
|
16
|
+
com.sanity.ui:
|
|
17
|
+
iconOf: icons
|
|
18
|
+
described: true
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-truncate
|
|
3
|
+
name: TruncateIcon
|
|
4
|
+
description: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- Cut
|
|
10
|
+
- Shorten
|
|
11
|
+
- Ellipsis
|
|
12
|
+
refs:
|
|
13
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/truncate.svg
|
|
14
|
+
rel: source
|
|
15
|
+
$extensions:
|
|
16
|
+
com.sanity.ui:
|
|
17
|
+
iconOf: icons
|
|
18
|
+
described: true
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-twitter
|
|
3
|
+
name: TwitterIcon
|
|
4
|
+
description: DECORATIVE. USE WITH DISCRETION. ONLY USE IF ANOTHER ICON DOES NOT FIT THE NEED.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- Social
|
|
10
|
+
- X
|
|
11
|
+
- Tweet
|
|
12
|
+
refs:
|
|
13
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/twitter.svg
|
|
14
|
+
rel: source
|
|
15
|
+
$extensions:
|
|
16
|
+
com.sanity.ui:
|
|
17
|
+
iconOf: icons
|
|
18
|
+
described: true
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-ulist
|
|
3
|
+
name: UlistIcon
|
|
4
|
+
description: Unordered/bulleted lists.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- Unordered List
|
|
10
|
+
- Bullets
|
|
11
|
+
- Items
|
|
12
|
+
refs:
|
|
13
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/ulist.svg
|
|
14
|
+
rel: source
|
|
15
|
+
$extensions:
|
|
16
|
+
com.sanity.ui:
|
|
17
|
+
iconOf: icons
|
|
18
|
+
described: true
|
|
19
|
+
sections:
|
|
20
|
+
- kind: guidelines
|
|
21
|
+
for: all
|
|
22
|
+
framing: when-to-use
|
|
23
|
+
title: When to use
|
|
24
|
+
items:
|
|
25
|
+
- level: should
|
|
26
|
+
statement: To represent bulleted lists
|
|
27
|
+
- level: should
|
|
28
|
+
statement: List formatting for unordered lists
|
|
29
|
+
- level: should-not
|
|
30
|
+
statement: To represent a general list. Use ListIcon instead.
|
|
31
|
+
alternatives:
|
|
32
|
+
- to: icon-list
|
|
33
|
+
- level: should-not
|
|
34
|
+
statement: For numbered lists. Use OlistIcon instead.
|
|
35
|
+
alternatives:
|
|
36
|
+
- to: icon-olist
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-unarchive
|
|
3
|
+
name: UnarchiveIcon
|
|
4
|
+
description: Moving items out of an archived/stashed state.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- Box
|
|
10
|
+
refs:
|
|
11
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/unarchive.svg
|
|
12
|
+
rel: source
|
|
13
|
+
$extensions:
|
|
14
|
+
com.sanity.ui:
|
|
15
|
+
iconOf: icons
|
|
16
|
+
described: true
|
|
17
|
+
sections:
|
|
18
|
+
- kind: guidelines
|
|
19
|
+
for: all
|
|
20
|
+
framing: when-to-use
|
|
21
|
+
title: When to use
|
|
22
|
+
items:
|
|
23
|
+
- level: should
|
|
24
|
+
statement: For restoring items from an archive
|
|
25
|
+
- level: should-not
|
|
26
|
+
statement: To represent removing from a collection. Use RemoveIcon instead.
|
|
27
|
+
alternatives:
|
|
28
|
+
- to: icon-remove
|
|
29
|
+
- level: should-not
|
|
30
|
+
statement: To represent upload or import actions. Use UploadIcon instead.
|
|
31
|
+
alternatives:
|
|
32
|
+
- to: icon-upload
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-underline
|
|
3
|
+
name: UnderlineIcon
|
|
4
|
+
description: Underline text formatting.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- Underlined
|
|
10
|
+
- Emphasis
|
|
11
|
+
- U
|
|
12
|
+
refs:
|
|
13
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/underline.svg
|
|
14
|
+
rel: source
|
|
15
|
+
$extensions:
|
|
16
|
+
com.sanity.ui:
|
|
17
|
+
iconOf: icons
|
|
18
|
+
described: true
|
|
19
|
+
sections:
|
|
20
|
+
- kind: guidelines
|
|
21
|
+
for: all
|
|
22
|
+
framing: when-to-use
|
|
23
|
+
title: When to use
|
|
24
|
+
items:
|
|
25
|
+
- level: should
|
|
26
|
+
statement: For toggling text as underlined within a text editing feature.
|
|
27
|
+
- level: should-not
|
|
28
|
+
statement: Outside text editing. This icon is intended for formatting toolsets.
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-undo
|
|
3
|
+
name: UndoIcon
|
|
4
|
+
description: To undo the last user action.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- Revert
|
|
10
|
+
- Back
|
|
11
|
+
- Cancel
|
|
12
|
+
refs:
|
|
13
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/undo.svg
|
|
14
|
+
rel: source
|
|
15
|
+
$extensions:
|
|
16
|
+
com.sanity.ui:
|
|
17
|
+
iconOf: icons
|
|
18
|
+
described: true
|
|
19
|
+
sections:
|
|
20
|
+
- kind: guidelines
|
|
21
|
+
for: all
|
|
22
|
+
framing: when-to-use
|
|
23
|
+
title: When to use
|
|
24
|
+
items:
|
|
25
|
+
- level: should
|
|
26
|
+
statement: For undo operations
|
|
27
|
+
- level: should-not
|
|
28
|
+
statement: For reverting changes. Use RevertIcon instead.
|
|
29
|
+
alternatives:
|
|
30
|
+
- to: icon-revert
|
|
31
|
+
- level: should-not
|
|
32
|
+
statement: For going backward in history. Use ArrowLeftIcon instead.
|
|
33
|
+
alternatives:
|
|
34
|
+
- to: icon-arrow-left
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-unknown
|
|
3
|
+
name: UnknownIcon
|
|
4
|
+
description: An unknown/undefined thing or state.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- Question
|
|
10
|
+
- Mystery
|
|
11
|
+
- Undefined
|
|
12
|
+
refs:
|
|
13
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/unknown.svg
|
|
14
|
+
rel: source
|
|
15
|
+
$extensions:
|
|
16
|
+
com.sanity.ui:
|
|
17
|
+
iconOf: icons
|
|
18
|
+
described: true
|
|
19
|
+
sections:
|
|
20
|
+
- kind: guidelines
|
|
21
|
+
for: all
|
|
22
|
+
framing: when-to-use
|
|
23
|
+
title: When to use
|
|
24
|
+
items:
|
|
25
|
+
- level: should
|
|
26
|
+
statement: For unknown types or undefined states
|
|
27
|
+
- level: should
|
|
28
|
+
statement: As a fallback icon for contents that are unspecified
|
|
29
|
+
- level: should-not
|
|
30
|
+
statement: To represent help or support. Use HelpCircleIcon instead
|
|
31
|
+
alternatives:
|
|
32
|
+
- to: icon-help-circle
|
|
33
|
+
- level: should-not
|
|
34
|
+
statement: To represent something that is empty or unused. Use EmptyIcon instead.
|
|
35
|
+
alternatives:
|
|
36
|
+
- to: icon-empty
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-unlink
|
|
3
|
+
name: UnlinkIcon
|
|
4
|
+
description: Broken/missing links or disconnected items.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- Broken Link
|
|
10
|
+
- Disconnected
|
|
11
|
+
- Unlinked
|
|
12
|
+
refs:
|
|
13
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/unlink.svg
|
|
14
|
+
rel: source
|
|
15
|
+
$extensions:
|
|
16
|
+
com.sanity.ui:
|
|
17
|
+
iconOf: icons
|
|
18
|
+
described: true
|
|
19
|
+
sections:
|
|
20
|
+
- kind: guidelines
|
|
21
|
+
for: all
|
|
22
|
+
framing: when-to-use
|
|
23
|
+
title: When to use
|
|
24
|
+
items:
|
|
25
|
+
- level: should
|
|
26
|
+
statement: To represent a broken or missing web link.
|
|
27
|
+
- level: should
|
|
28
|
+
statement: To represent a disconnected state between two previously connected items
|
|
29
|
+
- level: should-not
|
|
30
|
+
statement: To represent the action of removing a link or disconnecting two items. Use LinkRemovedIcon instead.
|
|
31
|
+
alternatives:
|
|
32
|
+
- to: icon-link-removed
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-unlock
|
|
3
|
+
name: UnlockIcon
|
|
4
|
+
description: Unlocked or open state.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- Unlocked
|
|
10
|
+
- Open
|
|
11
|
+
- Public
|
|
12
|
+
refs:
|
|
13
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/unlock.svg
|
|
14
|
+
rel: source
|
|
15
|
+
$extensions:
|
|
16
|
+
com.sanity.ui:
|
|
17
|
+
iconOf: icons
|
|
18
|
+
described: true
|
|
19
|
+
sections:
|
|
20
|
+
- kind: guidelines
|
|
21
|
+
for: all
|
|
22
|
+
framing: when-to-use
|
|
23
|
+
title: When to use
|
|
24
|
+
items:
|
|
25
|
+
- level: should
|
|
26
|
+
statement: To represent unlock content or an action to unlock content.
|
|
27
|
+
- level: should
|
|
28
|
+
statement: To represent content/items that the user can access but is not publicly available.
|
|
29
|
+
- level: should
|
|
30
|
+
statement: To explicitly represent that content can be altered.
|
|
31
|
+
- level: should-not
|
|
32
|
+
statement: As a general toggle for locking/unlocking. Use UnlockIcon and LockIcon in conjunction.
|
|
33
|
+
- level: should-not
|
|
34
|
+
statement: To represent unlocking/undocking of interface elements. For sidebar locking/docking use PanelLeftIcon or PanelRightIcon instead.
|
|
35
|
+
alternatives:
|
|
36
|
+
- to: icon-panel-left
|
|
37
|
+
- to: icon-panel-right
|
|
38
|
+
- level: should-not
|
|
39
|
+
statement: To represent public content. Use EarthGlobeIcon instead.
|
|
40
|
+
alternatives:
|
|
41
|
+
- to: icon-earth-globe
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-unpublish
|
|
3
|
+
name: UnpublishIcon
|
|
4
|
+
description: Unpublishing or reverting content to a draft.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- Retract
|
|
10
|
+
- Take Down
|
|
11
|
+
- Draft
|
|
12
|
+
refs:
|
|
13
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/unpublish.svg
|
|
14
|
+
rel: source
|
|
15
|
+
$extensions:
|
|
16
|
+
com.sanity.ui:
|
|
17
|
+
iconOf: icons
|
|
18
|
+
described: true
|
|
19
|
+
sections:
|
|
20
|
+
- kind: guidelines
|
|
21
|
+
for: all
|
|
22
|
+
framing: when-to-use
|
|
23
|
+
title: When to use
|
|
24
|
+
items:
|
|
25
|
+
- level: should
|
|
26
|
+
statement: For unpublishing or taking content offline
|
|
27
|
+
- level: should-not
|
|
28
|
+
statement: For publishing content. Use PublishIcon instead.
|
|
29
|
+
alternatives:
|
|
30
|
+
- to: icon-publish
|
|
31
|
+
- level: should-not
|
|
32
|
+
statement: For downloading content. Use DownloadIcon instead.
|
|
33
|
+
alternatives:
|
|
34
|
+
- to: icon-download
|
|
35
|
+
- level: should-not
|
|
36
|
+
statement: For expanding content vertically. Use ChevronDownIcon instead.
|
|
37
|
+
alternatives:
|
|
38
|
+
- to: icon-chevron-down
|