@fayz-ai/ui 0.16.0 → 0.17.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.
Files changed (34) hide show
  1. package/dist/{chunk-6BJTH3L6.js → chunk-DFOAKWYB.js} +3 -3
  2. package/dist/{chunk-6BJTH3L6.js.map → chunk-DFOAKWYB.js.map} +1 -1
  3. package/dist/{chunk-PZU7XC2M.js → chunk-OBIU37AX.js} +5 -2
  4. package/dist/chunk-OBIU37AX.js.map +1 -0
  5. package/dist/{chunk-SDPYDWWV.js → chunk-Z2ITFPGL.js} +15 -6
  6. package/dist/chunk-Z2ITFPGL.js.map +1 -0
  7. package/dist/{chunk-5VF45NLE.js → chunk-ZLPYNHXH.js} +54 -19
  8. package/dist/chunk-ZLPYNHXH.js.map +1 -0
  9. package/dist/dashboard/OnboardingWidget.d.ts +7 -1
  10. package/dist/dashboard/OnboardingWidget.d.ts.map +1 -1
  11. package/dist/dashboard/SidebarOnboarding.d.ts +7 -1
  12. package/dist/dashboard/SidebarOnboarding.d.ts.map +1 -1
  13. package/dist/dashboard/index.js +1 -1
  14. package/dist/index.d.ts +1 -0
  15. package/dist/index.d.ts.map +1 -1
  16. package/dist/index.js +255 -7
  17. package/dist/index.js.map +1 -1
  18. package/dist/layout/Sidebar.d.ts.map +1 -1
  19. package/dist/layout/index.js +2 -2
  20. package/dist/primitives/index.js +2 -2
  21. package/dist/primitives/page-actions.d.ts.map +1 -1
  22. package/dist/styles.css +22 -0
  23. package/dist/tour/TourSpotlight.d.ts +29 -0
  24. package/dist/tour/TourSpotlight.d.ts.map +1 -0
  25. package/dist/tour/index.d.ts +4 -0
  26. package/dist/tour/index.d.ts.map +1 -0
  27. package/dist/tour/tour.store.d.ts +22 -0
  28. package/dist/tour/tour.store.d.ts.map +1 -0
  29. package/dist/tour/types.d.ts +28 -0
  30. package/dist/tour/types.d.ts.map +1 -0
  31. package/package.json +2 -2
  32. package/dist/chunk-5VF45NLE.js.map +0 -1
  33. package/dist/chunk-PZU7XC2M.js.map +0 -1
  34. package/dist/chunk-SDPYDWWV.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { useSaveBarVisible, useCrossModuleBack, useBackHandler, PageHeaderActions } from './chunk-PZU7XC2M.js';
1
+ import { useSaveBarVisible, useCrossModuleBack, useBackHandler, PageHeaderActions } from './chunk-OBIU37AX.js';
2
2
  import { useIsWide, Dropdown, DropdownTrigger, DropdownContent, DropdownSeparator, DropdownItem, Card, DataTable } from './chunk-E44WOPCR.js';
3
3
  import { cn, Button } from './chunk-OKZ6WQB3.js';
4
4
  import * as React16 from 'react';
@@ -527,21 +527,30 @@ function PageActionBar({ actions, className }) {
527
527
  "aria-label": a.label,
528
528
  title: a.label,
529
529
  "data-testid": a.testId,
530
+ "data-tour": `action.${a.id}`,
530
531
  children: iconOf(a, "h-4 w-4")
531
532
  },
532
533
  a.id
533
534
  )),
534
- head && menu.length === 0 && /* @__PURE__ */ jsxs(Button, { onClick: () => void head.onSelect(), disabled: head.disabled, "data-testid": head.testId, children: [
535
+ head && menu.length === 0 && /* @__PURE__ */ jsxs(Button, { onClick: () => void head.onSelect(), disabled: head.disabled, "data-testid": head.testId, "data-tour": `action.${head.id}`, children: [
535
536
  iconOf(head, "mr-1.5 h-4 w-4"),
536
537
  head.label
537
538
  ] }),
538
539
  head && menu.length > 0 && /* @__PURE__ */ jsxs("div", { className: "flex items-center", children: [
539
- /* @__PURE__ */ jsxs(Button, { className: "rounded-r-none", onClick: () => void head.onSelect(), disabled: head.disabled, "data-testid": head.testId, children: [
540
+ /* @__PURE__ */ jsxs(Button, { className: "rounded-r-none", onClick: () => void head.onSelect(), disabled: head.disabled, "data-testid": head.testId, "data-tour": `action.${head.id}`, children: [
540
541
  iconOf(head, "mr-1.5 h-4 w-4"),
541
542
  head.label
542
543
  ] }),
543
544
  /* @__PURE__ */ jsxs(Dropdown, { children: [
544
- /* @__PURE__ */ jsx(DropdownTrigger, { asChild: true, children: /* @__PURE__ */ jsx(Button, { className: "-ml-px rounded-l-none px-2", "aria-label": `${head.label}\u2026`, children: /* @__PURE__ */ jsx(ChevronDown, { className: "h-4 w-4" }) }) }),
545
+ /* @__PURE__ */ jsx(DropdownTrigger, { asChild: true, children: /* @__PURE__ */ jsx(
546
+ Button,
547
+ {
548
+ className: "-ml-px rounded-l-none px-2",
549
+ "aria-label": `${head.label}\u2026`,
550
+ "data-tour": menu.map((a) => `action.${a.id}`).join(" "),
551
+ children: /* @__PURE__ */ jsx(ChevronDown, { className: "h-4 w-4" })
552
+ }
553
+ ) }),
545
554
  /* @__PURE__ */ jsx(DropdownContent, { align: "end", className: "w-56", children: /* @__PURE__ */ jsx(ActionItems, { actions: menu }) })
546
555
  ] })
547
556
  ] }),
@@ -2363,5 +2372,5 @@ function SearchCombobox({
2363
2372
  }
2364
2373
 
2365
2374
  export { Badge, Breadcrumb, BulkActionBar, ChevronPager, CurrencyInput, DatePicker, FilterChip, Hint, Input, ListView, Markdown, MarkdownEditor, Modal, ModalBody, ModalClose, ModalContent, ModalDescription, ModalFooter, ModalHeader, ModalOverlay, ModalPortal, ModalTitle, ModalTrigger, PageActionBar, PhoneField, PhoneLink, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, RefreshButton, RowActions, SearchCombobox, SearchField, SearchSelect, SegmentedControl, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator2 as Separator, StatTiles, Tabs, TabsContent, TabsList, TabsTrigger, Thumbnail, TimePicker, ToastProvider, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, WHATSAPP_BRAND_COLOR, WhatsAppIcon, badgeVariants, formatPhone2 as formatPhone, normalizePhone, renderMarkdown, setActionsMenuLabel, setRowActionsLabel, useRowSelection };
2366
- //# sourceMappingURL=chunk-SDPYDWWV.js.map
2367
- //# sourceMappingURL=chunk-SDPYDWWV.js.map
2375
+ //# sourceMappingURL=chunk-Z2ITFPGL.js.map
2376
+ //# sourceMappingURL=chunk-Z2ITFPGL.js.map