@fairmint/ui 0.3.23 → 0.3.24

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 (53) hide show
  1. package/dist/_virtual/index3.cjs +5 -3
  2. package/dist/_virtual/index3.cjs.map +1 -1
  3. package/dist/_virtual/index3.js +5 -2
  4. package/dist/_virtual/index3.js.map +1 -1
  5. package/dist/_virtual/index4.cjs +3 -5
  6. package/dist/_virtual/index4.cjs.map +1 -1
  7. package/dist/_virtual/index4.js +2 -5
  8. package/dist/_virtual/index4.js.map +1 -1
  9. package/dist/components/generic/Banner/Banner.cjs +1 -1
  10. package/dist/components/generic/Banner/Banner.cjs.map +1 -1
  11. package/dist/components/generic/Banner/Banner.js +1 -1
  12. package/dist/components/generic/Banner/Banner.js.map +1 -1
  13. package/dist/components/generic/TaskRow/TaskRow.cjs +6 -31
  14. package/dist/components/generic/TaskRow/TaskRow.cjs.map +1 -1
  15. package/dist/components/generic/TaskRow/TaskRow.d.ts.map +1 -1
  16. package/dist/components/generic/TaskRow/TaskRow.js +6 -31
  17. package/dist/components/generic/TaskRow/TaskRow.js.map +1 -1
  18. package/dist/components/primitives/index.d.ts +0 -1
  19. package/dist/components/primitives/index.d.ts.map +1 -1
  20. package/dist/fairmint-ui.cjs +0 -4
  21. package/dist/fairmint-ui.cjs.map +1 -1
  22. package/dist/fairmint-ui.js +0 -4
  23. package/dist/fairmint-ui.js.map +1 -1
  24. package/dist/index.d.ts +0 -3
  25. package/dist/index.d.ts.map +1 -1
  26. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +1 -1
  27. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +1 -1
  28. package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +1 -1
  29. package/dist/node_modules/@mantine/form/esm/hooks/use-form-status/use-form-status.cjs +1 -1
  30. package/dist/node_modules/@mantine/form/esm/hooks/use-form-status/use-form-status.js +1 -1
  31. package/dist/node_modules/prop-types/index.cjs +1 -1
  32. package/dist/node_modules/prop-types/index.js +1 -1
  33. package/dist/notify.cjs +1 -1
  34. package/dist/notify.cjs.map +1 -1
  35. package/dist/notify.js +1 -1
  36. package/dist/notify.js.map +1 -1
  37. package/dist/theme/colors.cjs.map +1 -1
  38. package/dist/theme/colors.d.ts +0 -16
  39. package/dist/theme/colors.d.ts.map +1 -1
  40. package/dist/theme/colors.js.map +1 -1
  41. package/package.json +1 -1
  42. package/dist/components/generic/TaskInboxPopover/TaskInboxPopover.cjs +0 -72
  43. package/dist/components/generic/TaskInboxPopover/TaskInboxPopover.cjs.map +0 -1
  44. package/dist/components/generic/TaskInboxPopover/TaskInboxPopover.d.ts +0 -36
  45. package/dist/components/generic/TaskInboxPopover/TaskInboxPopover.d.ts.map +0 -1
  46. package/dist/components/generic/TaskInboxPopover/TaskInboxPopover.js +0 -72
  47. package/dist/components/generic/TaskInboxPopover/TaskInboxPopover.js.map +0 -1
  48. package/dist/components/primitives/Popover/Popover.cjs +0 -13
  49. package/dist/components/primitives/Popover/Popover.cjs.map +0 -1
  50. package/dist/components/primitives/Popover/Popover.d.ts +0 -19
  51. package/dist/components/primitives/Popover/Popover.d.ts.map +0 -1
  52. package/dist/components/primitives/Popover/Popover.js +0 -13
  53. package/dist/components/primitives/Popover/Popover.js.map +0 -1
@@ -48,7 +48,6 @@ const StatusBadge = require("./components/generic/StatusBadge/StatusBadge.cjs");
48
48
  const StepCard = require("./components/generic/StepCard/StepCard.cjs");
49
49
  const StepFlow = require("./components/generic/StepFlow/StepFlow.cjs");
50
50
  const StepProgress = require("./components/generic/StepProgress/StepProgress.cjs");
51
- const TaskInboxPopover = require("./components/generic/TaskInboxPopover/TaskInboxPopover.cjs");
52
51
  const TaskRow = require("./components/generic/TaskRow/TaskRow.cjs");
53
52
  const ValidationWarning = require("./components/generic/ValidationWarning/ValidationWarning.cjs");
54
53
  const LoadingOverlay = require("./components/LoadingOverlay/LoadingOverlay.cjs");
@@ -74,7 +73,6 @@ const muiCompat = require("./components/primitives/muiCompat.cjs");
74
73
  const muiIcons = require("./mui-icons.cjs");
75
74
  const PasswordInput = require("./components/primitives/PasswordInput/PasswordInput.cjs");
76
75
  const Pdf = require("./components/primitives/Pdf/Pdf.cjs");
77
- const Popover = require("./components/primitives/Popover/Popover.cjs");
78
76
  const Progress = require("./components/primitives/Progress/Progress.cjs");
79
77
  const Radio = require("./components/primitives/Radio/Radio.cjs");
80
78
  const Select = require("./components/primitives/Select/Select.cjs");
@@ -212,7 +210,6 @@ exports.StepFlow = StepFlow.StepFlow;
212
210
  exports.STEP_PROGRESS_MOBILE_BREAKPOINT = StepProgress.STEP_PROGRESS_MOBILE_BREAKPOINT;
213
211
  exports.StepProgress = StepProgress.StepProgress;
214
212
  exports.getStepProgressStatus = StepProgress.getStepProgressStatus;
215
- exports.TaskInboxPopover = TaskInboxPopover.TaskInboxPopover;
216
213
  exports.TaskRow = TaskRow.TaskRow;
217
214
  exports.ValidationWarning = ValidationWarning.ValidationWarning;
218
215
  exports.LoadingOverlay = LoadingOverlay.LoadingOverlay;
@@ -449,7 +446,6 @@ exports.ZoomOutMapIcon = muiIcons.ZoomOutMapIcon;
449
446
  exports.PasswordInput = PasswordInput.PasswordInput;
450
447
  exports.PdfDocument = Pdf.PdfDocument;
451
448
  exports.PdfPage = Pdf.PdfPage;
452
- exports.Popover = Popover.Popover;
453
449
  exports.Progress = Progress.Progress;
454
450
  exports.Radio = Radio.Radio;
455
451
  exports.Select = Select.Select;
@@ -1 +1 @@
1
- {"version":3,"file":"fairmint-ui.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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StatusBadge/StatusBadge.js";
46
46
  import { StepCard } from "./components/generic/StepCard/StepCard.js";
47
47
  import { STEP_FLOW_DEFAULT_MAX_WIDTH, StepFlow } from "./components/generic/StepFlow/StepFlow.js";
48
48
  import { STEP_PROGRESS_MOBILE_BREAKPOINT, StepProgress, getStepProgressStatus } from "./components/generic/StepProgress/StepProgress.js";
49
- import { TaskInboxPopover } from "./components/generic/TaskInboxPopover/TaskInboxPopover.js";
50
49
  import { TaskRow } from "./components/generic/TaskRow/TaskRow.js";
51
50
  import { ValidationWarning } from "./components/generic/ValidationWarning/ValidationWarning.js";
52
51
  import { LoadingOverlay } from "./components/LoadingOverlay/LoadingOverlay.js";
@@ -72,7 +71,6 @@ import { Accordion, AccordionDetails, AccordionSummary, AdapterDayjs, AlertTitle
72
71
  import { AccessTimeIcon, AccountBalanceOutlinedIcon, AccountTreeOutlinedIcon, ActivityIcon, AddIcon, ArrowBackIcon, ArrowBackIosNewIcon, ArrowForwardIcon, ArrowForwardIosIcon, ArrowRightIcon, ArticleOutlinedIcon, AssessmentIcon, AssignmentTurnedInOutlinedIcon, AssuredWorkloadOutlinedIcon, AttachMoneyIcon, AutoAwesomeIcon, AutoGraphIcon, AwardIcon, BankIcon, BankNoteIcon, BarChartIcon, BarChartOutlinedIcon, BellIcon, BlockIcon, BoltIcon, BriefcaseIcon, BuildingIcon, BusinessIcon, CalendarIcon, CalendarTodayIcon, CancelIcon, CancelOutlinedIcon, CategoryOutlinedIcon, CertificateIcon, CheckBoxOutlinedIcon, CheckCircleIcon, CheckCircleOutlineIcon, CheckIcon, ChevronDownIcon, ChevronRightIcon, ChevronUpIcon, ClearIcon, ClipboardCheckIcon, CloseIcon, CloudUploadOutlinedIcon, ContentCopyIcon, CreateNewFolderIcon, DatasetOutlinedIcon, DateRangeIcon, DeleteIcon, DeleteOutlineIcon, DeleteOutlinedIcon, DescriptionIcon, DescriptionOutlinedIcon, DownloadIcon, DrawOutlinedIcon, EditIcon, EditNoteIcon, EditOutlinedIcon, EmailIcon, EmojiEventsIcon, ErrorOutlineIcon, ExpandLessIcon, ExpandMoreIcon, FacebookLogo, FileDownloadOutlinedIcon, FileIcon, FilterListIcon, FolderIcon, GroupAddIcon, GroupWorkIcon, GroupsIcon, HandshakeOutlinedIcon, HelpOutlineIcon, HourglassBottomIcon, InfoCircleIcon, InfoIcon, InfoOutlinedIcon, InsertDriveFileOutlinedIcon, InstagramLogo, LanguageIcon, LanguageLogo, LightbulbOutlinedIcon, LinkExternalIcon, LinkedInLogo, LocationOnIcon, LockOpenOutlinedIcon, LockOutlinedIcon, MenuIcon, ModeIcon, MoreHorizIcon, NewspaperIcon, NoteAddIcon, OpenInNewIcon, PauseCircleOutlinedIcon, PeopleAltOutlinedIcon, PeopleIcon, PersonAddIcon, PersonIcon, PersonOutlineIcon, PhoneIphoneIcon, PictureAsPdfIcon, PieChartIcon, PlayCircleOutlineIcon, PlusIcon, ReceiptLongOutlinedIcon, RefreshIcon, RemoveCircleOutlineIcon, RemoveRedEyeIcon, ReplayIcon, RocketIcon, RocketLaunchOutlinedIcon, SafeIcon, SaveOutlinedIcon, SearchIcon, SearchOffIcon, SearchOutlinedIcon, SendIcon, SettingsIcon, SettingsOutlinedIcon, ShieldIcon, SlashCircleIcon, StarIcon, StarsIcon, StopCircleOutlinedIcon, SupervisorAccountIcon, SwapHorizIcon, SyncAltIcon, TableChartOutlinedIcon, ThumbDownIcon, ThumbDownOutlinedIcon, ThumbUpIcon, ThumbUpOutlinedIcon, TimelineIcon, TrendUpIcon, TrendingUpIcon, TrendingUpOutlinedIcon, TwitterLogo, UploadFileIcon, UserCheckIcon, UserIcon, UsersIcon, WarningAmberIcon, WorkspacePremiumOutlinedIcon, YouTubeIcon, ZoomOutMapIcon } from "./mui-icons.js";
73
72
  import { PasswordInput } from "./components/primitives/PasswordInput/PasswordInput.js";
74
73
  import { PdfDocument, PdfPage } from "./components/primitives/Pdf/Pdf.js";
75
- import { Popover } from "./components/primitives/Popover/Popover.js";
76
74
  import { Progress } from "./components/primitives/Progress/Progress.js";
77
75
  import { Radio } from "./components/primitives/Radio/Radio.js";
78
76
  import { Select } from "./components/primitives/Select/Select.js";
@@ -376,7 +374,6 @@ export {
376
374
  PinInput,
377
375
  PlayCircleOutlineIcon,
378
376
  PlusIcon,
379
- Popover,
380
377
  ProcessingState,
381
378
  Progress,
382
379
  RIBBON_BACKGROUND_CLASS,
@@ -439,7 +436,6 @@ export {
439
436
  TablePagination,
440
437
  TableRow,
441
438
  Tabs,
442
- TaskInboxPopover,
443
439
  TaskRow,
444
440
  Text,
445
441
  TextField,
@@ -1 +1 @@
1
- {"version":3,"file":"fairmint-ui.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"fairmint-ui.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/dist/index.d.ts CHANGED
@@ -96,8 +96,6 @@ export type { StepFlowOrientation, StepFlowProps, StepFlowStep, } from './compon
96
96
  export { STEP_FLOW_DEFAULT_MAX_WIDTH, StepFlow } from './components/generic/StepFlow/StepFlow';
97
97
  export type { StepProgressOrientation, StepProgressProps, StepProgressStep, StepProgressStepStatus, } from './components/generic/StepProgress/StepProgress';
98
98
  export { getStepProgressStatus, STEP_PROGRESS_MOBILE_BREAKPOINT, StepProgress, } from './components/generic/StepProgress/StepProgress';
99
- export type { TaskInboxPopoverProps } from './components/generic/TaskInboxPopover/TaskInboxPopover';
100
- export { TaskInboxPopover } from './components/generic/TaskInboxPopover/TaskInboxPopover';
101
99
  export type { TaskRowActionProps, TaskRowPriority, TaskRowProps, TaskRowVariant, } from './components/generic/TaskRow/TaskRow';
102
100
  export { TaskRow } from './components/generic/TaskRow/TaskRow';
103
101
  export type { ValidationWarningProps } from './components/generic/ValidationWarning/ValidationWarning';
@@ -131,7 +129,6 @@ export { Accordion, AccordionDetails, AccordionSummary, AdapterDayjs, AlertTitle
131
129
  export * from './components/primitives/muiIcons';
132
130
  export { PasswordInput } from './components/primitives/PasswordInput/PasswordInput';
133
131
  export { PdfDocument, type PdfDocumentProps, PdfPage, type PdfPageProps, } from './components/primitives/Pdf/Pdf';
134
- export { Popover, type PopoverProps } from './components/primitives/Popover/Popover';
135
132
  export { Progress, type ProgressProps } from './components/primitives/Progress/Progress';
136
133
  export { Radio, type RadioProps } from './components/primitives/Radio/Radio';
137
134
  export { Select } from './components/primitives/Select/Select';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,YAAY,EAAE,yBAAyB,EAAE,MAAM,wDAAwD,CAAC;AACxG,OAAO,EAAE,oBAAoB,EAAE,MAAM,wDAAwD,CAAC;AAC9F,YAAY,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AACnF,OAAO,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AACzE,YAAY,EACV,0BAA0B,EAC1B,sBAAsB,GACvB,MAAM,6CAA6C,CAAC;AACrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,6CAA6C,CAAC;AAChF,YAAY,EACV,iBAAiB,EACjB,mBAAmB,GACpB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAC;AACtE,YAAY,EACV,oBAAoB,EACpB,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Ac,EACd,qBAAqB,EACrB,kBAAkB,EAClB,mBAAmB,EACnB,SAAS,GACV,MAAM,iBAAiB,CAAC;AAEzB,OAAO,cAAc,CAAC;AACtB,OAAO,+DAA+D,CAAC"}
@@ -1,4 +1,4 @@
1
- import { getSideAxis, getAlignmentAxis, getSide, getAlignment, evaluate, getPaddingObject, rectToClientRect, getOppositePlacement, getExpandedPlacements, getOppositeAxisPlacements, getAlignmentSides, clamp, min, max, getAxisLength, sides, getOppositeAxis } from "../../utils/dist/floating-ui.utils.js";
1
+ import { getSideAxis, getAlignmentAxis, getSide, getAlignment, evaluate, getPaddingObject, rectToClientRect, clamp, getOppositePlacement, getExpandedPlacements, getOppositeAxisPlacements, getAlignmentSides, min, max, getAxisLength, getOppositeAxis, sides } from "../../utils/dist/floating-ui.utils.js";
2
2
  function computeCoordsFromPlacement(_ref, placement, rtl) {
3
3
  let {
4
4
  reference,
@@ -1,4 +1,4 @@
1
- import { computePosition as computePosition$1, offset as offset$1, hide as hide$1, flip as flip$1, shift as shift$1, inline as inline$1, size as size$1, arrow as arrow$1, limitShift as limitShift$1 } from "../../core/dist/floating-ui.core.js";
1
+ import { computePosition as computePosition$1, offset as offset$1, shift as shift$1, flip as flip$1, inline as inline$1, hide as hide$1, size as size$1, arrow as arrow$1, limitShift as limitShift$1 } from "../../core/dist/floating-ui.core.js";
2
2
  import { createCoords, rectToClientRect, floor, round, max, min } from "../../utils/dist/floating-ui.utils.js";
3
3
  import { getOverflowAncestors, isElement, getDocumentElement, getWindow, getFrameElement, getComputedStyle as getComputedStyle$1, isHTMLElement, isWebKit, isTopLayer, getParentNode, isLastTraversableNode, isTableElement, isContainingBlock, getContainingBlock, getNodeName, isOverflowElement, getNodeScroll } from "../../utils/dist/floating-ui.utils.dom.js";
4
4
  function getCssDimensions(element) {
@@ -1,4 +1,4 @@
1
- import { computePosition, offset as offset$1, hide as hide$1, flip as flip$1, shift as shift$1, inline as inline$1, size as size$1, arrow as arrow$2, limitShift as limitShift$1 } from "../../dom/dist/floating-ui.dom.js";
1
+ import { computePosition, offset as offset$1, shift as shift$1, flip as flip$1, inline as inline$1, hide as hide$1, size as size$1, arrow as arrow$2, limitShift as limitShift$1 } from "../../dom/dist/floating-ui.dom.js";
2
2
  import { autoUpdate, platform } from "../../dom/dist/floating-ui.dom.js";
3
3
  import * as React from "react";
4
4
  import { useLayoutEffect } from "react";
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const React = require("react");
4
- const index = require("../../../../../../_virtual/index4.cjs");
4
+ const index = require("../../../../../../_virtual/index3.cjs");
5
5
  const getStatus = require("../../get-status/get-status.cjs");
6
6
  const clearListState = require("../../lists/clear-list-state.cjs");
7
7
  const getPath = require("../../paths/get-path.cjs");
@@ -1,5 +1,5 @@
1
1
  import { useState, useRef, useCallback } from "react";
2
- import isEqual from "../../../../../../_virtual/index4.js";
2
+ import isEqual from "../../../../../../_virtual/index3.js";
3
3
  import { getStatus } from "../../get-status/get-status.js";
4
4
  import { clearListState } from "../../lists/clear-list-state.js";
5
5
  import { getPath } from "../../paths/get-path.js";
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const index$1 = require("../../_virtual/index3.cjs");
3
+ const index$1 = require("../../_virtual/index4.cjs");
4
4
  const index = require("./node_modules/react-is/index.cjs");
5
5
  const factoryWithTypeCheckers = require("./factoryWithTypeCheckers.cjs");
6
6
  const factoryWithThrowingShims = require("./factoryWithThrowingShims.cjs");
@@ -1,4 +1,4 @@
1
- import { __module as propTypes } from "../../_virtual/index3.js";
1
+ import { __module as propTypes } from "../../_virtual/index4.js";
2
2
  import { __require as requireReactIs } from "./node_modules/react-is/index.js";
3
3
  import { __require as requireFactoryWithTypeCheckers } from "./factoryWithTypeCheckers.js";
4
4
  import { __require as requireFactoryWithThrowingShims } from "./factoryWithThrowingShims.js";
package/dist/notify.cjs CHANGED
@@ -4,7 +4,7 @@ const React = require("react");
4
4
  const colors = require("./theme/colors.cjs");
5
5
  const notifications_store = require("./node_modules/@mantine/notifications/esm/notifications.store.cjs");
6
6
  const autoCloseDefaults = {
7
- success: 3e3,
7
+ success: 4e3,
8
8
  error: 6e3,
9
9
  warning: 5e3,
10
10
  info: 4e3
@@ -1 +1 @@
1
- {"version":3,"file":"notify.cjs","sources":["../src/notify.ts"],"sourcesContent":["import { notifications } from \"@mantine/notifications\";\nimport { createElement, Fragment, type ReactNode } from \"react\";\nimport { colors } from \"./theme/colors\";\n\ntype NotifyVariant = \"success\" | \"error\" | \"warning\" | \"info\";\n\nexport interface NotifyOptions {\n title?: string;\n message: string;\n autoClose?: number | false;\n /** Override the default semantic icon, or pass `null` to suppress it. */\n icon?: ReactNode | null;\n /** Optional action content rendered below the message (e.g. a Button). */\n action?: ReactNode;\n /** @default true */\n withCloseButton?: boolean;\n /** Stable id for dismiss / update flows. */\n id?: string;\n /** Shows a loading indicator in place of the icon. */\n loading?: boolean;\n}\n\nexport interface NotifyUpdateOptions extends NotifyOptions {\n id: string;\n /** Semantic tone for color + default icon. @default \"info\" */\n variant?: NotifyVariant;\n}\n\nconst autoCloseDefaults: Record<NotifyVariant, number> = {\n success: 3000,\n error: 6000,\n warning: 5000,\n info: 4000,\n};\n\n/** Outlined stroke paths only — no filled shapes. Semantic color comes from currentColor. */\nconst iconPaths: Record<NotifyVariant, string[]> = {\n success: [\"m9 12 2 2 4-4\", \"M22 12a10 10 0 1 1-20 0 10 10 0 0 1 20 0Z\"],\n error: [\"m15 9-6 6\", \"m9 9 6 6\", \"M22 12a10 10 0 1 1-20 0 10 10 0 0 1 20 0Z\"],\n warning: [\n \"M12 9v4\",\n \"M12 17h.01\",\n \"M10.29 3.86 1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0Z\",\n ],\n info: [\"M12 16v-4\", \"M12 8h.01\", \"M22 12a10 10 0 1 1-20 0 10 10 0 0 1 20 0Z\"],\n};\n\nfunction createNotifyIcon(variant: NotifyVariant): ReactNode {\n return createElement(\n \"svg\",\n {\n \"aria-hidden\": true,\n \"data-fairmint-notify-icon\": variant,\n fill: \"none\",\n focusable: \"false\",\n height: 20,\n stroke: \"currentColor\",\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\",\n strokeWidth: 1.75,\n viewBox: \"0 0 24 24\",\n width: 20,\n xmlns: \"http://www.w3.org/2000/svg\",\n },\n ...iconPaths[variant].map((d) => createElement(\"path\", { d, key: d })),\n );\n}\n\nfunction resolveIcon(\n variant: NotifyVariant,\n icon: ReactNode | null | undefined,\n loading: boolean | undefined,\n): ReactNode | undefined {\n if (loading) return undefined;\n if (icon === null) return undefined;\n if (icon !== undefined) return icon;\n return createNotifyIcon(variant);\n}\n\nfunction resolveMessage(message: string, action: ReactNode | undefined): ReactNode {\n if (action === undefined) return message;\n return createElement(\n Fragment,\n null,\n message,\n createElement(\"div\", { \"data-fairmint-notify-action\": true, style: { marginTop: 8 } }, action),\n );\n}\n\n/** Shared Notify presentation used by `notify.*` and `snackbarCompat`. */\nexport function buildNotifyNotification(\n variant: NotifyVariant,\n {\n title,\n message,\n autoClose = autoCloseDefaults[variant],\n icon,\n action,\n withCloseButton = true,\n id,\n loading,\n }: NotifyOptions,\n) {\n return {\n id,\n title,\n message: resolveMessage(message, action),\n color: colors[variant],\n autoClose,\n withBorder: true,\n withCloseButton,\n loading,\n icon: resolveIcon(variant, icon, loading),\n };\n}\n\n/**\n * Fairmint notification helpers.\n *\n * Uses Mantine's notifications system with Fairmint semantic colors, outlined\n * semantic icons (no filled circles), and a 1px border. Subtle single-layer\n * elevation (`--fairmint-elevation-subtle`), tinted semantic surfaces\n * (`*-bg` / light /50), and outlined icon chrome come from the Fairmint theme\n * `Notification` defaults. Requires FairmintProvider.\n *\n * @example\n * notify.success({ message: \"Investment saved.\" });\n * notify.error({ title: \"Error\", message: \"Failed to load data.\" });\n */\nexport const notify = {\n success: (options: NotifyOptions) =>\n notifications.show(buildNotifyNotification(\"success\", options)),\n\n error: (options: NotifyOptions) => notifications.show(buildNotifyNotification(\"error\", options)),\n\n warning: (options: NotifyOptions) =>\n notifications.show(buildNotifyNotification(\"warning\", options)),\n\n info: (options: NotifyOptions) => notifications.show(buildNotifyNotification(\"info\", options)),\n\n /**\n * Update an existing toast by `id` (e.g. loading → success).\n * Applies the same visual defaults as `notify.*` show helpers.\n */\n update: ({ variant = \"info\", ...options }: NotifyUpdateOptions) =>\n notifications.update(buildNotifyNotification(variant, options)),\n};\n"],"names":["createElement","Fragment","colors","notifications"],"mappings":";;;;;AA4BA,MAAM,oBAAmD;AAAA,EACvD,SAAS;AAAA,EACT,OAAO;AAAA,EACP,SAAS;AAAA,EACT,MAAM;AACR;AAGA,MAAM,YAA6C;AAAA,EACjD,SAAS,CAAC,iBAAiB,2CAA2C;AAAA,EACtE,OAAO,CAAC,aAAa,YAAY,2CAA2C;AAAA,EAC5E,SAAS;AAAA,IACP;AAAA,IACA;AAAA,IACA;AAAA,EAAA;AAAA,EAEF,MAAM,CAAC,aAAa,aAAa,2CAA2C;AAC9E;AAEA,SAAS,iBAAiB,SAAmC;AAC3D,SAAOA,MAAAA;AAAAA,IACL;AAAA,IACA;AAAA,MACE,eAAe;AAAA,MACf,6BAA6B;AAAA,MAC7B,MAAM;AAAA,MACN,WAAW;AAAA,MACX,QAAQ;AAAA,MACR,QAAQ;AAAA,MACR,eAAe;AAAA,MACf,gBAAgB;AAAA,MAChB,aAAa;AAAA,MACb,SAAS;AAAA,MACT,OAAO;AAAA,MACP,OAAO;AAAA,IAAA;AAAA,IAET,GAAG,UAAU,OAAO,EAAE,IAAI,CAAC,MAAMA,oBAAc,QAAQ,EAAE,GAAG,KAAK,EAAA,CAAG,CAAC;AAAA,EAAA;AAEzE;AAEA,SAAS,YACP,SACA,MACA,SACuB;AACvB,MAAI,QAAS,QAAO;AACpB,MAAI,SAAS,KAAM,QAAO;AAC1B,MAAI,SAAS,OAAW,QAAO;AAC/B,SAAO,iBAAiB,OAAO;AACjC;AAEA,SAAS,eAAe,SAAiB,QAA0C;AACjF,MAAI,WAAW,OAAW,QAAO;AACjC,SAAOA,MAAAA;AAAAA,IACLC,MAAAA;AAAAA,IACA;AAAA,IACA;AAAA,IACAD,oBAAc,OAAO,EAAE,+BAA+B,MAAM,OAAO,EAAE,WAAW,EAAA,EAAE,GAAK,MAAM;AAAA,EAAA;AAEjG;AAGO,SAAS,wBACd,SACA;AAAA,EACE;AAAA,EACA;AAAA,EACA,YAAY,kBAAkB,OAAO;AAAA,EACrC;AAAA,EACA;AAAA,EACA,kBAAkB;AAAA,EAClB;AAAA,EACA;AACF,GACA;AACA,SAAO;AAAA,IACL;AAAA,IACA;AAAA,IACA,SAAS,eAAe,SAAS,MAAM;AAAA,IACvC,OAAOE,OAAAA,OAAO,OAAO;AAAA,IACrB;AAAA,IACA,YAAY;AAAA,IACZ;AAAA,IACA;AAAA,IACA,MAAM,YAAY,SAAS,MAAM,OAAO;AAAA,EAAA;AAE5C;AAeO,MAAM,SAAS;AAAA,EACpB,SAAS,CAAC,YACRC,oBAAAA,cAAc,KAAK,wBAAwB,WAAW,OAAO,CAAC;AAAA,EAEhE,OAAO,CAAC,YAA2BA,oBAAAA,cAAc,KAAK,wBAAwB,SAAS,OAAO,CAAC;AAAA,EAE/F,SAAS,CAAC,YACRA,oBAAAA,cAAc,KAAK,wBAAwB,WAAW,OAAO,CAAC;AAAA,EAEhE,MAAM,CAAC,YAA2BA,oBAAAA,cAAc,KAAK,wBAAwB,QAAQ,OAAO,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA,EAM7F,QAAQ,CAAC,EAAE,UAAU,QAAQ,GAAG,cAC9BA,oBAAAA,cAAc,OAAO,wBAAwB,SAAS,OAAO,CAAC;AAClE;;;"}
1
+ {"version":3,"file":"notify.cjs","sources":["../src/notify.ts"],"sourcesContent":["import { notifications } from \"@mantine/notifications\";\nimport { createElement, Fragment, type ReactNode } from \"react\";\nimport { colors } from \"./theme/colors\";\n\ntype NotifyVariant = \"success\" | \"error\" | \"warning\" | \"info\";\n\nexport interface NotifyOptions {\n title?: string;\n message: string;\n autoClose?: number | false;\n /** Override the default semantic icon, or pass `null` to suppress it. */\n icon?: ReactNode | null;\n /** Optional action content rendered below the message (e.g. a Button). */\n action?: ReactNode;\n /** @default true */\n withCloseButton?: boolean;\n /** Stable id for dismiss / update flows. */\n id?: string;\n /** Shows a loading indicator in place of the icon. */\n loading?: boolean;\n}\n\nexport interface NotifyUpdateOptions extends NotifyOptions {\n id: string;\n /** Semantic tone for color + default icon. @default \"info\" */\n variant?: NotifyVariant;\n}\n\nconst autoCloseDefaults: Record<NotifyVariant, number> = {\n success: 4000,\n error: 6000,\n warning: 5000,\n info: 4000,\n};\n\n/** Outlined stroke paths only — no filled shapes. Semantic color comes from currentColor. */\nconst iconPaths: Record<NotifyVariant, string[]> = {\n success: [\"m9 12 2 2 4-4\", \"M22 12a10 10 0 1 1-20 0 10 10 0 0 1 20 0Z\"],\n error: [\"m15 9-6 6\", \"m9 9 6 6\", \"M22 12a10 10 0 1 1-20 0 10 10 0 0 1 20 0Z\"],\n warning: [\n \"M12 9v4\",\n \"M12 17h.01\",\n \"M10.29 3.86 1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0Z\",\n ],\n info: [\"M12 16v-4\", \"M12 8h.01\", \"M22 12a10 10 0 1 1-20 0 10 10 0 0 1 20 0Z\"],\n};\n\nfunction createNotifyIcon(variant: NotifyVariant): ReactNode {\n return createElement(\n \"svg\",\n {\n \"aria-hidden\": true,\n \"data-fairmint-notify-icon\": variant,\n fill: \"none\",\n focusable: \"false\",\n height: 20,\n stroke: \"currentColor\",\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\",\n strokeWidth: 1.75,\n viewBox: \"0 0 24 24\",\n width: 20,\n xmlns: \"http://www.w3.org/2000/svg\",\n },\n ...iconPaths[variant].map((d) => createElement(\"path\", { d, key: d })),\n );\n}\n\nfunction resolveIcon(\n variant: NotifyVariant,\n icon: ReactNode | null | undefined,\n loading: boolean | undefined,\n): ReactNode | undefined {\n if (loading) return undefined;\n if (icon === null) return undefined;\n if (icon !== undefined) return icon;\n return createNotifyIcon(variant);\n}\n\nfunction resolveMessage(message: string, action: ReactNode | undefined): ReactNode {\n if (action === undefined) return message;\n return createElement(\n Fragment,\n null,\n message,\n createElement(\"div\", { \"data-fairmint-notify-action\": true, style: { marginTop: 8 } }, action),\n );\n}\n\n/** Shared Notify presentation used by `notify.*` and `snackbarCompat`. */\nexport function buildNotifyNotification(\n variant: NotifyVariant,\n {\n title,\n message,\n autoClose = autoCloseDefaults[variant],\n icon,\n action,\n withCloseButton = true,\n id,\n loading,\n }: NotifyOptions,\n) {\n return {\n id,\n title,\n message: resolveMessage(message, action),\n color: colors[variant],\n autoClose,\n withBorder: true,\n withCloseButton,\n loading,\n icon: resolveIcon(variant, icon, loading),\n };\n}\n\n/**\n * Fairmint notification helpers.\n *\n * Uses Mantine's notifications system with Fairmint semantic colors, outlined\n * semantic icons (no filled circles), and a 1px border. Subtle single-layer\n * elevation (`--fairmint-elevation-subtle`), tinted semantic surfaces\n * (`*-bg` / light /50), and outlined icon chrome come from the Fairmint theme\n * `Notification` defaults. Requires FairmintProvider.\n *\n * @example\n * notify.success({ message: \"Investment saved.\" });\n * notify.error({ title: \"Error\", message: \"Failed to load data.\" });\n */\nexport const notify = {\n success: (options: NotifyOptions) =>\n notifications.show(buildNotifyNotification(\"success\", options)),\n\n error: (options: NotifyOptions) => notifications.show(buildNotifyNotification(\"error\", options)),\n\n warning: (options: NotifyOptions) =>\n notifications.show(buildNotifyNotification(\"warning\", options)),\n\n info: (options: NotifyOptions) => notifications.show(buildNotifyNotification(\"info\", options)),\n\n /**\n * Update an existing toast by `id` (e.g. loading → success).\n * Applies the same visual defaults as `notify.*` show helpers.\n */\n update: ({ variant = \"info\", ...options }: NotifyUpdateOptions) =>\n notifications.update(buildNotifyNotification(variant, options)),\n};\n"],"names":["createElement","Fragment","colors","notifications"],"mappings":";;;;;AA4BA,MAAM,oBAAmD;AAAA,EACvD,SAAS;AAAA,EACT,OAAO;AAAA,EACP,SAAS;AAAA,EACT,MAAM;AACR;AAGA,MAAM,YAA6C;AAAA,EACjD,SAAS,CAAC,iBAAiB,2CAA2C;AAAA,EACtE,OAAO,CAAC,aAAa,YAAY,2CAA2C;AAAA,EAC5E,SAAS;AAAA,IACP;AAAA,IACA;AAAA,IACA;AAAA,EAAA;AAAA,EAEF,MAAM,CAAC,aAAa,aAAa,2CAA2C;AAC9E;AAEA,SAAS,iBAAiB,SAAmC;AAC3D,SAAOA,MAAAA;AAAAA,IACL;AAAA,IACA;AAAA,MACE,eAAe;AAAA,MACf,6BAA6B;AAAA,MAC7B,MAAM;AAAA,MACN,WAAW;AAAA,MACX,QAAQ;AAAA,MACR,QAAQ;AAAA,MACR,eAAe;AAAA,MACf,gBAAgB;AAAA,MAChB,aAAa;AAAA,MACb,SAAS;AAAA,MACT,OAAO;AAAA,MACP,OAAO;AAAA,IAAA;AAAA,IAET,GAAG,UAAU,OAAO,EAAE,IAAI,CAAC,MAAMA,oBAAc,QAAQ,EAAE,GAAG,KAAK,EAAA,CAAG,CAAC;AAAA,EAAA;AAEzE;AAEA,SAAS,YACP,SACA,MACA,SACuB;AACvB,MAAI,QAAS,QAAO;AACpB,MAAI,SAAS,KAAM,QAAO;AAC1B,MAAI,SAAS,OAAW,QAAO;AAC/B,SAAO,iBAAiB,OAAO;AACjC;AAEA,SAAS,eAAe,SAAiB,QAA0C;AACjF,MAAI,WAAW,OAAW,QAAO;AACjC,SAAOA,MAAAA;AAAAA,IACLC,MAAAA;AAAAA,IACA;AAAA,IACA;AAAA,IACAD,oBAAc,OAAO,EAAE,+BAA+B,MAAM,OAAO,EAAE,WAAW,EAAA,EAAE,GAAK,MAAM;AAAA,EAAA;AAEjG;AAGO,SAAS,wBACd,SACA;AAAA,EACE;AAAA,EACA;AAAA,EACA,YAAY,kBAAkB,OAAO;AAAA,EACrC;AAAA,EACA;AAAA,EACA,kBAAkB;AAAA,EAClB;AAAA,EACA;AACF,GACA;AACA,SAAO;AAAA,IACL;AAAA,IACA;AAAA,IACA,SAAS,eAAe,SAAS,MAAM;AAAA,IACvC,OAAOE,OAAAA,OAAO,OAAO;AAAA,IACrB;AAAA,IACA,YAAY;AAAA,IACZ;AAAA,IACA;AAAA,IACA,MAAM,YAAY,SAAS,MAAM,OAAO;AAAA,EAAA;AAE5C;AAeO,MAAM,SAAS;AAAA,EACpB,SAAS,CAAC,YACRC,oBAAAA,cAAc,KAAK,wBAAwB,WAAW,OAAO,CAAC;AAAA,EAEhE,OAAO,CAAC,YAA2BA,oBAAAA,cAAc,KAAK,wBAAwB,SAAS,OAAO,CAAC;AAAA,EAE/F,SAAS,CAAC,YACRA,oBAAAA,cAAc,KAAK,wBAAwB,WAAW,OAAO,CAAC;AAAA,EAEhE,MAAM,CAAC,YAA2BA,oBAAAA,cAAc,KAAK,wBAAwB,QAAQ,OAAO,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA,EAM7F,QAAQ,CAAC,EAAE,UAAU,QAAQ,GAAG,cAC9BA,oBAAAA,cAAc,OAAO,wBAAwB,SAAS,OAAO,CAAC;AAClE;;;"}
package/dist/notify.js CHANGED
@@ -2,7 +2,7 @@ import { createElement, Fragment } from "react";
2
2
  import { colors } from "./theme/colors.js";
3
3
  import { notifications } from "./node_modules/@mantine/notifications/esm/notifications.store.js";
4
4
  const autoCloseDefaults = {
5
- success: 3e3,
5
+ success: 4e3,
6
6
  error: 6e3,
7
7
  warning: 5e3,
8
8
  info: 4e3
@@ -1 +1 @@
1
- {"version":3,"file":"notify.js","sources":["../src/notify.ts"],"sourcesContent":["import { notifications } from \"@mantine/notifications\";\nimport { createElement, Fragment, type ReactNode } from \"react\";\nimport { colors } from \"./theme/colors\";\n\ntype NotifyVariant = \"success\" | \"error\" | \"warning\" | \"info\";\n\nexport interface NotifyOptions {\n title?: string;\n message: string;\n autoClose?: number | false;\n /** Override the default semantic icon, or pass `null` to suppress it. */\n icon?: ReactNode | null;\n /** Optional action content rendered below the message (e.g. a Button). */\n action?: ReactNode;\n /** @default true */\n withCloseButton?: boolean;\n /** Stable id for dismiss / update flows. */\n id?: string;\n /** Shows a loading indicator in place of the icon. */\n loading?: boolean;\n}\n\nexport interface NotifyUpdateOptions extends NotifyOptions {\n id: string;\n /** Semantic tone for color + default icon. @default \"info\" */\n variant?: NotifyVariant;\n}\n\nconst autoCloseDefaults: Record<NotifyVariant, number> = {\n success: 3000,\n error: 6000,\n warning: 5000,\n info: 4000,\n};\n\n/** Outlined stroke paths only — no filled shapes. Semantic color comes from currentColor. */\nconst iconPaths: Record<NotifyVariant, string[]> = {\n success: [\"m9 12 2 2 4-4\", \"M22 12a10 10 0 1 1-20 0 10 10 0 0 1 20 0Z\"],\n error: [\"m15 9-6 6\", \"m9 9 6 6\", \"M22 12a10 10 0 1 1-20 0 10 10 0 0 1 20 0Z\"],\n warning: [\n \"M12 9v4\",\n \"M12 17h.01\",\n \"M10.29 3.86 1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0Z\",\n ],\n info: [\"M12 16v-4\", \"M12 8h.01\", \"M22 12a10 10 0 1 1-20 0 10 10 0 0 1 20 0Z\"],\n};\n\nfunction createNotifyIcon(variant: NotifyVariant): ReactNode {\n return createElement(\n \"svg\",\n {\n \"aria-hidden\": true,\n \"data-fairmint-notify-icon\": variant,\n fill: \"none\",\n focusable: \"false\",\n height: 20,\n stroke: \"currentColor\",\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\",\n strokeWidth: 1.75,\n viewBox: \"0 0 24 24\",\n width: 20,\n xmlns: \"http://www.w3.org/2000/svg\",\n },\n ...iconPaths[variant].map((d) => createElement(\"path\", { d, key: d })),\n );\n}\n\nfunction resolveIcon(\n variant: NotifyVariant,\n icon: ReactNode | null | undefined,\n loading: boolean | undefined,\n): ReactNode | undefined {\n if (loading) return undefined;\n if (icon === null) return undefined;\n if (icon !== undefined) return icon;\n return createNotifyIcon(variant);\n}\n\nfunction resolveMessage(message: string, action: ReactNode | undefined): ReactNode {\n if (action === undefined) return message;\n return createElement(\n Fragment,\n null,\n message,\n createElement(\"div\", { \"data-fairmint-notify-action\": true, style: { marginTop: 8 } }, action),\n );\n}\n\n/** Shared Notify presentation used by `notify.*` and `snackbarCompat`. */\nexport function buildNotifyNotification(\n variant: NotifyVariant,\n {\n title,\n message,\n autoClose = autoCloseDefaults[variant],\n icon,\n action,\n withCloseButton = true,\n id,\n loading,\n }: NotifyOptions,\n) {\n return {\n id,\n title,\n message: resolveMessage(message, action),\n color: colors[variant],\n autoClose,\n withBorder: true,\n withCloseButton,\n loading,\n icon: resolveIcon(variant, icon, loading),\n };\n}\n\n/**\n * Fairmint notification helpers.\n *\n * Uses Mantine's notifications system with Fairmint semantic colors, outlined\n * semantic icons (no filled circles), and a 1px border. Subtle single-layer\n * elevation (`--fairmint-elevation-subtle`), tinted semantic surfaces\n * (`*-bg` / light /50), and outlined icon chrome come from the Fairmint theme\n * `Notification` defaults. Requires FairmintProvider.\n *\n * @example\n * notify.success({ message: \"Investment saved.\" });\n * notify.error({ title: \"Error\", message: \"Failed to load data.\" });\n */\nexport const notify = {\n success: (options: NotifyOptions) =>\n notifications.show(buildNotifyNotification(\"success\", options)),\n\n error: (options: NotifyOptions) => notifications.show(buildNotifyNotification(\"error\", options)),\n\n warning: (options: NotifyOptions) =>\n notifications.show(buildNotifyNotification(\"warning\", options)),\n\n info: (options: NotifyOptions) => notifications.show(buildNotifyNotification(\"info\", options)),\n\n /**\n * Update an existing toast by `id` (e.g. loading → success).\n * Applies the same visual defaults as `notify.*` show helpers.\n */\n update: ({ variant = \"info\", ...options }: NotifyUpdateOptions) =>\n notifications.update(buildNotifyNotification(variant, options)),\n};\n"],"names":[],"mappings":";;;AA4BA,MAAM,oBAAmD;A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IACL;AAAA,IACA;AAAA,IACA,SAAS,eAAe,SAAS,MAAM;AAAA,IACvC,OAAO,OAAO,OAAO;AAAA,IACrB;AAAA,IACA,YAAY;AAAA,IACZ;AAAA,IACA;AAAA,IACA,MAAM,YAAY,SAAS,MAAM,OAAO;AAAA,EAAA;AAE5C;AAeO,MAAM,SAAS;AAAA,EACpB,SAAS,CAAC,YACR,cAAc,KAAK,wBAAwB,WAAW,OAAO,CAAC;AAAA,EAEhE,OAAO,CAAC,YAA2B,cAAc,KAAK,wBAAwB,SAAS,OAAO,CAAC;AAAA,EAE/F,SAAS,CAAC,YACR,cAAc,KAAK,wBAAwB,WAAW,OAAO,CAAC;AAAA,EAEhE,MAAM,CAAC,YAA2B,cAAc,KAAK,wBAAwB,QAAQ,OAAO,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA,EAM7F,QAAQ,CAAC,EAAE,UAAU,QAAQ,GAAG,cAC9B,cAAc,OAAO,wBAAwB,SAAS,OAAO,CAAC;AAClE;"}
1
+ {"version":3,"file":"notify.js","sources":["../src/notify.ts"],"sourcesContent":["import { notifications } from \"@mantine/notifications\";\nimport { createElement, Fragment, type ReactNode } from \"react\";\nimport { colors } from \"./theme/colors\";\n\ntype NotifyVariant = \"success\" | \"error\" | \"warning\" | \"info\";\n\nexport interface NotifyOptions {\n title?: string;\n message: string;\n autoClose?: number | false;\n /** Override the default semantic icon, or pass `null` to suppress it. */\n icon?: ReactNode | null;\n /** Optional action content rendered below the message (e.g. a Button). */\n action?: ReactNode;\n /** @default true */\n withCloseButton?: boolean;\n /** Stable id for dismiss / update flows. */\n id?: string;\n /** Shows a loading indicator in place of the icon. */\n loading?: boolean;\n}\n\nexport interface NotifyUpdateOptions extends NotifyOptions {\n id: string;\n /** Semantic tone for color + default icon. @default \"info\" */\n variant?: NotifyVariant;\n}\n\nconst autoCloseDefaults: Record<NotifyVariant, number> = {\n success: 4000,\n error: 6000,\n warning: 5000,\n info: 4000,\n};\n\n/** Outlined stroke paths only — no filled shapes. Semantic color comes from currentColor. */\nconst iconPaths: Record<NotifyVariant, string[]> = {\n success: [\"m9 12 2 2 4-4\", \"M22 12a10 10 0 1 1-20 0 10 10 0 0 1 20 0Z\"],\n error: [\"m15 9-6 6\", \"m9 9 6 6\", \"M22 12a10 10 0 1 1-20 0 10 10 0 0 1 20 0Z\"],\n warning: [\n \"M12 9v4\",\n \"M12 17h.01\",\n \"M10.29 3.86 1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0Z\",\n ],\n info: [\"M12 16v-4\", \"M12 8h.01\", \"M22 12a10 10 0 1 1-20 0 10 10 0 0 1 20 0Z\"],\n};\n\nfunction createNotifyIcon(variant: NotifyVariant): ReactNode {\n return createElement(\n \"svg\",\n {\n \"aria-hidden\": true,\n \"data-fairmint-notify-icon\": variant,\n fill: \"none\",\n focusable: \"false\",\n height: 20,\n stroke: \"currentColor\",\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\",\n strokeWidth: 1.75,\n viewBox: \"0 0 24 24\",\n width: 20,\n xmlns: \"http://www.w3.org/2000/svg\",\n },\n ...iconPaths[variant].map((d) => createElement(\"path\", { d, key: d })),\n );\n}\n\nfunction resolveIcon(\n variant: NotifyVariant,\n icon: ReactNode | null | undefined,\n loading: boolean | undefined,\n): ReactNode | undefined {\n if (loading) return undefined;\n if (icon === null) return undefined;\n if (icon !== undefined) return icon;\n return createNotifyIcon(variant);\n}\n\nfunction resolveMessage(message: string, action: ReactNode | undefined): ReactNode {\n if (action === undefined) return message;\n return createElement(\n Fragment,\n null,\n message,\n createElement(\"div\", { \"data-fairmint-notify-action\": true, style: { marginTop: 8 } }, action),\n );\n}\n\n/** Shared Notify presentation used by `notify.*` and `snackbarCompat`. */\nexport function buildNotifyNotification(\n variant: NotifyVariant,\n {\n title,\n message,\n autoClose = autoCloseDefaults[variant],\n icon,\n action,\n withCloseButton = true,\n id,\n loading,\n }: NotifyOptions,\n) {\n return {\n id,\n title,\n message: resolveMessage(message, action),\n color: colors[variant],\n autoClose,\n withBorder: true,\n withCloseButton,\n loading,\n icon: resolveIcon(variant, icon, loading),\n };\n}\n\n/**\n * Fairmint notification helpers.\n *\n * Uses Mantine's notifications system with Fairmint semantic colors, outlined\n * semantic icons (no filled circles), and a 1px border. Subtle single-layer\n * elevation (`--fairmint-elevation-subtle`), tinted semantic surfaces\n * (`*-bg` / light /50), and outlined icon chrome come from the Fairmint theme\n * `Notification` defaults. Requires FairmintProvider.\n *\n * @example\n * notify.success({ message: \"Investment saved.\" });\n * notify.error({ title: \"Error\", message: \"Failed to load data.\" });\n */\nexport const notify = {\n success: (options: NotifyOptions) =>\n notifications.show(buildNotifyNotification(\"success\", options)),\n\n error: (options: NotifyOptions) => notifications.show(buildNotifyNotification(\"error\", options)),\n\n warning: (options: NotifyOptions) =>\n notifications.show(buildNotifyNotification(\"warning\", options)),\n\n info: (options: NotifyOptions) => notifications.show(buildNotifyNotification(\"info\", options)),\n\n /**\n * Update an existing toast by `id` (e.g. loading → success).\n * Applies the same visual defaults as `notify.*` show helpers.\n */\n update: ({ variant = \"info\", ...options }: NotifyUpdateOptions) =>\n notifications.update(buildNotifyNotification(variant, options)),\n};\n"],"names":[],"mappings":";;;AA4BA,MAAM,oBAAmD;AAAA,EACvD,SAAS;AAAA,EACT,OAAO;AAAA,EACP,SAAS;AAAA,EACT,MAAM;AACR;AAGA,MAAM,YAA6C;AAAA,EACjD,SAAS,CAAC,iBAAiB,2CAA2C;AAAA,EACtE,OAAO,CAAC,aAAa,YAAY,2CAA2C;AAAA,EAC5E,SAAS;AAAA,IACP;AAAA,IACA;AAAA,IACA;AAAA,EAAA;AAAA,EAEF,MAAM,CAAC,aAAa,aAAa,2CAA2C;AAC9E;AAEA,SAAS,iBAAiB,SAAmC;AAC3D,SAAO;AAAA,IACL;AAAA,IACA;AAAA,MACE,eAAe;AAAA,MACf,6BAA6B;AAAA,MAC7B,MAAM;AAAA,MACN,WAAW;AAAA,M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M,CAAC,YAA2B,cAAc,KAAK,wBAAwB,QAAQ,OAAO,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA,EAM7F,QAAQ,CAAC,EAAE,UAAU,QAAQ,GAAG,cAC9B,cAAc,OAAO,wBAAwB,SAAS,OAAO,CAAC;AAClE;"}
@@ -1 +1 @@
1
- {"version":3,"file":"colors.cjs","sources":["../../src/theme/colors.ts"],"sourcesContent":["/**\n * Branded color constants for Fairmint UI.\n * These map to Mantine color names defined in src/theme/index.ts.\n * Import from here instead of hardcoding color name strings.\n */\nexport const colors = {\n /** Primary UI color — buttons, links, active states. */\n primary: \"indigo\",\n /** Fairmint brand blue — gradients, brand elements. */\n brandBlue: \"fairmintBlue\",\n /** Fairmint brand purple — gradients, brand elements. */\n brandPurple: \"fairmintPurple\",\n /** Positive outcome — completed, approved, active. */\n success: \"success\",\n /** Caution — pending, processing, review. */\n warning: \"warning\",\n /** Negative outcome — failed, rejected, cancelled. */\n error: \"error\",\n /** Informational — neutral status messages. */\n info: \"info\",\n /** Neutral gray scale — borders, backgrounds, disabled. */\n neutral: \"gray\",\n /** Accent color 1 for avatar palette. */\n accent1: \"teal\",\n /** Accent color 2 for avatar palette. */\n accent2: \"cyan\",\n /** Accent color 3 for avatar palette. */\n accent3: \"green\",\n} as const;\n\nexport type FairmintColor = (typeof colors)[keyof typeof colors];\n\n/**\n * Avatar palette for deterministic color assignment.\n * Used by getAvatarColor() to map names to colors.\n */\nexport const AVATAR_PALETTE = [\n colors.primary,\n colors.brandBlue,\n colors.brandPurple,\n colors.success,\n colors.info,\n colors.accent1,\n colors.accent2,\n colors.accent3,\n] as const;\n\nexport type AvatarPaletteColor = (typeof AVATAR_PALETTE)[number];\n\n/**\n * CaptableAI logo-symbol SVG gradient stops (CaptableAILogoSymbol.svg).\n * Hex values live here — components reference these constants only.\n */\nexport const captableAiMarkGradient = {\n light: {\n start: \"#557CFF\",\n mid: \"#3385ff\",\n end: \"#0A4EFB\",\n },\n dark: {\n start: \"#D0F8FF\",\n mid: \"#AEEBFF\",\n end: \"#557CFF\",\n },\n} as const;\n"],"names":[],"mappings":";;AAKO,MAAM,SAAS;AAAA;AAAA,EAEpB,SAAS;AAAA;AAAA,EAET,WAAW;AAAA;AAAA,EAEX,aAAa;AAAA;AAAA,EAEb,SAAS;AAAA;AAAA,EAET,SAAS;AAAA;AAAA,EAET,OAAO;AAAA;AAAA,EAEP,MAAM;AAAA;AAAA,EAEN,SAAS;AAAA;AAAA,EAET,SAAS;AAAA;AAAA,EAET,SAAS;AAAA;AAAA,EAET,SAAS;AACX;AAQO,MAAM,iBAAiB;AAAA,EAC5B,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AACT;;;"}
1
+ {"version":3,"file":"colors.cjs","sources":["../../src/theme/colors.ts"],"sourcesContent":["/**\n * Branded color constants for Fairmint UI.\n * These map to Mantine color names defined in src/theme/index.ts.\n * Import from here instead of hardcoding color name strings.\n */\nexport const colors = {\n /** Primary UI color — buttons, links, active states. */\n primary: \"indigo\",\n /** Fairmint brand blue — gradients, brand elements. */\n brandBlue: \"fairmintBlue\",\n /** Fairmint brand purple — gradients, brand elements. */\n brandPurple: \"fairmintPurple\",\n /** Positive outcome — completed, approved, active. */\n success: \"success\",\n /** Caution — pending, processing, review. */\n warning: \"warning\",\n /** Negative outcome — failed, rejected, cancelled. */\n error: \"error\",\n /** Informational — neutral status messages. */\n info: \"info\",\n /** Neutral gray scale — borders, backgrounds, disabled. */\n neutral: \"gray\",\n /** Accent color 1 for avatar palette. */\n accent1: \"teal\",\n /** Accent color 2 for avatar palette. */\n accent2: \"cyan\",\n /** Accent color 3 for avatar palette. */\n accent3: \"green\",\n} as const;\n\nexport type FairmintColor = (typeof colors)[keyof typeof colors];\n\n/**\n * Avatar palette for deterministic color assignment.\n * Used by getAvatarColor() to map names to colors.\n */\nexport const AVATAR_PALETTE = [\n colors.primary,\n colors.brandBlue,\n colors.brandPurple,\n colors.success,\n colors.info,\n colors.accent1,\n colors.accent2,\n colors.accent3,\n] as const;\n\nexport type AvatarPaletteColor = (typeof AVATAR_PALETTE)[number];\n"],"names":[],"mappings":";;AAKO,MAAM,SAAS;AAAA;AAAA,EAEpB,SAAS;AAAA;AAAA,EAET,WAAW;AAAA;AAAA,EAEX,aAAa;AAAA;AAAA,EAEb,SAAS;AAAA;AAAA,EAET,SAAS;AAAA;AAAA,EAET,OAAO;AAAA;AAAA,EAEP,MAAM;AAAA;AAAA,EAEN,SAAS;AAAA;AAAA,EAET,SAAS;AAAA;AAAA,EAET,SAAS;AAAA;AAAA,EAET,SAAS;AACX;AAQO,MAAM,iBAAiB;AAAA,EAC5B,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AACT;;;"}
@@ -34,20 +34,4 @@ export type FairmintColor = (typeof colors)[keyof typeof colors];
34
34
  */
35
35
  export declare const AVATAR_PALETTE: readonly ["indigo", "fairmintBlue", "fairmintPurple", "success", "info", "teal", "cyan", "green"];
36
36
  export type AvatarPaletteColor = (typeof AVATAR_PALETTE)[number];
37
- /**
38
- * CaptableAI logo-symbol SVG gradient stops (CaptableAILogoSymbol.svg).
39
- * Hex values live here — components reference these constants only.
40
- */
41
- export declare const captableAiMarkGradient: {
42
- readonly light: {
43
- readonly start: "#557CFF";
44
- readonly mid: "#3385ff";
45
- readonly end: "#0A4EFB";
46
- };
47
- readonly dark: {
48
- readonly start: "#D0F8FF";
49
- readonly mid: "#AEEBFF";
50
- readonly end: "#557CFF";
51
- };
52
- };
53
37
  //# sourceMappingURL=colors.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../src/theme/colors.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,MAAM;IACjB,wDAAwD;;IAExD,uDAAuD;;IAEvD,yDAAyD;;IAEzD,sDAAsD;;IAEtD,6CAA6C;;IAE7C,sDAAsD;;IAEtD,+CAA+C;;IAE/C,2DAA2D;;IAE3D,yCAAyC;;IAEzC,yCAAyC;;IAEzC,yCAAyC;;CAEjC,CAAC;AAEX,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,MAAM,CAAC,CAAC,MAAM,OAAO,MAAM,CAAC,CAAC;AAEjE;;;GAGG;AACH,eAAO,MAAM,cAAc,mGASjB,CAAC;AAEX,MAAM,MAAM,kBAAkB,GAAG,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,CAAC,CAAC;AAEjE;;;GAGG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;CAWzB,CAAC"}
1
+ {"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../src/theme/colors.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,MAAM;IACjB,wDAAwD;;IAExD,uDAAuD;;IAEvD,yDAAyD;;IAEzD,sDAAsD;;IAEtD,6CAA6C;;IAE7C,sDAAsD;;IAEtD,+CAA+C;;IAE/C,2DAA2D;;IAE3D,yCAAyC;;IAEzC,yCAAyC;;IAEzC,yCAAyC;;CAEjC,CAAC;AAEX,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,MAAM,CAAC,CAAC,MAAM,OAAO,MAAM,CAAC,CAAC;AAEjE;;;GAGG;AACH,eAAO,MAAM,cAAc,mGASjB,CAAC;AAEX,MAAM,MAAM,kBAAkB,GAAG,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"colors.js","sources":["../../src/theme/colors.ts"],"sourcesContent":["/**\n * Branded color constants for Fairmint UI.\n * These map to Mantine color names defined in src/theme/index.ts.\n * Import from here instead of hardcoding color name strings.\n */\nexport const colors = {\n /** Primary UI color — buttons, links, active states. */\n primary: \"indigo\",\n /** Fairmint brand blue — gradients, brand elements. */\n brandBlue: \"fairmintBlue\",\n /** Fairmint brand purple — gradients, brand elements. */\n brandPurple: \"fairmintPurple\",\n /** Positive outcome — completed, approved, active. */\n success: \"success\",\n /** Caution — pending, processing, review. */\n warning: \"warning\",\n /** Negative outcome — failed, rejected, cancelled. */\n error: \"error\",\n /** Informational — neutral status messages. */\n info: \"info\",\n /** Neutral gray scale — borders, backgrounds, disabled. */\n neutral: \"gray\",\n /** Accent color 1 for avatar palette. */\n accent1: \"teal\",\n /** Accent color 2 for avatar palette. */\n accent2: \"cyan\",\n /** Accent color 3 for avatar palette. */\n accent3: \"green\",\n} as const;\n\nexport type FairmintColor = (typeof colors)[keyof typeof colors];\n\n/**\n * Avatar palette for deterministic color assignment.\n * Used by getAvatarColor() to map names to colors.\n */\nexport const AVATAR_PALETTE = [\n colors.primary,\n colors.brandBlue,\n colors.brandPurple,\n colors.success,\n colors.info,\n colors.accent1,\n colors.accent2,\n colors.accent3,\n] as const;\n\nexport type AvatarPaletteColor = (typeof AVATAR_PALETTE)[number];\n\n/**\n * CaptableAI logo-symbol SVG gradient stops (CaptableAILogoSymbol.svg).\n * Hex values live here — components reference these constants only.\n */\nexport const captableAiMarkGradient = {\n light: {\n start: \"#557CFF\",\n mid: \"#3385ff\",\n end: \"#0A4EFB\",\n },\n dark: {\n start: \"#D0F8FF\",\n mid: \"#AEEBFF\",\n end: \"#557CFF\",\n },\n} as const;\n"],"names":[],"mappings":"AAKO,MAAM,SAAS;AAAA;AAAA,EAEpB,SAAS;AAAA;AAAA,EAET,WAAW;AAAA;AAAA,EAEX,aAAa;AAAA;AAAA,EAEb,SAAS;AAAA;AAAA,EAET,SAAS;AAAA;AAAA,EAET,OAAO;AAAA;AAAA,EAEP,MAAM;AAAA;AAAA,EAEN,SAAS;AAAA;AAAA,EAET,SAAS;AAAA;AAAA,EAET,SAAS;AAAA;AAAA,EAET,SAAS;AACX;AAQO,MAAM,iBAAiB;AAAA,EAC5B,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AACT;"}
1
+ {"version":3,"file":"colors.js","sources":["../../src/theme/colors.ts"],"sourcesContent":["/**\n * Branded color constants for Fairmint UI.\n * These map to Mantine color names defined in src/theme/index.ts.\n * Import from here instead of hardcoding color name strings.\n */\nexport const colors = {\n /** Primary UI color — buttons, links, active states. */\n primary: \"indigo\",\n /** Fairmint brand blue — gradients, brand elements. */\n brandBlue: \"fairmintBlue\",\n /** Fairmint brand purple — gradients, brand elements. */\n brandPurple: \"fairmintPurple\",\n /** Positive outcome — completed, approved, active. */\n success: \"success\",\n /** Caution — pending, processing, review. */\n warning: \"warning\",\n /** Negative outcome — failed, rejected, cancelled. */\n error: \"error\",\n /** Informational — neutral status messages. */\n info: \"info\",\n /** Neutral gray scale — borders, backgrounds, disabled. */\n neutral: \"gray\",\n /** Accent color 1 for avatar palette. */\n accent1: \"teal\",\n /** Accent color 2 for avatar palette. */\n accent2: \"cyan\",\n /** Accent color 3 for avatar palette. */\n accent3: \"green\",\n} as const;\n\nexport type FairmintColor = (typeof colors)[keyof typeof colors];\n\n/**\n * Avatar palette for deterministic color assignment.\n * Used by getAvatarColor() to map names to colors.\n */\nexport const AVATAR_PALETTE = [\n colors.primary,\n colors.brandBlue,\n colors.brandPurple,\n colors.success,\n colors.info,\n colors.accent1,\n colors.accent2,\n colors.accent3,\n] as const;\n\nexport type AvatarPaletteColor = (typeof AVATAR_PALETTE)[number];\n"],"names":[],"mappings":"AAKO,MAAM,SAAS;AAAA;AAAA,EAEpB,SAAS;AAAA;AAAA,EAET,WAAW;AAAA;AAAA,EAEX,aAAa;AAAA;AAAA,EAEb,SAAS;AAAA;AAAA,EAET,SAAS;AAAA;AAAA,EAET,OAAO;AAAA;AAAA,EAEP,MAAM;AAAA;AAAA,EAEN,SAAS;AAAA;AAAA,EAET,SAAS;AAAA;AAAA,EAET,SAAS;AAAA;AAAA,EAET,SAAS;AACX;AAQO,MAAM,iBAAiB;AAAA,EAC5B,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AAAA,EACP,OAAO;AACT;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fairmint/ui",
3
- "version": "0.3.23",
3
+ "version": "0.3.24",
4
4
  "type": "module",
5
5
  "description": "Fairmint design system and UI component library",
6
6
  "license": "UNLICENSED",
@@ -1,72 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const jsxRuntime = require("react/jsx-runtime");
4
- const index = require("../../../theme/index.cjs");
5
- const layout = require("../../primitives/layout.cjs");
6
- const Popover = require("../../primitives/Popover/Popover.cjs");
7
- const Text = require("../../../node_modules/@mantine/core/esm/components/Text/Text.cjs");
8
- const ScrollArea = require("../../../node_modules/@mantine/core/esm/components/ScrollArea/ScrollArea.cjs");
9
- const DEFAULT_EMPTY_MESSAGE = "There are no tasks to do right now. You'll see a badge on this icon when there are.";
10
- function TaskInboxPopover({
11
- children,
12
- className,
13
- count,
14
- emptyMessage = DEFAULT_EMPTY_MESSAGE,
15
- onClose,
16
- opened,
17
- target,
18
- title = "Tasks",
19
- width = 420,
20
- zIndex
21
- }) {
22
- const showEmpty = count === 0;
23
- const responsiveWidth = `min(${width}px, calc(100vw - 32px))`;
24
- return /* @__PURE__ */ jsxRuntime.jsx(layout.Box, { className, children: /* @__PURE__ */ jsxRuntime.jsxs(
25
- Popover.Popover,
26
- {
27
- onChange: (next) => {
28
- if (!next) onClose();
29
- },
30
- opened,
31
- position: "bottom-start",
32
- returnFocus: true,
33
- trapFocus: true,
34
- width: responsiveWidth,
35
- withinPortal: true,
36
- zIndex,
37
- children: [
38
- /* @__PURE__ */ jsxRuntime.jsx(Popover.Popover.Target, { children: target }),
39
- /* @__PURE__ */ jsxRuntime.jsxs(
40
- Popover.Popover.Dropdown,
41
- {
42
- p: 0,
43
- role: "dialog",
44
- "aria-label": title,
45
- style: { overflow: "hidden", maxWidth: "100%" },
46
- children: [
47
- /* @__PURE__ */ jsxRuntime.jsx(
48
- layout.Box,
49
- {
50
- px: "md",
51
- py: "sm",
52
- style: { borderBottom: `1px solid ${index.fairmintVars.colorBorderDefault}` },
53
- children: /* @__PURE__ */ jsxRuntime.jsxs(Text.Text, { fw: 600, size: "md", children: [
54
- title,
55
- count > 0 ? ` (${count})` : ""
56
- ] })
57
- }
58
- ),
59
- showEmpty ? /* @__PURE__ */ jsxRuntime.jsx(layout.Box, { px: "md", py: "sm", children: /* @__PURE__ */ jsxRuntime.jsx(Text.Text, { size: "sm", children: emptyMessage }) }) : (
60
- // Vertical-only hover scrollbar (no offset gutter): offsetScrollbars
61
- // reserved a permanent right pad that looked like empty padding.
62
- /* @__PURE__ */ jsxRuntime.jsx(ScrollArea.ScrollArea.Autosize, { mah: 360, scrollbars: "y", type: "hover", children: /* @__PURE__ */ jsxRuntime.jsx(layout.Box, { maw: "100%", style: { overflow: "hidden" }, children: /* @__PURE__ */ jsxRuntime.jsx(layout.Stack, { gap: 0, children }) }) })
63
- )
64
- ]
65
- }
66
- )
67
- ]
68
- }
69
- ) });
70
- }
71
- exports.TaskInboxPopover = TaskInboxPopover;
72
- //# sourceMappingURL=TaskInboxPopover.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TaskInboxPopover.cjs","sources":["../../../../src/components/generic/TaskInboxPopover/TaskInboxPopover.tsx"],"sourcesContent":["import type { ReactElement, ReactNode } from \"react\";\nimport { fairmintVars } from \"../../../theme\";\nimport { Box, ScrollArea, Stack, Text } from \"../../primitives/layout\";\nimport { Popover } from \"../../primitives/Popover/Popover\";\n\nexport interface TaskInboxPopoverProps {\n /** Controlled open state. */\n opened: boolean;\n /** Called when the popover requests close. */\n onClose: () => void;\n /** Bell or trigger element wrapped by `Popover.Target`. */\n target: ReactElement;\n /**\n * Unresolved actionable task count (header + empty-state source of truth).\n * Parent must derive this from the same list passed as `children`.\n */\n count: number;\n /** Header title. @default \"Tasks\" */\n title?: string;\n /** Empty-state copy when `count` is 0. */\n emptyMessage?: ReactNode;\n /** Task list body — typically studiov2 `<Tasks />`. Ignored when `count` is 0. */\n children: ReactNode;\n /**\n * Preferred popover width in px. Clamped to the viewport so mobile does not\n * clip. @default 420\n */\n width?: number;\n /** Portal stacking order — Studio shell menus use `SHELL_MENU_Z_INDEX`. */\n zIndex?: number;\n className?: string;\n}\n\nconst DEFAULT_EMPTY_MESSAGE =\n \"There are no tasks to do right now. You'll see a badge on this icon when there are.\";\n\n/**\n * Studio bell task inbox shell — Mantine popover chrome around a `TaskRow` list.\n *\n * Domain mapping (task type → copy, link, priority) stays in the consuming app.\n * This component owns layout, header, scroll region, and empty state framing.\n */\nexport function TaskInboxPopover({\n children,\n className,\n count,\n emptyMessage = DEFAULT_EMPTY_MESSAGE,\n onClose,\n opened,\n target,\n title = \"Tasks\",\n width = 420,\n zIndex,\n}: TaskInboxPopoverProps) {\n const showEmpty = count === 0;\n const responsiveWidth = `min(${width}px, calc(100vw - 32px))`;\n\n return (\n <Box className={className}>\n <Popover\n onChange={(next) => {\n if (!next) onClose();\n }}\n opened={opened}\n position=\"bottom-start\"\n returnFocus\n trapFocus\n width={responsiveWidth}\n withinPortal\n zIndex={zIndex}\n >\n <Popover.Target>{target}</Popover.Target>\n <Popover.Dropdown\n p={0}\n role=\"dialog\"\n aria-label={title}\n style={{ overflow: \"hidden\", maxWidth: \"100%\" }}\n >\n <Box\n px=\"md\"\n py=\"sm\"\n style={{ borderBottom: `1px solid ${fairmintVars.colorBorderDefault}` }}\n >\n <Text fw={600} size=\"md\">\n {title}\n {count > 0 ? ` (${count})` : \"\"}\n </Text>\n </Box>\n {showEmpty ? (\n <Box px=\"md\" py=\"sm\">\n <Text size=\"sm\">{emptyMessage}</Text>\n </Box>\n ) : (\n // Vertical-only hover scrollbar (no offset gutter): offsetScrollbars\n // reserved a permanent right pad that looked like empty padding.\n <ScrollArea.Autosize mah={360} scrollbars=\"y\" type=\"hover\">\n <Box maw=\"100%\" style={{ overflow: \"hidden\" }}>\n <Stack gap={0}>{children}</Stack>\n </Box>\n </ScrollArea.Autosize>\n )}\n </Popover.Dropdown>\n </Popover>\n </Box>\n );\n}\n"],"names":["jsx","Box","jsxs","Popover","fairmintVars","Text","ScrollArea","Stack"],"mappings":";;;;;;;;AAiCA,MAAM,wBACJ;AAQK,SAAS,iBAAiB;AAAA,EAC/B;AAAA,EACA;AAAA,EACA;AAAA,EACA,eAAe;AAAA,EACf;AAAA,EACA;AAAA,EACA;AAAA,EACA,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR;AACF,GAA0B;AACxB,QAAM,YAAY,UAAU;AAC5B,QAAM,kBAAkB,OAAO,KAAK;AAEpC,SACEA,2BAAAA,IAACC,OAAAA,OAAI,WACH,UAAAC,2BAAAA;AAAAA,IAACC,QAAAA;AAAAA,IAAA;AAAA,MACC,UAAU,CAAC,SAAS;AAClB,YAAI,CAAC,KAAM,SAAA;AAAA,MACb;AAAA,MACA;AAAA,MACA,UAAS;AAAA,MACT,aAAW;AAAA,MACX,WAAS;AAAA,MACT,OAAO;AAAA,MACP,cAAY;AAAA,MACZ;AAAA,MAEA,UAAA;AAAA,QAAAH,2BAAAA,IAACG,QAAAA,QAAQ,QAAR,EAAgB,UAAA,OAAA,CAAO;AAAA,QACxBD,2BAAAA;AAAAA,UAACC,QAAAA,QAAQ;AAAA,UAAR;AAAA,YACC,GAAG;AAAA,YACH,MAAK;AAAA,YACL,cAAY;AAAA,YACZ,OAAO,EAAE,UAAU,UAAU,UAAU,OAAA;AAAA,YAEvC,UAAA;AAAA,cAAAH,2BAAAA;AAAAA,gBAACC,OAAAA;AAAAA,gBAAA;AAAA,kBACC,IAAG;AAAA,kBACH,IAAG;AAAA,kBACH,OAAO,EAAE,cAAc,aAAaG,MAAAA,aAAa,kBAAkB,GAAA;AAAA,kBAEnE,UAAAF,2BAAAA,KAACG,KAAAA,MAAA,EAAK,IAAI,KAAK,MAAK,MACjB,UAAA;AAAA,oBAAA;AAAA,oBACA,QAAQ,IAAI,KAAK,KAAK,MAAM;AAAA,kBAAA,EAAA,CAC/B;AAAA,gBAAA;AAAA,cAAA;AAAA,cAED,YACCL,2BAAAA,IAACC,YAAA,EAAI,IAAG,MAAK,IAAG,MACd,UAAAD,2BAAAA,IAACK,KAAAA,MAAA,EAAK,MAAK,MAAM,UAAA,aAAA,CAAa,GAChC;AAAA;AAAA;AAAA,gBAIAL,2BAAAA,IAACM,WAAAA,WAAW,UAAX,EAAoB,KAAK,KAAK,YAAW,KAAI,MAAK,SACjD,UAAAN,2BAAAA,IAACC,OAAAA,KAAA,EAAI,KAAI,QAAO,OAAO,EAAE,UAAU,SAAA,GACjC,UAAAD,2BAAAA,IAACO,OAAAA,OAAA,EAAM,KAAK,GAAI,SAAA,CAAS,EAAA,CAC3B,EAAA,CACF;AAAA;AAAA,YAAA;AAAA,UAAA;AAAA,QAAA;AAAA,MAEJ;AAAA,IAAA;AAAA,EAAA,GAEJ;AAEJ;;"}
@@ -1,36 +0,0 @@
1
- import { ReactElement, ReactNode } from 'react';
2
- export interface TaskInboxPopoverProps {
3
- /** Controlled open state. */
4
- opened: boolean;
5
- /** Called when the popover requests close. */
6
- onClose: () => void;
7
- /** Bell or trigger element wrapped by `Popover.Target`. */
8
- target: ReactElement;
9
- /**
10
- * Unresolved actionable task count (header + empty-state source of truth).
11
- * Parent must derive this from the same list passed as `children`.
12
- */
13
- count: number;
14
- /** Header title. @default "Tasks" */
15
- title?: string;
16
- /** Empty-state copy when `count` is 0. */
17
- emptyMessage?: ReactNode;
18
- /** Task list body — typically studiov2 `<Tasks />`. Ignored when `count` is 0. */
19
- children: ReactNode;
20
- /**
21
- * Preferred popover width in px. Clamped to the viewport so mobile does not
22
- * clip. @default 420
23
- */
24
- width?: number;
25
- /** Portal stacking order — Studio shell menus use `SHELL_MENU_Z_INDEX`. */
26
- zIndex?: number;
27
- className?: string;
28
- }
29
- /**
30
- * Studio bell task inbox shell — Mantine popover chrome around a `TaskRow` list.
31
- *
32
- * Domain mapping (task type → copy, link, priority) stays in the consuming app.
33
- * This component owns layout, header, scroll region, and empty state framing.
34
- */
35
- export declare function TaskInboxPopover({ children, className, count, emptyMessage, onClose, opened, target, title, width, zIndex, }: TaskInboxPopoverProps): import("react/jsx-runtime").JSX.Element;
36
- //# sourceMappingURL=TaskInboxPopover.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TaskInboxPopover.d.ts","sourceRoot":"","sources":["../../../../src/components/generic/TaskInboxPopover/TaskInboxPopover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKrD,MAAM,WAAW,qBAAqB;IACpC,6BAA6B;IAC7B,MAAM,EAAE,OAAO,CAAC;IAChB,8CAA8C;IAC9C,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,2DAA2D;IAC3D,MAAM,EAAE,YAAY,CAAC;IACrB;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,qCAAqC;IACrC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,0CAA0C;IAC1C,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,kFAAkF;IAClF,QAAQ,EAAE,SAAS,CAAC;IACpB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,2EAA2E;IAC3E,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAKD;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,QAAQ,EACR,SAAS,EACT,KAAK,EACL,YAAoC,EACpC,OAAO,EACP,MAAM,EACN,MAAM,EACN,KAAe,EACf,KAAW,EACX,MAAM,GACP,EAAE,qBAAqB,2CAoDvB"}
@@ -1,72 +0,0 @@
1
- import { jsx, jsxs } from "react/jsx-runtime";
2
- import { fairmintVars } from "../../../theme/index.js";
3
- import { Box, Stack } from "../../primitives/layout.js";
4
- import { Popover } from "../../primitives/Popover/Popover.js";
5
- import { Text } from "../../../node_modules/@mantine/core/esm/components/Text/Text.js";
6
- import { ScrollArea } from "../../../node_modules/@mantine/core/esm/components/ScrollArea/ScrollArea.js";
7
- const DEFAULT_EMPTY_MESSAGE = "There are no tasks to do right now. You'll see a badge on this icon when there are.";
8
- function TaskInboxPopover({
9
- children,
10
- className,
11
- count,
12
- emptyMessage = DEFAULT_EMPTY_MESSAGE,
13
- onClose,
14
- opened,
15
- target,
16
- title = "Tasks",
17
- width = 420,
18
- zIndex
19
- }) {
20
- const showEmpty = count === 0;
21
- const responsiveWidth = `min(${width}px, calc(100vw - 32px))`;
22
- return /* @__PURE__ */ jsx(Box, { className, children: /* @__PURE__ */ jsxs(
23
- Popover,
24
- {
25
- onChange: (next) => {
26
- if (!next) onClose();
27
- },
28
- opened,
29
- position: "bottom-start",
30
- returnFocus: true,
31
- trapFocus: true,
32
- width: responsiveWidth,
33
- withinPortal: true,
34
- zIndex,
35
- children: [
36
- /* @__PURE__ */ jsx(Popover.Target, { children: target }),
37
- /* @__PURE__ */ jsxs(
38
- Popover.Dropdown,
39
- {
40
- p: 0,
41
- role: "dialog",
42
- "aria-label": title,
43
- style: { overflow: "hidden", maxWidth: "100%" },
44
- children: [
45
- /* @__PURE__ */ jsx(
46
- Box,
47
- {
48
- px: "md",
49
- py: "sm",
50
- style: { borderBottom: `1px solid ${fairmintVars.colorBorderDefault}` },
51
- children: /* @__PURE__ */ jsxs(Text, { fw: 600, size: "md", children: [
52
- title,
53
- count > 0 ? ` (${count})` : ""
54
- ] })
55
- }
56
- ),
57
- showEmpty ? /* @__PURE__ */ jsx(Box, { px: "md", py: "sm", children: /* @__PURE__ */ jsx(Text, { size: "sm", children: emptyMessage }) }) : (
58
- // Vertical-only hover scrollbar (no offset gutter): offsetScrollbars
59
- // reserved a permanent right pad that looked like empty padding.
60
- /* @__PURE__ */ jsx(ScrollArea.Autosize, { mah: 360, scrollbars: "y", type: "hover", children: /* @__PURE__ */ jsx(Box, { maw: "100%", style: { overflow: "hidden" }, children: /* @__PURE__ */ jsx(Stack, { gap: 0, children }) }) })
61
- )
62
- ]
63
- }
64
- )
65
- ]
66
- }
67
- ) });
68
- }
69
- export {
70
- TaskInboxPopover
71
- };
72
- //# sourceMappingURL=TaskInboxPopover.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TaskInboxPopover.js","sources":["../../../../src/components/generic/TaskInboxPopover/TaskInboxPopover.tsx"],"sourcesContent":["import type { ReactElement, ReactNode } from \"react\";\nimport { fairmintVars } from \"../../../theme\";\nimport { Box, ScrollArea, Stack, Text } from \"../../primitives/layout\";\nimport { Popover } from \"../../primitives/Popover/Popover\";\n\nexport interface TaskInboxPopoverProps {\n /** Controlled open state. */\n opened: boolean;\n /** Called when the popover requests close. */\n onClose: () => void;\n /** Bell or trigger element wrapped by `Popover.Target`. */\n target: ReactElement;\n /**\n * Unresolved actionable task count (header + empty-state source of truth).\n * Parent must derive this from the same list passed as `children`.\n */\n count: number;\n /** Header title. @default \"Tasks\" */\n title?: string;\n /** Empty-state copy when `count` is 0. */\n emptyMessage?: ReactNode;\n /** Task list body — typically studiov2 `<Tasks />`. Ignored when `count` is 0. */\n children: ReactNode;\n /**\n * Preferred popover width in px. Clamped to the viewport so mobile does not\n * clip. @default 420\n */\n width?: number;\n /** Portal stacking order — Studio shell menus use `SHELL_MENU_Z_INDEX`. */\n zIndex?: number;\n className?: string;\n}\n\nconst DEFAULT_EMPTY_MESSAGE =\n \"There are no tasks to do right now. You'll see a badge on this icon when there are.\";\n\n/**\n * Studio bell task inbox shell — Mantine popover chrome around a `TaskRow` list.\n *\n * Domain mapping (task type → copy, link, priority) stays in the consuming app.\n * This component owns layout, header, scroll region, and empty state framing.\n */\nexport function TaskInboxPopover({\n children,\n className,\n count,\n emptyMessage = DEFAULT_EMPTY_MESSAGE,\n onClose,\n opened,\n target,\n title = \"Tasks\",\n width = 420,\n zIndex,\n}: TaskInboxPopoverProps) {\n const showEmpty = count === 0;\n const responsiveWidth = `min(${width}px, calc(100vw - 32px))`;\n\n return (\n <Box className={className}>\n <Popover\n onChange={(next) => {\n if (!next) onClose();\n }}\n opened={opened}\n position=\"bottom-start\"\n returnFocus\n trapFocus\n width={responsiveWidth}\n withinPortal\n zIndex={zIndex}\n >\n <Popover.Target>{target}</Popover.Target>\n <Popover.Dropdown\n p={0}\n role=\"dialog\"\n aria-label={title}\n style={{ overflow: \"hidden\", maxWidth: \"100%\" }}\n >\n <Box\n px=\"md\"\n py=\"sm\"\n style={{ borderBottom: `1px solid ${fairmintVars.colorBorderDefault}` }}\n >\n <Text fw={600} size=\"md\">\n {title}\n {count > 0 ? ` (${count})` : \"\"}\n </Text>\n </Box>\n {showEmpty ? (\n <Box px=\"md\" py=\"sm\">\n <Text size=\"sm\">{emptyMessage}</Text>\n </Box>\n ) : (\n // Vertical-only hover scrollbar (no offset gutter): offsetScrollbars\n // reserved a permanent right pad that looked like empty padding.\n <ScrollArea.Autosize mah={360} scrollbars=\"y\" type=\"hover\">\n <Box maw=\"100%\" style={{ overflow: \"hidden\" }}>\n <Stack gap={0}>{children}</Stack>\n </Box>\n </ScrollArea.Autosize>\n )}\n </Popover.Dropdown>\n </Popover>\n </Box>\n );\n}\n"],"names":[],"mappings":";;;;;;AAiCA,MAAM,wBACJ;AAQK,SAAS,iBAAiB;AAAA,EAC/B;AAAA,EACA;AAAA,EACA;AAAA,EACA,eAAe;AAAA,EACf;AAAA,EACA;AAAA,EACA;AAAA,EACA,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR;AACF,GAA0B;AACxB,QAAM,YAAY,UAAU;AAC5B,QAAM,kBAAkB,OAAO,KAAK;AAEpC,SACE,oBAAC,OAAI,WACH,UAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,UAAU,CAAC,SAAS;AAClB,YAA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4
- const Popover$1 = require("../../../node_modules/@mantine/core/esm/components/Popover/Popover.cjs");
5
- function PopoverBase(props) {
6
- return /* @__PURE__ */ jsxRuntime.jsx(Popover$1.Popover, { shadow: "md", ...props });
7
- }
8
- const Popover = Object.assign(PopoverBase, {
9
- Target: Popover$1.Popover.Target,
10
- Dropdown: Popover$1.Popover.Dropdown
11
- });
12
- exports.Popover = Popover;
13
- //# sourceMappingURL=Popover.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Popover.cjs","sources":["../../../../src/components/primitives/Popover/Popover.tsx"],"sourcesContent":["import { Popover as MantinePopover, type PopoverProps as MantinePopoverProps } from \"@mantine/core\";\n\nexport interface PopoverProps extends MantinePopoverProps {}\n\nfunction PopoverBase(props: PopoverProps) {\n return <MantinePopover shadow=\"md\" {...props} />;\n}\n\nexport const Popover = Object.assign(PopoverBase, {\n Target: MantinePopover.Target,\n Dropdown: MantinePopover.Dropdown,\n});\n"],"names":["jsx","MantinePopover"],"mappings":";;;;AAIA,SAAS,YAAY,OAAqB;AACxC,SAAOA,2BAAAA,IAACC,UAAAA,SAAA,EAAe,QAAO,MAAM,GAAG,OAAO;AAChD;AAEO,MAAM,UAAU,OAAO,OAAO,aAAa;AAAA,EAChD,QAAQA,UAAAA,QAAe;AAAA,EACvB,UAAUA,UAAAA,QAAe;AAC3B,CAAC;;"}