@sanity/ui 5.0.0-alpha.23 → 5.0.0-alpha.25
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 +147 -147
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +139 -157
- 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/avatar/avatar.props.ts +4 -2
- package/src/components/avatar-counter/avatarCounter.props.ts +4 -2
- package/src/components/avatar-stack/avatarStack.props.ts +4 -2
- package/src/components/badge/Badge.tsx +2 -5
- package/src/components/badge/badge.props.ts +15 -15
- package/src/components/box/Box.tsx +2 -5
- package/src/components/box/box.props.ts +18 -12
- package/src/components/button/Button.tsx +16 -5
- package/src/components/button/button.css +23 -25
- package/src/components/button/button.props.ts +49 -39
- package/src/components/card/Card.tsx +2 -2
- package/src/components/card/card.props.ts +19 -13
- package/src/components/checkbox/checkbox.props.ts +4 -2
- package/src/components/code/code.props.ts +8 -5
- package/src/components/container/Container.tsx +2 -2
- package/src/components/container/container.props.ts +17 -11
- package/src/components/dialog/Dialog.tsx +10 -5
- package/src/components/dialog/dialog.props.ts +11 -3
- package/src/components/divider/divider.props.ts +4 -2
- package/src/components/eyebrow/Eyebrow.tsx +10 -8
- package/src/components/eyebrow/eyebrow.props.ts +27 -12
- package/src/components/flex/Flex.tsx +2 -5
- package/src/components/flex/flex.props.ts +19 -12
- package/src/components/grid/Grid.tsx +2 -5
- package/src/components/grid/grid.props.ts +20 -16
- package/src/components/h-stack/HStack.tsx +2 -5
- package/src/components/h-stack/hStack.props.ts +7 -4
- package/src/components/heading/Heading.tsx +3 -6
- package/src/components/heading/heading.props.ts +20 -14
- package/src/components/hotkeys/hotkeys.props.ts +4 -2
- package/src/components/icon/icon.props.ts +3 -3
- package/src/components/icon-button/IconButton.tsx +2 -4
- package/src/components/icon-button/iconButton.props.ts +17 -17
- package/src/components/indicator/Indicator.tsx +2 -2
- package/src/components/indicator/indicator.props.ts +17 -11
- package/src/components/indicator-stack/IndicatorStack.tsx +2 -4
- package/src/components/indicator-stack/indicatorStack.props.ts +13 -7
- package/src/components/inline/Inline.tsx +2 -2
- package/src/components/inline/inline.props.ts +17 -11
- package/src/components/kbd/kbd.props.ts +4 -2
- package/src/components/link/link.props.ts +4 -2
- package/src/components/list/List.tsx +47 -97
- package/src/components/list/list.css +28 -9
- package/src/components/list/list.props.ts +59 -68
- package/src/components/popover/Popover.tsx +4 -3
- package/src/components/popover/popover.css +5 -3
- package/src/components/popover/popover.props.ts +16 -5
- package/src/components/press-area/PressArea.tsx +2 -4
- package/src/components/press-area/press-area.css +9 -3
- package/src/components/press-area/pressArea.props.ts +13 -7
- package/src/components/radio/radio.props.ts +2 -1
- package/src/components/select/select.props.ts +4 -2
- package/src/components/skip-to-content/skipToContent.props.ts +4 -2
- package/src/components/spinner/spinner.props.ts +4 -2
- package/src/components/switch/switch.props.ts +4 -2
- package/src/components/tabs/tabs.props.ts +8 -9
- package/src/components/text/Text.tsx +2 -5
- package/src/components/text/text.props.ts +23 -11
- package/src/components/text-area/textArea.props.ts +4 -5
- package/src/components/text-input/textInput.props.ts +5 -3
- package/src/components/tooltip/tooltip.props.ts +7 -5
- package/src/components/tooltip-group/TooltipGroup.tsx +2 -4
- package/src/components/tooltip-group/tooltipGroup.props.ts +13 -7
- package/src/components/v-stack/VStack.tsx +2 -5
- package/src/components/v-stack/vStack.props.ts +7 -4
- package/src/components/visually-hidden/VisuallyHidden.tsx +2 -4
- package/src/components/visually-hidden/visuallyHidden.props.ts +17 -11
- 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/types/Interactive.ts +3 -1
- package/src/types/Polymorphic.ts +9 -0
- 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,40 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-chart-upward
|
|
3
|
+
name: ChartUpwardIcon
|
|
4
|
+
description: Product/feature usage or specific line chart data visualization.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- Growth
|
|
10
|
+
- Trend
|
|
11
|
+
- Increase
|
|
12
|
+
refs:
|
|
13
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/chart-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: To represent usage reports for a product or feature
|
|
27
|
+
- level: should
|
|
28
|
+
statement: Displaying data as a line chart
|
|
29
|
+
- level: should-not
|
|
30
|
+
statement: For, general analytics, data visualization or charts. Use BarChartIcon instead.
|
|
31
|
+
alternatives:
|
|
32
|
+
- to: icon-bar-chart
|
|
33
|
+
- level: should-not
|
|
34
|
+
statement: To represent activity or health metrics. Use ActivityIcon instead.
|
|
35
|
+
alternatives:
|
|
36
|
+
- to: icon-activity
|
|
37
|
+
- level: should-not
|
|
38
|
+
statement: To represent trends in data. Use TrendUpwardIcon instead.
|
|
39
|
+
alternatives:
|
|
40
|
+
- to: icon-trend-upward
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-checkmark-circle
|
|
3
|
+
name: CheckmarkCircleIcon
|
|
4
|
+
description: Represents tasks in general, independent of completion state.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- Success Circle
|
|
10
|
+
- Confirmed Circle
|
|
11
|
+
- Done Circle
|
|
12
|
+
refs:
|
|
13
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/checkmark-circle.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 general tasks independent of completion state.
|
|
27
|
+
- level: should
|
|
28
|
+
statement: To view/manage tasks.
|
|
29
|
+
- level: should-not
|
|
30
|
+
statement: For tasks with an explicitly defined deadline. Use TaskIcon instead.
|
|
31
|
+
alternatives:
|
|
32
|
+
- to: icon-task
|
|
33
|
+
- level: should-not
|
|
34
|
+
statement: To explicitly indicate an incomplete task. Use CircleIcon instead.
|
|
35
|
+
alternatives:
|
|
36
|
+
- to: icon-circle
|
|
37
|
+
- level: should-not
|
|
38
|
+
statement: To indicate success or a completed task. Use CheckmarkIcon instead.
|
|
39
|
+
alternatives:
|
|
40
|
+
- to: icon-checkmark
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-checkmark
|
|
3
|
+
name: CheckmarkIcon
|
|
4
|
+
description: Success or selection.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- Check
|
|
10
|
+
- Done
|
|
11
|
+
- Confirmed
|
|
12
|
+
refs:
|
|
13
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/checkmark.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 general positive outcomes
|
|
27
|
+
- level: should
|
|
28
|
+
statement: To indicate selection of an item
|
|
29
|
+
- level: should
|
|
30
|
+
statement: To indicate success of a flow or operation
|
|
31
|
+
- level: should-not
|
|
32
|
+
statement: To represent tasks. Use TaskIcon instead.
|
|
33
|
+
alternatives:
|
|
34
|
+
- to: icon-task
|
|
35
|
+
- level: should-not
|
|
36
|
+
statement: As a interactive element for toggling an item. Use the Checkbox component instead.
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-chevron-down
|
|
3
|
+
name: ChevronDownIcon
|
|
4
|
+
description: Moving, resizing, transitioning, or revealing/concealing an element in a downward direction.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- Expand
|
|
10
|
+
- Dropdown
|
|
11
|
+
- More
|
|
12
|
+
refs:
|
|
13
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/chevron-down.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 affordance for expanding content for an element when direction is not explicitly known (example: a menu button)'
|
|
27
|
+
- level: should
|
|
28
|
+
statement: "For expanding an elements's content in a top-to-bottom direction (example: accordions)"
|
|
29
|
+
- level: should
|
|
30
|
+
statement: 'For collapsing an element in a bottom-to- top direction (example: a fixed footer)'
|
|
31
|
+
- level: should-not
|
|
32
|
+
statement: As the trailing affordance for Select inputs. Use SelectIcon instead.
|
|
33
|
+
alternatives:
|
|
34
|
+
- to: icon-select
|
|
35
|
+
- level: should-not
|
|
36
|
+
statement: Moving/resizing/revealing a group of elements. Use DoubleChevronDownIcon instead.
|
|
37
|
+
alternatives:
|
|
38
|
+
- to: icon-double-chevron-down
|
|
39
|
+
- level: should-not
|
|
40
|
+
statement: To represent downloads or the download action. Use DownloadIcon instead.
|
|
41
|
+
alternatives:
|
|
42
|
+
- to: icon-download
|
|
43
|
+
- level: should-not
|
|
44
|
+
statement: As an affordance to scroll down to an element. Use ArrowDownIcon instead.
|
|
45
|
+
alternatives:
|
|
46
|
+
- to: icon-arrow-down
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-chevron-left
|
|
3
|
+
name: ChevronLeftIcon
|
|
4
|
+
description: Moving, resizing, transitioning, or revealing/concealing an element in a leftward direction.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- Collapse Left
|
|
10
|
+
- Previous
|
|
11
|
+
refs:
|
|
12
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/chevron-left.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: Drilling out through a column based hierarchical view
|
|
26
|
+
- level: should
|
|
27
|
+
statement: Moving backward in a carousel view
|
|
28
|
+
- level: should-not
|
|
29
|
+
statement: Expanding/collapsing sidebars. Use PanelLeftIcon or PanelRightIcon instead
|
|
30
|
+
alternatives:
|
|
31
|
+
- to: icon-panel-left
|
|
32
|
+
- to: icon-panel-right
|
|
33
|
+
- level: should-not
|
|
34
|
+
statement: Moving/resizing/revealing a group of elements. Use DoubleChevronLeftIcon instead.
|
|
35
|
+
alternatives:
|
|
36
|
+
- to: icon-double-chevron-left
|
|
37
|
+
- level: should-not
|
|
38
|
+
statement: 'Navigating backward to a previous surface. Use ArrowLeftIcon instead. Best practices:'
|
|
39
|
+
alternatives:
|
|
40
|
+
- to: icon-arrow-left
|
|
41
|
+
- level: should-not
|
|
42
|
+
statement: Consider RTL languages when using chevrons.
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-chevron-right
|
|
3
|
+
name: ChevronRightIcon
|
|
4
|
+
description: Moving, resizing, transitioning, or revealing/concealing an element in a rightward direction.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- Expand Right
|
|
10
|
+
- Next
|
|
11
|
+
refs:
|
|
12
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/chevron-right.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: Drilling out through a column based hierarchical view
|
|
26
|
+
- level: should
|
|
27
|
+
statement: Moving forward in a carousel view
|
|
28
|
+
- level: should-not
|
|
29
|
+
statement: Expanding/collapsing sidebars. Use PanelLeftIcon or PanelRightIcon instead
|
|
30
|
+
alternatives:
|
|
31
|
+
- to: icon-panel-left
|
|
32
|
+
- to: icon-panel-right
|
|
33
|
+
- level: should-not
|
|
34
|
+
statement: Moving/resizing/revealing a group of elements. Use DoubleChevronRightIcon instead.
|
|
35
|
+
alternatives:
|
|
36
|
+
- to: icon-double-chevron-right
|
|
37
|
+
- level: should-not
|
|
38
|
+
statement: 'Navigating to a new surface. Use ArrowRightIcon instead. Best practices:'
|
|
39
|
+
alternatives:
|
|
40
|
+
- to: icon-arrow-right
|
|
41
|
+
- level: should-not
|
|
42
|
+
statement: Consider RTL languages when using chevrons.
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-chevron-up
|
|
3
|
+
name: ChevronUpIcon
|
|
4
|
+
description: Moving, resizing, transitioning, or revealing/concealing an element in an upward direction.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- Collapse
|
|
10
|
+
- Hide
|
|
11
|
+
- Less
|
|
12
|
+
refs:
|
|
13
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/chevron-up.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 affordance for concealing additional content when direction is not explicitly known (example: a menu button)'
|
|
27
|
+
- level: should
|
|
28
|
+
statement: "For collapsing an element's content in a top-to-bottom direction (example: accordions)"
|
|
29
|
+
- level: should
|
|
30
|
+
statement: 'For expanding an element in a bottom-to- top direction (example: a fixed footer)'
|
|
31
|
+
- level: should-not
|
|
32
|
+
statement: Moving/resizing/revealing a group of elements. Use DoubleChevronUpIcon instead.
|
|
33
|
+
alternatives:
|
|
34
|
+
- to: icon-double-chevron-up
|
|
35
|
+
- level: should-not
|
|
36
|
+
statement: For concealing a popover menu. Use Close instead.
|
|
37
|
+
- level: should-not
|
|
38
|
+
statement: To represent uploads or the upload action. Use UploadIcon instead. instead.
|
|
39
|
+
alternatives:
|
|
40
|
+
- to: icon-upload
|
|
41
|
+
- level: should-not
|
|
42
|
+
statement: As an affordance to scroll up to an element or back to top. Use ArrowUpIcon instead.
|
|
43
|
+
alternatives:
|
|
44
|
+
- to: icon-arrow-up
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-circle
|
|
3
|
+
name: CircleIcon
|
|
4
|
+
description: Incompleted general tasks.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- Dot Large
|
|
10
|
+
- Point
|
|
11
|
+
- Marker
|
|
12
|
+
refs:
|
|
13
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/circle.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 general tasks in an incompleted state.
|
|
27
|
+
- level: should-not
|
|
28
|
+
statement: Explicitly as a radio button or checkbox. Use actual components instead.
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-clipboard-image
|
|
3
|
+
name: ClipboardImageIcon
|
|
4
|
+
description: To represent pasting an image from clipboard.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- Copy Image
|
|
10
|
+
- Image Buffer
|
|
11
|
+
- Screenshot
|
|
12
|
+
refs:
|
|
13
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/clipboard-image.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: Specifically for pasting image data from the clipboard.
|
|
27
|
+
- level: should-not
|
|
28
|
+
statement: For general pasting actions. Use ClipboardIcon instead.
|
|
29
|
+
alternatives:
|
|
30
|
+
- to: icon-clipboard
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-clipboard
|
|
3
|
+
name: ClipboardIcon
|
|
4
|
+
description: To represent pasting text from clipboard.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- Copy
|
|
10
|
+
- Paste
|
|
11
|
+
- Buffer
|
|
12
|
+
refs:
|
|
13
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/clipboard.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 pasting from clipboard actions only.
|
|
27
|
+
- level: should-not
|
|
28
|
+
statement: To represent copying or copying to clipboard. Use CopyIcon instead.
|
|
29
|
+
alternatives:
|
|
30
|
+
- to: icon-copy
|
|
31
|
+
- level: should-not
|
|
32
|
+
statement: To represent pasting an image from clipboard. Use ClipboardImageIcon instead.
|
|
33
|
+
alternatives:
|
|
34
|
+
- to: icon-clipboard-image
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-clock
|
|
3
|
+
name: ClockIcon
|
|
4
|
+
description: To represent time or duration.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- Time
|
|
10
|
+
- History
|
|
11
|
+
refs:
|
|
12
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/clock.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 indicate a time or duration based value
|
|
26
|
+
- level: should
|
|
27
|
+
statement: To represent a timestamp
|
|
28
|
+
- level: should-not
|
|
29
|
+
statement: To represent specific dates. Use CalendarIcon instead.
|
|
30
|
+
alternatives:
|
|
31
|
+
- to: icon-calendar
|
|
32
|
+
- level: should-not
|
|
33
|
+
statement: To view the history or activity log of an item. Use RestoreIcon instead.
|
|
34
|
+
alternatives:
|
|
35
|
+
- to: icon-restore
|
|
36
|
+
- level: should-not
|
|
37
|
+
statement: To represent time-zones. Use EarthAmericasIcon instead.
|
|
38
|
+
alternatives:
|
|
39
|
+
- to: icon-earth-americas
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-close-circle
|
|
3
|
+
name: CloseCircleIcon
|
|
4
|
+
description: The close circle icon from the Sanity icon set.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- Cancel Circle
|
|
10
|
+
- Remove Circle
|
|
11
|
+
- Exit Circle
|
|
12
|
+
refs:
|
|
13
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/close-circle.svg
|
|
14
|
+
rel: source
|
|
15
|
+
$extensions:
|
|
16
|
+
com.sanity.ui:
|
|
17
|
+
iconOf: icons
|
|
18
|
+
described: false
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-close
|
|
3
|
+
name: CloseIcon
|
|
4
|
+
description: Close or dismiss UI elements.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- X
|
|
10
|
+
- Exit
|
|
11
|
+
- Dismiss
|
|
12
|
+
refs:
|
|
13
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/close.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: Closing a menu or popover.
|
|
27
|
+
- level: should
|
|
28
|
+
statement: Dismissing a modal, panel, or sheet.
|
|
29
|
+
- level: should
|
|
30
|
+
statement: Removing a Card from view.
|
|
31
|
+
- level: should-not
|
|
32
|
+
statement: For deleting or removing items. Use RemoveIcon instead.
|
|
33
|
+
alternatives:
|
|
34
|
+
- to: icon-remove
|
|
35
|
+
- level: should-not
|
|
36
|
+
statement: For errors. Use ErrorOutlineIcon instead.
|
|
37
|
+
alternatives:
|
|
38
|
+
- to: icon-error-outline
|
|
39
|
+
- level: should-not
|
|
40
|
+
statement: For permission issues. Use AccessDeniedIcon instead.
|
|
41
|
+
alternatives:
|
|
42
|
+
- to: icon-access-denied
|
|
43
|
+
- level: should-not
|
|
44
|
+
statement: For clearing content from an input. Use CloseCircleIcon instead.
|
|
45
|
+
alternatives:
|
|
46
|
+
- to: icon-close-circle
|
|
47
|
+
- level: should-not
|
|
48
|
+
statement: Concealing a panel. Use PanelLeftIcon/PanelRightIcon instead.
|
|
49
|
+
alternatives:
|
|
50
|
+
- to: icon-panel-left
|
|
51
|
+
- to: icon-panel-right
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-code-block
|
|
3
|
+
name: CodeBlockIcon
|
|
4
|
+
description: Multiline code blocks.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- Code Snippet
|
|
10
|
+
- Pre
|
|
11
|
+
- Programming Block
|
|
12
|
+
refs:
|
|
13
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/code-block.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: Code block formatting in rich text
|
|
27
|
+
- level: should-not
|
|
28
|
+
statement: To represent inline code. Use CodeIcon instead.
|
|
29
|
+
alternatives:
|
|
30
|
+
- to: icon-code
|
|
31
|
+
- level: should-not
|
|
32
|
+
statement: For general API references. Use PlugIcon instead.
|
|
33
|
+
alternatives:
|
|
34
|
+
- to: icon-plug
|
|
35
|
+
- level: should-not
|
|
36
|
+
statement: To represent JSON. Use JsonIcon instead.
|
|
37
|
+
alternatives:
|
|
38
|
+
- to: icon-json
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-code
|
|
3
|
+
name: CodeIcon
|
|
4
|
+
description: General indicator of code or Inline code snippets.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- Programming
|
|
10
|
+
- Markup
|
|
11
|
+
- Syntax
|
|
12
|
+
refs:
|
|
13
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/code.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 indicate something as code
|
|
27
|
+
- level: should
|
|
28
|
+
statement: Inline code formatting in rich text
|
|
29
|
+
- level: should-not
|
|
30
|
+
statement: To represent multiline code blocks. Use CodeBlockIcon instead.
|
|
31
|
+
alternatives:
|
|
32
|
+
- to: icon-code-block
|
|
33
|
+
- level: should-not
|
|
34
|
+
statement: For general API references. Use PlugIcon instead.
|
|
35
|
+
alternatives:
|
|
36
|
+
- to: icon-plug
|
|
37
|
+
- level: should-not
|
|
38
|
+
statement: To represent JSON. Use JsonIcon instead.
|
|
39
|
+
alternatives:
|
|
40
|
+
- to: icon-json
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-cog
|
|
3
|
+
name: CogIcon
|
|
4
|
+
description: View or manage settings.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- Settings
|
|
10
|
+
- Configuration
|
|
11
|
+
- Preferences
|
|
12
|
+
refs:
|
|
13
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/cog.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: Use to indicate settings for an item or application
|
|
27
|
+
- level: should-not
|
|
28
|
+
statement: For general tools or maintenance. Use WrenchIcon instead.
|
|
29
|
+
alternatives:
|
|
30
|
+
- to: icon-wrench
|
|
31
|
+
- level: should-not
|
|
32
|
+
statement: To represent local computer settings. Use DesktopIcon instead.
|
|
33
|
+
alternatives:
|
|
34
|
+
- to: icon-desktop
|
|
35
|
+
- level: should-not
|
|
36
|
+
statement: To indicate configurations. Use ControlsIcon instead.
|
|
37
|
+
alternatives:
|
|
38
|
+
- to: icon-controls
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-collapse
|
|
3
|
+
name: CollapseIcon
|
|
4
|
+
description: To exit the interface out of a maximized state or mode.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- Minimize
|
|
10
|
+
- Contract
|
|
11
|
+
- Fold
|
|
12
|
+
refs:
|
|
13
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/collapse.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 exiting a full screen mode in the interface
|
|
27
|
+
- level: should
|
|
28
|
+
statement: For exiting a focus mode in the interface
|
|
29
|
+
- level: should-not
|
|
30
|
+
statement: For closing UI elements. Use CloseIcon instead.
|
|
31
|
+
alternatives:
|
|
32
|
+
- to: icon-close
|
|
33
|
+
- level: should-not
|
|
34
|
+
statement: For collapsing UI elements. Use ChevronUpIcon instead.
|
|
35
|
+
alternatives:
|
|
36
|
+
- to: icon-chevron-up
|
|
37
|
+
- level: should-not
|
|
38
|
+
statement: For hiding UI elements. Use EyeClosedIcon instead.
|
|
39
|
+
alternatives:
|
|
40
|
+
- to: icon-eye-closed
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
kind: component
|
|
2
|
+
id: icon-color-wheel
|
|
3
|
+
name: ColorWheelIcon
|
|
4
|
+
description: Color collections, palettes, or themes.
|
|
5
|
+
metadata:
|
|
6
|
+
status:
|
|
7
|
+
status: stable
|
|
8
|
+
aliases:
|
|
9
|
+
- Color Picker
|
|
10
|
+
- Palette
|
|
11
|
+
- Hue
|
|
12
|
+
refs:
|
|
13
|
+
- href: https://github.com/sanity-io/icons/blob/main/packages/icons/src/color-wheel.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 reference or represent a color theme or collection of colors.
|
|
27
|
+
- level: should-not
|
|
28
|
+
statement: For targeting an individual color or coloring an individual element. Use DropIcon instead.
|
|
29
|
+
alternatives:
|
|
30
|
+
- to: icon-drop
|