@once-ui-system/core 2.0.0-alpha.1 → 2.0.0-alpha.3
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/ai/catalog.json +11 -4
- package/ai/components/Effect.json +1 -1
- package/ai/components/Feedback.json +1 -0
- package/ai/components/Form.json +15 -0
- package/ai/components/Input.json +3 -2
- package/ai/components/{Particle.json → ParticleFx.json} +1 -1
- package/ai/components/ScrollContainer.json +9 -1
- package/ai/components/Textarea.json +3 -2
- package/ai/components/ThemeSwitcher.json +2 -1
- package/ai/examples/blocks/Footer4.tsx +2 -2
- package/ai/examples/blocks/manifest.json +2 -2
- package/ai/gotchas.json +7 -0
- package/ai/manifest.json +2 -2
- package/ai/rules.md +1 -1
- package/ai/spec.json +35 -10
- package/dist/ai/catalog.json +11 -4
- package/dist/ai/components/Effect.json +1 -1
- package/dist/ai/components/Feedback.json +1 -0
- package/dist/ai/components/Form.json +15 -0
- package/dist/ai/components/Input.json +3 -2
- package/dist/ai/components/{Particle.json → ParticleFx.json} +1 -1
- package/dist/ai/components/ScrollContainer.json +9 -1
- package/dist/ai/components/Textarea.json +3 -2
- package/dist/ai/components/ThemeSwitcher.json +2 -1
- package/dist/ai/examples/blocks/manifest.json +2 -2
- package/dist/ai/gotchas.json +7 -0
- package/dist/ai/manifest.json +2 -2
- package/dist/ai/rules.md +1 -1
- package/dist/ai/spec.json +35 -10
- package/dist/components/Accordion.d.ts +3 -1
- package/dist/components/Accordion.d.ts.map +1 -1
- package/dist/components/Accordion.js +4 -1
- package/dist/components/Accordion.js.map +1 -1
- package/dist/components/AccordionGroup.d.ts +1 -1
- package/dist/components/AccordionGroup.d.ts.map +1 -1
- package/dist/components/AccordionGroup.js +3 -1
- package/dist/components/AccordionGroup.js.map +1 -1
- package/dist/components/Animation.d.ts +2 -3
- package/dist/components/Animation.d.ts.map +1 -1
- package/dist/components/Animation.js +2 -2
- package/dist/components/Animation.js.map +1 -1
- package/dist/components/Arrow.d.ts +1 -1
- package/dist/components/Arrow.d.ts.map +1 -1
- package/dist/components/Arrow.js +1 -1
- package/dist/components/Arrow.js.map +1 -1
- package/dist/components/ArrowNavigationContext.d.ts.map +1 -1
- package/dist/components/ArrowNavigationContext.js +12 -3
- package/dist/components/ArrowNavigationContext.js.map +1 -1
- package/dist/components/AutoScroll.d.ts +1 -1
- package/dist/components/AutoScroll.d.ts.map +1 -1
- package/dist/components/AutoScroll.js +1 -1
- package/dist/components/AutoScroll.js.map +1 -1
- package/dist/components/Avatar.d.ts +1 -1
- package/dist/components/Avatar.d.ts.map +1 -1
- package/dist/components/Avatar.js +6 -1
- package/dist/components/Avatar.js.map +1 -1
- package/dist/components/AvatarGroup.d.ts +2 -1
- package/dist/components/AvatarGroup.d.ts.map +1 -1
- package/dist/components/AvatarGroup.js +2 -1
- package/dist/components/AvatarGroup.js.map +1 -1
- package/dist/components/Background.d.ts +2 -1
- package/dist/components/Background.d.ts.map +1 -1
- package/dist/components/Background.js +2 -1
- package/dist/components/Background.js.map +1 -1
- package/dist/components/Badge.d.ts +1 -1
- package/dist/components/Badge.d.ts.map +1 -1
- package/dist/components/Badge.js +4 -1
- package/dist/components/Badge.js.map +1 -1
- package/dist/components/BlobFx.d.ts +1 -1
- package/dist/components/BlobFx.d.ts.map +1 -1
- package/dist/components/BlobFx.js +2 -1
- package/dist/components/BlobFx.js.map +1 -1
- package/dist/components/BlockQuote.d.ts +1 -1
- package/dist/components/BlockQuote.d.ts.map +1 -1
- package/dist/components/BlockQuote.js +6 -1
- package/dist/components/BlockQuote.js.map +1 -1
- package/dist/components/Book.d.ts +1 -1
- package/dist/components/Book.d.ts.map +1 -1
- package/dist/components/Book.js +4 -1
- package/dist/components/Book.js.map +1 -1
- package/dist/components/Button.d.ts.map +1 -1
- package/dist/components/Button.js +4 -1
- package/dist/components/Button.js.map +1 -1
- package/dist/components/Card.d.ts +1 -1
- package/dist/components/Card.d.ts.map +1 -1
- package/dist/components/Card.js +9 -4
- package/dist/components/Card.js.map +1 -1
- package/dist/components/Carousel.d.ts +1 -1
- package/dist/components/Carousel.d.ts.map +1 -1
- package/dist/components/Carousel.js +7 -1
- package/dist/components/Carousel.js.map +1 -1
- package/dist/components/CelebrationFx.d.ts +1 -1
- package/dist/components/CelebrationFx.d.ts.map +1 -1
- package/dist/components/CelebrationFx.js +1 -1
- package/dist/components/CelebrationFx.js.map +1 -1
- package/dist/components/Checkbox.d.ts +1 -1
- package/dist/components/Checkbox.d.ts.map +1 -1
- package/dist/components/Checkbox.js +3 -1
- package/dist/components/Checkbox.js.map +1 -1
- package/dist/components/Chip.d.ts +2 -1
- package/dist/components/Chip.d.ts.map +1 -1
- package/dist/components/Chip.js +4 -1
- package/dist/components/Chip.js.map +1 -1
- package/dist/components/ClientFlex.d.ts.map +1 -1
- package/dist/components/ClientFlex.js +3 -2
- package/dist/components/ClientFlex.js.map +1 -1
- package/dist/components/ClientGrid.d.ts.map +1 -1
- package/dist/components/ClientGrid.js +3 -2
- package/dist/components/ClientGrid.js.map +1 -1
- package/dist/components/ColorInput.d.ts +1 -1
- package/dist/components/ColorInput.d.ts.map +1 -1
- package/dist/components/ColorInput.js +7 -1
- package/dist/components/ColorInput.js.map +1 -1
- package/dist/components/CompareImage.d.ts +1 -1
- package/dist/components/CompareImage.d.ts.map +1 -1
- package/dist/components/CompareImage.js +3 -1
- package/dist/components/CompareImage.js.map +1 -1
- package/dist/components/ContextMenu.d.ts +1 -1
- package/dist/components/ContextMenu.d.ts.map +1 -1
- package/dist/components/ContextMenu.js +3 -1
- package/dist/components/ContextMenu.js.map +1 -1
- package/dist/components/CountFx.d.ts +1 -1
- package/dist/components/CountFx.d.ts.map +1 -1
- package/dist/components/CountFx.js +2 -1
- package/dist/components/CountFx.js.map +1 -1
- package/dist/components/CountdownFx.d.ts +1 -1
- package/dist/components/CountdownFx.d.ts.map +1 -1
- package/dist/components/CountdownFx.js +3 -1
- package/dist/components/CountdownFx.js.map +1 -1
- package/dist/components/Cursor.js +1 -1
- package/dist/components/Cursor.js.map +1 -1
- package/dist/components/CursorCard.d.ts +2 -2
- package/dist/components/CursorCard.d.ts.map +1 -1
- package/dist/components/CursorCard.js +1 -1
- package/dist/components/CursorCard.js.map +1 -1
- package/dist/components/DateInput.d.ts +1 -1
- package/dist/components/DateInput.d.ts.map +1 -1
- package/dist/components/DateInput.js +3 -1
- package/dist/components/DateInput.js.map +1 -1
- package/dist/components/DatePicker.d.ts +1 -1
- package/dist/components/DatePicker.d.ts.map +1 -1
- package/dist/components/DatePicker.js +22 -2
- package/dist/components/DatePicker.js.map +1 -1
- package/dist/components/DateRangeInput.d.ts +2 -1
- package/dist/components/DateRangeInput.d.ts.map +1 -1
- package/dist/components/DateRangeInput.js +5 -1
- package/dist/components/DateRangeInput.js.map +1 -1
- package/dist/components/DateRangePicker.d.ts +1 -1
- package/dist/components/DateRangePicker.d.ts.map +1 -1
- package/dist/components/DateRangePicker.js +2 -1
- package/dist/components/DateRangePicker.js.map +1 -1
- package/dist/components/Dialog.d.ts +1 -1
- package/dist/components/Dialog.d.ts.map +1 -1
- package/dist/components/Dialog.js +6 -1
- package/dist/components/Dialog.js.map +1 -1
- package/dist/components/Dropdown.d.ts +1 -1
- package/dist/components/Dropdown.d.ts.map +1 -1
- package/dist/components/Dropdown.js +2 -1
- package/dist/components/Dropdown.js.map +1 -1
- package/dist/components/DropdownWrapper.d.ts +1 -1
- package/dist/components/DropdownWrapper.d.ts.map +1 -1
- package/dist/components/DropdownWrapper.js +186 -37
- package/dist/components/DropdownWrapper.js.map +1 -1
- package/dist/components/DropdownWrapper.module.scss +3 -1
- package/dist/components/Effect.d.ts +7 -2
- package/dist/components/Effect.d.ts.map +1 -1
- package/dist/components/Effect.js +7 -2
- package/dist/components/Effect.js.map +1 -1
- package/dist/components/ElementType.js +1 -1
- package/dist/components/ElementType.js.map +1 -1
- package/dist/components/EmojiPicker.d.ts +3 -2
- package/dist/components/EmojiPicker.d.ts.map +1 -1
- package/dist/components/EmojiPicker.js +8 -1
- package/dist/components/EmojiPicker.js.map +1 -1
- package/dist/components/EmojiPickerDropdown.d.ts +4 -3
- package/dist/components/EmojiPickerDropdown.d.ts.map +1 -1
- package/dist/components/EmojiPickerDropdown.js +2 -1
- package/dist/components/EmojiPickerDropdown.js.map +1 -1
- package/dist/components/Fade.d.ts +1 -1
- package/dist/components/Fade.d.ts.map +1 -1
- package/dist/components/Fade.js +1 -1
- package/dist/components/Fade.js.map +1 -1
- package/dist/components/FadingLettersFx.d.ts.map +1 -1
- package/dist/components/FadingLettersFx.js +1 -1
- package/dist/components/FadingLettersFx.js.map +1 -1
- package/dist/components/FadingLettersFx.module.scss +214 -37
- package/dist/components/Feedback.d.ts +5 -1
- package/dist/components/Feedback.d.ts.map +1 -1
- package/dist/components/Feedback.js +7 -3
- package/dist/components/Feedback.js.map +1 -1
- package/dist/components/FlipFx.d.ts +1 -1
- package/dist/components/FlipFx.d.ts.map +1 -1
- package/dist/components/FlipFx.js +1 -1
- package/dist/components/FlipFx.js.map +1 -1
- package/dist/components/FocusTrap.d.ts +3 -3
- package/dist/components/FocusTrap.d.ts.map +1 -1
- package/dist/components/FocusTrap.js +10 -0
- package/dist/components/FocusTrap.js.map +1 -1
- package/dist/components/Form.d.ts +48 -0
- package/dist/components/Form.d.ts.map +1 -0
- package/dist/components/Form.js +191 -0
- package/dist/components/Form.js.map +1 -0
- package/dist/components/Form.module.scss +160 -0
- package/dist/components/FormContext.d.ts +20 -0
- package/dist/components/FormContext.d.ts.map +1 -0
- package/dist/components/FormContext.js +12 -0
- package/dist/components/FormContext.js.map +1 -0
- package/dist/components/GlitchFx.d.ts +1 -1
- package/dist/components/GlitchFx.d.ts.map +1 -1
- package/dist/components/GlitchFx.js +1 -1
- package/dist/components/GlitchFx.js.map +1 -1
- package/dist/components/Heading.d.ts.map +1 -1
- package/dist/components/Heading.js +17 -10
- package/dist/components/Heading.js.map +1 -1
- package/dist/components/HoloFx.d.ts +1 -1
- package/dist/components/HoloFx.d.ts.map +1 -1
- package/dist/components/HoloFx.js +1 -1
- package/dist/components/HoloFx.js.map +1 -1
- package/dist/components/Hover.d.ts +1 -1
- package/dist/components/Hover.d.ts.map +1 -1
- package/dist/components/Hover.js +1 -1
- package/dist/components/Hover.js.map +1 -1
- package/dist/components/HoverCard.d.ts +1 -1
- package/dist/components/HoverCard.d.ts.map +1 -1
- package/dist/components/HoverCard.js +1 -1
- package/dist/components/HoverCard.js.map +1 -1
- package/dist/components/Icon.d.ts +1 -1
- package/dist/components/Icon.d.ts.map +1 -1
- package/dist/components/Icon.js +3 -1
- package/dist/components/Icon.js.map +1 -1
- package/dist/components/IconButton.d.ts.map +1 -1
- package/dist/components/IconButton.js +5 -1
- package/dist/components/IconButton.js.map +1 -1
- package/dist/components/InfiniteScroll.d.ts +1 -1
- package/dist/components/InfiniteScroll.d.ts.map +1 -1
- package/dist/components/InfiniteScroll.js +3 -1
- package/dist/components/InfiniteScroll.js.map +1 -1
- package/dist/components/InfoTip.d.ts +2 -1
- package/dist/components/InfoTip.d.ts.map +1 -1
- package/dist/components/InfoTip.js +4 -1
- package/dist/components/InfoTip.js.map +1 -1
- package/dist/components/InlineCode.d.ts +1 -1
- package/dist/components/InlineCode.d.ts.map +1 -1
- package/dist/components/InlineCode.js +1 -1
- package/dist/components/InlineCode.js.map +1 -1
- package/dist/components/Input.d.ts +3 -0
- package/dist/components/Input.d.ts.map +1 -1
- package/dist/components/Input.js +17 -3
- package/dist/components/Input.js.map +1 -1
- package/dist/components/Input.module.scss +27 -6
- package/dist/components/InteractiveDetails.d.ts +1 -1
- package/dist/components/InteractiveDetails.d.ts.map +1 -1
- package/dist/components/InteractiveDetails.js +4 -1
- package/dist/components/InteractiveDetails.js.map +1 -1
- package/dist/components/Kbd.d.ts +1 -1
- package/dist/components/Kbd.d.ts.map +1 -1
- package/dist/components/Kbd.js +2 -1
- package/dist/components/Kbd.js.map +1 -1
- package/dist/components/Line.d.ts +1 -1
- package/dist/components/Line.d.ts.map +1 -1
- package/dist/components/Line.js +1 -1
- package/dist/components/Line.js.map +1 -1
- package/dist/components/List.d.ts +1 -1
- package/dist/components/List.d.ts.map +1 -1
- package/dist/components/List.js +1 -1
- package/dist/components/List.js.map +1 -1
- package/dist/components/ListItem.d.ts +1 -1
- package/dist/components/ListItem.d.ts.map +1 -1
- package/dist/components/ListItem.js +1 -1
- package/dist/components/ListItem.js.map +1 -1
- package/dist/components/Logo.d.ts.map +1 -1
- package/dist/components/Logo.js +8 -2
- package/dist/components/Logo.js.map +1 -1
- package/dist/components/LogoCloud.d.ts +2 -1
- package/dist/components/LogoCloud.d.ts.map +1 -1
- package/dist/components/LogoCloud.js +3 -1
- package/dist/components/LogoCloud.js.map +1 -1
- package/dist/components/Mask.d.ts +1 -1
- package/dist/components/Mask.d.ts.map +1 -1
- package/dist/components/Mask.js +1 -1
- package/dist/components/Mask.js.map +1 -1
- package/dist/components/MatrixFx.d.ts +1 -1
- package/dist/components/MatrixFx.d.ts.map +1 -1
- package/dist/components/MatrixFx.js +1 -1
- package/dist/components/MatrixFx.js.map +1 -1
- package/dist/components/Media.d.ts +1 -1
- package/dist/components/Media.d.ts.map +1 -1
- package/dist/components/Media.js +5 -1
- package/dist/components/Media.js.map +1 -1
- package/dist/components/MediaAudioPlayer.d.ts +1 -1
- package/dist/components/MediaAudioPlayer.d.ts.map +1 -1
- package/dist/components/MediaAudioPlayer.js +4 -1
- package/dist/components/MediaAudioPlayer.js.map +1 -1
- package/dist/components/MediaVideoPlayer.d.ts.map +1 -1
- package/dist/components/MediaVideoPlayer.js +4 -1
- package/dist/components/MediaVideoPlayer.js.map +1 -1
- package/dist/components/Modal.d.ts.map +1 -1
- package/dist/components/Modal.js +5 -1
- package/dist/components/Modal.js.map +1 -1
- package/dist/components/NavGroup.d.ts +1 -1
- package/dist/components/NavGroup.d.ts.map +1 -1
- package/dist/components/NavGroup.js +5 -1
- package/dist/components/NavGroup.js.map +1 -1
- package/dist/components/NavIcon.d.ts +1 -1
- package/dist/components/NavIcon.d.ts.map +1 -1
- package/dist/components/NavIcon.js +1 -1
- package/dist/components/NavIcon.js.map +1 -1
- package/dist/components/NavItem.d.ts +1 -1
- package/dist/components/NavItem.d.ts.map +1 -1
- package/dist/components/NavItem.js +4 -1
- package/dist/components/NavItem.js.map +1 -1
- package/dist/components/NumberInput.d.ts +1 -1
- package/dist/components/NumberInput.d.ts.map +1 -1
- package/dist/components/NumberInput.js +4 -1
- package/dist/components/NumberInput.js.map +1 -1
- package/dist/components/OTPInput.d.ts.map +1 -1
- package/dist/components/OTPInput.js +4 -1
- package/dist/components/OTPInput.js.map +1 -1
- package/dist/components/OgCard.d.ts +1 -1
- package/dist/components/OgCard.d.ts.map +1 -1
- package/dist/components/OgCard.js +6 -1
- package/dist/components/OgCard.js.map +1 -1
- package/dist/components/Option.d.ts +1 -1
- package/dist/components/Option.d.ts.map +1 -1
- package/dist/components/Option.js +4 -1
- package/dist/components/Option.js.map +1 -1
- package/dist/components/{Particle.d.ts → ParticleFx.d.ts} +10 -5
- package/dist/components/ParticleFx.d.ts.map +1 -0
- package/dist/components/{Particle.js → ParticleFx.js} +10 -5
- package/dist/components/ParticleFx.js.map +1 -0
- package/dist/components/PasswordInput.d.ts +1 -1
- package/dist/components/PasswordInput.d.ts.map +1 -1
- package/dist/components/PasswordInput.js +2 -1
- package/dist/components/PasswordInput.js.map +1 -1
- package/dist/components/ProgressBar.d.ts +1 -1
- package/dist/components/ProgressBar.d.ts.map +1 -1
- package/dist/components/ProgressBar.js +5 -1
- package/dist/components/ProgressBar.js.map +1 -1
- package/dist/components/Pulse.d.ts +1 -1
- package/dist/components/Pulse.d.ts.map +1 -1
- package/dist/components/Pulse.js +1 -1
- package/dist/components/Pulse.js.map +1 -1
- package/dist/components/RadioButton.d.ts +1 -1
- package/dist/components/RadioButton.d.ts.map +1 -1
- package/dist/components/RadioButton.js +2 -1
- package/dist/components/RadioButton.js.map +1 -1
- package/dist/components/RevealFx.d.ts +1 -1
- package/dist/components/RevealFx.d.ts.map +1 -1
- package/dist/components/RevealFx.js +1 -1
- package/dist/components/RevealFx.js.map +1 -1
- package/dist/components/ScrollContainer.d.ts +70 -3
- package/dist/components/ScrollContainer.d.ts.map +1 -1
- package/dist/components/ScrollContainer.js +380 -46
- package/dist/components/ScrollContainer.js.map +1 -1
- package/dist/components/ScrollContainer.module.scss +131 -0
- package/dist/components/ScrollToTop.d.ts +1 -1
- package/dist/components/ScrollToTop.d.ts.map +1 -1
- package/dist/components/ScrollToTop.js +1 -1
- package/dist/components/ScrollToTop.js.map +1 -1
- package/dist/components/Scroller.d.ts +2 -1
- package/dist/components/Scroller.d.ts.map +1 -1
- package/dist/components/Scroller.js +3 -1
- package/dist/components/Scroller.js.map +1 -1
- package/dist/components/Scrubber.d.ts +1 -1
- package/dist/components/Scrubber.d.ts.map +1 -1
- package/dist/components/Scrubber.js +3 -1
- package/dist/components/Scrubber.js.map +1 -1
- package/dist/components/SegmentedControl.d.ts +2 -1
- package/dist/components/SegmentedControl.d.ts.map +1 -1
- package/dist/components/SegmentedControl.js +3 -1
- package/dist/components/SegmentedControl.js.map +1 -1
- package/dist/components/Select.d.ts +6 -3
- package/dist/components/Select.d.ts.map +1 -1
- package/dist/components/Select.js +8 -1
- package/dist/components/Select.js.map +1 -1
- package/dist/components/ServerFlex.d.ts.map +1 -1
- package/dist/components/ServerFlex.js +17 -42
- package/dist/components/ServerFlex.js.map +1 -1
- package/dist/components/ServerGrid.d.ts.map +1 -1
- package/dist/components/ServerGrid.js +17 -42
- package/dist/components/ServerGrid.js.map +1 -1
- package/dist/components/Setting.d.ts +1 -1
- package/dist/components/Setting.d.ts.map +1 -1
- package/dist/components/Setting.js +10 -2
- package/dist/components/Setting.js.map +1 -1
- package/dist/components/ShineFx.d.ts +1 -1
- package/dist/components/ShineFx.d.ts.map +1 -1
- package/dist/components/ShineFx.js +1 -1
- package/dist/components/ShineFx.js.map +1 -1
- package/dist/components/Skeleton.d.ts +1 -1
- package/dist/components/Skeleton.d.ts.map +1 -1
- package/dist/components/Skeleton.js +1 -1
- package/dist/components/Skeleton.js.map +1 -1
- package/dist/components/Slider.d.ts.map +1 -1
- package/dist/components/Slider.js +3 -1
- package/dist/components/Slider.js.map +1 -1
- package/dist/components/SmartLink.d.ts.map +1 -1
- package/dist/components/SmartLink.js +2 -1
- package/dist/components/SmartLink.js.map +1 -1
- package/dist/components/Spinner.d.ts +1 -1
- package/dist/components/Spinner.d.ts.map +1 -1
- package/dist/components/Spinner.js +1 -1
- package/dist/components/Spinner.js.map +1 -1
- package/dist/components/SplitView.d.ts +2 -2
- package/dist/components/SplitView.d.ts.map +1 -1
- package/dist/components/SplitView.js +5 -2
- package/dist/components/SplitView.js.map +1 -1
- package/dist/components/StatusIndicator.d.ts +1 -1
- package/dist/components/StatusIndicator.d.ts.map +1 -1
- package/dist/components/StatusIndicator.js +1 -1
- package/dist/components/StatusIndicator.js.map +1 -1
- package/dist/components/StyleOverlay.d.ts +2 -1
- package/dist/components/StyleOverlay.d.ts.map +1 -1
- package/dist/components/StyleOverlay.js +4 -1
- package/dist/components/StyleOverlay.js.map +1 -1
- package/dist/components/StylePanelSections.d.ts +3 -2
- package/dist/components/StylePanelSections.d.ts.map +1 -1
- package/dist/components/StylePanelSections.js +7 -1
- package/dist/components/StylePanelSections.js.map +1 -1
- package/dist/components/Swiper.d.ts +1 -1
- package/dist/components/Swiper.d.ts.map +1 -1
- package/dist/components/Swiper.js +5 -1
- package/dist/components/Swiper.js.map +1 -1
- package/dist/components/Switch.d.ts +1 -1
- package/dist/components/Switch.d.ts.map +1 -1
- package/dist/components/Switch.js +3 -1
- package/dist/components/Switch.js.map +1 -1
- package/dist/components/Table.d.ts +1 -1
- package/dist/components/Table.d.ts.map +1 -1
- package/dist/components/Table.js +10 -1
- package/dist/components/Table.js.map +1 -1
- package/dist/components/Tag.d.ts +1 -1
- package/dist/components/Tag.d.ts.map +1 -1
- package/dist/components/Tag.js +3 -1
- package/dist/components/Tag.js.map +1 -1
- package/dist/components/TagInput.d.ts +1 -1
- package/dist/components/TagInput.d.ts.map +1 -1
- package/dist/components/TagInput.js +3 -1
- package/dist/components/TagInput.js.map +1 -1
- package/dist/components/Text.d.ts.map +1 -1
- package/dist/components/Text.js +17 -10
- package/dist/components/Text.js.map +1 -1
- package/dist/components/Textarea.d.ts +3 -0
- package/dist/components/Textarea.d.ts.map +1 -1
- package/dist/components/Textarea.js +25 -7
- package/dist/components/Textarea.js.map +1 -1
- package/dist/components/ThemeSwitcher.d.ts +17 -1
- package/dist/components/ThemeSwitcher.d.ts.map +1 -1
- package/dist/components/ThemeSwitcher.js +67 -10
- package/dist/components/ThemeSwitcher.js.map +1 -1
- package/dist/components/ThemeSwitcher.module.scss +140 -3
- package/dist/components/TiltFx.d.ts +1 -1
- package/dist/components/TiltFx.d.ts.map +1 -1
- package/dist/components/TiltFx.js +1 -1
- package/dist/components/TiltFx.js.map +1 -1
- package/dist/components/Timeline.d.ts +1 -1
- package/dist/components/Timeline.d.ts.map +1 -1
- package/dist/components/Timeline.js +4 -1
- package/dist/components/Timeline.js.map +1 -1
- package/dist/components/Toast.d.ts.map +1 -1
- package/dist/components/Toast.js +4 -1
- package/dist/components/Toast.js.map +1 -1
- package/dist/components/Toaster.d.ts.map +1 -1
- package/dist/components/Toaster.js +4 -2
- package/dist/components/Toaster.js.map +1 -1
- package/dist/components/ToggleButton.d.ts.map +1 -1
- package/dist/components/ToggleButton.js +3 -1
- package/dist/components/ToggleButton.js.map +1 -1
- package/dist/components/Tooltip.d.ts +1 -1
- package/dist/components/Tooltip.d.ts.map +1 -1
- package/dist/components/Tooltip.js +2 -1
- package/dist/components/Tooltip.js.map +1 -1
- package/dist/components/TypeFx.d.ts +1 -1
- package/dist/components/TypeFx.d.ts.map +1 -1
- package/dist/components/TypeFx.js +1 -1
- package/dist/components/TypeFx.js.map +1 -1
- package/dist/components/User.d.ts +3 -2
- package/dist/components/User.d.ts.map +1 -1
- package/dist/components/User.js +6 -1
- package/dist/components/User.js.map +1 -1
- package/dist/components/UserMenu.d.ts +4 -3
- package/dist/components/UserMenu.d.ts.map +1 -1
- package/dist/components/UserMenu.js +3 -1
- package/dist/components/UserMenu.js.map +1 -1
- package/dist/components/WeatherFx.d.ts +1 -1
- package/dist/components/WeatherFx.d.ts.map +1 -1
- package/dist/components/WeatherFx.js +1 -1
- package/dist/components/WeatherFx.js.map +1 -1
- package/dist/components/index.d.ts +2 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +2 -1
- package/dist/components/index.js.map +1 -1
- package/dist/contexts/DataThemeProvider.d.ts +1 -1
- package/dist/contexts/DataThemeProvider.d.ts.map +1 -1
- package/dist/contexts/ThemeProvider.js +1 -1
- package/dist/contexts/ThemeProvider.js.map +1 -1
- package/dist/contexts/ToastProvider.js +1 -1
- package/dist/contexts/ToastProvider.js.map +1 -1
- package/dist/hooks/useArrowNavigation.d.ts.map +1 -1
- package/dist/hooks/useArrowNavigation.js +52 -7
- package/dist/hooks/useArrowNavigation.js.map +1 -1
- package/dist/modules/code/CodeBlock.impl.d.ts +1 -1
- package/dist/modules/code/CodeBlock.impl.d.ts.map +1 -1
- package/dist/modules/code/CodeBlock.impl.js +10 -1
- package/dist/modules/code/CodeBlock.impl.js.map +1 -1
- package/dist/modules/data/BarChart.impl.d.ts +1 -1
- package/dist/modules/data/BarChart.impl.d.ts.map +1 -1
- package/dist/modules/data/BarChart.impl.js +8 -3
- package/dist/modules/data/BarChart.impl.js.map +1 -1
- package/dist/modules/data/ChartHeader.d.ts +2 -1
- package/dist/modules/data/ChartHeader.d.ts.map +1 -1
- package/dist/modules/data/ChartHeader.js +7 -1
- package/dist/modules/data/ChartHeader.js.map +1 -1
- package/dist/modules/data/ChartStatus.d.ts.map +1 -1
- package/dist/modules/data/ChartStatus.js +3 -1
- package/dist/modules/data/ChartStatus.js.map +1 -1
- package/dist/modules/data/DataTooltip.d.ts.map +1 -1
- package/dist/modules/data/DataTooltip.js +4 -1
- package/dist/modules/data/DataTooltip.js.map +1 -1
- package/dist/modules/data/Legend.d.ts.map +1 -1
- package/dist/modules/data/Legend.js +3 -2
- package/dist/modules/data/Legend.js.map +1 -1
- package/dist/modules/data/LineBarChart.impl.d.ts +1 -1
- package/dist/modules/data/LineBarChart.impl.d.ts.map +1 -1
- package/dist/modules/data/LineBarChart.impl.js +8 -3
- package/dist/modules/data/LineBarChart.impl.js.map +1 -1
- package/dist/modules/data/LineChart.impl.d.ts +1 -1
- package/dist/modules/data/LineChart.impl.d.ts.map +1 -1
- package/dist/modules/data/LineChart.impl.js +8 -3
- package/dist/modules/data/LineChart.impl.js.map +1 -1
- package/dist/modules/data/LinearGauge.d.ts +1 -1
- package/dist/modules/data/LinearGauge.d.ts.map +1 -1
- package/dist/modules/data/LinearGauge.js +3 -1
- package/dist/modules/data/LinearGauge.js.map +1 -1
- package/dist/modules/data/PieChart.impl.d.ts +1 -1
- package/dist/modules/data/PieChart.impl.d.ts.map +1 -1
- package/dist/modules/data/PieChart.impl.js +8 -3
- package/dist/modules/data/PieChart.impl.js.map +1 -1
- package/dist/modules/data/RadialGauge.d.ts +1 -1
- package/dist/modules/data/RadialGauge.d.ts.map +1 -1
- package/dist/modules/data/RadialGauge.js +3 -1
- package/dist/modules/data/RadialGauge.js.map +1 -1
- package/dist/modules/data/Swatch.js +2 -2
- package/dist/modules/data/Swatch.js.map +1 -1
- package/dist/modules/data/interfaces.d.ts +3 -2
- package/dist/modules/data/interfaces.d.ts.map +1 -1
- package/dist/modules/media/MediaUpload.impl.d.ts +1 -1
- package/dist/modules/media/MediaUpload.impl.d.ts.map +1 -1
- package/dist/modules/media/MediaUpload.impl.js +5 -1
- package/dist/modules/media/MediaUpload.impl.js.map +1 -1
- package/dist/modules/navigation/HeadingLink.d.ts +1 -1
- package/dist/modules/navigation/HeadingLink.d.ts.map +1 -1
- package/dist/modules/navigation/HeadingLink.js +5 -2
- package/dist/modules/navigation/HeadingLink.js.map +1 -1
- package/dist/modules/navigation/HeadingNav.d.ts +1 -1
- package/dist/modules/navigation/HeadingNav.d.ts.map +1 -1
- package/dist/modules/navigation/HeadingNav.js +7 -1
- package/dist/modules/navigation/HeadingNav.js.map +1 -1
- package/dist/modules/navigation/Kbar.d.ts +1 -1
- package/dist/modules/navigation/Kbar.d.ts.map +1 -1
- package/dist/modules/navigation/Kbar.js +10 -1
- package/dist/modules/navigation/Kbar.js.map +1 -1
- package/dist/modules/navigation/MegaMenu.d.ts +1 -1
- package/dist/modules/navigation/MegaMenu.d.ts.map +1 -1
- package/dist/modules/navigation/MegaMenu.js +230 -16
- package/dist/modules/navigation/MegaMenu.js.map +1 -1
- package/dist/modules/navigation/MobileMegaMenu.d.ts +1 -1
- package/dist/modules/navigation/MobileMegaMenu.d.ts.map +1 -1
- package/dist/modules/navigation/MobileMegaMenu.js +7 -1
- package/dist/modules/navigation/MobileMegaMenu.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/types.d.ts +14 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/utils/MissingDependency.d.ts.map +1 -1
- package/dist/utils/MissingDependency.js +3 -1
- package/dist/utils/MissingDependency.js.map +1 -1
- package/dist/utils/spacingStyle.d.ts +33 -0
- package/dist/utils/spacingStyle.d.ts.map +1 -0
- package/dist/utils/spacingStyle.js +34 -0
- package/dist/utils/spacingStyle.js.map +1 -0
- package/package.json +1 -1
- package/dist/components/Particle.d.ts.map +0 -1
- package/dist/components/Particle.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HoverCard.js","sourceRoot":"","sources":["../../src/components/HoverCard.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,EAAE,SAAS,EAAkB,MAAM,
|
|
1
|
+
{"version":3,"file":"HoverCard.js","sourceRoot":"","sources":["../../src/components/HoverCard.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,EAAE,SAAS,EAAkB,MAAM,aAAa,CAAC;AAIxD,MAAM,SAAS,GAAG,UAAU,CAC1B,CAAC,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE;IAC9B,OAAO,CACL,KAAC,SAAS,IACR,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,CAAC,EACP,OAAO,EAAE,GAAG,EACZ,KAAK,EAAE,GAAG,EACV,QAAQ,EAAE,GAAG,EACb,WAAW,EAAC,OAAO,EACnB,SAAS,EAAC,KAAK,EACf,MAAM,WACF,KAAK,YAER,QAAQ,GACC,CACb,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,SAAS,CAAC,WAAW,GAAG,WAAW,CAAC;AACpC,OAAO,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { ReactNode } from "react";
|
|
2
2
|
import { IconName } from "../icons";
|
|
3
3
|
import { ColorScheme, ColorWeight, TShirtSizes } from "../types";
|
|
4
|
-
import { Flex } from "
|
|
4
|
+
import { Flex } from "./Flex";
|
|
5
5
|
interface IconProps extends React.ComponentProps<typeof Flex> {
|
|
6
6
|
name: IconName;
|
|
7
7
|
onBackground?: `${ColorScheme}-${ColorWeight}`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../src/components/Icon.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAc,SAAS,EAAE,MAAM,OAAO,CAAC;AAErD,OAAO,EAAE,QAAQ,EAAsB,MAAM,UAAU,CAAC;AAExD,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACjE,OAAO,EAAE,IAAI,
|
|
1
|
+
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../src/components/Icon.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAc,SAAS,EAAE,MAAM,OAAO,CAAC;AAErD,OAAO,EAAE,QAAQ,EAAsB,MAAM,UAAU,CAAC;AAExD,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACjE,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAK9B,UAAU,SAAU,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,IAAI,CAAC;IAC3D,IAAI,EAAE,QAAQ,CAAC;IACf,YAAY,CAAC,EAAE,GAAG,WAAW,IAAI,WAAW,EAAE,CAAC;IAC/C,OAAO,CAAC,EAAE,GAAG,WAAW,IAAI,WAAW,EAAE,CAAC;IAC1C,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,eAAe,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;IACtD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAED,QAAA,MAAM,IAAI,+FAqET,CAAC;AAIF,OAAO,EAAE,IAAI,EAAE,CAAC"}
|
package/dist/components/Icon.js
CHANGED
|
@@ -3,7 +3,9 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import { forwardRef } from "react";
|
|
4
4
|
import classNames from "clsx";
|
|
5
5
|
import { useIcons } from "../contexts/IconProvider";
|
|
6
|
-
import { Flex
|
|
6
|
+
import { Flex } from "./Flex";
|
|
7
|
+
import { Tooltip } from "./Tooltip";
|
|
8
|
+
import { HoverCard } from "./HoverCard";
|
|
7
9
|
import styles from "./Icon.module.scss";
|
|
8
10
|
const Icon = forwardRef(({ name, onBackground, onSolid, size = "m", decorative = true, tooltip, tooltipPosition = "top", className, style, ...rest }, ref) => {
|
|
9
11
|
const { icons } = useIcons();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.js","sourceRoot":"","sources":["../../src/components/Icon.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EAAE,UAAU,EAAa,MAAM,OAAO,CAAC;AACrD,OAAO,UAAU,MAAM,MAAM,CAAC;AAE9B,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEpD,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Icon.js","sourceRoot":"","sources":["../../src/components/Icon.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EAAE,UAAU,EAAa,MAAM,OAAO,CAAC;AACrD,OAAO,UAAU,MAAM,MAAM,CAAC;AAE9B,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAEpD,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,MAAM,MAAM,oBAAoB,CAAC;AAcxC,MAAM,IAAI,GAAG,UAAU,CACrB,CACE,EACE,IAAI,EACJ,YAAY,EACZ,OAAO,EACP,IAAI,GAAG,GAAG,EACV,UAAU,GAAG,IAAI,EACjB,OAAO,EACP,eAAe,GAAG,KAAK,EACvB,SAAS,EACT,KAAK,EACL,GAAG,IAAI,EACR,EACD,GAAG,EACH,EAAE;IACF,MAAM,EAAE,KAAK,EAAE,GAAG,QAAQ,EAAE,CAAC;IAC7B,MAAM,aAAa,GAA8B,KAAK,CAAC,IAAI,CAAC,CAAC;IAE7D,IAAI,CAAC,aAAa,EAAE,CAAC;QACnB,OAAO,CAAC,IAAI,CAAC,SAAS,IAAI,kCAAkC,CAAC,CAAC;QAC9D,OAAO,IAAI,CAAC;IACd,CAAC;IAED,IAAI,YAAY,IAAI,OAAO,EAAE,CAAC;QAC5B,OAAO,CAAC,IAAI,CAC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"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../src/components/IconButton.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAc,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../src/components/IconButton.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAc,SAAS,EAAE,MAAM,OAAO,CAAC;AAUrD,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AACpC,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAEjE,UAAU,qBAAqB;IAC7B,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,OAAO,CAAC,EACJ,MAAM,GACN,KAAK,GACL,OAAO,GACP,QAAQ,GACR,MAAM,GACN,UAAU,GACV,WAAW,GACX,cAAc,GACd,aAAa,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,eAAe,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;IACtD,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,GAAG,YAAY,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;IAC/H,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,KAAK,CAAC,EAAE,GAAG,WAAW,IAAI,WAAW,EAAE,CAAC;CACzC;AAED,MAAM,MAAM,eAAe,GAAG,qBAAqB,GAAG,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AACpG,KAAK,WAAW,GAAG,qBAAqB,GAAG,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAEzF,QAAA,MAAM,UAAU,2GAgFf,CAAC;AAGF,OAAO,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -2,7 +2,11 @@
|
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
3
|
import { forwardRef } from "react";
|
|
4
4
|
import { ElementType } from "./ElementType";
|
|
5
|
-
import { Flex
|
|
5
|
+
import { Flex } from "./Flex";
|
|
6
|
+
import { Icon } from "./Icon";
|
|
7
|
+
import { Tooltip } from "./Tooltip";
|
|
8
|
+
import { HoverCard } from "./HoverCard";
|
|
9
|
+
import { Spinner } from "./Spinner";
|
|
6
10
|
import buttonStyles from "./Button.module.scss";
|
|
7
11
|
import iconStyles from "./IconButton.module.scss";
|
|
8
12
|
import classNames from "clsx";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconButton.js","sourceRoot":"","sources":["../../src/components/IconButton.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EAAE,UAAU,EAAa,MAAM,OAAO,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"IconButton.js","sourceRoot":"","sources":["../../src/components/IconButton.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EAAE,UAAU,EAAa,MAAM,OAAO,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,E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,"file":"InfiniteScroll.d.ts","sourceRoot":"","sources":["../../src/components/InfiniteScroll.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAE,SAAS,EAA+B,MAAM,OAAO,CAAC;AAEtE,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAG5B,MAAM,WAAW,mBAAmB,CAAC,CAAC,CAAE,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,GAAG,CAAC;IAC9E,KAAK,EAAE,CAAC,EAAE,CAAC;IACX,UAAU,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,SAAS,CAAC;IAClD,QAAQ,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;IACjC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,iBAAS,cAAc,CAAC,CAAC,EAAE,EACzB,KAAK,EACL,UAAU,EACV,QAAQ,EACR,OAAe,EACf,SAAe,EACf,GAAG,IAAI,EACR,EAAE,mBAAmB,CAAC,CAAC,CAAC,qBAoExB;kBA3EQ,cAAc;;;AA8EvB,OAAO,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import React, { useEffect, useRef, useState } from "react";
|
|
4
|
-
import { Column
|
|
4
|
+
import { Column } from "./Column";
|
|
5
|
+
import { Row } from "./Row";
|
|
6
|
+
import { Spinner } from "./Spinner";
|
|
5
7
|
function InfiniteScroll({ items, renderItem, loadMore, loading = false, threshold = 200, ...flex }) {
|
|
6
8
|
const [hasMore, setHasMore] = useState(true);
|
|
7
9
|
const [isLoading, setIsLoading] = useState(loading);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InfiniteScroll.js","sourceRoot":"","sources":["../../src/components/InfiniteScroll.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,KAAK,EAAE,EAAa,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACtE,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"InfiniteScroll.js","sourceRoot":"","sources":["../../src/components/InfiniteScroll.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,KAAK,EAAE,EAAa,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACtE,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAWpC,SAAS,cAAc,CAAI,EACzB,KAAK,EACL,UAAU,EACV,QAAQ,EACR,OAAO,GAAG,KAAK,EACf,SAAS,GAAG,GAAG,EACf,GAAG,IAAI,EACgB;IACvB,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC;IAC7C,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,QAAQ,CAAC,OAAO,CAAC,CAAC;IACpD,MAAM,WAAW,GAAG,MAAM,CAA8B,IAAI,CAAC,CAAC;IAC9D,MAAM,WAAW,GAAG,MAAM,CAAwB,IAAI,CAAC,CAAC;IAExD,0CAA0C;IAC1C,SAAS,CAAC,GAAG,EAAE;QACb,YAAY,CAAC,OAAO,CAAC,CAAC;IACxB,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IAEd,MAAM,cAAc,GAAG,KAAK,IAAI,EAAE;QAChC,IAAI,SAAS,IAAI,CAAC,OAAO;YAAE,OAAO;QAElC,YAAY,CAAC,IAAI,CAAC,CAAC;QACnB,IAAI,CA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AAK,IAAI,YACX,cAAK,GAAG,EAAE,WAAW,EAAE,KAAK,EAAE,EAAE,MAAM,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,GAAI,GACrD,EAEL,SAAS,IAAI,CACZ,KAAC,MAAM,IAAC,SAAS,QAAC,UAAU,EAAC,QAAQ,EAAC,OAAO,EAAC,IAAI,YAChD,KAAC,OAAO,IAAC,IAAI,EAAC,GAAG,GAAG,GACb,CACV,IACA,CACJ,CAAC;AACJ,CAAC;AAED,cAAc,CAAC,WAAW,GAAG,gBAAgB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { Column
|
|
2
|
+
import { Column } from "./Column";
|
|
3
|
+
import { Icon } from "./Icon";
|
|
3
4
|
interface InfoTipProps extends Omit<React.ComponentProps<typeof Column>, "children"> {
|
|
4
5
|
/** The explanation. A sentence or two — anything longer wants a doc link. */
|
|
5
6
|
children?: React.ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InfoTip.d.ts","sourceRoot":"","sources":["../../src/components/InfoTip.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"InfoTip.d.ts","sourceRoot":"","sources":["../../src/components/InfoTip.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAG9B,UAAU,YAAa,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,EAAE,UAAU,CAAC;IAClF,6EAA6E;IAC7E,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,0DAA0D;IAC1D,IAAI,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC;CAClD;AAED;;;;GAIG;AACH,QAAA,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAgBnC,CAAC;AAIF,OAAO,EAAE,OAAO,EAAE,CAAC;AACnB,YAAY,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
-
import { Column
|
|
3
|
+
import { Column } from "./Column";
|
|
4
|
+
import { HoverCard } from "./HoverCard";
|
|
5
|
+
import { Icon } from "./Icon";
|
|
6
|
+
import { Text } from "./Text";
|
|
4
7
|
/**
|
|
5
8
|
* The "what is this?" affordance: a small info icon that reveals a sentence of
|
|
6
9
|
* context on hover. Lets a setting carry an explanation without spending a line
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InfoTip.js","sourceRoot":"","sources":["../../src/components/InfoTip.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"InfoTip.js","sourceRoot":"","sources":["../../src/components/InfoTip.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAS9B;;;;GAIG;AACH,MAAM,OAAO,GAA2B,CAAC,EAAE,QAAQ,EAAE,IAAI,GAAG,IAAI,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,CAAC,CAC9E,KAAC,SAAS,IAAC,OAAO,EAAE,KAAC,IAAI,IAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAE,IAAI,EAAE,YAAY,EAAC,cAAc,GAAG,YAC9E,KAAC,MAAM,IACL,QAAQ,EAAE,EAAE,EACZ,QAAQ,EAAC,GAAG,EACZ,QAAQ,EAAC,IAAI,EACb,UAAU,EAAC,MAAM,EACjB,MAAM,EAAC,GAAG,EACV,MAAM,EAAC,oBAAoB,KACvB,IAAI,YAER,KAAC,IAAI,IAAC,OAAO,EAAC,iBAAiB,EAAC,YAAY,EAAC,gBAAgB,YAC1D,QAAQ,GACJ,GACA,GACC,CACb,CAAC;AAEF,OAAO,CAAC,WAAW,GAAG,SAAS,CAAC;AAEhC,OAAO,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InlineCode.d.ts","sourceRoot":"","sources":["../../src/components/InlineCode.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAc,SAAS,EAAE,MAAM,OAAO,CAAC;AAErD,OAAO,EAAE,IAAI,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"InlineCode.d.ts","sourceRoot":"","sources":["../../src/components/InlineCode.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAAc,SAAS,EAAE,MAAM,OAAO,CAAC;AAErD,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAG9B,UAAU,eAAgB,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,IAAI,CAAC;IACjE,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAED,QAAA,MAAM,UAAU,qGAuBf,CAAC;AAIF,OAAO,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
3
|
import { forwardRef } from "react";
|
|
4
4
|
import styles from "./InlineCode.module.scss";
|
|
5
|
-
import { Flex } from "
|
|
5
|
+
import { Flex } from "./Flex";
|
|
6
6
|
import classNames from "clsx";
|
|
7
7
|
const InlineCode = forwardRef(({ children, className, style, ...flex }, ref) => {
|
|
8
8
|
return (_jsx(Flex, { as: "span", inline: true, fit: true, ref: ref, radius: "s", vertical: "center", paddingX: "4", paddingY: "1", textType: "code", background: "neutral-alpha-weak", border: "neutral-alpha-medium", className: classNames(styles.inlineCode, className), style: style, ...flex, children: children }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InlineCode.js","sourceRoot":"","sources":["../../src/components/InlineCode.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EAAE,UAAU,EAAa,MAAM,OAAO,CAAC;AACrD,OAAO,MAAM,MAAM,0BAA0B,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"InlineCode.js","sourceRoot":"","sources":["../../src/components/InlineCode.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EAAE,UAAU,EAAa,MAAM,OAAO,CAAC;AACrD,OAAO,MAAM,MAAM,0BAA0B,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,UAAU,MAAM,MAAM,CAAC;AAQ9B,MAAM,UAAU,GAAG,UAAU,CAC3B,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,GAAG,EAAE,EAAE;IAC/C,OAAO,CACL,KAAC,IAAI,IACH,EAAE,EAAC,MAAM,EACT,MAAM,QACN,GAAG,QACH,GAAG,EAAE,GAAG,EACR,MAAM,EAAC,GAAG,EACV,QAAQ,EAAC,QAAQ,EACjB,QAAQ,EAAC,GAAG,EACZ,QAAQ,EAAC,GAAG,EACZ,QAAQ,EAAC,MAAM,EACf,UAAU,EAAC,oBAAoB,EAC/B,MAAM,EAAC,sBAAsB,EAC7B,SAAS,EAAE,UAAU,CAAC,MAAM,CAAC,UAAU,EAAE,SAAS,CAAC,EACnD,KAAK,EAAE,KAAK,KACR,IAAI,YAEP,QAAQ,GACJ,CACR,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,UAAU,CAAC,WAAW,GAAG,YAAY,CAAC;AAEtC,OAAO,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -24,6 +24,9 @@ interface InputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "size"
|
|
|
24
24
|
cursor?: undefined | "interactive";
|
|
25
25
|
validate?: (value: ReactNode) => ReactNode | null;
|
|
26
26
|
loading?: boolean;
|
|
27
|
+
/** How many columns to occupy inside a `Form` grid. `Form` reads this off
|
|
28
|
+
* the child and strips it; outside a `Form` it does nothing. */
|
|
29
|
+
span?: number;
|
|
27
30
|
}
|
|
28
31
|
declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
|
|
29
32
|
export { Input };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../src/components/Input.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAIZ,mBAAmB,EAEnB,SAAS,EACV,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../src/components/Input.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EAIZ,mBAAmB,EAEnB,SAAS,EACV,MAAM,OAAO,CAAC;AAQf,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAGvC,UAAU,UACR,SAAQ,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;IACtE,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,OAAO,CAAC,EACJ,MAAM,GACN,KAAK,GACL,OAAO,GACP,QAAQ,GACR,MAAM,GACN,UAAU,GACV,WAAW,GACX,cAAc,GACd,aAAa,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,OAAO,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;IAC9B;;;;yCAIqC;IACrC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,MAAM,CAAC,EAAE,SAAS,GAAG,aAAa,CAAC;IACnC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,SAAS,GAAG,IAAI,CAAC;IAClD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;qEACiE;IACjE,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,QAAA,MAAM,KAAK,qFA6NV,CAAC;AAIF,OAAO,EAAE,KAAK,EAAE,CAAC;AACjB,YAAY,EAAE,UAAU,EAAE,CAAC"}
|
package/dist/components/Input.js
CHANGED
|
@@ -2,10 +2,20 @@
|
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useState, useEffect, forwardRef, useCallback, } from "react";
|
|
4
4
|
import classNames from "clsx";
|
|
5
|
-
import { Column
|
|
5
|
+
import { Column } from "./Column";
|
|
6
|
+
import { Row } from "./Row";
|
|
7
|
+
import { Text } from "./Text";
|
|
8
|
+
import { Spinner } from "./Spinner";
|
|
6
9
|
import styles from "./Input.module.scss";
|
|
7
10
|
import { useDebounce } from "../hooks/useDebounce";
|
|
8
|
-
|
|
11
|
+
import { useFieldSize } from "./FormContext";
|
|
12
|
+
const Input = forwardRef(({ id, label, placeholder, size, error = false, errorMessage, description, corners, className, style, prefix, suffix, variant = "default", focusRing = false, characterCount, loading = false,
|
|
13
|
+
// Consumed by `Form`, never rendered. Destructured so it cannot reach
|
|
14
|
+
// the DOM when an `Input` carrying it is used on its own.
|
|
15
|
+
span, children, onFocus, onBlur, onAnimationStart, validate, cursor, ...props }, ref) => {
|
|
16
|
+
// A `Form` can set the size for every field in it; the field's own
|
|
17
|
+
// prop still wins, and `"m"` is still the default on its own.
|
|
18
|
+
const resolvedSize = useFieldSize(size);
|
|
9
19
|
const [isFocused, setIsFocused] = useState(false);
|
|
10
20
|
// Seeded from `defaultValue` too: an uncontrolled field — how a settings
|
|
11
21
|
// form normally renders saved data — has no `value`, so the label never
|
|
@@ -85,7 +95,11 @@ const Input = forwardRef(({ id, label, placeholder, size = "m", error = false, e
|
|
|
85
95
|
});
|
|
86
96
|
return (_jsxs(Column, { gap: "8", style: style, fillWidth: true, fitHeight: true, className: classNames(className, {
|
|
87
97
|
[styles.error]: (error || (displayError && debouncedValue !== "")) && props.value !== "",
|
|
88
|
-
}), children: [_jsxs(Row
|
|
98
|
+
}), children: [_jsxs(Row
|
|
99
|
+
// The element that actually carries the border and the radius, two
|
|
100
|
+
// levels below what a parent lays out. `Form` needs to reach it to
|
|
101
|
+
// fuse a group's corners, and `> *` only reaches the Column above.
|
|
102
|
+
, { "data-surface": "field", transition: "micro-medium", border: variant === "ghost" ? "transparent" : "neutral-medium", background: variant === "ghost" ? "transparent" : "neutral-alpha-weak", overflow: "hidden", vertical: "stretch", className: classNames(styles.base, focusRing && styles.focusRing, styles[resolvedSize], corners === "none" ? "radius-none" : corners ? `radius-l-${corners}` : "radius-l"), children: [prefix && (_jsx(Row, { paddingLeft: "12", className: styles.prefix, position: "static", children: prefix })), _jsxs(Column, { fillWidth: true, padding: "4", children: [_jsx("input", { ...props, ref: ref, id: id, placeholder: placeholder, onFocus: handleFocus, onBlur: handleBlur, onAnimationStart: handleAnimationStart, className: inputClassNames, "aria-describedby": displayError ? `${id}-error` : undefined, "aria-invalid": !!displayError }), label && (_jsx(Text, { as: "label", variant: "label-default-m", htmlFor: id, className: classNames(styles.label, styles.inputLabel, {
|
|
89
103
|
[styles.floating]: isFocused || isFilled || placeholder,
|
|
90
104
|
}), children: label })), children] }), characterCount && props.maxLength && (_jsx(Row, { paddingRight: "12", className: styles.suffix, position: "static", children: _jsx(Text, { variant: "label-default-s", onBackground: props.maxLength - String(props.value || '').length <= 5
|
|
91
105
|
? "danger-weak"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.js","sourceRoot":"","sources":["../../src/components/Input.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EACZ,QAAQ,EACR,SAAS,EACT,UAAU,EAEV,WAAW,GAEZ,MAAM,OAAO,CAAC;AACf,OAAO,UAAU,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Input.js","sourceRoot":"","sources":["../../src/components/Input.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EACZ,QAAQ,EACR,SAAS,EACT,UAAU,EAEV,WAAW,GAEZ,MAAM,OAAO,CAAC;AACf,OAAO,UAAU,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,MAAM,MAAM,qBAAqB,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,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jG,WAAW,GACR,CACP,IACM,CACV,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,KAAK,CAAC,WAAW,GAAG,OAAO,CAAC;AAE5B,OAAO,EAAE,KAAK,EAAE,CAAC"}
|
|
@@ -230,7 +230,24 @@
|
|
|
230
230
|
|
|
231
231
|
&.textarea {
|
|
232
232
|
height: auto;
|
|
233
|
-
|
|
233
|
+
/* A textarea grows, so it cannot centre its value the way an input does by
|
|
234
|
+
pinching the box to one line. Left to itself its first line sits at the
|
|
235
|
+
top of the content box while an input's sits in the middle of it — an
|
|
236
|
+
11px step at size m, which reads as a misaligned placeholder and is
|
|
237
|
+
impossible to miss once a `Form` fuses the two into one control.
|
|
238
|
+
|
|
239
|
+
Padding the block symmetrically puts the first line exactly where an
|
|
240
|
+
input's single line falls, and lets the rest grow downwards from there.
|
|
241
|
+
Floored so the inset never collapses on a field whose content has
|
|
242
|
+
already outgrown one line. Note the floating-label rule below overrides
|
|
243
|
+
`padding-top` when there is a label, because then the value has to clear
|
|
244
|
+
the label rather than centre. */
|
|
245
|
+
--fld-textarea-inset: max(
|
|
246
|
+
var(--static-space-8),
|
|
247
|
+
calc((var(--fld-box) - var(--fld-lh)) / 2)
|
|
248
|
+
);
|
|
249
|
+
padding-top: var(--fld-textarea-inset);
|
|
250
|
+
padding-bottom: var(--fld-textarea-inset);
|
|
234
251
|
}
|
|
235
252
|
|
|
236
253
|
&::placeholder {
|
|
@@ -256,13 +273,17 @@
|
|
|
256
273
|
}
|
|
257
274
|
|
|
258
275
|
/* The value only clears room for the label once the label is actually floating
|
|
259
|
-
above it — an input with no label keeps its text centred by the UA.
|
|
276
|
+
above it — an input with no label keeps its text centred by the UA.
|
|
277
|
+
|
|
278
|
+
Both paddings, textareas included. Setting only the top used to push a
|
|
279
|
+
textarea's content past the bottom of a box that cannot grow to meet it: the
|
|
280
|
+
field is stretched to `--fld-h` by its parent, so the extra top padding came
|
|
281
|
+
straight off the bottom and the textarea scrolled its own single line. At
|
|
282
|
+
size m the content box needed 51.7px of a 46px box, and focusing a labelled
|
|
283
|
+
textarea put a scrollbar down the side of it. */
|
|
260
284
|
.base:has(.label.floating) .input {
|
|
261
285
|
padding-top: var(--fld-value-top);
|
|
262
|
-
|
|
263
|
-
&:not(.textarea) {
|
|
264
|
-
padding-bottom: var(--fld-value-bottom);
|
|
265
|
-
}
|
|
286
|
+
padding-bottom: var(--fld-value-bottom);
|
|
266
287
|
}
|
|
267
288
|
|
|
268
289
|
.error {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InteractiveDetails.d.ts","sourceRoot":"","sources":["../../src/components/InteractiveDetails.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAqB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"InteractiveDetails.d.ts","sourceRoot":"","sources":["../../src/components/InteractiveDetails.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAG1C,OAAO,EAAc,eAAe,EAAE,MAAM,cAAc,CAAC;AAG3D,UAAU,uBAAuB;IAC/B,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED,QAAA,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAkCxD,CAAC;AAIH,OAAO,EAAE,kBAAkB,EAAE,CAAC;AAC9B,YAAY,EAAE,uBAAuB,EAAE,CAAC"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { forwardRef } from "react";
|
|
4
|
-
import { Text
|
|
4
|
+
import { Text } from "./Text";
|
|
5
|
+
import { Column } from "./Column";
|
|
6
|
+
import { IconButton } from "./IconButton";
|
|
7
|
+
import { Row } from "./Row";
|
|
5
8
|
const InteractiveDetails = forwardRef(({ label, description, iconButtonProps, onClick, className, id, disabled }, ref) => {
|
|
6
9
|
return (_jsxs(Column, { ref: ref, cursor: disabled ? "not-allowed" : undefined, className: className, onClick: onClick, id: id, children: [_jsxs(Row, { gap: "4", vertical: "center", children: [_jsx(Text, { as: "span", variant: "label-default-m", onBackground: disabled ? "neutral-weak" : "neutral-strong", children: label }), iconButtonProps?.tooltip && (_jsx("div", { onClick: (e) => e.stopPropagation(), children: _jsx(IconButton, { size: "s", variant: "ghost", icon: "help", "aria-label": "More information", ...iconButtonProps }) }))] }), description && (_jsx(Text, { as: "span", variant: "body-default-s", onBackground: "neutral-weak", children: description }))] }));
|
|
7
10
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InteractiveDetails.js","sourceRoot":"","sources":["../../src/components/InteractiveDetails.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,UAAU,EAAmB,GAAG,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"InteractiveDetails.js","sourceRoot":"","sources":["../../src/components/InteractiveDetails.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,UAAU,EAAmB,MAAM,cAAc,CAAC;AAC3D,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAY5B,MAAM,kBAAkB,GAAsC,UAAU,CAGtE,CAAC,EAAE,KA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AC;AAErD,OAAO,EAAE,IAAI,
|
|
1
|
+
{"version":3,"file":"Kbd.d.ts","sourceRoot":"","sources":["../../src/components/Kbd.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAc,MAAM,OAAO,CAAC;AAErD,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAG9B,UAAU,QAAS,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,IAAI,CAAC;IAC1D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAED,QAAA,MAAM,GAAG,8FA0BR,CAAC;AAIF,OAAO,EAAE,GAAG,EAAE,CAAC;AACf,YAAY,EAAE,QAAQ,EAAE,CAAC"}
|
package/dist/components/Kbd.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef } from "react";
|
|
3
|
-
import { Flex
|
|
3
|
+
import { Flex } from "./Flex";
|
|
4
|
+
import { Text } from "./Text";
|
|
4
5
|
const Kbd = forwardRef(({ label, children, className, style, ...rest }, ref) => (_jsx(Flex, { as: "kbd", ref: ref,
|
|
5
6
|
// A <kbd> belongs in a sentence. Flex is display: flex, so without this
|
|
6
7
|
// one every Kbd in prose broke the line and filled the column.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Kbd.js","sourceRoot":"","sources":["../../src/components/Kbd.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAa,UAAU,EAAE,MAAM,OAAO,CAAC;AAErD,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Kbd.js","sourceRoot":"","sources":["../../src/components/Kbd.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAa,UAAU,EAAE,MAAM,OAAO,CAAC;AAErD,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAS9B,MAAM,GAAG,GAAG,UAAU,CACpB,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,GAAG,EAAE,EAAE,CAAC,CACvD,KAAC,IAAI,IACH,EAAE,EAAC,KAAK,EACR,GAAG,EAAE,GAAG;IACR,wEAAwE;IACxE,+DAA+D;IAC/D,MAAM,QACN,GAAG,QACH,UAAU,EAAC,QAAQ,EACnB,QAAQ,EAAC,IAAI,EACb,UAAU,EAAC,gBAAgB,EAC3B,MAAM,EAAC,GAAG,EACV,QAAQ,EAAC,GAAG,EACZ,QAAQ,EAAC,GAAG,EACZ,YAAY,EAAC,gBAAgB,EAC7B,MAAM,EAAC,gBAAgB,EACvB,SAAS,EAAE,SAAS,EACpB,KAAK,EAAE,KAAK,KACR,IAAI,YAER,KAAC,IAAI,IAAC,EAAE,EAAC,MAAM,EAAC,OAAO,EAAC,iBAAiB,YACtC,KAAK,IAAI,QAAQ,GACb,GACF,CACR,CACF,CAAC;AAEF,GAAG,CAAC,WAAW,GAAG,KAAK,CAAC;AAExB,OAAO,EAAE,GAAG,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Line.d.ts","sourceRoot":"","sources":["../../src/components/Line.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Line.d.ts","sourceRoot":"","sources":["../../src/components/Line.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,UAAU,SAAU,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,IAAI,CAAC;IAC3D,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAED,QAAA,MAAM,IAAI,+FAiBR,CAAC;AAGH,OAAO,EAAE,IAAI,EAAE,CAAC"}
|
package/dist/components/Line.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
3
|
import { forwardRef } from "react";
|
|
4
|
-
import { Flex } from "
|
|
4
|
+
import { Flex } from "./Flex";
|
|
5
5
|
const Line = forwardRef(({ vert, className, style, ...rest }, ref) => {
|
|
6
6
|
return (_jsx(Flex, { ref: ref, minWidth: (vert && "1") || undefined, minHeight: (!vert && "1") || undefined, width: (vert && "1") || undefined, height: (!vert && "1") || undefined, fillWidth: !vert, fillHeight: vert, background: "neutral-strong", direction: vert ? "column" : "row", className: className, style: style, ...rest }));
|
|
7
7
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Line.js","sourceRoot":"","sources":["../../src/components/Line.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Line.js","sourceRoot":"","sources":["../../src/components/Line.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAO9B,MAAM,IAAI,GAAG,UAAU,CAA4B,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,IAAI,EAAE,EAAE,GAAG,EAAE,EAAE;IAC9F,OAAO,CACL,KAAC,IAAI,IACH,GAAG,EAAE,GAAG,EACR,QAAQ,EAAE,CAAC,IAAI,IAAI,GAAG,CAAC,IAAI,SAAS,EACpC,SAAS,EAAE,CAAC,CAAC,IAAI,IAAI,GAAG,CAAC,IAAI,SAAS,EACtC,KAAK,EAAE,CAAC,IAAI,IAAI,GAAG,CAAC,IAAI,SAAS,EACjC,MAAM,EAAE,CAAC,CAAC,IAAI,IAAI,GAAG,CAAC,IAAI,SAAS,EACnC,SAAS,EAAE,CAAC,IAAI,EAChB,UAAU,EAAE,IAAI,EAChB,UAAU,EAAC,gBAAgB,EAC3B,SAAS,EAAE,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,EAClC,SAAS,EAAE,SAAS,EACpB,KAAK,EAAE,KAAK,KACR,IAAI,GACR,CACH,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,IAAI,CAAC,WAAW,GAAG,MAAM,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../src/components/List.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"List.d.ts","sourceRoot":"","sources":["../../src/components/List.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,UAAU,SAAU,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC;IAC7D,EAAE,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACjB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAED,QAAA,MAAM,IAAI,+FAsCT,CAAC;AAGF,OAAO,EAAE,IAAI,EAAE,CAAC"}
|
package/dist/components/List.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
3
|
import { forwardRef } from "react";
|
|
4
|
-
import { Column } from "
|
|
4
|
+
import { Column } from "./Column";
|
|
5
5
|
const List = forwardRef(({ as = "ul", className, children, style, ...props }, ref) => {
|
|
6
6
|
if (as === "ol") {
|
|
7
7
|
return (_jsx(Column, { as: "ol", fillWidth: true, margin: "0", paddingY: "0", paddingRight: "0", paddingLeft: "20", ref: ref, className: className, style: style, ...props, children: children }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"List.js","sourceRoot":"","sources":["../../src/components/List.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"List.js","sourceRoot":"","sources":["../../src/components/List.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AASlC,MAAM,IAAI,GAAG,UAAU,CACrB,CAAC,EAAE,EAAE,GAAG,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE;IAC3D,IAAI,EAAE,KAAK,IAAI,EAAE,CAAC;QAChB,OAAO,CACL,KAAC,MAAM,IACL,EAAE,EAAC,IAAI,EACP,SAAS,QACT,MAAM,EAAC,GAAG,EACV,QAAQ,EAAC,GAAG,EACZ,YAAY,EAAC,GAAG,EAChB,WAAW,EAAC,IAAI,EAChB,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,SAAS,EACpB,KAAK,EAAE,KAAK,KACR,KAAK,YAER,QAAQ,GACF,CACV,CAAC;IACJ,CAAC;IAED,OAAO,CACL,KAAC,MAAM,IACL,EAAE,EAAC,IAAI,EACP,SAAS,QACT,MAAM,EAAC,GAAG,EACV,QAAQ,EAAC,GAAG,EACZ,YAAY,EAAC,GAAG,EAChB,WAAW,EAAC,IAAI,EAChB,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,SAAS,EACpB,KAAK,EAAE,KAAK,KACR,KAAK,YAER,QAAQ,GACF,CACV,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,IAAI,CAAC,WAAW,GAAG,MAAM,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListItem.d.ts","sourceRoot":"","sources":["../../src/components/ListItem.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAG1C,OAAO,EAAE,IAAI,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ListItem.d.ts","sourceRoot":"","sources":["../../src/components/ListItem.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAG1C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,UAAU,aAAc,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,IAAI,CAAC;IAC/D,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAED,QAAA,MAAM,QAAQ,kGAkBb,CAAC;AAGF,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -3,7 +3,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
3
3
|
import { forwardRef } from "react";
|
|
4
4
|
import classNames from "clsx";
|
|
5
5
|
import styles from "./List.module.scss";
|
|
6
|
-
import { Text } from "
|
|
6
|
+
import { Text } from "./Text";
|
|
7
7
|
const ListItem = forwardRef(({ className, children, style, ...props }, ref) => {
|
|
8
8
|
const listItemClass = classNames(styles.listItem, className);
|
|
9
9
|
return (_jsx(Text, { as: "li", paddingY: "0", paddingRight: "0", paddingLeft: "8", className: listItemClass, style: style, ...props, children: children }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListItem.js","sourceRoot":"","sources":["../../src/components/ListItem.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,UAAU,MAAM,MAAM,CAAC;AAC9B,OAAO,MAAM,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ListItem.js","sourceRoot":"","sources":["../../src/components/ListItem.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAc,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,UAAU,MAAM,MAAM,CAAC;AAC9B,OAAO,MAAM,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAQ9B,MAAM,QAAQ,GAAG,UAAU,CACzB,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE;IAChD,MAAM,aAAa,GAAG,UAAU,CAAC,MAAM,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC;IAE7D,OAAO,CACL,KAAC,IAAI,IACH,EAAE,EAAC,IAAI,EACP,QAAQ,EAAC,GAAG,EACZ,YAAY,EAAC,GAAG,EAChB,WAAW,EAAC,GAAG,EACf,SAAS,EAAE,aAAa,EACxB,KAAK,EAAE,KAAK,KACR,KAAK,YAER,QAAQ,GACJ,CACR,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,QAAQ,CAAC,WAAW,GAAG,UAAU,CAAC;AAClC,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Logo.d.ts","sourceRoot":"","sources":["../../src/components/Logo.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Logo.d.ts","sourceRoot":"","sources":["../../src/components/Logo.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAgB,WAAW,EAAE,MAAM,UAAU,CAAC;AAgB1D;;;;;;;GAOG;AACH,KAAK,UAAU,GAAG,MAAM,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAE3D,UAAU,SAAU,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC;IACvE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,QAAQ,CAAC,EAAE,UAAU,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,OAAO,CAAC;QAAC,GAAG,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CAC1C;AAED,QAAA,MAAM,IAAI,kFA8LT,CAAC;AAIF,OAAO,EAAE,IAAI,EAAE,CAAC"}
|
package/dist/components/Logo.js
CHANGED
|
@@ -2,8 +2,14 @@
|
|
|
2
2
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import classNames from "clsx";
|
|
4
4
|
import { forwardRef, useEffect } from "react";
|
|
5
|
-
import { useAdapters
|
|
6
|
-
import {
|
|
5
|
+
import { useAdapters } from "../contexts/AdapterProvider";
|
|
6
|
+
import { useToast } from "../contexts/ToastProvider";
|
|
7
|
+
import { Column } from "./Column";
|
|
8
|
+
import { ContextMenu } from "./ContextMenu";
|
|
9
|
+
import { Flex } from "./Flex";
|
|
10
|
+
import { Icon } from "./Icon";
|
|
11
|
+
import { Line } from "./Line";
|
|
12
|
+
import { Option } from "./Option";
|
|
7
13
|
const sizeMap = {
|
|
8
14
|
xs: "20",
|
|
9
15
|
s: "24",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Logo.js","sourceRoot":"","sources":["../../src/components/Logo.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,UAAU,MAAM,MAAM,CAAC;AAE9B,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Logo.js","sourceRoot":"","sources":["../../src/components/Logo.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,OAAO,UAAU,MAAM,MAAM,CAAC;AAE9B,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAErD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAElC,MAAM,OAAO,GAAiC;IAC5C,EAAE,EAAE,IAAI;IACR,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IAEF,OAAO,aAAa,CAAC,CAAC,CAAC,CACrB,KAAC,WAAW,IAAC,QAAQ,EAAE,qBAAqB,EAAE,EAAE,SAAS,EAAC,cAAc,YACrE,UAAU,EAAE,GACD,CACf,CAAC,CAAC,CAAC,CACF,UAAU,EAAE,CACb,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,IAAI,CAAC,WAAW,GAAG,MAAM,CAAC;AAE1B,OAAO,EAAE,IAAI,EAAE,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { Grid
|
|
2
|
+
import { Grid } from "./Grid";
|
|
3
|
+
import { Logo } from "./Logo";
|
|
3
4
|
import type { ComponentProps } from "react";
|
|
4
5
|
type LogoProps = ComponentProps<typeof Logo>;
|
|
5
6
|
interface LogoCloudProps extends React.ComponentProps<typeof Grid> {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LogoCloud.d.ts","sourceRoot":"","sources":["../../src/components/LogoCloud.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAE/D,OAAO,EAAE,IAAI,
|
|
1
|
+
{"version":3,"file":"LogoCloud.d.ts","sourceRoot":"","sources":["../../src/components/LogoCloud.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAE/D,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,KAAK,SAAS,GAAG,cAAc,CAAC,OAAO,IAAI,CAAC,CAAC;AAE7C,UAAU,cAAe,SAAQ,KAAK,CAAC,cAAc,CAAC,OAAO,IAAI,CAAC;IAChE,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAKD,QAAA,MAAM,SAAS,oGAwDd,CAAC;AAGF,OAAO,EAAE,SAAS,EAAE,CAAC"}
|