@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
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/types/Avatar.ts","../src/types/Responsive.ts","../src/components/avatar/avatar.props.ts","../src/components/avatar/Avatar.tsx","../src/components/avatar-counter/avatarCounter.props.ts","../src/components/avatar-counter/AvatarCounter.tsx","../src/components/avatar-stack/avatarStack.props.ts","../src/components/avatar-stack/AvatarStack.tsx","../src/types/Tone.ts","../src/props/tone.ts","../src/components/badge/badge.props.ts","../src/components/badge/Badge.tsx","../src/types/Radius.ts","../src/props/border.ts","../src/props/flexChild.ts","../src/props/gridChild.ts","../src/props/height.ts","../src/types/Space.ts","../src/props/margin.ts","../src/types/Overflow.ts","../src/props/overflow.ts","../src/props/padding.ts","../src/types/Position.ts","../src/props/position.ts","../src/types/Shadow.ts","../src/props/shadow.ts","../src/props/width.ts","../src/props/zIndex.ts","../src/props/layout.ts","../src/types/Display.ts","../src/components/box/box.props.ts","../src/components/box/Box.tsx","../src/types/Button.ts","../src/types/Interactive.ts","../src/components/button/button.props.ts","../src/components/button/Button.tsx","../src/types/Density.ts","../src/components/card/card.props.ts","../src/components/card/Card.tsx","../src/components/checkbox/checkbox.props.ts","../src/components/checkbox/Checkbox.tsx","../src/types/FontWeight.ts","../src/types/TextAlign.ts","../src/props/typography.ts","../src/types/Code.ts","../src/components/code/code.props.ts","../src/components/code/Code.tsx","../src/types/Container.ts","../src/components/container/container.props.ts","../src/components/container/Container.tsx","../src/components/dialog/dialog.props.ts","../src/components/dialog/Dialog.tsx","../src/components/divider/divider.props.ts","../src/components/divider/Divider.tsx","../src/types/Eyebrow.ts","../src/components/eyebrow/eyebrow.props.ts","../src/components/eyebrow/Eyebrow.tsx","../src/types/Flex.ts","../src/props/flexParent.ts","../src/props/gap.ts","../src/components/flex/flex.props.ts","../src/components/flex/Flex.tsx","../src/types/Grid.ts","../src/props/gridParent.ts","../src/components/grid/grid.props.ts","../src/components/grid/Grid.tsx","../src/components/h-stack/hStack.props.ts","../src/components/h-stack/HStack.tsx","../src/types/Heading.ts","../src/components/heading/heading.props.ts","../src/components/heading/Heading.tsx","../src/components/hotkeys/hotkeys.props.ts","../src/components/hotkeys/Hotkeys.tsx","../src/types/Icon.ts","../src/components/icon/icon.props.ts","../src/components/icon/Icon.tsx","../src/components/icon-button/iconButton.props.ts","../src/components/icon-button/IconButton.tsx","../src/components/indicator/indicator.props.ts","../src/components/indicator/Indicator.tsx","../src/components/indicator-stack/indicatorStack.props.ts","../src/components/indicator-stack/IndicatorStack.tsx","../src/components/inline/inline.props.ts","../src/components/inline/Inline.tsx","../src/components/kbd/kbd.props.ts","../src/components/kbd/KBD.tsx","../src/components/link/link.props.ts","../src/components/link/Link.tsx","../src/types/List.ts","../src/components/list/list.props.ts","../src/components/list/List.tsx","../src/types/Placement.ts","../src/props/placement.ts","../src/components/popover/popover.props.ts","../src/components/popover/Popover.tsx","../src/components/press-area/pressArea.props.ts","../src/components/press-area/PressArea.tsx","../src/components/radio/radio.props.ts","../src/components/radio/Radio.tsx","../src/types/FormElement.ts","../src/props/formElement.ts","../src/components/select/select.props.ts","../src/components/select/Select.tsx","../src/components/skip-to-content/skipToContent.props.ts","../src/components/skip-to-content/SkipToContent.tsx","../src/components/spinner/spinner.props.ts","../src/components/spinner/Spinner.tsx","../src/components/switch/switch.props.ts","../src/components/switch/Switch.tsx","../src/components/tabs/tabs.props.ts","../src/components/tabs/Tabs.tsx","../src/types/Text.ts","../src/components/text/text.props.ts","../src/components/text/Text.tsx","../src/components/text-area/textArea.props.ts","../src/components/text-area/TextArea.tsx","../src/components/text-input/textInput.props.ts","../src/components/text-input/TextInput.tsx","../src/components/tooltip/tooltip.props.ts","../src/components/tooltip/Tooltip.tsx","../src/components/tooltip-group/tooltipGroup.props.ts","../src/components/tooltip-group/TooltipGroup.tsx","../src/components/v-stack/vStack.props.ts","../src/components/v-stack/VStack.tsx","../src/components/visually-hidden/visuallyHidden.props.ts","../src/components/visually-hidden/VisuallyHidden.tsx","../src/hooks/useIsClient.ts"],"mappings":";cAAa;KACD,qBAAqB;cAEpB;KAUD,sBAAsB;;KCZtB,WAAW,KACnB,WAEE,0BAA0B;EAA4B;OACtD,0BAA0B;EAA4B;OACtD,0BAA0B;EAA4B;OACtD,0BAA0B;EAA4B;OACtD,0BAA0B;EAA4B;OACtD,0BAA0B;EAA4B;;;UCF3C,oBAAoB,MAAM;;EAEzC,QAAQ;;EAER;;EAEA,OAAO,WAAW;;EAElB;;;wBCJc,SAAQ,OAAgB,SAAa,SAAQ,8BAAW,IAAA;;UCLvD,2BAA2B,MAAM;;EAEhD;;EAEA,OAAO;;;wBCAO,gBAAe,SAAa,SAAQ,qCAAkB,IAAA;;UCNrD,yBAAyB,MAAM;;EAE9C;;EAEA,OAAO;;;wBCIO,cAAa,SAAa,SAAQ,mCAAgB,IAAA;cCZrD;cACA;;KAED,eAAe;KACf,0BAA0B;KCD1B;EACV,OAAO;;KAWG;EACV,OAAO;;;UCZQ,WAAW,UAAU,MAAM,8BAA8B;;;;EAIxE,KAAK;;;;EAIL,YAAY,MAAM,cAAc,MAAM;;;;EAItC;;;wBCJc,MAAM,UAAU,wBAC9B,SACG,SACF,WAAW,KAAK,KAAK,sBAAsB,UAAU,WAAW,sBAAG,IAAA;cCfzD;;KAED,iBAAiB;KCEjB;;EAEV,SAAS;;EAET,YAAY;;EAEZ,cAAc;;EAEd,eAAe;;EAEf,aAAa;;EAEb,SAAS,WAAW;;KCbV;;EAEV,YAAY;;EAEZ,WAA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Aa,IAAA;cCZH;;KAcD,iCAAiC;;KAGjC,gBAAgB,QAAQ,MAAM,wBAAwB;;UAGjD,uBACP,KAAK,MAAM,kCAAkC;;;;;EAKrD;;;;EAIA,OAAO;;;wBCxBO,YACd,SACA,UACA,SACG,SACF,iCAAc,IAAA;;UCVA,qBACP,KAAK,MAAM,gDAAgD;;;;EAInE,aAAa,MAAM;;;;EAInB,UAAU,MAAM,aAAa;;;;EAI7B,UAAU,MAAM;;;;EAIhB;;iBCTO,cACP,cACG,SACF;EACD,eAAe;oBAChB,IAAA;;qBA2EY,gBAEA;;UC3FI,kBAAkB,UAAU,MAAM;;;;EAIjD,KAAK;;;wBCGS,aAAa,UAAU,qBACrC,OAAO,kBAAkB,KAAK,KAAK,sBAAsB,UAAU,kBAAkB,sBAAG,IAAA;;UCRzE,YAAY,UAAU,MAAM,6BAA6B,KACxE,UAAU;;wBCOI,OAAO,UAAU,uBAC/B,cACG,SACF,YAAY,KAAK,KAAK,sBAAsB,UAAU,YAAY,sBAAG,IAAA;;UCXvD,oBAAoB,UAAU,MAAM;;;;EAInD,KAAK;;;;EAIL;;;wBCDc,eAAe,UAAU,sBACvC,OAAO,oBAAoB,KAAK,KAAK,sBAAsB,UAAU,oBAAoB,sBAAG,IAAA;;wBCR9E"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/types/Avatar.ts","../src/types/Responsive.ts","../src/components/avatar/avatar.props.ts","../src/components/avatar/Avatar.tsx","../src/components/avatar-counter/avatarCounter.props.ts","../src/components/avatar-counter/AvatarCounter.tsx","../src/components/avatar-stack/avatarStack.props.ts","../src/components/avatar-stack/AvatarStack.tsx","../src/types/Tone.ts","../src/props/tone.ts","../src/types/Polymorphic.ts","../src/components/badge/badge.props.ts","../src/components/badge/Badge.tsx","../src/types/Radius.ts","../src/props/border.ts","../src/props/flexChild.ts","../src/props/gridChild.ts","../src/props/height.ts","../src/types/Space.ts","../src/props/margin.ts","../src/types/Overflow.ts","../src/props/overflow.ts","../src/props/padding.ts","../src/types/Position.ts","../src/props/position.ts","../src/types/Shadow.ts","../src/props/shadow.ts","../src/props/width.ts","../src/props/zIndex.ts","../src/props/layout.ts","../src/types/Display.ts","../src/components/box/box.props.ts","../src/components/box/Box.tsx","../src/types/Button.ts","../src/types/Interactive.ts","../src/components/button/button.props.ts","../src/components/button/Button.tsx","../src/types/Density.ts","../src/components/card/card.props.ts","../src/components/card/Card.tsx","../src/components/checkbox/checkbox.props.ts","../src/components/checkbox/Checkbox.tsx","../src/types/FontWeight.ts","../src/types/TextAlign.ts","../src/props/typography.ts","../src/types/Code.ts","../src/components/code/code.props.ts","../src/components/code/Code.tsx","../src/types/Container.ts","../src/components/container/container.props.ts","../src/components/container/Container.tsx","../src/components/dialog/dialog.props.ts","../src/components/dialog/Dialog.tsx","../src/components/divider/divider.props.ts","../src/components/divider/Divider.tsx","../src/types/Eyebrow.ts","../src/components/eyebrow/eyebrow.props.ts","../src/components/eyebrow/Eyebrow.tsx","../src/types/Flex.ts","../src/props/flexParent.ts","../src/props/gap.ts","../src/components/flex/flex.props.ts","../src/components/flex/Flex.tsx","../src/types/Grid.ts","../src/props/gridParent.ts","../src/components/grid/grid.props.ts","../src/components/grid/Grid.tsx","../src/components/h-stack/hStack.props.ts","../src/components/h-stack/HStack.tsx","../src/types/Heading.ts","../src/components/heading/heading.props.ts","../src/components/heading/Heading.tsx","../src/components/hotkeys/hotkeys.props.ts","../src/components/hotkeys/Hotkeys.tsx","../src/types/Icon.ts","../src/components/icon/icon.props.ts","../src/components/icon/Icon.tsx","../src/components/icon-button/iconButton.props.ts","../src/components/icon-button/IconButton.tsx","../src/components/indicator/indicator.props.ts","../src/components/indicator/Indicator.tsx","../src/components/indicator-stack/indicatorStack.props.ts","../src/components/indicator-stack/IndicatorStack.tsx","../src/components/inline/inline.props.ts","../src/components/inline/Inline.tsx","../src/components/kbd/kbd.props.ts","../src/components/kbd/KBD.tsx","../src/components/link/link.props.ts","../src/components/link/Link.tsx","../src/types/List.ts","../src/components/list/list.props.ts","../src/components/list/List.tsx","../src/types/Placement.ts","../src/props/placement.ts","../src/components/popover/popover.props.ts","../src/components/popover/Popover.tsx","../src/components/press-area/pressArea.props.ts","../src/components/press-area/PressArea.tsx","../src/components/radio/radio.props.ts","../src/components/radio/Radio.tsx","../src/types/FormElement.ts","../src/props/formElement.ts","../src/components/select/select.props.ts","../src/components/select/Select.tsx","../src/components/skip-to-content/skipToContent.props.ts","../src/components/skip-to-content/SkipToContent.tsx","../src/components/spinner/spinner.props.ts","../src/components/spinner/Spinner.tsx","../src/components/switch/switch.props.ts","../src/components/switch/Switch.tsx","../src/components/tabs/tabs.props.ts","../src/components/tabs/Tabs.tsx","../src/types/Text.ts","../src/components/text/text.props.ts","../src/components/text/Text.tsx","../src/components/text-area/textArea.props.ts","../src/components/text-area/TextArea.tsx","../src/components/text-input/textInput.props.ts","../src/components/text-input/TextInput.tsx","../src/components/tooltip/tooltip.props.ts","../src/components/tooltip/Tooltip.tsx","../src/components/tooltip-group/tooltipGroup.props.ts","../src/components/tooltip-group/TooltipGroup.tsx","../src/components/v-stack/vStack.props.ts","../src/components/v-stack/VStack.tsx","../src/components/visually-hidden/visuallyHidden.props.ts","../src/components/visually-hidden/VisuallyHidden.tsx","../src/hooks/useIsClient.ts"],"mappings":";cAAa;KACD,qBAAqB;cAEpB;KAUD,sBAAsB;;KCZtB,WAAW,KACnB,WAEE,0BAA0B;EAA4B;OACtD,0BAA0B;EAA4B;OACtD,0BAA0B;EAA4B;OACtD,0BAA0B;EAA4B;OACtD,0BAA0B;EAA4B;OACtD,0BAA0B;EAA4B;;;UCA3C,oBAAoB;;EAEnC,QAAQ;;EAER;;EAEA,OAAO,WAAW;;EAElB;;;wBCNc,SAAQ,OAAgB,SAAa,SAAQ,8BAAW,IAAA;;UCHvD,2BAA2B;;EAE1C;;EAEA,OAAO;;;wBCFO,gBAAe,SAAa,SAAQ,qCAAkB,IAAA;;UCJrD,yBAAyB;;EAExC;;EAEA,OAAO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RA,qBACP,KAAK,gDAAgD;;;;EAI7D,aAAa;;;;EAIb,UAAU,aAAa;;;;EAIvB,UAAU;;;;EAIV;;iBCXO,cACP,cACG,SACF;EACD,eAAe;oBAChB,IAAA;;qBA2EY,gBAEA;;KCxFD,kBAAkB,UAAU,uBAAuB,YAC7D;;;;EAKE,KAAK;;;wBCFO,aAAa,UAAU,qBAAqB,OAAO,kBAAkB,qBAAE,IAAA;;KCJ3E,YAAY,UAAU,uBAAuB,YACvD,GACA,KAAK,UAAU;;wBCGD,OAAO,UAAU,uBAAsB,cAAc,SAAQ,YAAY,qBAAE,IAAA;;KCL/E,oBAAoB,UAAU,wBAAwB,YAChE;;;;EAKE,KAAK;;;;EAIL;;;wBCNY,eAAe,UAAU,sBAAsB,OAAO,oBAAoB,qBAAE,IAAA;;wBCP5E"}
|
package/dist/index.js
CHANGED
|
@@ -81,18 +81,9 @@ function getCompositeValue(propValue, propDef, key) {
|
|
|
81
81
|
return compositeValue;
|
|
82
82
|
}
|
|
83
83
|
function suffixClassName(className) {
|
|
84
|
-
return `${className}-
|
|
84
|
+
return `${className}-13d200`;
|
|
85
85
|
}
|
|
86
|
-
const
|
|
87
|
-
"regular",
|
|
88
|
-
"medium",
|
|
89
|
-
"semibold",
|
|
90
|
-
"bold"
|
|
91
|
-
], TEXT_ALIGN = [
|
|
92
|
-
"left",
|
|
93
|
-
"center",
|
|
94
|
-
"right"
|
|
95
|
-
], SPACE = [
|
|
86
|
+
const SPACE = [
|
|
96
87
|
0,
|
|
97
88
|
1,
|
|
98
89
|
2,
|
|
@@ -169,7 +160,11 @@ const FONT_WEIGHT = [
|
|
|
169
160
|
align: {
|
|
170
161
|
type: "union",
|
|
171
162
|
className: "text",
|
|
172
|
-
values:
|
|
163
|
+
values: [
|
|
164
|
+
"left",
|
|
165
|
+
"center",
|
|
166
|
+
"right"
|
|
167
|
+
]
|
|
173
168
|
},
|
|
174
169
|
muted: {
|
|
175
170
|
type: "boolean",
|
|
@@ -195,10 +190,13 @@ const FONT_WEIGHT = [
|
|
|
195
190
|
weight: {
|
|
196
191
|
type: "union",
|
|
197
192
|
className: "weight",
|
|
198
|
-
values:
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
193
|
+
values: [
|
|
194
|
+
"regular",
|
|
195
|
+
"medium",
|
|
196
|
+
"semibold",
|
|
197
|
+
"bold"
|
|
198
|
+
]
|
|
199
|
+
}
|
|
202
200
|
}, TEXT_SIZE = [
|
|
203
201
|
0,
|
|
204
202
|
1,
|
|
@@ -212,6 +210,8 @@ const FONT_WEIGHT = [
|
|
|
212
210
|
className: "text-body",
|
|
213
211
|
values: TEXT_SIZE
|
|
214
212
|
},
|
|
213
|
+
...marginProps,
|
|
214
|
+
...toneProps,
|
|
215
215
|
...typographyProps
|
|
216
216
|
}, textClassName = suffixClassName("sui-Text");
|
|
217
217
|
/** @public */
|
|
@@ -954,54 +954,61 @@ const buttonProps = {
|
|
|
954
954
|
}, buttonClassName = suffixClassName("sui-Button");
|
|
955
955
|
/** @public */
|
|
956
956
|
function Button(t0) {
|
|
957
|
-
let $ = c(
|
|
957
|
+
let $ = c(32), T0, t1, t10, t11, t12, t13, t14, t2, t3, t4, t5, t6, t7, t8, t9;
|
|
958
958
|
if ($[0] !== t0) {
|
|
959
|
-
let { density:
|
|
960
|
-
density:
|
|
961
|
-
level:
|
|
962
|
-
tone:
|
|
959
|
+
let { density: t15, level: t16, tone: t17, ...props } = t0, { as, children, className, style, iconStart: IconStart, iconEnd: IconEnd, loading, onClick, pressed, text, ...rest } = getProps({
|
|
960
|
+
density: t15 === void 0 ? "regular" : t15,
|
|
961
|
+
level: t16 === void 0 ? "primary" : t16,
|
|
962
|
+
tone: t17 === void 0 ? "neutral" : t17,
|
|
963
963
|
...props
|
|
964
|
-
}, buttonProps);
|
|
965
|
-
T0 =
|
|
964
|
+
}, buttonProps), Component = as || "button";
|
|
965
|
+
T0 = Component, t1 = clsx(buttonClassName, "sui-display-inline-flex sui-align-items-center sui-justify-content-center sui-radius2 sui-position-relative sui-overflow-hidden", className), t2 = style, t3 = "Button", t4 = loading, t5 = loading, t6 = pressed, t7 = loading ? _temp$2 : onClick, t8 = Component === "button" ? "button" : void 0, t9 = rest, t10 = loading && /* @__PURE__ */ jsx(Flex, {
|
|
966
966
|
position: "absolute",
|
|
967
967
|
inset: 0,
|
|
968
968
|
alignItems: "center",
|
|
969
969
|
justifyContent: "center",
|
|
970
970
|
"data-ui": "Button-Spinner",
|
|
971
|
+
"aria-hidden": "true",
|
|
971
972
|
children: /* @__PURE__ */ jsx(Spinner, {})
|
|
972
|
-
}),
|
|
973
|
+
}), t11 = IconStart && (isValidElement(IconStart) ? IconStart : /* @__PURE__ */ jsx(Icon, {
|
|
973
974
|
icon: IconStart,
|
|
974
975
|
marginX: -1,
|
|
975
976
|
marginY: -2,
|
|
976
977
|
size: 1
|
|
977
|
-
})),
|
|
978
|
+
})), t12 = text && /* @__PURE__ */ jsx(Text, {
|
|
978
979
|
size: 1,
|
|
979
980
|
weight: "medium",
|
|
980
981
|
trim: !0,
|
|
981
982
|
children: text
|
|
982
|
-
}),
|
|
983
|
+
}), t13 = children, t14 = IconEnd && (isValidElement(IconEnd) ? IconEnd : /* @__PURE__ */ jsx(Icon, {
|
|
983
984
|
icon: IconEnd,
|
|
984
985
|
marginX: -1,
|
|
985
986
|
marginY: -2,
|
|
986
987
|
size: 1
|
|
987
|
-
})), $[0] = t0, $[1] = T0, $[2] = t1, $[3] = t10, $[4] = t11, $[5] =
|
|
988
|
-
} else T0 = $[1], t1 = $[2], t10 = $[3], t11 = $[4],
|
|
989
|
-
let
|
|
990
|
-
return $[
|
|
988
|
+
})), $[0] = t0, $[1] = T0, $[2] = t1, $[3] = t10, $[4] = t11, $[5] = t12, $[6] = t13, $[7] = t14, $[8] = t2, $[9] = t3, $[10] = t4, $[11] = t5, $[12] = t6, $[13] = t7, $[14] = t8, $[15] = t9;
|
|
989
|
+
} else T0 = $[1], t1 = $[2], t10 = $[3], t11 = $[4], t12 = $[5], t13 = $[6], t14 = $[7], t2 = $[8], t3 = $[9], t4 = $[10], t5 = $[11], t6 = $[12], t7 = $[13], t8 = $[14], t9 = $[15];
|
|
990
|
+
let t15;
|
|
991
|
+
return $[16] !== T0 || $[17] !== t1 || $[18] !== t10 || $[19] !== t11 || $[20] !== t12 || $[21] !== t13 || $[22] !== t14 || $[23] !== t2 || $[24] !== t3 || $[25] !== t4 || $[26] !== t5 || $[27] !== t6 || $[28] !== t7 || $[29] !== t8 || $[30] !== t9 ? (t15 = /* @__PURE__ */ jsxs(T0, {
|
|
991
992
|
className: t1,
|
|
992
993
|
style: t2,
|
|
993
994
|
"data-ui": t3,
|
|
994
|
-
|
|
995
|
-
"aria-
|
|
996
|
-
|
|
995
|
+
"aria-busy": t4,
|
|
996
|
+
"aria-disabled": t5,
|
|
997
|
+
"aria-pressed": t6,
|
|
998
|
+
onClick: t7,
|
|
999
|
+
type: t8,
|
|
1000
|
+
...t9,
|
|
997
1001
|
children: [
|
|
998
|
-
t7,
|
|
999
|
-
t8,
|
|
1000
|
-
t9,
|
|
1001
1002
|
t10,
|
|
1002
|
-
t11
|
|
1003
|
+
t11,
|
|
1004
|
+
t12,
|
|
1005
|
+
t13,
|
|
1006
|
+
t14
|
|
1003
1007
|
]
|
|
1004
|
-
}), $[
|
|
1008
|
+
}), $[16] = T0, $[17] = t1, $[18] = t10, $[19] = t11, $[20] = t12, $[21] = t13, $[22] = t14, $[23] = t2, $[24] = t3, $[25] = t4, $[26] = t5, $[27] = t6, $[28] = t7, $[29] = t8, $[30] = t9, $[31] = t15) : t15 = $[31], t15;
|
|
1009
|
+
}
|
|
1010
|
+
function _temp$2(e) {
|
|
1011
|
+
e.preventDefault();
|
|
1005
1012
|
}
|
|
1006
1013
|
const DENSITY = [
|
|
1007
1014
|
"compact",
|
|
@@ -1219,8 +1226,8 @@ function Heading(t0) {
|
|
|
1219
1226
|
children = t4, style = t5, rest = t6;
|
|
1220
1227
|
let Component = as || "h2";
|
|
1221
1228
|
if (props.truncate && props.trim) {
|
|
1222
|
-
let t7 = clsx(headingClassName, className?.replace("sui-line-clamp", "").replace("sui-text-overflow", "")), t8 = props.truncate === 1 ? "sui-text-overflow" : "sui-line-clamp", t9;
|
|
1223
|
-
$[7] === t8 ? t9 = $[8] : (t9 = clsx("sui-overflow-hidden",
|
|
1229
|
+
let t7 = clsx(headingClassName, className?.replace("sui-line-clamp", "").replace("sui-text-overflow", ""), "sui-weight-bold"), t8 = props.truncate === 1 ? "sui-text-overflow" : "sui-line-clamp", t9;
|
|
1230
|
+
$[7] === t8 ? t9 = $[8] : (t9 = clsx("sui-overflow-hidden", t8), $[7] = t8, $[8] = t9), t2 = /* @__PURE__ */ jsx(Component, {
|
|
1224
1231
|
className: t7,
|
|
1225
1232
|
style,
|
|
1226
1233
|
"data-ui": "Heading",
|
|
@@ -1414,7 +1421,12 @@ const eyebrowProps = {
|
|
|
1414
1421
|
5
|
|
1415
1422
|
]
|
|
1416
1423
|
},
|
|
1417
|
-
|
|
1424
|
+
muted: typographyProps.muted,
|
|
1425
|
+
align: typographyProps.align,
|
|
1426
|
+
trim: typographyProps.trim,
|
|
1427
|
+
truncate: typographyProps.truncate,
|
|
1428
|
+
...marginProps,
|
|
1429
|
+
...toneProps
|
|
1418
1430
|
}, eyebrowClassName = suffixClassName("sui-Eyebrow");
|
|
1419
1431
|
/** @public */
|
|
1420
1432
|
function Eyebrow(t0) {
|
|
@@ -1422,28 +1434,27 @@ function Eyebrow(t0) {
|
|
|
1422
1434
|
if ($[0] !== t0) {
|
|
1423
1435
|
t2 = Symbol.for("react.early_return_sentinel");
|
|
1424
1436
|
bb0: {
|
|
1425
|
-
let { size: t3,
|
|
1437
|
+
let { size: t3, ...props } = t0, { as, children: t4, className, style: t5, ...t6 } = getProps({
|
|
1426
1438
|
size: t3 === void 0 ? 2 : t3,
|
|
1427
|
-
weight: t4 === void 0 ? "semibold" : t4,
|
|
1428
1439
|
...props
|
|
1429
1440
|
}, eyebrowProps);
|
|
1430
|
-
children =
|
|
1441
|
+
children = t4, style = t5, rest = t6;
|
|
1431
1442
|
let Component = as || "span";
|
|
1432
1443
|
if (props.truncate && props.trim) {
|
|
1433
|
-
let
|
|
1434
|
-
$[7] ===
|
|
1435
|
-
className:
|
|
1444
|
+
let t7 = clsx(eyebrowClassName, className?.replace("sui-line-clamp", "").replace("sui-text-overflow", ""), "sui-weight-semibold"), t8 = props.truncate === 1 ? "sui-text-overflow" : "sui-line-clamp", t9;
|
|
1445
|
+
$[7] === t8 ? t9 = $[8] : (t9 = clsx("sui-overflow-hidden", t8), $[7] = t8, $[8] = t9), t2 = /* @__PURE__ */ jsx(Component, {
|
|
1446
|
+
className: t7,
|
|
1436
1447
|
style,
|
|
1437
1448
|
"data-ui": "Eyebrow",
|
|
1438
1449
|
...rest,
|
|
1439
1450
|
children: /* @__PURE__ */ jsx("span", {
|
|
1440
|
-
className:
|
|
1451
|
+
className: t9,
|
|
1441
1452
|
children
|
|
1442
1453
|
})
|
|
1443
1454
|
});
|
|
1444
1455
|
break bb0;
|
|
1445
1456
|
}
|
|
1446
|
-
T0 = Component, t1 = clsx(eyebrowClassName, props.truncate && "sui-overflow-hidden", className);
|
|
1457
|
+
T0 = Component, t1 = clsx(eyebrowClassName, props.truncate && "sui-overflow-hidden", "sui-weight-semibold", className);
|
|
1447
1458
|
}
|
|
1448
1459
|
$[0] = t0, $[1] = T0, $[2] = children, $[3] = rest, $[4] = style, $[5] = t1, $[6] = t2;
|
|
1449
1460
|
} else T0 = $[1], children = $[2], rest = $[3], style = $[4], t1 = $[5], t2 = $[6];
|
|
@@ -1811,7 +1822,9 @@ function VStack(t0) {
|
|
|
1811
1822
|
const listProps = {
|
|
1812
1823
|
as: { type: "string" },
|
|
1813
1824
|
gap: gapProps.gap
|
|
1814
|
-
},
|
|
1825
|
+
}, listButtonProps = {
|
|
1826
|
+
as: { type: "string" },
|
|
1827
|
+
current: { type: "boolean" },
|
|
1815
1828
|
density: {
|
|
1816
1829
|
type: "composite",
|
|
1817
1830
|
values: DENSITY,
|
|
@@ -1843,16 +1856,10 @@ const listProps = {
|
|
|
1843
1856
|
}
|
|
1844
1857
|
},
|
|
1845
1858
|
end: { type: "string" },
|
|
1846
|
-
start: { type: "string" }
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
...listItemProps
|
|
1851
|
-
}, listItemTextProps = {
|
|
1852
|
-
as: { type: "string" },
|
|
1853
|
-
title: { type: "string" },
|
|
1854
|
-
subtitle: { type: "string" }
|
|
1855
|
-
}, listClassName = suffixClassName("sui-List"), listItemClassName = suffixClassName("sui-ListItem"), listButtonItemClassName = suffixClassName("sui-ListButtonItem"), listItemTextClassName = suffixClassName("sui-ListItemText"), listItemImageClassName = suffixClassName("sui-ListItemImage");
|
|
1859
|
+
start: { type: "string" },
|
|
1860
|
+
text: { type: "string" },
|
|
1861
|
+
subtext: { type: "string" }
|
|
1862
|
+
}, listClassName = suffixClassName("sui-List"), listItemClassName = suffixClassName("sui-ListItem"), listButtonClassName = suffixClassName("sui-ListItemButton"), listItemImageClassName = suffixClassName("sui-ListItemImage");
|
|
1856
1863
|
function ListRoot(props) {
|
|
1857
1864
|
let $ = c(14), T0, children, rest, style, t0, t1;
|
|
1858
1865
|
if ($[0] !== props) {
|
|
@@ -1872,121 +1879,90 @@ function ListRoot(props) {
|
|
|
1872
1879
|
}), $[7] = T0, $[8] = children, $[9] = rest, $[10] = style, $[11] = t0, $[12] = t1, $[13] = t2) : t2 = $[13], t2;
|
|
1873
1880
|
}
|
|
1874
1881
|
function ListItem(t0) {
|
|
1875
|
-
let $ = c(
|
|
1876
|
-
|
|
1877
|
-
|
|
1878
|
-
|
|
1879
|
-
...props
|
|
1880
|
-
}, listItemProps);
|
|
1881
|
-
children = t3, style = t4, end = t5, start = t6, rest = t7, t1 = clsx(listItemClassName, "sui-width-full sui-display-flex sui-align-items-center", className), $[0] = t0, $[1] = children, $[2] = end, $[3] = rest, $[4] = start, $[5] = style, $[6] = t1;
|
|
1882
|
-
} else children = $[1], end = $[2], rest = $[3], start = $[4], style = $[5], t1 = $[6];
|
|
1882
|
+
let $ = c(8), className, rest;
|
|
1883
|
+
$[0] === t0 ? (className = $[1], rest = $[2]) : ({className, ...rest} = t0, $[0] = t0, $[1] = className, $[2] = rest);
|
|
1884
|
+
let t1;
|
|
1885
|
+
$[3] === className ? t1 = $[4] : (t1 = clsx(listItemClassName, "sui-text-body1", className), $[3] = className, $[4] = t1);
|
|
1883
1886
|
let t2;
|
|
1884
|
-
$[
|
|
1885
|
-
flexGrow: 1,
|
|
1886
|
-
gap: "inherit",
|
|
1887
|
-
children
|
|
1888
|
-
}), $[7] = children, $[8] = t2);
|
|
1889
|
-
let t3;
|
|
1890
|
-
return $[9] !== end || $[10] !== rest || $[11] !== start || $[12] !== style || $[13] !== t1 || $[14] !== t2 ? (t3 = /* @__PURE__ */ jsxs("li", {
|
|
1891
|
-
className: t1,
|
|
1892
|
-
style,
|
|
1887
|
+
return $[5] !== rest || $[6] !== t1 ? (t2 = /* @__PURE__ */ jsx("li", {
|
|
1893
1888
|
"data-ui": "ListItem",
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
t2,
|
|
1898
|
-
end
|
|
1899
|
-
]
|
|
1900
|
-
}), $[9] = end, $[10] = rest, $[11] = start, $[12] = style, $[13] = t1, $[14] = t2, $[15] = t3) : t3 = $[15], t3;
|
|
1889
|
+
className: t1,
|
|
1890
|
+
...rest
|
|
1891
|
+
}), $[5] = rest, $[6] = t1, $[7] = t2) : t2 = $[7], t2;
|
|
1901
1892
|
}
|
|
1902
|
-
function
|
|
1903
|
-
let $ = c(
|
|
1893
|
+
function ListItemButton(t0) {
|
|
1894
|
+
let $ = c(30), T0, children, current, end, rest, start, style, subtext, t1, t2, text;
|
|
1904
1895
|
if ($[0] !== t0) {
|
|
1905
|
-
let { density: t3, ...props } = t0, { as, children: t4, className, style: t5,
|
|
1896
|
+
let { density: t3, ...props } = t0, { as, children: t4, className, style: t5, text: t6, subtext: t7, end: t8, start: t9, current: t10, ...t11 } = getProps({
|
|
1906
1897
|
density: t3 === void 0 ? "regular" : t3,
|
|
1907
1898
|
...props
|
|
1908
|
-
},
|
|
1909
|
-
children = t4, style = t5,
|
|
1899
|
+
}, listButtonProps);
|
|
1900
|
+
children = t4, style = t5, text = t6, subtext = t7, end = t8, start = t9, current = t10, rest = t11;
|
|
1910
1901
|
let Component = as || "button";
|
|
1911
|
-
T0 = PressArea, t1 = Component, t2 = clsx(
|
|
1912
|
-
} else T0 = $[1], children = $[2],
|
|
1902
|
+
T0 = PressArea, t1 = Component, t2 = clsx(listButtonClassName, "sui-width-full sui-display-flex sui-align-items-center sui-radius2", className), $[0] = t0, $[1] = T0, $[2] = children, $[3] = current, $[4] = end, $[5] = rest, $[6] = start, $[7] = style, $[8] = subtext, $[9] = t1, $[10] = t2, $[11] = text;
|
|
1903
|
+
} else T0 = $[1], children = $[2], current = $[3], end = $[4], rest = $[5], start = $[6], style = $[7], subtext = $[8], t1 = $[9], t2 = $[10], text = $[11];
|
|
1913
1904
|
let t3;
|
|
1914
|
-
$[
|
|
1915
|
-
flexGrow: 1,
|
|
1916
|
-
gap: "inherit",
|
|
1917
|
-
children
|
|
1918
|
-
}), $[10] = children, $[11] = t3);
|
|
1919
|
-
let t4;
|
|
1920
|
-
return $[12] !== T0 || $[13] !== end || $[14] !== rest || $[15] !== selected || $[16] !== start || $[17] !== style || $[18] !== t1 || $[19] !== t2 || $[20] !== t3 ? (t4 = /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs(T0, {
|
|
1921
|
-
as: t1,
|
|
1922
|
-
className: t2,
|
|
1923
|
-
style,
|
|
1924
|
-
"data-ui": "ListButtonItem",
|
|
1925
|
-
"data-selected": selected,
|
|
1926
|
-
...rest,
|
|
1927
|
-
children: [
|
|
1928
|
-
start,
|
|
1929
|
-
t3,
|
|
1930
|
-
end
|
|
1931
|
-
]
|
|
1932
|
-
}) }), $[12] = T0, $[13] = end, $[14] = rest, $[15] = selected, $[16] = start, $[17] = style, $[18] = t1, $[19] = t2, $[20] = t3, $[21] = t4) : t4 = $[21], t4;
|
|
1933
|
-
}
|
|
1934
|
-
function ListItemText(props) {
|
|
1935
|
-
let $ = c(20), T0, rest, style, subtitle, t0, t1, title;
|
|
1936
|
-
if ($[0] !== props) {
|
|
1937
|
-
let { as, className, style: t2, title: t3, subtitle: t4, ...t5 } = getProps(props, listItemTextProps);
|
|
1938
|
-
style = t2, title = t3, subtitle = t4, rest = t5;
|
|
1939
|
-
let Component = as || "div";
|
|
1940
|
-
T0 = Flex, t0 = Component, t1 = clsx(listItemTextClassName, className), $[0] = props, $[1] = T0, $[2] = rest, $[3] = style, $[4] = subtitle, $[5] = t0, $[6] = t1, $[7] = title;
|
|
1941
|
-
} else T0 = $[1], rest = $[2], style = $[3], subtitle = $[4], t0 = $[5], t1 = $[6], title = $[7];
|
|
1942
|
-
let t2;
|
|
1943
|
-
$[8] === title ? t2 = $[9] : (t2 = title && /* @__PURE__ */ jsx(Text, {
|
|
1905
|
+
$[12] === text ? t3 = $[13] : (t3 = text && /* @__PURE__ */ jsx(Text, {
|
|
1944
1906
|
size: 1,
|
|
1945
1907
|
weight: "medium",
|
|
1946
1908
|
trim: !0,
|
|
1947
1909
|
truncate: 1,
|
|
1948
|
-
children:
|
|
1949
|
-
}), $[
|
|
1950
|
-
let
|
|
1951
|
-
$[
|
|
1910
|
+
children: text
|
|
1911
|
+
}), $[12] = text, $[13] = t3);
|
|
1912
|
+
let t4;
|
|
1913
|
+
$[14] === subtext ? t4 = $[15] : (t4 = subtext && /* @__PURE__ */ jsx(Text, {
|
|
1952
1914
|
size: 1,
|
|
1953
1915
|
muted: !0,
|
|
1954
1916
|
trim: !0,
|
|
1955
1917
|
truncate: 1,
|
|
1956
|
-
children:
|
|
1957
|
-
}), $[
|
|
1958
|
-
let
|
|
1959
|
-
|
|
1960
|
-
as: t0,
|
|
1961
|
-
className: t1,
|
|
1962
|
-
style,
|
|
1963
|
-
"data-ui": "ListItemText",
|
|
1918
|
+
children: subtext
|
|
1919
|
+
}), $[14] = subtext, $[15] = t4);
|
|
1920
|
+
let t5;
|
|
1921
|
+
$[16] !== children || $[17] !== t3 || $[18] !== t4 ? (t5 = /* @__PURE__ */ jsxs(Flex, {
|
|
1964
1922
|
flexDirection: "column",
|
|
1965
1923
|
justifyContent: "center",
|
|
1966
1924
|
gap: 2,
|
|
1967
1925
|
flexGrow: 1,
|
|
1926
|
+
children: [
|
|
1927
|
+
t3,
|
|
1928
|
+
t4,
|
|
1929
|
+
children
|
|
1930
|
+
]
|
|
1931
|
+
}), $[16] = children, $[17] = t3, $[18] = t4, $[19] = t5) : t5 = $[19];
|
|
1932
|
+
let t6;
|
|
1933
|
+
return $[20] !== T0 || $[21] !== current || $[22] !== end || $[23] !== rest || $[24] !== start || $[25] !== style || $[26] !== t1 || $[27] !== t2 || $[28] !== t5 ? (t6 = /* @__PURE__ */ jsxs(T0, {
|
|
1934
|
+
as: t1,
|
|
1935
|
+
className: t2,
|
|
1936
|
+
style,
|
|
1937
|
+
"data-ui": "ListItemButton",
|
|
1938
|
+
"aria-current": current,
|
|
1968
1939
|
...rest,
|
|
1969
|
-
children: [
|
|
1970
|
-
|
|
1940
|
+
children: [
|
|
1941
|
+
start,
|
|
1942
|
+
t5,
|
|
1943
|
+
end
|
|
1944
|
+
]
|
|
1945
|
+
}), $[20] = T0, $[21] = current, $[22] = end, $[23] = rest, $[24] = start, $[25] = style, $[26] = t1, $[27] = t2, $[28] = t5, $[29] = t6) : t6 = $[29], t6;
|
|
1971
1946
|
}
|
|
1972
|
-
function ListItemImage(
|
|
1973
|
-
let $ = c(8),
|
|
1974
|
-
|
|
1975
|
-
let { className, style: t1, ...t2 } = getProps(props, {});
|
|
1976
|
-
style = t1, rest = t2, t0 = clsx(listItemImageClassName, "sui-radius2", className), $[0] = props, $[1] = rest, $[2] = style, $[3] = t0;
|
|
1977
|
-
} else rest = $[1], style = $[2], t0 = $[3];
|
|
1947
|
+
function ListItemImage(t0) {
|
|
1948
|
+
let $ = c(8), className, rest;
|
|
1949
|
+
$[0] === t0 ? (className = $[1], rest = $[2]) : ({className, ...rest} = t0, $[0] = t0, $[1] = className, $[2] = rest);
|
|
1978
1950
|
let t1;
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1951
|
+
$[3] === className ? t1 = $[4] : (t1 = clsx(listItemImageClassName, "sui-radius2", className), $[3] = className, $[4] = t1);
|
|
1952
|
+
let t2;
|
|
1953
|
+
return $[5] !== rest || $[6] !== t1 ? (t2 = /* @__PURE__ */ jsx("img", {
|
|
1954
|
+
className: t1,
|
|
1982
1955
|
"data-ui": "ListItemImage",
|
|
1983
1956
|
...rest
|
|
1984
|
-
}), $[
|
|
1957
|
+
}), $[5] = rest, $[6] = t1, $[7] = t2) : t2 = $[7], t2;
|
|
1985
1958
|
}
|
|
1986
1959
|
ListRoot.displayName = "List";
|
|
1987
1960
|
/** @beta */
|
|
1988
|
-
const List = ListRoot
|
|
1989
|
-
|
|
1961
|
+
const List = Object.assign(ListRoot, {
|
|
1962
|
+
Item: ListItem,
|
|
1963
|
+
ItemButton: ListItemButton,
|
|
1964
|
+
ItemImage: ListItemImage
|
|
1965
|
+
});
|
|
1990
1966
|
/** @public */
|
|
1991
1967
|
function useIsClient() {
|
|
1992
1968
|
return useSyncExternalStore(_temp2, _temp3, _temp4);
|
|
@@ -2052,24 +2028,30 @@ const placementProps = { placement: {
|
|
|
2052
2028
|
} }, popoverProps = {
|
|
2053
2029
|
anchorName: { type: "string" },
|
|
2054
2030
|
content: { type: "string" },
|
|
2031
|
+
fullBleed: {
|
|
2032
|
+
type: "boolean",
|
|
2033
|
+
className: "p0",
|
|
2034
|
+
inverseClassName: "p2"
|
|
2035
|
+
},
|
|
2055
2036
|
portal: { type: "boolean" },
|
|
2056
2037
|
...placementProps
|
|
2057
|
-
}, popoverClassName = suffixClassName("sui-
|
|
2038
|
+
}, popoverClassName = suffixClassName("sui-Popover");
|
|
2058
2039
|
function PopoverRoot(t0) {
|
|
2059
|
-
let $ = c(4), { placement: t1, ...props } = t0, { children, className, style, id: idProp, anchorName, content, portal, triggerProps: forwardedTriggerProps, ...rest } = getProps({
|
|
2040
|
+
let $ = c(4), { placement: t1, fullBleed: t2, ...props } = t0, { children, className, style, id: idProp, anchorName, content, portal, triggerProps: forwardedTriggerProps, ...rest } = getProps({
|
|
2060
2041
|
placement: t1 === void 0 ? "bottom" : t1,
|
|
2042
|
+
fullBleed: t2 !== void 0 && t2,
|
|
2061
2043
|
...props
|
|
2062
|
-
}, popoverProps), reactId = useId(), id = idProp || reactId, [open, setOpen] = useState(!1), isClient = useIsClient(),
|
|
2063
|
-
$[0] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
2044
|
+
}, popoverProps), reactId = useId(), id = idProp || reactId, [open, setOpen] = useState(!1), isClient = useIsClient(), t3;
|
|
2045
|
+
$[0] === Symbol.for("react.memo_cache_sentinel") ? (t3 = (e) => {
|
|
2064
2046
|
setOpen(e.newState === "open");
|
|
2065
|
-
}, $[0] =
|
|
2066
|
-
let handleToggle =
|
|
2047
|
+
}, $[0] = t3) : t3 = $[0];
|
|
2048
|
+
let handleToggle = t3, triggerProps = {
|
|
2067
2049
|
popoverTarget: id,
|
|
2068
2050
|
style: { anchorName: `--anchor-${anchorName || id}` }
|
|
2069
|
-
}, trigger = children.type.forwardsTriggerProps ? cloneElement(children, { triggerProps }) : cloneElement(children, mergeTriggerProps(children.props, forwardedTriggerProps, triggerProps)),
|
|
2051
|
+
}, trigger = children.type.forwardsTriggerProps ? cloneElement(children, { triggerProps }) : cloneElement(children, mergeTriggerProps(children.props, forwardedTriggerProps, triggerProps)), t4 = renderPortal(/* @__PURE__ */ jsx(Activity, {
|
|
2070
2052
|
mode: open ? "visible" : "hidden",
|
|
2071
2053
|
children: /* @__PURE__ */ jsx("div", {
|
|
2072
|
-
className: clsx(popoverClassName, "sui-
|
|
2054
|
+
className: clsx(popoverClassName, "sui-radius3 sui-position-fixed sui-shadow2 sui-text-body1 sui-text-trim-edge", className),
|
|
2073
2055
|
style: {
|
|
2074
2056
|
...style,
|
|
2075
2057
|
positionAnchor: `--anchor-${anchorName || id}`
|
|
@@ -2081,8 +2063,8 @@ function PopoverRoot(t0) {
|
|
|
2081
2063
|
...rest,
|
|
2082
2064
|
children: content
|
|
2083
2065
|
})
|
|
2084
|
-
}), isClient, portal),
|
|
2085
|
-
return $[1] !==
|
|
2066
|
+
}), isClient, portal), t5;
|
|
2067
|
+
return $[1] !== t4 || $[2] !== trigger ? (t5 = /* @__PURE__ */ jsxs(Fragment, { children: [trigger, t4] }), $[1] = t4, $[2] = trigger, $[3] = t5) : t5 = $[3], t5;
|
|
2086
2068
|
}
|
|
2087
2069
|
/** @beta */
|
|
2088
2070
|
const Popover = Object.assign(PopoverRoot, { forwardsTriggerProps: !0 }), radioClassName = suffixClassName("sui-Radio"), radioInputClassName = suffixClassName("sui-RadioInput");
|