@sewadah/selaras 0.4.0 → 0.6.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.
@@ -49,6 +49,7 @@ export const datePickerTheme = tv({
49
49
  viewGrid: "grid grid-cols-3 gap-1",
50
50
  // Hour/minute granularity only - sits below the day grid, separated by
51
51
  // a divider so it doesn't read as part of the grid itself.
52
+ timeSectionStandalone: "flex items-center justify-center gap-1.5",
52
53
  timeSection: "mt-3 flex items-center justify-center gap-1.5 border-t border-[var(--selaras-resolved-border-default)] pt-3",
53
54
  arrow: "fill-[var(--selaras-resolved-surface-default)] stroke-[var(--selaras-resolved-border-default)] stroke-1"
54
55
  },
@@ -1,4 +1,7 @@
1
+ import type { PopoverProps } from '../components/Popover.vue.js';
2
+ import type { TooltipProps } from '../components/Tooltip.vue.js';
1
3
  import type { HotkeyOptions } from '../directives/hotkey.js';
4
+ export type NavigationMenuPopover = Pick<PopoverProps, 'side' | 'align' | 'positioning' | 'portal' | 'arrow' | 'ui'>;
2
5
  export interface NavigationMenuItem {
3
6
  label: string;
4
7
  icon?: string;
@@ -6,6 +9,10 @@ export interface NavigationMenuItem {
6
9
  target?: string;
7
10
  rel?: string;
8
11
  ariaLabel?: string;
12
+ /** Collapsed leaf tooltip override. `false` disables this item's tooltip. */
13
+ tooltip?: boolean | TooltipProps;
14
+ /** Presentation of this item's collapsed child flyout. */
15
+ popover?: NavigationMenuPopover;
9
16
  disabled?: boolean;
10
17
  /** Force active state - otherwise auto-detected against the current route when `to` is set. */
11
18
  active?: boolean;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sewadah/selaras",
3
3
  "type": "module",
4
- "version": "0.4.0",
4
+ "version": "0.6.0",
5
5
  "description": "A UI component library for Nuxt, built on Reka UI and Tailwind v4",
6
6
  "author": "Wicaksana Pratama <wicaksanapratama@gmail.com>",
7
7
  "license": "MIT",