@fluid-app/portal-sdk 0.1.259 → 0.1.261

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 (144) hide show
  1. package/dist/{AlertWidget-CcIBGBik.mjs → AlertWidget-Bua0I46v.mjs} +2 -2
  2. package/dist/{AlertWidget-CcIBGBik.mjs.map → AlertWidget-Bua0I46v.mjs.map} +1 -1
  3. package/dist/{AlertWidget-BZ67Uqfh.cjs → AlertWidget-ByokSA3K.cjs} +2 -2
  4. package/dist/{AlertWidget-BZ67Uqfh.cjs.map → AlertWidget-ByokSA3K.cjs.map} +1 -1
  5. package/dist/{BulletListWidget-iGJI33Ed.cjs → BulletListWidget-BwrMNPZ-.cjs} +2 -2
  6. package/dist/{BulletListWidget-iGJI33Ed.cjs.map → BulletListWidget-BwrMNPZ-.cjs.map} +1 -1
  7. package/dist/{BulletListWidget-mRwUgtzN.mjs → BulletListWidget-DvT2x5wg.mjs} +2 -2
  8. package/dist/{BulletListWidget-mRwUgtzN.mjs.map → BulletListWidget-DvT2x5wg.mjs.map} +1 -1
  9. package/dist/{CalendarWidget-ByY49yYX.mjs → CalendarWidget-BB1C5K_j.mjs} +2 -2
  10. package/dist/{CalendarWidget-ByY49yYX.mjs.map → CalendarWidget-BB1C5K_j.mjs.map} +1 -1
  11. package/dist/{CalendarWidget-CSipLdwg.cjs → CalendarWidget-MVJmxwFQ.cjs} +2 -2
  12. package/dist/{CalendarWidget-CSipLdwg.cjs.map → CalendarWidget-MVJmxwFQ.cjs.map} +1 -1
  13. package/dist/{CardWidget-CXsjl-Is.cjs → CardWidget-5hGl1bt9.cjs} +2 -2
  14. package/dist/{CardWidget-DK4VQau1.mjs → CardWidget-CEERBKUN.mjs} +2 -2
  15. package/dist/{CardWidget-DK4VQau1.mjs.map → CardWidget-CEERBKUN.mjs.map} +1 -1
  16. package/dist/{CardWidget-DovkTkKg.cjs → CardWidget-Cf4-dF-v.cjs} +2 -2
  17. package/dist/{CardWidget-DovkTkKg.cjs.map → CardWidget-Cf4-dF-v.cjs.map} +1 -1
  18. package/dist/{CarouselWidget-Cu1b3ERq.cjs → CarouselWidget-BJSO17JY.cjs} +2 -2
  19. package/dist/{CarouselWidget-Cu1b3ERq.cjs.map → CarouselWidget-BJSO17JY.cjs.map} +1 -1
  20. package/dist/{CarouselWidget-C0X-nFyW.mjs → CarouselWidget-Dhjf60LS.mjs} +2 -2
  21. package/dist/{CarouselWidget-C0X-nFyW.mjs.map → CarouselWidget-Dhjf60LS.mjs.map} +1 -1
  22. package/dist/{CatchUpWidget-C17xpj3Z.cjs → CatchUpWidget-CFF-Fgdo.cjs} +2 -2
  23. package/dist/{CatchUpWidget-C17xpj3Z.cjs.map → CatchUpWidget-CFF-Fgdo.cjs.map} +1 -1
  24. package/dist/{CatchUpWidget-Bj30ZbUk.mjs → CatchUpWidget-CM-iCMhK.mjs} +2 -2
  25. package/dist/{CatchUpWidget-Bj30ZbUk.mjs.map → CatchUpWidget-CM-iCMhK.mjs.map} +1 -1
  26. package/dist/{ChartWidget-Brxz8j4Q.cjs → ChartWidget-6nZLzlQM.cjs} +2 -2
  27. package/dist/{ChartWidget-Brxz8j4Q.cjs.map → ChartWidget-6nZLzlQM.cjs.map} +1 -1
  28. package/dist/{ChartWidget-CIscUHUD.mjs → ChartWidget-CJXZ9qf7.mjs} +2 -2
  29. package/dist/{ChartWidget-CIscUHUD.mjs.map → ChartWidget-CJXZ9qf7.mjs.map} +1 -1
  30. package/dist/{ChartWidget-CNhmJePK.cjs → ChartWidget-WXGJeXdl.cjs} +2 -2
  31. package/dist/{ContainerWidget-YMePQ1FG.mjs → ContainerWidget-2Rep2gGz.mjs} +3 -3
  32. package/dist/{ContainerWidget-YMePQ1FG.mjs.map → ContainerWidget-2Rep2gGz.mjs.map} +1 -1
  33. package/dist/{ContainerWidget-D5rr47AN.cjs → ContainerWidget-CpIynF1n.cjs} +3 -3
  34. package/dist/{ContainerWidget-wtuUrr1c.cjs → ContainerWidget-DX9qO1T-.cjs} +3 -3
  35. package/dist/{ContainerWidget-wtuUrr1c.cjs.map → ContainerWidget-DX9qO1T-.cjs.map} +1 -1
  36. package/dist/{EmbedWidget-DE1yhLR1.mjs → EmbedWidget-Czn_RJbm.mjs} +2 -2
  37. package/dist/{EmbedWidget-DE1yhLR1.mjs.map → EmbedWidget-Czn_RJbm.mjs.map} +1 -1
  38. package/dist/{EmbedWidget-BO0TonyK.cjs → EmbedWidget-DFlg5AI7.cjs} +2 -2
  39. package/dist/{EmbedWidget-BO0TonyK.cjs.map → EmbedWidget-DFlg5AI7.cjs.map} +1 -1
  40. package/dist/{FluidProvider-CDNk3Ssn.mjs → FluidProvider-C0YKxODs.mjs} +49 -49
  41. package/dist/{FluidProvider-CDNk3Ssn.mjs.map → FluidProvider-C0YKxODs.mjs.map} +1 -1
  42. package/dist/{FluidProvider-P_MBgI-c.cjs → FluidProvider-CoSgK0jL.cjs} +49 -49
  43. package/dist/{FluidProvider-P_MBgI-c.cjs.map → FluidProvider-CoSgK0jL.cjs.map} +1 -1
  44. package/dist/{ImageWidget-DmaAQZBK.mjs → ImageWidget--WJppfij.mjs} +2 -2
  45. package/dist/{ImageWidget-DmaAQZBK.mjs.map → ImageWidget--WJppfij.mjs.map} +1 -1
  46. package/dist/{ImageWidget-CbQVxMe3.cjs → ImageWidget-CU2cet5p.cjs} +2 -2
  47. package/dist/{ImageWidget-CbQVxMe3.cjs.map → ImageWidget-CU2cet5p.cjs.map} +1 -1
  48. package/dist/{LayoutWidget-BK8AxE60.cjs → LayoutWidget-8DwDBW24.cjs} +2 -2
  49. package/dist/{LayoutWidget-BK8AxE60.cjs.map → LayoutWidget-8DwDBW24.cjs.map} +1 -1
  50. package/dist/{LayoutWidget-K2iF13-C.cjs → LayoutWidget-CUjv-pB1.cjs} +2 -2
  51. package/dist/{LayoutWidget-8KxCmJcd.mjs → LayoutWidget-iKNNIRPq.mjs} +2 -2
  52. package/dist/{LayoutWidget-8KxCmJcd.mjs.map → LayoutWidget-iKNNIRPq.mjs.map} +1 -1
  53. package/dist/{LinkWidget-Dvb6WlaR.mjs → LinkWidget-BoVmB_zf.mjs} +2 -2
  54. package/dist/{LinkWidget-Dvb6WlaR.mjs.map → LinkWidget-BoVmB_zf.mjs.map} +1 -1
  55. package/dist/{LinkWidget-DnAGzdnF.cjs → LinkWidget-BzgMcUuV.cjs} +2 -2
  56. package/dist/{LinkWidget-88wWH7-i.cjs → LinkWidget-DpylGthu.cjs} +2 -2
  57. package/dist/{LinkWidget-88wWH7-i.cjs.map → LinkWidget-DpylGthu.cjs.map} +1 -1
  58. package/dist/{ListWidget-xetptWnX.cjs → ListWidget-CQgei8SF.cjs} +2 -2
  59. package/dist/{ListWidget-xetptWnX.cjs.map → ListWidget-CQgei8SF.cjs.map} +1 -1
  60. package/dist/{ListWidget-Bsi4jdcz.mjs → ListWidget-CuwsaMQ9.mjs} +2 -2
  61. package/dist/{ListWidget-Bsi4jdcz.mjs.map → ListWidget-CuwsaMQ9.mjs.map} +1 -1
  62. package/dist/{ListWidget-BzuYuJkf.cjs → ListWidget-TXPwy2v6.cjs} +2 -2
  63. package/dist/MessagingScreen-CKIs5m0_.cjs +48 -0
  64. package/dist/{MessagingScreen-SQXX6kkC.mjs → MessagingScreen-Ck6c7BK3.mjs} +2 -2
  65. package/dist/{MessagingScreen-SQXX6kkC.mjs.map → MessagingScreen-Ck6c7BK3.mjs.map} +1 -1
  66. package/dist/MessagingScreen-DgS_ZEzO.mjs +46 -0
  67. package/dist/{MessagingScreen-CsZsCnnX.cjs → MessagingScreen-ga_zEAeB.cjs} +2 -2
  68. package/dist/{MessagingScreen-CsZsCnnX.cjs.map → MessagingScreen-ga_zEAeB.cjs.map} +1 -1
  69. package/dist/{MySiteWidget-DXY59o3T.cjs → MySiteWidget-BziY8ylH.cjs} +2 -2
  70. package/dist/{MySiteWidget-DXY59o3T.cjs.map → MySiteWidget-BziY8ylH.cjs.map} +1 -1
  71. package/dist/{MySiteWidget-8XrZA0Un.mjs → MySiteWidget-CsJzjc7o.mjs} +2 -2
  72. package/dist/{MySiteWidget-8XrZA0Un.mjs.map → MySiteWidget-CsJzjc7o.mjs.map} +1 -1
  73. package/dist/{NestedWidget-CSA2gUPx.cjs → NestedWidget-B1Rwz6nb.cjs} +2 -2
  74. package/dist/{NestedWidget-B8lW9Fzv.mjs → NestedWidget-DrZ62oaO.mjs} +2 -2
  75. package/dist/{NestedWidget-B8lW9Fzv.mjs.map → NestedWidget-DrZ62oaO.mjs.map} +1 -1
  76. package/dist/{NestedWidget-C2D4eWqb.cjs → NestedWidget-vrohV65N.cjs} +2 -2
  77. package/dist/{NestedWidget-C2D4eWqb.cjs.map → NestedWidget-vrohV65N.cjs.map} +1 -1
  78. package/dist/{PointsWidget-ComTSNQZ.cjs → PointsWidget-DI3N8-6W.cjs} +2 -2
  79. package/dist/{PointsWidget-ComTSNQZ.cjs.map → PointsWidget-DI3N8-6W.cjs.map} +1 -1
  80. package/dist/{PointsWidget-CRvG5LOV.mjs → PointsWidget-ubAn0b-m.mjs} +2 -2
  81. package/dist/{PointsWidget-CRvG5LOV.mjs.map → PointsWidget-ubAn0b-m.mjs.map} +1 -1
  82. package/dist/ProfileScreen-90-Jf8IH.mjs +46 -0
  83. package/dist/ProfileScreen-B7sbMdbH.cjs +48 -0
  84. package/dist/{ProfileScreen-C6Z8g6-L.cjs → ProfileScreen-DYO-1rw4.cjs} +2 -2
  85. package/dist/{ProfileScreen-C6Z8g6-L.cjs.map → ProfileScreen-DYO-1rw4.cjs.map} +1 -1
  86. package/dist/{ProfileScreen-C45yTIj-.mjs → ProfileScreen-FG1DZum3.mjs} +2 -2
  87. package/dist/{ProfileScreen-C45yTIj-.mjs.map → ProfileScreen-FG1DZum3.mjs.map} +1 -1
  88. package/dist/{QuickLinksWidget-Bcl4CxfW.cjs → QuickLinksWidget-Cpq1V-uX.cjs} +2 -2
  89. package/dist/{QuickLinksWidget-Bcl4CxfW.cjs.map → QuickLinksWidget-Cpq1V-uX.cjs.map} +1 -1
  90. package/dist/{QuickLinksWidget-roBJQ1Ge.mjs → QuickLinksWidget-J5axodVF.mjs} +2 -2
  91. package/dist/{QuickLinksWidget-roBJQ1Ge.mjs.map → QuickLinksWidget-J5axodVF.mjs.map} +1 -1
  92. package/dist/{QuickShareWidget-D_Ghjgwz.cjs → QuickShareWidget-CYPOXs8X.cjs} +2 -2
  93. package/dist/{QuickShareWidget-D_Ghjgwz.cjs.map → QuickShareWidget-CYPOXs8X.cjs.map} +1 -1
  94. package/dist/{QuickShareWidget-D-NVbmfw.mjs → QuickShareWidget-CyYW9nS6.mjs} +2 -2
  95. package/dist/{QuickShareWidget-D-NVbmfw.mjs.map → QuickShareWidget-CyYW9nS6.mjs.map} +1 -1
  96. package/dist/{RecentActivityWidget-Bz54YXQN.mjs → RecentActivityWidget-CndO-Ac0.mjs} +2 -2
  97. package/dist/{RecentActivityWidget-Bz54YXQN.mjs.map → RecentActivityWidget-CndO-Ac0.mjs.map} +1 -1
  98. package/dist/{RecentActivityWidget-sv_3ewZa.cjs → RecentActivityWidget-Cp3fYBM2.cjs} +2 -2
  99. package/dist/{RecentActivityWidget-sv_3ewZa.cjs.map → RecentActivityWidget-Cp3fYBM2.cjs.map} +1 -1
  100. package/dist/{SeparatorWidget-CY6uMLHP.cjs → SeparatorWidget-DW_9_L9_.cjs} +2 -2
  101. package/dist/{SeparatorWidget-CY6uMLHP.cjs.map → SeparatorWidget-DW_9_L9_.cjs.map} +1 -1
  102. package/dist/{SeparatorWidget-DR75Yj_C.mjs → SeparatorWidget-eI7b2n6u.mjs} +2 -2
  103. package/dist/{SeparatorWidget-DR75Yj_C.mjs.map → SeparatorWidget-eI7b2n6u.mjs.map} +1 -1
  104. package/dist/{ShopScreen-C3PYT1v_.cjs → ShopScreen-BDhf2CmC.cjs} +2 -2
  105. package/dist/{ShopScreen-C3PYT1v_.cjs.map → ShopScreen-BDhf2CmC.cjs.map} +1 -1
  106. package/dist/ShopScreen-BgTi5eCl.cjs +49 -0
  107. package/dist/ShopScreen-BhYkCXLT.mjs +47 -0
  108. package/dist/{ShopScreen-BFKwuM2U.mjs → ShopScreen-D0p5rQD8.mjs} +2 -2
  109. package/dist/{ShopScreen-BFKwuM2U.mjs.map → ShopScreen-D0p5rQD8.mjs.map} +1 -1
  110. package/dist/{TableWidget-yky-XAA1.cjs → TableWidget-BORWeyOR.cjs} +2 -2
  111. package/dist/{TableWidget-CiI5pArP.cjs → TableWidget-CT6T3IgY.cjs} +2 -2
  112. package/dist/{TableWidget-CiI5pArP.cjs.map → TableWidget-CT6T3IgY.cjs.map} +1 -1
  113. package/dist/{TableWidget-C87Czlh6.mjs → TableWidget-D8HBHejy.mjs} +2 -2
  114. package/dist/{TableWidget-C87Czlh6.mjs.map → TableWidget-D8HBHejy.mjs.map} +1 -1
  115. package/dist/{TextWidget-C7oY0X3r.cjs → TextWidget-CMOofhaH.cjs} +2 -2
  116. package/dist/{TextWidget-C7oY0X3r.cjs.map → TextWidget-CMOofhaH.cjs.map} +1 -1
  117. package/dist/{TextWidget-CfLUQr6V.mjs → TextWidget-DSGevTKM.mjs} +2 -2
  118. package/dist/{TextWidget-CfLUQr6V.mjs.map → TextWidget-DSGevTKM.mjs.map} +1 -1
  119. package/dist/{ToDoWidget-BY-6VIxD.mjs → ToDoWidget-5IiWutYI.mjs} +2 -2
  120. package/dist/{ToDoWidget-BY-6VIxD.mjs.map → ToDoWidget-5IiWutYI.mjs.map} +1 -1
  121. package/dist/{ToDoWidget-CpO7jdw0.cjs → ToDoWidget-B97blWRO.cjs} +2 -2
  122. package/dist/{ToDoWidget-CpO7jdw0.cjs.map → ToDoWidget-B97blWRO.cjs.map} +1 -1
  123. package/dist/{ToDoWidget-CjY1i0lz.cjs → ToDoWidget-kn1dtlKi.cjs} +2 -2
  124. package/dist/{VideoWidget-DSPDdiYr.mjs → VideoWidget-BiaPF0-w.mjs} +2 -2
  125. package/dist/{VideoWidget-DSPDdiYr.mjs.map → VideoWidget-BiaPF0-w.mjs.map} +1 -1
  126. package/dist/{VideoWidget-BpEF3gRZ.cjs → VideoWidget-zdT_mVo9.cjs} +2 -2
  127. package/dist/{VideoWidget-BpEF3gRZ.cjs.map → VideoWidget-zdT_mVo9.cjs.map} +1 -1
  128. package/dist/index.cjs +42 -42
  129. package/dist/index.cjs.map +1 -1
  130. package/dist/index.mjs +42 -42
  131. package/dist/index.mjs.map +1 -1
  132. package/dist/{registries-kvRRUHcO.mjs → registries-6F90ZS1m.mjs} +10 -1
  133. package/dist/registries-6F90ZS1m.mjs.map +1 -0
  134. package/dist/{registries-DBb6VjAX.cjs → registries-CVsthTnW.cjs} +10 -1
  135. package/dist/registries-CVsthTnW.cjs.map +1 -0
  136. package/package.json +18 -18
  137. package/dist/MessagingScreen-J59IMCoQ.mjs +0 -46
  138. package/dist/MessagingScreen-Sur4umLF.cjs +0 -48
  139. package/dist/ProfileScreen-B1J74rK1.cjs +0 -48
  140. package/dist/ProfileScreen-BdmW4weg.mjs +0 -46
  141. package/dist/ShopScreen-C_8yLQjA.mjs +0 -47
  142. package/dist/ShopScreen-Cg_DoIMi.cjs +0 -49
  143. package/dist/registries-DBb6VjAX.cjs.map +0 -1
  144. package/dist/registries-kvRRUHcO.mjs.map +0 -1
@@ -302,7 +302,16 @@ const borderColorClasses = {
302
302
  destructive: "border-destructive",
303
303
  transparent: "border-transparent"
304
304
  };
305
+ Object.freeze({
306
+ padding: 0,
307
+ borderRadius: "md",
308
+ borderWidth: "none",
309
+ borderColor: "muted",
310
+ widgetSize: "auto",
311
+ customHeight: "500px",
312
+ placement: "inline"
313
+ });
305
314
  //#endregion
306
315
  export { getBorderRadiusCompositeField as a, getButtonSizeField as c, getFontWeightField as d, getGapField as f, isPropertyFieldType as g, PROPERTY_FIELD_TYPES as h, getBorderColorField as i, getColorField as l, getPaddingField as m, borderWidthClasses as n, getBorderRadiusField as o, getHeightField as p, gapValues as r, getBorderWidthField as s, borderColorClasses as t, getFontSizeField as u };
307
316
 
308
- //# sourceMappingURL=registries-kvRRUHcO.mjs.map
317
+ //# sourceMappingURL=registries-6F90ZS1m.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registries-6F90ZS1m.mjs","names":[],"sources":["../../core/src/registries/property-schema-types.ts","../../core/src/registries/field-helpers.ts","../../core/src/registries/droplet-widget-chrome.ts"],"sourcesContent":["import type { LucideIcon } from \"lucide-react\";\nimport type {\n WidgetType,\n WidgetSchema,\n AlignOptions,\n ColorOptions,\n FontSizeOptions,\n SectionLayoutType,\n StrictOmit,\n BorderRadiusOptions,\n} from \"../types\";\n\n/**\n * Tab configuration for organizing properties\n */\nexport interface TabConfig {\n /** Unique identifier for the tab */\n id: string;\n /** Display label for the tab */\n label: string;\n}\n\n// ============================================================================\n// Property Field Types - Derive from constant for single source of truth\n// ============================================================================\n\n/**\n * Property field type constant - single source of truth for field types.\n * Use PROPERTY_FIELD_TYPES.text instead of \"text\" for type-safe comparisons.\n */\nexport const PROPERTY_FIELD_TYPES = {\n text: \"text\",\n textarea: \"textarea\",\n number: \"number\",\n boolean: \"boolean\",\n select: \"select\",\n color: \"color\",\n range: \"range\",\n dataSource: \"dataSource\",\n resource: \"resource\",\n image: \"image\",\n alignment: \"alignment\",\n slider: \"slider\",\n colorPicker: \"colorPicker\",\n sectionHeader: \"sectionHeader\",\n separator: \"separator\",\n buttonGroup: \"buttonGroup\",\n colorSelect: \"colorSelect\",\n sectionLayoutSelect: \"sectionLayoutSelect\",\n background: \"background\",\n contentPosition: \"contentPosition\",\n textSizeSelect: \"textSizeSelect\",\n cssUnit: \"cssUnit\",\n fontPicker: \"fontPicker\",\n stringArray: \"stringArray\",\n borderRadius: \"borderRadius\",\n screenPicker: \"screenPicker\",\n} as const;\n\n/**\n * Union type of all property field types, derived from PROPERTY_FIELD_TYPES constant.\n * @see deriving-typeof-for-object-keys pattern\n */\nexport type PropertyFieldType =\n (typeof PROPERTY_FIELD_TYPES)[keyof typeof PROPERTY_FIELD_TYPES];\n\n/**\n * Runtime validation for property field types.\n * @param value - The value to check\n * @returns true if value is a valid PropertyFieldType\n */\nexport function isPropertyFieldType(value: string): value is PropertyFieldType {\n return Object.values(PROPERTY_FIELD_TYPES).includes(\n value as PropertyFieldType,\n );\n}\n\n/**\n * Group label for fields that override theme-derived styling.\n * Rendered last within a tab and collapsed by default so the primary\n * configuration surface stays clean.\n */\nexport const CUSTOM_STYLING_GROUP = \"Custom styling\";\n\n/**\n * Base schema for a property field\n */\nexport interface PropertyFieldSchema {\n /** Property key in the widget props */\n key: string;\n /** Display label for the field */\n label: string;\n /** Field type determines the input control */\n type: PropertyFieldType;\n /** Optional description/help text */\n description?: string;\n /** Optional default value */\n defaultValue?: unknown;\n /** Optional tab ID (must match a TabConfig id if widget has tabsConfig) */\n tab?: string;\n /** Optional group for organizing fields within a tab */\n group?: string;\n /**\n * When true, this field is treated as an override of a value that can\n * otherwise be inherited from the active theme (e.g. border radius,\n * padding, border width). Advanced fields are automatically bucketed\n * into the `CUSTOM_STYLING_GROUP` at the bottom of their tab and\n * rendered collapsed by default so the default surface area stays\n * minimal.\n */\n advanced?: boolean;\n /**\n * @deprecated Use requiresKeyValue instead\n */\n requiresKeyToBeTrue?: string;\n /** Optional requires a specific key to have a specific value. Supports single condition or array (AND logic). */\n requiresKeyValue?:\n | { key: string; value: unknown }\n | Array<{ key: string; value: unknown }>;\n}\n\n/**\n * Text field schema\n */\nexport interface TextFieldSchema extends PropertyFieldSchema {\n type: \"text\";\n placeholder?: string;\n maxLength?: number;\n}\n\n/**\n * Textarea field schema\n */\nexport interface TextareaFieldSchema extends PropertyFieldSchema {\n type: \"textarea\";\n placeholder?: string;\n rows?: number;\n maxLength?: number;\n}\n\n/**\n * Number field schema\n */\nexport interface NumberFieldSchema extends PropertyFieldSchema {\n type: \"number\";\n min?: number;\n max?: number;\n step?: number;\n}\n\n/**\n * Boolean field schema\n */\nexport interface BooleanFieldSchema extends PropertyFieldSchema {\n type: \"boolean\";\n}\n\n/**\n * Select field schema with type-safe option values.\n * Uses StrictOmit to ensure \"defaultValue\" key exists on PropertyFieldSchema.\n */\nexport interface SelectFieldSchema<\n T extends string | number = string | number,\n> extends StrictOmit<PropertyFieldSchema, \"defaultValue\"> {\n type: \"select\";\n options: Array<{ label: string; value: T }>;\n defaultValue?: T;\n}\n\n/**\n * Color field schema\n */\nexport interface ColorFieldSchema extends PropertyFieldSchema {\n type: \"color\";\n}\n\n/**\n * Range slider field schema\n */\nexport interface RangeFieldSchema extends PropertyFieldSchema {\n type: \"range\";\n min: number;\n max: number;\n step?: number;\n}\n\n/**\n * Data source field schema for configuring widget data sources\n */\nexport interface DataSourceFieldSchema extends PropertyFieldSchema {\n type: \"dataSource\";\n}\n\n/**\n * Resource field schema for selecting a single resource from the selection modal\n */\nexport interface ResourceFieldSchema extends PropertyFieldSchema {\n type: \"resource\";\n /** Optional filter to specific shareable types */\n allowedTypes?: string[];\n}\n\n/**\n * Image field schema for selecting a single image from the image picker\n */\nexport interface ImageFieldSchema extends PropertyFieldSchema {\n type: \"image\";\n}\n\n/**\n * Alignment field schema\n */\nexport interface AlignmentFieldSchema extends PropertyFieldSchema {\n type: \"alignment\";\n options: {\n verticalEnabled: boolean;\n horizontalEnabled: boolean;\n };\n defaultValue?: AlignOptions;\n}\n\n/**\n * Slider field schema with optional unit suffix (e.g., \"rem\", \"px\")\n */\nexport interface SliderFieldSchema extends PropertyFieldSchema {\n type: \"slider\";\n min: number;\n max: number;\n step?: number;\n unit?: string;\n}\n\n/**\n * Color picker field schema with optional swatches\n */\nexport interface ColorPickerFieldSchema extends PropertyFieldSchema {\n type: \"colorPicker\";\n swatches?: string[];\n}\n\n/**\n * Section header field schema for visual grouping\n */\nexport interface SectionHeaderFieldSchema extends PropertyFieldSchema {\n type: \"sectionHeader\";\n subtitle?: string;\n}\n\n/**\n * Separator field schema for visual separation\n */\nexport interface SeparatorFieldSchema extends PropertyFieldSchema {\n type: \"separator\";\n}\n\n/**\n * Button group field schema.\n * Uses StrictOmit to ensure \"defaultValue\" key exists on PropertyFieldSchema.\n */\nexport interface ButtonGroupFieldSchema<\n T extends string | number = string | number,\n> extends StrictOmit<PropertyFieldSchema, \"defaultValue\"> {\n type: \"buttonGroup\";\n options: Array<{\n label?: string;\n ariaLabel?: string;\n icon?: LucideIcon;\n value: T;\n }>;\n defaultValue?: T;\n}\n\n/**\n * Color select field schema\n */\nexport interface ColorSelectFieldSchema extends PropertyFieldSchema {\n type: \"colorSelect\";\n defaultValue?: ColorOptions;\n excludeColors?: ColorOptions[];\n}\n\n/**\n * Section layout select field schema for visual masonry layout selector\n */\nexport interface SectionLayoutSelectFieldSchema extends PropertyFieldSchema {\n type: \"sectionLayoutSelect\";\n defaultValue?: SectionLayoutType;\n}\n\n/**\n * Background field combines resource selection and color properties.\n * Uses StrictOmit to exclude conflicting \"type\" discriminant from parents.\n */\nexport interface BackgroundFieldSchema\n extends\n StrictOmit<ResourceFieldSchema, \"type\">,\n StrictOmit<ColorFieldSchema, \"type\"> {\n type: \"background\";\n}\n\n/**\n * Content position field schema for 3x3 grid position picker\n */\nexport interface ContentPositionFieldSchema extends PropertyFieldSchema {\n type: \"contentPosition\";\n defaultValue?: string;\n}\n\n/**\n * Text size select field schema for visual font size selector\n */\nexport interface TextSizeSelectFieldSchema extends PropertyFieldSchema {\n type: \"textSizeSelect\";\n defaultValue?: FontSizeOptions;\n}\n\n/**\n * CSS unit type for height/width fields\n */\nexport type CssUnit = \"px\" | \"rem\" | \"vh\" | \"%\";\n\n/**\n * CSS unit field schema for numeric values with selectable units (px, rem, vh, %)\n */\nexport interface CssUnitFieldSchema extends PropertyFieldSchema {\n type: \"cssUnit\";\n minByUnit?: Partial<Record<CssUnit, number>>;\n maxByUnit?: Partial<Record<CssUnit, number>>;\n stepByUnit?: Partial<Record<CssUnit, number>>;\n allowedUnits?: CssUnit[];\n defaultUnit?: CssUnit;\n}\n\n/**\n * Font picker field schema for Google Fonts selection\n */\nexport interface FontPickerFieldSchema extends PropertyFieldSchema {\n type: \"fontPicker\";\n placeholder?: string;\n}\n\n/**\n * String array field schema for managing lists of text items\n */\nexport interface StringArrayFieldSchema extends PropertyFieldSchema {\n type: \"stringArray\";\n placeholder?: string;\n defaultValue?: string[];\n}\n\n/**\n * Border radius composite field schema for controlling 4 corners with a single field.\n * Maps to 4 individual widget prop keys (topLeft, topRight, bottomLeft, bottomRight).\n */\nexport interface BorderRadiusFieldSchema extends PropertyFieldSchema {\n type: \"borderRadius\";\n keys: {\n topLeft: string;\n topRight: string;\n bottomLeft: string;\n bottomRight: string;\n };\n defaultValue?: BorderRadiusOptions;\n}\n\n/**\n * Screen picker field schema for selecting a portal screen (navigation, system, or available)\n */\nexport interface ScreenPickerFieldSchema extends PropertyFieldSchema {\n type: \"screenPicker\";\n /** Whether to include system navigation items in the picker */\n includeSystemItems?: boolean;\n}\n\n/**\n * Union of all field schema types\n */\nexport type PropertyField =\n | TextFieldSchema\n | TextareaFieldSchema\n | NumberFieldSchema\n | BooleanFieldSchema\n | SelectFieldSchema<string | number>\n | ColorFieldSchema\n | RangeFieldSchema\n | DataSourceFieldSchema\n | ResourceFieldSchema\n | ImageFieldSchema\n | AlignmentFieldSchema\n | SliderFieldSchema\n | ColorPickerFieldSchema\n | SectionHeaderFieldSchema\n | SeparatorFieldSchema\n | ButtonGroupFieldSchema<string | number>\n | ColorSelectFieldSchema\n | SectionLayoutSelectFieldSchema\n | BackgroundFieldSchema\n | ContentPositionFieldSchema\n | TextSizeSelectFieldSchema\n | CssUnitFieldSchema\n | FontPickerFieldSchema\n | StringArrayFieldSchema\n | BorderRadiusFieldSchema\n | ScreenPickerFieldSchema;\n\n/**\n * Schema for per-item configuration in custom data sources.\n * Widgets can define this to allow users to configure widget-specific\n * settings for each selected item (e.g., title, description, button).\n */\nexport interface ItemConfigSchema {\n /** Fields available for per-item configuration */\n fields: PropertyField[];\n /** Optional description shown at top of item config panel */\n description?: string;\n}\n\n/**\n * Schema for a widget's editable properties\n */\nexport interface WidgetPropertySchema {\n /** Widget type this schema applies to */\n widgetType: WidgetType;\n /** Display name for the widget */\n displayName: string;\n /** Optional tab configuration - if present, tabs are enabled */\n tabsConfig?: TabConfig[];\n /** Editable property fields */\n fields: PropertyField[];\n /** Optional custom validator function */\n validate?: (props: Record<string, unknown>) => string | null;\n /** Props that can be populated from data sources */\n dataSourceTargetProps?: string[];\n /** Optional schema for per-item configurations in custom data sources */\n itemConfigSchema?: ItemConfigSchema;\n}\n\n/**\n * Registry mapping widget types to their property schemas\n */\nexport type PropertySchemaRegistry = Record<WidgetType, WidgetPropertySchema>;\n\n/**\n * Group property fields by their group property.\n *\n * Fields flagged with `advanced: true` are collected into the\n * `CUSTOM_STYLING_GROUP` bucket regardless of their declared `group`,\n * and that bucket is always placed last so it renders at the bottom of\n * the tab. Non-advanced fields keep their author-declared group and\n * their relative insertion order, including fields that explicitly use\n * `CUSTOM_STYLING_GROUP`.\n */\nexport function groupPropertyFields(\n fields: readonly PropertyField[],\n): Record<string, PropertyField[]> {\n const grouped: Record<string, PropertyField[]> = {};\n const advancedFields: PropertyField[] = [];\n\n fields.forEach((field) => {\n if (field.advanced) {\n advancedFields.push(field);\n return;\n }\n const group = field.group || \"General\";\n if (!grouped[group]) {\n grouped[group] = [];\n }\n grouped[group].push(field);\n });\n\n if (advancedFields.length > 0) {\n const customStylingFields = grouped[CUSTOM_STYLING_GROUP] ?? [];\n delete grouped[CUSTOM_STYLING_GROUP];\n grouped[CUSTOM_STYLING_GROUP] = [...customStylingFields, ...advancedFields];\n }\n\n return grouped;\n}\n\n/**\n * Extract current values from widget props based on property fields\n */\nexport function extractPropertyValues(\n widget: Readonly<WidgetSchema>,\n fields: readonly PropertyField[],\n): Record<string, unknown> {\n const values: Record<string, unknown> = {};\n\n fields.forEach((field) => {\n // For borderRadius composite fields, skip the top-level key —\n // it is a schema grouping identifier, not a real widget prop.\n if (field.type === \"borderRadius\") {\n for (const subKey of Object.values(field.keys)) {\n const subValue = widget.props[subKey];\n values[subKey] = subValue !== undefined ? subValue : field.defaultValue;\n }\n return;\n }\n\n const value = widget.props[field.key];\n values[field.key] = value !== undefined ? value : field.defaultValue;\n });\n\n return values;\n}\n\n/**\n * Apply property values to widget props\n */\nexport function applyPropertyValues(\n widget: Readonly<WidgetSchema>,\n values: Readonly<Record<string, unknown>>,\n): WidgetSchema {\n return {\n ...widget,\n props: {\n ...widget.props,\n ...values,\n },\n };\n}\n","import type {\n BorderRadiusFieldSchema,\n ButtonGroupFieldSchema,\n ColorSelectFieldSchema,\n CssUnitFieldSchema,\n TextSizeSelectFieldSchema,\n} from \"./property-schema-types\";\nimport type {\n BorderRadiusOptions,\n BorderWidthOptions,\n ColorOptions,\n FontWeightOptions,\n PaddingOptions,\n ButtonSizeOptions,\n GapOptions,\n} from \"../types\";\nimport { Ban } from \"lucide-react\";\n\nexport const getColorField = (\n props: Readonly<Omit<ColorSelectFieldSchema, \"type\">>,\n): ColorSelectFieldSchema => {\n return {\n ...props,\n type: \"colorSelect\",\n };\n};\n\nexport const getBorderRadiusField = (\n props: Readonly<\n Omit<ButtonGroupFieldSchema<BorderRadiusOptions>, \"options\" | \"type\">\n >,\n): ButtonGroupFieldSchema<BorderRadiusOptions> => {\n return {\n // Border radius inherits from the active theme by default. Mark as\n // advanced so widget-level overrides collapse into the \"Custom\n // styling\" disclosure.\n //\n // Note: `groupPropertyFields` ignores `field.group` whenever\n // `field.advanced` is true. If a widget explicitly wants this\n // control to live in its own group, pass `advanced: false`\n // alongside `group: \"...\"` to opt out.\n advanced: true,\n ...props,\n type: \"buttonGroup\",\n options: [\n { icon: Ban, ariaLabel: \"No radius\", value: \"none\" },\n { label: \"SM\", value: \"sm\" },\n { label: \"MD\", value: \"md\" },\n { label: \"LG\", value: \"lg\" },\n { label: \"XL\", value: \"xl\" },\n { label: \"FULL\", value: \"full\" },\n ],\n };\n};\n\nexport const getPaddingField = (\n props: Readonly<\n Omit<ButtonGroupFieldSchema<PaddingOptions>, \"options\" | \"type\">\n >,\n): ButtonGroupFieldSchema<PaddingOptions> => {\n return {\n // Padding follows the theme's global spacing scale by default.\n // Mark as advanced so widget-level overrides collapse into the\n // \"Custom styling\" disclosure. To keep this field in a different\n // group, pass `advanced: false` alongside `group: \"...\"`.\n advanced: true,\n ...props,\n type: \"buttonGroup\",\n options: [\n { icon: Ban, ariaLabel: \"No padding\", value: 0 },\n { label: \"SM\", value: 2 },\n { label: \"MD\", value: 4 },\n { label: \"LG\", value: 6 },\n { label: \"XL\", value: 8 },\n { label: \"FULL\", value: 10 },\n ],\n };\n};\n\nexport const getButtonSizeField = (\n props: Readonly<\n Omit<ButtonGroupFieldSchema<ButtonSizeOptions>, \"options\" | \"type\">\n >,\n): ButtonGroupFieldSchema<ButtonSizeOptions> => {\n return {\n ...props,\n type: \"buttonGroup\",\n options: [\n { label: \"SM\", value: \"sm\" },\n { label: \"MD\", value: \"default\" },\n { label: \"LG\", value: \"lg\" },\n { label: \"XL\", value: \"xl\" },\n ],\n };\n};\n\nexport const getFontWeightField = (\n props: Readonly<\n Omit<ButtonGroupFieldSchema<FontWeightOptions>, \"options\" | \"type\">\n >,\n): ButtonGroupFieldSchema<FontWeightOptions> => {\n return {\n ...props,\n type: \"buttonGroup\",\n options: [\n { label: \"Normal\", value: \"normal\" },\n { label: \"Medium\", value: \"medium\" },\n { label: \"Semibold\", value: \"semibold\" },\n { label: \"Bold\", value: \"bold\" },\n ],\n };\n};\n\nexport const getFontSizeField = (\n props: Readonly<Omit<TextSizeSelectFieldSchema, \"type\">>,\n): TextSizeSelectFieldSchema => {\n return {\n ...props,\n type: \"textSizeSelect\",\n };\n};\n\nexport const getGapField = (\n props: Readonly<Omit<ButtonGroupFieldSchema<GapOptions>, \"options\" | \"type\">>,\n): ButtonGroupFieldSchema<GapOptions> => {\n return {\n ...props,\n type: \"buttonGroup\",\n options: [\n { icon: Ban, ariaLabel: \"No gap\", value: \"none\" },\n { label: \"XS\", value: \"xs\" },\n { label: \"SM\", value: \"sm\" },\n { label: \"MD\", value: \"md\" },\n { label: \"LG\", value: \"lg\" },\n { label: \"XL\", value: \"xl\" },\n ],\n };\n};\n\nexport const getHeightField = (\n props: Readonly<\n Omit<\n CssUnitFieldSchema,\n \"type\" | \"minByUnit\" | \"maxByUnit\" | \"stepByUnit\" | \"allowedUnits\"\n >\n >,\n): CssUnitFieldSchema => {\n return {\n ...props,\n type: \"cssUnit\",\n allowedUnits: [\"px\", \"vh\", \"rem\"],\n minByUnit: { px: 10, vh: 1, rem: 1 },\n maxByUnit: { px: 1200, vh: 100, rem: 75 },\n stepByUnit: { px: 10, vh: 1, rem: 1 },\n };\n};\n\nexport const getBorderRadiusCompositeField = (\n props: Readonly<\n Omit<BorderRadiusFieldSchema, \"type\" | \"keys\"> & {\n keys?: BorderRadiusFieldSchema[\"keys\"];\n }\n >,\n): BorderRadiusFieldSchema => {\n return {\n // Per-corner radius controls are theme-derivable in the same way as\n // the simpler `getBorderRadiusField`. Pass `advanced: false`\n // alongside `group: \"...\"` to opt out of Custom Styling.\n advanced: true,\n ...props,\n type: \"borderRadius\",\n keys: props.keys ?? {\n topLeft: \"borderRadiusTL\",\n topRight: \"borderRadiusTR\",\n bottomLeft: \"borderRadiusBL\",\n bottomRight: \"borderRadiusBR\",\n },\n };\n};\n\n/**\n * Gap value mapping - use `as const satisfies` for compile-time validation\n * with literal type preservation.\n */\nexport const gapValues: {\n readonly none: 0;\n readonly xs: 1;\n readonly sm: 2;\n readonly md: 4;\n readonly lg: 6;\n readonly xl: 8;\n} = {\n none: 0,\n xs: 1,\n sm: 2,\n md: 4,\n lg: 6,\n xl: 8,\n} as const satisfies Record<GapOptions, number>;\n\nexport const getBorderWidthField = (\n props: Readonly<\n Omit<ButtonGroupFieldSchema<BorderWidthOptions>, \"options\" | \"type\">\n >,\n): ButtonGroupFieldSchema<BorderWidthOptions> => ({\n // Border width is a styling override of a theme-derivable decision.\n // Pass `advanced: false` alongside `group: \"...\"` to opt out of\n // Custom Styling.\n advanced: true,\n ...props,\n type: \"buttonGroup\",\n options: [\n { icon: Ban, ariaLabel: \"No border\", value: \"none\" },\n { label: \"THIN\", value: \"thin\" },\n { label: \"MD\", value: \"medium\" },\n { label: \"THICK\", value: \"thick\" },\n ],\n});\n\nexport const getBorderColorField: (\n props: Readonly<Omit<ColorSelectFieldSchema, \"type\">>,\n) => ColorSelectFieldSchema = getColorField;\n\n/**\n * Border width class mapping - full literal Tailwind classes for scanner.\n */\nexport const borderWidthClasses: {\n readonly none: \"border-0\";\n readonly thin: \"border\";\n readonly medium: \"border-2\";\n readonly thick: \"border-4\";\n} = {\n none: \"border-0\",\n thin: \"border\",\n medium: \"border-2\",\n thick: \"border-4\",\n} as const satisfies Record<BorderWidthOptions, string>;\n\n/**\n * Border color class mapping - full literal Tailwind classes for scanner.\n */\nexport const borderColorClasses: {\n readonly background: \"border-background\";\n readonly foreground: \"border-foreground\";\n readonly primary: \"border-primary\";\n readonly secondary: \"border-secondary\";\n readonly accent: \"border-accent\";\n readonly border: \"border-border\";\n readonly muted: \"border-muted\";\n readonly destructive: \"border-destructive\";\n readonly transparent: \"border-transparent\";\n} = {\n background: \"border-background\",\n foreground: \"border-foreground\",\n primary: \"border-primary\",\n secondary: \"border-secondary\",\n accent: \"border-accent\",\n border: \"border-border\",\n muted: \"border-muted\",\n destructive: \"border-destructive\",\n transparent: \"border-transparent\",\n} as const satisfies Record<ColorOptions, string>;\n","import {\n getBorderColorField,\n getBorderRadiusField,\n getBorderWidthField,\n getPaddingField,\n} from \"./field-helpers\";\nimport type { PropertyField } from \"./property-schema-types\";\nimport type {\n BorderRadiusOptions,\n BorderWidthOptions,\n ColorOptions,\n PaddingOptions,\n} from \"../types\";\n\nexport const DROPLET_WIDGET_SIZES = {\n auto: { label: \"Auto\", value: \"auto\", height: 400 },\n compact: { label: \"Compact\", value: \"compact\", height: 300 },\n standard: { label: \"Standard\", value: \"standard\", height: 500 },\n tall: { label: \"Tall\", value: \"tall\", height: 700 },\n \"extra-tall\": { label: \"Extra Tall\", value: \"extra-tall\", height: 900 },\n custom: { label: \"Custom\", value: \"custom\", height: 500 },\n} as const;\n\nexport type DropletWidgetSizeKey = keyof typeof DROPLET_WIDGET_SIZES;\n\nexport const DROPLET_CHROME_PROP_KEYS = [\n \"padding\",\n \"borderRadius\",\n \"borderWidth\",\n \"borderColor\",\n \"widgetSize\",\n \"customHeight\",\n \"placement\",\n] as const;\n\nexport type DropletChromePropKey = (typeof DROPLET_CHROME_PROP_KEYS)[number];\n\nconst CHROME_KEY_SET: ReadonlySet<string> = new Set(DROPLET_CHROME_PROP_KEYS);\n\nexport const DROPLET_CHROME_DEFAULTS: Readonly<\n Record<DropletChromePropKey, unknown>\n> = Object.freeze({\n padding: 0,\n borderRadius: \"md\",\n borderWidth: \"none\",\n borderColor: \"muted\",\n widgetSize: \"auto\",\n customHeight: \"500px\",\n placement: \"inline\",\n});\n\n/**\n * Resolve the configured chrome into an actual pixel height for the\n * iframe. Called by the renderer. If the size is \"auto\" the renderer\n * uses this as the initial height but lets `fluid:resize` override it.\n */\nexport function resolveDropletHeight(\n widgetSize: DropletWidgetSizeKey | string,\n customHeight: string | undefined,\n): number {\n if (widgetSize === \"custom\" && customHeight) {\n const parsed = parseInt(customHeight, 10);\n return Number.isFinite(parsed) && parsed > 0 ? parsed : 500;\n }\n const preset = DROPLET_WIDGET_SIZES[widgetSize as DropletWidgetSizeKey];\n return preset ? preset.height : 400;\n}\n\n/**\n * Translatable user-facing strings emitted by `dropletChromeFields`.\n * The host injects these via `dropletChromeFields({ labels })` so the\n * package itself doesn't depend on translation infrastructure. English\n * defaults match the legacy hardcoded labels.\n */\nexport interface DropletChromeLabels {\n readonly widgetSize?: string;\n readonly widgetSizeDescription?: string;\n readonly customHeight?: string;\n readonly customHeightDescription?: string;\n readonly padding?: string;\n readonly paddingDescription?: string;\n readonly borderRadius?: string;\n readonly borderRadiusDescription?: string;\n readonly borderWidth?: string;\n readonly borderWidthDescription?: string;\n readonly borderColor?: string;\n readonly borderColorDescription?: string;\n readonly sizes?: {\n readonly auto?: string;\n readonly compact?: string;\n readonly standard?: string;\n readonly tall?: string;\n readonly extraTall?: string;\n readonly custom?: string;\n };\n}\n\nconst DEFAULT_CHROME_LABELS: Required<Omit<DropletChromeLabels, \"sizes\">> & {\n sizes: Required<NonNullable<DropletChromeLabels[\"sizes\"]>>;\n} = {\n widgetSize: \"Widget Size\",\n widgetSizeDescription:\n 'How tall the widget appears. \"Auto\" lets the widget resize itself.',\n customHeight: \"Custom Height\",\n customHeightDescription: \"Height in px (e.g. 600).\",\n padding: \"Padding\",\n paddingDescription: \"Padding around the widget.\",\n borderRadius: \"Border Radius\",\n borderRadiusDescription: \"Rounding applied to the widget container.\",\n borderWidth: \"Border Width\",\n borderWidthDescription: \"Border thickness around the widget.\",\n borderColor: \"Border Color\",\n borderColorDescription: \"Border color when border width is set.\",\n sizes: {\n auto: \"Auto\",\n compact: \"Compact\",\n standard: \"Standard\",\n tall: \"Tall\",\n extraTall: \"Extra Tall\",\n custom: \"Custom\",\n },\n};\n\nexport function dropletChromeFields(options?: {\n readonly labels?: DropletChromeLabels;\n}): PropertyField[] {\n const labels: typeof DEFAULT_CHROME_LABELS = {\n ...DEFAULT_CHROME_LABELS,\n ...options?.labels,\n sizes: { ...DEFAULT_CHROME_LABELS.sizes, ...options?.labels?.sizes },\n };\n\n const sizeOptions = [\n { label: labels.sizes.auto, value: \"auto\" },\n { label: labels.sizes.compact, value: \"compact\" },\n { label: labels.sizes.standard, value: \"standard\" },\n { label: labels.sizes.tall, value: \"tall\" },\n { label: labels.sizes.extraTall, value: \"extra-tall\" },\n { label: labels.sizes.custom, value: \"custom\" },\n ];\n\n return [\n {\n key: \"widgetSize\",\n label: labels.widgetSize,\n type: \"select\",\n description: labels.widgetSizeDescription,\n defaultValue: \"auto\",\n group: \"Design\",\n options: sizeOptions,\n },\n {\n key: \"customHeight\",\n label: labels.customHeight,\n type: \"text\",\n description: labels.customHeightDescription,\n defaultValue: \"500\",\n group: \"Design\",\n requiresKeyValue: { key: \"widgetSize\", value: \"custom\" },\n },\n getPaddingField({\n key: \"padding\",\n label: labels.padding,\n description: labels.paddingDescription,\n defaultValue: DROPLET_CHROME_DEFAULTS.padding as 0,\n group: \"Design\",\n }),\n getBorderRadiusField({\n key: \"borderRadius\",\n label: labels.borderRadius,\n description: labels.borderRadiusDescription,\n defaultValue: \"md\",\n group: \"Design\",\n }),\n getBorderWidthField({\n key: \"borderWidth\",\n label: labels.borderWidth,\n description: labels.borderWidthDescription,\n defaultValue: \"none\",\n group: \"Design\",\n }),\n getBorderColorField({\n key: \"borderColor\",\n label: labels.borderColor,\n description: labels.borderColorDescription,\n defaultValue: \"muted\",\n group: \"Design\",\n }),\n ];\n}\n\nexport function isDropletChromeKey(key: string): key is DropletChromePropKey {\n return CHROME_KEY_SET.has(key);\n}\n\nexport function splitDropletProps(props: Readonly<Record<string, unknown>>): {\n chrome: Record<DropletChromePropKey, unknown>;\n forwarded: Record<string, unknown>;\n} {\n const chrome = { ...DROPLET_CHROME_DEFAULTS } as Record<\n DropletChromePropKey,\n unknown\n >;\n const forwarded: Record<string, unknown> = {};\n for (const [key, value] of Object.entries(props)) {\n if (isDropletChromeKey(key)) {\n chrome[key] = value;\n } else {\n forwarded[key] = value;\n }\n }\n return { chrome, forwarded };\n}\n\nconst VALID_PADDINGS = new Set<PaddingOptions>([0, 2, 4, 6, 8, 10]);\nconst VALID_BORDER_RADII = new Set<BorderRadiusOptions>([\n \"none\",\n \"sm\",\n \"md\",\n \"lg\",\n \"xl\",\n \"full\",\n]);\nconst VALID_BORDER_WIDTHS = new Set<BorderWidthOptions>([\n \"none\",\n \"thin\",\n \"medium\",\n \"thick\",\n]);\nconst VALID_BORDER_COLORS = new Set<ColorOptions>([\n \"primary\",\n \"secondary\",\n \"muted\",\n \"accent\",\n \"destructive\",\n]);\n\n/**\n * Validated chrome shape — every field is guaranteed to be a valid\n * option, never `unknown`. Out-of-vocabulary or missing values fall\n * back to the matching default in DROPLET_CHROME_DEFAULTS.\n */\nexport interface ParsedDropletChrome {\n readonly padding: PaddingOptions;\n readonly borderRadius: BorderRadiusOptions;\n readonly borderWidth: BorderWidthOptions;\n readonly borderColor: ColorOptions;\n readonly widgetSize: string;\n readonly customHeight: string | undefined;\n}\n\n/**\n * Parse the unvalidated chrome bag from `splitDropletProps` into a\n * typed shape with runtime-validated values. Replaces ad-hoc `as`\n * casts at the renderer call site so a stale persisted props object\n * (e.g. an enum value renamed across versions) cannot silently produce\n * an undefined Tailwind-class lookup.\n */\nexport function parseDropletChrome(\n chrome: Readonly<Record<DropletChromePropKey, unknown>>,\n): ParsedDropletChrome {\n return {\n padding: VALID_PADDINGS.has(chrome.padding as PaddingOptions)\n ? (chrome.padding as PaddingOptions)\n : 0,\n borderRadius: VALID_BORDER_RADII.has(\n chrome.borderRadius as BorderRadiusOptions,\n )\n ? (chrome.borderRadius as BorderRadiusOptions)\n : \"md\",\n borderWidth: VALID_BORDER_WIDTHS.has(\n chrome.borderWidth as BorderWidthOptions,\n )\n ? (chrome.borderWidth as BorderWidthOptions)\n : \"none\",\n borderColor: VALID_BORDER_COLORS.has(chrome.borderColor as ColorOptions)\n ? (chrome.borderColor as ColorOptions)\n : \"muted\",\n widgetSize:\n typeof chrome.widgetSize === \"string\" ? chrome.widgetSize : \"auto\",\n customHeight:\n typeof chrome.customHeight === \"string\" ? chrome.customHeight : undefined,\n };\n}\n"],"mappings":"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"}
@@ -303,6 +303,15 @@ const borderColorClasses = {
303
303
  destructive: "border-destructive",
304
304
  transparent: "border-transparent"
305
305
  };
306
+ Object.freeze({
307
+ padding: 0,
308
+ borderRadius: "md",
309
+ borderWidth: "none",
310
+ borderColor: "muted",
311
+ widgetSize: "auto",
312
+ customHeight: "500px",
313
+ placement: "inline"
314
+ });
306
315
  //#endregion
307
316
  Object.defineProperty(exports, "PROPERTY_FIELD_TYPES", {
308
317
  enumerable: true,
@@ -401,4 +410,4 @@ Object.defineProperty(exports, "isPropertyFieldType", {
401
410
  }
402
411
  });
403
412
 
404
- //# sourceMappingURL=registries-DBb6VjAX.cjs.map
413
+ //# sourceMappingURL=registries-CVsthTnW.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registries-CVsthTnW.cjs","names":["Ban"],"sources":["../../core/src/registries/property-schema-types.ts","../../core/src/registries/field-helpers.ts","../../core/src/registries/droplet-widget-chrome.ts"],"sourcesContent":["import type { LucideIcon } from \"lucide-react\";\nimport type {\n WidgetType,\n WidgetSchema,\n AlignOptions,\n ColorOptions,\n FontSizeOptions,\n SectionLayoutType,\n StrictOmit,\n BorderRadiusOptions,\n} from \"../types\";\n\n/**\n * Tab configuration for organizing properties\n */\nexport interface TabConfig {\n /** Unique identifier for the tab */\n id: string;\n /** Display label for the tab */\n label: string;\n}\n\n// ============================================================================\n// Property Field Types - Derive from constant for single source of truth\n// ============================================================================\n\n/**\n * Property field type constant - single source of truth for field types.\n * Use PROPERTY_FIELD_TYPES.text instead of \"text\" for type-safe comparisons.\n */\nexport const PROPERTY_FIELD_TYPES = {\n text: \"text\",\n textarea: \"textarea\",\n number: \"number\",\n boolean: \"boolean\",\n select: \"select\",\n color: \"color\",\n range: \"range\",\n dataSource: \"dataSource\",\n resource: \"resource\",\n image: \"image\",\n alignment: \"alignment\",\n slider: \"slider\",\n colorPicker: \"colorPicker\",\n sectionHeader: \"sectionHeader\",\n separator: \"separator\",\n buttonGroup: \"buttonGroup\",\n colorSelect: \"colorSelect\",\n sectionLayoutSelect: \"sectionLayoutSelect\",\n background: \"background\",\n contentPosition: \"contentPosition\",\n textSizeSelect: \"textSizeSelect\",\n cssUnit: \"cssUnit\",\n fontPicker: \"fontPicker\",\n stringArray: \"stringArray\",\n borderRadius: \"borderRadius\",\n screenPicker: \"screenPicker\",\n} as const;\n\n/**\n * Union type of all property field types, derived from PROPERTY_FIELD_TYPES constant.\n * @see deriving-typeof-for-object-keys pattern\n */\nexport type PropertyFieldType =\n (typeof PROPERTY_FIELD_TYPES)[keyof typeof PROPERTY_FIELD_TYPES];\n\n/**\n * Runtime validation for property field types.\n * @param value - The value to check\n * @returns true if value is a valid PropertyFieldType\n */\nexport function isPropertyFieldType(value: string): value is PropertyFieldType {\n return Object.values(PROPERTY_FIELD_TYPES).includes(\n value as PropertyFieldType,\n );\n}\n\n/**\n * Group label for fields that override theme-derived styling.\n * Rendered last within a tab and collapsed by default so the primary\n * configuration surface stays clean.\n */\nexport const CUSTOM_STYLING_GROUP = \"Custom styling\";\n\n/**\n * Base schema for a property field\n */\nexport interface PropertyFieldSchema {\n /** Property key in the widget props */\n key: string;\n /** Display label for the field */\n label: string;\n /** Field type determines the input control */\n type: PropertyFieldType;\n /** Optional description/help text */\n description?: string;\n /** Optional default value */\n defaultValue?: unknown;\n /** Optional tab ID (must match a TabConfig id if widget has tabsConfig) */\n tab?: string;\n /** Optional group for organizing fields within a tab */\n group?: string;\n /**\n * When true, this field is treated as an override of a value that can\n * otherwise be inherited from the active theme (e.g. border radius,\n * padding, border width). Advanced fields are automatically bucketed\n * into the `CUSTOM_STYLING_GROUP` at the bottom of their tab and\n * rendered collapsed by default so the default surface area stays\n * minimal.\n */\n advanced?: boolean;\n /**\n * @deprecated Use requiresKeyValue instead\n */\n requiresKeyToBeTrue?: string;\n /** Optional requires a specific key to have a specific value. Supports single condition or array (AND logic). */\n requiresKeyValue?:\n | { key: string; value: unknown }\n | Array<{ key: string; value: unknown }>;\n}\n\n/**\n * Text field schema\n */\nexport interface TextFieldSchema extends PropertyFieldSchema {\n type: \"text\";\n placeholder?: string;\n maxLength?: number;\n}\n\n/**\n * Textarea field schema\n */\nexport interface TextareaFieldSchema extends PropertyFieldSchema {\n type: \"textarea\";\n placeholder?: string;\n rows?: number;\n maxLength?: number;\n}\n\n/**\n * Number field schema\n */\nexport interface NumberFieldSchema extends PropertyFieldSchema {\n type: \"number\";\n min?: number;\n max?: number;\n step?: number;\n}\n\n/**\n * Boolean field schema\n */\nexport interface BooleanFieldSchema extends PropertyFieldSchema {\n type: \"boolean\";\n}\n\n/**\n * Select field schema with type-safe option values.\n * Uses StrictOmit to ensure \"defaultValue\" key exists on PropertyFieldSchema.\n */\nexport interface SelectFieldSchema<\n T extends string | number = string | number,\n> extends StrictOmit<PropertyFieldSchema, \"defaultValue\"> {\n type: \"select\";\n options: Array<{ label: string; value: T }>;\n defaultValue?: T;\n}\n\n/**\n * Color field schema\n */\nexport interface ColorFieldSchema extends PropertyFieldSchema {\n type: \"color\";\n}\n\n/**\n * Range slider field schema\n */\nexport interface RangeFieldSchema extends PropertyFieldSchema {\n type: \"range\";\n min: number;\n max: number;\n step?: number;\n}\n\n/**\n * Data source field schema for configuring widget data sources\n */\nexport interface DataSourceFieldSchema extends PropertyFieldSchema {\n type: \"dataSource\";\n}\n\n/**\n * Resource field schema for selecting a single resource from the selection modal\n */\nexport interface ResourceFieldSchema extends PropertyFieldSchema {\n type: \"resource\";\n /** Optional filter to specific shareable types */\n allowedTypes?: string[];\n}\n\n/**\n * Image field schema for selecting a single image from the image picker\n */\nexport interface ImageFieldSchema extends PropertyFieldSchema {\n type: \"image\";\n}\n\n/**\n * Alignment field schema\n */\nexport interface AlignmentFieldSchema extends PropertyFieldSchema {\n type: \"alignment\";\n options: {\n verticalEnabled: boolean;\n horizontalEnabled: boolean;\n };\n defaultValue?: AlignOptions;\n}\n\n/**\n * Slider field schema with optional unit suffix (e.g., \"rem\", \"px\")\n */\nexport interface SliderFieldSchema extends PropertyFieldSchema {\n type: \"slider\";\n min: number;\n max: number;\n step?: number;\n unit?: string;\n}\n\n/**\n * Color picker field schema with optional swatches\n */\nexport interface ColorPickerFieldSchema extends PropertyFieldSchema {\n type: \"colorPicker\";\n swatches?: string[];\n}\n\n/**\n * Section header field schema for visual grouping\n */\nexport interface SectionHeaderFieldSchema extends PropertyFieldSchema {\n type: \"sectionHeader\";\n subtitle?: string;\n}\n\n/**\n * Separator field schema for visual separation\n */\nexport interface SeparatorFieldSchema extends PropertyFieldSchema {\n type: \"separator\";\n}\n\n/**\n * Button group field schema.\n * Uses StrictOmit to ensure \"defaultValue\" key exists on PropertyFieldSchema.\n */\nexport interface ButtonGroupFieldSchema<\n T extends string | number = string | number,\n> extends StrictOmit<PropertyFieldSchema, \"defaultValue\"> {\n type: \"buttonGroup\";\n options: Array<{\n label?: string;\n ariaLabel?: string;\n icon?: LucideIcon;\n value: T;\n }>;\n defaultValue?: T;\n}\n\n/**\n * Color select field schema\n */\nexport interface ColorSelectFieldSchema extends PropertyFieldSchema {\n type: \"colorSelect\";\n defaultValue?: ColorOptions;\n excludeColors?: ColorOptions[];\n}\n\n/**\n * Section layout select field schema for visual masonry layout selector\n */\nexport interface SectionLayoutSelectFieldSchema extends PropertyFieldSchema {\n type: \"sectionLayoutSelect\";\n defaultValue?: SectionLayoutType;\n}\n\n/**\n * Background field combines resource selection and color properties.\n * Uses StrictOmit to exclude conflicting \"type\" discriminant from parents.\n */\nexport interface BackgroundFieldSchema\n extends\n StrictOmit<ResourceFieldSchema, \"type\">,\n StrictOmit<ColorFieldSchema, \"type\"> {\n type: \"background\";\n}\n\n/**\n * Content position field schema for 3x3 grid position picker\n */\nexport interface ContentPositionFieldSchema extends PropertyFieldSchema {\n type: \"contentPosition\";\n defaultValue?: string;\n}\n\n/**\n * Text size select field schema for visual font size selector\n */\nexport interface TextSizeSelectFieldSchema extends PropertyFieldSchema {\n type: \"textSizeSelect\";\n defaultValue?: FontSizeOptions;\n}\n\n/**\n * CSS unit type for height/width fields\n */\nexport type CssUnit = \"px\" | \"rem\" | \"vh\" | \"%\";\n\n/**\n * CSS unit field schema for numeric values with selectable units (px, rem, vh, %)\n */\nexport interface CssUnitFieldSchema extends PropertyFieldSchema {\n type: \"cssUnit\";\n minByUnit?: Partial<Record<CssUnit, number>>;\n maxByUnit?: Partial<Record<CssUnit, number>>;\n stepByUnit?: Partial<Record<CssUnit, number>>;\n allowedUnits?: CssUnit[];\n defaultUnit?: CssUnit;\n}\n\n/**\n * Font picker field schema for Google Fonts selection\n */\nexport interface FontPickerFieldSchema extends PropertyFieldSchema {\n type: \"fontPicker\";\n placeholder?: string;\n}\n\n/**\n * String array field schema for managing lists of text items\n */\nexport interface StringArrayFieldSchema extends PropertyFieldSchema {\n type: \"stringArray\";\n placeholder?: string;\n defaultValue?: string[];\n}\n\n/**\n * Border radius composite field schema for controlling 4 corners with a single field.\n * Maps to 4 individual widget prop keys (topLeft, topRight, bottomLeft, bottomRight).\n */\nexport interface BorderRadiusFieldSchema extends PropertyFieldSchema {\n type: \"borderRadius\";\n keys: {\n topLeft: string;\n topRight: string;\n bottomLeft: string;\n bottomRight: string;\n };\n defaultValue?: BorderRadiusOptions;\n}\n\n/**\n * Screen picker field schema for selecting a portal screen (navigation, system, or available)\n */\nexport interface ScreenPickerFieldSchema extends PropertyFieldSchema {\n type: \"screenPicker\";\n /** Whether to include system navigation items in the picker */\n includeSystemItems?: boolean;\n}\n\n/**\n * Union of all field schema types\n */\nexport type PropertyField =\n | TextFieldSchema\n | TextareaFieldSchema\n | NumberFieldSchema\n | BooleanFieldSchema\n | SelectFieldSchema<string | number>\n | ColorFieldSchema\n | RangeFieldSchema\n | DataSourceFieldSchema\n | ResourceFieldSchema\n | ImageFieldSchema\n | AlignmentFieldSchema\n | SliderFieldSchema\n | ColorPickerFieldSchema\n | SectionHeaderFieldSchema\n | SeparatorFieldSchema\n | ButtonGroupFieldSchema<string | number>\n | ColorSelectFieldSchema\n | SectionLayoutSelectFieldSchema\n | BackgroundFieldSchema\n | ContentPositionFieldSchema\n | TextSizeSelectFieldSchema\n | CssUnitFieldSchema\n | FontPickerFieldSchema\n | StringArrayFieldSchema\n | BorderRadiusFieldSchema\n | ScreenPickerFieldSchema;\n\n/**\n * Schema for per-item configuration in custom data sources.\n * Widgets can define this to allow users to configure widget-specific\n * settings for each selected item (e.g., title, description, button).\n */\nexport interface ItemConfigSchema {\n /** Fields available for per-item configuration */\n fields: PropertyField[];\n /** Optional description shown at top of item config panel */\n description?: string;\n}\n\n/**\n * Schema for a widget's editable properties\n */\nexport interface WidgetPropertySchema {\n /** Widget type this schema applies to */\n widgetType: WidgetType;\n /** Display name for the widget */\n displayName: string;\n /** Optional tab configuration - if present, tabs are enabled */\n tabsConfig?: TabConfig[];\n /** Editable property fields */\n fields: PropertyField[];\n /** Optional custom validator function */\n validate?: (props: Record<string, unknown>) => string | null;\n /** Props that can be populated from data sources */\n dataSourceTargetProps?: string[];\n /** Optional schema for per-item configurations in custom data sources */\n itemConfigSchema?: ItemConfigSchema;\n}\n\n/**\n * Registry mapping widget types to their property schemas\n */\nexport type PropertySchemaRegistry = Record<WidgetType, WidgetPropertySchema>;\n\n/**\n * Group property fields by their group property.\n *\n * Fields flagged with `advanced: true` are collected into the\n * `CUSTOM_STYLING_GROUP` bucket regardless of their declared `group`,\n * and that bucket is always placed last so it renders at the bottom of\n * the tab. Non-advanced fields keep their author-declared group and\n * their relative insertion order, including fields that explicitly use\n * `CUSTOM_STYLING_GROUP`.\n */\nexport function groupPropertyFields(\n fields: readonly PropertyField[],\n): Record<string, PropertyField[]> {\n const grouped: Record<string, PropertyField[]> = {};\n const advancedFields: PropertyField[] = [];\n\n fields.forEach((field) => {\n if (field.advanced) {\n advancedFields.push(field);\n return;\n }\n const group = field.group || \"General\";\n if (!grouped[group]) {\n grouped[group] = [];\n }\n grouped[group].push(field);\n });\n\n if (advancedFields.length > 0) {\n const customStylingFields = grouped[CUSTOM_STYLING_GROUP] ?? [];\n delete grouped[CUSTOM_STYLING_GROUP];\n grouped[CUSTOM_STYLING_GROUP] = [...customStylingFields, ...advancedFields];\n }\n\n return grouped;\n}\n\n/**\n * Extract current values from widget props based on property fields\n */\nexport function extractPropertyValues(\n widget: Readonly<WidgetSchema>,\n fields: readonly PropertyField[],\n): Record<string, unknown> {\n const values: Record<string, unknown> = {};\n\n fields.forEach((field) => {\n // For borderRadius composite fields, skip the top-level key —\n // it is a schema grouping identifier, not a real widget prop.\n if (field.type === \"borderRadius\") {\n for (const subKey of Object.values(field.keys)) {\n const subValue = widget.props[subKey];\n values[subKey] = subValue !== undefined ? subValue : field.defaultValue;\n }\n return;\n }\n\n const value = widget.props[field.key];\n values[field.key] = value !== undefined ? value : field.defaultValue;\n });\n\n return values;\n}\n\n/**\n * Apply property values to widget props\n */\nexport function applyPropertyValues(\n widget: Readonly<WidgetSchema>,\n values: Readonly<Record<string, unknown>>,\n): WidgetSchema {\n return {\n ...widget,\n props: {\n ...widget.props,\n ...values,\n },\n };\n}\n","import type {\n BorderRadiusFieldSchema,\n ButtonGroupFieldSchema,\n ColorSelectFieldSchema,\n CssUnitFieldSchema,\n TextSizeSelectFieldSchema,\n} from \"./property-schema-types\";\nimport type {\n BorderRadiusOptions,\n BorderWidthOptions,\n ColorOptions,\n FontWeightOptions,\n PaddingOptions,\n ButtonSizeOptions,\n GapOptions,\n} from \"../types\";\nimport { Ban } from \"lucide-react\";\n\nexport const getColorField = (\n props: Readonly<Omit<ColorSelectFieldSchema, \"type\">>,\n): ColorSelectFieldSchema => {\n return {\n ...props,\n type: \"colorSelect\",\n };\n};\n\nexport const getBorderRadiusField = (\n props: Readonly<\n Omit<ButtonGroupFieldSchema<BorderRadiusOptions>, \"options\" | \"type\">\n >,\n): ButtonGroupFieldSchema<BorderRadiusOptions> => {\n return {\n // Border radius inherits from the active theme by default. Mark as\n // advanced so widget-level overrides collapse into the \"Custom\n // styling\" disclosure.\n //\n // Note: `groupPropertyFields` ignores `field.group` whenever\n // `field.advanced` is true. If a widget explicitly wants this\n // control to live in its own group, pass `advanced: false`\n // alongside `group: \"...\"` to opt out.\n advanced: true,\n ...props,\n type: \"buttonGroup\",\n options: [\n { icon: Ban, ariaLabel: \"No radius\", value: \"none\" },\n { label: \"SM\", value: \"sm\" },\n { label: \"MD\", value: \"md\" },\n { label: \"LG\", value: \"lg\" },\n { label: \"XL\", value: \"xl\" },\n { label: \"FULL\", value: \"full\" },\n ],\n };\n};\n\nexport const getPaddingField = (\n props: Readonly<\n Omit<ButtonGroupFieldSchema<PaddingOptions>, \"options\" | \"type\">\n >,\n): ButtonGroupFieldSchema<PaddingOptions> => {\n return {\n // Padding follows the theme's global spacing scale by default.\n // Mark as advanced so widget-level overrides collapse into the\n // \"Custom styling\" disclosure. To keep this field in a different\n // group, pass `advanced: false` alongside `group: \"...\"`.\n advanced: true,\n ...props,\n type: \"buttonGroup\",\n options: [\n { icon: Ban, ariaLabel: \"No padding\", value: 0 },\n { label: \"SM\", value: 2 },\n { label: \"MD\", value: 4 },\n { label: \"LG\", value: 6 },\n { label: \"XL\", value: 8 },\n { label: \"FULL\", value: 10 },\n ],\n };\n};\n\nexport const getButtonSizeField = (\n props: Readonly<\n Omit<ButtonGroupFieldSchema<ButtonSizeOptions>, \"options\" | \"type\">\n >,\n): ButtonGroupFieldSchema<ButtonSizeOptions> => {\n return {\n ...props,\n type: \"buttonGroup\",\n options: [\n { label: \"SM\", value: \"sm\" },\n { label: \"MD\", value: \"default\" },\n { label: \"LG\", value: \"lg\" },\n { label: \"XL\", value: \"xl\" },\n ],\n };\n};\n\nexport const getFontWeightField = (\n props: Readonly<\n Omit<ButtonGroupFieldSchema<FontWeightOptions>, \"options\" | \"type\">\n >,\n): ButtonGroupFieldSchema<FontWeightOptions> => {\n return {\n ...props,\n type: \"buttonGroup\",\n options: [\n { label: \"Normal\", value: \"normal\" },\n { label: \"Medium\", value: \"medium\" },\n { label: \"Semibold\", value: \"semibold\" },\n { label: \"Bold\", value: \"bold\" },\n ],\n };\n};\n\nexport const getFontSizeField = (\n props: Readonly<Omit<TextSizeSelectFieldSchema, \"type\">>,\n): TextSizeSelectFieldSchema => {\n return {\n ...props,\n type: \"textSizeSelect\",\n };\n};\n\nexport const getGapField = (\n props: Readonly<Omit<ButtonGroupFieldSchema<GapOptions>, \"options\" | \"type\">>,\n): ButtonGroupFieldSchema<GapOptions> => {\n return {\n ...props,\n type: \"buttonGroup\",\n options: [\n { icon: Ban, ariaLabel: \"No gap\", value: \"none\" },\n { label: \"XS\", value: \"xs\" },\n { label: \"SM\", value: \"sm\" },\n { label: \"MD\", value: \"md\" },\n { label: \"LG\", value: \"lg\" },\n { label: \"XL\", value: \"xl\" },\n ],\n };\n};\n\nexport const getHeightField = (\n props: Readonly<\n Omit<\n CssUnitFieldSchema,\n \"type\" | \"minByUnit\" | \"maxByUnit\" | \"stepByUnit\" | \"allowedUnits\"\n >\n >,\n): CssUnitFieldSchema => {\n return {\n ...props,\n type: \"cssUnit\",\n allowedUnits: [\"px\", \"vh\", \"rem\"],\n minByUnit: { px: 10, vh: 1, rem: 1 },\n maxByUnit: { px: 1200, vh: 100, rem: 75 },\n stepByUnit: { px: 10, vh: 1, rem: 1 },\n };\n};\n\nexport const getBorderRadiusCompositeField = (\n props: Readonly<\n Omit<BorderRadiusFieldSchema, \"type\" | \"keys\"> & {\n keys?: BorderRadiusFieldSchema[\"keys\"];\n }\n >,\n): BorderRadiusFieldSchema => {\n return {\n // Per-corner radius controls are theme-derivable in the same way as\n // the simpler `getBorderRadiusField`. Pass `advanced: false`\n // alongside `group: \"...\"` to opt out of Custom Styling.\n advanced: true,\n ...props,\n type: \"borderRadius\",\n keys: props.keys ?? {\n topLeft: \"borderRadiusTL\",\n topRight: \"borderRadiusTR\",\n bottomLeft: \"borderRadiusBL\",\n bottomRight: \"borderRadiusBR\",\n },\n };\n};\n\n/**\n * Gap value mapping - use `as const satisfies` for compile-time validation\n * with literal type preservation.\n */\nexport const gapValues: {\n readonly none: 0;\n readonly xs: 1;\n readonly sm: 2;\n readonly md: 4;\n readonly lg: 6;\n readonly xl: 8;\n} = {\n none: 0,\n xs: 1,\n sm: 2,\n md: 4,\n lg: 6,\n xl: 8,\n} as const satisfies Record<GapOptions, number>;\n\nexport const getBorderWidthField = (\n props: Readonly<\n Omit<ButtonGroupFieldSchema<BorderWidthOptions>, \"options\" | \"type\">\n >,\n): ButtonGroupFieldSchema<BorderWidthOptions> => ({\n // Border width is a styling override of a theme-derivable decision.\n // Pass `advanced: false` alongside `group: \"...\"` to opt out of\n // Custom Styling.\n advanced: true,\n ...props,\n type: \"buttonGroup\",\n options: [\n { icon: Ban, ariaLabel: \"No border\", value: \"none\" },\n { label: \"THIN\", value: \"thin\" },\n { label: \"MD\", value: \"medium\" },\n { label: \"THICK\", value: \"thick\" },\n ],\n});\n\nexport const getBorderColorField: (\n props: Readonly<Omit<ColorSelectFieldSchema, \"type\">>,\n) => ColorSelectFieldSchema = getColorField;\n\n/**\n * Border width class mapping - full literal Tailwind classes for scanner.\n */\nexport const borderWidthClasses: {\n readonly none: \"border-0\";\n readonly thin: \"border\";\n readonly medium: \"border-2\";\n readonly thick: \"border-4\";\n} = {\n none: \"border-0\",\n thin: \"border\",\n medium: \"border-2\",\n thick: \"border-4\",\n} as const satisfies Record<BorderWidthOptions, string>;\n\n/**\n * Border color class mapping - full literal Tailwind classes for scanner.\n */\nexport const borderColorClasses: {\n readonly background: \"border-background\";\n readonly foreground: \"border-foreground\";\n readonly primary: \"border-primary\";\n readonly secondary: \"border-secondary\";\n readonly accent: \"border-accent\";\n readonly border: \"border-border\";\n readonly muted: \"border-muted\";\n readonly destructive: \"border-destructive\";\n readonly transparent: \"border-transparent\";\n} = {\n background: \"border-background\",\n foreground: \"border-foreground\",\n primary: \"border-primary\",\n secondary: \"border-secondary\",\n accent: \"border-accent\",\n border: \"border-border\",\n muted: \"border-muted\",\n destructive: \"border-destructive\",\n transparent: \"border-transparent\",\n} as const satisfies Record<ColorOptions, string>;\n","import {\n getBorderColorField,\n getBorderRadiusField,\n getBorderWidthField,\n getPaddingField,\n} from \"./field-helpers\";\nimport type { PropertyField } from \"./property-schema-types\";\nimport type {\n BorderRadiusOptions,\n BorderWidthOptions,\n ColorOptions,\n PaddingOptions,\n} from \"../types\";\n\nexport const DROPLET_WIDGET_SIZES = {\n auto: { label: \"Auto\", value: \"auto\", height: 400 },\n compact: { label: \"Compact\", value: \"compact\", height: 300 },\n standard: { label: \"Standard\", value: \"standard\", height: 500 },\n tall: { label: \"Tall\", value: \"tall\", height: 700 },\n \"extra-tall\": { label: \"Extra Tall\", value: \"extra-tall\", height: 900 },\n custom: { label: \"Custom\", value: \"custom\", height: 500 },\n} as const;\n\nexport type DropletWidgetSizeKey = keyof typeof DROPLET_WIDGET_SIZES;\n\nexport const DROPLET_CHROME_PROP_KEYS = [\n \"padding\",\n \"borderRadius\",\n \"borderWidth\",\n \"borderColor\",\n \"widgetSize\",\n \"customHeight\",\n \"placement\",\n] as const;\n\nexport type DropletChromePropKey = (typeof DROPLET_CHROME_PROP_KEYS)[number];\n\nconst CHROME_KEY_SET: ReadonlySet<string> = new Set(DROPLET_CHROME_PROP_KEYS);\n\nexport const DROPLET_CHROME_DEFAULTS: Readonly<\n Record<DropletChromePropKey, unknown>\n> = Object.freeze({\n padding: 0,\n borderRadius: \"md\",\n borderWidth: \"none\",\n borderColor: \"muted\",\n widgetSize: \"auto\",\n customHeight: \"500px\",\n placement: \"inline\",\n});\n\n/**\n * Resolve the configured chrome into an actual pixel height for the\n * iframe. Called by the renderer. If the size is \"auto\" the renderer\n * uses this as the initial height but lets `fluid:resize` override it.\n */\nexport function resolveDropletHeight(\n widgetSize: DropletWidgetSizeKey | string,\n customHeight: string | undefined,\n): number {\n if (widgetSize === \"custom\" && customHeight) {\n const parsed = parseInt(customHeight, 10);\n return Number.isFinite(parsed) && parsed > 0 ? parsed : 500;\n }\n const preset = DROPLET_WIDGET_SIZES[widgetSize as DropletWidgetSizeKey];\n return preset ? preset.height : 400;\n}\n\n/**\n * Translatable user-facing strings emitted by `dropletChromeFields`.\n * The host injects these via `dropletChromeFields({ labels })` so the\n * package itself doesn't depend on translation infrastructure. English\n * defaults match the legacy hardcoded labels.\n */\nexport interface DropletChromeLabels {\n readonly widgetSize?: string;\n readonly widgetSizeDescription?: string;\n readonly customHeight?: string;\n readonly customHeightDescription?: string;\n readonly padding?: string;\n readonly paddingDescription?: string;\n readonly borderRadius?: string;\n readonly borderRadiusDescription?: string;\n readonly borderWidth?: string;\n readonly borderWidthDescription?: string;\n readonly borderColor?: string;\n readonly borderColorDescription?: string;\n readonly sizes?: {\n readonly auto?: string;\n readonly compact?: string;\n readonly standard?: string;\n readonly tall?: string;\n readonly extraTall?: string;\n readonly custom?: string;\n };\n}\n\nconst DEFAULT_CHROME_LABELS: Required<Omit<DropletChromeLabels, \"sizes\">> & {\n sizes: Required<NonNullable<DropletChromeLabels[\"sizes\"]>>;\n} = {\n widgetSize: \"Widget Size\",\n widgetSizeDescription:\n 'How tall the widget appears. \"Auto\" lets the widget resize itself.',\n customHeight: \"Custom Height\",\n customHeightDescription: \"Height in px (e.g. 600).\",\n padding: \"Padding\",\n paddingDescription: \"Padding around the widget.\",\n borderRadius: \"Border Radius\",\n borderRadiusDescription: \"Rounding applied to the widget container.\",\n borderWidth: \"Border Width\",\n borderWidthDescription: \"Border thickness around the widget.\",\n borderColor: \"Border Color\",\n borderColorDescription: \"Border color when border width is set.\",\n sizes: {\n auto: \"Auto\",\n compact: \"Compact\",\n standard: \"Standard\",\n tall: \"Tall\",\n extraTall: \"Extra Tall\",\n custom: \"Custom\",\n },\n};\n\nexport function dropletChromeFields(options?: {\n readonly labels?: DropletChromeLabels;\n}): PropertyField[] {\n const labels: typeof DEFAULT_CHROME_LABELS = {\n ...DEFAULT_CHROME_LABELS,\n ...options?.labels,\n sizes: { ...DEFAULT_CHROME_LABELS.sizes, ...options?.labels?.sizes },\n };\n\n const sizeOptions = [\n { label: labels.sizes.auto, value: \"auto\" },\n { label: labels.sizes.compact, value: \"compact\" },\n { label: labels.sizes.standard, value: \"standard\" },\n { label: labels.sizes.tall, value: \"tall\" },\n { label: labels.sizes.extraTall, value: \"extra-tall\" },\n { label: labels.sizes.custom, value: \"custom\" },\n ];\n\n return [\n {\n key: \"widgetSize\",\n label: labels.widgetSize,\n type: \"select\",\n description: labels.widgetSizeDescription,\n defaultValue: \"auto\",\n group: \"Design\",\n options: sizeOptions,\n },\n {\n key: \"customHeight\",\n label: labels.customHeight,\n type: \"text\",\n description: labels.customHeightDescription,\n defaultValue: \"500\",\n group: \"Design\",\n requiresKeyValue: { key: \"widgetSize\", value: \"custom\" },\n },\n getPaddingField({\n key: \"padding\",\n label: labels.padding,\n description: labels.paddingDescription,\n defaultValue: DROPLET_CHROME_DEFAULTS.padding as 0,\n group: \"Design\",\n }),\n getBorderRadiusField({\n key: \"borderRadius\",\n label: labels.borderRadius,\n description: labels.borderRadiusDescription,\n defaultValue: \"md\",\n group: \"Design\",\n }),\n getBorderWidthField({\n key: \"borderWidth\",\n label: labels.borderWidth,\n description: labels.borderWidthDescription,\n defaultValue: \"none\",\n group: \"Design\",\n }),\n getBorderColorField({\n key: \"borderColor\",\n label: labels.borderColor,\n description: labels.borderColorDescription,\n defaultValue: \"muted\",\n group: \"Design\",\n }),\n ];\n}\n\nexport function isDropletChromeKey(key: string): key is DropletChromePropKey {\n return CHROME_KEY_SET.has(key);\n}\n\nexport function splitDropletProps(props: Readonly<Record<string, unknown>>): {\n chrome: Record<DropletChromePropKey, unknown>;\n forwarded: Record<string, unknown>;\n} {\n const chrome = { ...DROPLET_CHROME_DEFAULTS } as Record<\n DropletChromePropKey,\n unknown\n >;\n const forwarded: Record<string, unknown> = {};\n for (const [key, value] of Object.entries(props)) {\n if (isDropletChromeKey(key)) {\n chrome[key] = value;\n } else {\n forwarded[key] = value;\n }\n }\n return { chrome, forwarded };\n}\n\nconst VALID_PADDINGS = new Set<PaddingOptions>([0, 2, 4, 6, 8, 10]);\nconst VALID_BORDER_RADII = new Set<BorderRadiusOptions>([\n \"none\",\n \"sm\",\n \"md\",\n \"lg\",\n \"xl\",\n \"full\",\n]);\nconst VALID_BORDER_WIDTHS = new Set<BorderWidthOptions>([\n \"none\",\n \"thin\",\n \"medium\",\n \"thick\",\n]);\nconst VALID_BORDER_COLORS = new Set<ColorOptions>([\n \"primary\",\n \"secondary\",\n \"muted\",\n \"accent\",\n \"destructive\",\n]);\n\n/**\n * Validated chrome shape — every field is guaranteed to be a valid\n * option, never `unknown`. Out-of-vocabulary or missing values fall\n * back to the matching default in DROPLET_CHROME_DEFAULTS.\n */\nexport interface ParsedDropletChrome {\n readonly padding: PaddingOptions;\n readonly borderRadius: BorderRadiusOptions;\n readonly borderWidth: BorderWidthOptions;\n readonly borderColor: ColorOptions;\n readonly widgetSize: string;\n readonly customHeight: string | undefined;\n}\n\n/**\n * Parse the unvalidated chrome bag from `splitDropletProps` into a\n * typed shape with runtime-validated values. Replaces ad-hoc `as`\n * casts at the renderer call site so a stale persisted props object\n * (e.g. an enum value renamed across versions) cannot silently produce\n * an undefined Tailwind-class lookup.\n */\nexport function parseDropletChrome(\n chrome: Readonly<Record<DropletChromePropKey, unknown>>,\n): ParsedDropletChrome {\n return {\n padding: VALID_PADDINGS.has(chrome.padding as PaddingOptions)\n ? (chrome.padding as PaddingOptions)\n : 0,\n borderRadius: VALID_BORDER_RADII.has(\n chrome.borderRadius as BorderRadiusOptions,\n )\n ? (chrome.borderRadius as BorderRadiusOptions)\n : \"md\",\n borderWidth: VALID_BORDER_WIDTHS.has(\n chrome.borderWidth as BorderWidthOptions,\n )\n ? (chrome.borderWidth as BorderWidthOptions)\n : \"none\",\n borderColor: VALID_BORDER_COLORS.has(chrome.borderColor as ColorOptions)\n ? (chrome.borderColor as ColorOptions)\n : \"muted\",\n widgetSize:\n typeof chrome.widgetSize === \"string\" ? chrome.widgetSize : \"auto\",\n customHeight:\n typeof chrome.customHeight === \"string\" ? chrome.customHeight : undefined,\n };\n}\n"],"mappings":";;;;;;;AA8BA,MAAa,uBAAuB;CAClC,MAAM;CACN,UAAU;CACV,QAAQ;CACR,SAAS;CACT,QAAQ;CACR,OAAO;CACP,OAAO;CACP,YAAY;CACZ,UAAU;CACV,OAAO;CACP,WAAW;CACX,QAAQ;CACR,aAAa;CACb,eAAe;CACf,WAAW;CACX,aAAa;CACb,aAAa;CACb,qBAAqB;CACrB,YAAY;CACZ,iBAAiB;CACjB,gBAAgB;CAChB,SAAS;CACT,YAAY;CACZ,aAAa;CACb,cAAc;CACd,cAAc;CACf;;;;;;AAcD,SAAgB,oBAAoB,OAA2C;AAC7E,QAAO,OAAO,OAAO,qBAAqB,CAAC,SACzC,MACD;;;;ACxDH,MAAa,iBACX,UAC2B;AAC3B,QAAO;EACL,GAAG;EACH,MAAM;EACP;;AAGH,MAAa,wBACX,UAGgD;AAChD,QAAO;EASL,UAAU;EACV,GAAG;EACH,MAAM;EACN,SAAS;GACP;IAAE,MAAMA,aAAAA;IAAK,WAAW;IAAa,OAAO;IAAQ;GACpD;IAAE,OAAO;IAAM,OAAO;IAAM;GAC5B;IAAE,OAAO;IAAM,OAAO;IAAM;GAC5B;IAAE,OAAO;IAAM,OAAO;IAAM;GAC5B;IAAE,OAAO;IAAM,OAAO;IAAM;GAC5B;IAAE,OAAO;IAAQ,OAAO;IAAQ;GACjC;EACF;;AAGH,MAAa,mBACX,UAG2C;AAC3C,QAAO;EAKL,UAAU;EACV,GAAG;EACH,MAAM;EACN,SAAS;GACP;IAAE,MAAMA,aAAAA;IAAK,WAAW;IAAc,OAAO;IAAG;GAChD;IAAE,OAAO;IAAM,OAAO;IAAG;GACzB;IAAE,OAAO;IAAM,OAAO;IAAG;GACzB;IAAE,OAAO;IAAM,OAAO;IAAG;GACzB;IAAE,OAAO;IAAM,OAAO;IAAG;GACzB;IAAE,OAAO;IAAQ,OAAO;IAAI;GAC7B;EACF;;AAGH,MAAa,sBACX,UAG8C;AAC9C,QAAO;EACL,GAAG;EACH,MAAM;EACN,SAAS;GACP;IAAE,OAAO;IAAM,OAAO;IAAM;GAC5B;IAAE,OAAO;IAAM,OAAO;IAAW;GACjC;IAAE,OAAO;IAAM,OAAO;IAAM;GAC5B;IAAE,OAAO;IAAM,OAAO;IAAM;GAC7B;EACF;;AAGH,MAAa,sBACX,UAG8C;AAC9C,QAAO;EACL,GAAG;EACH,MAAM;EACN,SAAS;GACP;IAAE,OAAO;IAAU,OAAO;IAAU;GACpC;IAAE,OAAO;IAAU,OAAO;IAAU;GACpC;IAAE,OAAO;IAAY,OAAO;IAAY;GACxC;IAAE,OAAO;IAAQ,OAAO;IAAQ;GACjC;EACF;;AAGH,MAAa,oBACX,UAC8B;AAC9B,QAAO;EACL,GAAG;EACH,MAAM;EACP;;AAGH,MAAa,eACX,UACuC;AACvC,QAAO;EACL,GAAG;EACH,MAAM;EACN,SAAS;GACP;IAAE,MAAMA,aAAAA;IAAK,WAAW;IAAU,OAAO;IAAQ;GACjD;IAAE,OAAO;IAAM,OAAO;IAAM;GAC5B;IAAE,OAAO;IAAM,OAAO;IAAM;GAC5B;IAAE,OAAO;IAAM,OAAO;IAAM;GAC5B;IAAE,OAAO;IAAM,OAAO;IAAM;GAC5B;IAAE,OAAO;IAAM,OAAO;IAAM;GAC7B;EACF;;AAGH,MAAa,kBACX,UAMuB;AACvB,QAAO;EACL,GAAG;EACH,MAAM;EACN,cAAc;GAAC;GAAM;GAAM;GAAM;EACjC,WAAW;GAAE,IAAI;GAAI,IAAI;GAAG,KAAK;GAAG;EACpC,WAAW;GAAE,IAAI;GAAM,IAAI;GAAK,KAAK;GAAI;EACzC,YAAY;GAAE,IAAI;GAAI,IAAI;GAAG,KAAK;GAAG;EACtC;;AAGH,MAAa,iCACX,UAK4B;AAC5B,QAAO;EAIL,UAAU;EACV,GAAG;EACH,MAAM;EACN,MAAM,MAAM,QAAQ;GAClB,SAAS;GACT,UAAU;GACV,YAAY;GACZ,aAAa;GACd;EACF;;;;;;AAOH,MAAa,YAOT;CACF,MAAM;CACN,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACL;AAED,MAAa,uBACX,WAGgD;CAIhD,UAAU;CACV,GAAG;CACH,MAAM;CACN,SAAS;EACP;GAAE,MAAMA,aAAAA;GAAK,WAAW;GAAa,OAAO;GAAQ;EACpD;GAAE,OAAO;GAAQ,OAAO;GAAQ;EAChC;GAAE,OAAO;GAAM,OAAO;GAAU;EAChC;GAAE,OAAO;GAAS,OAAO;GAAS;EACnC;CACF;AAED,MAAa,sBAEiB;;;;AAK9B,MAAa,qBAKT;CACF,MAAM;CACN,MAAM;CACN,QAAQ;CACR,OAAO;CACR;;;;AAKD,MAAa,qBAUT;CACF,YAAY;CACZ,YAAY;CACZ,SAAS;CACT,WAAW;CACX,QAAQ;CACR,QAAQ;CACR,OAAO;CACP,aAAa;CACb,aAAa;CACd;AC5NG,OAAO,OAAO;CAChB,SAAS;CACT,cAAc;CACd,aAAa;CACb,aAAa;CACb,YAAY;CACZ,cAAc;CACd,WAAW;CACZ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-app/portal-sdk",
3
- "version": "0.1.259",
3
+ "version": "0.1.261",
4
4
  "description": "SDK for building custom Fluid portals",
5
5
  "files": [
6
6
  "dist",
@@ -71,55 +71,55 @@
71
71
  "tsdown": "^0.21.0",
72
72
  "typescript": "^5",
73
73
  "zod": "4.3.5",
74
- "@fluid-app/address-autocomplete": "0.1.0",
75
- "@fluid-app/api-client-core": "0.1.0",
76
74
  "@fluid-app/auth": "0.1.0",
75
+ "@fluid-app/address-autocomplete": "0.1.0",
77
76
  "@fluid-app/company-switcher-core": "0.1.0",
77
+ "@fluid-app/api-client-core": "0.1.0",
78
+ "@fluid-app/company-switcher-ui": "0.1.0",
78
79
  "@fluid-app/cart-ui": "0.1.18",
80
+ "@fluid-app/file-picker-api-client": "0.1.0",
79
81
  "@fluid-app/contacts-core": "0.1.0",
80
- "@fluid-app/contacts-ui": "0.1.0",
81
- "@fluid-app/company-switcher-ui": "0.1.0",
82
82
  "@fluid-app/file-picker-core": "0.1.0",
83
- "@fluid-app/file-picker-api-client": "0.1.0",
83
+ "@fluid-app/contacts-ui": "0.1.0",
84
84
  "@fluid-app/fluid-pay-core": "0.1.0",
85
85
  "@fluid-app/fluid-pay-ui": "0.1.0",
86
- "@fluid-app/messaging-api-client": "0.1.0",
87
86
  "@fluid-app/fluidos-api-client": "0.1.0",
88
- "@fluid-app/messaging-ui": "0.1.0",
89
87
  "@fluid-app/i18n": "0.1.0",
88
+ "@fluid-app/messaging-api-client": "0.1.0",
90
89
  "@fluid-app/messaging-core": "0.1.0",
91
- "@fluid-app/mysite-core": "0.1.0",
92
90
  "@fluid-app/mysite-ui": "0.1.0",
91
+ "@fluid-app/mysite-core": "0.1.0",
92
+ "@fluid-app/messaging-ui": "0.1.0",
93
93
  "@fluid-app/orders-ui": "0.1.0",
94
94
  "@fluid-app/orders-core": "0.1.0",
95
95
  "@fluid-app/portal-app-download-ui": "0.1.0",
96
96
  "@fluid-app/permissions": "0.1.0",
97
- "@fluid-app/portal-core": "0.1.23",
98
97
  "@fluid-app/portal-preview": "0.1.0",
98
+ "@fluid-app/portal-core": "0.1.23",
99
+ "@fluid-app/portal-pro-upgrade-ui": "0.1.0",
99
100
  "@fluid-app/portal-react": "0.1.0",
101
+ "@fluid-app/portal-tenant-api-client": "0.1.0",
100
102
  "@fluid-app/portal-tenant-contacts-api-client": "0.1.0",
101
- "@fluid-app/portal-pro-upgrade-ui": "0.1.0",
102
- "@fluid-app/portal-tenant-content-api-client": "0.1.0",
103
103
  "@fluid-app/portal-tenant-mysite-api-client": "0.1.0",
104
- "@fluid-app/portal-tenant-api-client": "0.1.0",
105
104
  "@fluid-app/portal-tenant-pay-api-client": "0.1.0",
105
+ "@fluid-app/portal-tenant-content-api-client": "0.1.0",
106
106
  "@fluid-app/portal-tenant-store-api-client": "0.1.0",
107
- "@fluid-app/products-api-client": "0.1.0",
108
107
  "@fluid-app/portal-widgets": "0.1.22",
108
+ "@fluid-app/products-api-client": "0.1.0",
109
109
  "@fluid-app/products-core": "0.1.0",
110
110
  "@fluid-app/profile-core": "0.1.0",
111
- "@fluid-app/query-persister": "0.1.0",
112
- "@fluid-app/shareables-ui": "0.1.0",
113
111
  "@fluid-app/profile-ui": "0.1.0",
114
112
  "@fluid-app/shareables-core": "0.1.0",
113
+ "@fluid-app/shareables-ui": "0.1.0",
114
+ "@fluid-app/query-persister": "0.1.0",
115
115
  "@fluid-app/shop-core": "0.1.0",
116
116
  "@fluid-app/shop-ui": "0.1.0",
117
117
  "@fluid-app/store-api-client": "0.1.0",
118
+ "@fluid-app/store-core": "0.1.0",
118
119
  "@fluid-app/subscriptions-ui": "0.1.0",
119
120
  "@fluid-app/subscriptions-core": "0.1.0",
120
121
  "@fluid-app/typescript-config": "0.0.0",
121
- "@fluid-app/ui-primitives": "0.1.13",
122
- "@fluid-app/store-core": "0.1.0"
122
+ "@fluid-app/ui-primitives": "0.1.13"
123
123
  },
124
124
  "peerDependencies": {
125
125
  "@hookform/resolvers": "^5.2.2",
@@ -1,46 +0,0 @@
1
- import "./FluidProvider-CDNk3Ssn.mjs";
2
- import "./ScreenRenderer-YOmW7J80.mjs";
3
- import "./account-api-context-BIZ_aibJ.mjs";
4
- import "./store-api-context-C1lXT_3d.mjs";
5
- import "./api-context-3GmfqvIB.mjs";
6
- import "./mysite-api-context-5-qpKHWA.mjs";
7
- import "./countries-api-context-CMh13cfX.mjs";
8
- import "./registry-context-BSJeDI2A.mjs";
9
- import "./WidgetInteractionContext-I716c8kj.mjs";
10
- import "./EmbedWidget-DE1yhLR1.mjs";
11
- import "./locale-context-B_ufX9EH.mjs";
12
- import "./error-state--Z2OlDFr.mjs";
13
- import "./LayoutWidget-8KxCmJcd.mjs";
14
- import "./registries-kvRRUHcO.mjs";
15
- import "./fields-FTgjMOdh.mjs";
16
- import "./TextWidget-CfLUQr6V.mjs";
17
- import "./AlertWidget-CcIBGBik.mjs";
18
- import "./BulletListWidget-mRwUgtzN.mjs";
19
- import "./CalendarWidget-ByY49yYX.mjs";
20
- import "./CardWidget-DK4VQau1.mjs";
21
- import "./purify.es-Ba5Ug4-y.mjs";
22
- import "./MediaRenderer-13Jlf38P.mjs";
23
- import "./CarouselWidget-C0X-nFyW.mjs";
24
- import "./CatchUpWidget-Bj30ZbUk.mjs";
25
- import "./src-B3W228vu.mjs";
26
- import { n as messagingScreenPropertySchema, t as MessagingScreen } from "./MessagingScreen-SQXX6kkC.mjs";
27
- import "./ChartWidget-CIscUHUD.mjs";
28
- import "./ContainerWidget-YMePQ1FG.mjs";
29
- import "./ImageWidget-DmaAQZBK.mjs";
30
- import "./LinkWidget-Dvb6WlaR.mjs";
31
- import "./ListWidget-Bsi4jdcz.mjs";
32
- import "./MySiteWidget-8XrZA0Un.mjs";
33
- import "./NestedWidget-B8lW9Fzv.mjs";
34
- import "./PointsWidget-CRvG5LOV.mjs";
35
- import "./QuickLinksWidget-roBJQ1Ge.mjs";
36
- import "./QuickShareWidget-D-NVbmfw.mjs";
37
- import "./RecentActivityWidget-Bz54YXQN.mjs";
38
- import "./SeparatorWidget-DR75Yj_C.mjs";
39
- import "./SpacerWidget-s0N26_Hb.mjs";
40
- import "./TableWidget-C87Czlh6.mjs";
41
- import "./ToDoWidget-BY-6VIxD.mjs";
42
- import "./VideoWidget-DSPDdiYr.mjs";
43
- import "./ScreenHeaderContext-kG_zh0zW.mjs";
44
- import "./dist-PbA1vxAz.mjs";
45
- import "./es-XtH2D7Cc.mjs";
46
- export { MessagingScreen, messagingScreenPropertySchema };
@@ -1,48 +0,0 @@
1
- require("./chunk-9hOWP6kD.cjs");
2
- require("./FluidProvider-P_MBgI-c.cjs");
3
- require("./ScreenRenderer-j7Nz1HQx.cjs");
4
- require("./account-api-context-DZP9IiGg.cjs");
5
- require("./store-api-context-D1gZn22Z.cjs");
6
- require("./api-context-BkBvyFVK.cjs");
7
- require("./mysite-api-context-Dz4lI5Xd.cjs");
8
- require("./countries-api-context-C0C0K9gJ.cjs");
9
- require("./registry-context-OIsrZ2Ij.cjs");
10
- require("./WidgetInteractionContext-DUJhDVnC.cjs");
11
- require("./EmbedWidget-BO0TonyK.cjs");
12
- require("./locale-context-34b1u6At.cjs");
13
- require("./error-state-BDhSltIa.cjs");
14
- require("./LayoutWidget-BK8AxE60.cjs");
15
- require("./registries-DBb6VjAX.cjs");
16
- require("./fields-COJ84ouS.cjs");
17
- require("./TextWidget-C7oY0X3r.cjs");
18
- require("./AlertWidget-BZ67Uqfh.cjs");
19
- require("./BulletListWidget-iGJI33Ed.cjs");
20
- require("./CalendarWidget-CSipLdwg.cjs");
21
- require("./CardWidget-DovkTkKg.cjs");
22
- require("./purify.es-CxBw_WJp.cjs");
23
- require("./MediaRenderer-CvN8Ku0i.cjs");
24
- require("./CarouselWidget-Cu1b3ERq.cjs");
25
- require("./CatchUpWidget-C17xpj3Z.cjs");
26
- require("./src-BFJg9F_s.cjs");
27
- require("./ChartWidget-Brxz8j4Q.cjs");
28
- require("./ContainerWidget-wtuUrr1c.cjs");
29
- require("./ImageWidget-CbQVxMe3.cjs");
30
- require("./LinkWidget-88wWH7-i.cjs");
31
- require("./ListWidget-xetptWnX.cjs");
32
- require("./MySiteWidget-DXY59o3T.cjs");
33
- require("./NestedWidget-C2D4eWqb.cjs");
34
- require("./PointsWidget-ComTSNQZ.cjs");
35
- require("./QuickLinksWidget-Bcl4CxfW.cjs");
36
- require("./QuickShareWidget-D_Ghjgwz.cjs");
37
- require("./RecentActivityWidget-sv_3ewZa.cjs");
38
- require("./SeparatorWidget-CY6uMLHP.cjs");
39
- require("./SpacerWidget-DLQU3wbc.cjs");
40
- require("./TableWidget-CiI5pArP.cjs");
41
- require("./ToDoWidget-CpO7jdw0.cjs");
42
- require("./VideoWidget-BpEF3gRZ.cjs");
43
- require("./ScreenHeaderContext-JDIUM84f.cjs");
44
- const require_MessagingScreen = require("./MessagingScreen-CsZsCnnX.cjs");
45
- require("./dist-DbRTQ2QF.cjs");
46
- require("./es-UfEBhcZD.cjs");
47
- exports.MessagingScreen = require_MessagingScreen.MessagingScreen;
48
- exports.messagingScreenPropertySchema = require_MessagingScreen.messagingScreenPropertySchema;
@@ -1,48 +0,0 @@
1
- require("./chunk-9hOWP6kD.cjs");
2
- require("./FluidProvider-P_MBgI-c.cjs");
3
- require("./ScreenRenderer-j7Nz1HQx.cjs");
4
- require("./account-api-context-DZP9IiGg.cjs");
5
- require("./store-api-context-D1gZn22Z.cjs");
6
- require("./api-context-BkBvyFVK.cjs");
7
- require("./mysite-api-context-Dz4lI5Xd.cjs");
8
- require("./countries-api-context-C0C0K9gJ.cjs");
9
- require("./registry-context-OIsrZ2Ij.cjs");
10
- require("./WidgetInteractionContext-DUJhDVnC.cjs");
11
- require("./EmbedWidget-BO0TonyK.cjs");
12
- require("./locale-context-34b1u6At.cjs");
13
- require("./error-state-BDhSltIa.cjs");
14
- require("./LayoutWidget-BK8AxE60.cjs");
15
- require("./registries-DBb6VjAX.cjs");
16
- require("./fields-COJ84ouS.cjs");
17
- require("./TextWidget-C7oY0X3r.cjs");
18
- require("./AlertWidget-BZ67Uqfh.cjs");
19
- require("./BulletListWidget-iGJI33Ed.cjs");
20
- require("./CalendarWidget-CSipLdwg.cjs");
21
- require("./CardWidget-DovkTkKg.cjs");
22
- require("./purify.es-CxBw_WJp.cjs");
23
- require("./MediaRenderer-CvN8Ku0i.cjs");
24
- require("./CarouselWidget-Cu1b3ERq.cjs");
25
- require("./CatchUpWidget-C17xpj3Z.cjs");
26
- require("./src-BFJg9F_s.cjs");
27
- require("./ChartWidget-Brxz8j4Q.cjs");
28
- require("./ContainerWidget-wtuUrr1c.cjs");
29
- require("./ImageWidget-CbQVxMe3.cjs");
30
- require("./LinkWidget-88wWH7-i.cjs");
31
- require("./ListWidget-xetptWnX.cjs");
32
- require("./MySiteWidget-DXY59o3T.cjs");
33
- require("./NestedWidget-C2D4eWqb.cjs");
34
- require("./PointsWidget-ComTSNQZ.cjs");
35
- require("./QuickLinksWidget-Bcl4CxfW.cjs");
36
- require("./QuickShareWidget-D_Ghjgwz.cjs");
37
- require("./RecentActivityWidget-sv_3ewZa.cjs");
38
- require("./SeparatorWidget-CY6uMLHP.cjs");
39
- require("./SpacerWidget-DLQU3wbc.cjs");
40
- require("./TableWidget-CiI5pArP.cjs");
41
- require("./ToDoWidget-CpO7jdw0.cjs");
42
- require("./VideoWidget-BpEF3gRZ.cjs");
43
- require("./ScreenHeaderContext-JDIUM84f.cjs");
44
- require("./AddressAutocompleteInput-BrnJTpK8.cjs");
45
- require("./use-mysite-portal-YnHKJ-Y-.cjs");
46
- const require_ProfileScreen = require("./ProfileScreen-C6Z8g6-L.cjs");
47
- exports.ProfileScreen = require_ProfileScreen.ProfileScreen;
48
- exports.profileScreenPropertySchema = require_ProfileScreen.profileScreenPropertySchema;
@@ -1,46 +0,0 @@
1
- import "./FluidProvider-CDNk3Ssn.mjs";
2
- import "./ScreenRenderer-YOmW7J80.mjs";
3
- import "./account-api-context-BIZ_aibJ.mjs";
4
- import "./store-api-context-C1lXT_3d.mjs";
5
- import "./api-context-3GmfqvIB.mjs";
6
- import "./mysite-api-context-5-qpKHWA.mjs";
7
- import "./countries-api-context-CMh13cfX.mjs";
8
- import "./registry-context-BSJeDI2A.mjs";
9
- import "./WidgetInteractionContext-I716c8kj.mjs";
10
- import "./EmbedWidget-DE1yhLR1.mjs";
11
- import "./locale-context-B_ufX9EH.mjs";
12
- import "./error-state--Z2OlDFr.mjs";
13
- import "./LayoutWidget-8KxCmJcd.mjs";
14
- import "./registries-kvRRUHcO.mjs";
15
- import "./fields-FTgjMOdh.mjs";
16
- import "./TextWidget-CfLUQr6V.mjs";
17
- import "./AlertWidget-CcIBGBik.mjs";
18
- import "./BulletListWidget-mRwUgtzN.mjs";
19
- import "./CalendarWidget-ByY49yYX.mjs";
20
- import "./CardWidget-DK4VQau1.mjs";
21
- import "./purify.es-Ba5Ug4-y.mjs";
22
- import "./MediaRenderer-13Jlf38P.mjs";
23
- import "./CarouselWidget-C0X-nFyW.mjs";
24
- import "./CatchUpWidget-Bj30ZbUk.mjs";
25
- import "./src-B3W228vu.mjs";
26
- import "./ChartWidget-CIscUHUD.mjs";
27
- import "./ContainerWidget-YMePQ1FG.mjs";
28
- import "./ImageWidget-DmaAQZBK.mjs";
29
- import "./LinkWidget-Dvb6WlaR.mjs";
30
- import "./ListWidget-Bsi4jdcz.mjs";
31
- import "./MySiteWidget-8XrZA0Un.mjs";
32
- import "./NestedWidget-B8lW9Fzv.mjs";
33
- import "./PointsWidget-CRvG5LOV.mjs";
34
- import "./QuickLinksWidget-roBJQ1Ge.mjs";
35
- import "./QuickShareWidget-D-NVbmfw.mjs";
36
- import "./RecentActivityWidget-Bz54YXQN.mjs";
37
- import "./SeparatorWidget-DR75Yj_C.mjs";
38
- import "./SpacerWidget-s0N26_Hb.mjs";
39
- import "./TableWidget-C87Czlh6.mjs";
40
- import "./ToDoWidget-BY-6VIxD.mjs";
41
- import "./VideoWidget-DSPDdiYr.mjs";
42
- import "./ScreenHeaderContext-kG_zh0zW.mjs";
43
- import "./AddressAutocompleteInput-pqzSBpqP.mjs";
44
- import "./use-mysite-portal-B7N48vKo.mjs";
45
- import { n as profileScreenPropertySchema, t as ProfileScreen } from "./ProfileScreen-C45yTIj-.mjs";
46
- export { ProfileScreen, profileScreenPropertySchema };
@@ -1,47 +0,0 @@
1
- import "./FluidProvider-CDNk3Ssn.mjs";
2
- import "./ScreenRenderer-YOmW7J80.mjs";
3
- import "./account-api-context-BIZ_aibJ.mjs";
4
- import "./store-api-context-C1lXT_3d.mjs";
5
- import "./api-context-3GmfqvIB.mjs";
6
- import "./mysite-api-context-5-qpKHWA.mjs";
7
- import "./countries-api-context-CMh13cfX.mjs";
8
- import "./registry-context-BSJeDI2A.mjs";
9
- import "./WidgetInteractionContext-I716c8kj.mjs";
10
- import "./EmbedWidget-DE1yhLR1.mjs";
11
- import "./locale-context-B_ufX9EH.mjs";
12
- import "./error-state--Z2OlDFr.mjs";
13
- import "./LayoutWidget-8KxCmJcd.mjs";
14
- import "./registries-kvRRUHcO.mjs";
15
- import "./fields-FTgjMOdh.mjs";
16
- import "./TextWidget-CfLUQr6V.mjs";
17
- import "./AlertWidget-CcIBGBik.mjs";
18
- import "./BulletListWidget-mRwUgtzN.mjs";
19
- import "./CalendarWidget-ByY49yYX.mjs";
20
- import "./CardWidget-DK4VQau1.mjs";
21
- import "./purify.es-Ba5Ug4-y.mjs";
22
- import "./MediaRenderer-13Jlf38P.mjs";
23
- import "./CarouselWidget-C0X-nFyW.mjs";
24
- import "./CatchUpWidget-Bj30ZbUk.mjs";
25
- import "./src-B3W228vu.mjs";
26
- import "./ChartWidget-CIscUHUD.mjs";
27
- import "./ContainerWidget-YMePQ1FG.mjs";
28
- import "./ImageWidget-DmaAQZBK.mjs";
29
- import "./LinkWidget-Dvb6WlaR.mjs";
30
- import "./ListWidget-Bsi4jdcz.mjs";
31
- import "./MySiteWidget-8XrZA0Un.mjs";
32
- import "./NestedWidget-B8lW9Fzv.mjs";
33
- import "./PointsWidget-CRvG5LOV.mjs";
34
- import "./QuickLinksWidget-roBJQ1Ge.mjs";
35
- import "./QuickShareWidget-D-NVbmfw.mjs";
36
- import "./RecentActivityWidget-Bz54YXQN.mjs";
37
- import "./SeparatorWidget-DR75Yj_C.mjs";
38
- import "./SpacerWidget-s0N26_Hb.mjs";
39
- import "./TableWidget-C87Czlh6.mjs";
40
- import "./ToDoWidget-BY-6VIxD.mjs";
41
- import "./VideoWidget-DSPDdiYr.mjs";
42
- import "./ScreenHeaderContext-kG_zh0zW.mjs";
43
- import "./static-dict-adapter-CDqZ0OAW.mjs";
44
- import "./SearchSort-WObTUK9E.mjs";
45
- import "./PortalProductsApiProvider-CetNi8M7.mjs";
46
- import { n as shopScreenPropertySchema, t as ShopScreen } from "./ShopScreen-BFKwuM2U.mjs";
47
- export { ShopScreen, shopScreenPropertySchema };
@@ -1,49 +0,0 @@
1
- require("./chunk-9hOWP6kD.cjs");
2
- require("./FluidProvider-P_MBgI-c.cjs");
3
- require("./ScreenRenderer-j7Nz1HQx.cjs");
4
- require("./account-api-context-DZP9IiGg.cjs");
5
- require("./store-api-context-D1gZn22Z.cjs");
6
- require("./api-context-BkBvyFVK.cjs");
7
- require("./mysite-api-context-Dz4lI5Xd.cjs");
8
- require("./countries-api-context-C0C0K9gJ.cjs");
9
- require("./registry-context-OIsrZ2Ij.cjs");
10
- require("./WidgetInteractionContext-DUJhDVnC.cjs");
11
- require("./EmbedWidget-BO0TonyK.cjs");
12
- require("./locale-context-34b1u6At.cjs");
13
- require("./error-state-BDhSltIa.cjs");
14
- require("./LayoutWidget-BK8AxE60.cjs");
15
- require("./registries-DBb6VjAX.cjs");
16
- require("./fields-COJ84ouS.cjs");
17
- require("./TextWidget-C7oY0X3r.cjs");
18
- require("./AlertWidget-BZ67Uqfh.cjs");
19
- require("./BulletListWidget-iGJI33Ed.cjs");
20
- require("./CalendarWidget-CSipLdwg.cjs");
21
- require("./CardWidget-DovkTkKg.cjs");
22
- require("./purify.es-CxBw_WJp.cjs");
23
- require("./MediaRenderer-CvN8Ku0i.cjs");
24
- require("./CarouselWidget-Cu1b3ERq.cjs");
25
- require("./CatchUpWidget-C17xpj3Z.cjs");
26
- require("./src-BFJg9F_s.cjs");
27
- require("./ChartWidget-Brxz8j4Q.cjs");
28
- require("./ContainerWidget-wtuUrr1c.cjs");
29
- require("./ImageWidget-CbQVxMe3.cjs");
30
- require("./LinkWidget-88wWH7-i.cjs");
31
- require("./ListWidget-xetptWnX.cjs");
32
- require("./MySiteWidget-DXY59o3T.cjs");
33
- require("./NestedWidget-C2D4eWqb.cjs");
34
- require("./PointsWidget-ComTSNQZ.cjs");
35
- require("./QuickLinksWidget-Bcl4CxfW.cjs");
36
- require("./QuickShareWidget-D_Ghjgwz.cjs");
37
- require("./RecentActivityWidget-sv_3ewZa.cjs");
38
- require("./SeparatorWidget-CY6uMLHP.cjs");
39
- require("./SpacerWidget-DLQU3wbc.cjs");
40
- require("./TableWidget-CiI5pArP.cjs");
41
- require("./ToDoWidget-CpO7jdw0.cjs");
42
- require("./VideoWidget-BpEF3gRZ.cjs");
43
- require("./ScreenHeaderContext-JDIUM84f.cjs");
44
- require("./static-dict-adapter-xbo0bgPs.cjs");
45
- require("./SearchSort-CqkeoWG8.cjs");
46
- require("./PortalProductsApiProvider-BQjaVXm1.cjs");
47
- const require_ShopScreen = require("./ShopScreen-C3PYT1v_.cjs");
48
- exports.ShopScreen = require_ShopScreen.ShopScreen;
49
- exports.shopScreenPropertySchema = require_ShopScreen.shopScreenPropertySchema;