@mittwald/flow-react-components 0.2.0-alpha.568 → 0.2.0-alpha.569

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 (125) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/assets/doc-properties.json +304 -284
  3. package/dist/css/all.css +1 -1
  4. package/dist/js/components/src/components/AccentBox/AccentBox.mjs +22 -21
  5. package/dist/js/components/src/components/AccentBox/AccentBox.mjs.map +1 -1
  6. package/dist/js/components/src/components/ActionGroup/ActionGroup.mjs +37 -31
  7. package/dist/js/components/src/components/ActionGroup/ActionGroup.mjs.map +1 -1
  8. package/dist/js/components/src/components/Align/Align.mjs +22 -16
  9. package/dist/js/components/src/components/Align/Align.mjs.map +1 -1
  10. package/dist/js/components/src/components/Autocomplete/Autocomplete.mjs +0 -1
  11. package/dist/js/components/src/components/Autocomplete/Autocomplete.mjs.map +1 -1
  12. package/dist/js/components/src/components/BrowserOnly/BrowserOnly.mjs +7 -0
  13. package/dist/js/components/src/components/BrowserOnly/BrowserOnly.mjs.map +1 -1
  14. package/dist/js/components/src/components/CartesianChart/CartesianChart.mjs +5 -3
  15. package/dist/js/components/src/components/CartesianChart/CartesianChart.mjs.map +1 -1
  16. package/dist/js/components/src/components/CheckboxGroup/CheckboxGroup.mjs +1 -1
  17. package/dist/js/components/src/components/CheckboxGroup/CheckboxGroup.mjs.map +1 -1
  18. package/dist/js/components/src/components/ColumnLayout/ColumnLayout.mjs +64 -58
  19. package/dist/js/components/src/components/ColumnLayout/ColumnLayout.mjs.map +1 -1
  20. package/dist/js/components/src/components/ContextMenu/components/ContextMenuSection/ContextMenuSection.mjs +2 -1
  21. package/dist/js/components/src/components/ContextMenu/components/ContextMenuSection/ContextMenuSection.mjs.map +1 -1
  22. package/dist/js/components/src/components/Header/Header.mjs +20 -15
  23. package/dist/js/components/src/components/Header/Header.mjs.map +1 -1
  24. package/dist/js/components/src/components/IllustratedMessage/IllustratedMessage.mjs +1 -1
  25. package/dist/js/components/src/components/IllustratedMessage/IllustratedMessage.mjs.map +1 -1
  26. package/dist/js/components/src/components/LayoutCard/LayoutCard.mjs +16 -12
  27. package/dist/js/components/src/components/LayoutCard/LayoutCard.mjs.map +1 -1
  28. package/dist/js/components/src/components/List/components/Header/components/ActiveFilters/ActiveFilters.mjs +4 -2
  29. package/dist/js/components/src/components/List/components/Header/components/ActiveFilters/ActiveFilters.mjs.map +1 -1
  30. package/dist/js/components/src/components/List/components/Header/components/SearchField/SearchField.mjs +6 -0
  31. package/dist/js/components/src/components/List/components/Header/components/SearchField/SearchField.mjs.map +1 -1
  32. package/dist/js/components/src/components/List/hooks/useAriaAnnounceSearchState.mjs +4 -2
  33. package/dist/js/components/src/components/List/hooks/useAriaAnnounceSearchState.mjs.map +1 -1
  34. package/dist/js/components/src/components/Modal/Modal.mjs +70 -76
  35. package/dist/js/components/src/components/Modal/Modal.mjs.map +1 -1
  36. package/dist/js/components/src/components/Modal/components/OffCanvasSuspenseFallback/OffCanvasSuspenseFallback.mjs +4 -2
  37. package/dist/js/components/src/components/Modal/components/OffCanvasSuspenseFallback/OffCanvasSuspenseFallback.mjs.map +1 -1
  38. package/dist/js/components/src/components/Navigation/components/NavigationGroup/NavigationGroup.mjs +1 -4
  39. package/dist/js/components/src/components/Navigation/components/NavigationGroup/NavigationGroup.mjs.map +1 -1
  40. package/dist/js/components/src/components/Overlay/Overlay.mjs +2 -105
  41. package/dist/js/components/src/components/Overlay/Overlay.mjs.map +1 -1
  42. package/dist/js/components/src/components/Overlay/components/OverlaySuspenseFallback.mjs +4 -2
  43. package/dist/js/components/src/components/Overlay/components/OverlaySuspenseFallback.mjs.map +1 -1
  44. package/dist/js/components/src/components/PasswordCreationField/PasswordCreationField.mjs +2 -1
  45. package/dist/js/components/src/components/PasswordCreationField/PasswordCreationField.mjs.map +1 -1
  46. package/dist/js/components/src/components/Popover/Popover.mjs +2 -105
  47. package/dist/js/components/src/components/Popover/Popover.mjs.map +1 -1
  48. package/dist/js/components/src/components/RadioGroup/RadioGroup.mjs +1 -1
  49. package/dist/js/components/src/components/RadioGroup/RadioGroup.mjs.map +1 -1
  50. package/dist/js/components/src/components/Section/Section.mjs +41 -35
  51. package/dist/js/components/src/components/Section/Section.mjs.map +1 -1
  52. package/dist/js/components/src/components/Tooltip/Tooltip.mjs +5 -2
  53. package/dist/js/components/src/components/Tooltip/Tooltip.mjs.map +1 -1
  54. package/dist/js/components/src/lib/componentFactory/flowComponent.mjs +7 -23
  55. package/dist/js/components/src/lib/componentFactory/flowComponent.mjs.map +1 -1
  56. package/dist/js/components/src/lib/hooks/useFieldError.mjs +0 -2
  57. package/dist/js/components/src/lib/hooks/useFieldError.mjs.map +1 -1
  58. package/dist/js/components/src/lib/hooks/useProps.mjs +1 -2
  59. package/dist/js/components/src/lib/hooks/useProps.mjs.map +1 -1
  60. package/dist/js/components/src/lib/propsContext/components/ClearPropsContext.mjs +4 -10
  61. package/dist/js/components/src/lib/propsContext/components/ClearPropsContext.mjs.map +1 -1
  62. package/dist/js/components/src/lib/propsContext/components/ComponentPropsContextProvider.mjs +2 -2
  63. package/dist/js/components/src/lib/propsContext/components/ComponentPropsContextProvider.mjs.map +1 -1
  64. package/dist/js/components/src/lib/propsContext/components/PropsContextProvider.mjs +7 -22
  65. package/dist/js/components/src/lib/propsContext/components/PropsContextProvider.mjs.map +1 -1
  66. package/dist/js/components/src/lib/propsContext/mergePropsContext.mjs +22 -30
  67. package/dist/js/components/src/lib/propsContext/mergePropsContext.mjs.map +1 -1
  68. package/dist/js/components/src/lib/propsContext/nestedPropsContext/lib.mjs +27 -7
  69. package/dist/js/components/src/lib/propsContext/nestedPropsContext/lib.mjs.map +1 -1
  70. package/dist/js/components/src/lib/react/getPropsMerger.mjs +7 -2
  71. package/dist/js/components/src/lib/react/getPropsMerger.mjs.map +1 -1
  72. package/dist/js/flr-universal.mjs +1 -2
  73. package/dist/js/flr-universal.mjs.map +1 -1
  74. package/dist/types/components/AccentBox/AccentBox.d.ts.map +1 -1
  75. package/dist/types/components/AccentBox/stories/Default.stories.d.ts +1 -0
  76. package/dist/types/components/AccentBox/stories/Default.stories.d.ts.map +1 -1
  77. package/dist/types/components/ActionGroup/ActionGroup.d.ts.map +1 -1
  78. package/dist/types/components/Align/Align.d.ts.map +1 -1
  79. package/dist/types/components/Autocomplete/Autocomplete.d.ts.map +1 -1
  80. package/dist/types/components/ColumnLayout/ColumnLayout.d.ts.map +1 -1
  81. package/dist/types/components/ContextMenu/components/ContextMenuSection/ContextMenuSection.d.ts.map +1 -1
  82. package/dist/types/components/Header/Header.d.ts +2 -2
  83. package/dist/types/components/Header/Header.d.ts.map +1 -1
  84. package/dist/types/components/LayoutCard/LayoutCard.d.ts.map +1 -1
  85. package/dist/types/components/Message/stories/Default.stories.d.ts.map +1 -1
  86. package/dist/types/components/Modal/Modal.d.ts.map +1 -1
  87. package/dist/types/components/Navigation/components/NavigationGroup/NavigationGroup.d.ts.map +1 -1
  88. package/dist/types/components/Overlay/Overlay.d.ts.map +1 -1
  89. package/dist/types/components/PasswordCreationField/PasswordCreationField.d.ts.map +1 -1
  90. package/dist/types/components/Popover/Popover.d.ts.map +1 -1
  91. package/dist/types/components/Section/Section.d.ts.map +1 -1
  92. package/dist/types/lib/componentFactory/flowComponent.d.ts +1 -1
  93. package/dist/types/lib/componentFactory/flowComponent.d.ts.map +1 -1
  94. package/dist/types/lib/hooks/useFieldError.d.ts.map +1 -1
  95. package/dist/types/lib/hooks/useProps.d.ts.map +1 -1
  96. package/dist/types/lib/propsContext/components/ClearPropsContext.d.ts +1 -5
  97. package/dist/types/lib/propsContext/components/ClearPropsContext.d.ts.map +1 -1
  98. package/dist/types/lib/propsContext/components/ComponentPropsContextProvider.d.ts +0 -2
  99. package/dist/types/lib/propsContext/components/ComponentPropsContextProvider.d.ts.map +1 -1
  100. package/dist/types/lib/propsContext/components/PropsContextProvider.d.ts +0 -3
  101. package/dist/types/lib/propsContext/components/PropsContextProvider.d.ts.map +1 -1
  102. package/dist/types/lib/propsContext/mergePropsContext.d.ts +1 -1
  103. package/dist/types/lib/propsContext/mergePropsContext.d.ts.map +1 -1
  104. package/dist/types/lib/propsContext/nestedPropsContext/lib.d.ts +3 -84
  105. package/dist/types/lib/propsContext/nestedPropsContext/lib.d.ts.map +1 -1
  106. package/dist/types/lib/propsContext/types.d.ts +1 -2
  107. package/dist/types/lib/propsContext/types.d.ts.map +1 -1
  108. package/dist/types/lib/react/getPropsMerger.d.ts.map +1 -1
  109. package/package.json +4 -4
  110. package/dist/js/components/src/lib/propsContext/inherit/PropsContextLevelProvider.mjs +0 -20
  111. package/dist/js/components/src/lib/propsContext/inherit/PropsContextLevelProvider.mjs.map +0 -1
  112. package/dist/js/components/src/lib/propsContext/inherit/lib.mjs +0 -39
  113. package/dist/js/components/src/lib/propsContext/inherit/lib.mjs.map +0 -1
  114. package/dist/js/components/src/lib/propsContext/inherit/propsContextLevel.mjs +0 -13
  115. package/dist/js/components/src/lib/propsContext/inherit/propsContextLevel.mjs.map +0 -1
  116. package/dist/js/components/src/lib/propsContext/inherit/types.mjs +0 -6
  117. package/dist/js/components/src/lib/propsContext/inherit/types.mjs.map +0 -1
  118. package/dist/types/lib/propsContext/inherit/PropsContextLevelProvider.d.ts +0 -8
  119. package/dist/types/lib/propsContext/inherit/PropsContextLevelProvider.d.ts.map +0 -1
  120. package/dist/types/lib/propsContext/inherit/lib.d.ts +0 -8
  121. package/dist/types/lib/propsContext/inherit/lib.d.ts.map +0 -1
  122. package/dist/types/lib/propsContext/inherit/propsContextLevel.d.ts +0 -4
  123. package/dist/types/lib/propsContext/inherit/propsContextLevel.d.ts.map +0 -1
  124. package/dist/types/lib/propsContext/inherit/types.d.ts +0 -6
  125. package/dist/types/lib/propsContext/inherit/types.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"Default.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/stories/Default.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAW/C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,OAAO,CAiC9B,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,OAAO,CAAC,CAAC;AAEtC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,MAAM,EAAE,KAAoC,CAAC;AAE1D,eAAO,MAAM,WAAW,EAAE,KAQzB,CAAC"}
1
+ {"version":3,"file":"Default.stories.d.ts","sourceRoot":"","sources":["../../../../../src/components/Message/stories/Default.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAW/C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,OAAO,CAiC9B,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,OAAO,CAAC,CAAC;AAEtC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,MAAM,EAAE,KAAoC,CAAC;AAE1D,eAAO,MAAM,WAAW,EAAE,KAQzB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../../src/components/Modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,iBAAiB,EAAkB,MAAM,OAAO,CAAC;AAQzE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAK/E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAK5D,M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AK,+FAqFhB,CAAC;AAEH,eAAe,KAAK,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"NavigationGroup.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Navigation/components/NavigationGroup/NavigationGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAQ/D,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,sCAAsC,CAAC;AAE9C,MAAM,WAAW,oBACf,SAAQ,iBAAiB,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC,EAClD,kBAAkB,CAAC,WAAW,CAAC;IACjC,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,wBAAwB;AACxB,eAAO,MAAM,eAAe,sGA0D1B,CAAC;AAEH,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"NavigationGroup.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Navigation/components/NavigationGroup/NavigationGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAQ/D,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,sCAAsC,CAAC;AAE9C,MAAM,WAAW,oBACf,SAAQ,iBAAiB,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC,EAClD,kBAAkB,CAAC,WAAW,CAAC;IACjC,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,wBAAwB;AACxB,eAAO,MAAM,eAAe,sGAuD1B,CAAC;AAEH,eAAe,eAAe,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Overlay.d.ts","sourceRoot":"","sources":["../../../../src/components/Overlay/Overlay.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,iBAAiB,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAGxD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAG1D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAI5D,MAAM,WAAW,YAAa,SAAQ,iBAAiB,EAAE,kBAAkB;IACzE,GAAG,CAAC,EAAE,GAAG,CAAC,cAAc,CAAC,CAAC;IAC1B,mDAAmD;IACnD,UAAU,CAAC,EAAE,iBAAiB,CAAC;IAC/B,mEAAmE;IACnE,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,qDAAqD;IACrD,WAAW,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC;IACnC,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,eAAO,MAAM,OAAO,EAAE,EAAE,CAAC,YAAY,CAoCpC,CAAC;AAEF,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"Overlay.d.ts","sourceRoot":"","sources":["../../../../src/components/Overlay/Overlay.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,iBAAiB,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAGxD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAG1D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAG5D,MAAM,WAAW,YAAa,SAAQ,iBAAiB,EAAE,kBAAkB;IACzE,GAAG,CAAC,EAAE,GAAG,CAAC,cAAc,CAAC,CAAC;IAC1B,mDAAmD;IACnD,UAAU,CAAC,EAAE,iBAAiB,CAAC;IAC/B,mEAAmE;IACnE,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,qDAAqD;IACrD,WAAW,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC;IACnC,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,eAAO,MAAM,OAAO,EAAE,EAAE,CAAC,YAAY,CAkCpC,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"PasswordCreationField.d.ts","sourceRoot":"","sources":["../../../../src/components/PasswordCreationField/PasswordCreationField.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,iBAAiB,EAKvB,MAAM,OAAO,CAAC;AAMf,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,sCAAsC,CAAC;AAE9C,OAAO,KAAK,IAAI,MAAM,uBAAuB,CAAC;AAc9C,OAAO,KAAK,EACV,sBAAsB,EACtB,wBAAwB,EACxB,oBAAoB,EACrB,MAAM,4CAA4C,CAAC;AAUpD,MAAM,WAAW,0BACf,SAAQ,iBAAiB,CACrB,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE,UAAU,GAAG,OAAO,GAAG,cAAc,CAAC,GAC9D,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,qBAAqB,EAAE,kBAAkB,CAAC,CAAC,CAChE,EACD,kBAAkB,CAAC,gBAAgB,CAAC;IACtC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,kBAAkB,CAAC,EAAE,CAAC,MAAM,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,OAAO,CAAA;KAAE,KAAK,IAAI,CAAC;IAC9E,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gBAAgB,CAAC,EAAE,wBAAwB,CAAC;CAC7C;AAED,MAAM,WAAW,8BACf,SAAQ,IAAI,CAAC,sBAAsB,EAAE,SAAS,CAAC;IAC/C,OAAO,EAAE,OAAO,GAAG,eAAe,CAAC;IACnC,WAAW,EAAE,oBAAoB,EAAE,CAAC;CACrC;AAED,wBAAwB;AACxB,eAAO,MAAM,qBAAqB,iHAiOjC,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
1
+ {"version":3,"file":"PasswordCreationField.d.ts","sourceRoot":"","sources":["../../../../src/components/PasswordCreationField/PasswordCreationField.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,iBAAiB,EAKvB,MAAM,OAAO,CAAC;AAMf,OAAO,EAEL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":3,"file":"Section.d.ts","sourceRoot":"","sources":["../../../../src/components/Section/Section.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAM/D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAI/E,MAAM,WAAW,YACf,SAAQ,iBAAiB,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC,EAClD,kBAAkB,CAAC,WAAW,CAAC;CAKlC;AAED,wBAAwB;AACxB,eAAO,MAAM,OAAO,8FAmDlB,CAAC;AAEH,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"Section.d.ts","sourceRoot":"","sources":["../../../../src/components/Section/Section.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAM/D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAI/E,MAAM,WAAW,YACf,SAAQ,iBAAiB,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC,EAClD,kBAAkB,CAAC,WAAW,CAAC;CAKlC;AAED,wBAAwB;AACxB,eAAO,MAAM,OAAO,8FAyDnB,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -8,7 +8,7 @@ export interface FlowComponentProps<R = HTMLDivElement> extends PropsWithTunnel,
8
8
  type FlowComponentImplementationProps<C extends FlowComponentName> = Omit<FlowComponentPropsOfName<C>, keyof FlowComponentProps> & RefAttributes<RefType<FlowComponentPropsOfName<C>>>;
9
9
  type FlowComponentImplementationType<C extends FlowComponentName> = ComponentType<FlowComponentImplementationProps<C>>;
10
10
  type FlowComponentType<C extends FlowComponentName> = FunctionComponent<FlowComponentPropsOfName<C> & RefAttributes<RefType<FlowComponentPropsOfName<C>>>>;
11
- type FlowComponentProvisionType = "provider" | "ui";
11
+ export type FlowComponentProvisionType = "provider" | "ui" | "layout";
12
12
  interface Options {
13
13
  type?: FlowComponentProvisionType;
14
14
  isRemoteComponent?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"flowComponent.d.ts","sourceRoot":"","sources":["../../../../src/lib/componentFactory/flowComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,kBAAkB,IAAI,wBAAwB,EAC/C,MAAM,wBAAwB,CAAC;AAChC,OAAO,KAAK,EAEV,aAAa,EACb,YAAY,EAEZ,aAAa,EACb,iBAAiB,EAClB,MAAM,OAAO,CAAC;AAEf,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAUzD,KAAK,OAAO,CAAC,CAAC,IAAI,CAAC,SAAS,aAAa,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,GAAG,SAAS,CAAC;AAEnE,MAAM,WAAW,kBAAkB,CAAC,CAAC,GAAG,cAAc,CACpD,SAAQ,eAAe,EACrB,aAAa,CAAC,CAAC,CAAC;IAClB,QAAQ,CAAC,EAAE,YAAY,CAAC;CACzB;AAED,KAAK,gCAAgC,CAAC,CAAC,SAAS,iBAAiB,IAAI,IAAI,CACvE,wBAAwB,CAAC,CAAC,CAAC,EAC3B,MAAM,kBAAkB,CACzB,GACC,aAAa,CAAC,OAAO,CAAC,wBAAwB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAEtD,KAAK,+BAA+B,CAAC,CAAC,SAAS,iBAAiB,IAC9D,aAAa,CAAC,gCAAgC,CAAC,CAAC,CAAC,CAAC,CAAC;AAErD,KAAK,iBAAiB,CAAC,CAAC,SAAS,iBAAiB,IAAI,iBAAiB,CACrE,wBAAwB,CAAC,CAAC,CAAC,GACzB,aAAa,CAAC,OAAO,CAAC,wBAAwB,CAAC,CAAC,CAAC,CAAC,CAAC,CACtD,CAAC;AAEF,KAAK,0BAA0B,GAAG,UAAU,GAAG,IAAI,CAAC;AAEpD,UAAU,OAAO;IACf,IAAI,CAAC,EAAE,0BAA0B,CAAC;IAClC,iBAAiB,CAAC,EAAE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CAAC,CAAC,CACtD,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG,UAAU,GAAG,IAAI,GAAG,QAAQ,CAAC;AAEtE,UAAU,OAAO;IACf,IAAI,CAAC,EAAE,0BAA0B,CAAC;IAClC,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B;AAED,wBAAgB,aAAa,CAAC,CAAC,SAAS,iBAAiB,EACvD,aAAa,EAAE,CAAC,EAChB,2BAA2B,EAAE,+BAA+B,CAAC,CAAC,CAAC,EAC/D,OAAO,GAAE,OAAY,GACpB,iBAAiB,CAAC,CAAC,CAAC,CAqEtB"}
@@ -1 +1 @@
1
- {"version":3,"file":"useFieldError.d.ts","sourceRoot":"","sources":["../../../../src/lib/hooks/useFieldError.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0D,MAAM,OAAO,CAAC;AAO/E,eAAO,MAAM,aAAa,GAAI,oBAAoB,MAAM;;;;;CA+CvD,CAAC"}
1
+ {"version":3,"file":"useFieldError.d.ts","sourceRoot":"","sources":["../../../../src/lib/hooks/useFieldError.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0D,MAAM,OAAO,CAAC;AAO/E,eAAO,MAAM,aAAa,GAAI,oBAAoB,MAAM;;;;;CA6CvD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"useProps.d.ts","sourceRoot":"","sources":["../../../../src/lib/hooks/useProps.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACxB,MAAM,wBAAwB,CAAC;AA2BhC,eAAO,MAAM,QAAQ,GAAI,CAAC,SAAS,iBAAiB,EAClD,WAAW,CAAC,EACZ,YAAY,kBAAkB,CAAC,CAAC,CAAC,KAChC,kBAAkB,CAAC,CAAC,CAyBtB,CAAC;AAEF,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"useProps.d.ts","sourceRoot":"","sources":["../../../../src/lib/hooks/useProps.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACxB,MAAM,wBAAwB,CAAC;AA0BhC,eAAO,MAAM,QAAQ,GAAI,CAAC,SAAS,iBAAiB,EAClD,WAAW,CAAC,EACZ,YAAY,kBAAkB,CAAC,CAAC,CAAC,KAChC,kBAAkB,CAAC,CAAC,CAwBtB,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -1,8 +1,4 @@
1
1
  import { FC, PropsWithChildren } from 'react';
2
- import { FlowComponentName } from '../../../components/propTypes';
3
- export interface ClearPropsContextProps extends PropsWithChildren {
4
- keep?: FlowComponentName;
5
- }
6
- export declare const ClearPropsContext: FC<ClearPropsContextProps>;
2
+ export declare const ClearPropsContext: FC<PropsWithChildren>;
7
3
  export default ClearPropsContext;
8
4
  //# sourceMappingURL=ClearPropsContext.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ClearPropsContext.d.ts","sourceRoot":"","sources":["../../../../../src/lib/propsContext/components/ClearPropsContext.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAW,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AACjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAGhE,MAAM,WAAW,sBAAuB,SAAQ,iBAAiB;IAC/D,IAAI,CAAC,EAAE,iBAAiB,CAAC;CAC1B;AAED,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CAiBxD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"ClearPropsContext.d.ts","sourceRoot":"","sources":["../../../../../src/lib/propsContext/components/ClearPropsContext.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAExD,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,iBAAiB,CAGnD,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -1,9 +1,7 @@
1
1
  import { PropsContext } from '../types';
2
2
  import { FC, PropsWithChildren } from 'react';
3
- import { PropsContextLevelMode } from '../inherit/types';
4
3
  export interface ComponentPropsContextProviderProps extends PropsWithChildren {
5
4
  componentProps?: PropsContext;
6
- levelModel?: PropsContextLevelMode;
7
5
  }
8
6
  /**
9
7
  * @flr-generate all
@@ -1 +1 @@
1
- {"version":3,"file":"ComponentPropsContextProvider.d.ts","sourceRoot":"","sources":["../../../../../src/lib/propsContext/components/ComponentPropsContextProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,OAAO,EAAQ,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC9D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAE9E,MAAM,WAAW,kCAAmC,SAAQ,iBAAiB;IAC3E,cAAc,CAAC,EAAE,YAAY,CAAC;IAC9B,UAAU,CAAC,EAAE,qBAAqB,CAAC;CACpC;AAED;;;GAGG;AACH,eAAO,MAAM,6BAA6B,EAAE,EAAE,CAAC,kCAAkC,CAQ7E,CAAC"}
1
+ {"version":3,"file":"ComponentPropsContextProvider.d.ts","sourceRoot":"","sources":["../../../../../src/lib/propsContext/components/ComponentPropsContextProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,OAAO,EAAQ,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE9D,MAAM,WAAW,kCAAmC,SAAQ,iBAAiB;IAC3E,cAAc,CAAC,EAAE,YAAY,CAAC;CAC/B;AAED;;;GAGG;AACH,eAAO,MAAM,6BAA6B,EAAE,EAAE,CAAC,kCAAkC,CAQ7E,CAAC"}
@@ -1,11 +1,8 @@
1
- import { PropsContextLevelMode } from '../inherit/types';
2
1
  import { PropsContext as PropsContextShape } from '../types';
3
2
  import { DependencyList, FC, PropsWithChildren } from 'react';
4
3
  interface Props extends PropsWithChildren {
5
4
  props: PropsContextShape;
6
5
  dependencies?: DependencyList;
7
- clear?: boolean;
8
- levelMode?: PropsContextLevelMode;
9
6
  }
10
7
  export declare const PropsContextProvider: FC<Props>;
11
8
  export default PropsContextProvider;
@@ -1 +1 @@
1
- {"version":3,"file":"PropsContextProvider.d.ts","sourceRoot":"","sources":["../../../../../src/lib/propsContext/components/PropsContextProvider.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAG9E,OAAO,KAAK,EAAE,YAAY,IAAI,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAClF,OAAO,KAAK,EAAE,cAAc,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAInE,UAAU,KAAM,SAAQ,iBAAiB;IACvC,KAAK,EAAE,iBAAiB,CAAC;IACzB,YAAY,CAAC,EAAE,cAAc,CAAC;IAC9B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,SAAS,CAAC,EAAE,qBAAqB,CAAC;CACnC;AAKD,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC,KAAK,CAgCzC,CAAC;AAIH,eAAe,oBAAoB,CAAC"}
1
+ {"version":3,"file":"PropsContextProvider.d.ts","sourceRoot":"","sources":["../../../../../src/lib/propsContext/components/PropsContextProvider.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,IAAI,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAClF,OAAO,KAAK,EAAE,cAAc,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAGnE,UAAU,KAAM,SAAQ,iBAAiB;IACvC,KAAK,EAAE,iBAAiB,CAAC;IACzB,YAAY,CAAC,EAAE,cAAc,CAAC;CAC/B;AAKD,eAAO,MAAM,oBAAoB,EAAE,EAAE,CAAC,KAAK,CAWzC,CAAC;AAIH,eAAe,oBAAoB,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import { PropsContext } from './types';
2
- export declare const mergePropsContext: (parentContext?: PropsContext, context?: PropsContext, currentLevel?: number) => PropsContext;
2
+ export declare const mergePropsContext: (firstContext?: PropsContext, secondContext?: PropsContext) => PropsContext;
3
3
  export default mergePropsContext;
4
4
  //# sourceMappingURL=mergePropsContext.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mergePropsContext.d.ts","sourceRoot":"","sources":["../../../../src/lib/propsContext/mergePropsContext.ts"],"names":[],"mappings":"AAIA,OAAO,EACL,KAAK,YAAY,EAElB,MAAM,0BAA0B,CAAC;AAQlC,eAAO,MAAM,iBAAiB,GAC5B,gBAAe,YAAiB,EAChC,UAAS,YAAiB,EAC1B,qBAAgB,KACf,YA0CF,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"mergePropsContext.d.ts","sourceRoot":"","sources":["../../../../src/lib/propsContext/mergePropsContext.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAkB,MAAM,0BAA0B,CAAC;AAQ7E,eAAO,MAAM,iBAAiB,GAC5B,eAAc,YAAiB,EAC/B,gBAAe,YAAiB,KAC/B,YAeF,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -1,88 +1,7 @@
1
1
  import { PropsContext } from '../types';
2
2
  import { NestingLevelProps } from './types';
3
- export declare function isNestingProps(propsContext: PropsContext): propsContext is NestingLevelProps;
3
+ export declare function isNestingProps(propsContext: unknown): propsContext is NestingLevelProps;
4
4
  export declare function isNestingLevelKey(key: string): key is "___nestingLevel";
5
- export declare const getNestingLevel: (props: PropsContext) => number;
6
- export declare const increaseNestingLevel: (propsContext: PropsContext) => {
7
- ___nestingLevel: number;
8
- AccentBox?: import('../types').ComponentPropsContext<"AccentBox"> | undefined;
9
- Action?: import('../types').ComponentPropsContext<"Action"> | undefined;
10
- ActionGroup?: import('../types').ComponentPropsContext<"ActionGroup"> | undefined;
11
- Alert?: import('../types').ComponentPropsContext<"Alert"> | undefined;
12
- AlertBadge?: import('../types').ComponentPropsContext<"AlertBadge"> | undefined;
13
- AlertIcon?: import('../types').ComponentPropsContext<"AlertIcon"> | undefined;
14
- Align?: import('../types').ComponentPropsContext<"Align"> | undefined;
15
- Avatar?: import('../types').ComponentPropsContext<"Avatar"> | undefined;
16
- Autocomplete?: import('../types').ComponentPropsContext<"Autocomplete"> | undefined;
17
- Badge?: import('../types').ComponentPropsContext<"Badge"> | undefined;
18
- Button?: import('../types').ComponentPropsContext<"Button"> | undefined;
19
- Checkbox?: import('../types').ComponentPropsContext<"Checkbox"> | undefined;
20
- CheckboxButton?: import('../types').ComponentPropsContext<"CheckboxButton"> | undefined;
21
- CheckboxGroup?: import('../types').ComponentPropsContext<"CheckboxGroup"> | undefined;
22
- ColumnLayout?: import('../types').ComponentPropsContext<"ColumnLayout"> | undefined;
23
- ComboBox?: import('../types').ComponentPropsContext<"ComboBox"> | undefined;
24
- Content?: import('../types').ComponentPropsContext<"Content"> | undefined;
25
- ContextMenu?: import('../types').ComponentPropsContext<"ContextMenu"> | undefined;
26
- ContextMenuSection?: import('../types').ComponentPropsContext<"ContextMenuSection"> | undefined;
27
- ContextMenuTrigger?: import('../types').ComponentPropsContext<"ContextMenuTrigger"> | undefined;
28
- ContextualHelp?: import('../types').ComponentPropsContext<"ContextualHelp"> | undefined;
29
- ContextualHelpTrigger?: import('../types').ComponentPropsContext<"ContextualHelpTrigger"> | undefined;
30
- CopyButton?: import('../types').ComponentPropsContext<"CopyButton"> | undefined;
31
- CounterBadge?: import('../types').ComponentPropsContext<"CounterBadge"> | undefined;
32
- CountryOptions?: import('../types').ComponentPropsContext<"CountryOptions"> | undefined;
33
- DatePicker?: import('../types').ComponentPropsContext<"DatePicker"> | undefined;
34
- DateRangePicker?: import('../types').ComponentPropsContext<"DateRangePicker"> | undefined;
35
- FieldDescription?: import('../types').ComponentPropsContext<"FieldDescription"> | undefined;
36
- FieldError?: import('../types').ComponentPropsContext<"FieldError"> | undefined;
37
- FileCard?: import('../types').ComponentPropsContext<"FileCard"> | undefined;
38
- FileCardList?: import('../types').ComponentPropsContext<"FileCardList"> | undefined;
39
- FileField?: import('../types').ComponentPropsContext<"FileField"> | undefined;
40
- FileDropZone?: import('../types').ComponentPropsContext<"FileDropZone"> | undefined;
41
- Header?: import('../types').ComponentPropsContext<"Header"> | undefined;
42
- Heading?: import('../types').ComponentPropsContext<"Heading"> | undefined;
43
- Icon?: import('../types').ComponentPropsContext<"Icon"> | undefined;
44
- Image?: import('../types').ComponentPropsContext<"Image"> | undefined;
45
- Initials?: import('../types').ComponentPropsContext<"Initials"> | undefined;
46
- Label?: import('../types').ComponentPropsContext<"Label"> | undefined;
47
- LayoutCard?: import('../types').ComponentPropsContext<"LayoutCard"> | undefined;
48
- LightBox?: import('../types').ComponentPropsContext<"LightBox"> | undefined;
49
- Link?: import('../types').ComponentPropsContext<"Link"> | undefined;
50
- List?: import('../types').ComponentPropsContext<"List"> | undefined;
51
- ListSummary?: import('../types').ComponentPropsContext<"ListSummary"> | undefined;
52
- MarkdownEditor?: import('../types').ComponentPropsContext<"MarkdownEditor"> | undefined;
53
- MenuItem?: import('../types').ComponentPropsContext<"MenuItem"> | undefined;
54
- MenuTrigger?: import('../types').ComponentPropsContext<"MenuTrigger"> | undefined;
55
- Message?: import('../types').ComponentPropsContext<"Message"> | undefined;
56
- MessageThread?: import('../types').ComponentPropsContext<"MessageThread"> | undefined;
57
- Modal?: import('../types').ComponentPropsContext<"Modal"> | undefined;
58
- Navigation?: import('../types').ComponentPropsContext<"Navigation"> | undefined;
59
- NavigationGroup?: import('../types').ComponentPropsContext<"NavigationGroup"> | undefined;
60
- NumberField?: import('../types').ComponentPropsContext<"NumberField"> | undefined;
61
- Option?: import('../types').ComponentPropsContext<"Option"> | undefined;
62
- Options?: import('../types').ComponentPropsContext<"Options"> | undefined;
63
- Popover?: import('../types').ComponentPropsContext<"Popover"> | undefined;
64
- PopoverTrigger?: import('../types').ComponentPropsContext<"PopoverTrigger"> | undefined;
65
- PasswordCreationField?: import('../types').ComponentPropsContext<"PasswordCreationField"> | undefined;
66
- ProgressBar?: import('../types').ComponentPropsContext<"ProgressBar"> | undefined;
67
- Radio?: import('../types').ComponentPropsContext<"Radio"> | undefined;
68
- RadioButton?: import('../types').ComponentPropsContext<"RadioButton"> | undefined;
69
- RadioGroup?: import('../types').ComponentPropsContext<"RadioGroup"> | undefined;
70
- SearchField?: import('../types').ComponentPropsContext<"SearchField"> | undefined;
71
- Section?: import('../types').ComponentPropsContext<"Section"> | undefined;
72
- Segment?: import('../types').ComponentPropsContext<"Segment"> | undefined;
73
- SegmentedControl?: import('../types').ComponentPropsContext<"SegmentedControl"> | undefined;
74
- Select?: import('../types').ComponentPropsContext<"Select"> | undefined;
75
- Slider?: import('../types').ComponentPropsContext<"Slider"> | undefined;
76
- SubmitButton?: import('../types').ComponentPropsContext<"SubmitButton"> | undefined;
77
- ResetButton?: import('../types').ComponentPropsContext<"ResetButton"> | undefined;
78
- Switch?: import('../types').ComponentPropsContext<"Switch"> | undefined;
79
- Tabs?: import('../types').ComponentPropsContext<"Tabs"> | undefined;
80
- TabTitle?: import('../types').ComponentPropsContext<"TabTitle"> | undefined;
81
- Text?: import('../types').ComponentPropsContext<"Text"> | undefined;
82
- TextArea?: import('../types').ComponentPropsContext<"TextArea"> | undefined;
83
- TextField?: import('../types').ComponentPropsContext<"TextField"> | undefined;
84
- TimeField?: import('../types').ComponentPropsContext<"TimeField"> | undefined;
85
- TestComponent?: import('../types').ComponentPropsContext<"TestComponent"> | undefined;
86
- ___inherit?: boolean | "preserve";
87
- };
5
+ export declare const getNestingLevel: (props: unknown) => number;
6
+ export declare const addNestingLevel: (propsContext: PropsContext, currentLevel?: number) => PropsContext;
88
7
  //# sourceMappingURL=lib.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"lib.d.ts","sourceRoot":"","sources":["../../../../../src/lib/propsContext/nestedPropsContext/lib.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAEL,KAAK,iBAAiB,EACvB,MAAM,6CAA6C,CAAC;AAErD,wBAAgB,cAAc,CAC5B,YAAY,EAAE,YAAY,GACzB,YAAY,IAAI,iBAAiB,CAKnC;AAED,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,MAAM,4BAE5C;AAED,eAAO,MAAM,eAAe,GAAI,OAAO,YAAY,WAElD,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAAI,cAAc,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAM9D,CAAC"}
1
+ {"version":3,"file":"lib.d.ts","sourceRoot":"","sources":["../../../../../src/lib/propsContext/nestedPropsContext/lib.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAEL,KAAK,iBAAiB,EACvB,MAAM,6CAA6C,CAAC;AAGrD,wBAAgB,cAAc,CAC5B,YAAY,EAAE,OAAO,GACpB,YAAY,IAAI,iBAAiB,CAOnC;AAED,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,MAAM,4BAE5C;AAED,eAAO,MAAM,eAAe,GAAI,OAAO,OAAO,WAE7C,CAAC;AAEF,eAAO,MAAM,eAAe,GAC1B,cAAc,YAAY,EAC1B,qBAAgB,iBAgBjB,CAAC"}
@@ -1,10 +1,9 @@
1
1
  import { FlowComponentName, FlowComponentPropName, FlowComponentPropType } from '../../components/propTypes/types';
2
2
  import { DynamicProp } from './dynamicProps/types';
3
- import { InheritPropsContextSettings } from './inherit/types';
4
3
  import { NestingLevelProps } from './nestedPropsContext/types';
5
4
  export type PropsContext = Partial<{
6
5
  [C in FlowComponentName]: ComponentPropsContext<C>;
7
- }> & InheritPropsContextSettings & NestingLevelProps;
6
+ }> & NestingLevelProps;
8
7
  export type ComponentPropsContext<C extends FlowComponentName> = Partial<{
9
8
  [P in FlowComponentPropName<C>]: FlowComponentPropType<C, P> | DynamicProp<C, P>;
10
9
  }> & PropsContext;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/propsContext/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,qBAAqB,EACrB,qBAAqB,EACtB,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AACpF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,6CAA6C,CAAC;AAErF,MAAM,MAAM,YAAY,GAAG,OAAO,CAAC;KAChC,CAAC,IAAI,iBAAiB,GAAG,qBAAqB,CAAC,CAAC,CAAC;CACnD,CAAC,GACA,2BAA2B,GAC3B,iBAAiB,CAAC;AAEpB,MAAM,MAAM,qBAAqB,CAAC,CAAC,SAAS,iBAAiB,IAAI,OAAO,CAAC;KACtE,CAAC,IAAI,qBAAqB,CAAC,CAAC,CAAC,GAC1B,qBAAqB,CAAC,CAAC,EAAE,CAAC,CAAC,GAC3B,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC;CACtB,CAAC,GACA,YAAY,CAAC;AAIf,MAAM,MAAM,cAAc,GAAG,GAAG,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/propsContext/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,qBAAqB,EACrB,qBAAqB,EACtB,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,6CAA6C,CAAC;AAErF,MAAM,MAAM,YAAY,GAAG,OAAO,CAAC;KAChC,CAAC,IAAI,iBAAiB,GAAG,qBAAqB,CAAC,CAAC,CAAC;CACnD,CAAC,GACA,iBAAiB,CAAC;AAEpB,MAAM,MAAM,qBAAqB,CAAC,CAAC,SAAS,iBAAiB,IAAI,OAAO,CAAC;KACtE,CAAC,IAAI,qBAAqB,CAAC,CAAC,CAAC,GAC1B,qBAAqB,CAAC,CAAC,EAAE,CAAC,CAAC,GAC3B,WAAW,CAAC,CAAC,EAAE,CAAC,CAAC;CACtB,CAAC,GACA,YAAY,CAAC;AAIf,MAAM,MAAM,cAAc,GAAG,GAAG,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"getPropsMerger.d.ts","sourceRoot":"","sources":["../../../../src/lib/react/getPropsMerger.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,IAAI,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAKjE,UAAU,iBAAiB;IACzB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,cAAc,GACxB,UAAS,iBAAsB,KAAG,OAAO,cAyDzC,CAAC"}
1
+ {"version":3,"file":"getPropsMerger.d.ts","sourceRoot":"","sources":["../../../../src/lib/react/getPropsMerger.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,IAAI,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAMjE,UAAU,iBAAiB;IACzB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,cAAc,GACxB,UAAS,iBAAsB,KAAG,OAAO,cA+DzC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/flow-react-components",
3
- "version": "0.2.0-alpha.568",
3
+ "version": "0.2.0-alpha.569",
4
4
  "type": "module",
5
5
  "description": "A React implementation of Flow, mittwald’s design system",
6
6
  "homepage": "https://mittwald.github.io/flow",
@@ -58,7 +58,7 @@
58
58
  "dependencies": {
59
59
  "@internationalized/string-compiler": "^3.2.6",
60
60
  "@mittwald/password-tools-js": "3.0.0-alpha.18",
61
- "@mittwald/react-tunnel": "0.2.0-alpha.568",
61
+ "@mittwald/react-tunnel": "0.2.0-alpha.569",
62
62
  "@mittwald/react-use-promise": "^4.2.2",
63
63
  "@react-aria/form": "^3.1.2",
64
64
  "@react-aria/live-announcer": "^3.4.4",
@@ -103,7 +103,7 @@
103
103
  "@faker-js/faker": "^10.1.0",
104
104
  "@internationalized/date": "^3.10.0",
105
105
  "@mittwald/flow-core": "",
106
- "@mittwald/flow-design-tokens": "0.2.0-alpha.568",
106
+ "@mittwald/flow-design-tokens": "0.2.0-alpha.569",
107
107
  "@mittwald/react-use-promise": "^4.2.2",
108
108
  "@mittwald/remote-dom-react": "1.2.2-mittwald.10",
109
109
  "@mittwald/typescript-config": "",
@@ -176,5 +176,5 @@
176
176
  "optional": true
177
177
  }
178
178
  },
179
- "gitHead": "704f128615aeefb0f5be23ae3f9e748e009b34dd"
179
+ "gitHead": "b3cc64583d628802ab78e5cc3a726f8e8537dff4"
180
180
  }
@@ -1,20 +0,0 @@
1
- "use client"
2
- /* */
3
- import { jsx } from 'react/jsx-runtime';
4
- import { propsContextLevelContext, usePropsContextLevel } from './propsContextLevel.mjs';
5
- import { memo } from 'react';
6
-
7
- const Provider = memo(propsContextLevelContext.Provider);
8
- Provider.displayName = "PropsContextLevelContextProviderInner";
9
- const PropsContextLevelProvider = memo((props) => {
10
- const { mode, children } = props;
11
- const newLevel = usePropsContextLevel(mode);
12
- if (mode === "keep") {
13
- return children;
14
- }
15
- return /* @__PURE__ */ jsx(Provider, { value: newLevel, children });
16
- });
17
- PropsContextLevelProvider.displayName = "PropsContextLevelProvider";
18
-
19
- export { PropsContextLevelProvider, PropsContextLevelProvider as default };
20
- //# sourceMappingURL=PropsContextLevelProvider.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PropsContextLevelProvider.mjs","sources":["../../../../../../../src/lib/propsContext/inherit/PropsContextLevelProvider.tsx"],"sourcesContent":["import {\n propsContextLevelContext,\n usePropsContextLevel,\n} from \"@/lib/propsContext/inherit/propsContextLevel\";\nimport type { PropsContextLevelMode } from \"@/lib/propsContext/inherit/types\";\nimport { memo, type FC, type PropsWithChildren } from \"react\";\n\nexport interface PropsContextLevelProviderProps extends PropsWithChildren {\n mode: PropsContextLevelMode;\n}\n\nconst Provider = memo(propsContextLevelContext.Provider);\nProvider.displayName = \"PropsContextLevelContextProviderInner\";\n\nexport const PropsContextLevelProvider: FC<PropsContextLevelProviderProps> =\n memo((props) => {\n const { mode, children } = props;\n\n const newLevel = usePropsContextLevel(mode);\n\n if (mode === \"keep\") {\n return children;\n }\n\n return <Provider value={newLevel}>{children}</Provider>;\n });\n\nPropsContextLevelProvider.displayName = \"PropsContextLevelProvider\";\n\nexport default PropsContextLevelProvider;\n"],"names":[],"mappings":";;;;AAWA,MAAM,QAAA,GAAW,IAAA,CAAK,wBAAA,CAAyB,QAAQ,CAAA;AACvD,QAAA,CAAS,WAAA,GAAc,uCAAA;AAEhB,MAAM,yBAAA,GACX,IAAA,CAAK,CAAC,KAAA,KAAU;AACd,EAAA,MAAM,EAAE,IAAA,EAAM,QAAA,EAAS,GAAI,KAAA;AAE3B,EAAA,MAAM,QAAA,GAAW,qBAAqB,IAAI,CAAA;AAE1C,EAAA,IAAI,SAAS,MAAA,EAAQ;AACnB,IAAA,OAAO,QAAA;AAAA,EACT;AAEA,EAAA,uBAAO,GAAA,CAAC,QAAA,EAAA,EAAS,KAAA,EAAO,QAAA,EAAW,QAAA,EAAS,CAAA;AAC9C,CAAC;AAEH,yBAAA,CAA0B,WAAA,GAAc,2BAAA;;;;"}
@@ -1,39 +0,0 @@
1
- "use client"
2
- /* */
3
- import { inheritPropsContextKey } from './types.mjs';
4
-
5
- function isMaxRecursionLevelProp(something) {
6
- return !!something && typeof something === "object" && inheritPropsContextKey in something;
7
- }
8
- const getMaxRecursionLevel = (props) => {
9
- if (isMaxRecursionLevelProp(props)) {
10
- return props[inheritPropsContextKey] ? Infinity : 0;
11
- }
12
- return 0;
13
- };
14
- const isInheritedPropsContextKey = (key) => key === inheritPropsContextKey;
15
- const getLevelAfterModeApplied = (currentLevel, mode) => {
16
- switch (mode) {
17
- case "increment":
18
- return currentLevel + 1;
19
- case "decrement":
20
- return currentLevel - 1;
21
- case "reset":
22
- return 0;
23
- case "keep":
24
- default:
25
- return currentLevel;
26
- }
27
- };
28
- const filterPreservedInheritEntries = (currentPropsContext) => {
29
- const resultPropsContext = {};
30
- for (const [key, value] of Object.entries(currentPropsContext)) {
31
- if (value && typeof value === "object" && !Array.isArray(value) && value.___inherit && value.___inherit === "preserve") {
32
- resultPropsContext[key] = value;
33
- }
34
- }
35
- return resultPropsContext;
36
- };
37
-
38
- export { filterPreservedInheritEntries, getLevelAfterModeApplied, getMaxRecursionLevel, isInheritedPropsContextKey, isMaxRecursionLevelProp };
39
- //# sourceMappingURL=lib.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"lib.mjs","sources":["../../../../../../../src/lib/propsContext/inherit/lib.ts"],"sourcesContent":["import {\n inheritPropsContextKey,\n type InheritPropsContextSettings,\n type PropsContextLevelMode,\n} from \"@/lib/propsContext/inherit/types\";\nimport type { PropsContext as PropsContextShape } from \"@/lib/propsContext\";\nimport type { FlowComponentName } from \"@/components/propTypes\";\n\nexport function isMaxRecursionLevelProp(\n something: unknown,\n): something is InheritPropsContextSettings {\n return (\n !!something &&\n typeof something === \"object\" &&\n inheritPropsContextKey in something\n );\n}\n\nexport const getMaxRecursionLevel = (props: unknown) => {\n if (isMaxRecursionLevelProp(props)) {\n return props[inheritPropsContextKey] ? Infinity : 0;\n }\n return 0;\n};\n\nexport const isInheritedPropsContextKey = (key: unknown) =>\n key === inheritPropsContextKey;\n\nexport const getLevelAfterModeApplied = (\n currentLevel: number,\n mode: PropsContextLevelMode,\n) => {\n switch (mode) {\n case \"increment\":\n return currentLevel + 1;\n case \"decrement\":\n return currentLevel - 1;\n case \"reset\":\n return 0;\n case \"keep\":\n default:\n return currentLevel;\n }\n};\n\nexport const filterPreservedInheritEntries = (\n currentPropsContext: PropsContextShape,\n): Partial<PropsContextShape> => {\n const resultPropsContext: Partial<PropsContextShape> = {};\n\n for (const [key, value] of Object.entries(currentPropsContext)) {\n if (\n value &&\n typeof value === \"object\" &&\n !Array.isArray(value) &&\n value.___inherit &&\n value.___inherit === \"preserve\"\n ) {\n resultPropsContext[key as FlowComponentName] = value;\n }\n }\n\n return resultPropsContext;\n};\n"],"names":[],"mappings":";;AAQO,SAAS,wBACd,SAAA,EAC0C;AAC1C,EAAA,OACE,CAAC,CAAC,SAAA,IACF,OAAO,SAAA,KAAc,YACrB,sBAAA,IAA0B,SAAA;AAE9B;AAEO,MAAM,oBAAA,GAAuB,CAAC,KAAA,KAAmB;AACtD,EAAA,IAAI,uBAAA,CAAwB,KAAK,CAAA,EAAG;AAClC,IAAA,OAAO,KAAA,CAAM,sBAAsB,CAAA,GAAI,QAAA,GAAW,CAAA;AAAA,EACpD;AACA,EAAA,OAAO,CAAA;AACT;AAEO,MAAM,0BAAA,GAA6B,CAAC,GAAA,KACzC,GAAA,KAAQ;AAEH,MAAM,wBAAA,GAA2B,CACtC,YAAA,EACA,IAAA,KACG;AACH,EAAA,QAAQ,IAAA;AAAM,IACZ,KAAK,WAAA;AACH,MAAA,OAAO,YAAA,GAAe,CAAA;AAAA,IACxB,KAAK,WAAA;AACH,MAAA,OAAO,YAAA,GAAe,CAAA;AAAA,IACxB,KAAK,OAAA;AACH,MAAA,OAAO,CAAA;AAAA,IACT,KAAK,MAAA;AAAA,IACL;AACE,MAAA,OAAO,YAAA;AAAA;AAEb;AAEO,MAAM,6BAAA,GAAgC,CAC3C,mBAAA,KAC+B;AAC/B,EAAA,MAAM,qBAAiD,EAAC;AAExD,EAAA,KAAA,MAAW,CAAC,GAAA,EAAK,KAAK,KAAK,MAAA,CAAO,OAAA,CAAQ,mBAAmB,CAAA,EAAG;AAC9D,IAAA,IACE,KAAA,IACA,OAAO,KAAA,KAAU,QAAA,IACjB,CAAC,KAAA,CAAM,OAAA,CAAQ,KAAK,CAAA,IACpB,KAAA,CAAM,UAAA,IACN,KAAA,CAAM,eAAe,UAAA,EACrB;AACA,MAAA,kBAAA,CAAmB,GAAwB,CAAA,GAAI,KAAA;AAAA,IACjD;AAAA,EACF;AAEA,EAAA,OAAO,kBAAA;AACT;;;;"}
@@ -1,13 +0,0 @@
1
- "use client"
2
- /* */
3
- import { getLevelAfterModeApplied } from './lib.mjs';
4
- import { createContext, useContext } from 'react';
5
-
6
- const propsContextLevelContext = createContext(0);
7
- const usePropsContextLevel = (mode = "keep") => {
8
- const level = useContext(propsContextLevelContext);
9
- return getLevelAfterModeApplied(level, mode);
10
- };
11
-
12
- export { propsContextLevelContext, usePropsContextLevel };
13
- //# sourceMappingURL=propsContextLevel.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"propsContextLevel.mjs","sources":["../../../../../../../src/lib/propsContext/inherit/propsContextLevel.ts"],"sourcesContent":["import { getLevelAfterModeApplied } from \"@/lib/propsContext/inherit/lib\";\nimport type { PropsContextLevelMode } from \"@/lib/propsContext/inherit/types\";\nimport { createContext, useContext } from \"react\";\n\nexport const propsContextLevelContext = createContext<number>(0);\n\nexport const usePropsContextLevel = (\n mode: PropsContextLevelMode = \"keep\",\n): number => {\n const level = useContext(propsContextLevelContext);\n return getLevelAfterModeApplied(level, mode);\n};\n"],"names":[],"mappings":";;;AAIO,MAAM,wBAAA,GAA2B,cAAsB,CAAC;AAExD,MAAM,oBAAA,GAAuB,CAClC,IAAA,GAA8B,MAAA,KACnB;AACX,EAAA,MAAM,KAAA,GAAQ,WAAW,wBAAwB,CAAA;AACjD,EAAA,OAAO,wBAAA,CAAyB,OAAO,IAAI,CAAA;AAC7C;;;;"}
@@ -1,6 +0,0 @@
1
- "use client"
2
- /* */
3
- const inheritPropsContextKey = "___inherit";
4
-
5
- export { inheritPropsContextKey };
6
- //# sourceMappingURL=types.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.mjs","sources":["../../../../../../../src/lib/propsContext/inherit/types.ts"],"sourcesContent":["/** @internal */\nexport const inheritPropsContextKey = \"___inherit\" as const;\n\n/** @internal */\nexport type InheritPropsContextKey = typeof inheritPropsContextKey;\n\nexport interface InheritPropsContextSettings {\n [inheritPropsContextKey]?: boolean | \"preserve\";\n}\n\nexport const inheritProps: InheritPropsContextSettings = {\n [inheritPropsContextKey]: true,\n};\n\nexport type PropsContextLevelMode =\n | \"reset\"\n | \"increment\"\n | \"decrement\"\n | \"keep\";\n"],"names":[],"mappings":"AACO,MAAM,sBAAA,GAAyB;;;;"}
@@ -1,8 +0,0 @@
1
- import { PropsContextLevelMode } from './types';
2
- import { FC, PropsWithChildren } from 'react';
3
- export interface PropsContextLevelProviderProps extends PropsWithChildren {
4
- mode: PropsContextLevelMode;
5
- }
6
- export declare const PropsContextLevelProvider: FC<PropsContextLevelProviderProps>;
7
- export default PropsContextLevelProvider;
8
- //# sourceMappingURL=PropsContextLevelProvider.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PropsContextLevelProvider.d.ts","sourceRoot":"","sources":["../../../../../src/lib/propsContext/inherit/PropsContextLevelProvider.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAC9E,OAAO,EAAQ,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE9D,MAAM,WAAW,8BAA+B,SAAQ,iBAAiB;IACvE,IAAI,EAAE,qBAAqB,CAAC;CAC7B;AAKD,eAAO,MAAM,yBAAyB,EAAE,EAAE,CAAC,8BAA8B,CAWrE,CAAC;AAIL,eAAe,yBAAyB,CAAC"}
@@ -1,8 +0,0 @@
1
- import { InheritPropsContextSettings, PropsContextLevelMode } from './types';
2
- import { PropsContext as PropsContextShape } from '..';
3
- export declare function isMaxRecursionLevelProp(something: unknown): something is InheritPropsContextSettings;
4
- export declare const getMaxRecursionLevel: (props: unknown) => number;
5
- export declare const isInheritedPropsContextKey: (key: unknown) => key is "___inherit";
6
- export declare const getLevelAfterModeApplied: (currentLevel: number, mode: PropsContextLevelMode) => number;
7
- export declare const filterPreservedInheritEntries: (currentPropsContext: PropsContextShape) => Partial<PropsContextShape>;
8
- //# sourceMappingURL=lib.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"lib.d.ts","sourceRoot":"","sources":["../../../../../src/lib/propsContext/inherit/lib.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,2BAA2B,EAChC,KAAK,qBAAqB,EAC3B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,KAAK,EAAE,YAAY,IAAI,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAG5E,wBAAgB,uBAAuB,CACrC,SAAS,EAAE,OAAO,GACjB,SAAS,IAAI,2BAA2B,CAM1C;AAED,eAAO,MAAM,oBAAoB,GAAI,OAAO,OAAO,WAKlD,CAAC;AAEF,eAAO,MAAM,0BAA0B,GAAI,KAAK,OAAO,wBACvB,CAAC;AAEjC,eAAO,MAAM,wBAAwB,GACnC,cAAc,MAAM,EACpB,MAAM,qBAAqB,WAa5B,CAAC;AAEF,eAAO,MAAM,6BAA6B,GACxC,qBAAqB,iBAAiB,KACrC,OAAO,CAAC,iBAAiB,CAgB3B,CAAC"}
@@ -1,4 +0,0 @@
1
- import { PropsContextLevelMode } from './types';
2
- export declare const propsContextLevelContext: import('react').Context<number>;
3
- export declare const usePropsContextLevel: (mode?: PropsContextLevelMode) => number;
4
- //# sourceMappingURL=propsContextLevel.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"propsContextLevel.d.ts","sourceRoot":"","sources":["../../../../../src/lib/propsContext/inherit/propsContextLevel.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AAG9E,eAAO,MAAM,wBAAwB,iCAA2B,CAAC;AAEjE,eAAO,MAAM,oBAAoB,GAC/B,OAAM,qBAA8B,KACnC,MAGF,CAAC"}
@@ -1,6 +0,0 @@
1
- export interface InheritPropsContextSettings {
2
- [inheritPropsContextKey]?: boolean | "preserve";
3
- }
4
- export declare const inheritProps: InheritPropsContextSettings;
5
- export type PropsContextLevelMode = "reset" | "increment" | "decrement" | "keep";
6
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/lib/propsContext/inherit/types.ts"],"names":[],"mappings":"AAMA,MAAM,WAAW,2BAA2B;IAC1C,CAAC,sBAAsB,CAAC,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC;CACjD;AAED,eAAO,MAAM,YAAY,EAAE,2BAE1B,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAC7B,OAAO,GACP,WAAW,GACX,WAAW,GACX,MAAM,CAAC"}