@fairmint/ui 0.3.24 → 0.3.25

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 +3 -5
  2. package/dist/_virtual/index3.cjs.map +1 -1
  3. package/dist/_virtual/index3.js +2 -5
  4. package/dist/_virtual/index3.js.map +1 -1
  5. package/dist/_virtual/index4.cjs +5 -3
  6. package/dist/_virtual/index4.cjs.map +1 -1
  7. package/dist/_virtual/index4.js +5 -2
  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/TaskInboxPopover/TaskInboxPopover.cjs +72 -0
  14. package/dist/components/generic/TaskInboxPopover/TaskInboxPopover.cjs.map +1 -0
  15. package/dist/components/generic/TaskInboxPopover/TaskInboxPopover.d.ts +36 -0
  16. package/dist/components/generic/TaskInboxPopover/TaskInboxPopover.d.ts.map +1 -0
  17. package/dist/components/generic/TaskInboxPopover/TaskInboxPopover.js +72 -0
  18. package/dist/components/generic/TaskInboxPopover/TaskInboxPopover.js.map +1 -0
  19. package/dist/components/generic/TaskRow/TaskRow.cjs +31 -6
  20. package/dist/components/generic/TaskRow/TaskRow.cjs.map +1 -1
  21. package/dist/components/generic/TaskRow/TaskRow.d.ts.map +1 -1
  22. package/dist/components/generic/TaskRow/TaskRow.js +31 -6
  23. package/dist/components/generic/TaskRow/TaskRow.js.map +1 -1
  24. package/dist/components/primitives/Popover/Popover.cjs +13 -0
  25. package/dist/components/primitives/Popover/Popover.cjs.map +1 -0
  26. package/dist/components/primitives/Popover/Popover.d.ts +19 -0
  27. package/dist/components/primitives/Popover/Popover.d.ts.map +1 -0
  28. package/dist/components/primitives/Popover/Popover.js +13 -0
  29. package/dist/components/primitives/Popover/Popover.js.map +1 -0
  30. package/dist/components/primitives/index.d.ts +1 -0
  31. package/dist/components/primitives/index.d.ts.map +1 -1
  32. package/dist/fairmint-ui.cjs +4 -0
  33. package/dist/fairmint-ui.cjs.map +1 -1
  34. package/dist/fairmint-ui.js +4 -0
  35. package/dist/fairmint-ui.js.map +1 -1
  36. package/dist/index.d.ts +3 -0
  37. package/dist/index.d.ts.map +1 -1
  38. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +1 -1
  39. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +1 -1
  40. package/dist/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +1 -1
  41. package/dist/node_modules/@mantine/form/esm/hooks/use-form-status/use-form-status.cjs +1 -1
  42. package/dist/node_modules/@mantine/form/esm/hooks/use-form-status/use-form-status.js +1 -1
  43. package/dist/node_modules/prop-types/index.cjs +1 -1
  44. package/dist/node_modules/prop-types/index.js +1 -1
  45. package/dist/notify.cjs +1 -1
  46. package/dist/notify.cjs.map +1 -1
  47. package/dist/notify.js +1 -1
  48. package/dist/notify.js.map +1 -1
  49. package/dist/theme/colors.cjs.map +1 -1
  50. package/dist/theme/colors.d.ts +16 -0
  51. package/dist/theme/colors.d.ts.map +1 -1
  52. package/dist/theme/colors.js.map +1 -1
  53. package/package.json +1 -1
@@ -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"],"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\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;;;"}
@@ -34,4 +34,20 @@ 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
+ };
37
53
  //# 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"}
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 +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"],"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\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;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fairmint/ui",
3
- "version": "0.3.24",
3
+ "version": "0.3.25",
4
4
  "type": "module",
5
5
  "description": "Fairmint design system and UI component library",
6
6
  "license": "UNLICENSED",