@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.
- package/dist/{chunk-6BJTH3L6.js → chunk-DFOAKWYB.js} +3 -3
- package/dist/{chunk-6BJTH3L6.js.map → chunk-DFOAKWYB.js.map} +1 -1
- package/dist/{chunk-PZU7XC2M.js → chunk-OBIU37AX.js} +5 -2
- package/dist/chunk-OBIU37AX.js.map +1 -0
- package/dist/{chunk-SDPYDWWV.js → chunk-Z2ITFPGL.js} +15 -6
- package/dist/chunk-Z2ITFPGL.js.map +1 -0
- package/dist/{chunk-5VF45NLE.js → chunk-ZLPYNHXH.js} +54 -19
- package/dist/chunk-ZLPYNHXH.js.map +1 -0
- package/dist/dashboard/OnboardingWidget.d.ts +7 -1
- package/dist/dashboard/OnboardingWidget.d.ts.map +1 -1
- package/dist/dashboard/SidebarOnboarding.d.ts +7 -1
- package/dist/dashboard/SidebarOnboarding.d.ts.map +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +255 -7
- package/dist/index.js.map +1 -1
- package/dist/layout/Sidebar.d.ts.map +1 -1
- package/dist/layout/index.js +2 -2
- package/dist/primitives/index.js +2 -2
- package/dist/primitives/page-actions.d.ts.map +1 -1
- package/dist/styles.css +22 -0
- package/dist/tour/TourSpotlight.d.ts +29 -0
- package/dist/tour/TourSpotlight.d.ts.map +1 -0
- package/dist/tour/index.d.ts +4 -0
- package/dist/tour/index.d.ts.map +1 -0
- package/dist/tour/tour.store.d.ts +22 -0
- package/dist/tour/tour.store.d.ts.map +1 -0
- package/dist/tour/types.d.ts +28 -0
- package/dist/tour/types.d.ts.map +1 -0
- package/package.json +2 -2
- package/dist/chunk-5VF45NLE.js.map +0 -1
- package/dist/chunk-PZU7XC2M.js.map +0 -1
- package/dist/chunk-SDPYDWWV.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useSaveBarVisible, useCrossModuleBack, useBackHandler, PageHeaderActions } from './chunk-
|
|
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(
|
|
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-
|
|
2367
|
-
//# sourceMappingURL=chunk-
|
|
2375
|
+
//# sourceMappingURL=chunk-Z2ITFPGL.js.map
|
|
2376
|
+
//# sourceMappingURL=chunk-Z2ITFPGL.js.map
|