@urbicon-ui/blocks 6.3.1 → 6.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/AreaChart/AreaChart.svelte.d.ts +1 -1
- package/dist/components/AreaChart/index.d.ts +1 -1
- package/dist/components/BarChart/BarChart.svelte.d.ts +1 -1
- package/dist/components/BarChart/index.d.ts +1 -1
- package/dist/components/Calendar/Calendar.svelte.d.ts +1 -1
- package/dist/components/Calendar/CalendarAgendaView.svelte.d.ts +1 -1
- package/dist/components/Calendar/CalendarDay.svelte.d.ts +1 -1
- package/dist/components/Calendar/CalendarDayView.svelte.d.ts +1 -1
- package/dist/components/Calendar/CalendarEventItem.svelte.d.ts +1 -1
- package/dist/components/Calendar/CalendarEventList.svelte.d.ts +1 -1
- package/dist/components/Calendar/CalendarEventPopover.svelte.d.ts +1 -1
- package/dist/components/Calendar/CalendarEventRenderer.svelte.d.ts +1 -1
- package/dist/components/Calendar/CalendarGrid.svelte.d.ts +1 -1
- package/dist/components/Calendar/CalendarHeader.svelte.d.ts +1 -1
- package/dist/components/Calendar/CalendarMultiDayBar.svelte.d.ts +1 -1
- package/dist/components/Calendar/CalendarTimeEvent.svelte.d.ts +1 -1
- package/dist/components/Calendar/CalendarTimeGrid.svelte.d.ts +1 -1
- package/dist/components/Calendar/CalendarWeekGrid.svelte.d.ts +1 -1
- package/dist/components/Calendar/calendar.context.d.ts +3 -3
- package/dist/components/Calendar/calendar.context.js +1 -1
- package/dist/components/Calendar/calendar.drag.d.ts +1 -1
- package/dist/components/Calendar/calendar.engine.d.ts +1 -1
- package/dist/components/Calendar/calendar.engine.js +1 -1
- package/dist/components/Calendar/calendar.variants.d.ts +2 -2
- package/dist/components/Calendar/calendar.variants.js +1 -1
- package/dist/components/Calendar/index.d.ts +7 -7
- package/dist/components/Calendar/index.js +2 -2
- package/dist/components/ChartFrame/ChartFrame.svelte.d.ts +1 -1
- package/dist/components/ChartFrame/index.d.ts +1 -1
- package/dist/components/CommandPalette/CommandPalette.svelte.d.ts +1 -1
- package/dist/components/CommandPalette/commandPalette.variants.d.ts +2 -2
- package/dist/components/CommandPalette/commandPalette.variants.js +4 -2
- package/dist/components/CommandPalette/index.d.ts +2 -2
- package/dist/components/CommandPalette/index.js +1 -1
- package/dist/components/CompositionBar/CompositionBar.svelte.d.ts +1 -1
- package/dist/components/CompositionBar/composition-bar.variants.d.ts +2 -2
- package/dist/components/CompositionBar/composition-bar.variants.js +1 -1
- package/dist/components/CompositionBar/index.d.ts +3 -3
- package/dist/components/CompositionBar/index.js +1 -1
- package/dist/components/CurrencyInput/CurrencyInput.svelte.d.ts +1 -1
- package/dist/components/CurrencyInput/index.d.ts +1 -1
- package/dist/components/DatePicker/DatePicker.svelte.d.ts +1 -1
- package/dist/components/DatePicker/DateRangePicker.svelte.d.ts +1 -1
- package/dist/components/DatePicker/datepicker.engine.d.ts +1 -1
- package/dist/components/DatePicker/index.d.ts +8 -7
- package/dist/components/DonutChart/DonutChart.svelte.d.ts +1 -1
- package/dist/components/DonutChart/index.d.ts +1 -1
- package/dist/components/EmptyState/EmptyState.svelte.d.ts +1 -1
- package/dist/components/EmptyState/emptyState.variants.d.ts +2 -2
- package/dist/components/EmptyState/emptyState.variants.js +1 -1
- package/dist/components/EmptyState/index.d.ts +3 -3
- package/dist/components/EmptyState/index.js +1 -1
- package/dist/components/FileUpload/FileUpload.svelte.d.ts +1 -1
- package/dist/components/FileUpload/fileUpload.variants.d.ts +2 -2
- package/dist/components/FileUpload/fileUpload.variants.js +1 -1
- package/dist/components/FileUpload/index.d.ts +3 -3
- package/dist/components/FileUpload/index.js +1 -1
- package/dist/components/Guide/Guide.svelte.d.ts +1 -1
- package/dist/components/Guide/GuideArticle.svelte.d.ts +1 -1
- package/dist/components/Guide/GuideBeacon.svelte.d.ts +1 -1
- package/dist/components/Guide/GuideHint.svelte.d.ts +1 -1
- package/dist/components/Guide/GuideMarker.svelte.d.ts +1 -1
- package/dist/components/Guide/GuideMention.svelte.d.ts +1 -1
- package/dist/components/Guide/GuidePanel.svelte.d.ts +1 -1
- package/dist/components/Guide/GuideProvider.svelte.d.ts +1 -1
- package/dist/components/Guide/guide-panel.context.js +1 -1
- package/dist/components/Guide/guide.context.d.ts +1 -1
- package/dist/components/Guide/guide.context.js +1 -1
- package/dist/components/Guide/guide.variants.d.ts +8 -8
- package/dist/components/Guide/guide.variants.js +1 -1
- package/dist/components/Guide/index.d.ts +3 -3
- package/dist/components/Guide/index.js +1 -1
- package/dist/components/LineChart/LineChart.svelte.d.ts +1 -1
- package/dist/components/LineChart/index.d.ts +1 -1
- package/dist/components/LocaleSwitcher/LocaleSwitcher.svelte.d.ts +1 -1
- package/dist/components/LocaleSwitcher/index.d.ts +1 -1
- package/dist/components/Planner/Planner.svelte.d.ts +1 -1
- package/dist/components/Planner/index.d.ts +5 -5
- package/dist/components/Planner/index.js +2 -2
- package/dist/components/Planner/planner.bucket.js +1 -1
- package/dist/components/Planner/planner.context.d.ts +1 -1
- package/dist/components/Planner/planner.context.js +1 -1
- package/dist/components/Planner/planner.variants.d.ts +2 -2
- package/dist/components/Planner/planner.variants.js +1 -1
- package/dist/components/Sankey/Sankey.svelte.d.ts +1 -1
- package/dist/components/Sankey/index.d.ts +3 -3
- package/dist/components/Sankey/index.js +1 -1
- package/dist/components/Sankey/sankey.variants.d.ts +2 -2
- package/dist/components/Sankey/sankey.variants.js +1 -1
- package/dist/components/SidebarLayout/SidebarLayout.svelte.d.ts +1 -1
- package/dist/components/SidebarLayout/index.d.ts +2 -2
- package/dist/components/SidebarLayout/index.js +1 -1
- package/dist/components/SidebarLayout/sidebar-layout.variants.d.ts +2 -2
- package/dist/components/SidebarLayout/sidebar-layout.variants.js +1 -1
- package/dist/components/Sparkline/Sparkline.svelte.d.ts +1 -1
- package/dist/components/ThemeSwitcher/ThemeSwitcher.svelte.d.ts +1 -1
- package/dist/components/ThemeSwitcher/index.d.ts +2 -2
- package/dist/components/ThemeSwitcher/index.js +1 -1
- package/dist/components/ThemeSwitcher/themeSwitcher.variants.d.ts +2 -2
- package/dist/components/ThemeSwitcher/themeSwitcher.variants.js +1 -1
- package/dist/components/index.d.ts +27 -27
- package/dist/components/index.js +21 -21
- package/dist/date/format.js +1 -1
- package/dist/date/index.d.ts +4 -4
- package/dist/date/index.js +4 -4
- package/dist/date/range.js +1 -1
- package/dist/i18n/index.d.ts +341 -3
- package/dist/i18n/index.js +2 -2
- package/dist/icons/ActivityIcon.svelte.d.ts +1 -1
- package/dist/icons/AlertCircleIcon.svelte.d.ts +1 -1
- package/dist/icons/AlignCenterIcon.svelte.d.ts +1 -1
- package/dist/icons/AlignLeftIcon.svelte.d.ts +1 -1
- package/dist/icons/AlignRightIcon.svelte.d.ts +1 -1
- package/dist/icons/AnchorIcon.svelte.d.ts +1 -1
- package/dist/icons/ApertureIcon.svelte.d.ts +1 -1
- package/dist/icons/ArchiveIcon.svelte.d.ts +1 -1
- package/dist/icons/AreaChartIcon.svelte.d.ts +1 -1
- package/dist/icons/ArrowDownIcon.svelte.d.ts +1 -1
- package/dist/icons/ArrowLeftIcon.svelte.d.ts +1 -1
- package/dist/icons/ArrowLeftRightIcon.svelte.d.ts +1 -1
- package/dist/icons/ArrowRightIcon.svelte.d.ts +1 -1
- package/dist/icons/ArrowUpDownIcon.svelte.d.ts +1 -1
- package/dist/icons/ArrowUpIcon.svelte.d.ts +1 -1
- package/dist/icons/ArrowUpRightIcon.svelte.d.ts +1 -1
- package/dist/icons/AtSignIcon.svelte.d.ts +1 -1
- package/dist/icons/AwardIcon.svelte.d.ts +1 -1
- package/dist/icons/BadgeAlertIcon.svelte.d.ts +1 -1
- package/dist/icons/BadgeCheckIcon.svelte.d.ts +1 -1
- package/dist/icons/BadgeEuroIcon.svelte.d.ts +1 -1
- package/dist/icons/BanIcon.svelte.d.ts +1 -1
- package/dist/icons/BanknoteIcon.svelte.d.ts +1 -1
- package/dist/icons/BarChartIcon.svelte.d.ts +1 -1
- package/dist/icons/BathIcon.svelte.d.ts +1 -1
- package/dist/icons/BatteryChargingIcon.svelte.d.ts +1 -1
- package/dist/icons/BatteryIcon.svelte.d.ts +1 -1
- package/dist/icons/BatteryLowIcon.svelte.d.ts +1 -1
- package/dist/icons/BedIcon.svelte.d.ts +1 -1
- package/dist/icons/BellIcon.svelte.d.ts +1 -1
- package/dist/icons/BellOffIcon.svelte.d.ts +1 -1
- package/dist/icons/BellRingIcon.svelte.d.ts +1 -1
- package/dist/icons/BikeIcon.svelte.d.ts +1 -1
- package/dist/icons/BoldIcon.svelte.d.ts +1 -1
- package/dist/icons/BookOpenIcon.svelte.d.ts +1 -1
- package/dist/icons/BookmarkIcon.svelte.d.ts +1 -1
- package/dist/icons/BriefcaseIcon.svelte.d.ts +1 -1
- package/dist/icons/BugIcon.svelte.d.ts +1 -1
- package/dist/icons/Building2Icon.svelte.d.ts +1 -1
- package/dist/icons/BuildingIcon.svelte.d.ts +1 -1
- package/dist/icons/CalculatorIcon.svelte.d.ts +1 -1
- package/dist/icons/CalendarClockIcon.svelte.d.ts +1 -1
- package/dist/icons/CalendarDaysIcon.svelte.d.ts +1 -1
- package/dist/icons/CalendarIcon.svelte.d.ts +1 -1
- package/dist/icons/CameraIcon.svelte.d.ts +1 -1
- package/dist/icons/CarIcon.svelte.d.ts +1 -1
- package/dist/icons/CheckCircleIcon.svelte.d.ts +1 -1
- package/dist/icons/CheckIcon.svelte.d.ts +1 -1
- package/dist/icons/ChevronDownIcon.svelte.d.ts +1 -1
- package/dist/icons/ChevronLeftIcon.svelte.d.ts +1 -1
- package/dist/icons/ChevronRightIcon.svelte.d.ts +1 -1
- package/dist/icons/ChevronUpIcon.svelte.d.ts +1 -1
- package/dist/icons/ChevronsDownIcon.svelte.d.ts +1 -1
- package/dist/icons/ChevronsLeftIcon.svelte.d.ts +1 -1
- package/dist/icons/ChevronsRightIcon.svelte.d.ts +1 -1
- package/dist/icons/ChevronsUpIcon.svelte.d.ts +1 -1
- package/dist/icons/CircleDotIcon.svelte.d.ts +1 -1
- package/dist/icons/CircleHelpIcon.svelte.d.ts +1 -1
- package/dist/icons/CircleIcon.svelte.d.ts +1 -1
- package/dist/icons/CirclePercentIcon.svelte.d.ts +1 -1
- package/dist/icons/CircleUserIcon.svelte.d.ts +1 -1
- package/dist/icons/ClipboardCheckIcon.svelte.d.ts +1 -1
- package/dist/icons/ClipboardIcon.svelte.d.ts +1 -1
- package/dist/icons/ClipboardListIcon.svelte.d.ts +1 -1
- package/dist/icons/ClockIcon.svelte.d.ts +1 -1
- package/dist/icons/CloseIcon.svelte.d.ts +1 -1
- package/dist/icons/CloudIcon.svelte.d.ts +1 -1
- package/dist/icons/CloudLightningIcon.svelte.d.ts +1 -1
- package/dist/icons/CloudRainIcon.svelte.d.ts +1 -1
- package/dist/icons/CloudSnowIcon.svelte.d.ts +1 -1
- package/dist/icons/CloudSunIcon.svelte.d.ts +1 -1
- package/dist/icons/CodeIcon.svelte.d.ts +1 -1
- package/dist/icons/CoffeeIcon.svelte.d.ts +1 -1
- package/dist/icons/CoinsIcon.svelte.d.ts +1 -1
- package/dist/icons/Columns3Icon.svelte.d.ts +1 -1
- package/dist/icons/ContactIcon.svelte.d.ts +1 -1
- package/dist/icons/CopyIcon.svelte.d.ts +1 -1
- package/dist/icons/CornerDownRightIcon.svelte.d.ts +1 -1
- package/dist/icons/CornerUpLeftIcon.svelte.d.ts +1 -1
- package/dist/icons/CreditCardIcon.svelte.d.ts +1 -1
- package/dist/icons/DangerCircleIcon.svelte.d.ts +1 -1
- package/dist/icons/DatabaseIcon.svelte.d.ts +1 -1
- package/dist/icons/DoorIcon.svelte.d.ts +1 -1
- package/dist/icons/DoorOpenIcon.svelte.d.ts +1 -1
- package/dist/icons/DownloadIcon.svelte.d.ts +1 -1
- package/dist/icons/DropletIcon.svelte.d.ts +1 -1
- package/dist/icons/DropletsIcon.svelte.d.ts +1 -1
- package/dist/icons/EditIcon.svelte.d.ts +1 -1
- package/dist/icons/EuroIcon.svelte.d.ts +1 -1
- package/dist/icons/ExpandIcon.svelte.d.ts +1 -1
- package/dist/icons/ExternalLinkIcon.svelte.d.ts +1 -1
- package/dist/icons/EyeIcon.svelte.d.ts +1 -1
- package/dist/icons/EyeOffIcon.svelte.d.ts +1 -1
- package/dist/icons/FastForwardIcon.svelte.d.ts +1 -1
- package/dist/icons/FenceIcon.svelte.d.ts +1 -1
- package/dist/icons/FileCheckIcon.svelte.d.ts +1 -1
- package/dist/icons/FileIcon.svelte.d.ts +1 -1
- package/dist/icons/FilePlusIcon.svelte.d.ts +1 -1
- package/dist/icons/FileSignatureIcon.svelte.d.ts +1 -1
- package/dist/icons/FileSpreadsheetIcon.svelte.d.ts +1 -1
- package/dist/icons/FileTextIcon.svelte.d.ts +1 -1
- package/dist/icons/FilesIcon.svelte.d.ts +1 -1
- package/dist/icons/FilmIcon.svelte.d.ts +1 -1
- package/dist/icons/FilterXIcon.svelte.d.ts +1 -1
- package/dist/icons/FingerprintIcon.svelte.d.ts +1 -1
- package/dist/icons/FlagIcon.svelte.d.ts +1 -1
- package/dist/icons/FlameIcon.svelte.d.ts +1 -1
- package/dist/icons/FlashlightIcon.svelte.d.ts +1 -1
- package/dist/icons/FolderIcon.svelte.d.ts +1 -1
- package/dist/icons/FolderMinusIcon.svelte.d.ts +1 -1
- package/dist/icons/FolderOpenIcon.svelte.d.ts +1 -1
- package/dist/icons/FolderPlusIcon.svelte.d.ts +1 -1
- package/dist/icons/FolderTreeIcon.svelte.d.ts +1 -1
- package/dist/icons/FuelIcon.svelte.d.ts +1 -1
- package/dist/icons/FunnelIcon.svelte.d.ts +1 -1
- package/dist/icons/GalleryIcon.svelte.d.ts +1 -1
- package/dist/icons/GamepadIcon.svelte.d.ts +1 -1
- package/dist/icons/GaugeCircleIcon.svelte.d.ts +1 -1
- package/dist/icons/GaugeIcon.svelte.d.ts +1 -1
- package/dist/icons/GiftIcon.svelte.d.ts +1 -1
- package/dist/icons/GitBranchIcon.svelte.d.ts +1 -1
- package/dist/icons/GitCommitIcon.svelte.d.ts +1 -1
- package/dist/icons/GitMergeIcon.svelte.d.ts +1 -1
- package/dist/icons/GlassesIcon.svelte.d.ts +1 -1
- package/dist/icons/GlobeIcon.svelte.d.ts +1 -1
- package/dist/icons/GraduationCapIcon.svelte.d.ts +1 -1
- package/dist/icons/GripIcon.svelte.d.ts +1 -1
- package/dist/icons/HammerIcon.svelte.d.ts +1 -1
- package/dist/icons/HandCoinsIcon.svelte.d.ts +1 -1
- package/dist/icons/HardHatIcon.svelte.d.ts +1 -1
- package/dist/icons/HashIcon.svelte.d.ts +1 -1
- package/dist/icons/HeadingIcon.svelte.d.ts +1 -1
- package/dist/icons/HeadphonesIcon.svelte.d.ts +1 -1
- package/dist/icons/HeartIcon.svelte.d.ts +1 -1
- package/dist/icons/HeartPulseIcon.svelte.d.ts +1 -1
- package/dist/icons/HeatPumpIcon.svelte.d.ts +1 -1
- package/dist/icons/HexagonIcon.svelte.d.ts +1 -1
- package/dist/icons/HighlighterIcon.svelte.d.ts +1 -1
- package/dist/icons/HomeIcon.svelte.d.ts +1 -1
- package/dist/icons/HouseIcon.svelte.d.ts +1 -1
- package/dist/icons/Icon.svelte.d.ts +1 -1
- package/dist/icons/IconProvider.svelte.d.ts +1 -1
- package/dist/icons/IconWrapper.svelte.d.ts +1 -1
- package/dist/icons/IdCardIcon.svelte.d.ts +1 -1
- package/dist/icons/ImageIcon.svelte.d.ts +1 -1
- package/dist/icons/ImportIcon.svelte.d.ts +1 -1
- package/dist/icons/InboxIcon.svelte.d.ts +1 -1
- package/dist/icons/IndentIcon.svelte.d.ts +1 -1
- package/dist/icons/InfoCircleIcon.svelte.d.ts +1 -1
- package/dist/icons/ItalicIcon.svelte.d.ts +1 -1
- package/dist/icons/KeyIcon.svelte.d.ts +1 -1
- package/dist/icons/KeyRoundIcon.svelte.d.ts +1 -1
- package/dist/icons/LandmarkIcon.svelte.d.ts +1 -1
- package/dist/icons/LaptopIcon.svelte.d.ts +1 -1
- package/dist/icons/LayersIcon.svelte.d.ts +1 -1
- package/dist/icons/LeafIcon.svelte.d.ts +1 -1
- package/dist/icons/LightbulbIcon.svelte.d.ts +1 -1
- package/dist/icons/LineChartIcon.svelte.d.ts +1 -1
- package/dist/icons/LinkIcon.svelte.d.ts +1 -1
- package/dist/icons/ListChecksIcon.svelte.d.ts +1 -1
- package/dist/icons/ListFilterIcon.svelte.d.ts +1 -1
- package/dist/icons/ListIcon.svelte.d.ts +1 -1
- package/dist/icons/ListOrderedIcon.svelte.d.ts +1 -1
- package/dist/icons/LockIcon.svelte.d.ts +1 -1
- package/dist/icons/LockKeyholeIcon.svelte.d.ts +1 -1
- package/dist/icons/LogInIcon.svelte.d.ts +1 -1
- package/dist/icons/LogOutIcon.svelte.d.ts +1 -1
- package/dist/icons/MailCheckIcon.svelte.d.ts +1 -1
- package/dist/icons/MailIcon.svelte.d.ts +1 -1
- package/dist/icons/MailOpenIcon.svelte.d.ts +1 -1
- package/dist/icons/MapIcon.svelte.d.ts +1 -1
- package/dist/icons/MapPinIcon.svelte.d.ts +1 -1
- package/dist/icons/MaximizeIcon.svelte.d.ts +1 -1
- package/dist/icons/MegaphoneIcon.svelte.d.ts +1 -1
- package/dist/icons/MenuIcon.svelte.d.ts +1 -1
- package/dist/icons/MessageCircleIcon.svelte.d.ts +1 -1
- package/dist/icons/MessageSquareIcon.svelte.d.ts +1 -1
- package/dist/icons/MeterIcon.svelte.d.ts +1 -1
- package/dist/icons/MicIcon.svelte.d.ts +1 -1
- package/dist/icons/MicOffIcon.svelte.d.ts +1 -1
- package/dist/icons/MinimizeIcon.svelte.d.ts +1 -1
- package/dist/icons/MinusCircleIcon.svelte.d.ts +1 -1
- package/dist/icons/MinusIcon.svelte.d.ts +1 -1
- package/dist/icons/MonitorIcon.svelte.d.ts +1 -1
- package/dist/icons/MoonIcon.svelte.d.ts +1 -1
- package/dist/icons/MoreHorizontalIcon.svelte.d.ts +1 -1
- package/dist/icons/MoreVerticalIcon.svelte.d.ts +1 -1
- package/dist/icons/MoveIcon.svelte.d.ts +1 -1
- package/dist/icons/MusicIcon.svelte.d.ts +1 -1
- package/dist/icons/NavigationIcon.svelte.d.ts +1 -1
- package/dist/icons/NetworkIcon.svelte.d.ts +1 -1
- package/dist/icons/OctagonIcon.svelte.d.ts +1 -1
- package/dist/icons/OilCanIcon.svelte.d.ts +1 -1
- package/dist/icons/OutdentIcon.svelte.d.ts +1 -1
- package/dist/icons/PackageIcon.svelte.d.ts +1 -1
- package/dist/icons/PaletteIcon.svelte.d.ts +1 -1
- package/dist/icons/PanelLeftIcon.svelte.d.ts +1 -1
- package/dist/icons/PanelRightIcon.svelte.d.ts +1 -1
- package/dist/icons/PaperclipIcon.svelte.d.ts +1 -1
- package/dist/icons/ParkingIcon.svelte.d.ts +1 -1
- package/dist/icons/PasskeyIcon.svelte.d.ts +1 -1
- package/dist/icons/PauseIcon.svelte.d.ts +1 -1
- package/dist/icons/PelletIcon.svelte.d.ts +1 -1
- package/dist/icons/PercentIcon.svelte.d.ts +1 -1
- package/dist/icons/PhoneIcon.svelte.d.ts +1 -1
- package/dist/icons/PieChartIcon.svelte.d.ts +1 -1
- package/dist/icons/PiggyBankIcon.svelte.d.ts +1 -1
- package/dist/icons/PillIcon.svelte.d.ts +1 -1
- package/dist/icons/PinIcon.svelte.d.ts +1 -1
- package/dist/icons/PlaneIcon.svelte.d.ts +1 -1
- package/dist/icons/PlayIcon.svelte.d.ts +1 -1
- package/dist/icons/PlugIcon.svelte.d.ts +1 -1
- package/dist/icons/PlugZapIcon.svelte.d.ts +1 -1
- package/dist/icons/PlusCircleIcon.svelte.d.ts +1 -1
- package/dist/icons/PlusIcon.svelte.d.ts +1 -1
- package/dist/icons/PowerIcon.svelte.d.ts +1 -1
- package/dist/icons/PrinterIcon.svelte.d.ts +1 -1
- package/dist/icons/QrCodeIcon.svelte.d.ts +1 -1
- package/dist/icons/QuoteIcon.svelte.d.ts +1 -1
- package/dist/icons/RadiatorIcon.svelte.d.ts +1 -1
- package/dist/icons/ReceiptIcon.svelte.d.ts +1 -1
- package/dist/icons/RecycleIcon.svelte.d.ts +1 -1
- package/dist/icons/RedoIcon.svelte.d.ts +1 -1
- package/dist/icons/RefreshIcon.svelte.d.ts +1 -1
- package/dist/icons/RepeatIcon.svelte.d.ts +1 -1
- package/dist/icons/ReplyIcon.svelte.d.ts +1 -1
- package/dist/icons/RewindIcon.svelte.d.ts +1 -1
- package/dist/icons/RocketIcon.svelte.d.ts +1 -1
- package/dist/icons/RouteIcon.svelte.d.ts +1 -1
- package/dist/icons/Rows3Icon.svelte.d.ts +1 -1
- package/dist/icons/RulerIcon.svelte.d.ts +1 -1
- package/dist/icons/SaveIcon.svelte.d.ts +1 -1
- package/dist/icons/ScaleIcon.svelte.d.ts +1 -1
- package/dist/icons/ScanFaceIcon.svelte.d.ts +1 -1
- package/dist/icons/ScanIcon.svelte.d.ts +1 -1
- package/dist/icons/ScatterChartIcon.svelte.d.ts +1 -1
- package/dist/icons/ScissorsIcon.svelte.d.ts +1 -1
- package/dist/icons/SearchIcon.svelte.d.ts +1 -1
- package/dist/icons/SendIcon.svelte.d.ts +1 -1
- package/dist/icons/ServerIcon.svelte.d.ts +1 -1
- package/dist/icons/SettingsIcon.svelte.d.ts +1 -1
- package/dist/icons/ShareIcon.svelte.d.ts +1 -1
- package/dist/icons/ShieldAlertIcon.svelte.d.ts +1 -1
- package/dist/icons/ShieldCheckIcon.svelte.d.ts +1 -1
- package/dist/icons/ShieldIcon.svelte.d.ts +1 -1
- package/dist/icons/ShieldOffIcon.svelte.d.ts +1 -1
- package/dist/icons/ShieldXIcon.svelte.d.ts +1 -1
- package/dist/icons/ShoppingBagIcon.svelte.d.ts +1 -1
- package/dist/icons/ShoppingCartIcon.svelte.d.ts +1 -1
- package/dist/icons/ShuffleIcon.svelte.d.ts +1 -1
- package/dist/icons/SkipBackIcon.svelte.d.ts +1 -1
- package/dist/icons/SkipForwardIcon.svelte.d.ts +1 -1
- package/dist/icons/SmartphoneIcon.svelte.d.ts +1 -1
- package/dist/icons/SmileIcon.svelte.d.ts +1 -1
- package/dist/icons/SnowflakeIcon.svelte.d.ts +1 -1
- package/dist/icons/SofaIcon.svelte.d.ts +1 -1
- package/dist/icons/SolarPanelIcon.svelte.d.ts +1 -1
- package/dist/icons/SortAscIcon.svelte.d.ts +1 -1
- package/dist/icons/SortDescIcon.svelte.d.ts +1 -1
- package/dist/icons/SparklesIcon.svelte.d.ts +1 -1
- package/dist/icons/SquareIcon.svelte.d.ts +1 -1
- package/dist/icons/SquareSigmaIcon.svelte.d.ts +1 -1
- package/dist/icons/StairsIcon.svelte.d.ts +1 -1
- package/dist/icons/StarIcon.svelte.d.ts +1 -1
- package/dist/icons/StopCircleIcon.svelte.d.ts +1 -1
- package/dist/icons/StoreIcon.svelte.d.ts +1 -1
- package/dist/icons/StrikethroughIcon.svelte.d.ts +1 -1
- package/dist/icons/SuccessCircleIcon.svelte.d.ts +1 -1
- package/dist/icons/SunIcon.svelte.d.ts +1 -1
- package/dist/icons/SunSnowIcon.svelte.d.ts +1 -1
- package/dist/icons/SunriseIcon.svelte.d.ts +1 -1
- package/dist/icons/SunsetIcon.svelte.d.ts +1 -1
- package/dist/icons/Table2Icon.svelte.d.ts +1 -1
- package/dist/icons/TableIcon.svelte.d.ts +1 -1
- package/dist/icons/TagIcon.svelte.d.ts +1 -1
- package/dist/icons/TargetIcon.svelte.d.ts +1 -1
- package/dist/icons/TerminalIcon.svelte.d.ts +1 -1
- package/dist/icons/ThermometerIcon.svelte.d.ts +1 -1
- package/dist/icons/ThumbsDownIcon.svelte.d.ts +1 -1
- package/dist/icons/ThumbsUpIcon.svelte.d.ts +1 -1
- package/dist/icons/TrashIcon.svelte.d.ts +1 -1
- package/dist/icons/TreeIcon.svelte.d.ts +1 -1
- package/dist/icons/TrendingDownIcon.svelte.d.ts +1 -1
- package/dist/icons/TrendingUpIcon.svelte.d.ts +1 -1
- package/dist/icons/TriangleIcon.svelte.d.ts +1 -1
- package/dist/icons/TruckIcon.svelte.d.ts +1 -1
- package/dist/icons/TypeIcon.svelte.d.ts +1 -1
- package/dist/icons/UmbrellaIcon.svelte.d.ts +1 -1
- package/dist/icons/UnderlineIcon.svelte.d.ts +1 -1
- package/dist/icons/UndoIcon.svelte.d.ts +1 -1
- package/dist/icons/UnlinkIcon.svelte.d.ts +1 -1
- package/dist/icons/UnlockIcon.svelte.d.ts +1 -1
- package/dist/icons/UploadCloudIcon.svelte.d.ts +1 -1
- package/dist/icons/UserCheckIcon.svelte.d.ts +1 -1
- package/dist/icons/UserCogIcon.svelte.d.ts +1 -1
- package/dist/icons/UserIcon.svelte.d.ts +1 -1
- package/dist/icons/UserPlusIcon.svelte.d.ts +1 -1
- package/dist/icons/UserXIcon.svelte.d.ts +1 -1
- package/dist/icons/UsersIcon.svelte.d.ts +1 -1
- package/dist/icons/VideoIcon.svelte.d.ts +1 -1
- package/dist/icons/VideoOffIcon.svelte.d.ts +1 -1
- package/dist/icons/VolumeIcon.svelte.d.ts +1 -1
- package/dist/icons/VolumeOffIcon.svelte.d.ts +1 -1
- package/dist/icons/WalletCardsIcon.svelte.d.ts +1 -1
- package/dist/icons/WalletIcon.svelte.d.ts +1 -1
- package/dist/icons/WarehouseIcon.svelte.d.ts +1 -1
- package/dist/icons/WarningTriangleIcon.svelte.d.ts +1 -1
- package/dist/icons/WatchIcon.svelte.d.ts +1 -1
- package/dist/icons/WaterMeterIcon.svelte.d.ts +1 -1
- package/dist/icons/WavesIcon.svelte.d.ts +1 -1
- package/dist/icons/WifiIcon.svelte.d.ts +1 -1
- package/dist/icons/WindArrowIcon.svelte.d.ts +1 -1
- package/dist/icons/WindIcon.svelte.d.ts +1 -1
- package/dist/icons/WorkflowIcon.svelte.d.ts +1 -1
- package/dist/icons/WrenchIcon.svelte.d.ts +1 -1
- package/dist/icons/ZapIcon.svelte.d.ts +1 -1
- package/dist/icons/ZoomInIcon.svelte.d.ts +1 -1
- package/dist/icons/ZoomOutIcon.svelte.d.ts +1 -1
- package/dist/icons/icon-registry.d.ts +1 -1
- package/dist/icons/icon-registry.js +1 -1
- package/dist/icons/icon.context.d.ts +2 -2
- package/dist/icons/icon.context.js +1 -1
- package/dist/icons/index.d.ts +3 -3
- package/dist/icons/index.js +2 -2
- package/dist/index.d.ts +9 -9
- package/dist/index.js +9 -9
- package/dist/internal/charts/types.d.ts +1 -1
- package/dist/internal/charts/variants.d.ts +2 -2
- package/dist/internal/charts/variants.js +1 -1
- package/dist/internal/date-grid/DateGridScaffold.svelte.d.ts +1 -1
- package/dist/internal/date-grid/date-grid.context.d.ts +1 -1
- package/dist/internal/date-grid/date-grid.context.js +1 -1
- package/dist/internal/date-grid/date-grid.keyboard.d.ts +1 -1
- package/dist/internal/date-grid/date-grid.keyboard.js +1 -1
- package/dist/internal/date-grid/date-grid.svelte.d.ts +1 -1
- package/dist/internal/date-grid/date-grid.svelte.js +1 -1
- package/dist/internal/date-grid/index.d.ts +4 -4
- package/dist/internal/date-grid/index.js +3 -3
- package/dist/mint/compose.d.ts +2 -2
- package/dist/mint/compose.js +1 -1
- package/dist/mint/index.d.ts +7 -7
- package/dist/mint/index.js +7 -7
- package/dist/mint/micro-interactions.d.ts +2 -2
- package/dist/mint/presets.js +4 -4
- package/dist/mint/registry.d.ts +1 -1
- package/dist/mint/ripple.d.ts +2 -2
- package/dist/mint/svelte.d.ts +1 -1
- package/dist/mint/svelte.js +1 -1
- package/dist/primitives/Accordion/Accordion.svelte.d.ts +1 -1
- package/dist/primitives/Accordion/AccordionItem.svelte.d.ts +1 -1
- package/dist/primitives/Accordion/accordion.context.d.ts +1 -1
- package/dist/primitives/Accordion/accordion.variants.d.ts +2 -2
- package/dist/primitives/Accordion/accordion.variants.js +1 -1
- package/dist/primitives/Accordion/index.d.ts +2 -2
- package/dist/primitives/Accordion/index.js +1 -1
- package/dist/primitives/Alert/Alert.svelte.d.ts +1 -1
- package/dist/primitives/Alert/alert.variants.d.ts +2 -2
- package/dist/primitives/Alert/alert.variants.js +1 -1
- package/dist/primitives/Alert/index.d.ts +2 -2
- package/dist/primitives/Alert/index.js +1 -1
- package/dist/primitives/Avatar/Avatar.svelte.d.ts +1 -1
- package/dist/primitives/Avatar/avatar.variants.d.ts +2 -2
- package/dist/primitives/Avatar/avatar.variants.js +1 -1
- package/dist/primitives/Avatar/index.d.ts +3 -3
- package/dist/primitives/Avatar/index.js +1 -1
- package/dist/primitives/Badge/Badge.svelte.d.ts +1 -1
- package/dist/primitives/Badge/badge.variants.d.ts +2 -2
- package/dist/primitives/Badge/badge.variants.js +1 -1
- package/dist/primitives/Badge/index.d.ts +3 -3
- package/dist/primitives/Badge/index.js +1 -1
- package/dist/primitives/Breadcrumb/Breadcrumb.svelte.d.ts +1 -1
- package/dist/primitives/Breadcrumb/breadcrumb.variants.d.ts +2 -2
- package/dist/primitives/Breadcrumb/breadcrumb.variants.js +1 -1
- package/dist/primitives/Breadcrumb/index.d.ts +2 -2
- package/dist/primitives/Breadcrumb/index.js +1 -1
- package/dist/primitives/Button/Button.svelte.d.ts +1 -1
- package/dist/primitives/Button/button.variants.d.ts +2 -2
- package/dist/primitives/Button/button.variants.js +1 -1
- package/dist/primitives/Button/index.d.ts +3 -3
- package/dist/primitives/Button/index.js +1 -1
- package/dist/primitives/ButtonGroup/ButtonGroup.svelte.d.ts +1 -1
- package/dist/primitives/ButtonGroup/buttonGroup.context.d.ts +1 -1
- package/dist/primitives/ButtonGroup/buttonGroup.context.js +1 -1
- package/dist/primitives/ButtonGroup/buttongroup.variants.d.ts +2 -2
- package/dist/primitives/ButtonGroup/buttongroup.variants.js +1 -1
- package/dist/primitives/ButtonGroup/index.d.ts +5 -5
- package/dist/primitives/ButtonGroup/index.js +1 -1
- package/dist/primitives/Card/Card.svelte.d.ts +1 -1
- package/dist/primitives/Card/card.variants.d.ts +2 -2
- package/dist/primitives/Card/card.variants.js +1 -1
- package/dist/primitives/Card/index.d.ts +3 -3
- package/dist/primitives/Card/index.js +1 -1
- package/dist/primitives/Checkbox/Checkbox.svelte.d.ts +1 -1
- package/dist/primitives/Checkbox/checkbox.variants.d.ts +2 -2
- package/dist/primitives/Checkbox/checkbox.variants.js +1 -1
- package/dist/primitives/Checkbox/index.d.ts +4 -4
- package/dist/primitives/Checkbox/index.js +1 -1
- package/dist/primitives/Collapsible/Collapsible.svelte.d.ts +1 -1
- package/dist/primitives/Collapsible/collapsible.variants.d.ts +2 -2
- package/dist/primitives/Collapsible/collapsible.variants.js +1 -1
- package/dist/primitives/Collapsible/index.d.ts +2 -2
- package/dist/primitives/Collapsible/index.js +1 -1
- package/dist/primitives/Combobox/Combobox.svelte +42 -5
- package/dist/primitives/Combobox/Combobox.svelte.d.ts +1 -1
- package/dist/primitives/Combobox/combobox.variants.d.ts +11 -2
- package/dist/primitives/Combobox/combobox.variants.js +18 -7
- package/dist/primitives/Combobox/index.d.ts +4 -4
- package/dist/primitives/Combobox/index.js +1 -1
- package/dist/primitives/ConfirmDialog/ConfirmDialog.svelte.d.ts +1 -1
- package/dist/primitives/ConfirmDialog/index.d.ts +1 -1
- package/dist/primitives/Dialog/Dialog.svelte.d.ts +1 -1
- package/dist/primitives/Dialog/dialog.variants.d.ts +2 -2
- package/dist/primitives/Dialog/dialog.variants.js +1 -1
- package/dist/primitives/Dialog/index.d.ts +2 -2
- package/dist/primitives/Dialog/index.js +1 -1
- package/dist/primitives/Drawer/Drawer.svelte.d.ts +1 -1
- package/dist/primitives/Drawer/drawer.variants.d.ts +2 -2
- package/dist/primitives/Drawer/drawer.variants.js +1 -1
- package/dist/primitives/Drawer/index.d.ts +2 -2
- package/dist/primitives/Drawer/index.js +1 -1
- package/dist/primitives/FormField/FormField.svelte.d.ts +1 -1
- package/dist/primitives/Input/Input.svelte.d.ts +1 -1
- package/dist/primitives/Input/index.d.ts +3 -3
- package/dist/primitives/Input/index.js +1 -1
- package/dist/primitives/Input/input.variants.d.ts +2 -2
- package/dist/primitives/Input/input.variants.js +7 -3
- package/dist/primitives/Menu/Menu.svelte +43 -12
- package/dist/primitives/Menu/Menu.svelte.d.ts +1 -1
- package/dist/primitives/Menu/MenuSubmenu.svelte.d.ts +1 -1
- package/dist/primitives/Menu/index.d.ts +8 -8
- package/dist/primitives/Menu/index.js +1 -1
- package/dist/primitives/Menu/menu.context.d.ts +4 -4
- package/dist/primitives/Menu/menu.context.js +1 -1
- package/dist/primitives/Menu/menu.variants.d.ts +3 -3
- package/dist/primitives/Menu/menu.variants.js +1 -1
- package/dist/primitives/Pagination/Pagination.svelte.d.ts +1 -1
- package/dist/primitives/Pagination/PaginationItem.svelte.d.ts +1 -1
- package/dist/primitives/Pagination/index.d.ts +4 -4
- package/dist/primitives/Pagination/index.js +1 -1
- package/dist/primitives/Pagination/pagination.variants.d.ts +2 -2
- package/dist/primitives/Pagination/pagination.variants.js +1 -1
- package/dist/primitives/Popover/Popover.svelte +14 -12
- package/dist/primitives/Popover/Popover.svelte.d.ts +1 -1
- package/dist/primitives/Popover/index.d.ts +3 -3
- package/dist/primitives/Popover/index.js +1 -1
- package/dist/primitives/Popover/popover.variants.d.ts +2 -2
- package/dist/primitives/Popover/popover.variants.js +1 -1
- package/dist/primitives/Progress/Progress.svelte.d.ts +1 -1
- package/dist/primitives/Progress/index.d.ts +2 -2
- package/dist/primitives/Progress/index.js +1 -1
- package/dist/primitives/Progress/progress.variants.d.ts +2 -2
- package/dist/primitives/Progress/progress.variants.js +1 -1
- package/dist/primitives/RadioGroup/RadioGroup.svelte.d.ts +1 -1
- package/dist/primitives/RadioGroup/RadioItem.svelte.d.ts +1 -1
- package/dist/primitives/RadioGroup/index.d.ts +4 -4
- package/dist/primitives/RadioGroup/index.js +1 -1
- package/dist/primitives/RadioGroup/radioGroup.context.d.ts +1 -1
- package/dist/primitives/RadioGroup/radioGroup.variants.d.ts +3 -3
- package/dist/primitives/RadioGroup/radioGroup.variants.js +1 -1
- package/dist/primitives/SegmentGroup/SegmentGroup.svelte +67 -0
- package/dist/primitives/SegmentGroup/SegmentGroup.svelte.d.ts +1 -1
- package/dist/primitives/SegmentGroup/SegmentItem.svelte.d.ts +1 -1
- package/dist/primitives/SegmentGroup/index.d.ts +14 -4
- package/dist/primitives/SegmentGroup/index.js +1 -1
- package/dist/primitives/SegmentGroup/segmentGroup.context.d.ts +1 -1
- package/dist/primitives/SegmentGroup/segmentgroup.variants.d.ts +2 -2
- package/dist/primitives/SegmentGroup/segmentgroup.variants.js +16 -2
- package/dist/primitives/Select/Select.svelte +61 -40
- package/dist/primitives/Select/Select.svelte.d.ts +1 -1
- package/dist/primitives/Select/index.d.ts +3 -3
- package/dist/primitives/Select/index.js +1 -1
- package/dist/primitives/Select/select.variants.d.ts +2 -2
- package/dist/primitives/Select/select.variants.js +1 -1
- package/dist/primitives/Separator/Separator.svelte.d.ts +1 -1
- package/dist/primitives/Separator/index.d.ts +2 -2
- package/dist/primitives/Separator/index.js +1 -1
- package/dist/primitives/Separator/separator.variants.d.ts +2 -2
- package/dist/primitives/Separator/separator.variants.js +1 -1
- package/dist/primitives/Sidebar/Sidebar.svelte.d.ts +1 -1
- package/dist/primitives/Sidebar/index.d.ts +2 -2
- package/dist/primitives/Sidebar/index.js +1 -1
- package/dist/primitives/Sidebar/sidebar.variants.d.ts +2 -2
- package/dist/primitives/Sidebar/sidebar.variants.js +1 -1
- package/dist/primitives/Skeleton/Skeleton.svelte.d.ts +1 -1
- package/dist/primitives/Skeleton/index.d.ts +2 -2
- package/dist/primitives/Skeleton/index.js +1 -1
- package/dist/primitives/Skeleton/skeleton.variants.d.ts +2 -2
- package/dist/primitives/Skeleton/skeleton.variants.js +1 -1
- package/dist/primitives/Slider/Slider.svelte.d.ts +1 -1
- package/dist/primitives/Slider/index.d.ts +3 -3
- package/dist/primitives/Slider/index.js +1 -1
- package/dist/primitives/Slider/slider.variants.d.ts +2 -2
- package/dist/primitives/Slider/slider.variants.js +1 -1
- package/dist/primitives/Spinner/Spinner.svelte.d.ts +1 -1
- package/dist/primitives/Spinner/index.d.ts +2 -2
- package/dist/primitives/Spinner/index.js +1 -1
- package/dist/primitives/Spinner/spinner.variants.d.ts +2 -2
- package/dist/primitives/Spinner/spinner.variants.js +1 -1
- package/dist/primitives/Stepper/Stepper.svelte.d.ts +1 -1
- package/dist/primitives/Stepper/StepperStep.svelte.d.ts +1 -1
- package/dist/primitives/Stepper/index.d.ts +3 -3
- package/dist/primitives/Stepper/index.js +1 -1
- package/dist/primitives/Stepper/stepper.context.d.ts +1 -1
- package/dist/primitives/Stepper/stepper.variants.d.ts +2 -2
- package/dist/primitives/Stepper/stepper.variants.js +1 -1
- package/dist/primitives/Tab/Tab.svelte.d.ts +1 -1
- package/dist/primitives/Tab/TabItem.svelte.d.ts +1 -1
- package/dist/primitives/Tab/TabPanel.svelte.d.ts +1 -1
- package/dist/primitives/Tab/index.d.ts +4 -4
- package/dist/primitives/Tab/index.js +1 -1
- package/dist/primitives/Tab/tab.context.d.ts +1 -1
- package/dist/primitives/Tab/tab.variants.d.ts +2 -2
- package/dist/primitives/Tab/tab.variants.js +1 -1
- package/dist/primitives/Textarea/Textarea.svelte.d.ts +1 -1
- package/dist/primitives/Textarea/index.d.ts +3 -3
- package/dist/primitives/Textarea/index.js +1 -1
- package/dist/primitives/Textarea/textarea.variants.d.ts +2 -2
- package/dist/primitives/Textarea/textarea.variants.js +4 -2
- package/dist/primitives/Toast/Toaster.svelte.d.ts +1 -1
- package/dist/primitives/Toast/index.d.ts +3 -3
- package/dist/primitives/Toast/index.js +2 -2
- package/dist/primitives/Toast/toast.store.svelte.d.ts +2 -2
- package/dist/primitives/Toast/toast.variants.d.ts +2 -2
- package/dist/primitives/Toast/toast.variants.js +1 -1
- package/dist/primitives/Toggle/Toggle.svelte.d.ts +1 -1
- package/dist/primitives/Toggle/index.d.ts +4 -4
- package/dist/primitives/Toggle/index.js +1 -1
- package/dist/primitives/Toggle/toggle.variants.d.ts +2 -2
- package/dist/primitives/Toggle/toggle.variants.js +1 -1
- package/dist/primitives/Toolbar/Toolbar.svelte.d.ts +1 -1
- package/dist/primitives/Toolbar/index.d.ts +3 -3
- package/dist/primitives/Toolbar/index.js +1 -1
- package/dist/primitives/Toolbar/toolbar.variants.d.ts +2 -2
- package/dist/primitives/Toolbar/toolbar.variants.js +1 -1
- package/dist/primitives/Tooltip/Tooltip.svelte.d.ts +1 -1
- package/dist/primitives/Tooltip/index.d.ts +4 -4
- package/dist/primitives/Tooltip/index.js +1 -1
- package/dist/primitives/Tooltip/tooltip.variants.d.ts +2 -2
- package/dist/primitives/Tooltip/tooltip.variants.js +1 -1
- package/dist/primitives/index.d.ts +70 -70
- package/dist/primitives/index.js +36 -36
- package/dist/provider/BlocksProvider.svelte.d.ts +1 -1
- package/dist/provider/blocks-context.js +2 -2
- package/dist/provider/index.d.ts +1 -1
- package/dist/provider/index.js +1 -1
- package/dist/translations/de.d.ts +1 -0
- package/dist/translations/de.js +1 -0
- package/dist/translations/en.d.ts +1 -0
- package/dist/translations/en.js +1 -0
- package/dist/types/index.d.ts +14 -14
- package/dist/types/index.js +14 -14
- package/dist/utils/guide.svelte.d.ts +1 -1
- package/dist/utils/guide.svelte.js +1 -1
- package/dist/utils/index.d.ts +16 -16
- package/dist/utils/index.js +16 -16
- package/dist/utils/tier-context.js +1 -1
- package/dist/utils/types.d.ts +1 -1
- package/dist/utils/use-floating-listbox.svelte.js +1 -1
- package/dist/utils/use-form-field.svelte.d.ts +1 -1
- package/dist/utils/use-form-field.svelte.js +1 -1
- package/package.json +13 -12
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { tv } from '../../utils/variants';
|
|
1
|
+
import { tv } from '../../utils/variants.js';
|
|
2
2
|
export const comboboxVariants = tv({
|
|
3
3
|
slots: {
|
|
4
4
|
base: 'flex w-full flex-col gap-1.5',
|
|
@@ -44,11 +44,20 @@ export const comboboxVariants = tv({
|
|
|
44
44
|
'transition-colors duration-[var(--blocks-duration-fast)]',
|
|
45
45
|
'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/50'
|
|
46
46
|
],
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
47
|
+
// Chevron toggle button. The input opens on focus and can't "toggle
|
|
48
|
+
// closed" (re-clicking a focused field is a no-op), so the chevron is the
|
|
49
|
+
// discoverable open/close affordance. `tabindex={-1}` keeps it out of the
|
|
50
|
+
// tab order — the input is the single combobox tab stop — and an
|
|
51
|
+
// `onmousedown` preventDefault keeps focus on the input when it's clicked.
|
|
52
|
+
chevronButton: [
|
|
53
|
+
'absolute right-1.5 top-1/2 -translate-y-1/2',
|
|
54
|
+
'inline-flex items-center justify-center rounded-modify p-1',
|
|
55
|
+
'text-text-tertiary hover:text-text-primary cursor-pointer',
|
|
56
|
+
'transition-colors duration-[var(--blocks-duration-fast)]',
|
|
57
|
+
'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/50',
|
|
58
|
+
'disabled:cursor-not-allowed disabled:hover:text-text-tertiary'
|
|
59
|
+
],
|
|
60
|
+
chevron: ['w-4 h-4', 'transition-transform duration-[var(--blocks-duration-fast)]']
|
|
52
61
|
},
|
|
53
62
|
variants: {
|
|
54
63
|
// 3-tier semantic radius for the Combobox input. Default `modify`.
|
|
@@ -59,7 +68,9 @@ export const comboboxVariants = tv({
|
|
|
59
68
|
},
|
|
60
69
|
size: {
|
|
61
70
|
sm: {
|
|
62
|
-
|
|
71
|
+
// `pointer-coarse:text-base` floors the input to 16px on touch-primary
|
|
72
|
+
// devices so iOS Safari doesn't auto-zoom (and never un-zoom) on focus.
|
|
73
|
+
input: 'h-8 px-3 pr-8 text-sm pointer-coarse:text-base',
|
|
63
74
|
option: 'px-2 py-1.5 text-sm min-h-[2rem]'
|
|
64
75
|
},
|
|
65
76
|
md: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { Snippet } from 'svelte';
|
|
2
2
|
import type { HTMLAttributes } from 'svelte/elements';
|
|
3
|
-
import type { MintProp } from '../../mint';
|
|
4
|
-
import type { SelectValue } from '../Select/index';
|
|
5
|
-
import type { ComboboxSlots, ComboboxVariants } from './combobox.variants';
|
|
3
|
+
import type { MintProp } from '../../mint/index.js';
|
|
4
|
+
import type { SelectValue } from '../Select/index.js';
|
|
5
|
+
import type { ComboboxSlots, ComboboxVariants } from './combobox.variants.js';
|
|
6
6
|
/** A single combobox option with label, value, and optional disabled state. */
|
|
7
7
|
export interface ComboboxOption<T extends SelectValue = string> {
|
|
8
8
|
label: string;
|
|
@@ -131,4 +131,4 @@ export interface ComboboxProps<T extends SelectValue = string> extends ComboboxV
|
|
|
131
131
|
/** Backwards-compatible alias for {@link ComboboxOption} (legacy name). */
|
|
132
132
|
export type ComboboxOptionType<T extends SelectValue = string> = ComboboxOption<T>;
|
|
133
133
|
export { default as Combobox } from './Combobox.svelte';
|
|
134
|
-
export { type ComboboxVariants, comboboxVariants } from './combobox.variants';
|
|
134
|
+
export { type ComboboxVariants, comboboxVariants } from './combobox.variants.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default as Combobox } from './Combobox.svelte';
|
|
2
|
-
export { comboboxVariants } from './combobox.variants';
|
|
2
|
+
export { comboboxVariants } from './combobox.variants.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ConfirmDialogProps } from './index';
|
|
1
|
+
import type { ConfirmDialogProps } from './index.js';
|
|
2
2
|
declare const ConfirmDialog: import("svelte").Component<ConfirmDialogProps, {}, "open">;
|
|
3
3
|
type ConfirmDialog = ReturnType<typeof ConfirmDialog>;
|
|
4
4
|
export default ConfirmDialog;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Snippet } from 'svelte';
|
|
2
|
-
import type { DialogIntent } from '../Dialog';
|
|
2
|
+
import type { DialogIntent } from '../Dialog/index.js';
|
|
3
3
|
/**
|
|
4
4
|
* Intent applied to the confirm button. Reuses the standard intent palette
|
|
5
5
|
* via {@link DialogIntent} (with `neutral` mapped to `primary` for visual
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type SlotNames, type VariantProps } from '../../utils/variants';
|
|
2
|
-
export declare const dialogVariants: (props?: import("../../utils/variants").TVProps<{
|
|
1
|
+
import { type SlotNames, type VariantProps } from '../../utils/variants.js';
|
|
2
|
+
export declare const dialogVariants: (props?: import("../../utils/variants.js").TVProps<{
|
|
3
3
|
size: {
|
|
4
4
|
sm: {
|
|
5
5
|
panel: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Snippet } from 'svelte';
|
|
2
2
|
import type { HTMLDialogAttributes } from 'svelte/elements';
|
|
3
|
-
import type { DialogSlots, DialogVariants } from './dialog.variants';
|
|
3
|
+
import type { DialogSlots, DialogVariants } from './dialog.variants.js';
|
|
4
4
|
/**
|
|
5
5
|
* @description Overlay dialog built on native dialog element. Can be used as a simple
|
|
6
6
|
* content-agnostic overlay or as a structured dialog with title, footer, and intent accent.
|
|
@@ -99,4 +99,4 @@ export type DialogPlacement = NonNullable<DialogVariants['placement']>;
|
|
|
99
99
|
*/
|
|
100
100
|
export type DialogIntent = NonNullable<DialogVariants['intent']>;
|
|
101
101
|
export { default as Dialog } from './Dialog.svelte';
|
|
102
|
-
export { type DialogVariants, dialogVariants } from './dialog.variants';
|
|
102
|
+
export { type DialogVariants, dialogVariants } from './dialog.variants.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default as Dialog } from './Dialog.svelte';
|
|
2
|
-
export { dialogVariants } from './dialog.variants';
|
|
2
|
+
export { dialogVariants } from './dialog.variants.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type SlotNames, type VariantProps } from '../../utils/variants';
|
|
2
|
-
export declare const drawerVariants: (props?: import("../../utils/variants").TVProps<{
|
|
1
|
+
import { type SlotNames, type VariantProps } from '../../utils/variants.js';
|
|
2
|
+
export declare const drawerVariants: (props?: import("../../utils/variants.js").TVProps<{
|
|
3
3
|
placement: {
|
|
4
4
|
left: {
|
|
5
5
|
dialog: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Snippet } from 'svelte';
|
|
2
2
|
import type { HTMLDialogAttributes } from 'svelte/elements';
|
|
3
|
-
import type { DrawerSlots, DrawerVariants } from './drawer.variants';
|
|
3
|
+
import type { DrawerSlots, DrawerVariants } from './drawer.variants.js';
|
|
4
4
|
/**
|
|
5
5
|
* @description Slide-in panel overlay from any edge of the viewport.
|
|
6
6
|
* Uses native dialog with focus trap, backdrop click dismiss, and Escape key support.
|
|
@@ -76,4 +76,4 @@ export interface DrawerProps extends Omit<HTMLDialogAttributes, 'children' | 'op
|
|
|
76
76
|
preset?: string;
|
|
77
77
|
}
|
|
78
78
|
export { default as Drawer } from './Drawer.svelte';
|
|
79
|
-
export { type DrawerVariants, drawerVariants } from './drawer.variants';
|
|
79
|
+
export { type DrawerVariants, drawerVariants } from './drawer.variants.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default as Drawer } from './Drawer.svelte';
|
|
2
|
-
export { drawerVariants } from './drawer.variants';
|
|
2
|
+
export { drawerVariants } from './drawer.variants.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Snippet } from 'svelte';
|
|
2
2
|
import type { HTMLInputAttributes } from 'svelte/elements';
|
|
3
|
-
import type { MintProp } from '../../mint';
|
|
4
|
-
import type { InputSlots, InputVariants } from './input.variants';
|
|
3
|
+
import type { MintProp } from '../../mint/index.js';
|
|
4
|
+
import type { InputSlots, InputVariants } from './input.variants.js';
|
|
5
5
|
/**
|
|
6
6
|
* @description Text input with labels, validation states, icons, and clearable functionality.
|
|
7
7
|
* Supports outlined, filled, and ghost visual variants with automatic ARIA linking.
|
|
@@ -95,4 +95,4 @@ export interface InputProps extends Omit<InputVariants, 'error'>, Omit<HTMLInput
|
|
|
95
95
|
persistNamespace?: string;
|
|
96
96
|
}
|
|
97
97
|
export { default as Input } from './Input.svelte';
|
|
98
|
-
export { type InputVariants, inputVariants } from './input.variants';
|
|
98
|
+
export { type InputVariants, inputVariants } from './input.variants.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default as Input } from './Input.svelte';
|
|
2
|
-
export { inputVariants } from './input.variants';
|
|
2
|
+
export { inputVariants } from './input.variants.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type SlotNames, type VariantProps } from '../../utils/variants';
|
|
2
|
-
export declare const inputVariants: (props?: import("../../utils/variants").TVProps<{
|
|
1
|
+
import { type SlotNames, type VariantProps } from '../../utils/variants.js';
|
|
2
|
+
export declare const inputVariants: (props?: import("../../utils/variants.js").TVProps<{
|
|
3
3
|
tier: {
|
|
4
4
|
modify: {
|
|
5
5
|
base: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { tv } from '../../utils/variants';
|
|
1
|
+
import { tv } from '../../utils/variants.js';
|
|
2
2
|
export const inputVariants = tv({
|
|
3
3
|
slots: {
|
|
4
4
|
wrapper: ['flex flex-col w-full gap-1.5'],
|
|
@@ -54,13 +54,17 @@ export const inputVariants = tv({
|
|
|
54
54
|
},
|
|
55
55
|
size: {
|
|
56
56
|
xs: {
|
|
57
|
-
|
|
57
|
+
// `pointer-coarse:text-base` floors the font to 16px on touch-primary
|
|
58
|
+
// devices (iPhone/iPad) — below 16px iOS Safari auto-zooms the field on
|
|
59
|
+
// focus and never restores the zoom. Desktop keeps the designed 12px.
|
|
60
|
+
base: 'h-7 px-2 text-xs pointer-coarse:text-base',
|
|
58
61
|
iconContainer: 'w-7',
|
|
59
62
|
iconButton: 'p-0.5 [&_svg]:w-3 [&_svg]:h-3',
|
|
60
63
|
iconDecoration: '[&_svg]:w-3 [&_svg]:h-3'
|
|
61
64
|
},
|
|
62
65
|
sm: {
|
|
63
|
-
|
|
66
|
+
// See `xs` — floor to 16px on touch to avoid iOS Safari focus-zoom.
|
|
67
|
+
base: 'h-8 px-3 text-sm pointer-coarse:text-base',
|
|
64
68
|
iconContainer: 'w-8',
|
|
65
69
|
iconButton: 'p-0.5 [&_svg]:w-3.5 [&_svg]:h-3.5',
|
|
66
70
|
iconDecoration: '[&_svg]:w-3.5 [&_svg]:h-3.5'
|
|
@@ -62,6 +62,10 @@
|
|
|
62
62
|
const tierCtx = getTierContext();
|
|
63
63
|
const effectiveTier = $derived(tier ?? tierCtx?.tier ?? 'commit');
|
|
64
64
|
|
|
65
|
+
// The element that had focus when the menu opened (normally the trigger
|
|
66
|
+
// button) — captured in the open effect below and refocused by `dismiss()`
|
|
67
|
+
// on Escape / selection. Not bound to Popover's `triggerElement`; Popover
|
|
68
|
+
// anchors + excludes via its own internal trigger-wrapper.
|
|
65
69
|
let triggerRef = $state<HTMLElement>();
|
|
66
70
|
let panelRef = $state<HTMLElement>();
|
|
67
71
|
let openSubMenus = $state<Set<string>>(new Set());
|
|
@@ -207,12 +211,31 @@
|
|
|
207
211
|
items[items.length - 1]?.focus();
|
|
208
212
|
}
|
|
209
213
|
|
|
210
|
-
// When the menu opens, move focus into it (W3C menu pattern
|
|
211
|
-
//
|
|
212
|
-
// and
|
|
214
|
+
// When the menu opens, move focus into it (W3C menu pattern) so arrow-key
|
|
215
|
+
// navigation works immediately — otherwise focus would stay on the trigger
|
|
216
|
+
// and the panel keydown handler would never receive keys.
|
|
217
|
+
//
|
|
218
|
+
// BUT focusing the first *item* paints a `:focus-visible` ring on it. That
|
|
219
|
+
// ring is desirable for keyboard users (they navigated here) and jarring
|
|
220
|
+
// for pointer users (a tap shouldn't pre-highlight an entry as if selected
|
|
221
|
+
// — the stray green ring report). So we branch on the opener's modality:
|
|
222
|
+
// • keyboard-open (trigger matches `:focus-visible`) → focus first item
|
|
223
|
+
// • pointer-open → focus the ring-less
|
|
224
|
+
// panel container; arrows still work (handlePanelKeydown falls back to
|
|
225
|
+
// focusFirstItem / focusLastItem when no item is focused yet).
|
|
226
|
+
//
|
|
227
|
+
// We also capture the opener element here so `dismiss()` can restore focus
|
|
228
|
+
// to the trigger on Escape / selection (the previous `triggerRef` was never
|
|
229
|
+
// assigned, so that restore was a silent no-op).
|
|
213
230
|
$effect(() => {
|
|
214
231
|
if (!open) return;
|
|
215
|
-
|
|
232
|
+
const opener = document.activeElement as HTMLElement | null;
|
|
233
|
+
if (opener && opener !== document.body) triggerRef = opener;
|
|
234
|
+
const openedViaKeyboard = opener?.matches?.(':focus-visible') ?? false;
|
|
235
|
+
queueMicrotask(() => {
|
|
236
|
+
if (openedViaKeyboard) focusFirstItem();
|
|
237
|
+
else panelRef?.focus();
|
|
238
|
+
});
|
|
216
239
|
});
|
|
217
240
|
|
|
218
241
|
function itemSizeForDepth(_depth: number): 'sm' | 'md' | 'lg' {
|
|
@@ -289,20 +312,26 @@
|
|
|
289
312
|
// keys to here via their own onkeydown handler.
|
|
290
313
|
function handlePanelKeydown(e: KeyboardEvent) {
|
|
291
314
|
const target = e.target as HTMLElement | null;
|
|
292
|
-
const
|
|
315
|
+
const active = document.activeElement as HTMLElement | null;
|
|
316
|
+
// Only treat a real menuitem as the navigation anchor. When focus is on
|
|
317
|
+
// the panel container itself (pointer-open), `focusedItem` is null and
|
|
318
|
+
// ArrowDown/Up fall back to focusing the first/last item.
|
|
319
|
+
const focusedItem =
|
|
293
320
|
target?.getAttribute('role') === 'menuitem'
|
|
294
321
|
? target
|
|
295
|
-
: (
|
|
322
|
+
: active?.getAttribute('role') === 'menuitem'
|
|
323
|
+
? active
|
|
324
|
+
: null;
|
|
296
325
|
|
|
297
326
|
switch (e.key) {
|
|
298
327
|
case 'ArrowDown':
|
|
299
328
|
e.preventDefault();
|
|
300
|
-
if (
|
|
329
|
+
if (focusedItem) focusNextItem(focusedItem);
|
|
301
330
|
else focusFirstItem();
|
|
302
331
|
break;
|
|
303
332
|
case 'ArrowUp':
|
|
304
333
|
e.preventDefault();
|
|
305
|
-
if (
|
|
334
|
+
if (focusedItem) focusPrevItem(focusedItem);
|
|
306
335
|
else focusLastItem();
|
|
307
336
|
break;
|
|
308
337
|
case 'Home':
|
|
@@ -386,7 +415,6 @@
|
|
|
386
415
|
<Popover
|
|
387
416
|
bind:open
|
|
388
417
|
placement={placement as import('../../utils/floating').Placement}
|
|
389
|
-
bind:triggerElement={triggerRef}
|
|
390
418
|
{usePortal}
|
|
391
419
|
autoTrigger={false}
|
|
392
420
|
unstyled
|
|
@@ -399,9 +427,12 @@
|
|
|
399
427
|
role="menu"
|
|
400
428
|
tabindex={-1}
|
|
401
429
|
onkeydown={handlePanelKeydown}
|
|
402
|
-
class={
|
|
403
|
-
? (slotClasses?.content ?? '')
|
|
404
|
-
|
|
430
|
+
class={[
|
|
431
|
+
unstyled ? (slotClasses?.content ?? '') : styles.content({ class: slotClasses?.content }),
|
|
432
|
+
// Panel is programmatically focused on pointer-open as the ring-less
|
|
433
|
+
// anchor for arrow-key nav — suppress any UA outline on the container.
|
|
434
|
+
'focus:outline-none'
|
|
435
|
+
]}
|
|
405
436
|
>
|
|
406
437
|
{#if customHeader}
|
|
407
438
|
<div
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { Snippet } from 'svelte';
|
|
2
2
|
import type { HTMLAttributes } from 'svelte/elements';
|
|
3
|
-
import type { MintProp } from '../../mint';
|
|
4
|
-
import type { ButtonVariants, MenuVariants } from '
|
|
5
|
-
import type { AnimationProps } from '../../utils';
|
|
6
|
-
import type { Placement } from '../../utils/floating';
|
|
7
|
-
import type { InteractiveTier } from '../../utils/tier-context';
|
|
8
|
-
import type { MenuSlots } from './menu.variants';
|
|
3
|
+
import type { MintProp } from '../../mint/index.js';
|
|
4
|
+
import type { ButtonVariants, MenuVariants } from '../index.js';
|
|
5
|
+
import type { AnimationProps } from '../../utils/index.js';
|
|
6
|
+
import type { Placement } from '../../utils/floating.js';
|
|
7
|
+
import type { InteractiveTier } from '../../utils/tier-context.js';
|
|
8
|
+
import type { MenuSlots } from './menu.variants.js';
|
|
9
9
|
/**
|
|
10
10
|
* @description Action menu (`role="menu"`) triggered by a button. Items are
|
|
11
11
|
* verbs the user can invoke — Edit, Delete, Share, Export — and dispatch an
|
|
@@ -278,5 +278,5 @@ export { default as MenuDivider } from './MenuDivider.svelte';
|
|
|
278
278
|
export { default as MenuItem } from './MenuItem.svelte';
|
|
279
279
|
export { default as MenuSection } from './MenuSection.svelte';
|
|
280
280
|
export { default as MenuSubmenu } from './MenuSubmenu.svelte';
|
|
281
|
-
export type { MenuContext, MenuRegistryItem } from './menu.context';
|
|
282
|
-
export { type MenuIconVariants, type MenuVariants, menuIconVariants, menuVariants } from './menu.variants';
|
|
281
|
+
export type { MenuContext, MenuRegistryItem } from './menu.context.js';
|
|
282
|
+
export { type MenuIconVariants, type MenuVariants, menuIconVariants, menuVariants } from './menu.variants.js';
|
|
@@ -3,4 +3,4 @@ export { default as MenuDivider } from './MenuDivider.svelte';
|
|
|
3
3
|
export { default as MenuItem } from './MenuItem.svelte';
|
|
4
4
|
export { default as MenuSection } from './MenuSection.svelte';
|
|
5
5
|
export { default as MenuSubmenu } from './MenuSubmenu.svelte';
|
|
6
|
-
export { menuIconVariants, menuVariants } from './menu.variants';
|
|
6
|
+
export { menuIconVariants, menuVariants } from './menu.variants.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ButtonVariants } from '../Button/button.variants';
|
|
2
|
-
import type { MenuVariants } from './menu.variants';
|
|
1
|
+
import type { ButtonVariants } from '../Button/button.variants.js';
|
|
2
|
+
import type { MenuVariants } from './menu.variants.js';
|
|
3
3
|
/**
|
|
4
4
|
* Registration entry for a declarative MenuItem.
|
|
5
5
|
* Used internally to support sub-menu nesting bookkeeping.
|
|
@@ -15,11 +15,11 @@ export type MenuContext = {
|
|
|
15
15
|
rootId: string;
|
|
16
16
|
size: MenuVariants['itemSize'];
|
|
17
17
|
intent: ButtonVariants['intent'];
|
|
18
|
-
mint: import('../../mint').MintProp | undefined;
|
|
18
|
+
mint: import('../../mint/index.js').MintProp | undefined;
|
|
19
19
|
disabled: boolean;
|
|
20
20
|
unstyled?: boolean;
|
|
21
21
|
slotClasses?: Partial<Record<'base' | 'trigger' | 'triggerText' | 'chevron' | 'content' | 'header' | 'section' | 'divider' | 'items' | 'item' | 'indicator' | 'submenu' | 'footer', string>>;
|
|
22
|
-
styles: ReturnType<typeof import('./menu.variants').menuVariants>;
|
|
22
|
+
styles: ReturnType<typeof import('./menu.variants.js').menuVariants>;
|
|
23
23
|
/**
|
|
24
24
|
* Called by an item after its `onSelect` callback has fired. Closes the
|
|
25
25
|
* menu and restores focus to the trigger unless `keepOpen` is true.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createContext } from 'svelte';
|
|
2
|
-
import { createOptionalContext } from '../../utils/optional-context';
|
|
2
|
+
import { createOptionalContext } from '../../utils/optional-context.js';
|
|
3
3
|
const [getMenuContext, setMenuContext] = createContext();
|
|
4
4
|
export { getMenuContext, setMenuContext };
|
|
5
5
|
// MenuParentId is *optional* — only MenuSubmenu sets it. Top-level
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type SlotNames, type VariantProps } from '../../utils/variants';
|
|
2
|
-
export declare const menuVariants: (props?: import("../../utils/variants").TVProps<{
|
|
1
|
+
import { type SlotNames, type VariantProps } from '../../utils/variants.js';
|
|
2
|
+
export declare const menuVariants: (props?: import("../../utils/variants.js").TVProps<{
|
|
3
3
|
open: {
|
|
4
4
|
true: {
|
|
5
5
|
base: string;
|
|
@@ -234,7 +234,7 @@ export declare const menuVariants: (props?: import("../../utils/variants").TVPro
|
|
|
234
234
|
className?: string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | (string | false | /*elided*/ any | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined)[] | null | undefined;
|
|
235
235
|
}) | undefined) => string;
|
|
236
236
|
};
|
|
237
|
-
export declare const menuIconVariants: (props?: import("../../utils/variants").TVProps<{
|
|
237
|
+
export declare const menuIconVariants: (props?: import("../../utils/variants.js").TVProps<{
|
|
238
238
|
type: {
|
|
239
239
|
chevron: string;
|
|
240
240
|
checkmark: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { PaginationItemProps } from '.';
|
|
1
|
+
import type { PaginationItemProps } from './index.js';
|
|
2
2
|
declare const PaginationItem: import("svelte").Component<PaginationItemProps, {}, "">;
|
|
3
3
|
type PaginationItem = ReturnType<typeof PaginationItem>;
|
|
4
4
|
export default PaginationItem;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { Snippet } from 'svelte';
|
|
2
2
|
import type { HTMLAttributes } from 'svelte/elements';
|
|
3
|
-
import type { MintProp } from '../../mint';
|
|
4
|
-
import type { InteractiveTier } from '../../utils/tier-context';
|
|
5
|
-
import type { PaginationSlots, PaginationVariants } from './pagination.variants';
|
|
3
|
+
import type { MintProp } from '../../mint/index.js';
|
|
4
|
+
import type { InteractiveTier } from '../../utils/tier-context.js';
|
|
5
|
+
import type { PaginationSlots, PaginationVariants } from './pagination.variants.js';
|
|
6
6
|
export interface PaginationPageItem {
|
|
7
7
|
label: string;
|
|
8
8
|
value: number;
|
|
@@ -141,4 +141,4 @@ export interface PaginationItemProps extends Omit<HTMLAttributes<HTMLButtonEleme
|
|
|
141
141
|
}
|
|
142
142
|
export { default as Pagination } from './Pagination.svelte';
|
|
143
143
|
export { default as PaginationItem } from './PaginationItem.svelte';
|
|
144
|
-
export { type PaginationVariants, paginationVariants } from './pagination.variants';
|
|
144
|
+
export { type PaginationVariants, paginationVariants } from './pagination.variants.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type SlotNames, type VariantProps } from '../../utils/variants';
|
|
2
|
-
export declare const paginationVariants: (props?: import("../../utils/variants").TVProps<{
|
|
1
|
+
import { type SlotNames, type VariantProps } from '../../utils/variants.js';
|
|
2
|
+
export declare const paginationVariants: (props?: import("../../utils/variants.js").TVProps<{
|
|
3
3
|
layout: {
|
|
4
4
|
default: {
|
|
5
5
|
base: string;
|
|
@@ -104,8 +104,21 @@
|
|
|
104
104
|
// Manual mode disables the browser's automatic dismiss entirely, which
|
|
105
105
|
// is the only way to veto Escape or outside-click selectively — the
|
|
106
106
|
// `beforetoggle` event is intentionally not cancelable when closing.
|
|
107
|
+
//
|
|
108
|
+
// `autoTrigger=false` (external trigger) ALSO forces manual mode. Native
|
|
109
|
+
// `popover="auto"` light-dismiss treats the external trigger as "outside"
|
|
110
|
+
// (the browser only exempts a real `popovertarget` invoker, which we do
|
|
111
|
+
// not wire through Floating UI). So a tap on an open external trigger
|
|
112
|
+
// light-dismisses the popover on `pointerdown`, then the consumer's own
|
|
113
|
+
// `onclick` toggle re-opens it — the close-then-reopen flicker seen on
|
|
114
|
+
// mobile. Manual mode's outside-pointerdown handler instead excludes the
|
|
115
|
+
// trigger via `contains`, so the consumer's toggle is the single source
|
|
116
|
+
// of truth. Deterministic across browsers; no reliance on light-dismiss
|
|
117
|
+
// timing. Consumers with an external CLICK trigger (Menu, DatePicker)
|
|
118
|
+
// get a clean toggle; hover-driven external triggers (Calendar event
|
|
119
|
+
// popovers) are unaffected since they never relied on light-dismiss.
|
|
107
120
|
const popoverMode = $derived<'auto' | 'manual'>(
|
|
108
|
-
closeOnEscape && closeOnClickOutside ? 'auto' : 'manual'
|
|
121
|
+
autoTrigger && closeOnEscape && closeOnClickOutside ? 'auto' : 'manual'
|
|
109
122
|
);
|
|
110
123
|
|
|
111
124
|
// ── Native popover state sync (popover="auto" mode only) ──
|
|
@@ -127,17 +140,6 @@
|
|
|
127
140
|
return () => document.removeEventListener('keydown', handleEscape, true);
|
|
128
141
|
});
|
|
129
142
|
|
|
130
|
-
// For external triggers (autoTrigger=false), track pointerdown to coordinate
|
|
131
|
-
// with light dismiss — prevents toggle-on-click when the trigger click causes dismiss.
|
|
132
|
-
$effect(() => {
|
|
133
|
-
if (!effectiveTriggerElement || autoTrigger) return;
|
|
134
|
-
function handlePointerDown() {
|
|
135
|
-
if (open) dismissedByTrigger = true;
|
|
136
|
-
}
|
|
137
|
-
effectiveTriggerElement.addEventListener('pointerdown', handlePointerDown);
|
|
138
|
-
return () => effectiveTriggerElement.removeEventListener('pointerdown', handlePointerDown);
|
|
139
|
-
});
|
|
140
|
-
|
|
141
143
|
// Listen for native popover toggle events (light dismiss, Escape, programmatic).
|
|
142
144
|
// Only relevant in `auto` mode — in manual mode the browser doesn't fire
|
|
143
145
|
// toggle events for outside clicks or Escape, so the dismiss callbacks
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Snippet } from 'svelte';
|
|
2
2
|
import type { HTMLAttributes } from 'svelte/elements';
|
|
3
|
-
import type { Placement } from '../../utils/floating';
|
|
4
|
-
import type { PopoverVariants } from './popover.variants';
|
|
3
|
+
import type { Placement } from '../../utils/floating.js';
|
|
4
|
+
import type { PopoverVariants } from './popover.variants.js';
|
|
5
5
|
/**
|
|
6
6
|
* @description Floating panel anchored to a trigger element. Uses the native Popover API
|
|
7
7
|
* for top-layer rendering, light dismiss, and Escape handling. Floating UI provides
|
|
@@ -111,4 +111,4 @@ export interface PopoverProps extends PopoverVariants, Omit<HTMLAttributes<HTMLD
|
|
|
111
111
|
preset?: string;
|
|
112
112
|
}
|
|
113
113
|
export { default as Popover } from './Popover.svelte';
|
|
114
|
-
export { type PopoverVariants, popoverVariants } from './popover.variants';
|
|
114
|
+
export { type PopoverVariants, popoverVariants } from './popover.variants.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default as Popover } from './Popover.svelte';
|
|
2
|
-
export { popoverVariants } from './popover.variants';
|
|
2
|
+
export { popoverVariants } from './popover.variants.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type VariantProps } from '../../utils/variants';
|
|
2
|
-
export declare const popoverVariants: (props?: import("../../utils/variants").TVProps<{
|
|
1
|
+
import { type VariantProps } from '../../utils/variants.js';
|
|
2
|
+
export declare const popoverVariants: (props?: import("../../utils/variants.js").TVProps<{
|
|
3
3
|
size: {
|
|
4
4
|
sm: string;
|
|
5
5
|
md: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { HTMLAttributes } from 'svelte/elements';
|
|
2
|
-
import type { ProgressSlots, ProgressVariants } from './progress.variants';
|
|
2
|
+
import type { ProgressSlots, ProgressVariants } from './progress.variants.js';
|
|
3
3
|
/**
|
|
4
4
|
* @description Progress indicator for determinate and indeterminate loading states.
|
|
5
5
|
* Supports linear bar and circular ring variants with semantic intents and animation.
|
|
@@ -61,4 +61,4 @@ export interface ProgressProps extends ProgressVariants, Omit<HTMLAttributes<HTM
|
|
|
61
61
|
preset?: string;
|
|
62
62
|
}
|
|
63
63
|
export { default as Progress } from './Progress.svelte';
|
|
64
|
-
export { type ProgressVariants, progressVariants } from './progress.variants';
|
|
64
|
+
export { type ProgressVariants, progressVariants } from './progress.variants.js';
|