@glasshome/ui 1.31.1 → 1.32.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 CHANGED
@@ -58,7 +58,7 @@ function DeviceCard() {
58
58
  }
59
59
  ```
60
60
 
61
- Component families: `Accordion` · `Alert` · `AlertDialog` · `AreaPicker` · `AspectRatio` · `Avatar` · `Badge` · `BottomSheet` · `Breadcrumb` · `Button` · `ButtonGroup` · `Card` · `Carousel` · `Charts (AreaChart, BarList, StackedBar, RangeToggle)` · `Checkbox` · `Collapsible` · `ColorSlider` · `ColorWheel` · `ContextMenu` · `CopyButton` · `CountPill` · `DataTable (TableSearchInput, TableFilterSelect, TableSortHeader, TableSkeleton, TableEmpty, TableError, TableBulkBar)` · `Dialog` · `Dock` · `DropdownMenu` · `Empty` · `EntitySelector` · `Field` · `Form` · `HeroAction` · `HoverCard` · `IconPicker` · `ImagePicker` · `Input` · `InputGroup` · `InputOTP` · `Item` · `Kbd` · `Label` · `Logo` · `MediaTile` · `NumberField` · `OptionCard` · `Overlay` · `PageHeader` · `Pagination` · `PasswordInput` · `PickerSearch` · `Popover` · `Progress` · `RadioGroup` · `Resizable` · `ResponsiveDialog` · `SchemaForm` · `ScopeIndicator` · `ScrollArea` · `SectionCard` · `Select` · `Separator` · `SettingsRow (SwitchRow, LabeledField, LabeledInput, LabeledIconPicker, RowActions, SectionAddButton, SectionEmpty)` · `Sheet` · `Skeleton` · `Slider` · `SlidingIndicator` · `Sonner (toast)` · `Spinner` · `StepIndicator` · `Switch` · `Table` · `Tabs` · `Textarea` · `TierBadge` · `Toggle` · `ToggleGroup` · `Tooltip` · `WidgetCard` · `WidgetIdentity` · `WidgetTrustBadge`
61
+ Component families: `Accordion` · `Alert` · `AlertDialog` · `AreaPicker` · `AspectRatio` · `Avatar` · `Badge` · `BottomSheet` · `Breadcrumb` · `Button` · `ButtonGroup` · `Card` · `Carousel` · `Charts (AreaChart, BarList, StackedBar, RangeToggle)` · `Checkbox` · `Collapsible` · `ColorSlider` · `ColorWheel` · `ContextMenu` · `CopyButton` · `CountPill` · `DataTable (TableSearchInput, TableFilterSelect, TableSortHeader, TableSkeleton, TableEmpty, TableError, TableBulkBar)` · `Dialog` · `Dock` · `DropdownMenu` · `Empty` · `EntitySelector` · `Field` · `Form` · `HeroAction` · `HoverCard` · `IconPicker` · `ImagePicker` · `Input` · `InputGroup` · `InputOTP` · `Item` · `Kbd` · `Label` · `Logo` · `MediaTile` · `NumberField` · `OptionCard` · `Overlay` · `PageHeader` · `Pagination` · `PasswordInput` · `PickerSearch` · `Popover` · `Progress` · `RadioGroup` · `Resizable` · `ResponsiveDialog` · `SchemaForm` · `ScopeIndicator` · `ScrollArea` · `SectionCard` · `Select` · `SelectionScope (SelectionHighlight)` · `Separator` · `SettingsRow (SwitchRow, LabeledField, LabeledInput, LabeledIconPicker, RowActions, SectionAddButton, SectionEmpty)` · `Sheet` · `Skeleton` · `Slider` · `SlidingIndicator (deprecated)` · `Sonner (toast)` · `Spinner` · `StepIndicator` · `Switch` · `Table` · `Tabs` · `Textarea` · `TierBadge` · `Toggle` · `ToggleGroup` · `Tooltip` · `WidgetCard` · `WidgetIdentity` · `WidgetTrustBadge`
62
62
 
63
63
  `Badge` is glass-only: `tone` takes any CSS color (`<Badge tone="var(--success)">`); there are no solid variant badges.
64
64
 
package/SPEC.md CHANGED
@@ -254,7 +254,7 @@ Motion is one system, not per-component flair. Four rules, all held by
254
254
  opened it: a picker or menu panel unrolls out of its trigger's box
255
255
  (`MORPH_MOTION`, `FIELD_MOTION`), a dialog rises into place (`MODAL_MOTION`),
256
256
  a card with sub-options grows to reveal them (OptionCard's drawer), an
257
- indicator slides and stretches (SlidingIndicator, position bars). Nothing is
257
+ indicator slides and stretches (SelectionScope, position bars). Nothing is
258
258
  swapped in below or beside its origin.
259
259
  3. **Children arrive one after another.** The rows behind a growing edge stagger
260
260
  in (`STAGGER` = `.gh-stagger`, base 80ms, 60ms per row, capped), so a panel is
@@ -0,0 +1,6 @@
1
+ /**
2
+ * A panel that opens on pointerdown under the pointer (an overlaid Select, a menu anchored on
3
+ * its trigger) would receive that press's release, and Kobalte acts on release. Only a press
4
+ * that starts inside the panel may act; with or without an opening animation.
5
+ */
6
+ export declare function ignoreOpeningRelease(panel: HTMLElement): () => void;
@@ -35,7 +35,7 @@ interface DockIconButtonProps extends ComponentProps<"button"> {
35
35
  }> | JSX.Element;
36
36
  label: string;
37
37
  isActive?: boolean;
38
- /** Sits on the sliding pill: the active item, or the one a drag would land on. */
38
+ /** Wears the selection highlight: the active item, or the one a drag would land on. */
39
39
  lit?: boolean;
40
40
  badge?: number;
41
41
  }
@@ -83,6 +83,7 @@ export { LabeledField, LabeledIconPicker, LabeledInput, RowActions, SectionAddBu
83
83
  export { Sheet, SheetBody, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, } from "./sheet.js";
84
84
  export { Skeleton } from "./skeleton.js";
85
85
  export { Slider } from "./slider.js";
86
+ export { SelectionHighlight, type SelectionMarker, SelectionScope } from "./selection.js";
86
87
  export { SlidingIndicator } from "./sliding-indicator.js";
87
88
  export { GlassToast, Toaster, toast } from "./sonner.js";
88
89
  export { Spinner } from "./spinner.js";