@sanity/ui 5.0.0-alpha.23 → 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/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/button.dsds.yaml +24 -12
- package/docs/components/code.dsds.yaml +2 -0
- package/docs/components/eyebrow.dsds.yaml +3 -22
- package/docs/components/icon-button.dsds.yaml +9 -2
- package/docs/components/popover.dsds.yaml +8 -2
- package/docs/foundations/typography-guidelines.dsds.yaml +4 -4
- 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 +767 -2512
- package/docs/index.dsds.yaml +76 -85
- package/docs/overview/component-reference.dsds.yaml +0 -2
- package/docs/overview/installation.dsds.yaml +20 -4
- package/docs/patterns/forms.dsds.yaml +6 -0
- package/docs/patterns/layouts.dsds.yaml +1 -1
- package/docs/patterns/loading-states.dsds.yaml +1 -1
- package/docs/tokens/dtcg/README.md +5 -3
- package/docs/tokens/dtcg/css/color.css +1 -1
- package/docs/tokens/dtcg/css/index.css +0 -1
- package/docs/tokens/dtcg/css/typography.css +23 -25
- package/docs/tokens/dtcg/json/color.tokens.json +2 -2
- package/docs/tokens/dtcg/json/typography.tokens.json +45 -45
- package/docs/tokens/typography.dsds.yaml +25 -25
- package/package.json +2 -2
- 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
- package/docs/overview/designer-contribution-model.dsds.yaml +0 -77
- package/docs/overview/developer-contribution-model.dsds.yaml +0 -362
- package/docs/overview/resources.dsds.yaml +0 -34
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-refresh
|
|
3
|
+
name: RefreshIcon
|
|
4
|
+
description: Refresh or reload actions.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- Reload
|
|
10
|
+
refs:
|
|
11
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/refresh.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 reloading or refreshing content
|
|
25
|
+
- level: should
|
|
26
|
+
statement: To mimic the browser's reload action
|
|
27
|
+
- level: should-not
|
|
28
|
+
statement: To represent syncing data or as an action to sync data. Use SyncIcon instead.
|
|
29
|
+
alternatives:
|
|
30
|
+
- to: icon-sync
|
|
31
|
+
- level: should-not
|
|
32
|
+
statement: To retry a process or operation. Use RetryIcon instead.
|
|
33
|
+
alternatives:
|
|
34
|
+
- to: icon-retry
|
|
35
|
+
- level: should-not
|
|
36
|
+
statement: To redo or reapply an action. Use RedoIcon instead.
|
|
37
|
+
alternatives:
|
|
38
|
+
- to: icon-redo
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-remove-circle
|
|
3
|
+
name: RemoveCircleIcon
|
|
4
|
+
description: The remove circle icon from the Sanity icon set.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
refs:
|
|
9
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/remove-circle.svg
|
|
10
|
+
rel: source
|
|
11
|
+
$extensions:
|
|
12
|
+
com.sanity.ui:
|
|
13
|
+
iconOf: icons
|
|
14
|
+
described: false
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-remove
|
|
3
|
+
name: RemoveIcon
|
|
4
|
+
description: Non-permanent removal or subtraction of content/data.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- Minus
|
|
10
|
+
- Delete
|
|
11
|
+
- Subtract
|
|
12
|
+
refs:
|
|
13
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/remove.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 removing items from a list, collection or view.
|
|
27
|
+
- level: should-not
|
|
28
|
+
statement: For permanent deletion of content/data. Use TrashIcon instead.
|
|
29
|
+
alternatives:
|
|
30
|
+
- to: icon-trash
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-reset
|
|
3
|
+
name: ResetIcon
|
|
4
|
+
description: To reset an item to its original state or defaults.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- Restart
|
|
10
|
+
- Clear
|
|
11
|
+
- Default
|
|
12
|
+
refs:
|
|
13
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/reset.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 resetting or clearing all saved values for an item.
|
|
27
|
+
- level: should
|
|
28
|
+
statement: For restoring an item to its original state.
|
|
29
|
+
- level: should-not
|
|
30
|
+
statement: For undo a single action. Use UndoIcon instead.
|
|
31
|
+
alternatives:
|
|
32
|
+
- to: icon-undo
|
|
33
|
+
- level: should-not
|
|
34
|
+
statement: To represent the history or activity log for an item. Use RestoreIcon instead.
|
|
35
|
+
alternatives:
|
|
36
|
+
- to: icon-restore
|
|
37
|
+
- level: should-not
|
|
38
|
+
statement: To represent an error in history. Use ErrorOutlineIcon instead.
|
|
39
|
+
alternatives:
|
|
40
|
+
- to: icon-error-outline
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-restore
|
|
3
|
+
name: RestoreIcon
|
|
4
|
+
description: To restore an item to a previous version.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- Recover
|
|
10
|
+
- Unarchive
|
|
11
|
+
- Bring Back
|
|
12
|
+
- Roll Back
|
|
13
|
+
refs:
|
|
14
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/restore.svg
|
|
15
|
+
rel: source
|
|
16
|
+
$extensions:
|
|
17
|
+
com.sanity.ui:
|
|
18
|
+
iconOf: icons
|
|
19
|
+
described: true
|
|
20
|
+
sections:
|
|
21
|
+
- kind: guidelines
|
|
22
|
+
for: all
|
|
23
|
+
framing: when-to-use
|
|
24
|
+
title: When to use
|
|
25
|
+
items:
|
|
26
|
+
- level: should
|
|
27
|
+
statement: To view the history or activity log of an item
|
|
28
|
+
- level: should
|
|
29
|
+
statement: To see previous/recent actions
|
|
30
|
+
- level: should-not
|
|
31
|
+
statement: To represent time or duration. Use ClockIcon instead.
|
|
32
|
+
alternatives:
|
|
33
|
+
- to: icon-clock
|
|
34
|
+
- level: should-not
|
|
35
|
+
statement: For undo a single action. Use UndoIcon instead.
|
|
36
|
+
alternatives:
|
|
37
|
+
- to: icon-undo
|
|
38
|
+
- level: should-not
|
|
39
|
+
statement: To indicate explicit versions. Use VersionsIcon instead.
|
|
40
|
+
alternatives:
|
|
41
|
+
- to: icon-versions
|
|
42
|
+
- level: should-not
|
|
43
|
+
statement: To reset to the original state. Use ResetIcon instead.
|
|
44
|
+
alternatives:
|
|
45
|
+
- to: icon-reset
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-retrieve
|
|
3
|
+
name: RetrieveIcon
|
|
4
|
+
description: The retrieve icon from the Sanity icon set.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
refs:
|
|
9
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/retrieve.svg
|
|
10
|
+
rel: source
|
|
11
|
+
$extensions:
|
|
12
|
+
com.sanity.ui:
|
|
13
|
+
iconOf: icons
|
|
14
|
+
described: false
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-retry
|
|
3
|
+
name: RetryIcon
|
|
4
|
+
description: The retry icon from the Sanity icon set.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
refs:
|
|
9
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/retry.svg
|
|
10
|
+
rel: source
|
|
11
|
+
$extensions:
|
|
12
|
+
com.sanity.ui:
|
|
13
|
+
iconOf: icons
|
|
14
|
+
described: false
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-revert
|
|
3
|
+
name: RevertIcon
|
|
4
|
+
description: The revert icon from the Sanity icon set.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
refs:
|
|
9
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/revert.svg
|
|
10
|
+
rel: source
|
|
11
|
+
$extensions:
|
|
12
|
+
com.sanity.ui:
|
|
13
|
+
iconOf: icons
|
|
14
|
+
described: false
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-robot
|
|
3
|
+
name: RobotIcon
|
|
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
|
+
- Bot
|
|
10
|
+
- Automation
|
|
11
|
+
refs:
|
|
12
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/robot.svg
|
|
13
|
+
rel: source
|
|
14
|
+
$extensions:
|
|
15
|
+
com.sanity.ui:
|
|
16
|
+
iconOf: icons
|
|
17
|
+
described: true
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-rocket
|
|
3
|
+
name: RocketIcon
|
|
4
|
+
description: Launch or high performance.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- Launch
|
|
10
|
+
- Fast
|
|
11
|
+
- Performance
|
|
12
|
+
refs:
|
|
13
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/rocket.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: As an indicator for premium features–typically within the context of an upsell
|
|
27
|
+
- level: should-not
|
|
28
|
+
statement: To represent performance health metrics. Use ActivityIcon instead.
|
|
29
|
+
alternatives:
|
|
30
|
+
- to: icon-activity
|
|
31
|
+
- level: should-not
|
|
32
|
+
statement: To represent business metrics or performance. Use TrendUpwardIcon instead.
|
|
33
|
+
alternatives:
|
|
34
|
+
- to: icon-trend-upward
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-schema
|
|
3
|
+
name: SchemaIcon
|
|
4
|
+
description: Schema, data structure or hierarchical content.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- Structure
|
|
10
|
+
- Model
|
|
11
|
+
- Definition
|
|
12
|
+
refs:
|
|
13
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/schema.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 schema editors or data models
|
|
27
|
+
- level: should
|
|
28
|
+
statement: To represent general hierarchical structure of content
|
|
29
|
+
- level: should-not
|
|
30
|
+
statement: For general representation of data queries. Use DatabaseIcon instead.
|
|
31
|
+
alternatives:
|
|
32
|
+
- to: icon-database
|
|
33
|
+
- level: should-not
|
|
34
|
+
statement: For GROQ-specific features or queries. Use GroqIcon instead.
|
|
35
|
+
alternatives:
|
|
36
|
+
- to: icon-groq
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-search
|
|
3
|
+
name: SearchIcon
|
|
4
|
+
description: Search/find content/information.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- Find
|
|
10
|
+
- Magnify
|
|
11
|
+
- Look
|
|
12
|
+
refs:
|
|
13
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/search.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: Used to represent any form of search or text-input filtering
|
|
27
|
+
- level: should-not
|
|
28
|
+
statement: For code inspection. Use JsonIcon instead.
|
|
29
|
+
alternatives:
|
|
30
|
+
- to: icon-json
|
|
31
|
+
- level: should-not
|
|
32
|
+
statement: For non-text-input filtering of list items or table rows. Use FilterIcon instead.
|
|
33
|
+
alternatives:
|
|
34
|
+
- to: icon-filter
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-select
|
|
3
|
+
name: SelectIcon
|
|
4
|
+
description: A visual affordance for select components.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- Choose
|
|
10
|
+
- Pick
|
|
11
|
+
- Cursor
|
|
12
|
+
refs:
|
|
13
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/select.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 within Select components to visually indicate the input has a menu.
|
|
27
|
+
- level: should-not
|
|
28
|
+
statement: For dropdowns, menus or popovers. Use ChevronDownIcon instead.
|
|
29
|
+
alternatives:
|
|
30
|
+
- to: icon-chevron-down
|
|
31
|
+
- level: should-not
|
|
32
|
+
statement: To indicate sorting order. Use SortIcon instead.
|
|
33
|
+
alternatives:
|
|
34
|
+
- to: icon-sort
|
|
35
|
+
- level: should-not
|
|
36
|
+
statement: To act as an affordance for reordering items in a list. Use DragHandleIcon instead.
|
|
37
|
+
alternatives:
|
|
38
|
+
- to: icon-drag-handle
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-share
|
|
3
|
+
name: ShareIcon
|
|
4
|
+
description: Sharing or general social media.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- Export
|
|
10
|
+
- Send
|
|
11
|
+
- Distribute
|
|
12
|
+
refs:
|
|
13
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/share.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 share action or general social media sharing
|
|
27
|
+
- level: should-not
|
|
28
|
+
statement: For exporting actions. Use DownloadIcon instead.
|
|
29
|
+
alternatives:
|
|
30
|
+
- to: icon-download
|
|
31
|
+
- level: should-not
|
|
32
|
+
statement: For sharing on a specific social media platform. Use GithubIcon, LinkedinIcon, or TwitterIcon instead.
|
|
33
|
+
alternatives:
|
|
34
|
+
- to: icon-github
|
|
35
|
+
- to: icon-linkedin
|
|
36
|
+
- to: icon-twitter
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-sort
|
|
3
|
+
name: SortIcon
|
|
4
|
+
description: Sorting or ordering a group of items.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- Order
|
|
10
|
+
- Arrange
|
|
11
|
+
- Organize
|
|
12
|
+
refs:
|
|
13
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/sort.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 sorting items in a group
|
|
27
|
+
- level: should
|
|
28
|
+
statement: For toggling the sort order of items in a group
|
|
29
|
+
- level: should-not
|
|
30
|
+
statement: For filtering. Use FilterIcon instead.
|
|
31
|
+
alternatives:
|
|
32
|
+
- to: icon-filter
|
|
33
|
+
- level: should-not
|
|
34
|
+
statement: When filter and sort actions are combined. Use FilterIcon instead.
|
|
35
|
+
alternatives:
|
|
36
|
+
- to: icon-filter
|
|
37
|
+
- level: should-not
|
|
38
|
+
statement: To indicate a transfer of information. Use TransferIcon instead.
|
|
39
|
+
alternatives:
|
|
40
|
+
- to: icon-transfer
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-sparkle
|
|
3
|
+
name: SparkleIcon
|
|
4
|
+
description: Used exclusively to represent Sanity's branded Content Agent feature.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- AI
|
|
10
|
+
refs:
|
|
11
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/sparkle.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 Sanity's Content Agent feature
|
|
25
|
+
- level: should-not
|
|
26
|
+
statement: For any purpose other than representing Sanity's Content Agent feature
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-sparkles
|
|
3
|
+
name: SparklesIcon
|
|
4
|
+
description: To represent AI or agentic features.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- Magic
|
|
10
|
+
- AI
|
|
11
|
+
- Enhanced
|
|
12
|
+
refs:
|
|
13
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/sparkles.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: As a general purpose representation for AI-powered features
|
|
27
|
+
- level: should-not
|
|
28
|
+
statement: When there are more specific AI icons. For AI-writing features, use ComposeSparklesIcon instead.
|
|
29
|
+
alternatives:
|
|
30
|
+
- to: icon-compose-sparkles
|
|
31
|
+
- level: should-not
|
|
32
|
+
statement: For in-product celebrations or announcements. Use ConfettiIcon instead.
|
|
33
|
+
alternatives:
|
|
34
|
+
- to: icon-confetti
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-spinner
|
|
3
|
+
name: SpinnerIcon
|
|
4
|
+
description: To represent an active and indeterminate loading or processing states.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- Loading
|
|
10
|
+
- Processing
|
|
11
|
+
- Wait
|
|
12
|
+
refs:
|
|
13
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/spinner.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 active and indeterminate loading indicators or processing states.
|
|
27
|
+
- level: should-not
|
|
28
|
+
statement: When progress is known. Use a progress bar for determinate loading instead.
|
|
29
|
+
- level: should-not
|
|
30
|
+
statement: To represent an action related to beginning a loading or processing activity.
|
|
31
|
+
- level: should-not
|
|
32
|
+
statement: To represent syncing. Use SyncIcon instead.
|
|
33
|
+
alternatives:
|
|
34
|
+
- to: icon-sync
|
|
35
|
+
- level: should-not
|
|
36
|
+
statement: To represent a reload/refresh process. Use RefreshIcon instead.
|
|
37
|
+
alternatives:
|
|
38
|
+
- to: icon-refresh
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-split-horizontal
|
|
3
|
+
name: SplitHorizontalIcon
|
|
4
|
+
description: Horizontal split layout.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- Divide Horizontal
|
|
10
|
+
- Split Panes Horizontal
|
|
11
|
+
- Layout
|
|
12
|
+
refs:
|
|
13
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/split-horizontal.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: As an action to horizontally split a layout.
|
|
27
|
+
- level: should-not
|
|
28
|
+
statement: For vertical UI splits. Use SplitVerticalIcon instead.
|
|
29
|
+
alternatives:
|
|
30
|
+
- to: icon-split-vertical
|
|
31
|
+
- level: should-not
|
|
32
|
+
statement: For displaying a sidebar/panel. Use PanelLeftIcon or PanelRightIcon
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-split-vertical
|
|
3
|
+
name: SplitVerticalIcon
|
|
4
|
+
description: Vertical split layout.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- Divide Vertical
|
|
10
|
+
- Split Panes Vertical
|
|
11
|
+
- Layout
|
|
12
|
+
refs:
|
|
13
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/split-vertical.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: As an action to vertically split a layout.
|
|
27
|
+
- level: should-not
|
|
28
|
+
statement: For horizontal UI splits. Use SplitVerticalIcon instead.
|
|
29
|
+
- level: should-not
|
|
30
|
+
statement: For displaying a sidebar/panel. Use PanelLeftIcon or PanelRightIcon
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-square
|
|
3
|
+
name: SquareIcon
|
|
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
|
+
- Box
|
|
10
|
+
- Rectangle
|
|
11
|
+
- Shape
|
|
12
|
+
refs:
|
|
13
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/square.svg
|
|
14
|
+
rel: source
|
|
15
|
+
$extensions:
|
|
16
|
+
com.sanity.ui:
|
|
17
|
+
iconOf: icons
|
|
18
|
+
described: true
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-stack-compact
|
|
3
|
+
name: StackCompactIcon
|
|
4
|
+
description: To represent general vertically stacked content at higher density.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- List Compact
|
|
10
|
+
- Dense
|
|
11
|
+
- Tight
|
|
12
|
+
refs:
|
|
13
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/stack-compact.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 set a higher viewing density for a stack of items
|
|
27
|
+
- level: should-not
|
|
28
|
+
statement: To represent a stack with normal density. Use StackIcon instead.
|
|
29
|
+
alternatives:
|
|
30
|
+
- to: icon-stack
|