@mittwald/flow-react-components 0.2.0-alpha.536 → 0.2.0-alpha.538

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 (92) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/assets/doc-properties.json +25498 -25537
  3. package/dist/css/all.css +1 -1
  4. package/dist/js/components/src/components/Autocomplete/Autocomplete.mjs +2 -2
  5. package/dist/js/components/src/components/Autocomplete/Autocomplete.mjs.map +1 -1
  6. package/dist/js/components/src/components/Checkbox/Checkbox.mjs +8 -3
  7. package/dist/js/components/src/components/Checkbox/Checkbox.mjs.map +1 -1
  8. package/dist/js/components/src/components/CheckboxButton/CheckboxButton.mjs +2 -2
  9. package/dist/js/components/src/components/CheckboxButton/CheckboxButton.mjs.map +1 -1
  10. package/dist/js/components/src/components/CheckboxGroup/CheckboxGroup.mjs +2 -2
  11. package/dist/js/components/src/components/CheckboxGroup/CheckboxGroup.mjs.map +1 -1
  12. package/dist/js/components/src/components/ComboBox/ComboBox.mjs +2 -2
  13. package/dist/js/components/src/components/ComboBox/ComboBox.mjs.map +1 -1
  14. package/dist/js/components/src/components/DatePicker/DatePicker.mjs +19 -12
  15. package/dist/js/components/src/components/DatePicker/DatePicker.mjs.map +1 -1
  16. package/dist/js/components/src/components/DateRangePicker/DateRangePicker.mjs +19 -12
  17. package/dist/js/components/src/components/DateRangePicker/DateRangePicker.mjs.map +1 -1
  18. package/dist/js/components/src/components/FieldError/FieldError.mjs +26 -25
  19. package/dist/js/components/src/components/FieldError/FieldError.mjs.map +1 -1
  20. package/dist/js/components/src/components/FileDropZone/FileDropZone.mjs +2 -2
  21. package/dist/js/components/src/components/FileDropZone/FileDropZone.mjs.map +1 -1
  22. package/dist/js/components/src/components/FileField/FileField.mjs +2 -2
  23. package/dist/js/components/src/components/FileField/FileField.mjs.map +1 -1
  24. package/dist/js/components/src/components/List/components/Items/components/Item/Item.mjs +1 -0
  25. package/dist/js/components/src/components/List/components/Items/components/Item/Item.mjs.map +1 -1
  26. package/dist/js/components/src/components/List/model/item/ItemView.mjs +3 -0
  27. package/dist/js/components/src/components/List/model/item/ItemView.mjs.map +1 -1
  28. package/dist/js/components/src/components/NumberField/NumberField.mjs +7 -2
  29. package/dist/js/components/src/components/NumberField/NumberField.mjs.map +1 -1
  30. package/dist/js/components/src/components/PasswordCreationField/PasswordCreationField.mjs +56 -82
  31. package/dist/js/components/src/components/PasswordCreationField/PasswordCreationField.mjs.map +1 -1
  32. package/dist/js/components/src/components/RadioGroup/RadioGroup.mjs +2 -2
  33. package/dist/js/components/src/components/RadioGroup/RadioGroup.mjs.map +1 -1
  34. package/dist/js/components/src/components/SearchField/SearchField.mjs +2 -2
  35. package/dist/js/components/src/components/SearchField/SearchField.mjs.map +1 -1
  36. package/dist/js/components/src/components/SegmentedControl/SegmentedControl.mjs +2 -2
  37. package/dist/js/components/src/components/SegmentedControl/SegmentedControl.mjs.map +1 -1
  38. package/dist/js/components/src/components/Select/Select.mjs +2 -2
  39. package/dist/js/components/src/components/Select/Select.mjs.map +1 -1
  40. package/dist/js/components/src/components/Switch/Switch.mjs +8 -3
  41. package/dist/js/components/src/components/Switch/Switch.mjs.map +1 -1
  42. package/dist/js/components/src/components/TextArea/TextArea.mjs +7 -1
  43. package/dist/js/components/src/components/TextArea/TextArea.mjs.map +1 -1
  44. package/dist/js/components/src/components/TextField/TextField.mjs +7 -1
  45. package/dist/js/components/src/components/TextField/TextField.mjs.map +1 -1
  46. package/dist/js/components/src/components/TextFieldBase/TextFieldBase.mjs +6 -3
  47. package/dist/js/components/src/components/TextFieldBase/TextFieldBase.mjs.map +1 -1
  48. package/dist/js/components/src/components/TimeField/TimeField.mjs +10 -3
  49. package/dist/js/components/src/components/TimeField/TimeField.mjs.map +1 -1
  50. package/dist/js/components/src/integrations/react-hook-form/components/Field/Field.mjs +12 -28
  51. package/dist/js/components/src/integrations/react-hook-form/components/Field/Field.mjs.map +1 -1
  52. package/dist/js/components/src/lib/hooks/useFieldComponent.mjs +5 -9
  53. package/dist/js/components/src/lib/hooks/useFieldComponent.mjs.map +1 -1
  54. package/dist/js/components/src/lib/hooks/useFieldError.mjs +132 -21
  55. package/dist/js/components/src/lib/hooks/useFieldError.mjs.map +1 -1
  56. package/dist/js/components/src/lib/propsContext/components/PropsContextProvider.mjs +2 -1
  57. package/dist/js/components/src/lib/propsContext/components/PropsContextProvider.mjs.map +1 -1
  58. package/dist/js/components/src/lib/propsContext/inherit/lib.mjs +11 -2
  59. package/dist/js/components/src/lib/propsContext/inherit/lib.mjs.map +1 -1
  60. package/dist/js/components/src/lib/propsContext/inherit/types.mjs.map +1 -1
  61. package/dist/js/components/src/views/FieldErrorView.mjs +15 -0
  62. package/dist/js/components/src/views/FieldErrorView.mjs.map +1 -0
  63. package/dist/types/components/Checkbox/Checkbox.d.ts.map +1 -1
  64. package/dist/types/components/DatePicker/DatePicker.d.ts.map +1 -1
  65. package/dist/types/components/DateRangePicker/DateRangePicker.d.ts.map +1 -1
  66. package/dist/types/components/FieldError/FieldError.d.ts.map +1 -1
  67. package/dist/types/components/List/components/Items/components/Item/Item.d.ts.map +1 -1
  68. package/dist/types/components/List/model/item/ItemView.d.ts +3 -1
  69. package/dist/types/components/List/model/item/ItemView.d.ts.map +1 -1
  70. package/dist/types/components/NumberField/NumberField.d.ts.map +1 -1
  71. package/dist/types/components/PasswordCreationField/PasswordCreationField.d.ts.map +1 -1
  72. package/dist/types/components/Switch/Switch.d.ts.map +1 -1
  73. package/dist/types/components/TextArea/TextArea.d.ts +1 -1
  74. package/dist/types/components/TextArea/TextArea.d.ts.map +1 -1
  75. package/dist/types/components/TextField/TextField.d.ts +1 -1
  76. package/dist/types/components/TextField/TextField.d.ts.map +1 -1
  77. package/dist/types/components/TextFieldBase/TextFieldBase.d.ts +1 -1
  78. package/dist/types/components/TextFieldBase/TextFieldBase.d.ts.map +1 -1
  79. package/dist/types/components/TimeField/TimeField.d.ts.map +1 -1
  80. package/dist/types/integrations/react-hook-form/components/Field/Field.d.ts.map +1 -1
  81. package/dist/types/integrations/react-hook-form/components/Field/stories/PasswordCreationField.stories.d.ts.map +1 -1
  82. package/dist/types/lib/hooks/useFieldComponent.d.ts +1 -1
  83. package/dist/types/lib/hooks/useFieldComponent.d.ts.map +1 -1
  84. package/dist/types/lib/hooks/useFieldError.d.ts +5 -7
  85. package/dist/types/lib/hooks/useFieldError.d.ts.map +1 -1
  86. package/dist/types/lib/propsContext/components/PropsContextProvider.d.ts.map +1 -1
  87. package/dist/types/lib/propsContext/inherit/lib.d.ts +2 -0
  88. package/dist/types/lib/propsContext/inherit/lib.d.ts.map +1 -1
  89. package/dist/types/lib/propsContext/inherit/types.d.ts +1 -1
  90. package/dist/types/lib/propsContext/inherit/types.d.ts.map +1 -1
  91. package/dist/types/lib/propsContext/nestedPropsContext/lib.d.ts +1 -1
  92. package/package.json +4 -4
@@ -7,7 +7,7 @@ function isMaxRecursionLevelProp(something) {
7
7
  }
8
8
  const getMaxRecursionLevel = (props) => {
9
9
  if (isMaxRecursionLevelProp(props)) {
10
- return props[inheritPropsContextKey] === true ? Infinity : 0;
10
+ return props[inheritPropsContextKey] ? Infinity : 0;
11
11
  }
12
12
  return 0;
13
13
  };
@@ -25,6 +25,15 @@ const getLevelAfterModeApplied = (currentLevel, mode) => {
25
25
  return currentLevel;
26
26
  }
27
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
+ };
28
37
 
29
- export { getLevelAfterModeApplied, getMaxRecursionLevel, isInheritedPropsContextKey, isMaxRecursionLevelProp };
38
+ export { filterPreservedInheritEntries, getLevelAfterModeApplied, getMaxRecursionLevel, isInheritedPropsContextKey, isMaxRecursionLevelProp };
30
39
  //# sourceMappingURL=lib.mjs.map
@@ -1 +1 @@
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\";\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] === true ? 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"],"names":[],"mappings":";;AAMO,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,KAAM,IAAA,GAAO,QAAA,GAAW,CAAA;AAAA,EAC7D;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;;;;"}
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 +1 @@
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;\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;AAS/B,MAAM,YAAA,GAA4C;AAAA,EACvD,CAAC,sBAAsB,GAAG;AAC5B;;;;"}
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;AAS/B,MAAM,YAAA,GAA4C;AAAA,EACvD,CAAC,sBAAsB,GAAG;AAC5B;;;;"}
@@ -0,0 +1,15 @@
1
+ "use client"
2
+ /* */
3
+ import { jsx } from 'react/jsx-runtime';
4
+ import { memo, useContext } from 'react';
5
+ import { FieldError } from '../components/FieldError/FieldError.mjs';
6
+ import { viewComponentContext } from '../lib/viewComponentContext/viewComponentContext.mjs';
7
+
8
+ const FieldErrorView = memo((props) => {
9
+ const View = useContext(viewComponentContext)["FieldError"] ?? FieldError;
10
+ return /* @__PURE__ */ jsx(View, { ...props });
11
+ });
12
+ FieldErrorView.displayName = "FieldErrorView";
13
+
14
+ export { FieldErrorView as default };
15
+ //# sourceMappingURL=FieldErrorView.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FieldErrorView.mjs","sources":["../../../../../src/views/FieldErrorView.tsx"],"sourcesContent":["/* prettier-ignore */\n/* This file is auto-generated with the remote-components-generator */\nimport React, { memo, type FC, useContext } from \"react\";\nimport {\n FieldError,\n type FieldErrorProps,\n} from \"@/components/FieldError/FieldError\";\nimport { viewComponentContext } from \"@/lib/viewComponentContext/viewComponentContext\";\n\nconst FieldErrorView: FC<FieldErrorProps> = memo((props) => {\n const View = useContext(viewComponentContext)[\"FieldError\"] ?? FieldError;\n return <View {...props} />;\n});\nFieldErrorView.displayName = \"FieldErrorView\";\n\nexport default FieldErrorView;\n"],"names":[],"mappings":";;;;;AASA,MAAM,cAAA,GAAsC,IAAA,CAAK,CAAC,KAAA,KAAU;AAC1D,EAAA,MAAM,IAAA,GAAO,UAAA,CAAW,oBAAoB,CAAA,CAAE,YAAY,CAAA,IAAK,UAAA;AAC/D,EAAA,uBAAO,GAAA,CAAC,IAAA,EAAA,EAAM,GAAG,KAAA,EAAO,CAAA;AAC1B,CAAC;AACD,cAAA,CAAe,WAAA,GAAc,gBAAA;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../../src/components/Checkbox/Checkbox.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAG/E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,KAAK,IAAI,MAAM,uBAAuB,CAAC;AAO9C,MAAM,WAAW,aACf,SAAQ,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,UAAU,CAAC,CAAC,EAC7D,kBAAkB;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,wBAAwB;AACxB,eAAO,MAAM,QAAQ,kGAgCnB,CAAC;AAEH,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"Checkbox.d.ts","sourceRoot":"","sources":["../../../../src/components/Checkbox/Checkbox.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAG/E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,KAAK,IAAI,MAAM,uBAAuB,CAAC;AAO9C,MAAM,WAAW,aACf,SAAQ,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,UAAU,CAAC,CAAC,EAC7D,kBAAkB;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,wBAAwB;AACxB,eAAO,MAAM,QAAQ,kGAsCnB,CAAC;AAEH,eAAe,QAAQ,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/DatePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG/C,OAAO,KAAK,IAAI,MAAM,uBAAuB,CAAC;AAK9C,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,sCAAsC,CAAC;AAM9C,MAAM,WAAW,eAAe,CAAC,CAAC,SAAS,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CACxE,SAAQ,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC,EAClE,kBAAkB;CAAG;AAEzB,wBAAwB;AACxB,eAAO,MAAM,UAAU,oHA0CrB,CAAC;AAEH,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/DatePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG/C,OAAO,KAAK,IAAI,MAAM,uBAAuB,CAAC;AAK9C,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,sCAAsC,CAAC;AAM9C,MAAM,WAAW,eAAe,CAAC,CAAC,SAAS,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CACxE,SAAQ,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC,EAClE,kBAAkB;CAAG;AAEzB,wBAAwB;AACxB,eAAO,MAAM,UAAU,oHAgDrB,CAAC;AAEH,eAAe,UAAU,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DateRangePicker.d.ts","sourceRoot":"","sources":["../../../../src/components/DateRangePicker/DateRangePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG/C,OAAO,KAAK,IAAI,MAAM,uBAAuB,CAAC;AAK9C,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,sCAAsC,CAAC;AAK9C,MAAM,WAAW,oBAAoB,CAAC,CAAC,SAAS,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAC7E,SAAQ,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC,EACvE,kBAAkB;CAAG;AAEzB,wBAAwB;AACxB,eAAO,MAAM,eAAe,yHAyC1B,CAAC;AAEH,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"DateRangePicker.d.ts","sourceRoot":"","sources":["../../../../src/components/DateRangePicker/DateRangePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG/C,OAAO,KAAK,IAAI,MAAM,uBAAuB,CAAC;AAK9C,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,sCAAsC,CAAC;AAK9C,MAAM,WAAW,oBAAoB,CAAC,CAAC,SAAS,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAC7E,SAAQ,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC,EACvE,kBAAkB;CAAG;AAEzB,wBAAwB;AACxB,eAAO,MAAM,eAAe,yHA+C1B,CAAC;AAEH,eAAe,eAAe,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"FieldError.d.ts","sourceRoot":"","sources":["../../../../src/components/FieldError/FieldError.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,iBAAiB,EAAuB,MAAM,OAAO,CAAC;AACpE,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,IAAI,MAAM,uBAAuB,CAAC;AAG9C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAK/E,MAAM,WAAW,eACf,SAAQ,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC,CAAC,EAC/D,kBAAkB;CAAG;AAEzB,wBAAwB;AACxB,eAAO,MAAM,UAAU,gFAiDrB,CAAC;AAEH,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"FieldError.d.ts","sourceRoot":"","sources":["../../../../src/components/FieldError/FieldError.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,iBAAiB,EAIvB,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,IAAI,MAAM,uBAAuB,CAAC;AAG9C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAI/E,MAAM,WAAW,eACf,SAAQ,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC,CAAC,EAC/D,kBAAkB;CAAG;AAEzB,wBAAwB;AACxB,eAAO,MAAM,UAAU,gFAwDrB,CAAC;AAEH,eAAe,UAAU,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Item.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/List/components/Items/components/Item/Item.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AAIjD,UAAU,KAAM,SAAQ,iBAAiB;IACvC,EAAE,EAAE,GAAG,CAAC;IACR,IAAI,EAAE,KAAK,CAAC;CACb;AAED,eAAO,MAAM,IAAI,GAAI,OAAO,KAAK,mDA8BhC,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,KAAK,CAWnC,CAAC;AAEF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Item.d.ts","sourceRoot":"","sources":["../../../../../../../../src/components/List/components/Items/components/Item/Item.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AAIjD,UAAU,KAAM,SAAQ,iBAAiB;IACvC,EAAE,EAAE,GAAG,CAAC;IACR,IAAI,EAAE,KAAK,CAAC;CACb;AAED,eAAO,MAAM,IAAI,GAAI,OAAO,KAAK,mDA+BhC,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,KAAK,CAWnC,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -1,9 +1,10 @@
1
- import { ReactElement, ReactNode } from 'react';
1
+ import { HTMLAttributeAnchorTarget, ReactElement, ReactNode } from 'react';
2
2
  import { RenderItemFn } from './types';
3
3
  import { default as List } from '../List';
4
4
  export interface ItemViewShape<T> {
5
5
  textValue?: (data: T) => string;
6
6
  href?: (data: T) => string;
7
+ target?: HTMLAttributeAnchorTarget;
7
8
  defaultExpanded?: (data: T) => boolean;
8
9
  renderFn?: RenderItemFn<T>;
9
10
  fallback?: ReactElement;
@@ -15,6 +16,7 @@ export declare class ItemView<T> {
15
16
  readonly list: List<T>;
16
17
  readonly textValue?: (data: T) => string;
17
18
  readonly href?: (data: T) => string;
19
+ readonly target?: HTMLAttributeAnchorTarget;
18
20
  readonly defaultExpanded?: (data: T) => boolean;
19
21
  readonly fallback?: ReactElement;
20
22
  readonly showTiles?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"ItemView.d.ts","sourceRoot":"","sources":["../../../../../../src/components/List/model/item/ItemView.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAErD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AACvE,OAAO,KAAK,IAAI,MAAM,8BAA8B,CAAC;AAErD,MAAM,WAAW,aAAa,CAAC,CAAC;IAC9B,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,MAAM,CAAC;IAChC,IAAI,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,MAAM,CAAC;IAC3B,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,OAAO,CAAC;IACvC,QAAQ,CAAC,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC;IAC3B,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,qBAAa,QAAQ,CAAC,CAAC;IACrB,SAAgB,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;IAC9B,SAAgB,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,MAAM,CAAC;IAChD,SAAgB,IAAI,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,MAAM,CAAC;IAC3C,SAAgB,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,OAAO,CAAC;IACvD,SAAgB,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxC,SAAgB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpC,SAAgB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnC,SAAgB,YAAY,EAAE,MAAM,CAAC;IACrC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAkB;gBAEzB,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,KAAK,GAAE,aAAa,CAAC,CAAC,CAAM;IAsB9D,OAAO,CAAC,MAAM,CAAC,oBAAoB,CACqB;IAEjD,MAAM,CAAC,IAAI,EAAE,CAAC,GAAG,SAAS;CAKlC"}
1
+ {"version":3,"file":"ItemView.d.ts","sourceRoot":"","sources":["../../../../../../src/components/List/model/item/ItemView.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEhF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AACvE,OAAO,KAAK,IAAI,MAAM,8BAA8B,CAAC;AAErD,MAAM,WAAW,aAAa,CAAC,CAAC;IAC9B,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,MAAM,CAAC;IAChC,IAAI,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,MAAM,CAAC;IAC3B,MAAM,CAAC,EAAE,yBAAyB,CAAC;IACnC,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,OAAO,CAAC;IACvC,QAAQ,CAAC,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC;IAC3B,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,qBAAa,QAAQ,CAAC,CAAC;IACrB,SAAgB,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;IAC9B,SAAgB,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,MAAM,CAAC;IAChD,SAAgB,IAAI,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,MAAM,CAAC;IAC3C,SAAgB,MAAM,CAAC,EAAE,yBAAyB,CAAC;IACnD,SAAgB,eAAe,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,OAAO,CAAC;IACvD,SAAgB,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxC,SAAgB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpC,SAAgB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnC,SAAgB,YAAY,EAAE,MAAM,CAAC;IACrC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAkB;gBAEzB,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,KAAK,GAAE,aAAa,CAAC,CAAC,CAAM;IAwB9D,OAAO,CAAC,MAAM,CAAC,oBAAoB,CACqB;IAEjD,MAAM,CAAC,IAAI,EAAE,CAAC,GAAG,SAAS;CAKlC"}
@@ -1 +1 @@
1
- {"version":3,"file":"NumberField.d.ts","sourceRoot":"","sources":["../../../../src/components/NumberField/NumberField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,KAAK,IAAI,MAAM,uBAAuB,CAAC;AAY9C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAK/E,MAAM,WAAW,gBACf,SAAQ,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,gBAAgB,EAAE,UAAU,CAAC,CAAC,EAChE,kBAAkB,CAAC,gBAAgB,CAAC;CAAG;AAE3C,wBAAwB;AACxB,eAAO,MAAM,WAAW,mFAwDtB,CAAC;AAEH,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"NumberField.d.ts","sourceRoot":"","sources":["../../../../src/components/NumberField/NumberField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,KAAK,IAAI,MAAM,uBAAuB,CAAC;AAY9C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAK/E,MAAM,WAAW,gBACf,SAAQ,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,gBAAgB,EAAE,UAAU,CAAC,CAAC,EAChE,kBAAkB,CAAC,gBAAgB,CAAC;CAAG;AAE3C,wBAAwB;AACxB,eAAO,MAAM,WAAW,mFA4DtB,CAAC;AAEH,eAAe,WAAW,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;AAiB9C,OAAO,KAAK,EACV,sBAAsB,EACtB,wBAAwB,EACxB,oBAAoB,EACrB,MAAM,4CAA4C,CAAC;AASpD,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,iHAgQjC,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,KAAK,kBAAkB,EACxB,MAAM,sCAAsC,CAAC;AAE9C,OAAO,KAAK,IAAI,MAAM,uBAAuB,CAAC;AAe9C,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,iHAqOjC,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../../src/components/Switch/Switch.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,KAAK,IAAI,MAAM,uBAAuB,CAAC;AAI9C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAQ/E,MAAM,WAAW,WACf,SAAQ,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,UAAU,CAAC,CAAC,EAC3D,kBAAkB,CAAC,gBAAgB,CAAC;IACtC;;;OAGG;IACH,aAAa,CAAC,EAAE,SAAS,GAAG,UAAU,CAAC;CACxC;AAED,wBAAwB;AACxB,eAAO,MAAM,MAAM,kGAwDjB,CAAC;AAEH,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../../src/components/Switch/Switch.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,KAAK,IAAI,MAAM,uBAAuB,CAAC;AAI9C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAQ/E,MAAM,WAAW,WACf,SAAQ,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,UAAU,CAAC,CAAC,EAC3D,kBAAkB,CAAC,gBAAgB,CAAC;IACtC;;;OAGG;IACH,aAAa,CAAC,EAAE,SAAS,GAAG,UAAU,CAAC;CACxC;AAED,wBAAwB;AACxB,eAAO,MAAM,MAAM,kGA8DjB,CAAC;AAEH,eAAe,MAAM,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { TextFieldBaseProps } from '../TextFieldBase';
2
2
  import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
3
3
  import * as Aria from "react-aria-components";
4
- export interface TextAreaProps extends Omit<TextFieldBaseProps, "FieldErrorView" | "input" | "ref">, Pick<Aria.TextAreaProps, "placeholder" | "rows">, FlowComponentProps<HTMLTextAreaElement> {
4
+ export interface TextAreaProps extends Omit<TextFieldBaseProps, "FieldErrorView" | "FieldErrorCaptureContext" | "input" | "ref">, Pick<Aria.TextAreaProps, "placeholder" | "rows">, FlowComponentProps<HTMLTextAreaElement> {
5
5
  /**
6
6
  * Whether the text area should grow if its content gets longer than its
7
7
  * initial height.
@@ -1 +1 @@
1
- {"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../../src/components/TextArea/TextArea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,uBAAuB,CAAC;AAC9C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAGrE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAS/E,MAAM,WAAW,aACf,SAAQ,IAAI,CAAC,kBAAkB,EAAE,gBAAgB,GAAG,OAAO,GAAG,KAAK,CAAC,EAClE,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,aAAa,GAAG,MAAM,CAAC,EAChD,kBAAkB,CAAC,mBAAmB,CAAC;IACzC;;;OAGG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,oEAAoE;IACpE,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,kEAAkE;IAClE,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,wBAAwB;AACxB,eAAO,MAAM,QAAQ,uGAsHnB,CAAC;AAEH,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../../src/components/TextArea/TextArea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,uBAAuB,CAAC;AAC9C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAGrE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAS/E,MAAM,WAAW,aACf,SAAQ,IAAI,CACR,kBAAkB,EAClB,gBAAgB,GAAG,0BAA0B,GAAG,OAAO,GAAG,KAAK,CAChE,EACD,IAAI,CAAC,IAAI,CAAC,aAAa,EAAE,aAAa,GAAG,MAAM,CAAC,EAChD,kBAAkB,CAAC,mBAAmB,CAAC;IACzC;;;OAGG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,oEAAoE;IACpE,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,kEAAkE;IAClE,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;;OAGG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,wBAAwB;AACxB,eAAO,MAAM,QAAQ,uGA2HnB,CAAC;AAEH,eAAe,QAAQ,CAAC"}
@@ -2,7 +2,7 @@ import { TextFieldBaseProps } from '../TextFieldBase';
2
2
  import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
3
3
  import { PropsWithClassName } from '../../lib/types/props';
4
4
  import * as Aria from "react-aria-components";
5
- export interface TextFieldProps extends Omit<TextFieldBaseProps, "FieldErrorView" | "input" | "className">, Pick<Aria.InputProps, "placeholder" | "form">, PropsWithClassName, FlowComponentProps<HTMLInputElement> {
5
+ export interface TextFieldProps extends Omit<TextFieldBaseProps, "FieldErrorView" | "FieldErrorCaptureContext" | "input" | "className">, Pick<Aria.InputProps, "placeholder" | "form">, PropsWithClassName, FlowComponentProps<HTMLInputElement> {
6
6
  }
7
7
  /** @flr-generate all */
8
8
  export declare const TextField: import('react').FunctionComponent<TextFieldProps & import('react').RefAttributes<HTMLInputElement>>;
@@ -1 +1 @@
1
- {"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../../src/components/TextField/TextField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAE/E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAK5D,MAAM,WAAW,cACf,SAAQ,IAAI,CAAC,kBAAkB,EAAE,gBAAgB,GAAG,OAAO,GAAG,WAAW,CAAC,EACxE,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,aAAa,GAAG,MAAM,CAAC,EAC7C,kBAAkB,EAClB,kBAAkB,CAAC,gBAAgB,CAAC;CAAG;AAE3C,wBAAwB;AACxB,eAAO,MAAM,SAAS,qGA6BpB,CAAC;AAEH,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../../src/components/TextField/TextField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,IAAI,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAE/E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAK5D,MAAM,WAAW,cACf,SAAQ,IAAI,CACR,kBAAkB,EAClB,gBAAgB,GAAG,0BAA0B,GAAG,OAAO,GAAG,WAAW,CACtE,EACD,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,aAAa,GAAG,MAAM,CAAC,EAC7C,kBAAkB,EAClB,kBAAkB,CAAC,gBAAgB,CAAC;CAAG;AAE3C,wBAAwB;AACxB,eAAO,MAAM,SAAS,qGAkCpB,CAAC;AAEH,eAAe,SAAS,CAAC"}
@@ -2,7 +2,7 @@ import { FC, PropsWithChildren, ReactNode } from 'react';
2
2
  import { FlowComponentProps } from '../../lib/componentFactory/flowComponent';
3
3
  import { UseFieldComponent } from '../../lib/hooks/useFieldComponent';
4
4
  import * as Aria from "react-aria-components";
5
- export interface TextFieldBaseProps extends PropsWithChildren<Omit<Aria.TextFieldProps, "children">>, Pick<FlowComponentProps<HTMLInputElement>, "ref">, Pick<UseFieldComponent, "FieldErrorView"> {
5
+ export interface TextFieldBaseProps extends PropsWithChildren<Omit<Aria.TextFieldProps, "children">>, Pick<FlowComponentProps<HTMLInputElement>, "ref">, Pick<UseFieldComponent, "FieldErrorView" | "FieldErrorCaptureContext"> {
6
6
  /** The input element */
7
7
  input: ReactNode;
8
8
  /** Whether a character count should be displayed inside the field description. */
@@ -1 +1 @@
1
- {"version":3,"file":"TextFieldBase.d.ts","sourceRoot":"","sources":["../../../../src/components/TextFieldBase/TextFieldBase.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAExE,OAAO,KAAK,IAAI,MAAM,uBAAuB,CAAC;AAI9C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAC/E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAGvE,MAAM,WAAW,kBACf,SAAQ,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE,UAAU,CAAC,CAAC,EAC9D,IAAI,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,EAAE,KAAK,CAAC,EACjD,IAAI,CAAC,iBAAiB,EAAE,gBAAgB,CAAC;IAC3C,wBAAwB;IACxB,KAAK,EAAE,SAAS,CAAC;IACjB,kFAAkF;IAClF,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CA4DhD,CAAC;AAEF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"TextFieldBase.d.ts","sourceRoot":"","sources":["../../../../src/components/TextFieldBase/TextFieldBase.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAExE,OAAO,KAAK,IAAI,MAAM,uBAAuB,CAAC;AAI9C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAC/E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAGvE,MAAM,WAAW,kBACf,SAAQ,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE,UAAU,CAAC,CAAC,EAC9D,IAAI,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,EAAE,KAAK,CAAC,EACjD,IAAI,CAAC,iBAAiB,EAAE,gBAAgB,GAAG,0BAA0B,CAAC;IACxE,wBAAwB;IACxB,KAAK,EAAE,SAAS,CAAC;IACjB,kFAAkF;IAClF,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CA+DhD,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"TimeField.d.ts","sourceRoot":"","sources":["../../../../src/components/TimeField/TimeField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,KAAK,IAAI,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,sCAAsC,CAAC;AAM9C,MAAM,WAAW,cAAc,CAAC,CAAC,SAAS,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CACvE,SAAQ,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC,EACjE,kBAAkB,CAAC,gBAAgB,CAAC;CAAG;AAE3C,wBAAwB;AACxB,eAAO,MAAM,SAAS,iGAoBpB,CAAC;AAEH,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"TimeField.d.ts","sourceRoot":"","sources":["../../../../src/components/TimeField/TimeField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,KAAK,IAAI,MAAM,uBAAuB,CAAC;AAC9C,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,sCAAsC,CAAC;AAM9C,MAAM,WAAW,cAAc,CAAC,CAAC,SAAS,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CACvE,SAAQ,iBAAiB,CAAC,IAAI,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC,EACjE,kBAAkB,CAAC,gBAAgB,CAAC;CAAG;AAE3C,wBAAwB;AACxB,eAAO,MAAM,SAAS,iGA0BpB,CAAC;AAEH,eAAe,SAAS,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Field.d.ts","sourceRoot":"","sources":["../../../../../../src/integrations/react-hook-form/components/Field/Field.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,WAAW,EAEhB,KAAK,aAAa,EAEnB,MAAM,iBAAiB,CAAC;AAMzB,MAAM,WAAW,UAAU,CAAC,CAAC,SAAS,WAAW,CAC/C,SAAQ,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,EAAE,QAAQ,CAAC,EACxC,iBAAiB;CAAG;AAExB,wBAAgB,KAAK,CAAC,CAAC,SAAS,WAAW,EAAE,KAAK,EAAE,UAAU,CAAC,CAAC,CAAC,2CAqIhE;AAED,eAAO,MAAM,UAAU,GAAI,CAAC,SAAS,WAAW,EAC9C,aAAa,aAAa,CAAC,CAAC,CAAC,GAAG,aAAa,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,KAC1D,OAAO,KAAK,CAAC,CAAC,CAAU,CAAC;AAE5B,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"Field.d.ts","sourceRoot":"","sources":["../../../../../../src/integrations/react-hook-form/components/Field/Field.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAC/C,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,WAAW,EAEhB,KAAK,aAAa,EAEnB,MAAM,iBAAiB,CAAC;AAMzB,MAAM,WAAW,UAAU,CAAC,CAAC,SAAS,WAAW,CAC/C,SAAQ,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,EAAE,QAAQ,CAAC,EACxC,iBAAiB;CAAG;AAExB,wBAAgB,KAAK,CAAC,CAAC,SAAS,WAAW,EAAE,KAAK,EAAE,UAAU,CAAC,CAAC,CAAC,2CAyHhE;AAED,eAAO,MAAM,UAAU,GAAI,CAAC,SAAS,WAAW,EAC9C,aAAa,aAAa,CAAC,CAAC,CAAC,GAAG,aAAa,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,KAC1D,OAAO,KAAK,CAAC,CAAC,CAAU,CAAC;AAE5B,eAAe,KAAK,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"PasswordCreationField.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/integrations/react-hook-form/components/Field/stories/PasswordCreationField.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAKvD,OAAO,EAAE,KAAK,EAAoB,MAAM,gCAAgC,CAAC;AAiEzE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CAyC5B,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAC;AAEpC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,QAAQ,EAAE,KAkCtB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAkC5B,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAkCvB,CAAC"}
1
+ {"version":3,"file":"PasswordCreationField.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/integrations/react-hook-form/components/Field/stories/PasswordCreationField.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAKvD,OAAO,EAAE,KAAK,EAAoB,MAAM,gCAAgC,CAAC;AAiEzE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CA4C5B,CAAC;AACF,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAC;AAEpC,eAAO,MAAM,OAAO,EAAE,KAAU,CAAC;AAEjC,eAAO,MAAM,QAAQ,EAAE,KAkCtB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAkC5B,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAkCvB,CAAC"}
@@ -7,7 +7,7 @@ interface FieldComponentProps {
7
7
  isDisabled?: boolean;
8
8
  }
9
9
  export interface UseFieldComponent {
10
- FieldErrorResetContext: FC<PropsWithChildren>;
10
+ FieldErrorCaptureContext: FC<PropsWithChildren>;
11
11
  FieldErrorView: FC;
12
12
  fieldPropsContext: PropsContext;
13
13
  fieldProps: {
@@ -1 +1 @@
1
- {"version":3,"file":"useFieldComponent.d.ts","sourceRoot":"","sources":["../../../../src/lib/hooks/useFieldComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,KAAK,YAAY,EAAwB,MAAM,oBAAoB,CAAC;AAG7E,OAAO,IAAI,EAAE,EAAE,KAAK,UAAU,EAAE,MAAM,MAAM,CAAC;AAE7C,UAAU,mBAAmB;IAC3B,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,iBAAiB;IAChC,sBAAsB,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC;IAC9C,cAAc,EAAE,EAAE,CAAC;IACnB,iBAAiB,EAAE,YAAY,CAAC;IAChC,UAAU,EAAE;QACV,SAAS,CAAC,EAAE,UAAU,CAAC,OAAO,IAAI,CAAC,CAAC;KACrC,CAAC;CACH;AAED,eAAO,MAAM,iBAAiB,GAC5B,OAAO,mBAAmB,KACzB,iBAkCF,CAAC"}
1
+ {"version":3,"file":"useFieldComponent.d.ts","sourceRoot":"","sources":["../../../../src/lib/hooks/useFieldComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAGvD,OAAO,IAAI,EAAE,EAAE,KAAK,UAAU,EAAE,MAAM,MAAM,CAAC;AAE7C,UAAU,mBAAmB;IAC3B,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,iBAAiB;IAChC,wBAAwB,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC;IAChD,cAAc,EAAE,EAAE,CAAC;IACnB,iBAAiB,EAAE,YAAY,CAAC;IAChC,UAAU,EAAE;QACV,SAAS,CAAC,EAAE,UAAU,CAAC,OAAO,IAAI,CAAC,CAAC;KACrC,CAAC;CACH;AAED,eAAO,MAAM,iBAAiB,GAC5B,OAAO,mBAAmB,KACzB,iBAwBF,CAAC"}
@@ -1,10 +1,8 @@
1
- import { default as React, ReactNode } from 'react';
2
- import { PropsContext } from '../propsContext';
3
- export declare const useFieldError: () => {
4
- readonly fieldErrorViewPropsContext: PropsContext;
5
- readonly FieldErrorView: () => import("react/jsx-runtime").JSX.Element;
6
- readonly FieldErrorResetContext: React.FC<{
7
- children?: ReactNode | undefined;
1
+ import { default as React } from 'react';
2
+ export declare const useFieldError: (tunnelIdFromProps?: string) => {
3
+ readonly FieldErrorCaptureContext: React.FC<{
4
+ children?: React.ReactNode | undefined;
8
5
  }>;
6
+ readonly FieldErrorView: () => import("react/jsx-runtime").JSX.Element | null;
9
7
  };
10
8
  //# sourceMappingURL=useFieldError.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useFieldError.d.ts","sourceRoot":"","sources":["../../../../src/lib/hooks/useFieldError.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAMZ,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAWvD,eAAO,MAAM,aAAa;;;;;;CA+CzB,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;;;;;CA+CvD,CAAC"}
@@ -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;AAGnE,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,CA8BzC,CAAC;AAIH,eAAe,oBAAoB,CAAC"}
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,6 +1,8 @@
1
1
  import { InheritPropsContextSettings, PropsContextLevelMode } from './types';
2
+ import { PropsContext as PropsContextShape } from '..';
2
3
  export declare function isMaxRecursionLevelProp(something: unknown): something is InheritPropsContextSettings;
3
4
  export declare const getMaxRecursionLevel: (props: unknown) => number;
4
5
  export declare const isInheritedPropsContextKey: (key: unknown) => key is "___inherit";
5
6
  export declare const getLevelAfterModeApplied: (currentLevel: number, mode: PropsContextLevelMode) => number;
7
+ export declare const filterPreservedInheritEntries: (currentPropsContext: PropsContextShape) => Partial<PropsContextShape>;
6
8
  //# sourceMappingURL=lib.d.ts.map
@@ -1 +1 @@
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;AAE1C,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"}
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,5 +1,5 @@
1
1
  export interface InheritPropsContextSettings {
2
- [inheritPropsContextKey]?: boolean;
2
+ [inheritPropsContextKey]?: boolean | "preserve";
3
3
  }
4
4
  export declare const inheritProps: InheritPropsContextSettings;
5
5
  export type PropsContextLevelMode = "reset" | "increment" | "decrement" | "keep";
@@ -1 +1 @@
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,CAAC;CACpC;AAED,eAAO,MAAM,YAAY,EAAE,2BAE1B,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAC7B,OAAO,GACP,WAAW,GACX,WAAW,GACX,MAAM,CAAC"}
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"}
@@ -81,6 +81,6 @@ export declare const increaseNestingLevel: (propsContext: PropsContext) => {
81
81
  TextField?: import('../types').ComponentPropsContext<"TextField"> | undefined;
82
82
  TimeField?: import('../types').ComponentPropsContext<"TimeField"> | undefined;
83
83
  TestComponent?: import('../types').ComponentPropsContext<"TestComponent"> | undefined;
84
- ___inherit?: boolean;
84
+ ___inherit?: boolean | "preserve";
85
85
  };
86
86
  //# sourceMappingURL=lib.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/flow-react-components",
3
- "version": "0.2.0-alpha.536",
3
+ "version": "0.2.0-alpha.538",
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.536",
61
+ "@mittwald/react-tunnel": "0.2.0-alpha.538",
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",
@@ -101,7 +101,7 @@
101
101
  "@faker-js/faker": "^10.1.0",
102
102
  "@internationalized/date": "^3.10.0",
103
103
  "@mittwald/flow-core": "",
104
- "@mittwald/flow-design-tokens": "0.2.0-alpha.536",
104
+ "@mittwald/flow-design-tokens": "0.2.0-alpha.538",
105
105
  "@mittwald/react-use-promise": "^4.2.2",
106
106
  "@mittwald/remote-dom-react": "1.2.2-mittwald.10",
107
107
  "@mittwald/typescript-config": "",
@@ -174,5 +174,5 @@
174
174
  "optional": true
175
175
  }
176
176
  },
177
- "gitHead": "fcb09be1f3e1ed21bdc55b121944d7fd2127ed8b"
177
+ "gitHead": "4a039bca951bf0fe3c3ffdf01d123b9686fa34f7"
178
178
  }