haze-ui 1.29.0 → 1.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +93 -1
- package/cli/theme.mjs +446 -0
- package/dist/components/Accordion/Accordion.js +1 -0
- package/dist/components/Accordion/AccordionItem.js +3 -0
- package/dist/components/ActivityRail/ActivityRail.js +76 -0
- package/dist/components/ActivityRail/index.js +3 -0
- package/dist/components/Affix/Affix.js +1 -0
- package/dist/components/Alert/Alert.js +3 -0
- package/dist/components/Anchor/Anchor.js +21 -15
- package/dist/components/AppShell/AppShell.js +5 -0
- package/dist/components/ApprovalCard/ApprovalCard.js +8 -0
- package/dist/components/AspectRatio/AspectRatio.js +2 -0
- package/dist/components/AsyncSection/AsyncSection.js +8 -0
- package/dist/components/Avatar/Avatar.js +11 -6
- package/dist/components/AvatarGroup/AvatarGroup.js +9 -6
- package/dist/components/BackToTop/BackToTop.js +5 -4
- package/dist/components/Badge/Badge.js +1 -0
- package/dist/components/Banner/Banner.js +3 -0
- package/dist/components/BottomSheet/BottomSheet.js +22 -31
- package/dist/components/Breadcrumb/Breadcrumb.js +11 -7
- package/dist/components/Breadcrumb/BreadcrumbItem.js +2 -0
- package/dist/components/Button/Button.js +13 -11
- package/dist/components/Button/ButtonLink.js +15 -13
- package/dist/components/Calendar/Calendar.js +523 -368
- package/dist/components/Calendar/date.js +35 -10
- package/dist/components/Card/Card.js +1 -0
- package/dist/components/Carousel/Carousel.js +157 -60
- package/dist/components/Carousel/CarouselSlide.js +3 -1
- package/dist/components/Cascader/Cascader.js +48 -35
- package/dist/components/Chart/Chart.js +5 -4
- package/dist/components/Chart/chart-elements.js +14 -10
- package/dist/components/ChatContainer/ChatContainer.js +9 -7
- package/dist/components/ChatInput/ChatInput.js +12 -9
- package/dist/components/ChatMessage/ChatMessage.js +83 -44
- package/dist/components/Checkbox/CheckboxCore.js +2 -0
- package/dist/components/Chip/Chip.js +3 -0
- package/dist/components/CodeBlock/CodeBlock.js +18 -9
- package/dist/components/Collapsible/Collapsible.js +24 -21
- package/dist/components/ColorPicker/ColorPicker.js +85 -14
- package/dist/components/ColorPicker/ColorPickerCore.js +6 -0
- package/dist/components/ColorPicker/ColorPickerPanel.js +277 -0
- package/dist/components/ColorPicker/color-math.js +168 -0
- package/dist/components/ColorPicker/color-picker-styles.js +7 -0
- package/dist/components/ColorPicker/index.js +3 -3
- package/dist/components/Combobox/Combobox.js +31 -24
- package/dist/components/Combobox/ComboboxGroup.js +7 -5
- package/dist/components/Combobox/ComboboxOption.js +1 -0
- package/dist/components/Command/Command.js +44 -37
- package/dist/components/Command/CommandDialog.js +8 -8
- package/dist/components/ConfigProvider/ConfigContext.js +30 -0
- package/dist/components/ConfigProvider/ConfigProvider.js +14 -0
- package/dist/components/ConfigProvider/index.js +4 -0
- package/dist/components/ConfigProvider/useConfigDefaults.js +10 -0
- package/dist/components/ConfirmDialog/ConfirmDialog.js +18 -11
- package/dist/components/Container/Container.js +1 -0
- package/dist/components/ContextMenu/ContextMenu.js +7 -6
- package/dist/components/ContextMenu/ContextMenuContent.js +4 -4
- package/dist/components/ContextMenu/ContextMenuItem.js +1 -0
- package/dist/components/ContextMenu/ContextMenuSeparator.js +1 -0
- package/dist/components/ContextMenu/ContextMenuTrigger.js +1 -0
- package/dist/components/ConversationList/ConversationItem.js +4 -0
- package/dist/components/ConversationList/ConversationList.js +17 -7
- package/dist/components/CountUp/CountUp.js +6 -5
- package/dist/components/DataTable/CellEditor.js +4 -4
- package/dist/components/DataTable/DataTable.js +236 -168
- package/dist/components/DateRangePicker/DateRangePickerCore.js +9 -0
- package/dist/components/Datepicker/Datepicker.js +14 -11
- package/dist/components/Datepicker/DatepickerCore.js +75 -60
- package/dist/components/Datepicker/datetime.js +14 -3
- package/dist/components/Descriptions/Descriptions.js +6 -0
- package/dist/components/Dialog/Dialog.js +13 -11
- package/dist/components/DiffViewer/DiffViewer.js +22 -13
- package/dist/components/Disclosure/Disclosure.js +10 -7
- package/dist/components/Divider/Divider.js +2 -0
- package/dist/components/Drawer/Drawer.js +10 -9
- package/dist/components/DropdownMenu/DropdownMenu.js +58 -35
- package/dist/components/DropdownMenu/DropdownMenuCheckboxItem.js +63 -0
- package/dist/components/DropdownMenu/DropdownMenuContent.js +5 -5
- package/dist/components/DropdownMenu/DropdownMenuGroup.js +26 -0
- package/dist/components/DropdownMenu/DropdownMenuItem.js +29 -10
- package/dist/components/DropdownMenu/DropdownMenuRadioGroup.js +30 -0
- package/dist/components/DropdownMenu/DropdownMenuRadioItem.js +59 -0
- package/dist/components/DropdownMenu/DropdownMenuSeparator.js +1 -0
- package/dist/components/DropdownMenu/DropdownMenuSub.js +1 -0
- package/dist/components/DropdownMenu/DropdownMenuSubTrigger.js +1 -0
- package/dist/components/DropdownMenu/DropdownMenuTrigger.js +1 -0
- package/dist/components/DropdownMenu/dropdown-menu-item-styles.js +7 -0
- package/dist/components/DropdownMenu/index.js +12 -8
- package/dist/components/Ellipsis/Ellipsis.js +11 -8
- package/dist/components/Empty/Empty.js +4 -0
- package/dist/components/FileInput/FileInput.js +7 -5
- package/dist/components/FilePreview/FilePreview.js +19 -1
- package/dist/components/Flex/Flex.js +1 -0
- package/dist/components/FloatButton/FloatButton.js +4 -0
- package/dist/components/FloatButton/FloatButtonGroup.js +18 -13
- package/dist/components/Fullscreen/Fullscreen.js +6 -3
- package/dist/components/Grid/Grid.js +12 -7
- package/dist/components/Grid/GridItem.js +17 -7
- package/dist/components/Grid/grid-item-styles.js +58 -0
- package/dist/components/HoverCard/HoverCard.js +46 -43
- package/dist/components/Icon/Icon.js +1 -0
- package/dist/components/Image/Image.js +10 -7
- package/dist/components/Image/ImagePreview.js +42 -34
- package/dist/components/InlineCompletion/InlineCompletion.js +15 -11
- package/dist/components/InlineEdit/InlineEdit.js +8 -6
- package/dist/components/Input/InputCore.js +1 -0
- package/dist/components/JsonView/JsonView.js +104 -79
- package/dist/components/Kbd/Kbd.js +1 -0
- package/dist/components/List/List.js +15 -10
- package/dist/components/List/ListItem.js +1 -0
- package/dist/components/LocaleProvider/LocaleProvider.js +4 -4
- package/dist/components/LocaleProvider/ar-sa.js +31 -2
- package/dist/components/LocaleProvider/de-de.js +31 -2
- package/dist/components/LocaleProvider/es-es.js +31 -2
- package/dist/components/LocaleProvider/fr-fr.js +31 -2
- package/dist/components/LocaleProvider/it-it.js +31 -2
- package/dist/components/LocaleProvider/ja-jp.js +31 -2
- package/dist/components/LocaleProvider/ko-kr.js +31 -2
- package/dist/components/LocaleProvider/locale.js +31 -2
- package/dist/components/LocaleProvider/pt-br.js +31 -2
- package/dist/components/LocaleProvider/ru-ru.js +31 -2
- package/dist/components/LocaleProvider/zh-cn.js +31 -2
- package/dist/components/LogViewer/LogViewer.js +56 -38
- package/dist/components/MarkdownRenderer/MarkdownRenderer.js +6 -5
- package/dist/components/MarkdownRenderer/markdown-blocks.js +1 -1
- package/dist/components/Masonry/Masonry.js +13 -10
- package/dist/components/Mentions/MentionsCore.js +15 -11
- package/dist/components/Menu/Menu.js +58 -36
- package/dist/components/Menu/MenuCheckboxItem.js +63 -0
- package/dist/components/Menu/MenuDivider.js +1 -0
- package/dist/components/Menu/MenuGroup.js +26 -0
- package/dist/components/Menu/MenuItem.js +28 -9
- package/dist/components/Menu/MenuRadioGroup.js +30 -0
- package/dist/components/Menu/MenuRadioItem.js +59 -0
- package/dist/components/Menu/MenuSub.js +1 -0
- package/dist/components/Menu/MenuSubTrigger.js +1 -0
- package/dist/components/Menu/index.js +11 -7
- package/dist/components/Menu/menu-item-styles.js +7 -0
- package/dist/components/ModelPicker/ModelPicker.js +3 -0
- package/dist/components/NavigationBar/NavLink.js +7 -6
- package/dist/components/NavigationBar/NavigationBar.js +4 -0
- package/dist/components/NumberInput/NumberInputCore.js +4 -0
- package/dist/components/OTPInput/OTPInputCore.js +10 -7
- package/dist/components/Pagination/Pagination.js +125 -33
- package/dist/components/PasswordInput/PasswordInputCore.js +9 -6
- package/dist/components/Popover/Popover.js +9 -7
- package/dist/components/Progress/Progress.js +5 -0
- package/dist/components/PromptInput/PromptInput.js +49 -41
- package/dist/components/QRCode/QRCode.js +9 -7
- package/dist/components/Radio/Radio.js +2 -0
- package/dist/components/Radio/RadioGroupCore.js +7 -6
- package/dist/components/Rating/RatingCore.js +18 -15
- package/dist/components/Resizable/Resizable.js +269 -36
- package/dist/components/Result/Result.js +5 -0
- package/dist/components/ScrollArea/ScrollArea.js +1 -0
- package/dist/components/Segmented/SegmentedCore.js +9 -7
- package/dist/components/Select/Option.js +1 -0
- package/dist/components/Select/OptionGroup.js +1 -0
- package/dist/components/Select/SelectCore.js +11 -8
- package/dist/components/Select/SelectFloating.js +54 -36
- package/dist/components/Sidebar/Sidebar.js +52 -42
- package/dist/components/Signature/Signature.js +101 -91
- package/dist/components/Skeleton/Skeleton.js +1 -0
- package/dist/components/Slider/SliderCore.js +149 -43
- package/dist/components/Sources/Sources.js +31 -21
- package/dist/components/Sparkline/Sparkline.js +45 -0
- package/dist/components/Sparkline/index.js +3 -0
- package/dist/components/Sparkline/sparkline-styles.js +18 -0
- package/dist/components/Spinner/Spinner.js +1 -0
- package/dist/components/Stat/Stat.js +7 -0
- package/dist/components/StatusBar/StatusBar.js +47 -0
- package/dist/components/StatusBar/index.js +3 -0
- package/dist/components/StepTimeline/StepTimeline.js +6 -0
- package/dist/components/Stepper/Step.js +8 -1
- package/dist/components/Stepper/Stepper.js +7 -6
- package/dist/components/StreamingText/StreamingText.js +62 -29
- package/dist/components/SwipeAction/SwipeAction.js +11 -9
- package/dist/components/Switch/SwitchCore.js +9 -5
- package/dist/components/TabBar/TabBar.js +60 -0
- package/dist/components/TabBar/index.js +3 -0
- package/dist/components/Table/Table.js +2 -0
- package/dist/components/Table/TableBody.js +1 -0
- package/dist/components/Table/TableCell.js +1 -0
- package/dist/components/Table/TableHead.js +1 -0
- package/dist/components/Table/TableRow.js +1 -0
- package/dist/components/Tabs/SortableTabList.js +116 -0
- package/dist/components/Tabs/Tab.js +84 -16
- package/dist/components/Tabs/TabList.js +94 -37
- package/dist/components/Tabs/TabPanel.js +1 -0
- package/dist/components/Tabs/Tabs.js +1 -0
- package/dist/components/Tabs/edge-scroll.js +6 -0
- package/dist/components/Tabs/index.js +4 -3
- package/dist/components/Tabs/tab-metas.js +24 -0
- package/dist/components/Tag/Tag.js +2 -0
- package/dist/components/TagGroup/SortableTagGroup.js +7 -6
- package/dist/components/TagGroup/TagGroup.js +1 -0
- package/dist/components/TagGroup/TagGroupItem.js +3 -0
- package/dist/components/TagInput/SortableTagInputCore.js +16 -13
- package/dist/components/TagInput/TagInputCore.js +17 -12
- package/dist/components/Textarea/TextareaCore.js +1 -0
- package/dist/components/ThinkingIndicator/ThinkingIndicator.js +18 -4
- package/dist/components/TimePicker/TimePicker.js +30 -14
- package/dist/components/TimePicker/TimePickerCore.js +1 -0
- package/dist/components/TimePicker/TimePickerPanel.js +260 -0
- package/dist/components/TimePicker/time-picker-styles.js +7 -0
- package/dist/components/TimePicker/time.js +51 -0
- package/dist/components/Timeline/Timeline.js +14 -1
- package/dist/components/Toast/Toast.js +94 -48
- package/dist/components/Toast/ToastContainer.js +60 -56
- package/dist/components/Toast/ToastContext.js +3 -1
- package/dist/components/Toast/index.js +1 -1
- package/dist/components/Toast/{toast2.js → toast-channel.js} +21 -15
- package/dist/components/Toast/useToast.js +36 -11
- package/dist/components/Toggle/ToggleCore.js +1 -0
- package/dist/components/TokenCounter/TokenCounter.js +8 -1
- package/dist/components/ToolCallCard/ToolCallCard.js +18 -2
- package/dist/components/Toolbar/Toolbar.js +9 -8
- package/dist/components/Toolbar/ToolbarButton.js +1 -0
- package/dist/components/Toolbar/ToolbarSeparator.js +1 -0
- package/dist/components/Toolbar/ToolbarToggle.js +1 -0
- package/dist/components/Tooltip/Tooltip.js +46 -42
- package/dist/components/Tour/Tour.js +76 -65
- package/dist/components/Transfer/TransferCore.js +31 -17
- package/dist/components/Tree/SortableTree.js +151 -0
- package/dist/components/Tree/Tree.js +163 -154
- package/dist/components/Tree/TreeItem.js +52 -39
- package/dist/components/Tree/index.js +2 -1
- package/dist/components/Tree/sortable-tree-styles.js +7 -0
- package/dist/components/Tree/sortable-tree-utils.js +36 -0
- package/dist/components/TreeSelect/TreeSelect.js +44 -34
- package/dist/components/Typography/Typography.js +3 -0
- package/dist/components/Upload/Upload.js +12 -11
- package/dist/components/Upload/UploadCore.js +92 -65
- package/dist/components/Upload/UploadList.js +177 -105
- package/dist/components/VirtualList/VirtualList.js +239 -122
- package/dist/components/Watermark/Watermark.js +8 -6
- package/dist/components/Workbench/Workbench.js +144 -0
- package/dist/components/Workbench/index.js +3 -0
- package/dist/css/accordion.css +1 -1
- package/dist/css/activity-rail.css +2 -0
- package/dist/css/alert.css +1 -1
- package/dist/css/app-shell.css +1 -1
- package/dist/css/async-section.css +1 -1
- package/dist/css/banner.css +1 -1
- package/dist/css/bottom-sheet.css +1 -1
- package/dist/css/breadcrumb.css +1 -1
- package/dist/css/button.css +2 -2
- package/dist/css/calendar.css +1 -1
- package/dist/css/carousel.css +1 -1
- package/dist/css/chat-message.css +1 -1
- package/dist/css/checkbox.css +1 -1
- package/dist/css/color-picker.css +2 -0
- package/dist/css/combobox.css +2 -2
- package/dist/css/command.css +1 -1
- package/dist/css/context-menu.css +1 -1
- package/dist/css/date-range-picker.css +1 -1
- package/dist/css/dialog.css +1 -1
- package/dist/css/drawer.css +1 -1
- package/dist/css/dropdown-menu.css +7 -2
- package/dist/css/form.css +1 -1
- package/dist/css/grid.css +2 -1
- package/dist/css/hover-card.css +1 -1
- package/dist/css/input.css +1 -1
- package/dist/css/list.css +1 -1
- package/dist/css/menu.css +9 -4
- package/dist/css/pagination.css +1 -1
- package/dist/css/popover.css +1 -1
- package/dist/css/progress.css +1 -1
- package/dist/css/radio.css +1 -1
- package/dist/css/rating.css +1 -1
- package/dist/css/resizable.css +1 -1
- package/dist/css/segmented.css +1 -1
- package/dist/css/sidebar.css +1 -1
- package/dist/css/skeleton.css +1 -1
- package/dist/css/slider.css +1 -1
- package/dist/css/sparkline.css +2 -0
- package/dist/css/spinner.css +1 -1
- package/dist/css/status-bar.css +2 -0
- package/dist/css/stepper.css +1 -1
- package/dist/css/streaming-text.css +1 -1
- package/dist/css/switch.css +1 -1
- package/dist/css/tab-bar.css +2 -0
- package/dist/css/tabs.css +3 -2
- package/dist/css/tag.css +1 -1
- package/dist/css/textarea.css +1 -1
- package/dist/css/thinking-indicator.css +1 -1
- package/dist/css/time-picker.css +1 -0
- package/dist/css/toast.css +1 -1
- package/dist/css/toggle.css +1 -1
- package/dist/css/tokens.css +1 -1
- package/dist/css/tooltip.css +1 -1
- package/dist/css/tree.css +2 -1
- package/dist/css/upload.css +1 -1
- package/dist/css/virtual-list.css +1 -1
- package/dist/css/workbench.css +2 -0
- package/dist/css-manifest.json +38 -0
- package/dist/dates/adapter.js +21 -0
- package/dist/dates/buddhist.js +43 -0
- package/dist/dates/ethiopic.js +67 -0
- package/dist/dates/gregory.js +44 -0
- package/dist/dates/hebrew.js +95 -0
- package/dist/dates/islamic.js +87 -0
- package/dist/dates/japanese.js +41 -0
- package/dist/dates/persian.js +121 -0
- package/dist/dates/registry.js +23 -0
- package/dist/dates/timezone.js +29 -0
- package/dist/design-tokens/cyan-dark.json +355 -0
- package/dist/design-tokens/cyan-light.json +355 -0
- package/dist/design-tokens/orange-dark.json +355 -0
- package/dist/design-tokens/orange-light.json +355 -0
- package/dist/design-tokens/rose-dark.json +355 -0
- package/dist/design-tokens/rose-light.json +355 -0
- package/dist/design-tokens/teal-dark.json +355 -0
- package/dist/design-tokens/teal-light.json +355 -0
- package/dist/design-tokens/violet-dark.json +355 -0
- package/dist/design-tokens/violet-light.json +355 -0
- package/dist/form/FormItem.js +71 -63
- package/dist/form/FormList.js +6 -6
- package/dist/form/form-item-styles.js +7 -0
- package/dist/haze-ui.css +78 -57
- package/dist/index.js +261 -232
- package/dist/mcp-docs.json +1587 -113
- package/dist/registry.json +132 -22
- package/dist/tokens/index.js +7 -7
- package/dist/tokens/motion.js +9 -2
- package/dist/tokens/palette.js +244 -84
- package/dist/tokens/registry.js +18 -22
- package/dist/types/components/ActivityRail/ActivityRail.d.ts +30 -0
- package/dist/types/components/ActivityRail/index.d.ts +4 -0
- package/dist/types/components/Button/Button.d.ts +1 -1
- package/dist/types/components/Calendar/Calendar.d.ts +39 -14
- package/dist/types/components/Calendar/date.d.ts +51 -0
- package/dist/types/components/Calendar/index.d.ts +1 -1
- package/dist/types/components/Carousel/Carousel.d.ts +5 -1
- package/dist/types/components/Carousel/CarouselSlide.d.ts +3 -3
- package/dist/types/components/Chart/Chart.d.ts +13 -6
- package/dist/types/components/Chart/chart-elements.d.ts +27 -6
- package/dist/types/components/ChatMessage/ChatMessage.d.ts +10 -1
- package/dist/types/components/ColorPicker/ColorPicker.d.ts +44 -5
- package/dist/types/components/ColorPicker/ColorPickerPanel.d.ts +28 -0
- package/dist/types/components/ColorPicker/color-math.d.ts +63 -0
- package/dist/types/components/ColorPicker/color-picker-styles.d.ts +50 -0
- package/dist/types/components/ConfigProvider/ConfigContext.d.ts +67 -0
- package/dist/types/components/ConfigProvider/ConfigProvider.d.ts +25 -0
- package/dist/types/components/ConfigProvider/index.d.ts +4 -0
- package/dist/types/components/ConfigProvider/useConfigDefaults.d.ts +28 -0
- package/dist/types/components/ConversationList/ConversationList.d.ts +10 -1
- package/dist/types/components/Datepicker/Datepicker.d.ts +23 -10
- package/dist/types/components/Datepicker/DatepickerCore.d.ts +40 -10
- package/dist/types/components/Datepicker/datetime.d.ts +33 -11
- package/dist/types/components/DropdownMenu/DropdownMenu.d.ts +12 -2
- package/dist/types/components/DropdownMenu/DropdownMenuCheckboxItem.d.ts +26 -0
- package/dist/types/components/DropdownMenu/DropdownMenuGroup.d.ts +16 -0
- package/dist/types/components/DropdownMenu/DropdownMenuItem.d.ts +7 -1
- package/dist/types/components/DropdownMenu/DropdownMenuRadioGroup.d.ts +21 -0
- package/dist/types/components/DropdownMenu/DropdownMenuRadioItem.d.ts +22 -0
- package/dist/types/components/DropdownMenu/dropdown-menu-item-styles.d.ts +29 -0
- package/dist/types/components/DropdownMenu/index.d.ts +9 -1
- package/dist/types/components/Fullscreen/Fullscreen.d.ts +1 -0
- package/dist/types/components/Grid/Grid.d.ts +8 -1
- package/dist/types/components/Grid/GridItem.d.ts +24 -1
- package/dist/types/components/Grid/grid-item-styles.d.ts +57 -0
- package/dist/types/components/HoverCard/HoverCard.d.ts +1 -1
- package/dist/types/components/List/List.d.ts +10 -1
- package/dist/types/components/LocaleProvider/locale.d.ts +31 -0
- package/dist/types/components/LogViewer/LogViewer.d.ts +10 -1
- package/dist/types/components/Menu/Menu.d.ts +11 -2
- package/dist/types/components/Menu/MenuCheckboxItem.d.ts +25 -0
- package/dist/types/components/Menu/MenuGroup.d.ts +16 -0
- package/dist/types/components/Menu/MenuItem.d.ts +7 -1
- package/dist/types/components/Menu/MenuRadioGroup.d.ts +20 -0
- package/dist/types/components/Menu/MenuRadioItem.d.ts +22 -0
- package/dist/types/components/Menu/index.d.ts +9 -1
- package/dist/types/components/Menu/menu-item-styles.d.ts +28 -0
- package/dist/types/components/NavigationBar/NavLink.d.ts +1 -1
- package/dist/types/components/Pagination/Pagination.d.ts +17 -3
- package/dist/types/components/Resizable/Resizable.d.ts +24 -7
- package/dist/types/components/Resizable/index.d.ts +1 -1
- package/dist/types/components/Sidebar/Sidebar.d.ts +1 -1
- package/dist/types/components/Slider/Slider.d.ts +24 -2
- package/dist/types/components/Slider/SliderCore.d.ts +41 -3
- package/dist/types/components/Sparkline/Sparkline.d.ts +31 -0
- package/dist/types/components/Sparkline/index.d.ts +3 -0
- package/dist/types/components/Sparkline/sparkline-styles.d.ts +26 -0
- package/dist/types/components/StatusBar/StatusBar.d.ts +18 -0
- package/dist/types/components/StatusBar/index.d.ts +3 -0
- package/dist/types/components/StreamingText/StreamingText.d.ts +8 -1
- package/dist/types/components/TabBar/TabBar.d.ts +23 -0
- package/dist/types/components/TabBar/index.d.ts +4 -0
- package/dist/types/components/Tabs/SortableTabList.d.ts +46 -0
- package/dist/types/components/Tabs/Tab.d.ts +54 -3
- package/dist/types/components/Tabs/TabList.d.ts +26 -2
- package/dist/types/components/Tabs/edge-scroll.d.ts +17 -0
- package/dist/types/components/Tabs/index.d.ts +3 -1
- package/dist/types/components/Tabs/tab-metas.d.ts +20 -0
- package/dist/types/components/TimePicker/TimePicker.d.ts +36 -4
- package/dist/types/components/TimePicker/TimePickerPanel.d.ts +26 -0
- package/dist/types/components/TimePicker/index.d.ts +1 -0
- package/dist/types/components/TimePicker/time-picker-styles.d.ts +30 -0
- package/dist/types/components/TimePicker/time.d.ts +49 -0
- package/dist/types/components/Toast/Toast.d.ts +19 -6
- package/dist/types/components/Toast/ToastContainer.d.ts +1 -1
- package/dist/types/components/Toast/ToastContext.d.ts +22 -2
- package/dist/types/components/Toast/index.d.ts +2 -2
- package/dist/types/components/Toast/{toast.d.ts → toast-channel.d.ts} +20 -14
- package/dist/types/components/Toast/useToast.d.ts +14 -4
- package/dist/types/components/Tooltip/Tooltip.d.ts +1 -1
- package/dist/types/components/Tree/SortableTree.d.ts +38 -0
- package/dist/types/components/Tree/Tree.d.ts +1 -1
- package/dist/types/components/Tree/index.d.ts +2 -0
- package/dist/types/components/Tree/sortable-tree-styles.d.ts +36 -0
- package/dist/types/components/Tree/sortable-tree-utils.d.ts +40 -0
- package/dist/types/components/Upload/Upload.d.ts +17 -10
- package/dist/types/components/Upload/UploadCore.d.ts +26 -12
- package/dist/types/components/Upload/UploadList.d.ts +10 -7
- package/dist/types/components/Upload/index.d.ts +1 -1
- package/dist/types/components/Upload/types.d.ts +33 -7
- package/dist/types/components/VirtualList/VirtualList.d.ts +98 -26
- package/dist/types/components/VirtualList/index.d.ts +1 -1
- package/dist/types/components/Workbench/Workbench.d.ts +50 -0
- package/dist/types/components/Workbench/index.d.ts +2 -0
- package/dist/types/dates/adapter.d.ts +101 -0
- package/dist/types/dates/buddhist.d.ts +14 -0
- package/dist/types/dates/ethiopic.d.ts +15 -0
- package/dist/types/dates/gregory.d.ts +10 -0
- package/dist/types/dates/hebrew.d.ts +19 -0
- package/dist/types/dates/index.d.ts +11 -0
- package/dist/types/dates/islamic.d.ts +17 -0
- package/dist/types/dates/japanese.d.ts +16 -0
- package/dist/types/dates/persian.d.ts +18 -0
- package/dist/types/dates/registry.d.ts +13 -0
- package/dist/types/dates/timezone.d.ts +36 -0
- package/dist/types/form/FormItem.d.ts +31 -1
- package/dist/types/form/form-item-styles.d.ts +24 -0
- package/dist/types/index.d.ts +31 -13
- package/dist/types/tokens/index.d.ts +4 -2
- package/dist/types/tokens/motion.d.ts +16 -0
- package/dist/types/tokens/palette.d.ts +59 -2
- package/dist/types/utils/menuItems.d.ts +126 -0
- package/dist/types/utils/menuRadio.d.ts +21 -0
- package/dist/types/utils/sortable.d.ts +8 -1
- package/dist/types/utils/use-end-reached.d.ts +56 -0
- package/dist/types/utils/viewport.d.ts +12 -0
- package/dist/utils/floating.js +45 -44
- package/dist/utils/menuItems.js +55 -0
- package/dist/utils/menuKeyboard.js +31 -31
- package/dist/utils/menuRadio.js +28 -0
- package/dist/utils/sortable.js +7 -5
- package/dist/utils/use-end-reached.js +46 -0
- package/dist/utils/viewport.js +20 -0
- package/package.json +26 -9
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* haze-ui async-section — generated by scripts/split-css.mjs, do not edit */
|
|
2
|
-
.haze-AsyncSection__base{font-family:var(--haze-font-sans);color:var(--haze-color-text)}.haze-AsyncSection__placeholder{align-items:center;gap:var(--haze-space-3);padding:var(--haze-space-8) var(--haze-space-4);color:var(--haze-color-text-muted);font-size:var(--haze-text-sm);flex-direction:column;display:flex}.haze-AsyncSection__spin{width:24px;height:24px;animation:.8s linear infinite spin-haze-AsyncSection__spin;display:inline-flex}@keyframes spin-haze-AsyncSection__spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.haze-AsyncSection__errorBox{-webkit-align-items:flex-start;-webkit-box-align:flex-start;-ms-flex-align:flex-start;align-items:flex-start;gap:var(--haze-space-4);padding:var(--haze-space-3) var(--haze-space-4);border-radius:var(--haze-radius-md);background:var(--haze-color-danger-subtle);border:1px solid color-mix(in srgb, var(--haze-color-danger) 25%, transparent);font-size:var(--haze-text-sm);line-height:var(--haze-leading-normal);flex-direction:column;display:flex}.haze-AsyncSection__errorMessage{color:var(--haze-color-danger);margin:0}.haze-AsyncSection__retryButton{align-items:center;gap:var(--haze-space-2);padding:var(--haze-space-1) var(--haze-space-3);border:1px solid var(--haze-color-border);border-radius:var(--haze-radius-md);color:var(--haze-color-text);font-family:var(--haze-font-sans);font-size:var(--haze-text-sm);font-weight:var(--haze-weight-medium);line-height:var(--haze-leading-tight);cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-transition:background var(--haze-duration-fast),border-color var(--haze-duration-fast);transition:background var(--haze-duration-fast),border-color var(--haze-duration-fast);background:0 0;display:inline-flex}.haze-AsyncSection__retryButton:hover{border-color:var(--haze-color-border-hover);background:var(--haze-color-bg-subtle)}.haze-AsyncSection__retryButton:focus-visible{box-shadow:0 0 0 3px var(--haze-color-focus-ring);outline:none}
|
|
2
|
+
.haze-AsyncSection__base{font-family:var(--haze-font-sans);color:var(--haze-color-text)}.haze-AsyncSection__placeholder{align-items:center;gap:var(--haze-space-3);padding:var(--haze-space-8) var(--haze-space-4);color:var(--haze-color-text-muted);font-size:var(--haze-text-sm);flex-direction:column;display:flex}.haze-AsyncSection__spin{width:24px;height:24px;animation:.8s linear infinite spin-haze-AsyncSection__spin;display:inline-flex}@media (prefers-reduced-motion:reduce){.haze-AsyncSection__spin{animation-duration:.01ms;animation-iteration-count:1}}@keyframes spin-haze-AsyncSection__spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.haze-AsyncSection__errorBox{-webkit-align-items:flex-start;-webkit-box-align:flex-start;-ms-flex-align:flex-start;align-items:flex-start;gap:var(--haze-space-4);padding:var(--haze-space-3) var(--haze-space-4);border-radius:var(--haze-radius-md);background:var(--haze-color-danger-subtle);border:1px solid color-mix(in srgb, var(--haze-color-danger) 25%, transparent);font-size:var(--haze-text-sm);line-height:var(--haze-leading-normal);flex-direction:column;display:flex}.haze-AsyncSection__errorMessage{color:var(--haze-color-danger);margin:0}.haze-AsyncSection__retryButton{align-items:center;gap:var(--haze-space-2);padding:var(--haze-space-1) var(--haze-space-3);border:1px solid var(--haze-color-border);border-radius:var(--haze-radius-md);color:var(--haze-color-text);font-family:var(--haze-font-sans);font-size:var(--haze-text-sm);font-weight:var(--haze-weight-medium);line-height:var(--haze-leading-tight);cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-transition:background var(--haze-duration-fast),border-color var(--haze-duration-fast);transition:background var(--haze-duration-fast),border-color var(--haze-duration-fast);background:0 0;display:inline-flex}.haze-AsyncSection__retryButton:hover{border-color:var(--haze-color-border-hover);background:var(--haze-color-bg-subtle)}.haze-AsyncSection__retryButton:focus-visible{box-shadow:0 0 0 3px var(--haze-color-focus-ring);outline:none}
|
package/dist/css/banner.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* haze-ui banner — generated by scripts/split-css.mjs, do not edit */
|
|
2
|
-
.haze-Banner__banner{-webkit-box-pack:justify;align-items:center;-ms-flex-pack:space-between;padding:var(--haze-space-3) var(--haze-space-4);font-family:var(--haze-font-sans);font-size:var(--haze-text-sm);border-radius:var(--haze-radius-md);justify-content:space-between;display:flex}.haze-Banner__info{background:var(--haze-color-info-subtle);color:var(--haze-color-info)}.haze-Banner__success{background:var(--haze-color-success-subtle);color:var(--haze-color-success)}.haze-Banner__warning{background:var(--haze-color-warning-subtle);color:var(--haze-color-warning)}.haze-Banner__danger{background:var(--haze-color-danger-subtle);color:var(--haze-color-danger)}.haze-Banner__closeBtn{cursor:pointer;color:inherit;opacity:.7;font-size:var(--haze-text-lg);padding:var(--haze-space-2);background:0 0;border:none;min-width:2.5rem;min-height:2.5rem;line-height:1}.haze-Banner__closeBtn:hover{opacity:1}.haze-Banner__content{flex:1}
|
|
2
|
+
.haze-Banner__banner{-webkit-box-pack:justify;align-items:center;-ms-flex-pack:space-between;padding:var(--haze-space-3) var(--haze-space-4);font-family:var(--haze-font-sans);font-size:var(--haze-text-sm);border-radius:var(--haze-radius-md);justify-content:space-between;display:flex}@media (forced-colors:active){.haze-Banner__banner{border:1px solid canvastext}}.haze-Banner__info{background:var(--haze-color-info-subtle);color:var(--haze-color-info)}.haze-Banner__success{background:var(--haze-color-success-subtle);color:var(--haze-color-success)}.haze-Banner__warning{background:var(--haze-color-warning-subtle);color:var(--haze-color-warning)}.haze-Banner__danger{background:var(--haze-color-danger-subtle);color:var(--haze-color-danger)}.haze-Banner__closeBtn{cursor:pointer;color:inherit;opacity:.7;font-size:var(--haze-text-lg);padding:var(--haze-space-2);background:0 0;border:none;min-width:2.5rem;min-height:2.5rem;line-height:1}.haze-Banner__closeBtn:hover{opacity:1}@media (forced-colors:active){.haze-Banner__closeBtn:focus-visible{outline:2px solid highlight}}.haze-Banner__content{flex:1}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* haze-ui bottom-sheet — generated by scripts/split-css.mjs, do not edit */
|
|
2
|
-
.haze-BottomSheet__overlay{z-index:100;-webkit-align-items:flex-end;-webkit-box-align:flex-end;-ms-flex-align:flex-end;background:#0006;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.haze-BottomSheet__overlay[data-state=open]{-webkit-animation:haze-sheet-backdrop-in-haze-BottomSheet__overlay var(--haze-duration-normal) var(--haze-ease);animation:haze-sheet-backdrop-in-haze-BottomSheet__overlay var(--haze-duration-normal) var(--haze-ease)}.haze-BottomSheet__overlay[data-state=closed]{-webkit-animation:haze-sheet-backdrop-out-haze-BottomSheet__overlay var(--haze-duration-fast) var(--haze-ease);animation:haze-sheet-backdrop-out-haze-BottomSheet__overlay var(--haze-duration-fast) var(--haze-ease)}@keyframes haze-sheet-backdrop-in-haze-BottomSheet__overlay{0%{opacity:0}}@keyframes haze-sheet-backdrop-out-haze-BottomSheet__overlay{to{opacity:0}}.haze-BottomSheet__sheet{box-sizing:border-box;background:var(--haze-color-bg);border-radius:var(--haze-radius-xl) var(--haze-radius-xl) 0 0;padding:var(--haze-space-4) var(--haze-space-6) calc(var(--haze-space-4) + env(safe-area-inset-bottom));width:100%;max-width:640px;max-height:80vh;font-family:var(--haze-font-sans);color:var(--haze-color-text);box-shadow:var(--haze-shadow-xl);overflow-y:auto}[data-state=open] .haze-BottomSheet__sheet{-webkit-animation:haze-sheet-in-haze-BottomSheet__sheet var(--haze-duration-normal) var(--haze-ease);animation:haze-sheet-in-haze-BottomSheet__sheet var(--haze-duration-normal) var(--haze-ease)}[data-state=closed] .haze-BottomSheet__sheet{-webkit-animation:haze-sheet-out-haze-BottomSheet__sheet var(--haze-duration-fast) var(--haze-ease);animation:haze-sheet-out-haze-BottomSheet__sheet var(--haze-duration-fast) var(--haze-ease)}@keyframes haze-sheet-in-haze-BottomSheet__sheet{0%{transform:translateY(100%)}}@keyframes haze-sheet-out-haze-BottomSheet__sheet{to{transform:translateY(100%)}}.haze-BottomSheet__handle{background:var(--haze-color-border);border-radius:var(--haze-radius-full);width:2rem;height:.25rem;margin:0 auto var(--haze-space-4)}.haze-BottomSheet__swipeable{touch-action:pan-y;overscroll-behavior-y:none}
|
|
2
|
+
.haze-BottomSheet__overlay{z-index:100;-webkit-align-items:flex-end;-webkit-box-align:flex-end;-ms-flex-align:flex-end;background:#0006;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.haze-BottomSheet__overlay[data-state=open]{-webkit-animation:haze-sheet-backdrop-in-haze-BottomSheet__overlay var(--haze-duration-normal) var(--haze-ease);animation:haze-sheet-backdrop-in-haze-BottomSheet__overlay var(--haze-duration-normal) var(--haze-ease)}.haze-BottomSheet__overlay[data-state=closed]{-webkit-animation:haze-sheet-backdrop-out-haze-BottomSheet__overlay var(--haze-duration-fast) var(--haze-ease);animation:haze-sheet-backdrop-out-haze-BottomSheet__overlay var(--haze-duration-fast) var(--haze-ease)}@keyframes haze-sheet-backdrop-in-haze-BottomSheet__overlay{0%{opacity:0}}@keyframes haze-sheet-backdrop-out-haze-BottomSheet__overlay{to{opacity:0}}.haze-BottomSheet__sheet{box-sizing:border-box;background:var(--haze-color-bg);border-radius:var(--haze-radius-xl) var(--haze-radius-xl) 0 0;padding:var(--haze-space-4) var(--haze-space-6) calc(var(--haze-space-4) + env(safe-area-inset-bottom));width:100%;max-width:640px;max-height:80vh;font-family:var(--haze-font-sans);color:var(--haze-color-text);box-shadow:var(--haze-shadow-xl);overflow-y:auto}[data-state=open] .haze-BottomSheet__sheet{-webkit-animation:haze-sheet-in-haze-BottomSheet__sheet var(--haze-duration-normal) var(--haze-ease);animation:haze-sheet-in-haze-BottomSheet__sheet var(--haze-duration-normal) var(--haze-ease)}[data-state=closed] .haze-BottomSheet__sheet{-webkit-animation:haze-sheet-out-haze-BottomSheet__sheet var(--haze-duration-fast) var(--haze-ease);animation:haze-sheet-out-haze-BottomSheet__sheet var(--haze-duration-fast) var(--haze-ease)}@keyframes haze-sheet-in-haze-BottomSheet__sheet{0%{transform:translateY(100%)}}@keyframes haze-sheet-out-haze-BottomSheet__sheet{to{transform:translateY(100%)}}@media (forced-colors:active){.haze-BottomSheet__sheet{border:1px solid canvastext;border-bottom:none}}.haze-BottomSheet__handle{background:var(--haze-color-border);border-radius:var(--haze-radius-full);width:2rem;height:.25rem;margin:0 auto var(--haze-space-4)}@media (forced-colors:active){.haze-BottomSheet__handle{background:canvastext}}.haze-BottomSheet__swipeable{touch-action:pan-y;overscroll-behavior-y:none}
|
package/dist/css/breadcrumb.css
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/* haze-ui breadcrumb — generated by scripts/split-css.mjs, do not edit */
|
|
2
2
|
.haze-Breadcrumb__nav{font-family:var(--haze-font-sans);font-size:var(--haze-text-sm)}.haze-Breadcrumb__list{align-items:center;gap:var(--haze-space-2);white-space:nowrap;margin:0;padding:0;list-style:none;display:flex;overflow-x:auto}.haze-Breadcrumb__sep{color:var(--haze-color-text-muted);-webkit-user-select:none;user-select:none}
|
|
3
|
-
.haze-BreadcrumbItem__link{color:var(--haze-color-primary);-webkit-transition:color var(--haze-duration-fast);transition:color var(--haze-duration-fast);-webkit-text-decoration:none;text-decoration:none}.haze-BreadcrumbItem__link:hover{color:var(--haze-color-primary-hover);-webkit-text-decoration:underline;text-decoration:underline}.haze-BreadcrumbItem__link:focus-visible{box-shadow:0 0 0 3px var(--haze-color-focus-ring);border-radius:var(--haze-radius-sm);outline:none}.haze-BreadcrumbItem__current{color:var(--haze-color-text);font-weight:var(--haze-weight-medium)}
|
|
3
|
+
.haze-BreadcrumbItem__link{min-height:var(--haze-space-6);color:var(--haze-color-primary);-webkit-transition:color var(--haze-duration-fast);transition:color var(--haze-duration-fast);align-items:center;-webkit-text-decoration:none;text-decoration:none;display:inline-flex}.haze-BreadcrumbItem__link:hover{color:var(--haze-color-primary-hover);-webkit-text-decoration:underline;text-decoration:underline}.haze-BreadcrumbItem__link:focus-visible{box-shadow:0 0 0 3px var(--haze-color-focus-ring);border-radius:var(--haze-radius-sm);outline:none}.haze-BreadcrumbItem__current{color:var(--haze-color-text);font-weight:var(--haze-weight-medium)}
|
package/dist/css/button.css
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/* haze-ui button — generated by scripts/split-css.mjs, do not edit */
|
|
2
|
-
.haze-ButtonLink__link{-webkit-text-decoration:none;text-decoration:none}.haze-ButtonLink__link[aria-disabled=true]{opacity:.5;cursor:not-allowed;pointer-events:none}
|
|
3
|
-
.haze-styles__base{justify-content:center;align-items:center;gap:var(--haze-space-2);border-radius:var(--haze-button-radius,var(--haze-radius-md));font-family:var(--haze-font-sans);font-weight:var(--haze-weight-medium);line-height:var(--haze-leading-tight);cursor:pointer;-webkit-transition:background var(--haze-duration-fast),color var(--haze-duration-fast),border-color var(--haze-duration-fast),box-shadow var(--haze-duration-fast);transition:background var(--haze-duration-fast),color var(--haze-duration-fast),border-color var(--haze-duration-fast),box-shadow var(--haze-duration-fast);-webkit-user-select:none;user-select:none;border:1px solid #0000;display:inline-flex}.haze-styles__base:focus-visible{box-shadow:0 0 0 3px var(--haze-color-focus-ring);outline:none}.haze-styles__base:disabled{opacity:.5;cursor:not-allowed;pointer-events:none}.haze-styles__solid{background:var(--haze-color-primary);color:var(--haze-color-text-inverse)}.haze-styles__solid:hover{background:var(--haze-color-primary-hover)}.haze-styles__solid:active{background:var(--haze-color-primary-active)}.haze-styles__outline{border-color:var(--haze-color-border);color:var(--haze-color-text);background:0 0}.haze-styles__outline:hover{border-color:var(--haze-color-border-hover);background:var(--haze-color-bg-subtle)}.haze-styles__outline:active{background:var(--haze-color-bg-muted)}.haze-styles__ghost{color:var(--haze-color-text);background:0 0}.haze-styles__ghost:hover{background:var(--haze-color-bg-subtle)}.haze-styles__ghost:active{background:var(--haze-color-bg-muted)}.haze-styles__sizeSm{height:var(--haze-button-height-sm,auto);padding:var(--haze-space-1) var(--haze-space-3);font-size:var(--haze-button-font-size-sm,var(--haze-text-sm))}.haze-styles__sizeMd{height:var(--haze-button-height-md,auto);padding:var(--haze-space-2) var(--haze-space-4);font-size:var(--haze-button-font-size-md,var(--haze-text-sm))}.haze-styles__sizeLg{height:var(--haze-button-height-lg,auto);padding:var(--haze-space-3) var(--haze-space-6);font-size:var(--haze-button-font-size-lg,var(--haze-text-base))}.haze-styles__squareSm{height:var(--haze-button-height-sm,auto);padding:var(--haze-space-1);font-size:var(--haze-button-font-size-sm,var(--haze-text-sm))}.haze-styles__squareMd{height:var(--haze-button-height-md,auto);padding:var(--haze-space-2);font-size:var(--haze-button-font-size-md,var(--haze-text-sm))}.haze-styles__squareLg{height:var(--haze-button-height-lg,auto);padding:var(--haze-space-3);font-size:var(--haze-button-font-size-lg,var(--haze-text-base))}
|
|
2
|
+
.haze-ButtonLink__link{-webkit-text-decoration:none;text-decoration:none}.haze-ButtonLink__link[aria-disabled=true]{opacity:.5;cursor:not-allowed;pointer-events:none}@media (forced-colors:active){.haze-ButtonLink__link[aria-disabled=true]{opacity:1;color:graytext}}
|
|
3
|
+
.haze-styles__base{justify-content:center;align-items:center;gap:var(--haze-space-2);border-radius:var(--haze-button-radius,var(--haze-radius-md));font-family:var(--haze-font-sans);font-weight:var(--haze-weight-medium);line-height:var(--haze-leading-tight);cursor:pointer;-webkit-transition:background var(--haze-duration-fast),color var(--haze-duration-fast),border-color var(--haze-duration-fast),box-shadow var(--haze-duration-fast);transition:background var(--haze-duration-fast),color var(--haze-duration-fast),border-color var(--haze-duration-fast),box-shadow var(--haze-duration-fast);-webkit-user-select:none;user-select:none;border:1px solid #0000;display:inline-flex}.haze-styles__base:focus-visible{box-shadow:0 0 0 3px var(--haze-color-focus-ring);outline:none}.haze-styles__base:disabled{opacity:.5;cursor:not-allowed;pointer-events:none}@media (forced-colors:active){.haze-styles__base{border-color:buttontext}.haze-styles__base:focus-visible{outline-offset:2px;outline:2px solid highlight}.haze-styles__base:disabled{opacity:1;color:graytext}}.haze-styles__solid{background:var(--haze-color-primary);color:var(--haze-color-text-inverse)}.haze-styles__solid:hover{background:var(--haze-color-primary-hover)}.haze-styles__solid:active{background:var(--haze-color-primary-active)}.haze-styles__outline{border-color:var(--haze-color-border);color:var(--haze-color-text);background:0 0}.haze-styles__outline:hover{border-color:var(--haze-color-border-hover);background:var(--haze-color-bg-subtle)}.haze-styles__outline:active{background:var(--haze-color-bg-muted)}.haze-styles__ghost{color:var(--haze-color-text);background:0 0}.haze-styles__ghost:hover{background:var(--haze-color-bg-subtle)}.haze-styles__ghost:active{background:var(--haze-color-bg-muted)}.haze-styles__sizeSm{height:var(--haze-button-height-sm,auto);padding:var(--haze-space-1) var(--haze-space-3);font-size:var(--haze-button-font-size-sm,var(--haze-text-sm))}.haze-styles__sizeMd{height:var(--haze-button-height-md,auto);padding:var(--haze-space-2) var(--haze-space-4);font-size:var(--haze-button-font-size-md,var(--haze-text-sm))}.haze-styles__sizeLg{height:var(--haze-button-height-lg,auto);padding:var(--haze-space-3) var(--haze-space-6);font-size:var(--haze-button-font-size-lg,var(--haze-text-base))}.haze-styles__squareSm{height:var(--haze-button-height-sm,auto);padding:var(--haze-space-1);font-size:var(--haze-button-font-size-sm,var(--haze-text-sm))}.haze-styles__squareMd{height:var(--haze-button-height-md,auto);padding:var(--haze-space-2);font-size:var(--haze-button-font-size-md,var(--haze-text-sm))}.haze-styles__squareLg{height:var(--haze-button-height-lg,auto);padding:var(--haze-space-3);font-size:var(--haze-button-font-size-lg,var(--haze-text-base))}
|
package/dist/css/calendar.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* haze-ui calendar — generated by scripts/split-css.mjs, do not edit */
|
|
2
|
-
.haze-Calendar__calendarWrapper{padding:var(--haze-space-3);font-family:var(--haze-font-sans);font-size:var(--haze-text-sm)}.haze-Calendar__header{-webkit-box-pack:justify;align-items:center;-ms-flex-pack:space-between;justify-content:space-between;gap:var(--haze-space-2);margin-block-end:var(--haze-space-2);display:flex}.haze-Calendar__headerBtn{appearance:none;color:var(--haze-color-text);cursor:pointer;padding:var(--haze-space-1);border-radius:var(--haze-radius-sm);font-size:var(--haze-text-sm);font-family:var(--haze-font-sans);background:0 0;border:none;line-height:1}.haze-Calendar__headerBtn:hover{background:var(--haze-color-bg-subtle)}.haze-Calendar__headerBtn:focus-visible{box-shadow:0 0 0 3px var(--haze-color-focus-ring);outline:none}.haze-Calendar__headerTitle{font-weight:var(--haze-weight-medium);color:var(--haze-color-text)}.haze-Calendar__titleBtn{appearance:none;color:inherit;font-family:inherit;font-size:inherit;line-height:inherit;cursor:pointer;border-radius:var(--haze-radius-sm);background:0 0;border:none;margin:0;padding:0}.haze-Calendar__titleBtn:hover{background:var(--haze-color-bg-subtle)}.haze-Calendar__titleBtn:focus-visible{box-shadow:0 0 0 3px var(--haze-color-focus-ring);outline:none}.haze-Calendar__headerTrailing{align-items:center;gap:var(--haze-space-1);display:inline-flex}.haze-Calendar__grid{display:-ms-grid;-ms-grid-columns:repeat(7, 1fr);text-align:center;grid-template-columns:repeat(7,1fr);gap:1px;display:grid}.haze-Calendar__rowContents,.haze-Calendar__cellContents{display:contents}.haze-Calendar__weekday{padding:var(--haze-space-1);font-weight:var(--haze-weight-medium);color:var(--haze-color-text-muted);font-size:var(--haze-text-xs)}.haze-Calendar__weekNumber{padding:var(--haze-space-2);color:var(--haze-color-text-muted);font-size:var(--haze-text-xs)}.haze-Calendar__dayBtn{appearance:none;color:var(--haze-color-text);cursor:pointer;padding:var(--haze-space-2);border-radius:var(--haze-radius-sm);font-size:var(--haze-text-sm);-webkit-transition:background var(--haze-duration-fast) var(--haze-ease);transition:background var(--haze-duration-fast) var(--haze-ease);background:0 0;border:none;line-height:1.5}.haze-Calendar__dayBtn:hover{background:var(--haze-color-bg-subtle)}.haze-Calendar__dayBtn:focus-visible{box-shadow:0 0 0 3px var(--haze-color-focus-ring);outline:none}.haze-Calendar__dayBtn:disabled{opacity:.3;cursor:not-allowed}.haze-Calendar__daySelected{background:var(--haze-color-primary);color:var(--haze-color-text-inverse)}.haze-Calendar__daySelected:hover{background:var(--haze-color-primary-hover)}.haze-Calendar__dayInRange{background:var(--haze-color-primary-subtle)}.haze-Calendar__dayOutside{color:var(--haze-color-text-muted)}.haze-Calendar__monthPanels{-webkit-align-items:flex-start;-webkit-box-align:flex-start;-ms-flex-align:flex-start;align-items:flex-start;gap:var(--haze-space-4);display:flex}.haze-Calendar__monthPanel{flex-direction:column;display:flex}.haze-Calendar__paneHeader{justify-content:center;align-items:center;gap:var(--haze-space-2);margin-block-end:var(--haze-space-2);display:flex}.haze-Calendar__quickSelect{flex-direction:column;display:flex}.haze-Calendar__quickToolbar{justify-content:center;align-items:center;gap:var(--haze-space-2);margin-block-end:var(--haze-space-2);display:flex}.haze-Calendar__quickGrid{display:-ms-grid;-ms-grid-columns:repeat(3, 1fr);text-align:center;grid-template-columns:repeat(3,1fr);gap:1px;display:grid}.haze-Calendar__quarterGrid{display:-ms-grid;-ms-grid-columns:repeat(4, 1fr);text-align:center;grid-template-columns:repeat(4,1fr);gap:1px;display:grid}
|
|
2
|
+
.haze-Calendar__calendarWrapper{padding:var(--haze-space-3);font-family:var(--haze-font-sans);font-size:var(--haze-text-sm)}.haze-Calendar__header{-webkit-box-pack:justify;align-items:center;-ms-flex-pack:space-between;justify-content:space-between;gap:var(--haze-space-2);margin-block-end:var(--haze-space-2);display:flex}.haze-Calendar__headerBtn{appearance:none;color:var(--haze-color-text);cursor:pointer;padding:var(--haze-space-1);border-radius:var(--haze-radius-sm);font-size:var(--haze-text-sm);font-family:var(--haze-font-sans);background:0 0;border:none;line-height:1}.haze-Calendar__headerBtn:hover{background:var(--haze-color-bg-subtle)}.haze-Calendar__headerBtn:focus-visible{box-shadow:0 0 0 3px var(--haze-color-focus-ring);outline:none}.haze-Calendar__headerTitle{font-weight:var(--haze-weight-medium);color:var(--haze-color-text)}.haze-Calendar__headerTitles{align-items:baseline;gap:var(--haze-space-1);display:inline-flex}.haze-Calendar__titleBtn{appearance:none;color:inherit;font-family:inherit;font-size:inherit;line-height:inherit;cursor:pointer;border-radius:var(--haze-radius-sm);background:0 0;border:none;margin:0;padding:0}.haze-Calendar__titleBtn:hover{background:var(--haze-color-bg-subtle)}.haze-Calendar__titleBtn:focus-visible{box-shadow:0 0 0 3px var(--haze-color-focus-ring);outline:none}.haze-Calendar__headerTrailing{align-items:center;gap:var(--haze-space-1);display:inline-flex}.haze-Calendar__grid{display:-ms-grid;-ms-grid-columns:repeat(7, 1fr);text-align:center;grid-template-columns:repeat(7,1fr);gap:1px;display:grid}.haze-Calendar__rowContents,.haze-Calendar__cellContents{display:contents}.haze-Calendar__weekday{padding:var(--haze-space-1);font-weight:var(--haze-weight-medium);color:var(--haze-color-text-muted);font-size:var(--haze-text-xs)}.haze-Calendar__weekNumber{padding:var(--haze-space-2);color:var(--haze-color-text-muted);font-size:var(--haze-text-xs)}.haze-Calendar__weekNumberSelected{color:var(--haze-color-primary);font-weight:var(--haze-weight-medium)}.haze-Calendar__dayContent{align-items:center;gap:var(--haze-space-1);flex-direction:column;display:inline-flex}.haze-Calendar__dayBtn{appearance:none;color:var(--haze-color-text);cursor:pointer;padding:var(--haze-space-2);border-radius:var(--haze-radius-sm);font-size:var(--haze-text-sm);-webkit-transition:background var(--haze-duration-fast) var(--haze-ease);transition:background var(--haze-duration-fast) var(--haze-ease);background:0 0;border:none;line-height:1.5}.haze-Calendar__dayBtn:hover{background:var(--haze-color-bg-subtle)}.haze-Calendar__dayBtn:focus-visible{box-shadow:0 0 0 3px var(--haze-color-focus-ring);outline:none}.haze-Calendar__dayBtn:disabled{opacity:.3;cursor:not-allowed}.haze-Calendar__daySelected{background:var(--haze-color-primary);color:var(--haze-color-text-inverse)}.haze-Calendar__daySelected:hover{background:var(--haze-color-primary-hover)}.haze-Calendar__dayInRange{background:var(--haze-color-primary-subtle)}.haze-Calendar__dayOutside{color:var(--haze-color-text-muted)}.haze-Calendar__monthPanels{-webkit-align-items:flex-start;-webkit-box-align:flex-start;-ms-flex-align:flex-start;align-items:flex-start;gap:var(--haze-space-4);display:flex}.haze-Calendar__monthPanel{flex-direction:column;display:flex}.haze-Calendar__paneHeader{justify-content:center;align-items:center;gap:var(--haze-space-2);margin-block-end:var(--haze-space-2);display:flex}.haze-Calendar__quickSelect{flex-direction:column;display:flex}.haze-Calendar__quickToolbar{justify-content:center;align-items:center;gap:var(--haze-space-2);margin-block-end:var(--haze-space-2);display:flex}.haze-Calendar__quickGrid{display:-ms-grid;-ms-grid-columns:repeat(3, 1fr);text-align:center;grid-template-columns:repeat(3,1fr);gap:1px;display:grid}.haze-Calendar__quarterGrid{display:-ms-grid;-ms-grid-columns:repeat(4, 1fr);text-align:center;grid-template-columns:repeat(4,1fr);gap:1px;display:grid}
|
package/dist/css/carousel.css
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/* haze-ui carousel — generated by scripts/split-css.mjs, do not edit */
|
|
2
|
-
.haze-Carousel__wrapper{border-radius:var(--haze-radius-lg);position:relative;overflow:hidden}.haze-Carousel__track{-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;display:flex;overflow-x:auto}.haze-Carousel__track::-webkit-scrollbar{display:none}.haze-Carousel__navBtn{z-index:1;appearance:none;border-radius:var(--haze-radius-full);background:var(--haze-color-bg);width:2.5rem;height:2.5rem;color:var(--haze-color-text);font-size:var(--haze-text-lg);cursor:pointer;box-shadow:var(--haze-shadow-md);-webkit-transition:background var(--haze-duration-fast);transition:background var(--haze-duration-fast);border:none;justify-content:center;align-items:center;display:flex;position:absolute;top:50%;transform:translateY(-50%)}.haze-Carousel__navBtn:hover{background:var(--haze-color-bg-subtle)}.haze-Carousel__navBtn:focus-visible{box-shadow:var(--haze-shadow-md),0 0 0 3px var(--haze-color-focus-ring);outline:none}.haze-Carousel__prevBtn{inset-inline-start:var(--haze-space-2)}[dir=rtl] .haze-Carousel__prevBtn{scale:-1 1}.haze-Carousel__nextBtn{inset-inline-end:var(--haze-space-2)}[dir=rtl] .haze-Carousel__nextBtn{scale:-1 1}.haze-Carousel__indicators{justify-content:center;gap:var(--haze-space-1);padding:var(--haze-space-2) 0;display:flex}.haze-Carousel__dot{border-radius:var(--haze-radius-full);background:var(--haze-color-bg-muted);cursor:pointer;width:.625rem;height:.625rem;-webkit-transition:background var(--haze-duration-fast);transition:background var(--haze-duration-fast);border:none;padding:.375rem}.haze-Carousel__dotActive{background:var(--haze-color-primary)}
|
|
2
|
+
.haze-Carousel__wrapper{border-radius:var(--haze-radius-lg);position:relative;overflow:hidden}.haze-Carousel__track{-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;display:flex;overflow-x:auto}.haze-Carousel__track::-webkit-scrollbar{display:none}.haze-Carousel__fadeTrack{display:-ms-grid;display:grid;overflow:hidden}.haze-Carousel__fadeTrack>*{opacity:0;visibility:hidden;-webkit-transition:opacity var(--haze-duration-normal) var(--haze-ease),visibility var(--haze-duration-normal) var(--haze-ease);transition:opacity var(--haze-duration-normal) var(--haze-ease),visibility var(--haze-duration-normal) var(--haze-ease);grid-area:1/1}.haze-Carousel__fadeTrack>:where([data-active]){opacity:1;visibility:visible}.haze-Carousel__navBtn{z-index:1;appearance:none;border-radius:var(--haze-radius-full);background:var(--haze-color-bg);width:2.5rem;height:2.5rem;color:var(--haze-color-text);font-size:var(--haze-text-lg);cursor:pointer;box-shadow:var(--haze-shadow-md);-webkit-transition:background var(--haze-duration-fast);transition:background var(--haze-duration-fast);border:none;justify-content:center;align-items:center;display:flex;position:absolute;top:50%;transform:translateY(-50%)}.haze-Carousel__navBtn:hover{background:var(--haze-color-bg-subtle)}.haze-Carousel__navBtn:focus-visible{box-shadow:var(--haze-shadow-md),0 0 0 3px var(--haze-color-focus-ring);outline:none}.haze-Carousel__prevBtn{inset-inline-start:var(--haze-space-2)}[dir=rtl] .haze-Carousel__prevBtn{scale:-1 1}.haze-Carousel__nextBtn{inset-inline-end:var(--haze-space-2)}[dir=rtl] .haze-Carousel__nextBtn{scale:-1 1}.haze-Carousel__indicators{justify-content:center;gap:var(--haze-space-1);padding:var(--haze-space-2) 0;display:flex}.haze-Carousel__dot{border-radius:var(--haze-radius-full);background:var(--haze-color-bg-muted);cursor:pointer;width:.625rem;height:.625rem;-webkit-transition:background var(--haze-duration-fast);transition:background var(--haze-duration-fast);border:none;padding:.375rem}.haze-Carousel__dotActive{background:var(--haze-color-primary)}
|
|
3
3
|
.haze-CarouselSlide__slide{scroll-snap-snap-align:start;scroll-snap-align:start;flex:0 0 100%;min-width:0}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* haze-ui chat-message — generated by scripts/split-css.mjs, do not edit */
|
|
2
|
-
.haze-ChatMessage__actionsRow{align-items:center;gap:var(--haze-space-1);margin-top:var(--haze-space-1);opacity:0;visibility:hidden;-webkit-transition:opacity var(--haze-duration-fast) var(--haze-ease),visibility var(--haze-duration-fast) var(--haze-ease);transition:opacity var(--haze-duration-fast) var(--haze-ease),visibility var(--haze-duration-fast) var(--haze-ease);display:flex}[data-chat-actions]:hover .haze-ChatMessage__actionsRow,[data-chat-actions]:focus-within .haze-ChatMessage__actionsRow{opacity:1;visibility:visible}.haze-ChatMessage__wrapper{gap:var(--haze-space-3);font-family:var(--haze-font-sans);padding:var(--haze-space-3) 0;display:flex}.haze-ChatMessage__wrapperUser{flex-direction:row-reverse}.haze-ChatMessage__avatarSlot{border-radius:var(--haze-radius-full);background:var(--haze-color-bg-muted);width:2rem;height:2rem;font-size:var(--haze-text-sm);color:var(--haze-color-text-secondary);flex-shrink:0;justify-content:center;align-items:center;display:flex}.haze-ChatMessage__body{min-width:0;max-width:75%}.haze-ChatMessage__header{align-items:center;gap:var(--haze-space-2);margin-bottom:var(--haze-space-1);font-size:var(--haze-text-xs);color:var(--haze-color-text-secondary);display:flex}.haze-ChatMessage__headerUser{flex-direction:row-reverse}.haze-ChatMessage__bubble{padding:var(--haze-space-3) var(--haze-space-4);border-radius:var(--haze-radius-lg);font-size:var(--haze-text-sm);line-height:var(--haze-leading-relaxed);word-break:break-word}.haze-ChatMessage__bubbleUser{background:var(--haze-color-primary);color:var(--haze-color-bg);border-end-end-radius:var(--haze-radius-sm)}.haze-ChatMessage__bubbleAssistant{background:var(--haze-color-bg-muted);color:var(--haze-color-text);border-end-start-radius:var(--haze-radius-sm)}.haze-ChatMessage__bubbleSystem{color:var(--haze-color-text-secondary);font-size:var(--haze-text-xs);text-align:center;padding:var(--haze-space-2);background:0 0}.haze-ChatMessage__statusText{font-size:var(--haze-text-xs);color:var(--haze-color-text-secondary);margin-top:var(--haze-space-1)}.haze-ChatMessage__statusError{color:var(--haze-color-danger)}.haze-ChatMessage__actionBtn{width:var(--haze-space-5);height:var(--haze-space-5);border-radius:var(--haze-radius-sm);color:var(--haze-color-text-muted);cursor:pointer;-webkit-transition:color var(--haze-duration-fast),background-color var(--haze-duration-fast);transition:color var(--haze-duration-fast),background-color var(--haze-duration-fast);background:0 0;border:none;justify-content:center;align-items:center;display:inline-flex}.haze-ChatMessage__actionBtn:hover{color:var(--haze-color-text);background:var(--haze-color-bg-muted)}.haze-ChatMessage__actionBtn:focus-visible{box-shadow:0 0 0 2px var(--haze-color-focus-ring);outline:none}.haze-ChatMessage__actionBtnCopied{color:var(--haze-color-success)}
|
|
2
|
+
.haze-ChatMessage__actionsRow{align-items:center;gap:var(--haze-space-1);margin-top:var(--haze-space-1);opacity:0;visibility:hidden;-webkit-transition:opacity var(--haze-duration-fast) var(--haze-ease),visibility var(--haze-duration-fast) var(--haze-ease);transition:opacity var(--haze-duration-fast) var(--haze-ease),visibility var(--haze-duration-fast) var(--haze-ease);display:flex}[data-chat-actions]:hover .haze-ChatMessage__actionsRow,[data-chat-actions]:focus-within .haze-ChatMessage__actionsRow{opacity:1;visibility:visible}.haze-ChatMessage__wrapper{gap:var(--haze-space-3);font-family:var(--haze-font-sans);padding:var(--haze-space-3) 0;display:flex}.haze-ChatMessage__wrapperUser{flex-direction:row-reverse}.haze-ChatMessage__avatarSlot{border-radius:var(--haze-radius-full);background:var(--haze-color-bg-muted);width:2rem;height:2rem;font-size:var(--haze-text-sm);color:var(--haze-color-text-secondary);flex-shrink:0;justify-content:center;align-items:center;display:flex}.haze-ChatMessage__body{min-width:0;max-width:75%}.haze-ChatMessage__header{align-items:center;gap:var(--haze-space-2);margin-bottom:var(--haze-space-1);font-size:var(--haze-text-xs);color:var(--haze-color-text-secondary);display:flex}.haze-ChatMessage__headerUser{flex-direction:row-reverse}.haze-ChatMessage__bubble{padding:var(--haze-space-3) var(--haze-space-4);border-radius:var(--haze-radius-lg);font-size:var(--haze-text-sm);line-height:var(--haze-leading-relaxed);word-break:break-word}.haze-ChatMessage__bubbleUser{background:var(--haze-color-primary);color:var(--haze-color-bg);border-end-end-radius:var(--haze-radius-sm)}.haze-ChatMessage__bubbleAssistant{background:var(--haze-color-bg-muted);color:var(--haze-color-text);border-end-start-radius:var(--haze-radius-sm)}.haze-ChatMessage__bubbleSystem{color:var(--haze-color-text-secondary);font-size:var(--haze-text-xs);text-align:center;padding:var(--haze-space-2);background:0 0}.haze-ChatMessage__statusText{font-size:var(--haze-text-xs);color:var(--haze-color-text-secondary);margin-top:var(--haze-space-1)}.haze-ChatMessage__statusError{color:var(--haze-color-danger)}.haze-ChatMessage__actionBtn{width:var(--haze-space-5);height:var(--haze-space-5);border-radius:var(--haze-radius-sm);color:var(--haze-color-text-muted);cursor:pointer;-webkit-transition:color var(--haze-duration-fast),background-color var(--haze-duration-fast);transition:color var(--haze-duration-fast),background-color var(--haze-duration-fast);background:0 0;border:none;justify-content:center;align-items:center;display:inline-flex}.haze-ChatMessage__actionBtn:hover{color:var(--haze-color-text);background:var(--haze-color-bg-muted)}.haze-ChatMessage__actionBtn:focus-visible{box-shadow:0 0 0 2px var(--haze-color-focus-ring);outline:none}.haze-ChatMessage__actionBtnCopied{color:var(--haze-color-success)}.haze-ChatMessage__srOnly{clip:rect(0, 0, 0, 0);clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}
|
package/dist/css/checkbox.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* haze-ui checkbox — generated by scripts/split-css.mjs, do not edit */
|
|
2
|
-
.haze-CheckboxCore__base{appearance:none;border:1px solid var(--haze-color-border);border-radius:var(--haze-radius-sm);background:var(--haze-color-bg);cursor:pointer;
|
|
2
|
+
.haze-CheckboxCore__base{appearance:none;width:var(--haze-space-6);height:var(--haze-space-6);border:1px solid var(--haze-color-border);border-radius:var(--haze-radius-sm);background:var(--haze-color-bg);cursor:pointer;margin:var(--haze-space-1);-webkit-transition:background var(--haze-duration-fast),border-color var(--haze-duration-fast),box-shadow var(--haze-duration-fast);transition:background var(--haze-duration-fast),border-color var(--haze-duration-fast),box-shadow var(--haze-duration-fast);flex-shrink:0;position:relative}.haze-CheckboxCore__base:hover{border-color:var(--haze-color-border-hover)}.haze-CheckboxCore__base:focus-visible{box-shadow:0 0 0 3px var(--haze-color-focus-ring);outline:none}.haze-CheckboxCore__base:checked{background:var(--haze-color-primary);border-color:var(--haze-color-primary)}.haze-CheckboxCore__base:checked:after{content:"";border:solid var(--haze-color-text-inverse);border-width:0 2px 2px 0;width:5px;height:9px;position:absolute;top:5px;left:8px;transform:rotate(45deg)}.haze-CheckboxCore__base:disabled{opacity:.5;cursor:not-allowed}@media (forced-colors:active){.haze-CheckboxCore__base{border-color:canvastext}.haze-CheckboxCore__base:checked{background:highlight;border-color:highlight}.haze-CheckboxCore__base:checked:after{border-color:highlighttext}.haze-CheckboxCore__base:focus-visible{outline-offset:2px;outline:2px solid highlight}.haze-CheckboxCore__base:disabled{opacity:1;border-color:graytext}.haze-CheckboxCore__base:disabled:checked{background:graytext;border-color:graytext}}.haze-CheckboxCore__labelText{align-items:center;gap:var(--haze-space-2);cursor:pointer;-webkit-user-select:none;user-select:none;display:inline-flex}
|
|
@@ -1,2 +1,4 @@
|
|
|
1
1
|
/* haze-ui color-picker — generated by scripts/split-css.mjs, do not edit */
|
|
2
|
+
.haze-ColorPicker__container{display:inline-flex;position:relative}
|
|
2
3
|
.haze-ColorPickerCore__container{gap:var(--haze-space-3);font-family:var(--haze-font-sans);flex-direction:column;display:flex}.haze-ColorPickerCore__previewRow{align-items:center;gap:var(--haze-space-3);display:flex}.haze-ColorPickerCore__colorInput{border:2px solid var(--haze-color-border);border-radius:var(--haze-radius-md);cursor:pointer;background:0 0;width:40px;height:40px;padding:0}.haze-ColorPickerCore__colorInput::-webkit-color-swatch-wrapper{padding:0}.haze-ColorPickerCore__colorInput::-webkit-color-swatch{border-radius:var(--haze-radius-sm);border:none}.haze-ColorPickerCore__textInput{height:40px;padding:0 var(--haze-space-3);border:1px solid var(--haze-color-border);border-radius:var(--haze-radius-md);background:var(--haze-color-bg);color:var(--haze-color-text);font-size:var(--haze-text-sm);font-family:var(--haze-font-mono);outline:none;flex:1}.haze-ColorPickerCore__textInput:focus{border-color:var(--haze-color-primary);box-shadow:0 0 0 3px var(--haze-color-focus-ring)}.haze-ColorPickerCore__presetsRow{-webkit-box-flex-wrap:wrap;gap:var(--haze-space-2);flex-wrap:wrap;display:flex}.haze-ColorPickerCore__presetBtn{border-radius:var(--haze-radius-full);cursor:pointer;width:1.75rem;height:1.75rem;-webkit-transition:border-color var(--haze-duration-fast),-webkit-transform var(--haze-duration-fast);transition:border-color var(--haze-duration-fast),transform var(--haze-duration-fast);border:2px solid #0000}.haze-ColorPickerCore__presetBtn:hover{transform:scale(1.1)}.haze-ColorPickerCore__activePreset{border-color:var(--haze-color-text);box-shadow:0 0 0 2px var(--haze-color-bg)}
|
|
4
|
+
.haze-color-picker-styles__panelVisuals{padding:var(--haze-space-3);border:1px solid var(--haze-color-border);border-radius:var(--haze-radius-lg);background:var(--haze-color-bg);color:var(--haze-color-text);font-family:var(--haze-font-sans);font-size:var(--haze-text-sm);box-shadow:var(--haze-shadow-lg);box-sizing:border-box;width:240px}.haze-color-picker-styles__panelContent{gap:var(--haze-space-3);flex-direction:column;display:flex}.haze-color-picker-styles__svArea{border-radius:var(--haze-radius-md);cursor:crosshair;touch-action:none;outline:none;height:164px;position:relative}.haze-color-picker-styles__svArea:focus-visible{box-shadow:0 0 0 3px var(--haze-color-focus-ring)}.haze-color-picker-styles__svThumb{width:var(--haze-space-3);height:var(--haze-space-3);border-radius:var(--haze-radius-full);pointer-events:none;border:2px solid #fff;position:absolute;transform:translate(-50%,-50%);box-shadow:0 0 0 1px #0000004d}.haze-color-picker-styles__track{height:var(--haze-space-3);border-radius:var(--haze-radius-full);cursor:pointer;touch-action:none;outline:none;position:relative}.haze-color-picker-styles__track:focus-visible{box-shadow:0 0 0 3px var(--haze-color-focus-ring)}.haze-color-picker-styles__hueTrack{background:linear-gradient(90deg,red,#ff0,#0f0,#0ff,#00f,#f0f,red)}.haze-color-picker-styles__checkerboard{background:repeating-conic-gradient(var(--haze-color-border) 0% 25%, var(--haze-color-bg) 0% 50%) 0 0/var(--haze-space-2) var(--haze-space-2)}.haze-color-picker-styles__trackFill{border-radius:inherit;position:absolute;inset:0}.haze-color-picker-styles__trackThumb{width:var(--haze-space-3);height:var(--haze-space-3);border-radius:var(--haze-radius-full);pointer-events:none;border:2px solid #fff;position:absolute;top:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 1px #0000004d}.haze-color-picker-styles__valueInput{width:100%;height:var(--haze-space-8);padding:0 var(--haze-space-2);border:1px solid var(--haze-color-border);border-radius:var(--haze-radius-md);background:var(--haze-color-bg);color:var(--haze-color-text);font-family:var(--haze-font-mono);font-size:var(--haze-text-sm);-webkit-transition:border-color var(--haze-duration-fast),box-shadow var(--haze-duration-fast);transition:border-color var(--haze-duration-fast),box-shadow var(--haze-duration-fast);box-sizing:border-box;outline:none}.haze-color-picker-styles__valueInput:focus{border-color:var(--haze-color-primary);box-shadow:0 0 0 3px var(--haze-color-focus-ring)}.haze-color-picker-styles__groupLabel{font-size:var(--haze-text-xs);color:var(--haze-color-text-muted)}.haze-color-picker-styles__swatchRow{-webkit-box-flex-wrap:wrap;gap:var(--haze-space-2);flex-wrap:wrap;display:flex}.haze-color-picker-styles__swatchBtn{width:var(--haze-space-5);height:var(--haze-space-5);border-radius:var(--haze-radius-sm);cursor:pointer;-webkit-transition:-webkit-transform var(--haze-duration-fast);transition:transform var(--haze-duration-fast);border:none;padding:0;position:relative;overflow:hidden}.haze-color-picker-styles__swatchBtn:hover{transform:scale(1.12)}.haze-color-picker-styles__swatchBtn:focus-visible{box-shadow:0 0 0 3px var(--haze-color-focus-ring);outline:none}.haze-color-picker-styles__swatchFill{position:absolute;inset:0}.haze-color-picker-styles__swatchActive{box-shadow:0 0 0 2px var(--haze-color-bg),0 0 0 4px var(--haze-color-primary)}.haze-color-picker-styles__trigger{width:var(--haze-space-10);height:var(--haze-space-8);border:1px solid var(--haze-color-border);border-radius:var(--haze-radius-md);background:var(--haze-color-bg);cursor:pointer;-webkit-transition:border-color var(--haze-duration-fast);transition:border-color var(--haze-duration-fast);justify-content:center;align-items:center;padding:0;display:inline-flex;position:relative;overflow:hidden}.haze-color-picker-styles__trigger:hover{border-color:var(--haze-color-border-hover)}.haze-color-picker-styles__trigger:focus-visible{box-shadow:0 0 0 3px var(--haze-color-focus-ring);outline:none}
|
package/dist/css/combobox.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* haze-ui combobox — generated by scripts/split-css.mjs, do not edit */
|
|
2
|
-
.haze-Combobox__wrapper{width:100%;display:inline-block;position:relative}.haze-Combobox__input{border:1px solid var(--haze-color-border);border-radius:var(--haze-radius-md);background:var(--haze-color-bg);width:100%;color:var(--haze-color-text);font-family:var(--haze-font-sans);font-size:var(--haze-text-sm);padding:var(--haze-space-2) var(--haze-space-3);line-height:var(--haze-leading-normal)
|
|
2
|
+
.haze-Combobox__wrapper{width:100%;display:inline-block;position:relative}.haze-Combobox__input{border:1px solid var(--haze-color-border);border-radius:var(--haze-radius-md);background:var(--haze-color-bg);width:100%;color:var(--haze-color-text);font-family:var(--haze-font-sans);font-size:var(--haze-text-sm);padding:var(--haze-space-2) var(--haze-space-3);line-height:var(--haze-leading-normal);-webkit-transition:border-color var(--haze-duration-fast),box-shadow var(--haze-duration-fast);transition:border-color var(--haze-duration-fast),box-shadow var(--haze-duration-fast);box-sizing:border-box;display:block}.haze-Combobox__input:focus{border-color:var(--haze-color-primary);box-shadow:0 0 0 3px var(--haze-color-focus-ring);outline:none}.haze-Combobox__multiBox{-webkit-box-flex-wrap:wrap;align-items:center;gap:var(--haze-space-1);box-sizing:border-box;border:1px solid var(--haze-color-border);border-radius:var(--haze-radius-md);background:var(--haze-color-bg);cursor:text;width:100%;padding:var(--haze-space-1) var(--haze-space-2);-webkit-transition:border-color var(--haze-duration-fast),box-shadow var(--haze-duration-fast);transition:border-color var(--haze-duration-fast),box-shadow var(--haze-duration-fast);flex-wrap:wrap;display:flex}.haze-Combobox__multiBox:focus-within{border-color:var(--haze-color-primary);box-shadow:0 0 0 3px var(--haze-color-focus-ring)}.haze-Combobox__multiInput{min-width:4rem;padding:var(--haze-space-1) 0;color:var(--haze-color-text);font-family:var(--haze-font-sans);font-size:var(--haze-text-sm);line-height:var(--haze-leading-normal);background:0 0;border:none;outline:none;flex:1}.haze-Combobox__multiInput::-webkit-input-placeholder{color:var(--haze-color-text-muted)}.haze-Combobox__multiInput::placeholder{color:var(--haze-color-text-muted)}.haze-Combobox__multiInput:-ms-placeholder-shown{color:var(--haze-color-text-muted)}.haze-Combobox__multiInput::placeholder{color:var(--haze-color-text-muted)}.haze-Combobox__matchMark{background:var(--haze-color-primary-subtle);color:var(--haze-color-primary);border-radius:var(--haze-radius-sm);padding:0}.haze-Combobox__stateRow{justify-content:center;align-items:center;gap:var(--haze-space-2);padding:var(--haze-space-2) var(--haze-space-3);font-family:var(--haze-font-sans);font-size:var(--haze-text-sm);color:var(--haze-color-text-muted);cursor:default;display:flex}.haze-Combobox__groupHeadingText{font-family:var(--haze-font-sans);font-size:var(--haze-text-xs);color:var(--haze-color-text-muted)}.haze-Combobox__listbox{box-sizing:border-box;min-width:100%;min-width:anchor-size(width);border:1px solid var(--haze-color-border);border-radius:var(--haze-radius-md);background:var(--haze-color-bg);max-height:200px;box-shadow:var(--haze-shadow-lg);overflow-y:auto}.haze-Combobox__listboxVirtual{box-sizing:border-box;min-width:100%;min-width:anchor-size(width);border:1px solid var(--haze-color-border);border-radius:var(--haze-radius-md);background:var(--haze-color-bg);box-shadow:var(--haze-shadow-lg)}.haze-Combobox__virtualRow{box-sizing:border-box;height:100%}
|
|
3
3
|
.haze-ComboboxGroup__groupHeading{z-index:1;box-sizing:border-box;background:var(--haze-color-bg);border-bottom:1px solid var(--haze-color-border);padding:var(--haze-space-1) var(--haze-space-3);font-family:var(--haze-font-sans);font-size:var(--haze-text-xs);color:var(--haze-color-text-muted);position:sticky;top:0}
|
|
4
|
-
.haze-ComboboxOption__option{padding:var(--haze-space-2) var(--haze-space-3);font-family:var(--haze-font-sans);font-size:var(--haze-text-sm);color:var(--haze-color-text);cursor:pointer
|
|
4
|
+
.haze-ComboboxOption__option{padding:var(--haze-space-2) var(--haze-space-3);font-family:var(--haze-font-sans);font-size:var(--haze-text-sm);color:var(--haze-color-text);cursor:pointer;-webkit-transition:background var(--haze-duration-fast);transition:background var(--haze-duration-fast);align-items:center;display:flex}.haze-ComboboxOption__option:hover{background:var(--haze-color-bg-subtle)}.haze-ComboboxOption__option:active{background:var(--haze-color-bg-muted)}.haze-ComboboxOption__highlightedStyle{background:var(--haze-color-bg-subtle)}.haze-ComboboxOption__selectedStyle{font-weight:var(--haze-weight-medium);color:var(--haze-color-primary)}
|
|
5
5
|
.haze-floating__floatingNative{margin:0;inset:auto}.haze-floating__floatingAnchored{position-anchor:var(--haze-floating-anchor)}.haze-floating__floatingFixed{position:fixed}.haze-floating__floatingHidden{display:none}.haze-floating__floatingAnimated[data-state=open]{-webkit-animation:haze-floating-in-haze-floating__floatingAnimated var(--haze-duration-fast) var(--haze-ease);animation:haze-floating-in-haze-floating__floatingAnimated var(--haze-duration-fast) var(--haze-ease)}.haze-floating__floatingAnimated[data-state=closed]{-webkit-animation:haze-floating-out-haze-floating__floatingAnimated var(--haze-duration-fast) var(--haze-ease) forwards;animation:haze-floating-out-haze-floating__floatingAnimated var(--haze-duration-fast) var(--haze-ease) forwards}@keyframes haze-floating-in-haze-floating__floatingAnimated{0%{opacity:0}}@keyframes haze-floating-out-haze-floating__floatingAnimated{to{opacity:0}}.haze-floating__anchoredBottom,.haze-floating__anchoredBottomSpan{position-area:bottom span-right;margin-top:var(--haze-space-1);position-try-fallbacks:flip-block}.haze-floating__anchoredBottomCenter{position-area:bottom center;margin-top:var(--haze-space-1);position-try-fallbacks:flip-block}.haze-floating__anchoredBottomEnd{position-area:bottom span-left;margin-top:var(--haze-space-1);position-try-fallbacks:flip-block}.haze-floating__anchoredTop{position-area:top center;margin-bottom:var(--haze-space-1);position-try-fallbacks:flip-block}.haze-floating__anchoredLeft{position-area:left center;margin-right:var(--haze-space-1);position-try-fallbacks:flip-inline}.haze-floating__anchoredRight{position-area:right center;margin-left:var(--haze-space-1);position-try-fallbacks:flip-inline}.haze-floating__anchoredLogicalBottom{position-area:span-inline-end block-end;position-try-fallbacks:flip-block;margin-block-start:var(--haze-space-1)}.haze-floating__anchoredLogicalBottomCenter{position-area:block-end center;position-try-fallbacks:flip-block;margin-block-start:var(--haze-space-1)}.haze-floating__anchoredLogicalBottomEnd{position-area:span-inline-start block-end;position-try-fallbacks:flip-block;margin-block-start:var(--haze-space-1)}.haze-floating__anchoredLogicalTop{position-area:block-start center;position-try-fallbacks:flip-block;margin-block-end:var(--haze-space-1)}.haze-floating__anchoredLogicalLeft{position-area:inline-start center;-webkit-margin-end:var(--haze-space-1);position-try-fallbacks:flip-inline;margin-inline-end:var(--haze-space-1)}.haze-floating__anchoredLogicalRight{position-area:inline-end center;-webkit-margin-start:var(--haze-space-1);position-try-fallbacks:flip-inline;margin-inline-start:var(--haze-space-1)}.haze-floating__fallbackBottom{z-index:1000;margin-top:var(--haze-space-1);position:absolute;top:100%;left:0}.haze-floating__fallbackBottomCenter{z-index:1000;margin-top:var(--haze-space-1);position:absolute;top:100%;left:50%;transform:translate(-50%)}.haze-floating__fallbackBottomEnd{z-index:1000;margin-top:var(--haze-space-1);position:absolute;top:100%;right:0}.haze-floating__fallbackTop{z-index:1000;margin-bottom:var(--haze-space-1);position:absolute;bottom:100%;left:50%;transform:translate(-50%)}.haze-floating__fallbackLeft{z-index:1000;margin-right:var(--haze-space-1);position:absolute;top:50%;right:100%;transform:translateY(-50%)}.haze-floating__fallbackRight{z-index:1000;margin-left:var(--haze-space-1);position:absolute;top:50%;left:100%;transform:translateY(-50%)}.haze-floating__gapBelow{margin-top:var(--haze-space-1)}.haze-floating__gapAbove{margin-bottom:var(--haze-space-1)}.haze-floating__gapBefore{margin-right:var(--haze-space-1)}.haze-floating__gapAfter{margin-left:var(--haze-space-1)}
|
package/dist/css/command.css
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/* haze-ui command — generated by scripts/split-css.mjs, do not edit */
|
|
2
|
-
.haze-Command__base{border:var(--haze-command-border,1px solid var(--haze-color-border));border-radius:var(--haze-radius-lg);background:var(--haze-color-bg);font-family:var(--haze-font-sans);width:100%;max-width:var(--haze-command-width,400px);flex-direction:column;display:flex;overflow:hidden}.haze-Command__inputStyle{width:100%;padding:var(--haze-space-3) var(--haze-space-4);border:none;border-bottom:1px solid var(--haze-color-border);color:var(--haze-color-text);font-size:var(--haze-text-sm);font-family:var(--haze-font-sans);background:0 0;outline:none}.haze-Command__inputStyle::-webkit-input-placeholder{color:var(--haze-color-text-muted)}.haze-Command__inputStyle::placeholder{color:var(--haze-color-text-muted)}.haze-Command__inputStyle:-ms-placeholder-shown{color:var(--haze-color-text-muted)}.haze-Command__inputStyle::placeholder{color:var(--haze-color-text-muted)}.haze-Command__listStyle{max-height:300px;padding:var(--haze-space-1);overflow-y:auto}.haze-Command__emptyStyle{padding:var(--haze-space-4) var(--haze-space-3);font-size:var(--haze-text-sm);color:var(--haze-color-text-muted);cursor:default;justify-content:center;align-items:center;display:flex}.haze-Command__groupHeading{z-index:1;box-sizing:border-box;background:var(--haze-color-bg);border-bottom:1px solid var(--haze-color-border);padding:var(--haze-space-1) var(--haze-space-3);font-size:var(--haze-text-xs);color:var(--haze-color-text-muted);position:sticky;top:0}.haze-Command__itemStyle{padding:var(--haze-space-2) var(--haze-space-3);border-radius:var(--haze-radius-md);font-size:var(--haze-text-sm);color:var(--haze-color-text);cursor:pointer;-webkit-transition:background var(--haze-duration-fast);transition:background var(--haze-duration-fast)}.haze-Command__itemStyle:hover{background:var(--haze-color-bg-subtle)}.haze-Command__itemStyle:active{background:var(--haze-color-bg-muted)}.haze-Command__itemStyle:focus-visible{background:var(--haze-color-bg-subtle);box-shadow:inset 0 0 0 2px var(--haze-color-focus-ring);outline:none}.haze-Command__itemWithShortcut{-webkit-box-pack:justify;align-items:center;-ms-flex-pack:space-between;justify-content:space-between;gap:var(--haze-space-3);display:flex}
|
|
2
|
+
.haze-Command__base{border:var(--haze-command-border,1px solid var(--haze-color-border));border-radius:var(--haze-radius-lg);background:var(--haze-color-bg);font-family:var(--haze-font-sans);width:100%;max-width:var(--haze-command-width,400px);flex-direction:column;display:flex;overflow:hidden}.haze-Command__inputStyle{width:100%;padding:var(--haze-space-3) var(--haze-space-4);border:none;border-bottom:1px solid var(--haze-color-border);color:var(--haze-color-text);font-size:var(--haze-text-sm);font-family:var(--haze-font-sans);background:0 0;outline:none}.haze-Command__inputStyle:focus{border-bottom-color:var(--haze-color-primary);box-shadow:0 0 0 3px var(--haze-color-focus-ring)}.haze-Command__inputStyle::-webkit-input-placeholder{color:var(--haze-color-text-muted)}.haze-Command__inputStyle::placeholder{color:var(--haze-color-text-muted)}.haze-Command__inputStyle:-ms-placeholder-shown{color:var(--haze-color-text-muted)}.haze-Command__inputStyle::placeholder{color:var(--haze-color-text-muted)}.haze-Command__listStyle{max-height:300px;padding:var(--haze-space-1);overflow-y:auto}.haze-Command__emptyStyle{padding:var(--haze-space-4) var(--haze-space-3);font-size:var(--haze-text-sm);color:var(--haze-color-text-muted);cursor:default;justify-content:center;align-items:center;display:flex}.haze-Command__groupHeading{z-index:1;box-sizing:border-box;background:var(--haze-color-bg);border-bottom:1px solid var(--haze-color-border);padding:var(--haze-space-1) var(--haze-space-3);font-size:var(--haze-text-xs);color:var(--haze-color-text-muted);position:sticky;top:0}.haze-Command__itemStyle{padding:var(--haze-space-2) var(--haze-space-3);border-radius:var(--haze-radius-md);font-size:var(--haze-text-sm);color:var(--haze-color-text);cursor:pointer;-webkit-transition:background var(--haze-duration-fast);transition:background var(--haze-duration-fast)}.haze-Command__itemStyle:hover{background:var(--haze-color-bg-subtle)}.haze-Command__itemStyle:active{background:var(--haze-color-bg-muted)}.haze-Command__itemStyle:focus-visible{background:var(--haze-color-bg-subtle);box-shadow:inset 0 0 0 2px var(--haze-color-focus-ring);outline:none}.haze-Command__itemWithShortcut{-webkit-box-pack:justify;align-items:center;-ms-flex-pack:space-between;justify-content:space-between;gap:var(--haze-space-3);display:flex}
|
|
3
3
|
.haze-CommandDialog__panel{--haze-dialog-width:640px;--haze-dialog-padding:0;--haze-dialog-title-gap:0}.haze-CommandDialog__panelTitle{box-sizing:border-box;padding:var(--haze-space-4) var(--haze-space-4) var(--haze-space-3);font-size:var(--haze-text-sm)}.haze-CommandDialog__palette{--haze-command-width:none;--haze-command-border:none}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* haze-ui context-menu — generated by scripts/split-css.mjs, do not edit */
|
|
2
2
|
.haze-ContextMenu__wrapper{display:inline-block;position:relative}
|
|
3
|
-
.haze-ContextMenuContent__content{min-width:10rem;padding:var(--haze-space-1);background:var(--haze-color-bg);border:1px solid var(--haze-color-border);border-radius:var(--haze-radius-md);box-shadow:var(--haze-shadow-md);z-index:100;position:fixed}
|
|
3
|
+
.haze-ContextMenuContent__content{box-sizing:border-box;min-width:10rem;padding:var(--haze-space-1);background:var(--haze-color-bg);border:1px solid var(--haze-color-border);border-radius:var(--haze-radius-md);box-shadow:var(--haze-shadow-md);z-index:100;position:fixed}@media (forced-colors:active){.haze-ContextMenuContent__content{border-color:canvastext}}
|
|
4
4
|
.haze-ContextMenuItem__item{width:100%;padding:var(--haze-space-2) var(--haze-space-3);cursor:pointer;font-size:var(--haze-text-sm);font-family:var(--haze-font-sans);color:var(--haze-color-text);border-radius:var(--haze-radius-sm);text-align:start;-webkit-transition:background var(--haze-duration-fast);transition:background var(--haze-duration-fast);background:0 0;border:none;align-items:center;display:flex}.haze-ContextMenuItem__item:hover{background:var(--haze-color-bg-muted)}.haze-ContextMenuItem__item:active{background:var(--haze-color-bg-subtle)}.haze-ContextMenuItem__item:disabled{opacity:.5;cursor:not-allowed}
|
|
5
5
|
.haze-ContextMenuSeparator__separator{height:1px;margin:var(--haze-space-1) 0;background:var(--haze-color-border)}
|
|
6
6
|
.haze-ContextMenuTrigger__trigger{display:contents}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* haze-ui date-range-picker — generated by scripts/split-css.mjs, do not edit */
|
|
2
|
-
.haze-DateRangePickerCore__container{-webkit-box-flex-wrap:wrap;align-items:center;gap:var(--haze-space-2);font-family:var(--haze-font-sans);flex-wrap:wrap;display:inline-flex}.haze-DateRangePickerCore__stackedContainer{-webkit-align-items:flex-start;-webkit-box-align:flex-start;-ms-flex-align:flex-start;flex-direction:column;align-items:flex-start}.haze-DateRangePickerCore__inputsRow{-webkit-box-flex-wrap:wrap;align-items:center;gap:var(--haze-space-2);flex-wrap:wrap;display:inline-flex}.haze-DateRangePickerCore__panel{border:1px solid var(--haze-color-border);border-radius:var(--haze-radius-lg);background:var(--haze-color-bg);box-shadow:var(--haze-shadow-md);max-width:100%;margin-block-start:var(--haze-space-2)}.haze-DateRangePickerCore__input{padding:var(--haze-space-2) var(--haze-space-3);border:1px solid var(--haze-color-border);border-radius:var(--haze-radius-md);background:var(--haze-color-bg);color:var(--haze-color-text);font-size:var(--haze-text-sm);font-family:var(--haze-font-sans);-webkit-transition:border-color var(--haze-duration-fast),box-shadow var(--haze-duration-fast);transition:border-color var(--haze-duration-fast),box-shadow var(--haze-duration-fast);outline:none}.haze-DateRangePickerCore__input:focus{border-color:var(--haze-color-primary);box-shadow:0 0 0 3px var(--haze-color-focus-ring)}.haze-DateRangePickerCore__input:disabled{opacity:.5;cursor:not-allowed}.haze-DateRangePickerCore__sep{color:var(--haze-color-text-muted);font-size:var(--haze-text-sm)}.haze-DateRangePickerCore__presetList{padding-block:var(--haze-space-1) 0;border-block-end:1px solid var(--haze-color-border);flex-direction:column;margin-block-end:var(--haze-space-2);display:flex}.haze-DateRangePickerCore__presetRow{appearance:none;width:100%;padding:var(--haze-space-1) var(--haze-space-3);font-family:var(--haze-font-sans);font-size:var(--haze-text-sm);color:var(--haze-color-text);cursor:pointer;text-align:start;background:0 0;border:none;align-items:center;display:flex}.haze-DateRangePickerCore__presetRow:hover{background:var(--haze-color-bg-subtle)}.haze-DateRangePickerCore__presetRow:active{background:var(--haze-color-bg-muted)}.haze-DateRangePickerCore__presetRow:focus-visible{box-shadow:0 0 0 3px var(--haze-color-focus-ring);outline:none}
|
|
2
|
+
.haze-DateRangePickerCore__container{-webkit-box-flex-wrap:wrap;align-items:center;gap:var(--haze-space-2);font-family:var(--haze-font-sans);flex-wrap:wrap;display:inline-flex}.haze-DateRangePickerCore__stackedContainer{-webkit-align-items:flex-start;-webkit-box-align:flex-start;-ms-flex-align:flex-start;flex-direction:column;align-items:flex-start}.haze-DateRangePickerCore__inputsRow{-webkit-box-flex-wrap:wrap;align-items:center;gap:var(--haze-space-2);flex-wrap:wrap;display:inline-flex}.haze-DateRangePickerCore__panel{box-sizing:border-box;border:1px solid var(--haze-color-border);border-radius:var(--haze-radius-lg);background:var(--haze-color-bg);box-shadow:var(--haze-shadow-md);max-width:100%;margin-block-start:var(--haze-space-2)}.haze-DateRangePickerCore__input{padding:var(--haze-space-2) var(--haze-space-3);border:1px solid var(--haze-color-border);border-radius:var(--haze-radius-md);background:var(--haze-color-bg);color:var(--haze-color-text);font-size:var(--haze-text-sm);font-family:var(--haze-font-sans);-webkit-transition:border-color var(--haze-duration-fast),box-shadow var(--haze-duration-fast);transition:border-color var(--haze-duration-fast),box-shadow var(--haze-duration-fast);outline:none}.haze-DateRangePickerCore__input:focus{border-color:var(--haze-color-primary);box-shadow:0 0 0 3px var(--haze-color-focus-ring)}.haze-DateRangePickerCore__input:disabled{opacity:.5;cursor:not-allowed}.haze-DateRangePickerCore__sep{color:var(--haze-color-text-muted);font-size:var(--haze-text-sm)}.haze-DateRangePickerCore__presetList{padding-block:var(--haze-space-1) 0;border-block-end:1px solid var(--haze-color-border);flex-direction:column;margin-block-end:var(--haze-space-2);display:flex}.haze-DateRangePickerCore__presetRow{appearance:none;width:100%;padding:var(--haze-space-1) var(--haze-space-3);font-family:var(--haze-font-sans);font-size:var(--haze-text-sm);color:var(--haze-color-text);cursor:pointer;text-align:start;background:0 0;border:none;align-items:center;display:flex}.haze-DateRangePickerCore__presetRow:hover{background:var(--haze-color-bg-subtle)}.haze-DateRangePickerCore__presetRow:active{background:var(--haze-color-bg-muted)}.haze-DateRangePickerCore__presetRow:focus-visible{box-shadow:0 0 0 3px var(--haze-color-focus-ring);outline:none}
|
package/dist/css/dialog.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* haze-ui dialog — generated by scripts/split-css.mjs, do not edit */
|
|
2
|
-
.haze-Dialog__overlay{box-sizing:border-box;border-radius:var(--haze-dialog-radius,var(--haze-radius-xl));padding:var(--haze-dialog-padding,var(--haze-space-6));background:var(--haze-color-bg);color:var(--haze-color-text);font-family:var(--haze-font-sans);box-shadow:var(--haze-shadow-xl);max-width:var(--haze-dialog-width,480px);border:none;width:100%}.haze-Dialog__overlay[open][data-state=open]{-webkit-animation:haze-dialog-in-haze-Dialog__overlay var(--haze-duration-normal) var(--haze-ease);animation:haze-dialog-in-haze-Dialog__overlay var(--haze-duration-normal) var(--haze-ease)}.haze-Dialog__overlay[open][data-state=closed]{-webkit-animation:haze-dialog-out-haze-Dialog__overlay var(--haze-duration-fast) var(--haze-ease);animation:haze-dialog-out-haze-Dialog__overlay var(--haze-duration-fast) var(--haze-ease)}.haze-Dialog__overlay::backdrop{background:#0006}.haze-Dialog__overlay[open][data-state=open]::backdrop{-webkit-animation:haze-dialog-backdrop-in-haze-Dialog__overlay var(--haze-duration-normal) var(--haze-ease);animation:haze-dialog-backdrop-in-haze-Dialog__overlay var(--haze-duration-normal) var(--haze-ease)}.haze-Dialog__overlay[open][data-state=closed]::backdrop{-webkit-animation:haze-dialog-backdrop-out-haze-Dialog__overlay var(--haze-duration-fast) var(--haze-ease);animation:haze-dialog-backdrop-out-haze-Dialog__overlay var(--haze-duration-fast) var(--haze-ease)}.haze-Dialog__overlay:focus-visible{box-shadow:var(--haze-shadow-xl),0 0 0 3px var(--haze-color-focus-ring);outline:none}@keyframes haze-dialog-in-haze-Dialog__overlay{0%{opacity:0;transform:scale(.97)}}@keyframes haze-dialog-out-haze-Dialog__overlay{to{opacity:0;transform:scale(.97)}}@keyframes haze-dialog-backdrop-in-haze-Dialog__overlay{0%{opacity:0}}@keyframes haze-dialog-backdrop-out-haze-Dialog__overlay{to{opacity:0}}.haze-Dialog__titleText{margin:0 0 var(--haze-dialog-title-gap,var(--haze-space-4));font-size:var(--haze-dialog-title-font-size,var(--haze-text-lg));font-weight:var(--haze-weight-semibold)}
|
|
2
|
+
.haze-Dialog__overlay{box-sizing:border-box;border-radius:var(--haze-dialog-radius,var(--haze-radius-xl));padding:var(--haze-dialog-padding,var(--haze-space-6));background:var(--haze-color-bg);color:var(--haze-color-text);font-family:var(--haze-font-sans);box-shadow:var(--haze-shadow-xl);max-width:var(--haze-dialog-width,480px);border:none;width:100%}.haze-Dialog__overlay[open][data-state=open]{-webkit-animation:haze-dialog-in-haze-Dialog__overlay var(--haze-duration-normal) var(--haze-ease);animation:haze-dialog-in-haze-Dialog__overlay var(--haze-duration-normal) var(--haze-ease)}.haze-Dialog__overlay[open][data-state=closed]{-webkit-animation:haze-dialog-out-haze-Dialog__overlay var(--haze-duration-fast) var(--haze-ease);animation:haze-dialog-out-haze-Dialog__overlay var(--haze-duration-fast) var(--haze-ease)}.haze-Dialog__overlay::backdrop{background:#0006}.haze-Dialog__overlay[open][data-state=open]::backdrop{-webkit-animation:haze-dialog-backdrop-in-haze-Dialog__overlay var(--haze-duration-normal) var(--haze-ease);animation:haze-dialog-backdrop-in-haze-Dialog__overlay var(--haze-duration-normal) var(--haze-ease)}.haze-Dialog__overlay[open][data-state=closed]::backdrop{-webkit-animation:haze-dialog-backdrop-out-haze-Dialog__overlay var(--haze-duration-fast) var(--haze-ease);animation:haze-dialog-backdrop-out-haze-Dialog__overlay var(--haze-duration-fast) var(--haze-ease)}.haze-Dialog__overlay:focus-visible{box-shadow:var(--haze-shadow-xl),0 0 0 3px var(--haze-color-focus-ring);outline:none}@keyframes haze-dialog-in-haze-Dialog__overlay{0%{opacity:0;transform:scale(.97)}}@keyframes haze-dialog-out-haze-Dialog__overlay{to{opacity:0;transform:scale(.97)}}@keyframes haze-dialog-backdrop-in-haze-Dialog__overlay{0%{opacity:0}}@keyframes haze-dialog-backdrop-out-haze-Dialog__overlay{to{opacity:0}}@media (forced-colors:active){.haze-Dialog__overlay{border:1px solid canvastext}.haze-Dialog__overlay:focus-visible{outline-offset:-2px;outline:2px solid highlight}}.haze-Dialog__titleText{margin:0 0 var(--haze-dialog-title-gap,var(--haze-space-4));font-size:var(--haze-dialog-title-font-size,var(--haze-text-lg));font-weight:var(--haze-weight-semibold)}
|
package/dist/css/drawer.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* haze-ui drawer — generated by scripts/split-css.mjs, do not edit */
|
|
2
|
-
.haze-Drawer__overlay{background:var(--haze-color-bg);color:var(--haze-color-text);font-family:var(--haze-font-sans);border:none;max-width:100vw;max-height:100vh;padding:0;overflow:auto}.haze-Drawer__overlay[open][data-state=open]{-webkit-animation:haze-drawer-in-haze-Drawer__overlay var(--haze-duration-normal) var(--haze-ease);animation:haze-drawer-in-haze-Drawer__overlay var(--haze-duration-normal) var(--haze-ease)}.haze-Drawer__overlay[open][data-state=closed]{-webkit-animation:haze-drawer-out-haze-Drawer__overlay var(--haze-duration-fast) var(--haze-ease);animation:haze-drawer-out-haze-Drawer__overlay var(--haze-duration-fast) var(--haze-ease)}.haze-Drawer__overlay::backdrop{background:#0006}.haze-Drawer__overlay[open][data-state=open]::backdrop{-webkit-animation:haze-drawer-backdrop-in-haze-Drawer__overlay var(--haze-duration-normal) var(--haze-ease);animation:haze-drawer-backdrop-in-haze-Drawer__overlay var(--haze-duration-normal) var(--haze-ease)}.haze-Drawer__overlay[open][data-state=closed]::backdrop{-webkit-animation:haze-drawer-backdrop-out-haze-Drawer__overlay var(--haze-duration-fast) var(--haze-ease);animation:haze-drawer-backdrop-out-haze-Drawer__overlay var(--haze-duration-fast) var(--haze-ease)}.haze-Drawer__overlay:focus-visible{box-shadow:0 0 0 3px var(--haze-color-focus-ring);outline:none}@keyframes haze-drawer-in-haze-Drawer__overlay{0%{-webkit-transform:translate(var(--haze-drawer-from-x,0), var(--haze-drawer-from-y,0));-moz-transform:translate(var(--haze-drawer-from-x,0), var(--haze-drawer-from-y,0));-ms-transform:translate(var(--haze-drawer-from-x,0), var(--haze-drawer-from-y,0));transform:translate(var(--haze-drawer-from-x,0), var(--haze-drawer-from-y,0))}}@keyframes haze-drawer-out-haze-Drawer__overlay{to{-webkit-transform:translate(var(--haze-drawer-from-x,0), var(--haze-drawer-from-y,0));-moz-transform:translate(var(--haze-drawer-from-x,0), var(--haze-drawer-from-y,0));-ms-transform:translate(var(--haze-drawer-from-x,0), var(--haze-drawer-from-y,0));transform:translate(var(--haze-drawer-from-x,0), var(--haze-drawer-from-y,0))}}@keyframes haze-drawer-backdrop-in-haze-Drawer__overlay{0%{opacity:0}}@keyframes haze-drawer-backdrop-out-haze-Drawer__overlay{to{opacity:0}}.haze-Drawer__left{--haze-drawer-from-x:-100%;--haze-drawer-from-y:0;width:320px;min-width:280px;max-width:85vw;height:100vh;margin-left:0;margin-right:auto}.haze-Drawer__right{--haze-drawer-from-x:100%;--haze-drawer-from-y:0;width:320px;min-width:280px;max-width:85vw;height:100vh;margin-left:auto;margin-right:0}.haze-Drawer__top{--haze-drawer-from-x:0;--haze-drawer-from-y:-100%;width:100vw;height:320px;margin-top:0;margin-bottom:auto}.haze-Drawer__bottom{--haze-drawer-from-x:0;--haze-drawer-from-y:100%;width:100vw;height:320px;margin-top:auto;margin-bottom:0}
|
|
2
|
+
.haze-Drawer__overlay{box-sizing:border-box;background:var(--haze-color-bg);color:var(--haze-color-text);font-family:var(--haze-font-sans);border:none;max-width:100vw;max-height:100vh;padding:0;overflow:auto}.haze-Drawer__overlay[open][data-state=open]{-webkit-animation:haze-drawer-in-haze-Drawer__overlay var(--haze-duration-normal) var(--haze-ease);animation:haze-drawer-in-haze-Drawer__overlay var(--haze-duration-normal) var(--haze-ease)}.haze-Drawer__overlay[open][data-state=closed]{-webkit-animation:haze-drawer-out-haze-Drawer__overlay var(--haze-duration-fast) var(--haze-ease);animation:haze-drawer-out-haze-Drawer__overlay var(--haze-duration-fast) var(--haze-ease)}.haze-Drawer__overlay::backdrop{background:#0006}.haze-Drawer__overlay[open][data-state=open]::backdrop{-webkit-animation:haze-drawer-backdrop-in-haze-Drawer__overlay var(--haze-duration-normal) var(--haze-ease);animation:haze-drawer-backdrop-in-haze-Drawer__overlay var(--haze-duration-normal) var(--haze-ease)}.haze-Drawer__overlay[open][data-state=closed]::backdrop{-webkit-animation:haze-drawer-backdrop-out-haze-Drawer__overlay var(--haze-duration-fast) var(--haze-ease);animation:haze-drawer-backdrop-out-haze-Drawer__overlay var(--haze-duration-fast) var(--haze-ease)}.haze-Drawer__overlay:focus-visible{box-shadow:0 0 0 3px var(--haze-color-focus-ring);outline:none}@keyframes haze-drawer-in-haze-Drawer__overlay{0%{-webkit-transform:translate(var(--haze-drawer-from-x,0), var(--haze-drawer-from-y,0));-moz-transform:translate(var(--haze-drawer-from-x,0), var(--haze-drawer-from-y,0));-ms-transform:translate(var(--haze-drawer-from-x,0), var(--haze-drawer-from-y,0));transform:translate(var(--haze-drawer-from-x,0), var(--haze-drawer-from-y,0))}}@keyframes haze-drawer-out-haze-Drawer__overlay{to{-webkit-transform:translate(var(--haze-drawer-from-x,0), var(--haze-drawer-from-y,0));-moz-transform:translate(var(--haze-drawer-from-x,0), var(--haze-drawer-from-y,0));-ms-transform:translate(var(--haze-drawer-from-x,0), var(--haze-drawer-from-y,0));transform:translate(var(--haze-drawer-from-x,0), var(--haze-drawer-from-y,0))}}@keyframes haze-drawer-backdrop-in-haze-Drawer__overlay{0%{opacity:0}}@keyframes haze-drawer-backdrop-out-haze-Drawer__overlay{to{opacity:0}}@media (forced-colors:active){.haze-Drawer__overlay{border:1px solid canvastext}.haze-Drawer__overlay:focus-visible{outline-offset:-2px;outline:2px solid highlight}}.haze-Drawer__left{--haze-drawer-from-x:-100%;--haze-drawer-from-y:0;width:320px;min-width:280px;max-width:85vw;height:100vh;margin-left:0;margin-right:auto}.haze-Drawer__right{--haze-drawer-from-x:100%;--haze-drawer-from-y:0;width:320px;min-width:280px;max-width:85vw;height:100vh;margin-left:auto;margin-right:0}.haze-Drawer__top{--haze-drawer-from-x:0;--haze-drawer-from-y:-100%;width:100vw;height:320px;margin-top:0;margin-bottom:auto}.haze-Drawer__bottom{--haze-drawer-from-x:0;--haze-drawer-from-y:100%;width:100vw;height:320px;margin-top:auto;margin-bottom:0}
|
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
/* haze-ui dropdown-menu — generated by scripts/split-css.mjs, do not edit */
|
|
2
2
|
.haze-DropdownMenu__wrapper{display:inline-block;position:relative}
|
|
3
|
-
.haze-
|
|
3
|
+
.haze-DropdownMenuCheckboxItem__item{width:100%;padding:var(--haze-space-2) var(--haze-space-3);cursor:pointer;font-size:var(--haze-text-sm);font-family:var(--haze-font-sans);color:var(--haze-color-text);border-radius:var(--haze-radius-sm);text-align:start;-webkit-transition:background var(--haze-duration-fast);transition:background var(--haze-duration-fast);background:0 0;border:none;align-items:center;display:flex}.haze-DropdownMenuCheckboxItem__item:hover{background:var(--haze-color-bg-muted)}.haze-DropdownMenuCheckboxItem__item:active{background:var(--haze-color-bg-subtle)}.haze-DropdownMenuCheckboxItem__item:disabled{opacity:.5;cursor:not-allowed}
|
|
4
|
+
.haze-DropdownMenuContent__content{box-sizing:border-box;min-width:10rem;padding:var(--haze-space-1);background:var(--haze-color-bg);border:1px solid var(--haze-color-border);border-radius:var(--haze-radius-md);box-shadow:var(--haze-shadow-md)}@media (forced-colors:active){.haze-DropdownMenuContent__content{border-color:canvastext}}
|
|
5
|
+
.haze-DropdownMenuGroup__group{display:block}
|
|
4
6
|
.haze-DropdownMenuItem__item{width:100%;padding:var(--haze-space-2) var(--haze-space-3);cursor:pointer;font-size:var(--haze-text-sm);font-family:var(--haze-font-sans);color:var(--haze-color-text);border-radius:var(--haze-radius-sm);text-align:start;-webkit-transition:background var(--haze-duration-fast);transition:background var(--haze-duration-fast);background:0 0;border:none;align-items:center;display:flex}.haze-DropdownMenuItem__item:hover{background:var(--haze-color-bg-muted)}.haze-DropdownMenuItem__item:active{background:var(--haze-color-bg-subtle)}.haze-DropdownMenuItem__item:disabled{opacity:.5;cursor:not-allowed}
|
|
7
|
+
.haze-DropdownMenuRadioGroup__group{display:block}
|
|
8
|
+
.haze-DropdownMenuRadioItem__item{width:100%;padding:var(--haze-space-2) var(--haze-space-3);cursor:pointer;font-size:var(--haze-text-sm);font-family:var(--haze-font-sans);color:var(--haze-color-text);border-radius:var(--haze-radius-sm);text-align:start;-webkit-transition:background var(--haze-duration-fast);transition:background var(--haze-duration-fast);background:0 0;border:none;align-items:center;display:flex}.haze-DropdownMenuRadioItem__item:hover{background:var(--haze-color-bg-muted)}.haze-DropdownMenuRadioItem__item:active{background:var(--haze-color-bg-subtle)}.haze-DropdownMenuRadioItem__item:disabled{opacity:.5;cursor:not-allowed}
|
|
5
9
|
.haze-DropdownMenuSeparator__separator{height:1px;margin:var(--haze-space-1) 0;background:var(--haze-color-border)}
|
|
6
10
|
.haze-DropdownMenuSub__wrapper{display:block;position:relative}
|
|
7
|
-
.haze-DropdownMenuSubContent__content{min-width:10rem;padding:var(--haze-space-1);background:var(--haze-color-bg);border:1px solid var(--haze-color-border);border-radius:var(--haze-radius-md);box-shadow:var(--haze-shadow-md)}
|
|
11
|
+
.haze-DropdownMenuSubContent__content{box-sizing:border-box;min-width:10rem;padding:var(--haze-space-1);background:var(--haze-color-bg);border:1px solid var(--haze-color-border);border-radius:var(--haze-radius-md);box-shadow:var(--haze-shadow-md)}@media (forced-colors:active){.haze-DropdownMenuSubContent__content{border-color:canvastext}}
|
|
8
12
|
.haze-DropdownMenuSubTrigger__trigger{width:100%;padding:var(--haze-space-2) var(--haze-space-3);cursor:pointer;font-size:var(--haze-text-sm);font-family:var(--haze-font-sans);color:var(--haze-color-text);border-radius:var(--haze-radius-sm);text-align:start;-webkit-transition:background var(--haze-duration-fast);transition:background var(--haze-duration-fast);background:0 0;border:none;align-items:center;display:flex}.haze-DropdownMenuSubTrigger__trigger:after{content:"›";-webkit-margin-start:auto;color:var(--haze-color-text-muted);margin-inline-start:auto}[dir=rtl] .haze-DropdownMenuSubTrigger__trigger:after{content:"‹"}.haze-DropdownMenuSubTrigger__trigger:hover,.haze-DropdownMenuSubTrigger__trigger[aria-expanded=true]{background:var(--haze-color-bg-muted)}.haze-DropdownMenuSubTrigger__trigger:active{background:var(--haze-color-bg-subtle)}.haze-DropdownMenuSubTrigger__trigger:disabled{opacity:.5;cursor:not-allowed}
|
|
9
13
|
.haze-DropdownMenuTrigger__trigger{cursor:pointer;font:inherit;color:inherit;background:0 0;border:none;padding:0}
|
|
14
|
+
.haze-dropdown-menu-item-styles__dropdownMenuItemDanger{color:var(--haze-color-danger)}.haze-dropdown-menu-item-styles__dropdownMenuItemDanger:hover,.haze-dropdown-menu-item-styles__dropdownMenuItemDanger:active{background:var(--haze-color-danger-subtle)}.haze-dropdown-menu-item-styles__dropdownMenuItemIcon{-webkit-margin-end:var(--haze-space-2);flex-shrink:0;align-items:center;margin-inline-end:var(--haze-space-2);display:inline-flex}.haze-dropdown-menu-item-styles__dropdownMenuItemIcon svg{width:1em;height:1em}.haze-dropdown-menu-item-styles__dropdownMenuItemKbd{-webkit-margin-start:auto;-webkit-padding-start:var(--haze-space-3);color:var(--haze-color-text-muted);font-family:var(--haze-font-mono);font-size:var(--haze-text-xs);margin-inline-start:auto;padding-inline-start:var(--haze-space-3)}.haze-dropdown-menu-item-styles__dropdownMenuItemIndicator{-webkit-margin-end:var(--haze-space-2);width:1em;height:1em;flex-shrink:0;justify-content:center;align-items:center;margin-inline-end:var(--haze-space-2);display:inline-flex}.haze-dropdown-menu-item-styles__dropdownMenuGroupLabel{padding:var(--haze-space-2) var(--haze-space-3) var(--haze-space-1);font-family:var(--haze-font-sans);font-size:var(--haze-text-xs);font-weight:var(--haze-weight-medium);color:var(--haze-color-text-muted)}
|
|
10
15
|
.haze-floating__floatingNative{margin:0;inset:auto}.haze-floating__floatingAnchored{position-anchor:var(--haze-floating-anchor)}.haze-floating__floatingFixed{position:fixed}.haze-floating__floatingHidden{display:none}.haze-floating__floatingAnimated[data-state=open]{-webkit-animation:haze-floating-in-haze-floating__floatingAnimated var(--haze-duration-fast) var(--haze-ease);animation:haze-floating-in-haze-floating__floatingAnimated var(--haze-duration-fast) var(--haze-ease)}.haze-floating__floatingAnimated[data-state=closed]{-webkit-animation:haze-floating-out-haze-floating__floatingAnimated var(--haze-duration-fast) var(--haze-ease) forwards;animation:haze-floating-out-haze-floating__floatingAnimated var(--haze-duration-fast) var(--haze-ease) forwards}@keyframes haze-floating-in-haze-floating__floatingAnimated{0%{opacity:0}}@keyframes haze-floating-out-haze-floating__floatingAnimated{to{opacity:0}}.haze-floating__anchoredBottom,.haze-floating__anchoredBottomSpan{position-area:bottom span-right;margin-top:var(--haze-space-1);position-try-fallbacks:flip-block}.haze-floating__anchoredBottomCenter{position-area:bottom center;margin-top:var(--haze-space-1);position-try-fallbacks:flip-block}.haze-floating__anchoredBottomEnd{position-area:bottom span-left;margin-top:var(--haze-space-1);position-try-fallbacks:flip-block}.haze-floating__anchoredTop{position-area:top center;margin-bottom:var(--haze-space-1);position-try-fallbacks:flip-block}.haze-floating__anchoredLeft{position-area:left center;margin-right:var(--haze-space-1);position-try-fallbacks:flip-inline}.haze-floating__anchoredRight{position-area:right center;margin-left:var(--haze-space-1);position-try-fallbacks:flip-inline}.haze-floating__anchoredLogicalBottom{position-area:span-inline-end block-end;position-try-fallbacks:flip-block;margin-block-start:var(--haze-space-1)}.haze-floating__anchoredLogicalBottomCenter{position-area:block-end center;position-try-fallbacks:flip-block;margin-block-start:var(--haze-space-1)}.haze-floating__anchoredLogicalBottomEnd{position-area:span-inline-start block-end;position-try-fallbacks:flip-block;margin-block-start:var(--haze-space-1)}.haze-floating__anchoredLogicalTop{position-area:block-start center;position-try-fallbacks:flip-block;margin-block-end:var(--haze-space-1)}.haze-floating__anchoredLogicalLeft{position-area:inline-start center;-webkit-margin-end:var(--haze-space-1);position-try-fallbacks:flip-inline;margin-inline-end:var(--haze-space-1)}.haze-floating__anchoredLogicalRight{position-area:inline-end center;-webkit-margin-start:var(--haze-space-1);position-try-fallbacks:flip-inline;margin-inline-start:var(--haze-space-1)}.haze-floating__fallbackBottom{z-index:1000;margin-top:var(--haze-space-1);position:absolute;top:100%;left:0}.haze-floating__fallbackBottomCenter{z-index:1000;margin-top:var(--haze-space-1);position:absolute;top:100%;left:50%;transform:translate(-50%)}.haze-floating__fallbackBottomEnd{z-index:1000;margin-top:var(--haze-space-1);position:absolute;top:100%;right:0}.haze-floating__fallbackTop{z-index:1000;margin-bottom:var(--haze-space-1);position:absolute;bottom:100%;left:50%;transform:translate(-50%)}.haze-floating__fallbackLeft{z-index:1000;margin-right:var(--haze-space-1);position:absolute;top:50%;right:100%;transform:translateY(-50%)}.haze-floating__fallbackRight{z-index:1000;margin-left:var(--haze-space-1);position:absolute;top:50%;left:100%;transform:translateY(-50%)}.haze-floating__gapBelow{margin-top:var(--haze-space-1)}.haze-floating__gapAbove{margin-bottom:var(--haze-space-1)}.haze-floating__gapBefore{margin-right:var(--haze-space-1)}.haze-floating__gapAfter{margin-left:var(--haze-space-1)}
|
package/dist/css/form.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* haze-ui form — generated by scripts/split-css.mjs, do not edit */
|
|
2
|
-
.haze-
|
|
2
|
+
.haze-form-item-styles__item{align-items:stretch;gap:var(--haze-space-1);flex-direction:column;display:flex}.haze-form-item-styles__itemHorizontal{-webkit-align-items:flex-start;-webkit-box-align:flex-start;-ms-flex-align:flex-start;align-items:flex-start;gap:var(--haze-space-2);flex-direction:row;display:flex}.haze-form-item-styles__itemInline{-webkit-box-flex-wrap:wrap;align-items:center;gap:var(--haze-space-2);-webkit-margin-end:var(--haze-space-4);flex-flow:wrap;margin-inline-end:var(--haze-space-4);display:inline-flex}.haze-form-item-styles__controlColumn{align-items:stretch;gap:var(--haze-space-1);flex-direction:column;flex:1;min-width:0;display:flex}.haze-form-item-styles__labelText{font-size:var(--haze-text-sm);color:var(--haze-color-text)}.haze-form-item-styles__labelColumn{flex-shrink:0;padding-block-start:var(--haze-space-2)}.haze-form-item-styles__errorText{font-size:var(--haze-text-sm);color:var(--haze-color-danger)}
|
package/dist/css/grid.css
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
/* haze-ui grid — generated by scripts/split-css.mjs, do not edit */
|
|
2
|
-
.haze-Grid__base{display:-ms-grid;display:grid}
|
|
2
|
+
.haze-Grid__base{display:-ms-grid;display:grid}.haze-Grid__responsiveContainer{container-type:inline-size}
|
|
3
|
+
.haze-grid-item-styles__base1{grid-column:span 1}.haze-grid-item-styles__base2{grid-column:span 2}.haze-grid-item-styles__base3{grid-column:span 3}.haze-grid-item-styles__base4{grid-column:span 4}.haze-grid-item-styles__base5{grid-column:span 5}.haze-grid-item-styles__base6{grid-column:span 6}.haze-grid-item-styles__base7{grid-column:span 7}.haze-grid-item-styles__base8{grid-column:span 8}.haze-grid-item-styles__base9{grid-column:span 9}.haze-grid-item-styles__base10{grid-column:span 10}.haze-grid-item-styles__base11{grid-column:span 11}.haze-grid-item-styles__base12{grid-column:span 12}@container (width>=384px){.haze-grid-item-styles__sm1{grid-column:span 1}.haze-grid-item-styles__sm2{grid-column:span 2}.haze-grid-item-styles__sm3{grid-column:span 3}.haze-grid-item-styles__sm4{grid-column:span 4}.haze-grid-item-styles__sm5{grid-column:span 5}.haze-grid-item-styles__sm6{grid-column:span 6}.haze-grid-item-styles__sm7{grid-column:span 7}.haze-grid-item-styles__sm8{grid-column:span 8}.haze-grid-item-styles__sm9{grid-column:span 9}.haze-grid-item-styles__sm10{grid-column:span 10}.haze-grid-item-styles__sm11{grid-column:span 11}.haze-grid-item-styles__sm12{grid-column:span 12}}@container (width>=576px){.haze-grid-item-styles__md1{grid-column:span 1}.haze-grid-item-styles__md2{grid-column:span 2}.haze-grid-item-styles__md3{grid-column:span 3}.haze-grid-item-styles__md4{grid-column:span 4}.haze-grid-item-styles__md5{grid-column:span 5}.haze-grid-item-styles__md6{grid-column:span 6}.haze-grid-item-styles__md7{grid-column:span 7}.haze-grid-item-styles__md8{grid-column:span 8}.haze-grid-item-styles__md9{grid-column:span 9}.haze-grid-item-styles__md10{grid-column:span 10}.haze-grid-item-styles__md11{grid-column:span 11}.haze-grid-item-styles__md12{grid-column:span 12}}@container (width>=768px){.haze-grid-item-styles__lg1{grid-column:span 1}.haze-grid-item-styles__lg2{grid-column:span 2}.haze-grid-item-styles__lg3{grid-column:span 3}.haze-grid-item-styles__lg4{grid-column:span 4}.haze-grid-item-styles__lg5{grid-column:span 5}.haze-grid-item-styles__lg6{grid-column:span 6}.haze-grid-item-styles__lg7{grid-column:span 7}.haze-grid-item-styles__lg8{grid-column:span 8}.haze-grid-item-styles__lg9{grid-column:span 9}.haze-grid-item-styles__lg10{grid-column:span 10}.haze-grid-item-styles__lg11{grid-column:span 11}.haze-grid-item-styles__lg12{grid-column:span 12}}
|
package/dist/css/hover-card.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* haze-ui hover-card — generated by scripts/split-css.mjs, do not edit */
|
|
2
|
-
.haze-HoverCard__container{display:inline-flex;position:relative}.haze-HoverCard__panelVisuals{min-width:240px;max-width:320px;padding:var(--haze-space-4);border:1px solid var(--haze-color-border);border-radius:var(--haze-radius-lg);background:var(--haze-color-bg);color:var(--haze-color-text);font-family:var(--haze-font-sans);font-size:var(--haze-text-sm);box-shadow:var(--haze-shadow-lg)}
|
|
2
|
+
.haze-HoverCard__container{display:inline-flex;position:relative}.haze-HoverCard__panelVisuals{box-sizing:border-box;min-width:240px;max-width:320px;padding:var(--haze-space-4);border:1px solid var(--haze-color-border);border-radius:var(--haze-radius-lg);background:var(--haze-color-bg);color:var(--haze-color-text);font-family:var(--haze-font-sans);font-size:var(--haze-text-sm);box-shadow:var(--haze-shadow-lg)}@media (forced-colors:active){.haze-HoverCard__panelVisuals{border-color:canvastext}}
|
package/dist/css/input.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* haze-ui input — generated by scripts/split-css.mjs, do not edit */
|
|
2
|
-
.haze-InputCore__base{border:1px solid var(--haze-color-border);border-radius:var(--haze-radius-md);background:var(--haze-color-bg);width:100%;color:var(--haze-color-text);font-family:var(--haze-font-sans);line-height:var(--haze-leading-normal);-webkit-transition:border-color var(--haze-duration-fast),box-shadow var(--haze-duration-fast);transition:border-color var(--haze-duration-fast),box-shadow var(--haze-duration-fast);display:block}.haze-InputCore__base:hover{border-color:var(--haze-color-border-hover)}.haze-InputCore__base:focus{border-color:var(--haze-color-primary);box-shadow:0 0 0 3px var(--haze-color-focus-ring);outline:none}.haze-InputCore__base:disabled{opacity:.5;cursor:not-allowed}.haze-InputCore__base::-webkit-input-placeholder{color:var(--haze-color-text-muted)}.haze-InputCore__base::placeholder{color:var(--haze-color-text-muted)}.haze-InputCore__base:-ms-placeholder-shown{color:var(--haze-color-text-muted)}.haze-InputCore__base::placeholder{color:var(--haze-color-text-muted)}.haze-InputCore__sm{padding:var(--haze-space-1) var(--haze-space-2);font-size:var(--haze-text-sm)}.haze-InputCore__md{padding:var(--haze-space-2) var(--haze-space-3);font-size:var(--haze-text-sm)}.haze-InputCore__lg{padding:var(--haze-space-3) var(--haze-space-4);font-size:var(--haze-text-base)}
|
|
2
|
+
.haze-InputCore__base{border:1px solid var(--haze-color-border);border-radius:var(--haze-radius-md);background:var(--haze-color-bg);width:100%;color:var(--haze-color-text);font-family:var(--haze-font-sans);line-height:var(--haze-leading-normal);-webkit-transition:border-color var(--haze-duration-fast),box-shadow var(--haze-duration-fast);transition:border-color var(--haze-duration-fast),box-shadow var(--haze-duration-fast);display:block}.haze-InputCore__base:hover{border-color:var(--haze-color-border-hover)}.haze-InputCore__base:focus{border-color:var(--haze-color-primary);box-shadow:0 0 0 3px var(--haze-color-focus-ring);outline:none}.haze-InputCore__base:disabled{opacity:.5;cursor:not-allowed}@media (forced-colors:active){.haze-InputCore__base{border-color:canvastext}.haze-InputCore__base:focus{outline:2px solid highlight}.haze-InputCore__base:disabled{opacity:1;color:graytext}}.haze-InputCore__base::-webkit-input-placeholder{color:var(--haze-color-text-muted)}.haze-InputCore__base::placeholder{color:var(--haze-color-text-muted)}.haze-InputCore__base:-ms-placeholder-shown{color:var(--haze-color-text-muted)}.haze-InputCore__base::placeholder{color:var(--haze-color-text-muted)}.haze-InputCore__sm{padding:var(--haze-space-1) var(--haze-space-2);font-size:var(--haze-text-sm)}.haze-InputCore__md{padding:var(--haze-space-2) var(--haze-space-3);font-size:var(--haze-text-sm)}.haze-InputCore__lg{padding:var(--haze-space-3) var(--haze-space-4);font-size:var(--haze-text-base)}
|
package/dist/css/list.css
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/* haze-ui list — generated by scripts/split-css.mjs, do not edit */
|
|
2
|
-
.haze-List__base{font-family:var(--haze-font-sans);font-size:var(--haze-text-sm);color:var(--haze-color-text);line-height:var(--haze-leading-normal);-webkit-padding-start:var(--haze-space-5);margin:0;padding-inline-start:var(--haze-space-5)}.haze-List__unordered{list-style-type:disc}.haze-List__ordered{list-style-type:decimal}.haze-List__none{-webkit-padding-start:0;padding-inline-start:0;list-style-type:none}
|
|
2
|
+
.haze-List__base{font-family:var(--haze-font-sans);font-size:var(--haze-text-sm);color:var(--haze-color-text);line-height:var(--haze-leading-normal);-webkit-padding-start:var(--haze-space-5);margin:0;padding-inline-start:var(--haze-space-5)}.haze-List__unordered{list-style-type:disc}.haze-List__ordered{list-style-type:decimal}.haze-List__none{-webkit-padding-start:0;padding-inline-start:0;list-style-type:none}.haze-List__loadMoreSlot{padding:var(--haze-space-1) 0;list-style:none}
|
|
3
3
|
.haze-ListItem__item{padding:var(--haze-space-1) 0}
|
package/dist/css/menu.css
CHANGED
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
/* haze-ui menu — generated by scripts/split-css.mjs, do not edit */
|
|
2
|
-
.haze-Menu__container{display:inline-flex;position:relative}.haze-Menu__panel{min-width:160px;padding:var(--haze-space-1) 0;border:1px solid var(--haze-color-border);border-radius:var(--haze-radius-lg);background:var(--haze-color-bg);box-shadow:var(--haze-shadow-lg)}
|
|
2
|
+
.haze-Menu__container{display:inline-flex;position:relative}.haze-Menu__panel{box-sizing:border-box;min-width:160px;padding:var(--haze-space-1) 0;border:1px solid var(--haze-color-border);border-radius:var(--haze-radius-lg);background:var(--haze-color-bg);box-shadow:var(--haze-shadow-lg)}@media (forced-colors:active){.haze-Menu__panel{border-color:canvastext}}
|
|
3
|
+
.haze-MenuCheckboxItem__item{width:100%;padding:var(--haze-space-2) var(--haze-space-3);color:var(--haze-color-text);font-family:var(--haze-font-sans);font-size:var(--haze-text-sm);text-align:start;cursor:pointer;-webkit-transition:background var(--haze-duration-fast);transition:background var(--haze-duration-fast);background:0 0;border:none;align-items:center;display:flex}.haze-MenuCheckboxItem__item:hover{background:var(--haze-color-bg-subtle)}.haze-MenuCheckboxItem__item:active{background:var(--haze-color-bg-muted)}.haze-MenuCheckboxItem__item:focus-visible{background:var(--haze-color-bg-subtle);box-shadow:inset 0 0 0 2px var(--haze-color-focus-ring);outline:none}@media (forced-colors:active){.haze-MenuCheckboxItem__item:focus-visible{outline-offset:-2px;outline:2px solid highlight}}.haze-MenuCheckboxItem__item:disabled{opacity:.5;cursor:not-allowed}
|
|
3
4
|
.haze-MenuDivider__divider{height:1px;margin:var(--haze-space-1) 0;background:var(--haze-color-border)}
|
|
4
|
-
.haze-
|
|
5
|
+
.haze-MenuGroup__group{display:block}
|
|
6
|
+
.haze-MenuItem__item{width:100%;padding:var(--haze-space-2) var(--haze-space-3);color:var(--haze-color-text);font-family:var(--haze-font-sans);font-size:var(--haze-text-sm);text-align:start;cursor:pointer;-webkit-transition:background var(--haze-duration-fast);transition:background var(--haze-duration-fast);background:0 0;border:none;align-items:center;display:flex}.haze-MenuItem__item:hover{background:var(--haze-color-bg-subtle)}.haze-MenuItem__item:active{background:var(--haze-color-bg-muted)}.haze-MenuItem__item:focus-visible{background:var(--haze-color-bg-subtle);box-shadow:inset 0 0 0 2px var(--haze-color-focus-ring);outline:none}@media (forced-colors:active){.haze-MenuItem__item:focus-visible{outline-offset:-2px;outline:2px solid highlight}}.haze-MenuItem__item:disabled{opacity:.5;cursor:not-allowed}
|
|
7
|
+
.haze-MenuRadioGroup__group{display:block}
|
|
8
|
+
.haze-MenuRadioItem__item{width:100%;padding:var(--haze-space-2) var(--haze-space-3);color:var(--haze-color-text);font-family:var(--haze-font-sans);font-size:var(--haze-text-sm);text-align:start;cursor:pointer;-webkit-transition:background var(--haze-duration-fast);transition:background var(--haze-duration-fast);background:0 0;border:none;align-items:center;display:flex}.haze-MenuRadioItem__item:hover{background:var(--haze-color-bg-subtle)}.haze-MenuRadioItem__item:active{background:var(--haze-color-bg-muted)}.haze-MenuRadioItem__item:focus-visible{background:var(--haze-color-bg-subtle);box-shadow:inset 0 0 0 2px var(--haze-color-focus-ring);outline:none}@media (forced-colors:active){.haze-MenuRadioItem__item:focus-visible{outline-offset:-2px;outline:2px solid highlight}}.haze-MenuRadioItem__item:disabled{opacity:.5;cursor:not-allowed}
|
|
5
9
|
.haze-MenuSub__wrapper{display:block;position:relative}
|
|
6
|
-
.haze-MenuSubContent__panel{min-width:160px;padding:var(--haze-space-1) 0;border:1px solid var(--haze-color-border);border-radius:var(--haze-radius-lg);background:var(--haze-color-bg);box-shadow:var(--haze-shadow-lg)}
|
|
7
|
-
.haze-MenuSubTrigger__trigger{width:100%;padding:var(--haze-space-2) var(--haze-space-3);color:var(--haze-color-text);font-family:var(--haze-font-sans);font-size:var(--haze-text-sm);text-align:start;cursor:pointer;-webkit-transition:background var(--haze-duration-fast);transition:background var(--haze-duration-fast);background:0 0;border:none;align-items:center;display:flex}.haze-MenuSubTrigger__trigger:after{content:"›";-webkit-margin-start:auto;color:var(--haze-color-text-muted);margin-inline-start:auto}[dir=rtl] .haze-MenuSubTrigger__trigger:after{content:"‹"}.haze-MenuSubTrigger__trigger:hover,.haze-MenuSubTrigger__trigger[aria-expanded=true]{background:var(--haze-color-bg-subtle)}.haze-MenuSubTrigger__trigger:active{background:var(--haze-color-bg-muted)}.haze-MenuSubTrigger__trigger:focus-visible{background:var(--haze-color-bg-subtle);box-shadow:inset 0 0 0 2px var(--haze-color-focus-ring);outline:none}.haze-MenuSubTrigger__trigger:disabled{opacity:.5;cursor:not-allowed}
|
|
10
|
+
.haze-MenuSubContent__panel{box-sizing:border-box;min-width:160px;padding:var(--haze-space-1) 0;border:1px solid var(--haze-color-border);border-radius:var(--haze-radius-lg);background:var(--haze-color-bg);box-shadow:var(--haze-shadow-lg)}@media (forced-colors:active){.haze-MenuSubContent__panel{border-color:canvastext}}
|
|
11
|
+
.haze-MenuSubTrigger__trigger{width:100%;padding:var(--haze-space-2) var(--haze-space-3);color:var(--haze-color-text);font-family:var(--haze-font-sans);font-size:var(--haze-text-sm);text-align:start;cursor:pointer;-webkit-transition:background var(--haze-duration-fast);transition:background var(--haze-duration-fast);background:0 0;border:none;align-items:center;display:flex}.haze-MenuSubTrigger__trigger:after{content:"›";-webkit-margin-start:auto;color:var(--haze-color-text-muted);margin-inline-start:auto}[dir=rtl] .haze-MenuSubTrigger__trigger:after{content:"‹"}.haze-MenuSubTrigger__trigger:hover,.haze-MenuSubTrigger__trigger[aria-expanded=true]{background:var(--haze-color-bg-subtle)}.haze-MenuSubTrigger__trigger:active{background:var(--haze-color-bg-muted)}.haze-MenuSubTrigger__trigger:focus-visible{background:var(--haze-color-bg-subtle);box-shadow:inset 0 0 0 2px var(--haze-color-focus-ring);outline:none}@media (forced-colors:active){.haze-MenuSubTrigger__trigger:focus-visible{outline-offset:-2px;outline:2px solid highlight}}.haze-MenuSubTrigger__trigger:disabled{opacity:.5;cursor:not-allowed}
|
|
12
|
+
.haze-menu-item-styles__menuItemDanger{color:var(--haze-color-danger)}.haze-menu-item-styles__menuItemDanger:hover,.haze-menu-item-styles__menuItemDanger:active{background:var(--haze-color-danger-subtle)}.haze-menu-item-styles__menuItemIcon{-webkit-margin-end:var(--haze-space-2);flex-shrink:0;align-items:center;margin-inline-end:var(--haze-space-2);display:inline-flex}.haze-menu-item-styles__menuItemIcon svg{width:1em;height:1em}.haze-menu-item-styles__menuItemKbd{-webkit-margin-start:auto;-webkit-padding-start:var(--haze-space-3);color:var(--haze-color-text-muted);font-family:var(--haze-font-mono);font-size:var(--haze-text-xs);margin-inline-start:auto;padding-inline-start:var(--haze-space-3)}.haze-menu-item-styles__menuItemIndicator{-webkit-margin-end:var(--haze-space-2);width:1em;height:1em;flex-shrink:0;justify-content:center;align-items:center;margin-inline-end:var(--haze-space-2);display:inline-flex}.haze-menu-item-styles__menuGroupLabel{padding:var(--haze-space-2) var(--haze-space-3) var(--haze-space-1);font-family:var(--haze-font-sans);font-size:var(--haze-text-xs);font-weight:var(--haze-weight-medium);color:var(--haze-color-text-muted)}
|
|
8
13
|
.haze-floating__floatingNative{margin:0;inset:auto}.haze-floating__floatingAnchored{position-anchor:var(--haze-floating-anchor)}.haze-floating__floatingFixed{position:fixed}.haze-floating__floatingHidden{display:none}.haze-floating__floatingAnimated[data-state=open]{-webkit-animation:haze-floating-in-haze-floating__floatingAnimated var(--haze-duration-fast) var(--haze-ease);animation:haze-floating-in-haze-floating__floatingAnimated var(--haze-duration-fast) var(--haze-ease)}.haze-floating__floatingAnimated[data-state=closed]{-webkit-animation:haze-floating-out-haze-floating__floatingAnimated var(--haze-duration-fast) var(--haze-ease) forwards;animation:haze-floating-out-haze-floating__floatingAnimated var(--haze-duration-fast) var(--haze-ease) forwards}@keyframes haze-floating-in-haze-floating__floatingAnimated{0%{opacity:0}}@keyframes haze-floating-out-haze-floating__floatingAnimated{to{opacity:0}}.haze-floating__anchoredBottom,.haze-floating__anchoredBottomSpan{position-area:bottom span-right;margin-top:var(--haze-space-1);position-try-fallbacks:flip-block}.haze-floating__anchoredBottomCenter{position-area:bottom center;margin-top:var(--haze-space-1);position-try-fallbacks:flip-block}.haze-floating__anchoredBottomEnd{position-area:bottom span-left;margin-top:var(--haze-space-1);position-try-fallbacks:flip-block}.haze-floating__anchoredTop{position-area:top center;margin-bottom:var(--haze-space-1);position-try-fallbacks:flip-block}.haze-floating__anchoredLeft{position-area:left center;margin-right:var(--haze-space-1);position-try-fallbacks:flip-inline}.haze-floating__anchoredRight{position-area:right center;margin-left:var(--haze-space-1);position-try-fallbacks:flip-inline}.haze-floating__anchoredLogicalBottom{position-area:span-inline-end block-end;position-try-fallbacks:flip-block;margin-block-start:var(--haze-space-1)}.haze-floating__anchoredLogicalBottomCenter{position-area:block-end center;position-try-fallbacks:flip-block;margin-block-start:var(--haze-space-1)}.haze-floating__anchoredLogicalBottomEnd{position-area:span-inline-start block-end;position-try-fallbacks:flip-block;margin-block-start:var(--haze-space-1)}.haze-floating__anchoredLogicalTop{position-area:block-start center;position-try-fallbacks:flip-block;margin-block-end:var(--haze-space-1)}.haze-floating__anchoredLogicalLeft{position-area:inline-start center;-webkit-margin-end:var(--haze-space-1);position-try-fallbacks:flip-inline;margin-inline-end:var(--haze-space-1)}.haze-floating__anchoredLogicalRight{position-area:inline-end center;-webkit-margin-start:var(--haze-space-1);position-try-fallbacks:flip-inline;margin-inline-start:var(--haze-space-1)}.haze-floating__fallbackBottom{z-index:1000;margin-top:var(--haze-space-1);position:absolute;top:100%;left:0}.haze-floating__fallbackBottomCenter{z-index:1000;margin-top:var(--haze-space-1);position:absolute;top:100%;left:50%;transform:translate(-50%)}.haze-floating__fallbackBottomEnd{z-index:1000;margin-top:var(--haze-space-1);position:absolute;top:100%;right:0}.haze-floating__fallbackTop{z-index:1000;margin-bottom:var(--haze-space-1);position:absolute;bottom:100%;left:50%;transform:translate(-50%)}.haze-floating__fallbackLeft{z-index:1000;margin-right:var(--haze-space-1);position:absolute;top:50%;right:100%;transform:translateY(-50%)}.haze-floating__fallbackRight{z-index:1000;margin-left:var(--haze-space-1);position:absolute;top:50%;left:100%;transform:translateY(-50%)}.haze-floating__gapBelow{margin-top:var(--haze-space-1)}.haze-floating__gapAbove{margin-bottom:var(--haze-space-1)}.haze-floating__gapBefore{margin-right:var(--haze-space-1)}.haze-floating__gapAfter{margin-left:var(--haze-space-1)}
|
package/dist/css/pagination.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* haze-ui pagination — generated by scripts/split-css.mjs, do not edit */
|
|
2
|
-
.haze-Pagination__nav{align-items:center;gap:var(--haze-space-1);font-family:var(--haze-font-sans);display:flex}.haze-Pagination__btn{min-width:2.25rem;height:2.25rem;padding:0 var(--haze-space-2);border:1px solid var(--haze-color-border);border-radius:var(--haze-radius-md);background:var(--haze-color-bg);color:var(--haze-color-text);font-size:var(--haze-text-sm);cursor:pointer;-webkit-transition:background var(--haze-duration-fast),border-color var(--haze-duration-fast);transition:background var(--haze-duration-fast),border-color var(--haze-duration-fast);justify-content:center;align-items:center;display:inline-flex}.haze-Pagination__btn:hover:not(:disabled){background:var(--haze-color-bg-subtle);border-color:var(--haze-color-border-hover)}.haze-Pagination__btn:disabled{opacity:.5;cursor:not-allowed}.haze-Pagination__btn:focus-visible{box-shadow:0 0 0 3px var(--haze-color-focus-ring);outline:none}.haze-Pagination__activeBtn{background:var(--haze-color-primary);border-color:var(--haze-color-primary);color:var(--haze-color-text-inverse)}.haze-Pagination__activeBtn:hover:not(:disabled){background:var(--haze-color-primary-hover);border-color:var(--haze-color-primary-hover)}.haze-Pagination__ellipsis{min-width:2.25rem;height:2.25rem;color:var(--haze-color-text-muted);font-size:var(--haze-text-sm);justify-content:center;align-items:center;display:inline-flex}.haze-Pagination__sm button{min-width:2rem;height:2rem;font-size:var(--haze-text-xs)}.haze-Pagination__lg button{min-width:40px;height:40px;font-size:var(--haze-text-base)}
|
|
2
|
+
.haze-Pagination__nav{align-items:center;gap:var(--haze-space-1);font-family:var(--haze-font-sans);display:flex}.haze-Pagination__btn{min-width:2.25rem;height:2.25rem;padding:0 var(--haze-space-2);border:1px solid var(--haze-color-border);border-radius:var(--haze-radius-md);background:var(--haze-color-bg);color:var(--haze-color-text);font-size:var(--haze-text-sm);cursor:pointer;-webkit-transition:background var(--haze-duration-fast),border-color var(--haze-duration-fast);transition:background var(--haze-duration-fast),border-color var(--haze-duration-fast);justify-content:center;align-items:center;display:inline-flex}.haze-Pagination__btn:hover:not(:disabled){background:var(--haze-color-bg-subtle);border-color:var(--haze-color-border-hover)}.haze-Pagination__btn:disabled{opacity:.5;cursor:not-allowed}.haze-Pagination__btn:focus-visible{box-shadow:0 0 0 3px var(--haze-color-focus-ring);outline:none}@media (forced-colors:active){.haze-Pagination__btn:focus-visible{outline-offset:-2px;outline:2px solid highlight}.haze-Pagination__btn:disabled{opacity:1;color:graytext}}.haze-Pagination__activeBtn{background:var(--haze-color-primary);border-color:var(--haze-color-primary);color:var(--haze-color-text-inverse)}.haze-Pagination__activeBtn:hover:not(:disabled){background:var(--haze-color-primary-hover);border-color:var(--haze-color-primary-hover)}@media (forced-colors:active){.haze-Pagination__activeBtn{color:highlighttext;background:highlight;border-color:highlight}.haze-Pagination__activeBtn:hover:not(:disabled){background:highlight;border-color:highlight}}.haze-Pagination__ellipsis{min-width:2.25rem;height:2.25rem;color:var(--haze-color-text-muted);font-size:var(--haze-text-sm);justify-content:center;align-items:center;display:inline-flex}.haze-Pagination__ellipsisJumpBtn{font-family:var(--haze-font-sans);cursor:pointer;background:0 0;border:none;padding:0}.haze-Pagination__ellipsisJumpBtn:hover:not(:disabled){color:var(--haze-color-primary)}.haze-Pagination__ellipsisJumpBtn:focus-visible{box-shadow:0 0 0 3px var(--haze-color-focus-ring);outline:none}@media (forced-colors:active){.haze-Pagination__ellipsisJumpBtn{outline-offset:-1px;outline:1px solid canvastext}.haze-Pagination__ellipsisJumpBtn:focus-visible{outline-offset:-2px;outline:2px solid highlight}}.haze-Pagination__auxText{color:var(--haze-color-text-secondary);font-size:var(--haze-text-sm)}.haze-Pagination__control{height:2.25rem;padding:0 var(--haze-space-2);border:1px solid var(--haze-color-border);border-radius:var(--haze-radius-md);background:var(--haze-color-bg);color:var(--haze-color-text);font-size:var(--haze-text-sm);font-family:var(--haze-font-sans);cursor:pointer}.haze-Pagination__control:focus-visible{box-shadow:0 0 0 3px var(--haze-color-focus-ring);outline:none}@media (forced-colors:active){.haze-Pagination__control:focus-visible{outline:2px solid highlight}}.haze-Pagination__jumperInput{width:3rem;height:2.25rem;padding:0 var(--haze-space-1);border:1px solid var(--haze-color-border);border-radius:var(--haze-radius-md);background:var(--haze-color-bg);color:var(--haze-color-text);font-size:var(--haze-text-sm);font-family:var(--haze-font-sans);text-align:center;cursor:text}.haze-Pagination__jumperInput:focus-visible{box-shadow:0 0 0 3px var(--haze-color-focus-ring);outline:none}@media (forced-colors:active){.haze-Pagination__jumperInput:focus-visible{outline:2px solid highlight}}.haze-Pagination__sm button,.haze-Pagination__sm select,.haze-Pagination__sm input{min-width:2rem;height:2rem;font-size:var(--haze-text-xs)}.haze-Pagination__lg button,.haze-Pagination__lg select,.haze-Pagination__lg input{min-width:40px;height:40px;font-size:var(--haze-text-base)}
|
package/dist/css/popover.css
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/* haze-ui popover — generated by scripts/split-css.mjs, do not edit */
|
|
2
|
-
.haze-Popover__container{display:inline-flex;position:relative}.haze-Popover__panelVisuals{padding:var(--haze-space-3);border:1px solid var(--haze-color-border);border-radius:var(--haze-radius-lg);background:var(--haze-color-bg);color:var(--haze-color-text);font-family:var(--haze-font-sans);font-size:var(--haze-text-sm);box-shadow:var(--haze-shadow-lg);min-width:200px}
|
|
2
|
+
.haze-Popover__container{display:inline-flex;position:relative}.haze-Popover__panelVisuals{box-sizing:border-box;padding:var(--haze-space-3);border:1px solid var(--haze-color-border);border-radius:var(--haze-radius-lg);background:var(--haze-color-bg);color:var(--haze-color-text);font-family:var(--haze-font-sans);font-size:var(--haze-text-sm);box-shadow:var(--haze-shadow-lg);min-width:200px}@media (forced-colors:active){.haze-Popover__panelVisuals{border-color:canvastext}}
|
|
3
3
|
.haze-floating__floatingNative{margin:0;inset:auto}.haze-floating__floatingAnchored{position-anchor:var(--haze-floating-anchor)}.haze-floating__floatingFixed{position:fixed}.haze-floating__floatingHidden{display:none}.haze-floating__floatingAnimated[data-state=open]{-webkit-animation:haze-floating-in-haze-floating__floatingAnimated var(--haze-duration-fast) var(--haze-ease);animation:haze-floating-in-haze-floating__floatingAnimated var(--haze-duration-fast) var(--haze-ease)}.haze-floating__floatingAnimated[data-state=closed]{-webkit-animation:haze-floating-out-haze-floating__floatingAnimated var(--haze-duration-fast) var(--haze-ease) forwards;animation:haze-floating-out-haze-floating__floatingAnimated var(--haze-duration-fast) var(--haze-ease) forwards}@keyframes haze-floating-in-haze-floating__floatingAnimated{0%{opacity:0}}@keyframes haze-floating-out-haze-floating__floatingAnimated{to{opacity:0}}.haze-floating__anchoredBottom,.haze-floating__anchoredBottomSpan{position-area:bottom span-right;margin-top:var(--haze-space-1);position-try-fallbacks:flip-block}.haze-floating__anchoredBottomCenter{position-area:bottom center;margin-top:var(--haze-space-1);position-try-fallbacks:flip-block}.haze-floating__anchoredBottomEnd{position-area:bottom span-left;margin-top:var(--haze-space-1);position-try-fallbacks:flip-block}.haze-floating__anchoredTop{position-area:top center;margin-bottom:var(--haze-space-1);position-try-fallbacks:flip-block}.haze-floating__anchoredLeft{position-area:left center;margin-right:var(--haze-space-1);position-try-fallbacks:flip-inline}.haze-floating__anchoredRight{position-area:right center;margin-left:var(--haze-space-1);position-try-fallbacks:flip-inline}.haze-floating__anchoredLogicalBottom{position-area:span-inline-end block-end;position-try-fallbacks:flip-block;margin-block-start:var(--haze-space-1)}.haze-floating__anchoredLogicalBottomCenter{position-area:block-end center;position-try-fallbacks:flip-block;margin-block-start:var(--haze-space-1)}.haze-floating__anchoredLogicalBottomEnd{position-area:span-inline-start block-end;position-try-fallbacks:flip-block;margin-block-start:var(--haze-space-1)}.haze-floating__anchoredLogicalTop{position-area:block-start center;position-try-fallbacks:flip-block;margin-block-end:var(--haze-space-1)}.haze-floating__anchoredLogicalLeft{position-area:inline-start center;-webkit-margin-end:var(--haze-space-1);position-try-fallbacks:flip-inline;margin-inline-end:var(--haze-space-1)}.haze-floating__anchoredLogicalRight{position-area:inline-end center;-webkit-margin-start:var(--haze-space-1);position-try-fallbacks:flip-inline;margin-inline-start:var(--haze-space-1)}.haze-floating__fallbackBottom{z-index:1000;margin-top:var(--haze-space-1);position:absolute;top:100%;left:0}.haze-floating__fallbackBottomCenter{z-index:1000;margin-top:var(--haze-space-1);position:absolute;top:100%;left:50%;transform:translate(-50%)}.haze-floating__fallbackBottomEnd{z-index:1000;margin-top:var(--haze-space-1);position:absolute;top:100%;right:0}.haze-floating__fallbackTop{z-index:1000;margin-bottom:var(--haze-space-1);position:absolute;bottom:100%;left:50%;transform:translate(-50%)}.haze-floating__fallbackLeft{z-index:1000;margin-right:var(--haze-space-1);position:absolute;top:50%;right:100%;transform:translateY(-50%)}.haze-floating__fallbackRight{z-index:1000;margin-left:var(--haze-space-1);position:absolute;top:50%;left:100%;transform:translateY(-50%)}.haze-floating__gapBelow{margin-top:var(--haze-space-1)}.haze-floating__gapAbove{margin-bottom:var(--haze-space-1)}.haze-floating__gapBefore{margin-right:var(--haze-space-1)}.haze-floating__gapAfter{margin-left:var(--haze-space-1)}
|
package/dist/css/progress.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* haze-ui progress — generated by scripts/split-css.mjs, do not edit */
|
|
2
|
-
.haze-Progress__barBase{background:var(--haze-color-bg-muted);border-radius:var(--haze-radius-full);width:100%;overflow:hidden}.haze-Progress__sm{width:32px;height:32px}.haze-Progress__md{width:48px;height:48px}.haze-Progress__lg{width:64px;height:64px}.haze-Progress__barFill{border-radius:var(--haze-radius-full);height:100%;-webkit-transition:width var(--haze-duration-slow) ease;transition:width var(--haze-duration-slow) ease}.haze-Progress__primary{stroke:var(--haze-color-primary)}.haze-Progress__success{stroke:var(--haze-color-success)}.haze-Progress__warning{stroke:var(--haze-color-warning)}.haze-Progress__danger{stroke:var(--haze-color-danger)}.haze-Progress__circleBase{transform:rotate(-90deg)}.haze-Progress__circleBg{fill:none;stroke:var(--haze-color-bg-muted)}.haze-Progress__circleFill{fill:none;stroke-linecap:round;-webkit-transition:stroke-dashoffset var(--haze-duration-slow) ease;transition:stroke-dashoffset var(--haze-duration-slow) ease}
|
|
2
|
+
.haze-Progress__barBase{background:var(--haze-color-bg-muted);border-radius:var(--haze-radius-full);width:100%;overflow:hidden}@media (forced-colors:active){.haze-Progress__barBase>[data-slot=fill]{background:highlight}}.haze-Progress__sm{width:32px;height:32px}.haze-Progress__md{width:48px;height:48px}.haze-Progress__lg{width:64px;height:64px}.haze-Progress__barFill{border-radius:var(--haze-radius-full);height:100%;-webkit-transition:width var(--haze-duration-slow) ease;transition:width var(--haze-duration-slow) ease}.haze-Progress__primary{stroke:var(--haze-color-primary)}.haze-Progress__success{stroke:var(--haze-color-success)}.haze-Progress__warning{stroke:var(--haze-color-warning)}.haze-Progress__danger{stroke:var(--haze-color-danger)}.haze-Progress__circleBase{transform:rotate(-90deg)}@media (forced-colors:active){.haze-Progress__circleBase [data-slot=track]{stroke:graytext}.haze-Progress__circleBase [data-slot=fill]{stroke:highlight}}.haze-Progress__circleBg{fill:none;stroke:var(--haze-color-bg-muted)}.haze-Progress__circleFill{fill:none;stroke-linecap:round;-webkit-transition:stroke-dashoffset var(--haze-duration-slow) ease;transition:stroke-dashoffset var(--haze-duration-slow) ease}
|
package/dist/css/radio.css
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/* haze-ui radio — generated by scripts/split-css.mjs, do not edit */
|
|
2
|
-
.haze-Radio__radioInput{appearance:none;border:1px solid var(--haze-color-border);border-radius:var(--haze-radius-full);background:var(--haze-color-bg);cursor:pointer;
|
|
2
|
+
.haze-Radio__radioInput{appearance:none;width:var(--haze-space-6);height:var(--haze-space-6);border:1px solid var(--haze-color-border);border-radius:var(--haze-radius-full);background:var(--haze-color-bg);cursor:pointer;margin:var(--haze-space-1);-webkit-transition:background var(--haze-duration-fast),border-color var(--haze-duration-fast),box-shadow var(--haze-duration-fast);transition:background var(--haze-duration-fast),border-color var(--haze-duration-fast),box-shadow var(--haze-duration-fast);flex-shrink:0;position:relative}.haze-Radio__radioInput:hover{border-color:var(--haze-color-border-hover)}.haze-Radio__radioInput:focus-visible{box-shadow:0 0 0 3px var(--haze-color-focus-ring);outline:none}.haze-Radio__radioInput:checked{border-color:var(--haze-color-primary)}.haze-Radio__radioInput:checked:after{content:"";top:5px;border-radius:var(--haze-radius-full);background:var(--haze-color-primary);width:12px;height:12px;position:absolute;inset-inline-start:5px}.haze-Radio__radioInput:disabled{opacity:.5;cursor:not-allowed}@media (forced-colors:active){.haze-Radio__radioInput{border-color:canvastext}.haze-Radio__radioInput:checked:after{background:canvastext}.haze-Radio__radioInput:focus-visible{outline-offset:2px;outline:2px solid highlight}.haze-Radio__radioInput:disabled{opacity:1;border-color:graytext}.haze-Radio__radioInput:disabled:after{background:graytext}}.haze-Radio__labelStyle{align-items:center;gap:var(--haze-space-2);font-family:var(--haze-font-sans);font-size:var(--haze-text-sm);color:var(--haze-color-text);cursor:pointer;display:inline-flex}
|
|
3
3
|
.haze-RadioGroupCore__base{gap:var(--haze-space-2);border:none;flex-direction:column;margin:0;padding:0;display:flex}
|
package/dist/css/rating.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* haze-ui rating — generated by scripts/split-css.mjs, do not edit */
|
|
2
|
-
.haze-RatingCore__container{gap:var(--haze-space-1);font-family:var(--haze-font-sans);display:inline-flex}.haze-RatingCore__star{cursor:pointer;width:1.75rem;height:1.75rem;color:var(--haze-color-border);-webkit-transition:color var(--haze-duration-fast),-webkit-transform var(--haze-duration-fast);transition:color var(--haze-duration-fast),transform var(--haze-duration-fast);justify-content:center;align-items:center;display:inline-flex;position:relative}.haze-RatingCore__star:hover{transform:scale(1.1)}.haze-RatingCore__star:focus-visible{box-shadow:0 0 0 3px var(--haze-color-focus-ring);outline:none}.haze-RatingCore__starActive{color:var(--haze-color-warning)}
|
|
2
|
+
.haze-RatingCore__container{gap:var(--haze-space-1);font-family:var(--haze-font-sans);display:inline-flex}.haze-RatingCore__star{cursor:pointer;width:1.75rem;height:1.75rem;color:var(--haze-color-border);-webkit-transition:color var(--haze-duration-fast),-webkit-transform var(--haze-duration-fast);transition:color var(--haze-duration-fast),transform var(--haze-duration-fast);justify-content:center;align-items:center;display:inline-flex;position:relative}.haze-RatingCore__star:hover{transform:scale(1.1)}.haze-RatingCore__star:focus-visible{box-shadow:0 0 0 3px var(--haze-color-focus-ring);outline:none}@media (forced-colors:active){.haze-RatingCore__star{color:canvastext}.haze-RatingCore__star:focus-visible{outline-offset:2px;outline:2px solid highlight}}.haze-RatingCore__starActive{color:var(--haze-color-warning)}
|
package/dist/css/resizable.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* haze-ui resizable — generated by scripts/split-css.mjs, do not edit */
|
|
2
|
-
.haze-Resizable__groupBase{display:flex;overflow:hidden}.haze-Resizable__groupHorizontal{flex-direction:row;height:100%}.haze-Resizable__groupVertical{flex-direction:column;width:100%}.haze-
|
|
2
|
+
.haze-Resizable__groupBase{box-sizing:border-box;flex:1 1 0;min-width:0;min-height:0;display:flex;overflow:hidden}.haze-Resizable__groupHorizontal{flex-direction:row;height:100%}.haze-Resizable__groupVertical{flex-direction:column;width:100%}.haze-Resizable__panelBase{box-sizing:border-box;min-width:0;min-height:0;overflow:auto}.haze-Resizable__panelCollapsed{visibility:hidden;overflow:hidden}.haze-Resizable__handleBase{background:var(--haze-color-border);-webkit-transition:background var(--haze-duration-fast);transition:background var(--haze-duration-fast);touch-action:none;-webkit-background-clip:content-box;background-clip:content-box;flex:none}.haze-Resizable__handleBase:hover,.haze-Resizable__handleBase:focus-visible{background:linear-gradient(to right, transparent 0, var(--haze-color-primary) 50%, transparent 100%) center/2px 100% no-repeat,var(--haze-color-bg-subtle)}.haze-Resizable__handleBase:focus-visible{box-shadow:inset 0 0 0 2px var(--haze-color-focus-ring);outline:none}.haze-Resizable__handleBase:has(+[data-slot=resizable-panel][data-collapsed]){cursor:pointer}@media (forced-colors:active){.haze-Resizable__handleBase{background:canvastext;-webkit-background-clip:content-box;background-clip:content-box}.haze-Resizable__handleBase:hover,.haze-Resizable__handleBase:focus-visible{background:highlight;-webkit-background-clip:content-box;background-clip:content-box}.haze-Resizable__handleBase:focus-visible{outline-offset:-2px;outline:2px solid highlight}}.haze-Resizable__handleHorizontal{width:2px;height:100%;padding-inline:calc((var(--haze-space-6) - 2px) / 2);cursor:col-resize}@media (pointer:coarse){.haze-Resizable__handleHorizontal{padding-inline:21px}}.haze-Resizable__handleVertical{width:100%;height:2px;padding-block:calc((var(--haze-space-6) - 2px) / 2);cursor:row-resize}.haze-Resizable__handleVertical:hover,.haze-Resizable__handleVertical:focus-visible{background:linear-gradient(to bottom, transparent 0, var(--haze-color-primary) 50%, transparent 100%) center/100% 2px no-repeat,var(--haze-color-bg-subtle)}@media (pointer:coarse){.haze-Resizable__handleVertical{padding-block:21px}}
|
package/dist/css/segmented.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* haze-ui segmented — generated by scripts/split-css.mjs, do not edit */
|
|
2
|
-
.haze-SegmentedCore__container{background:var(--haze-color-bg-muted);border-radius:var(--haze-radius-md);font-family:var(--haze-font-sans);gap:2px;padding:2px;display:inline-flex;overflow-x:auto}.haze-SegmentedCore__sm button{padding:var(--haze-space-0) var(--haze-space-2);font-size:var(--haze-text-xs)}.haze-SegmentedCore__md button{padding:var(--haze-space-1) var(--haze-space-3);font-size:var(--haze-text-sm)}.haze-SegmentedCore__lg button{padding:var(--haze-space-2) var(--haze-space-4);font-size:var(--haze-text-base)}.haze-SegmentedCore__btn{border-radius:var(--haze-radius-sm);color:var(--haze-color-text-secondary);cursor:pointer;font-family:var(--haze-font-sans);font-weight:var(--haze-weight-medium);-webkit-transition:background var(--haze-duration-fast),color var(--haze-duration-fast);transition:background var(--haze-duration-fast),color var(--haze-duration-fast);white-space:nowrap;background:0 0;border:none}.haze-SegmentedCore__btn:hover:not(:disabled){color:var(--haze-color-text)}.haze-SegmentedCore__btn:disabled{opacity:.5;cursor:not-allowed}.haze-SegmentedCore__btn:focus-visible{box-shadow:0 0 0 2px var(--haze-color-focus-ring);outline:none}.haze-SegmentedCore__activeBtn{background:var(--haze-color-bg);color:var(--haze-color-text);box-shadow:var(--haze-shadow-sm)}
|
|
2
|
+
.haze-SegmentedCore__container{background:var(--haze-color-bg-muted);border-radius:var(--haze-radius-md);font-family:var(--haze-font-sans);gap:2px;padding:2px;display:inline-flex;overflow-x:auto}.haze-SegmentedCore__sm button{padding:var(--haze-space-0) var(--haze-space-2);font-size:var(--haze-text-xs)}.haze-SegmentedCore__md button{padding:var(--haze-space-1) var(--haze-space-3);font-size:var(--haze-text-sm)}.haze-SegmentedCore__lg button{padding:var(--haze-space-2) var(--haze-space-4);font-size:var(--haze-text-base)}.haze-SegmentedCore__btn{border-radius:var(--haze-radius-sm);color:var(--haze-color-text-secondary);cursor:pointer;font-family:var(--haze-font-sans);font-weight:var(--haze-weight-medium);min-height:var(--haze-space-6);-webkit-transition:background var(--haze-duration-fast),color var(--haze-duration-fast);transition:background var(--haze-duration-fast),color var(--haze-duration-fast);white-space:nowrap;background:0 0;border:none}.haze-SegmentedCore__btn:hover:not(:disabled){color:var(--haze-color-text)}.haze-SegmentedCore__btn:disabled{opacity:.5;cursor:not-allowed}.haze-SegmentedCore__btn:focus-visible{box-shadow:0 0 0 2px var(--haze-color-focus-ring);outline:none}@media (forced-colors:active){.haze-SegmentedCore__btn{outline-offset:-1px;outline:1px solid canvastext}.haze-SegmentedCore__btn:focus-visible{outline-offset:-2px;outline:2px solid highlight}.haze-SegmentedCore__btn:disabled{opacity:1;color:graytext;outline-color:graytext}}.haze-SegmentedCore__activeBtn{background:var(--haze-color-bg);color:var(--haze-color-text);box-shadow:var(--haze-shadow-sm)}@media (forced-colors:active){.haze-SegmentedCore__activeBtn{color:highlighttext;background:highlight}}
|
package/dist/css/sidebar.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* haze-ui sidebar — generated by scripts/split-css.mjs, do not edit */
|
|
2
|
-
.haze-Sidebar__sidebar{width:var(--haze-sidebar-width,16rem);background:var(--haze-color-bg);height:100%;color:var(--haze-color-text);border-inline-end:1px solid var(--haze-color-border);font-family:var(--haze-font-sans);-webkit-transition:width var(--haze-duration-normal) var(--haze-ease);transition:width var(--haze-duration-normal) var(--haze-ease);flex-direction:column;display:flex;overflow:hidden}.haze-Sidebar__sidebar[data-state=collapsed]{width:var(--haze-sidebar-width-collapsed,3.5rem)}.haze-Sidebar__nav{gap:var(--haze-space-4);min-height:0;padding:var(--haze-space-3);flex-direction:column;flex:1;display:flex;overflow:hidden auto}.haze-Sidebar__group{gap:var(--haze-space-1);flex-direction:column;display:flex}.haze-Sidebar__groupTitle{padding:var(--haze-space-2);font-size:var(--haze-text-xs);font-weight:var(--haze-weight-medium);color:var(--haze-color-text-muted);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.haze-Sidebar__item{align-items:center;gap:var(--haze-space-3);min-width:0;padding:var(--haze-space-2);border-radius:var(--haze-radius-md);color:var(--haze-color-text-muted);font-size:var(--haze-text-sm);white-space:nowrap;cursor:pointer;-webkit-transition:color var(--haze-duration-fast) var(--haze-ease),background var(--haze-duration-fast) var(--haze-ease);transition:color var(--haze-duration-fast) var(--haze-ease),background var(--haze-duration-fast) var(--haze-ease);-webkit-text-decoration:none;text-decoration:none;display:flex;position:relative}.haze-Sidebar__item:hover{color:var(--haze-color-text);background:var(--haze-color-bg-muted)}.haze-Sidebar__item:focus-visible{box-shadow:0 0 0 3px var(--haze-color-focus-ring);outline:none}[data-state=collapsed] .haze-Sidebar__item{flex:1;justify-content:center;padding-inline:0}.haze-Sidebar__itemActive{color:var(--haze-color-primary);font-weight:var(--haze-weight-medium);background:var(--haze-color-primary-subtle)}.haze-Sidebar__itemActive:hover{color:var(--haze-color-primary);background:var(--haze-color-primary-subtle)}.haze-Sidebar__itemIcon{flex-shrink:0;justify-content:center;align-items:center;width:20px;height:20px;display:inline-flex}.haze-Sidebar__itemIcon>svg{width:100%;height:100%}.haze-Sidebar__itemLabel{text-overflow:ellipsis;flex:1;min-width:0;overflow:hidden}[data-state=collapsed] .haze-Sidebar__itemLabel{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.haze-Sidebar__footer{gap:var(--haze-space-1);padding:var(--haze-space-3);border-block-start:1px solid var(--haze-color-border);flex-direction:column;display:flex}.haze-Sidebar__toggle{width:var(--haze-space-8);height:var(--haze-space-8);border-radius:var(--haze-radius-md);color:var(--haze-color-text-muted);cursor:pointer;-webkit-transition:color var(--haze-duration-fast) var(--haze-ease),background var(--haze-duration-fast) var(--haze-ease);transition:color var(--haze-duration-fast) var(--haze-ease),background var(--haze-duration-fast) var(--haze-ease);background:0 0;border:none;justify-content:center;align-self:flex-end;align-items:center;display:inline-flex}.haze-Sidebar__toggle:hover{color:var(--haze-color-text);background:var(--haze-color-bg-muted)}.haze-Sidebar__toggle:focus-visible{box-shadow:0 0 0 3px var(--haze-color-focus-ring);outline:none}.haze-Sidebar__toggleIcon{width:16px;height:16px;-webkit-transition:-webkit-transform var(--haze-duration-fast) var(--haze-ease);transition:transform var(--haze-duration-fast) var(--haze-ease)}[data-state=collapsed] .haze-Sidebar__toggleIcon{transform:rotate(180deg)}
|
|
2
|
+
.haze-Sidebar__sidebar{box-sizing:border-box;width:var(--haze-sidebar-width,16rem);background:var(--haze-color-bg);height:100%;color:var(--haze-color-text);border-inline-end:1px solid var(--haze-color-border);font-family:var(--haze-font-sans);-webkit-transition:width var(--haze-duration-normal) var(--haze-ease);transition:width var(--haze-duration-normal) var(--haze-ease);flex-direction:column;display:flex;overflow:hidden}.haze-Sidebar__sidebar[data-state=collapsed]{width:var(--haze-sidebar-width-collapsed,3.5rem)}.haze-Sidebar__nav{gap:var(--haze-space-4);min-height:0;padding:var(--haze-space-3);flex-direction:column;flex:1;display:flex;overflow:hidden auto}.haze-Sidebar__group{gap:var(--haze-space-1);flex-direction:column;display:flex}.haze-Sidebar__groupTitle{padding:var(--haze-space-2);font-size:var(--haze-text-xs);font-weight:var(--haze-weight-medium);color:var(--haze-color-text-muted);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.haze-Sidebar__item{align-items:center;gap:var(--haze-space-3);min-width:0;padding:var(--haze-space-2);border-radius:var(--haze-radius-md);color:var(--haze-color-text-muted);font-size:var(--haze-text-sm);white-space:nowrap;cursor:pointer;-webkit-transition:color var(--haze-duration-fast) var(--haze-ease),background var(--haze-duration-fast) var(--haze-ease);transition:color var(--haze-duration-fast) var(--haze-ease),background var(--haze-duration-fast) var(--haze-ease);-webkit-text-decoration:none;text-decoration:none;display:flex;position:relative}.haze-Sidebar__item:hover{color:var(--haze-color-text);background:var(--haze-color-bg-muted)}.haze-Sidebar__item:focus-visible{box-shadow:0 0 0 3px var(--haze-color-focus-ring);outline:none}[data-state=collapsed] .haze-Sidebar__item{flex:1;justify-content:center;padding-inline:0}.haze-Sidebar__itemActive{color:var(--haze-color-primary);font-weight:var(--haze-weight-medium);background:var(--haze-color-primary-subtle)}.haze-Sidebar__itemActive:hover{color:var(--haze-color-primary);background:var(--haze-color-primary-subtle)}.haze-Sidebar__itemIcon{flex-shrink:0;justify-content:center;align-items:center;width:20px;height:20px;display:inline-flex}.haze-Sidebar__itemIcon>svg{width:100%;height:100%}.haze-Sidebar__itemLabel{text-overflow:ellipsis;flex:1;min-width:0;overflow:hidden}[data-state=collapsed] .haze-Sidebar__itemLabel{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.haze-Sidebar__footer{gap:var(--haze-space-1);padding:var(--haze-space-3);border-block-start:1px solid var(--haze-color-border);flex-direction:column;display:flex}.haze-Sidebar__toggle{width:var(--haze-space-8);height:var(--haze-space-8);border-radius:var(--haze-radius-md);color:var(--haze-color-text-muted);cursor:pointer;-webkit-transition:color var(--haze-duration-fast) var(--haze-ease),background var(--haze-duration-fast) var(--haze-ease);transition:color var(--haze-duration-fast) var(--haze-ease),background var(--haze-duration-fast) var(--haze-ease);background:0 0;border:none;justify-content:center;align-self:flex-end;align-items:center;display:inline-flex}.haze-Sidebar__toggle:hover{color:var(--haze-color-text);background:var(--haze-color-bg-muted)}.haze-Sidebar__toggle:focus-visible{box-shadow:0 0 0 3px var(--haze-color-focus-ring);outline:none}.haze-Sidebar__toggleIcon{width:16px;height:16px;-webkit-transition:-webkit-transform var(--haze-duration-fast) var(--haze-ease);transition:transform var(--haze-duration-fast) var(--haze-ease)}[data-state=collapsed] .haze-Sidebar__toggleIcon{transform:rotate(180deg)}
|
package/dist/css/skeleton.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* haze-ui skeleton — generated by scripts/split-css.mjs, do not edit */
|
|
2
|
-
.haze-Skeleton__base{background:var(--haze-color-bg-muted);animation:1.5s ease-in-out infinite shimmer-haze-Skeleton__base;display:block}@keyframes shimmer-haze-Skeleton__base{0%{opacity:1}50%{opacity:.4}to{opacity:1}}.haze-Skeleton__text{border-radius:var(--haze-radius-sm);height:1em}.haze-Skeleton__circular{border-radius:var(--haze-radius-full)}.haze-Skeleton__rectangular{border-radius:var(--haze-radius-md)}
|
|
2
|
+
.haze-Skeleton__base{background:var(--haze-color-bg-muted);animation:1.5s ease-in-out infinite shimmer-haze-Skeleton__base;display:block}@media (prefers-reduced-motion:reduce){.haze-Skeleton__base{animation-duration:.01ms;animation-iteration-count:1}}@keyframes shimmer-haze-Skeleton__base{0%{opacity:1}50%{opacity:.4}to{opacity:1}}@media (forced-colors:active){.haze-Skeleton__base{background:graytext}}.haze-Skeleton__text{border-radius:var(--haze-radius-sm);height:1em}.haze-Skeleton__circular{border-radius:var(--haze-radius-full)}.haze-Skeleton__rectangular{border-radius:var(--haze-radius-md)}
|
package/dist/css/slider.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* haze-ui slider — generated by scripts/split-css.mjs, do not edit */
|
|
2
|
-
.haze-SliderCore__base{appearance:none;
|
|
2
|
+
.haze-SliderCore__base{appearance:none;width:100%;height:var(--haze-space-6);background:var(--haze-color-bg-muted) center/100% 6px no-repeat;cursor:pointer;-webkit-transition:background var(--haze-duration-fast);transition:background var(--haze-duration-fast);outline:none}.haze-SliderCore__base::-webkit-slider-thumb{appearance:none;border-radius:var(--haze-radius-full);background:var(--haze-color-primary);border:2px solid var(--haze-color-bg);width:1.25rem;height:1.25rem;box-shadow:var(--haze-shadow-sm);cursor:pointer;-webkit-transition:background var(--haze-duration-fast),box-shadow var(--haze-duration-fast);transition:background var(--haze-duration-fast),box-shadow var(--haze-duration-fast)}.haze-SliderCore__base::-moz-range-thumb{border-radius:var(--haze-radius-full);background:var(--haze-color-primary);border:2px solid var(--haze-color-bg);width:1.25rem;height:1.25rem;box-shadow:var(--haze-shadow-sm);cursor:pointer}.haze-SliderCore__base:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 3px var(--haze-color-focus-ring)}.haze-SliderCore__base:focus-visible::-moz-range-thumb{box-shadow:0 0 0 3px var(--haze-color-focus-ring)}.haze-SliderCore__base:disabled{opacity:.5;cursor:not-allowed}@media (forced-colors:active){.haze-SliderCore__base{background:canvastext 50%/100% 6px no-repeat}.haze-SliderCore__base::-webkit-slider-thumb{background:highlight;border-color:highlighttext}.haze-SliderCore__base::-moz-range-thumb{background:highlight;border-color:highlighttext}.haze-SliderCore__base:focus-visible{outline-offset:2px;outline:2px solid highlight}}.haze-SliderCore__rangeWrapper{width:100%;display:block;position:relative}.haze-SliderCore__rangeWrapper:has(input:disabled){cursor:not-allowed;opacity:.5}.haze-SliderCore__singleWrapper{width:100%;display:flex;position:relative}.haze-SliderCore__rangeRail{height:var(--haze-space-6);background:var(--haze-color-bg-muted) center/100% 6px no-repeat;display:block}@media (forced-colors:active){.haze-SliderCore__rangeRail{background:canvastext 50%/100% 6px no-repeat}}.haze-SliderCore__rangeFill{height:var(--haze-space-6);background:var(--haze-color-primary) center/100% 6px no-repeat;position:absolute;inset-block-start:0}@media (forced-colors:active){.haze-SliderCore__rangeFill{background:highlight 50%/100% 6px no-repeat}}.haze-SliderCore__rangeInput{pointer-events:none;background:0 0;margin:0;position:absolute;inset-block-start:0;inset-inline-start:0}.haze-SliderCore__rangeInput::-webkit-slider-thumb{pointer-events:auto}.haze-SliderCore__rangeInput::-moz-range-thumb{pointer-events:auto}.haze-SliderCore__rangeInput:disabled{opacity:1}.haze-SliderCore__verticalWrapper{--haze-slider-track:calc(var(--haze-space-16) * 2);inline-size:max-content;display:inline-flex;position:relative}.haze-SliderCore__verticalInput{-webkit-writing-mode:vertical-lr;-ms-writing-mode:tb;writing-mode:vertical-lr;width:var(--haze-space-6);height:var(--haze-slider-track);-webkit-background-size:6px 100%;direction:rtl;background-size:6px 100%}@media (forced-colors:active){.haze-SliderCore__verticalInput{background:canvastext 50%/6px 100% no-repeat}}.haze-SliderCore__verticalRail{width:var(--haze-space-6);height:var(--haze-slider-track);background:var(--haze-color-bg-muted) center/6px 100% no-repeat}@media (forced-colors:active){.haze-SliderCore__verticalRail{background:canvastext 50%/6px 100% no-repeat}}.haze-SliderCore__verticalFill{width:var(--haze-space-6);background:var(--haze-color-primary) center/6px 100% no-repeat}@media (forced-colors:active){.haze-SliderCore__verticalFill{background:highlight 50%/6px 100% no-repeat}}.haze-SliderCore__marksHorizontal{padding-block-end:var(--haze-space-6)}.haze-SliderCore__marksVertical{-webkit-padding-end:var(--haze-space-12);padding-inline-end:var(--haze-space-12)}.haze-SliderCore__markBase{cursor:pointer;padding-inline:var(--haze-space-1);align-items:center;display:flex;position:absolute}.haze-SliderCore__markHorizontal{flex-direction:column;inset-block-start:calc((var(--haze-space-6) - 6px) / 2);transform:translate(-50%)}.haze-SliderCore__markHorizontal>span:first-child{margin-block-start:1px}.haze-SliderCore__markVertical{gap:var(--haze-space-2);inset-inline-start:calc((var(--haze-space-6) - 6px) / 2);transform:translateY(50%)}.haze-SliderCore__markTick{border-radius:var(--haze-radius-full);background:var(--haze-color-text-muted);flex:none;width:4px;height:4px}@media (forced-colors:active){.haze-SliderCore__markTick{background:canvastext}}.haze-SliderCore__markLabel{font-size:var(--haze-text-xs);line-height:var(--haze-leading-normal);color:var(--haze-color-text-secondary);white-space:nowrap}.haze-SliderCore__tooltipBubble{padding:var(--haze-space-1) var(--haze-space-2);border-radius:var(--haze-radius-md);background:var(--haze-color-text);color:var(--haze-color-text-inverse);font-family:var(--haze-font-sans);font-size:var(--haze-text-xs);line-height:var(--haze-leading-normal);white-space:nowrap;pointer-events:none;opacity:0;visibility:hidden;-webkit-transition:opacity var(--haze-duration-fast) var(--haze-ease),visibility var(--haze-duration-fast) var(--haze-ease);transition:opacity var(--haze-duration-fast) var(--haze-ease),visibility var(--haze-duration-fast) var(--haze-ease);position:absolute;inset-block-start:calc((var(--haze-space-6) - 6px) / 2 - var(--haze-space-1));transform:translate(-50%,-100%)}.haze-SliderCore__tooltipBubble[data-state=open]{opacity:1;visibility:visible}@media (forced-colors:active){.haze-SliderCore__tooltipBubble{color:canvastext;background:canvas;border:1px solid canvastext}}.haze-SliderCore__tooltipBubbleVertical{inset-block-start:auto;inset-inline-start:calc((var(--haze-space-6) + 6px) / 2 + var(--haze-space-2));transform:translateY(-50%)}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* haze-ui sparkline — generated by scripts/split-css.mjs, do not edit */
|
|
2
|
+
.haze-sparkline-styles__base{vertical-align:middle;display:inline-block;overflow:visible}.haze-sparkline-styles__primary{fill:color-mix(in oklab, var(--haze-color-primary) 12%, transparent)}.haze-sparkline-styles__success{fill:color-mix(in oklab, var(--haze-color-success) 12%, transparent)}.haze-sparkline-styles__danger{fill:color-mix(in oklab, var(--haze-color-danger) 12%, transparent)}.haze-sparkline-styles__warning{fill:color-mix(in oklab, var(--haze-color-warning) 12%, transparent)}.haze-sparkline-styles__info{fill:color-mix(in oklab, var(--haze-color-info) 12%, transparent)}
|
package/dist/css/spinner.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* haze-ui spinner — generated by scripts/split-css.mjs, do not edit */
|
|
2
|
-
.haze-Spinner__base{animation:.8s linear infinite spin-haze-Spinner__base;display:inline-flex}@keyframes spin-haze-Spinner__base{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.haze-Spinner__sm{width:16px;height:16px}.haze-Spinner__md{width:24px;height:24px}.haze-Spinner__lg{width:32px;height:32px}
|
|
2
|
+
.haze-Spinner__base{animation:.8s linear infinite spin-haze-Spinner__base;display:inline-flex}@media (prefers-reduced-motion:reduce){.haze-Spinner__base{animation-duration:.01ms;animation-iteration-count:1}}@keyframes spin-haze-Spinner__base{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (forced-colors:active){.haze-Spinner__base svg circle{stroke:graytext}.haze-Spinner__base svg path{stroke:canvastext}}.haze-Spinner__sm{width:16px;height:16px}.haze-Spinner__md{width:24px;height:24px}.haze-Spinner__lg{width:32px;height:32px}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* haze-ui status-bar — generated by scripts/split-css.mjs, do not edit */
|
|
2
|
+
.haze-StatusBar__bar{box-sizing:border-box;align-items:stretch;gap:var(--haze-space-1);min-height:var(--haze-space-6);background:var(--haze-color-bg-subtle);border-block-start:1px solid var(--haze-color-border);color:var(--haze-color-text-muted);font-size:var(--haze-text-xs);line-height:var(--haze-leading-tight);display:flex}.haze-StatusBar__group{align-items:stretch;gap:var(--haze-space-1);min-width:0;display:flex}.haze-StatusBar__groupEnd{-webkit-margin-start:auto;margin-inline-start:auto}.haze-StatusBar__item{box-sizing:border-box;align-items:center;gap:var(--haze-space-1);padding-inline:var(--haze-space-2);color:inherit;font-family:inherit;font-size:inherit;white-space:nowrap;-webkit-transition:background var(--haze-duration-fast) var(--haze-ease),color var(--haze-duration-fast) var(--haze-ease);transition:background var(--haze-duration-fast) var(--haze-ease),color var(--haze-duration-fast) var(--haze-ease);background:0 0;border:none;display:inline-flex}.haze-StatusBar__item:hover{background:var(--haze-color-bg-muted);color:var(--haze-color-text)}.haze-StatusBar__item:focus-visible{box-shadow:0 0 0 3px var(--haze-color-focus-ring);outline:none}@media (width<=768px){.haze-StatusBar__item:not([data-priority]){display:none}}.haze-StatusBar__itemAction{cursor:pointer}
|
package/dist/css/stepper.css
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/* haze-ui stepper — generated by scripts/split-css.mjs, do not edit */
|
|
2
|
-
.haze-Step__step{flex-direction:column;flex:1;align-items:center;display:flex;position:relative}.haze-Step__stepConnector{top:16px;background:var(--haze-color-border);width:100%;height:2px;position:absolute;inset-inline-start:50%}.haze-Step__stepActiveConnector{background:var(--haze-color-primary)}.haze-Step__circle{border-radius:var(--haze-radius-full);width:2.25rem;height:2.25rem;font-size:var(--haze-text-sm);font-weight:var(--haze-weight-medium);border:2px solid var(--haze-color-border);background:var(--haze-color-bg);color:var(--haze-color-text-muted);-webkit-transition:all var(--haze-duration-normal);transition:all var(--haze-duration-normal);justify-content:center;align-items:center;display:flex}.haze-Step__activeCircle
|
|
2
|
+
.haze-Step__step{flex-direction:column;flex:1;align-items:center;display:flex;position:relative}.haze-Step__stepConnector{top:16px;background:var(--haze-color-border);width:100%;height:2px;position:absolute;inset-inline-start:50%}@media (forced-colors:active){.haze-Step__stepConnector{background:canvastext}}.haze-Step__stepActiveConnector{background:var(--haze-color-primary)}@media (forced-colors:active){.haze-Step__stepActiveConnector{background:highlight}}.haze-Step__circle{border-radius:var(--haze-radius-full);width:2.25rem;height:2.25rem;font-size:var(--haze-text-sm);font-weight:var(--haze-weight-medium);border:2px solid var(--haze-color-border);background:var(--haze-color-bg);color:var(--haze-color-text-muted);-webkit-transition:all var(--haze-duration-normal);transition:all var(--haze-duration-normal);justify-content:center;align-items:center;display:flex}.haze-Step__activeCircle{border-color:var(--haze-color-primary);background:var(--haze-color-primary);color:var(--haze-color-text-inverse)}@media (forced-colors:active){.haze-Step__activeCircle{color:highlighttext;background:highlight;border-color:highlight}}.haze-Step__completedCircle{border-color:var(--haze-color-primary);background:var(--haze-color-primary);color:var(--haze-color-text-inverse)}@media (forced-colors:active){.haze-Step__completedCircle{color:highlighttext;background:highlight;border-color:highlight}}.haze-Step__titleStyle{margin-top:var(--haze-space-2);font-size:var(--haze-text-sm);color:var(--haze-color-text-muted);text-align:center}.haze-Step__activeTitle{color:var(--haze-color-text);font-weight:var(--haze-weight-medium)}.haze-Step__completedTitle{color:var(--haze-color-primary)}.haze-Step__descStyle{font-size:var(--haze-text-xs);color:var(--haze-color-text-muted);text-align:center;margin-top:var(--haze-space-1)}
|
|
3
3
|
.haze-Stepper__stepper{-webkit-box-flex-wrap:wrap;gap:var(--haze-space-2);-webkit-align-items:flex-start;-webkit-box-align:flex-start;-ms-flex-align:flex-start;font-family:var(--haze-font-sans);flex-wrap:wrap;align-items:flex-start;display:flex}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* haze-ui streaming-text — generated by scripts/split-css.mjs, do not edit */
|
|
2
|
-
.haze-StreamingText__wrapper{font-family:var(--haze-font-sans);font-size:var(--haze-text-sm);line-height:var(--haze-leading-relaxed);color:var(--haze-color-text);white-space:pre-wrap}.haze-StreamingText__cursor{background:var(--haze-color-primary);-webkit-margin-start:1px;vertical-align:text-bottom;width:.5em;height:1em;margin-inline-start:1px;animation:1s step-end infinite blink-haze-StreamingText__cursor;display:inline-block}@keyframes blink-haze-StreamingText__cursor{50%{opacity:0}}
|
|
2
|
+
.haze-StreamingText__wrapper{font-family:var(--haze-font-sans);font-size:var(--haze-text-sm);line-height:var(--haze-leading-relaxed);color:var(--haze-color-text);white-space:pre-wrap}.haze-StreamingText__cursor{background:var(--haze-color-primary);-webkit-margin-start:1px;vertical-align:text-bottom;width:.5em;height:1em;margin-inline-start:1px;animation:1s step-end infinite blink-haze-StreamingText__cursor;display:inline-block}@media (prefers-reduced-motion:reduce){.haze-StreamingText__cursor{animation-duration:.01ms;animation-iteration-count:1}}@keyframes blink-haze-StreamingText__cursor{50%{opacity:0}}.haze-StreamingText__srOnly{clip:rect(0, 0, 0, 0);clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}
|
package/dist/css/switch.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* haze-ui switch — generated by scripts/split-css.mjs, do not edit */
|
|
2
|
-
.haze-SwitchCore__track{border-radius:var(--haze-radius-full);background:var(--haze-color-bg-muted);cursor:pointer;-webkit-transition:background var(--haze-duration-normal);transition:background var(--haze-duration-normal);border:none;align-items:center;padding:2px;display:inline-flex;position:relative}.haze-SwitchCore__track:focus-visible{box-shadow:0 0 0 3px var(--haze-color-focus-ring);outline:none}.haze-SwitchCore__track:disabled{opacity:.5;cursor:not-allowed}.haze-SwitchCore__trackChecked{background:var(--haze-color-primary)}.haze-SwitchCore__thumb{border-radius:var(--haze-radius-full);-webkit-transition:-webkit-transform var(--haze-duration-normal);transition:transform var(--haze-duration-normal);box-shadow:var(--haze-shadow-sm);background:#fff;display:block}.haze-SwitchCore__trackSm{width:2.25rem;height:
|
|
2
|
+
.haze-SwitchCore__track{border-radius:var(--haze-radius-full);background:var(--haze-color-bg-muted);cursor:pointer;-webkit-transition:background var(--haze-duration-normal);transition:background var(--haze-duration-normal);border:none;align-items:center;padding:2px;display:inline-flex;position:relative}.haze-SwitchCore__track:focus-visible{box-shadow:0 0 0 3px var(--haze-color-focus-ring);outline:none}.haze-SwitchCore__track:disabled{opacity:.5;cursor:not-allowed}@media (forced-colors:active){.haze-SwitchCore__track{border:1px solid canvastext}.haze-SwitchCore__track:focus-visible{outline-offset:2px;outline:2px solid highlight}.haze-SwitchCore__track:disabled{opacity:1;border-color:graytext}.haze-SwitchCore__track:disabled [data-slot=thumb]{background:graytext}}.haze-SwitchCore__trackChecked{background:var(--haze-color-primary)}@media (forced-colors:active){.haze-SwitchCore__trackChecked{background:highlight;border-color:highlight}.haze-SwitchCore__trackChecked [data-slot=thumb]{background:highlighttext}.haze-SwitchCore__trackChecked:disabled{background:graytext;border-color:graytext}.haze-SwitchCore__trackChecked:disabled [data-slot=thumb]{background:canvas}}.haze-SwitchCore__thumb{border-radius:var(--haze-radius-full);-webkit-transition:-webkit-transform var(--haze-duration-normal);transition:transform var(--haze-duration-normal);box-shadow:var(--haze-shadow-sm);background:#fff;display:block}.haze-SwitchCore__trackSm{width:2.25rem;height:var(--haze-space-6)}.haze-SwitchCore__trackMd{width:40px;height:var(--haze-space-6)}.haze-SwitchCore__trackLg{width:48px;height:26px}.haze-SwitchCore__thumbSm{width:1rem;height:1rem}.haze-SwitchCore__thumbMd{width:18px;height:18px}.haze-SwitchCore__thumbLg{width:22px;height:22px}.haze-SwitchCore__thumbCheckedSm{transform:translate(1rem)}.haze-SwitchCore__thumbCheckedMd{transform:translate(18px)}.haze-SwitchCore__thumbCheckedLg{transform:translate(22px)}
|