@mindlogic-ai/logician-ui 4.0.0-alpha.35 → 4.0.0-alpha.37

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 (145) hide show
  1. package/dist/components/BottomSheet/BottomSheet.d.ts +28 -0
  2. package/dist/components/BottomSheet/BottomSheet.d.ts.map +1 -0
  3. package/dist/components/BottomSheet/BottomSheet.js +38 -0
  4. package/dist/components/BottomSheet/BottomSheet.js.map +1 -0
  5. package/dist/components/BottomSheet/BottomSheet.mjs +36 -0
  6. package/dist/components/BottomSheet/BottomSheet.mjs.map +1 -0
  7. package/dist/components/BottomSheet/BottomSheet.styles.d.ts +32 -0
  8. package/dist/components/BottomSheet/BottomSheet.styles.d.ts.map +1 -0
  9. package/dist/components/BottomSheet/BottomSheet.styles.js +164 -0
  10. package/dist/components/BottomSheet/BottomSheet.styles.js.map +1 -0
  11. package/dist/components/BottomSheet/BottomSheet.styles.mjs +161 -0
  12. package/dist/components/BottomSheet/BottomSheet.styles.mjs.map +1 -0
  13. package/dist/components/BottomSheet/BottomSheet.types.d.ts +43 -0
  14. package/dist/components/BottomSheet/BottomSheet.types.d.ts.map +1 -0
  15. package/dist/components/BottomSheet/BottomSheetBody.d.ts +8 -0
  16. package/dist/components/BottomSheet/BottomSheetBody.d.ts.map +1 -0
  17. package/dist/components/BottomSheet/BottomSheetBody.js +17 -0
  18. package/dist/components/BottomSheet/BottomSheetBody.js.map +1 -0
  19. package/dist/components/BottomSheet/BottomSheetBody.mjs +15 -0
  20. package/dist/components/BottomSheet/BottomSheetBody.mjs.map +1 -0
  21. package/dist/components/BottomSheet/BottomSheetCloseButton.d.ts +11 -0
  22. package/dist/components/BottomSheet/BottomSheetCloseButton.d.ts.map +1 -0
  23. package/dist/components/BottomSheet/BottomSheetCloseButton.js +27 -0
  24. package/dist/components/BottomSheet/BottomSheetCloseButton.js.map +1 -0
  25. package/dist/components/BottomSheet/BottomSheetCloseButton.mjs +25 -0
  26. package/dist/components/BottomSheet/BottomSheetCloseButton.mjs.map +1 -0
  27. package/dist/components/BottomSheet/BottomSheetContent.d.ts +12 -0
  28. package/dist/components/BottomSheet/BottomSheetContent.d.ts.map +1 -0
  29. package/dist/components/BottomSheet/BottomSheetContent.js +25 -0
  30. package/dist/components/BottomSheet/BottomSheetContent.js.map +1 -0
  31. package/dist/components/BottomSheet/BottomSheetContent.mjs +23 -0
  32. package/dist/components/BottomSheet/BottomSheetContent.mjs.map +1 -0
  33. package/dist/components/BottomSheet/BottomSheetContext.d.ts +28 -0
  34. package/dist/components/BottomSheet/BottomSheetContext.d.ts.map +1 -0
  35. package/dist/components/BottomSheet/BottomSheetContext.js +53 -0
  36. package/dist/components/BottomSheet/BottomSheetContext.js.map +1 -0
  37. package/dist/components/BottomSheet/BottomSheetContext.mjs +40 -0
  38. package/dist/components/BottomSheet/BottomSheetContext.mjs.map +1 -0
  39. package/dist/components/BottomSheet/BottomSheetFooter.d.ts +4 -0
  40. package/dist/components/BottomSheet/BottomSheetFooter.d.ts.map +1 -0
  41. package/dist/components/BottomSheet/BottomSheetFooter.js +13 -0
  42. package/dist/components/BottomSheet/BottomSheetFooter.js.map +1 -0
  43. package/dist/components/BottomSheet/BottomSheetFooter.mjs +11 -0
  44. package/dist/components/BottomSheet/BottomSheetFooter.mjs.map +1 -0
  45. package/dist/components/BottomSheet/BottomSheetHeader.d.ts +8 -0
  46. package/dist/components/BottomSheet/BottomSheetHeader.d.ts.map +1 -0
  47. package/dist/components/BottomSheet/BottomSheetHeader.js +19 -0
  48. package/dist/components/BottomSheet/BottomSheetHeader.js.map +1 -0
  49. package/dist/components/BottomSheet/BottomSheetHeader.mjs +17 -0
  50. package/dist/components/BottomSheet/BottomSheetHeader.mjs.map +1 -0
  51. package/dist/components/BottomSheet/BottomSheetOverlay.d.ts +8 -0
  52. package/dist/components/BottomSheet/BottomSheetOverlay.d.ts.map +1 -0
  53. package/dist/components/BottomSheet/BottomSheetOverlay.js +17 -0
  54. package/dist/components/BottomSheet/BottomSheetOverlay.js.map +1 -0
  55. package/dist/components/BottomSheet/BottomSheetOverlay.mjs +15 -0
  56. package/dist/components/BottomSheet/BottomSheetOverlay.mjs.map +1 -0
  57. package/dist/components/BottomSheet/index.d.ts +11 -0
  58. package/dist/components/BottomSheet/index.d.ts.map +1 -0
  59. package/dist/components/Form/FormSection/CollapsibleFormSection.js +1 -0
  60. package/dist/components/Form/FormSection/CollapsibleFormSection.js.map +1 -1
  61. package/dist/components/Form/FormSection/CollapsibleFormSection.mjs +1 -0
  62. package/dist/components/Form/FormSection/CollapsibleFormSection.mjs.map +1 -1
  63. package/dist/components/Toast/useToast.d.ts +1 -1
  64. package/dist/components/Workflow/Workflow.d.ts +1 -1
  65. package/dist/components/Workflow/Workflow.d.ts.map +1 -1
  66. package/dist/components/Workflow/Workflow.js +2 -2
  67. package/dist/components/Workflow/Workflow.js.map +1 -1
  68. package/dist/components/Workflow/Workflow.mjs +2 -2
  69. package/dist/components/Workflow/Workflow.mjs.map +1 -1
  70. package/dist/components/Workflow/Workflow.types.d.ts +9 -0
  71. package/dist/components/Workflow/Workflow.types.d.ts.map +1 -1
  72. package/dist/components/Workflow/Workflow.types.js.map +1 -1
  73. package/dist/components/Workflow/Workflow.types.mjs.map +1 -1
  74. package/dist/components/Workflow/canvas/Canvas/Canvas.d.ts +6 -2
  75. package/dist/components/Workflow/canvas/Canvas/Canvas.d.ts.map +1 -1
  76. package/dist/components/Workflow/canvas/Canvas/Canvas.js +29 -23
  77. package/dist/components/Workflow/canvas/Canvas/Canvas.js.map +1 -1
  78. package/dist/components/Workflow/canvas/Canvas/Canvas.mjs +31 -25
  79. package/dist/components/Workflow/canvas/Canvas/Canvas.mjs.map +1 -1
  80. package/dist/components/Workflow/createNode.d.ts +25 -1
  81. package/dist/components/Workflow/createNode.d.ts.map +1 -1
  82. package/dist/components/Workflow/createNode.js +39 -1
  83. package/dist/components/Workflow/createNode.js.map +1 -1
  84. package/dist/components/Workflow/createNode.mjs +38 -2
  85. package/dist/components/Workflow/createNode.mjs.map +1 -1
  86. package/dist/components/Workflow/index.d.ts +2 -0
  87. package/dist/components/Workflow/index.d.ts.map +1 -1
  88. package/dist/components/Workflow/layout/autoLayout.d.ts +10 -0
  89. package/dist/components/Workflow/layout/autoLayout.d.ts.map +1 -1
  90. package/dist/components/Workflow/layout/autoLayout.js +4 -0
  91. package/dist/components/Workflow/layout/autoLayout.js.map +1 -1
  92. package/dist/components/Workflow/layout/autoLayout.mjs +1 -1
  93. package/dist/components/Workflow/layout/autoLayout.mjs.map +1 -1
  94. package/dist/components/Workflow/placement.d.ts +65 -0
  95. package/dist/components/Workflow/placement.d.ts.map +1 -0
  96. package/dist/components/Workflow/placement.js +100 -0
  97. package/dist/components/Workflow/placement.js.map +1 -0
  98. package/dist/components/Workflow/placement.mjs +96 -0
  99. package/dist/components/Workflow/placement.mjs.map +1 -0
  100. package/dist/components/Workflow/useWorkflowActions.d.ts +54 -0
  101. package/dist/components/Workflow/useWorkflowActions.d.ts.map +1 -0
  102. package/dist/components/Workflow/useWorkflowActions.js +105 -0
  103. package/dist/components/Workflow/useWorkflowActions.js.map +1 -0
  104. package/dist/components/Workflow/useWorkflowActions.mjs +103 -0
  105. package/dist/components/Workflow/useWorkflowActions.mjs.map +1 -0
  106. package/dist/index.d.ts +1 -0
  107. package/dist/index.d.ts.map +1 -1
  108. package/dist/index.js +21 -0
  109. package/dist/index.js.map +1 -1
  110. package/dist/index.mjs +10 -0
  111. package/dist/index.mjs.map +1 -1
  112. package/dist/translations/Defaults.translations.json.js +10 -1
  113. package/dist/translations/Defaults.translations.json.js.map +1 -1
  114. package/dist/translations/Defaults.translations.json.mjs +10 -2
  115. package/dist/translations/Defaults.translations.json.mjs.map +1 -1
  116. package/package.json +3 -1
  117. package/src/components/BottomSheet/BottomSheet.stories.tsx +205 -0
  118. package/src/components/BottomSheet/BottomSheet.styles.ts +162 -0
  119. package/src/components/BottomSheet/BottomSheet.test.tsx +129 -0
  120. package/src/components/BottomSheet/BottomSheet.tsx +47 -0
  121. package/src/components/BottomSheet/BottomSheet.types.ts +50 -0
  122. package/src/components/BottomSheet/BottomSheetBody.tsx +15 -0
  123. package/src/components/BottomSheet/BottomSheetCloseButton.tsx +40 -0
  124. package/src/components/BottomSheet/BottomSheetContent.tsx +43 -0
  125. package/src/components/BottomSheet/BottomSheetContext.ts +79 -0
  126. package/src/components/BottomSheet/BottomSheetFooter.tsx +12 -0
  127. package/src/components/BottomSheet/BottomSheetHeader.tsx +22 -0
  128. package/src/components/BottomSheet/BottomSheetOverlay.tsx +16 -0
  129. package/src/components/BottomSheet/index.tsx +22 -0
  130. package/src/components/SegmentedControl/SegmentedControl.timing.test.tsx +9 -2
  131. package/src/components/Workflow/README.md +64 -0
  132. package/src/components/Workflow/Workflow.tsx +2 -0
  133. package/src/components/Workflow/Workflow.types.ts +10 -0
  134. package/src/components/Workflow/canvas/Canvas/Canvas.tsx +57 -53
  135. package/src/components/Workflow/createNode.test.ts +40 -2
  136. package/src/components/Workflow/createNode.ts +70 -2
  137. package/src/components/Workflow/index.ts +8 -0
  138. package/src/components/Workflow/layout/autoLayout.ts +4 -4
  139. package/src/components/Workflow/placement.test.ts +156 -0
  140. package/src/components/Workflow/placement.ts +172 -0
  141. package/src/components/Workflow/stories/Workflow.stories.tsx +79 -0
  142. package/src/components/Workflow/useWorkflowActions.test.tsx +345 -0
  143. package/src/components/Workflow/useWorkflowActions.ts +196 -0
  144. package/src/index.ts +1 -0
  145. package/src/translations/Defaults.translations.json +8 -1
@@ -0,0 +1,53 @@
1
+ "use client";
2
+ 'use strict';
3
+
4
+ var drawer = require('@ark-ui/react/drawer');
5
+ var react = require('@chakra-ui/react');
6
+ var BottomSheet_styles = require('./BottomSheet.styles.js');
7
+
8
+ const { withRootProvider, withContext, useStyles } = react.createSlotRecipeContext({
9
+ recipe: BottomSheet_styles.bottomSheetSlotRecipe,
10
+ });
11
+ /**
12
+ * Chakra-styled Ark parts, one per recipe slot.
13
+ *
14
+ * Built the way Chakra builds its own Ark-backed components: `withRootProvider`
15
+ * resolves the recipe once at the root and `withContext` hands each part its
16
+ * slot's styles, so every part still takes style props, `css` and `asChild`.
17
+ */
18
+ const StyledRoot = withRootProvider(drawer.Drawer.Root, {
19
+ // Nothing is in the DOM until the first open, and the content leaves it again
20
+ // once its exit animation has finished — a closed sheet holding a long list
21
+ // would otherwise keep every row mounted.
22
+ defaultProps: { lazyMount: true, unmountOnExit: true },
23
+ });
24
+ const StyledBackdrop = withContext(drawer.Drawer.Backdrop, 'backdrop', { forwardAsChild: true });
25
+ const StyledPositioner = withContext(drawer.Drawer.Positioner, 'positioner', { forwardAsChild: true });
26
+ const StyledContent = withContext(drawer.Drawer.Content, 'content', { forwardAsChild: true });
27
+ const StyledGrabber = withContext(drawer.Drawer.Grabber, 'grabber', { forwardAsChild: true });
28
+ const StyledGrabberIndicator = withContext(drawer.Drawer.GrabberIndicator, 'grabberIndicator', { forwardAsChild: true });
29
+ const StyledTitle = withContext(drawer.Drawer.Title, 'title', { forwardAsChild: true });
30
+ const StyledCloseTrigger = withContext(drawer.Drawer.CloseTrigger, 'closeTrigger', { forwardAsChild: true });
31
+ const StyledHeader = withContext('div', 'header');
32
+ const StyledBody = withContext('div', 'body');
33
+ const StyledFooter = withContext('div', 'footer');
34
+ /**
35
+ * The open sheet's Ark drawer API — `open`, `setOpen`, `snapPoint`,
36
+ * `setSnapPoint`, `getContentSize`, … Call it from anything rendered inside
37
+ * `<BottomSheet>`.
38
+ */
39
+ const useBottomSheetContext = () => drawer.useDrawerContext();
40
+
41
+ exports.StyledBackdrop = StyledBackdrop;
42
+ exports.StyledBody = StyledBody;
43
+ exports.StyledCloseTrigger = StyledCloseTrigger;
44
+ exports.StyledContent = StyledContent;
45
+ exports.StyledFooter = StyledFooter;
46
+ exports.StyledGrabber = StyledGrabber;
47
+ exports.StyledGrabberIndicator = StyledGrabberIndicator;
48
+ exports.StyledHeader = StyledHeader;
49
+ exports.StyledPositioner = StyledPositioner;
50
+ exports.StyledRoot = StyledRoot;
51
+ exports.StyledTitle = StyledTitle;
52
+ exports.useBottomSheetContext = useBottomSheetContext;
53
+ //# sourceMappingURL=BottomSheetContext.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BottomSheetContext.js","sources":["../../../src/components/BottomSheet/BottomSheetContext.ts"],"sourcesContent":[null],"names":["createSlotRecipeContext","bottomSheetSlotRecipe","Drawer","useDrawerContext"],"mappings":";;;;;;;AAWA,MAAM,EAAE,gBAAgB,EAAE,WAAW,EAAE,SAAS,EAAE,GAAGA,6BAAuB,CAAC;AAC3E,IAAA,MAAM,EAAEC,wCAAqB;AAC9B,CAAA,CAAC;AAEF;;;;;;AAMG;MACU,UAAU,GAAG,gBAAgB,CAAmBC,aAAM,CAAC,IAAI,EAAE;;;;IAIxE,YAAY,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE;AACvD,CAAA;AAEM,MAAM,cAAc,GAAG,WAAW,CAGvCA,aAAM,CAAC,QAAQ,EAAE,UAAU,EAAE,EAAE,cAAc,EAAE,IAAI,EAAE;AAChD,MAAM,gBAAgB,GAAG,WAAW,CAGzCA,aAAM,CAAC,UAAU,EAAE,YAAY,EAAE,EAAE,cAAc,EAAE,IAAI,EAAE;AACpD,MAAM,aAAa,GAAG,WAAW,CAGtCA,aAAM,CAAC,OAAO,EAAE,SAAS,EAAE,EAAE,cAAc,EAAE,IAAI,EAAE;AAC9C,MAAM,aAAa,GAAG,WAAW,CAGtCA,aAAM,CAAC,OAAO,EAAE,SAAS,EAAE,EAAE,cAAc,EAAE,IAAI,EAAE;AAC9C,MAAM,sBAAsB,GAAG,WAAW,CAG/CA,aAAM,CAAC,gBAAgB,EAAE,kBAAkB,EAAE,EAAE,cAAc,EAAE,IAAI,EAAE;AAChE,MAAM,WAAW,GAAG,WAAW,CAGpCA,aAAM,CAAC,KAAK,EAAE,OAAO,EAAE,EAAE,cAAc,EAAE,IAAI,EAAE;AAC1C,MAAM,kBAAkB,GAAG,WAAW,CAG3CA,aAAM,CAAC,YAAY,EAAE,cAAc,EAAE,EAAE,cAAc,EAAE,IAAI,EAAE;AACxD,MAAM,YAAY,GAAG,WAAW,CACrC,KAAK,EACL,QAAQ;AAEH,MAAM,UAAU,GAAG,WAAW,CACnC,KAAK,EACL,MAAM;AAED,MAAM,YAAY,GAAG,WAAW,CACrC,KAAK,EACL,QAAQ;AAKV;;;;AAIG;MACU,qBAAqB,GAAG,MACnCC,uBAAgB;;;;;;;;;;;;;;;"}
@@ -0,0 +1,40 @@
1
+ "use client";
2
+ import { Drawer, useDrawerContext } from '@ark-ui/react/drawer';
3
+ import { createSlotRecipeContext } from '@chakra-ui/react';
4
+ import { bottomSheetSlotRecipe } from './BottomSheet.styles.mjs';
5
+
6
+ const { withRootProvider, withContext, useStyles } = createSlotRecipeContext({
7
+ recipe: bottomSheetSlotRecipe,
8
+ });
9
+ /**
10
+ * Chakra-styled Ark parts, one per recipe slot.
11
+ *
12
+ * Built the way Chakra builds its own Ark-backed components: `withRootProvider`
13
+ * resolves the recipe once at the root and `withContext` hands each part its
14
+ * slot's styles, so every part still takes style props, `css` and `asChild`.
15
+ */
16
+ const StyledRoot = withRootProvider(Drawer.Root, {
17
+ // Nothing is in the DOM until the first open, and the content leaves it again
18
+ // once its exit animation has finished — a closed sheet holding a long list
19
+ // would otherwise keep every row mounted.
20
+ defaultProps: { lazyMount: true, unmountOnExit: true },
21
+ });
22
+ const StyledBackdrop = withContext(Drawer.Backdrop, 'backdrop', { forwardAsChild: true });
23
+ const StyledPositioner = withContext(Drawer.Positioner, 'positioner', { forwardAsChild: true });
24
+ const StyledContent = withContext(Drawer.Content, 'content', { forwardAsChild: true });
25
+ const StyledGrabber = withContext(Drawer.Grabber, 'grabber', { forwardAsChild: true });
26
+ const StyledGrabberIndicator = withContext(Drawer.GrabberIndicator, 'grabberIndicator', { forwardAsChild: true });
27
+ const StyledTitle = withContext(Drawer.Title, 'title', { forwardAsChild: true });
28
+ const StyledCloseTrigger = withContext(Drawer.CloseTrigger, 'closeTrigger', { forwardAsChild: true });
29
+ const StyledHeader = withContext('div', 'header');
30
+ const StyledBody = withContext('div', 'body');
31
+ const StyledFooter = withContext('div', 'footer');
32
+ /**
33
+ * The open sheet's Ark drawer API — `open`, `setOpen`, `snapPoint`,
34
+ * `setSnapPoint`, `getContentSize`, … Call it from anything rendered inside
35
+ * `<BottomSheet>`.
36
+ */
37
+ const useBottomSheetContext = () => useDrawerContext();
38
+
39
+ export { StyledBackdrop, StyledBody, StyledCloseTrigger, StyledContent, StyledFooter, StyledGrabber, StyledGrabberIndicator, StyledHeader, StyledPositioner, StyledRoot, StyledTitle, useBottomSheetContext };
40
+ //# sourceMappingURL=BottomSheetContext.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BottomSheetContext.mjs","sources":["../../../src/components/BottomSheet/BottomSheetContext.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;AAWA,MAAM,EAAE,gBAAgB,EAAE,WAAW,EAAE,SAAS,EAAE,GAAG,uBAAuB,CAAC;AAC3E,IAAA,MAAM,EAAE,qBAAqB;AAC9B,CAAA,CAAC;AAEF;;;;;;AAMG;MACU,UAAU,GAAG,gBAAgB,CAAmB,MAAM,CAAC,IAAI,EAAE;;;;IAIxE,YAAY,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE;AACvD,CAAA;AAEM,MAAM,cAAc,GAAG,WAAW,CAGvC,MAAM,CAAC,QAAQ,EAAE,UAAU,EAAE,EAAE,cAAc,EAAE,IAAI,EAAE;AAChD,MAAM,gBAAgB,GAAG,WAAW,CAGzC,MAAM,CAAC,UAAU,EAAE,YAAY,EAAE,EAAE,cAAc,EAAE,IAAI,EAAE;AACpD,MAAM,aAAa,GAAG,WAAW,CAGtC,MAAM,CAAC,OAAO,EAAE,SAAS,EAAE,EAAE,cAAc,EAAE,IAAI,EAAE;AAC9C,MAAM,aAAa,GAAG,WAAW,CAGtC,MAAM,CAAC,OAAO,EAAE,SAAS,EAAE,EAAE,cAAc,EAAE,IAAI,EAAE;AAC9C,MAAM,sBAAsB,GAAG,WAAW,CAG/C,MAAM,CAAC,gBAAgB,EAAE,kBAAkB,EAAE,EAAE,cAAc,EAAE,IAAI,EAAE;AAChE,MAAM,WAAW,GAAG,WAAW,CAGpC,MAAM,CAAC,KAAK,EAAE,OAAO,EAAE,EAAE,cAAc,EAAE,IAAI,EAAE;AAC1C,MAAM,kBAAkB,GAAG,WAAW,CAG3C,MAAM,CAAC,YAAY,EAAE,cAAc,EAAE,EAAE,cAAc,EAAE,IAAI,EAAE;AACxD,MAAM,YAAY,GAAG,WAAW,CACrC,KAAK,EACL,QAAQ;AAEH,MAAM,UAAU,GAAG,WAAW,CACnC,KAAK,EACL,MAAM;AAED,MAAM,YAAY,GAAG,WAAW,CACrC,KAAK,EACL,QAAQ;AAKV;;;;AAIG;MACU,qBAAqB,GAAG,MACnC,gBAAgB;;;;"}
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ /** Action row pinned below the body. */
3
+ export declare const BottomSheetFooter: React.ForwardRefExoticComponent<Omit<import("@chakra-ui/react").PatchHtmlProps<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">>, "color" | "translate" | "transition" | "width" | "height" | "content" | "_hover" | "_active" | "_focus" | "_focusWithin" | "_focusVisible" | "_disabled" | "_visited" | "_target" | "_readOnly" | "_readWrite" | "_empty" | "_checked" | "_enabled" | "_expanded" | "_highlighted" | "_complete" | "_incomplete" | "_dragging" | "_before" | "_after" | "_firstLetter" | "_firstLine" | "_marker" | "_selection" | "_file" | "_backdrop" | "_first" | "_last" | "_notFirst" | "_notLast" | "_only" | "_even" | "_odd" | "_peerFocus" | "_peerHover" | "_peerActive" | "_peerFocusWithin" | "_peerFocusVisible" | "_peerDisabled" | "_peerChecked" | "_peerInvalid" | "_peerExpanded" | "_peerPlaceholderShown" | "_groupFocus" | "_groupHover" | "_groupActive" | "_groupFocusWithin" | "_groupFocusVisible" | "_groupDisabled" | "_groupChecked" | "_groupExpanded" | "_groupInvalid" | "_indeterminate" | "_required" | "_valid" | "_invalid" | "_autofill" | "_inRange" | "_outOfRange" | "_placeholder" | "_placeholderShown" | "_pressed" | "_selected" | "_grabbed" | "_underValue" | "_overValue" | "_atValue" | "_default" | "_optional" | "_open" | "_closed" | "_fullscreen" | "_loading" | "_hidden" | "_current" | "_currentPage" | "_currentStep" | "_today" | "_unavailable" | "_rangeStart" | "_rangeEnd" | "_now" | "_topmost" | "_motionReduce" | "_motionSafe" | "_print" | "_landscape" | "_portrait" | "_dark" | "_light" | "_osDark" | "_osLight" | "_highContrast" | "_lessContrast" | "_moreContrast" | "_ltr" | "_rtl" | "_scrollbar" | "_scrollbarThumb" | "_scrollbarTrack" | "_horizontal" | "_vertical" | "_icon" | "_starting" | "sm" | "smOnly" | "smDown" | "md" | "mdOnly" | "mdDown" | "lg" | "lgOnly" | "lgDown" | "xl" | "xlOnly" | "xlDown" | "2xl" | "2xlOnly" | "2xlDown" | "smToMd" | "smToLg" | "smToXl" | "smTo2xl" | "mdToLg" | "mdToXl" | "mdTo2xl" | "lgToXl" | "lgTo2xl" | "xlTo2xl" | "base" | "page" | "container" | "css" | "WebkitAppearance" | "WebkitBorderBefore" | "WebkitBorderBeforeColor" | "WebkitBorderBeforeStyle" | "WebkitBorderBeforeWidth" | "WebkitBoxReflect" | "WebkitLineClamp" | "WebkitMask" | "WebkitMaskAttachment" | "WebkitMaskClip" | "WebkitMaskComposite" | "WebkitMaskImage" | "WebkitMaskOrigin" | "WebkitMaskPosition" | "WebkitMaskPositionX" | "WebkitMaskPositionY" | "WebkitMaskRepeat" | "WebkitMaskRepeatX" | "WebkitMaskRepeatY" | "WebkitMaskSize" | "WebkitOverflowScrolling" | "WebkitTapHighlightColor" | "WebkitTextFillColor" | "WebkitTextStroke" | "WebkitTextStrokeColor" | "WebkitTextStrokeWidth" | "WebkitTouchCallout" | "WebkitUserModify" | "WebkitUserSelect" | "accentColor" | "alignContent" | "alignItems" | "alignSelf" | "alignTracks" | "all" | "anchorName" | "anchorScope" | "animation" | "animationComposition" | "animationDelay" | "animationDirection" | "animationDuration" | "animationFillMode" | "animationIterationCount" | "animationName" | "animationPlayState" | "animationRange" | "animationRangeEnd" | "animationRangeStart" | "animationTimeline" | "animationTimingFunction" | "appearance" | "aspectRatio" | "backdropFilter" | "backfaceVisibility" | "background" | "backgroundAttachment" | "backgroundBlendMode" | "backgroundClip" | "backgroundColor" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundPositionX" | "backgroundPositionY" | "backgroundRepeat" | "backgroundSize" | "blockSize" | "border" | "borderBlock" | "borderBlockColor" | "borderBlockEnd" | "borderBlockEndColor" | "borderBlockEndStyle" | "borderBlockEndWidth" | "borderBlockStart" | "borderBlockStartColor" | "borderBlockStartStyle" | "borderBlockStartWidth" | "borderBlockStyle" | "borderBlockWidth" | "borderBottom" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderCollapse" | "borderColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderImage" | "borderImageOutset" | "borderImageRepeat" | "borderImageSlice" | "borderImageSource" | "borderImageWidth" | "borderInline" | "borderInlineColor" | "borderInlineEnd" | "borderInlineEndColor" | "borderInlineEndStyle" | "borderInlineEndWidth" | "borderInlineStart" | "borderInlineStartColor" | "borderInlineStartStyle" | "borderInlineStartWidth" | "borderInlineStyle" | "borderInlineWidth" | "borderLeft" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRadius" | "borderRight" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderSpacing" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTop" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "borderWidth" | "bottom" | "boxAlign" | "boxDecorationBreak" | "boxDirection" | "boxFlex" | "boxFlexGroup" | "boxLines" | "boxOrdinalGroup" | "boxOrient" | "boxPack" | "boxShadow" | "boxSizing" | "breakAfter" | "breakBefore" | "breakInside" | "captionSide" | "caret" | "caretColor" | "caretShape" | "clear" | "clip" | "clipPath" | "clipRule" | "colorInterpolationFilters" | "colorScheme" | "columnCount" | "columnFill" | "columnGap" | "columnRule" | "columnRuleColor" | "columnRuleStyle" | "columnRuleWidth" | "columnSpan" | "columnWidth" | "columns" | "contain" | "containIntrinsicBlockSize" | "containIntrinsicHeight" | "containIntrinsicInlineSize" | "containIntrinsicSize" | "containIntrinsicWidth" | "containerName" | "containerType" | "contentVisibility" | "counterIncrement" | "counterReset" | "counterSet" | "cursor" | "cx" | "cy" | "d" | "direction" | "display" | "dominantBaseline" | "emptyCells" | "fieldSizing" | "fill" | "fillOpacity" | "fillRule" | "filter" | "flex" | "flexBasis" | "flexDirection" | "flexFlow" | "flexGrow" | "flexShrink" | "flexWrap" | "float" | "floodColor" | "floodOpacity" | "font" | "fontFamily" | "fontFeatureSettings" | "fontKerning" | "fontLanguageOverride" | "fontOpticalSizing" | "fontPalette" | "fontSize" | "fontSizeAdjust" | "fontSmooth" | "fontStretch" | "fontStyle" | "fontSynthesis" | "fontSynthesisPosition" | "fontSynthesisSmallCaps" | "fontSynthesisStyle" | "fontSynthesisWeight" | "fontVariant" | "fontVariantAlternates" | "fontVariantCaps" | "fontVariantEastAsian" | "fontVariantEmoji" | "fontVariantLigatures" | "fontVariantNumeric" | "fontVariantPosition" | "fontVariationSettings" | "fontWeight" | "forcedColorAdjust" | "gap" | "grid" | "gridArea" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridColumn" | "gridColumnEnd" | "gridColumnGap" | "gridColumnStart" | "gridGap" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridTemplate" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "hangingPunctuation" | "hyphenateCharacter" | "hyphenateLimitChars" | "hyphens" | "imageOrientation" | "imageRendering" | "imageResolution" | "imeMode" | "initialLetter" | "initialLetterAlign" | "inlineSize" | "inset" | "insetBlock" | "insetBlockEnd" | "insetBlockStart" | "insetInline" | "insetInlineEnd" | "insetInlineStart" | "interpolateSize" | "isolation" | "justifyContent" | "justifyItems" | "justifySelf" | "justifyTracks" | "left" | "letterSpacing" | "lightingColor" | "lineBreak" | "lineClamp" | "lineHeight" | "lineHeightStep" | "listStyle" | "listStyleImage" | "listStylePosition" | "listStyleType" | "margin" | "marginBlock" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInline" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "marginTrim" | "marker" | "markerEnd" | "markerMid" | "markerStart" | "mask" | "maskBorder" | "maskBorderMode" | "maskBorderOutset" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "maskClip" | "maskComposite" | "maskImage" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "masonryAutoFlow" | "mathDepth" | "mathShift" | "mathStyle" | "maxBlockSize" | "maxHeight" | "maxInlineSize" | "maxLines" | "maxWidth" | "minBlockSize" | "minHeight" | "minInlineSize" | "minWidth" | "mixBlendMode" | "objectFit" | "objectPosition" | "offset" | "offsetAnchor" | "offsetDistance" | "offsetPath" | "offsetPosition" | "offsetRotate" | "opacity" | "order" | "orphans" | "outline" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "overflow" | "overflowAnchor" | "overflowBlock" | "overflowClipBox" | "overflowClipMargin" | "overflowInline" | "overflowWrap" | "overflowX" | "overflowY" | "overlay" | "overscrollBehavior" | "overscrollBehaviorBlock" | "overscrollBehaviorInline" | "overscrollBehaviorX" | "overscrollBehaviorY" | "padding" | "paddingBlock" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInline" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "pageBreakAfter" | "pageBreakBefore" | "pageBreakInside" | "paintOrder" | "perspective" | "perspectiveOrigin" | "placeContent" | "placeItems" | "placeSelf" | "pointerEvents" | "position" | "positionAnchor" | "positionArea" | "positionTry" | "positionTryFallbacks" | "positionTryOrder" | "positionVisibility" | "printColorAdjust" | "quotes" | "r" | "resize" | "right" | "rotate" | "rowGap" | "rubyAlign" | "rubyMerge" | "rubyPosition" | "rx" | "ry" | "scale" | "scrollBehavior" | "scrollMargin" | "scrollMarginBlock" | "scrollMarginBlockEnd" | "scrollMarginBlockStart" | "scrollMarginBottom" | "scrollMarginInline" | "scrollMarginInlineEnd" | "scrollMarginInlineStart" | "scrollMarginLeft" | "scrollMarginRight" | "scrollMarginTop" | "scrollPadding" | "scrollPaddingBlock" | "scrollPaddingBlockEnd" | "scrollPaddingBlockStart" | "scrollPaddingBottom" | "scrollPaddingInline" | "scrollPaddingInlineEnd" | "scrollPaddingInlineStart" | "scrollPaddingLeft" | "scrollPaddingRight" | "scrollPaddingTop" | "scrollSnapAlign" | "scrollSnapCoordinate" | "scrollSnapDestination" | "scrollSnapPointsX" | "scrollSnapPointsY" | "scrollSnapStop" | "scrollSnapType" | "scrollSnapTypeX" | "scrollSnapTypeY" | "scrollTimeline" | "scrollTimelineAxis" | "scrollTimelineName" | "scrollbarColor" | "scrollbarGutter" | "scrollbarWidth" | "shapeImageThreshold" | "shapeMargin" | "shapeOutside" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "tabSize" | "tableLayout" | "textAlign" | "textAlignLast" | "textAnchor" | "textBox" | "textBoxEdge" | "textBoxTrim" | "textCombineUpright" | "textDecoration" | "textDecorationColor" | "textDecorationLine" | "textDecorationSkip" | "textDecorationSkipInk" | "textDecorationStyle" | "textDecorationThickness" | "textEmphasis" | "textEmphasisColor" | "textEmphasisPosition" | "textEmphasisStyle" | "textIndent" | "textJustify" | "textOrientation" | "textOverflow" | "textRendering" | "textShadow" | "textSizeAdjust" | "textSpacingTrim" | "textTransform" | "textUnderlineOffset" | "textUnderlinePosition" | "textWrap" | "textWrapMode" | "textWrapStyle" | "timelineScope" | "top" | "touchAction" | "transform" | "transformBox" | "transformOrigin" | "transformStyle" | "transitionBehavior" | "transitionDelay" | "transitionDuration" | "transitionProperty" | "transitionTimingFunction" | "unicodeBidi" | "userSelect" | "vectorEffect" | "verticalAlign" | "viewTimeline" | "viewTimelineAxis" | "viewTimelineInset" | "viewTimelineName" | "viewTransitionName" | "visibility" | "whiteSpace" | "whiteSpaceCollapse" | "widows" | "willChange" | "wordBreak" | "wordSpacing" | "wordWrap" | "writingMode" | "x" | "y" | "zIndex" | "zoom" | "alignmentBaseline" | "baselineShift" | "colorInterpolation" | "colorRendering" | "glyphOrientationVertical" | "bg" | "bgColor" | "bgSize" | "bgPos" | "bgRepeat" | "bgAttachment" | "bgClip" | "bgGradient" | "bgImg" | "bgImage" | "borderStart" | "borderEnd" | "borderX" | "borderY" | "borderStartColor" | "borderEndColor" | "borderStartStyle" | "borderEndStyle" | "rounded" | "roundedTopLeft" | "roundedStartStart" | "borderTopStartRadius" | "roundedEndStart" | "borderBottomStartRadius" | "roundedTopRight" | "roundedStartEnd" | "borderTopEndRadius" | "roundedEndEnd" | "borderBottomEndRadius" | "roundedBottomLeft" | "roundedBottomRight" | "roundedStart" | "borderStartRadius" | "roundedEnd" | "borderEndRadius" | "roundedTop" | "roundedBottom" | "roundedLeft" | "roundedRight" | "borderXWidth" | "borderStartWidth" | "borderEndWidth" | "borderYWidth" | "shadow" | "shadowColor" | "blendMode" | "bgBlendMode" | "gapY" | "gapX" | "flexDir" | "w" | "h" | "minW" | "minH" | "maxW" | "maxH" | "overscroll" | "overscrollX" | "overscrollY" | "scrollPaddingX" | "scrollPaddingY" | "listStylePos" | "listStyleImg" | "pos" | "insetX" | "insetY" | "insetStart" | "insetEnd" | "m" | "mt" | "mr" | "mb" | "ml" | "ms" | "marginStart" | "me" | "marginEnd" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "ps" | "paddingStart" | "pe" | "paddingEnd" | "px" | "paddingX" | "py" | "paddingY" | "textDecor" | "backgroundGradient" | "gradientFrom" | "gradientTo" | "gradientVia" | "borderInlineStartRadius" | "borderInlineEndRadius" | "borderTopRadius" | "borderBottomRadius" | "borderLeftRadius" | "borderRightRadius" | "divideX" | "divideY" | "divideColor" | "divideStyle" | "boxShadowColor" | "blur" | "brightness" | "contrast" | "grayscale" | "hueRotate" | "invert" | "saturate" | "sepia" | "dropShadow" | "backdropBlur" | "backdropBrightness" | "backdropContrast" | "backdropGrayscale" | "backdropHueRotate" | "backdropInvert" | "backdropOpacity" | "backdropSaturate" | "backdropSepia" | "focusRing" | "focusVisibleRing" | "focusRingColor" | "focusRingOffset" | "focusRingWidth" | "focusRingStyle" | "boxSize" | "hideFrom" | "hideBelow" | "scrollbar" | "scrollMarginX" | "scrollMarginY" | "scrollSnapStrictness" | "scrollSnapMargin" | "scrollSnapMarginTop" | "scrollSnapMarginBottom" | "scrollSnapMarginLeft" | "scrollSnapMarginRight" | "ring" | "ringColor" | "ringOffset" | "ringOffsetColor" | "ringInset" | "skewX" | "skewY" | "scaleX" | "scaleY" | "spaceXReverse" | "spaceX" | "spaceYReverse" | "spaceY" | "rotateX" | "rotateY" | "translateX" | "translateY" | "truncate" | "borderSpacingX" | "borderSpacingY" | "srOnly" | "debug" | "colorPalette" | "textStyle" | "layerStyle" | "animationStyle" | keyof import("@chakra-ui/react").PolymorphicProps> & Omit<import("@chakra-ui/react").JsxStyleProps, never> & import("@chakra-ui/react").PolymorphicProps & React.RefAttributes<HTMLDivElement>>;
4
+ //# sourceMappingURL=BottomSheetFooter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BottomSheetFooter.d.ts","sourceRoot":"","sources":["../../../src/components/BottomSheet/BottomSheetFooter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAK1C,wCAAwC;AACxC,eAAO,MAAM,iBAAiB,0ucAG0B,CAAC"}
@@ -0,0 +1,13 @@
1
+ "use client";
2
+ 'use strict';
3
+
4
+ var jsxRuntime = require('react/jsx-runtime');
5
+ var React = require('react');
6
+ var BottomSheetContext = require('./BottomSheetContext.js');
7
+
8
+ /** Action row pinned below the body. */
9
+ const BottomSheetFooter = React.forwardRef((props, ref) => jsxRuntime.jsx(BottomSheetContext.StyledFooter, { ref: ref, ...props }));
10
+ BottomSheetFooter.displayName = 'BottomSheetFooter';
11
+
12
+ exports.BottomSheetFooter = BottomSheetFooter;
13
+ //# sourceMappingURL=BottomSheetFooter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BottomSheetFooter.js","sources":["../../../src/components/BottomSheet/BottomSheetFooter.tsx"],"sourcesContent":[null],"names":["forwardRef","_jsx","StyledFooter"],"mappings":";;;;;;;AAKA;MACa,iBAAiB,GAAGA,gBAAU,CAGzC,CAAC,KAAK,EAAE,GAAG,KAAKC,cAAA,CAACC,+BAAY,EAAA,EAAC,GAAG,EAAE,GAAG,EAAA,GAAM,KAAK,EAAA,CAAI;AAEvD,iBAAiB,CAAC,WAAW,GAAG,mBAAmB;;;;"}
@@ -0,0 +1,11 @@
1
+ "use client";
2
+ import { jsx } from 'react/jsx-runtime';
3
+ import { forwardRef } from 'react';
4
+ import { StyledFooter } from './BottomSheetContext.mjs';
5
+
6
+ /** Action row pinned below the body. */
7
+ const BottomSheetFooter = forwardRef((props, ref) => jsx(StyledFooter, { ref: ref, ...props }));
8
+ BottomSheetFooter.displayName = 'BottomSheetFooter';
9
+
10
+ export { BottomSheetFooter };
11
+ //# sourceMappingURL=BottomSheetFooter.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BottomSheetFooter.mjs","sources":["../../../src/components/BottomSheet/BottomSheetFooter.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":";;;;;AAKA;MACa,iBAAiB,GAAG,UAAU,CAGzC,CAAC,KAAK,EAAE,GAAG,KAAKA,GAAA,CAAC,YAAY,EAAA,EAAC,GAAG,EAAE,GAAG,EAAA,GAAM,KAAK,EAAA,CAAI;AAEvD,iBAAiB,CAAC,WAAW,GAAG,mBAAmB;;;;"}
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ /**
3
+ * The sheet's header row. Its children are rendered as the sheet's **title**
4
+ * (Ark's `Drawer.Title`), which is what the content's `aria-labelledby` points
5
+ * at — so a header is how a sheet gets its accessible name.
6
+ */
7
+ export declare const BottomSheetHeader: React.ForwardRefExoticComponent<Omit<import("@chakra-ui/react").PatchHtmlProps<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">>, "color" | "translate" | "transition" | "width" | "height" | "content" | "_hover" | "_active" | "_focus" | "_focusWithin" | "_focusVisible" | "_disabled" | "_visited" | "_target" | "_readOnly" | "_readWrite" | "_empty" | "_checked" | "_enabled" | "_expanded" | "_highlighted" | "_complete" | "_incomplete" | "_dragging" | "_before" | "_after" | "_firstLetter" | "_firstLine" | "_marker" | "_selection" | "_file" | "_backdrop" | "_first" | "_last" | "_notFirst" | "_notLast" | "_only" | "_even" | "_odd" | "_peerFocus" | "_peerHover" | "_peerActive" | "_peerFocusWithin" | "_peerFocusVisible" | "_peerDisabled" | "_peerChecked" | "_peerInvalid" | "_peerExpanded" | "_peerPlaceholderShown" | "_groupFocus" | "_groupHover" | "_groupActive" | "_groupFocusWithin" | "_groupFocusVisible" | "_groupDisabled" | "_groupChecked" | "_groupExpanded" | "_groupInvalid" | "_indeterminate" | "_required" | "_valid" | "_invalid" | "_autofill" | "_inRange" | "_outOfRange" | "_placeholder" | "_placeholderShown" | "_pressed" | "_selected" | "_grabbed" | "_underValue" | "_overValue" | "_atValue" | "_default" | "_optional" | "_open" | "_closed" | "_fullscreen" | "_loading" | "_hidden" | "_current" | "_currentPage" | "_currentStep" | "_today" | "_unavailable" | "_rangeStart" | "_rangeEnd" | "_now" | "_topmost" | "_motionReduce" | "_motionSafe" | "_print" | "_landscape" | "_portrait" | "_dark" | "_light" | "_osDark" | "_osLight" | "_highContrast" | "_lessContrast" | "_moreContrast" | "_ltr" | "_rtl" | "_scrollbar" | "_scrollbarThumb" | "_scrollbarTrack" | "_horizontal" | "_vertical" | "_icon" | "_starting" | "sm" | "smOnly" | "smDown" | "md" | "mdOnly" | "mdDown" | "lg" | "lgOnly" | "lgDown" | "xl" | "xlOnly" | "xlDown" | "2xl" | "2xlOnly" | "2xlDown" | "smToMd" | "smToLg" | "smToXl" | "smTo2xl" | "mdToLg" | "mdToXl" | "mdTo2xl" | "lgToXl" | "lgTo2xl" | "xlTo2xl" | "base" | "page" | "container" | "css" | "WebkitAppearance" | "WebkitBorderBefore" | "WebkitBorderBeforeColor" | "WebkitBorderBeforeStyle" | "WebkitBorderBeforeWidth" | "WebkitBoxReflect" | "WebkitLineClamp" | "WebkitMask" | "WebkitMaskAttachment" | "WebkitMaskClip" | "WebkitMaskComposite" | "WebkitMaskImage" | "WebkitMaskOrigin" | "WebkitMaskPosition" | "WebkitMaskPositionX" | "WebkitMaskPositionY" | "WebkitMaskRepeat" | "WebkitMaskRepeatX" | "WebkitMaskRepeatY" | "WebkitMaskSize" | "WebkitOverflowScrolling" | "WebkitTapHighlightColor" | "WebkitTextFillColor" | "WebkitTextStroke" | "WebkitTextStrokeColor" | "WebkitTextStrokeWidth" | "WebkitTouchCallout" | "WebkitUserModify" | "WebkitUserSelect" | "accentColor" | "alignContent" | "alignItems" | "alignSelf" | "alignTracks" | "all" | "anchorName" | "anchorScope" | "animation" | "animationComposition" | "animationDelay" | "animationDirection" | "animationDuration" | "animationFillMode" | "animationIterationCount" | "animationName" | "animationPlayState" | "animationRange" | "animationRangeEnd" | "animationRangeStart" | "animationTimeline" | "animationTimingFunction" | "appearance" | "aspectRatio" | "backdropFilter" | "backfaceVisibility" | "background" | "backgroundAttachment" | "backgroundBlendMode" | "backgroundClip" | "backgroundColor" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundPositionX" | "backgroundPositionY" | "backgroundRepeat" | "backgroundSize" | "blockSize" | "border" | "borderBlock" | "borderBlockColor" | "borderBlockEnd" | "borderBlockEndColor" | "borderBlockEndStyle" | "borderBlockEndWidth" | "borderBlockStart" | "borderBlockStartColor" | "borderBlockStartStyle" | "borderBlockStartWidth" | "borderBlockStyle" | "borderBlockWidth" | "borderBottom" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderCollapse" | "borderColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderImage" | "borderImageOutset" | "borderImageRepeat" | "borderImageSlice" | "borderImageSource" | "borderImageWidth" | "borderInline" | "borderInlineColor" | "borderInlineEnd" | "borderInlineEndColor" | "borderInlineEndStyle" | "borderInlineEndWidth" | "borderInlineStart" | "borderInlineStartColor" | "borderInlineStartStyle" | "borderInlineStartWidth" | "borderInlineStyle" | "borderInlineWidth" | "borderLeft" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRadius" | "borderRight" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderSpacing" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTop" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "borderWidth" | "bottom" | "boxAlign" | "boxDecorationBreak" | "boxDirection" | "boxFlex" | "boxFlexGroup" | "boxLines" | "boxOrdinalGroup" | "boxOrient" | "boxPack" | "boxShadow" | "boxSizing" | "breakAfter" | "breakBefore" | "breakInside" | "captionSide" | "caret" | "caretColor" | "caretShape" | "clear" | "clip" | "clipPath" | "clipRule" | "colorInterpolationFilters" | "colorScheme" | "columnCount" | "columnFill" | "columnGap" | "columnRule" | "columnRuleColor" | "columnRuleStyle" | "columnRuleWidth" | "columnSpan" | "columnWidth" | "columns" | "contain" | "containIntrinsicBlockSize" | "containIntrinsicHeight" | "containIntrinsicInlineSize" | "containIntrinsicSize" | "containIntrinsicWidth" | "containerName" | "containerType" | "contentVisibility" | "counterIncrement" | "counterReset" | "counterSet" | "cursor" | "cx" | "cy" | "d" | "direction" | "display" | "dominantBaseline" | "emptyCells" | "fieldSizing" | "fill" | "fillOpacity" | "fillRule" | "filter" | "flex" | "flexBasis" | "flexDirection" | "flexFlow" | "flexGrow" | "flexShrink" | "flexWrap" | "float" | "floodColor" | "floodOpacity" | "font" | "fontFamily" | "fontFeatureSettings" | "fontKerning" | "fontLanguageOverride" | "fontOpticalSizing" | "fontPalette" | "fontSize" | "fontSizeAdjust" | "fontSmooth" | "fontStretch" | "fontStyle" | "fontSynthesis" | "fontSynthesisPosition" | "fontSynthesisSmallCaps" | "fontSynthesisStyle" | "fontSynthesisWeight" | "fontVariant" | "fontVariantAlternates" | "fontVariantCaps" | "fontVariantEastAsian" | "fontVariantEmoji" | "fontVariantLigatures" | "fontVariantNumeric" | "fontVariantPosition" | "fontVariationSettings" | "fontWeight" | "forcedColorAdjust" | "gap" | "grid" | "gridArea" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridColumn" | "gridColumnEnd" | "gridColumnGap" | "gridColumnStart" | "gridGap" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridTemplate" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "hangingPunctuation" | "hyphenateCharacter" | "hyphenateLimitChars" | "hyphens" | "imageOrientation" | "imageRendering" | "imageResolution" | "imeMode" | "initialLetter" | "initialLetterAlign" | "inlineSize" | "inset" | "insetBlock" | "insetBlockEnd" | "insetBlockStart" | "insetInline" | "insetInlineEnd" | "insetInlineStart" | "interpolateSize" | "isolation" | "justifyContent" | "justifyItems" | "justifySelf" | "justifyTracks" | "left" | "letterSpacing" | "lightingColor" | "lineBreak" | "lineClamp" | "lineHeight" | "lineHeightStep" | "listStyle" | "listStyleImage" | "listStylePosition" | "listStyleType" | "margin" | "marginBlock" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInline" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "marginTrim" | "marker" | "markerEnd" | "markerMid" | "markerStart" | "mask" | "maskBorder" | "maskBorderMode" | "maskBorderOutset" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "maskClip" | "maskComposite" | "maskImage" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "masonryAutoFlow" | "mathDepth" | "mathShift" | "mathStyle" | "maxBlockSize" | "maxHeight" | "maxInlineSize" | "maxLines" | "maxWidth" | "minBlockSize" | "minHeight" | "minInlineSize" | "minWidth" | "mixBlendMode" | "objectFit" | "objectPosition" | "offset" | "offsetAnchor" | "offsetDistance" | "offsetPath" | "offsetPosition" | "offsetRotate" | "opacity" | "order" | "orphans" | "outline" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "overflow" | "overflowAnchor" | "overflowBlock" | "overflowClipBox" | "overflowClipMargin" | "overflowInline" | "overflowWrap" | "overflowX" | "overflowY" | "overlay" | "overscrollBehavior" | "overscrollBehaviorBlock" | "overscrollBehaviorInline" | "overscrollBehaviorX" | "overscrollBehaviorY" | "padding" | "paddingBlock" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInline" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "pageBreakAfter" | "pageBreakBefore" | "pageBreakInside" | "paintOrder" | "perspective" | "perspectiveOrigin" | "placeContent" | "placeItems" | "placeSelf" | "pointerEvents" | "position" | "positionAnchor" | "positionArea" | "positionTry" | "positionTryFallbacks" | "positionTryOrder" | "positionVisibility" | "printColorAdjust" | "quotes" | "r" | "resize" | "right" | "rotate" | "rowGap" | "rubyAlign" | "rubyMerge" | "rubyPosition" | "rx" | "ry" | "scale" | "scrollBehavior" | "scrollMargin" | "scrollMarginBlock" | "scrollMarginBlockEnd" | "scrollMarginBlockStart" | "scrollMarginBottom" | "scrollMarginInline" | "scrollMarginInlineEnd" | "scrollMarginInlineStart" | "scrollMarginLeft" | "scrollMarginRight" | "scrollMarginTop" | "scrollPadding" | "scrollPaddingBlock" | "scrollPaddingBlockEnd" | "scrollPaddingBlockStart" | "scrollPaddingBottom" | "scrollPaddingInline" | "scrollPaddingInlineEnd" | "scrollPaddingInlineStart" | "scrollPaddingLeft" | "scrollPaddingRight" | "scrollPaddingTop" | "scrollSnapAlign" | "scrollSnapCoordinate" | "scrollSnapDestination" | "scrollSnapPointsX" | "scrollSnapPointsY" | "scrollSnapStop" | "scrollSnapType" | "scrollSnapTypeX" | "scrollSnapTypeY" | "scrollTimeline" | "scrollTimelineAxis" | "scrollTimelineName" | "scrollbarColor" | "scrollbarGutter" | "scrollbarWidth" | "shapeImageThreshold" | "shapeMargin" | "shapeOutside" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "tabSize" | "tableLayout" | "textAlign" | "textAlignLast" | "textAnchor" | "textBox" | "textBoxEdge" | "textBoxTrim" | "textCombineUpright" | "textDecoration" | "textDecorationColor" | "textDecorationLine" | "textDecorationSkip" | "textDecorationSkipInk" | "textDecorationStyle" | "textDecorationThickness" | "textEmphasis" | "textEmphasisColor" | "textEmphasisPosition" | "textEmphasisStyle" | "textIndent" | "textJustify" | "textOrientation" | "textOverflow" | "textRendering" | "textShadow" | "textSizeAdjust" | "textSpacingTrim" | "textTransform" | "textUnderlineOffset" | "textUnderlinePosition" | "textWrap" | "textWrapMode" | "textWrapStyle" | "timelineScope" | "top" | "touchAction" | "transform" | "transformBox" | "transformOrigin" | "transformStyle" | "transitionBehavior" | "transitionDelay" | "transitionDuration" | "transitionProperty" | "transitionTimingFunction" | "unicodeBidi" | "userSelect" | "vectorEffect" | "verticalAlign" | "viewTimeline" | "viewTimelineAxis" | "viewTimelineInset" | "viewTimelineName" | "viewTransitionName" | "visibility" | "whiteSpace" | "whiteSpaceCollapse" | "widows" | "willChange" | "wordBreak" | "wordSpacing" | "wordWrap" | "writingMode" | "x" | "y" | "zIndex" | "zoom" | "alignmentBaseline" | "baselineShift" | "colorInterpolation" | "colorRendering" | "glyphOrientationVertical" | "bg" | "bgColor" | "bgSize" | "bgPos" | "bgRepeat" | "bgAttachment" | "bgClip" | "bgGradient" | "bgImg" | "bgImage" | "borderStart" | "borderEnd" | "borderX" | "borderY" | "borderStartColor" | "borderEndColor" | "borderStartStyle" | "borderEndStyle" | "rounded" | "roundedTopLeft" | "roundedStartStart" | "borderTopStartRadius" | "roundedEndStart" | "borderBottomStartRadius" | "roundedTopRight" | "roundedStartEnd" | "borderTopEndRadius" | "roundedEndEnd" | "borderBottomEndRadius" | "roundedBottomLeft" | "roundedBottomRight" | "roundedStart" | "borderStartRadius" | "roundedEnd" | "borderEndRadius" | "roundedTop" | "roundedBottom" | "roundedLeft" | "roundedRight" | "borderXWidth" | "borderStartWidth" | "borderEndWidth" | "borderYWidth" | "shadow" | "shadowColor" | "blendMode" | "bgBlendMode" | "gapY" | "gapX" | "flexDir" | "w" | "h" | "minW" | "minH" | "maxW" | "maxH" | "overscroll" | "overscrollX" | "overscrollY" | "scrollPaddingX" | "scrollPaddingY" | "listStylePos" | "listStyleImg" | "pos" | "insetX" | "insetY" | "insetStart" | "insetEnd" | "m" | "mt" | "mr" | "mb" | "ml" | "ms" | "marginStart" | "me" | "marginEnd" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "ps" | "paddingStart" | "pe" | "paddingEnd" | "px" | "paddingX" | "py" | "paddingY" | "textDecor" | "backgroundGradient" | "gradientFrom" | "gradientTo" | "gradientVia" | "borderInlineStartRadius" | "borderInlineEndRadius" | "borderTopRadius" | "borderBottomRadius" | "borderLeftRadius" | "borderRightRadius" | "divideX" | "divideY" | "divideColor" | "divideStyle" | "boxShadowColor" | "blur" | "brightness" | "contrast" | "grayscale" | "hueRotate" | "invert" | "saturate" | "sepia" | "dropShadow" | "backdropBlur" | "backdropBrightness" | "backdropContrast" | "backdropGrayscale" | "backdropHueRotate" | "backdropInvert" | "backdropOpacity" | "backdropSaturate" | "backdropSepia" | "focusRing" | "focusVisibleRing" | "focusRingColor" | "focusRingOffset" | "focusRingWidth" | "focusRingStyle" | "boxSize" | "hideFrom" | "hideBelow" | "scrollbar" | "scrollMarginX" | "scrollMarginY" | "scrollSnapStrictness" | "scrollSnapMargin" | "scrollSnapMarginTop" | "scrollSnapMarginBottom" | "scrollSnapMarginLeft" | "scrollSnapMarginRight" | "ring" | "ringColor" | "ringOffset" | "ringOffsetColor" | "ringInset" | "skewX" | "skewY" | "scaleX" | "scaleY" | "spaceXReverse" | "spaceX" | "spaceYReverse" | "spaceY" | "rotateX" | "rotateY" | "translateX" | "translateY" | "truncate" | "borderSpacingX" | "borderSpacingY" | "srOnly" | "debug" | "colorPalette" | "textStyle" | "layerStyle" | "animationStyle" | keyof import("@chakra-ui/react").PolymorphicProps> & Omit<import("@chakra-ui/react").JsxStyleProps, never> & import("@chakra-ui/react").PolymorphicProps & React.RefAttributes<HTMLDivElement>>;
8
+ //# sourceMappingURL=BottomSheetHeader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BottomSheetHeader.d.ts","sourceRoot":"","sources":["../../../src/components/BottomSheet/BottomSheetHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAK1C;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,0ucAS5B,CAAC"}
@@ -0,0 +1,19 @@
1
+ "use client";
2
+ 'use strict';
3
+
4
+ var jsxRuntime = require('react/jsx-runtime');
5
+ var React = require('react');
6
+ var BottomSheetContext = require('./BottomSheetContext.js');
7
+
8
+ /**
9
+ * The sheet's header row. Its children are rendered as the sheet's **title**
10
+ * (Ark's `Drawer.Title`), which is what the content's `aria-labelledby` points
11
+ * at — so a header is how a sheet gets its accessible name.
12
+ */
13
+ const BottomSheetHeader = React.forwardRef(({ children, ...rest }, ref) => {
14
+ return (jsxRuntime.jsx(BottomSheetContext.StyledHeader, { ref: ref, ...rest, children: jsxRuntime.jsx(BottomSheetContext.StyledTitle, { children: children }) }));
15
+ });
16
+ BottomSheetHeader.displayName = 'BottomSheetHeader';
17
+
18
+ exports.BottomSheetHeader = BottomSheetHeader;
19
+ //# sourceMappingURL=BottomSheetHeader.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BottomSheetHeader.js","sources":["../../../src/components/BottomSheet/BottomSheetHeader.tsx"],"sourcesContent":[null],"names":["forwardRef","_jsx","StyledHeader","StyledTitle"],"mappings":";;;;;;;AAKA;;;;AAIG;AACI,MAAM,iBAAiB,GAAGA,gBAAU,CAGzC,CAAC,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,GAAG,KAAI;AAC/B,IAAA,QACEC,cAAA,CAACC,+BAAY,EAAA,EAAC,GAAG,EAAE,GAAG,EAAA,GAAM,IAAI,EAAA,QAAA,EAC9BD,eAACE,8BAAW,EAAA,EAAA,QAAA,EAAE,QAAQ,EAAA,CAAe,EAAA,CACxB;AAEnB,CAAC;AAED,iBAAiB,CAAC,WAAW,GAAG,mBAAmB;;;;"}
@@ -0,0 +1,17 @@
1
+ "use client";
2
+ import { jsx } from 'react/jsx-runtime';
3
+ import { forwardRef } from 'react';
4
+ import { StyledHeader, StyledTitle } from './BottomSheetContext.mjs';
5
+
6
+ /**
7
+ * The sheet's header row. Its children are rendered as the sheet's **title**
8
+ * (Ark's `Drawer.Title`), which is what the content's `aria-labelledby` points
9
+ * at — so a header is how a sheet gets its accessible name.
10
+ */
11
+ const BottomSheetHeader = forwardRef(({ children, ...rest }, ref) => {
12
+ return (jsx(StyledHeader, { ref: ref, ...rest, children: jsx(StyledTitle, { children: children }) }));
13
+ });
14
+ BottomSheetHeader.displayName = 'BottomSheetHeader';
15
+
16
+ export { BottomSheetHeader };
17
+ //# sourceMappingURL=BottomSheetHeader.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BottomSheetHeader.mjs","sources":["../../../src/components/BottomSheet/BottomSheetHeader.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":";;;;;AAKA;;;;AAIG;AACI,MAAM,iBAAiB,GAAG,UAAU,CAGzC,CAAC,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,GAAG,KAAI;AAC/B,IAAA,QACEA,GAAA,CAAC,YAAY,EAAA,EAAC,GAAG,EAAE,GAAG,EAAA,GAAM,IAAI,EAAA,QAAA,EAC9BA,IAAC,WAAW,EAAA,EAAA,QAAA,EAAE,QAAQ,EAAA,CAAe,EAAA,CACxB;AAEnB,CAAC;AAED,iBAAiB,CAAC,WAAW,GAAG,mBAAmB;;;;"}
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ /**
3
+ * The scrim behind a modal sheet. `BottomSheet` already renders one unless
4
+ * `modal={false}`, so reach for this only to render a scrim yourself — for
5
+ * example a decorative one behind a non-modal sheet.
6
+ */
7
+ export declare const BottomSheetOverlay: React.ForwardRefExoticComponent<Omit<import("@chakra-ui/react").PatchHtmlProps<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref">>, "color" | "translate" | "transition" | "width" | "height" | "content" | "_hover" | "_active" | "_focus" | "_focusWithin" | "_focusVisible" | "_disabled" | "_visited" | "_target" | "_readOnly" | "_readWrite" | "_empty" | "_checked" | "_enabled" | "_expanded" | "_highlighted" | "_complete" | "_incomplete" | "_dragging" | "_before" | "_after" | "_firstLetter" | "_firstLine" | "_marker" | "_selection" | "_file" | "_backdrop" | "_first" | "_last" | "_notFirst" | "_notLast" | "_only" | "_even" | "_odd" | "_peerFocus" | "_peerHover" | "_peerActive" | "_peerFocusWithin" | "_peerFocusVisible" | "_peerDisabled" | "_peerChecked" | "_peerInvalid" | "_peerExpanded" | "_peerPlaceholderShown" | "_groupFocus" | "_groupHover" | "_groupActive" | "_groupFocusWithin" | "_groupFocusVisible" | "_groupDisabled" | "_groupChecked" | "_groupExpanded" | "_groupInvalid" | "_indeterminate" | "_required" | "_valid" | "_invalid" | "_autofill" | "_inRange" | "_outOfRange" | "_placeholder" | "_placeholderShown" | "_pressed" | "_selected" | "_grabbed" | "_underValue" | "_overValue" | "_atValue" | "_default" | "_optional" | "_open" | "_closed" | "_fullscreen" | "_loading" | "_hidden" | "_current" | "_currentPage" | "_currentStep" | "_today" | "_unavailable" | "_rangeStart" | "_rangeEnd" | "_now" | "_topmost" | "_motionReduce" | "_motionSafe" | "_print" | "_landscape" | "_portrait" | "_dark" | "_light" | "_osDark" | "_osLight" | "_highContrast" | "_lessContrast" | "_moreContrast" | "_ltr" | "_rtl" | "_scrollbar" | "_scrollbarThumb" | "_scrollbarTrack" | "_horizontal" | "_vertical" | "_icon" | "_starting" | "sm" | "smOnly" | "smDown" | "md" | "mdOnly" | "mdDown" | "lg" | "lgOnly" | "lgDown" | "xl" | "xlOnly" | "xlDown" | "2xl" | "2xlOnly" | "2xlDown" | "smToMd" | "smToLg" | "smToXl" | "smTo2xl" | "mdToLg" | "mdToXl" | "mdTo2xl" | "lgToXl" | "lgTo2xl" | "xlTo2xl" | "base" | "page" | "container" | "css" | "WebkitAppearance" | "WebkitBorderBefore" | "WebkitBorderBeforeColor" | "WebkitBorderBeforeStyle" | "WebkitBorderBeforeWidth" | "WebkitBoxReflect" | "WebkitLineClamp" | "WebkitMask" | "WebkitMaskAttachment" | "WebkitMaskClip" | "WebkitMaskComposite" | "WebkitMaskImage" | "WebkitMaskOrigin" | "WebkitMaskPosition" | "WebkitMaskPositionX" | "WebkitMaskPositionY" | "WebkitMaskRepeat" | "WebkitMaskRepeatX" | "WebkitMaskRepeatY" | "WebkitMaskSize" | "WebkitOverflowScrolling" | "WebkitTapHighlightColor" | "WebkitTextFillColor" | "WebkitTextStroke" | "WebkitTextStrokeColor" | "WebkitTextStrokeWidth" | "WebkitTouchCallout" | "WebkitUserModify" | "WebkitUserSelect" | "accentColor" | "alignContent" | "alignItems" | "alignSelf" | "alignTracks" | "all" | "anchorName" | "anchorScope" | "animation" | "animationComposition" | "animationDelay" | "animationDirection" | "animationDuration" | "animationFillMode" | "animationIterationCount" | "animationName" | "animationPlayState" | "animationRange" | "animationRangeEnd" | "animationRangeStart" | "animationTimeline" | "animationTimingFunction" | "appearance" | "aspectRatio" | "backdropFilter" | "backfaceVisibility" | "background" | "backgroundAttachment" | "backgroundBlendMode" | "backgroundClip" | "backgroundColor" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundPositionX" | "backgroundPositionY" | "backgroundRepeat" | "backgroundSize" | "blockSize" | "border" | "borderBlock" | "borderBlockColor" | "borderBlockEnd" | "borderBlockEndColor" | "borderBlockEndStyle" | "borderBlockEndWidth" | "borderBlockStart" | "borderBlockStartColor" | "borderBlockStartStyle" | "borderBlockStartWidth" | "borderBlockStyle" | "borderBlockWidth" | "borderBottom" | "borderBottomColor" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStyle" | "borderBottomWidth" | "borderCollapse" | "borderColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderImage" | "borderImageOutset" | "borderImageRepeat" | "borderImageSlice" | "borderImageSource" | "borderImageWidth" | "borderInline" | "borderInlineColor" | "borderInlineEnd" | "borderInlineEndColor" | "borderInlineEndStyle" | "borderInlineEndWidth" | "borderInlineStart" | "borderInlineStartColor" | "borderInlineStartStyle" | "borderInlineStartWidth" | "borderInlineStyle" | "borderInlineWidth" | "borderLeft" | "borderLeftColor" | "borderLeftStyle" | "borderLeftWidth" | "borderRadius" | "borderRight" | "borderRightColor" | "borderRightStyle" | "borderRightWidth" | "borderSpacing" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStyle" | "borderTop" | "borderTopColor" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStyle" | "borderTopWidth" | "borderWidth" | "bottom" | "boxAlign" | "boxDecorationBreak" | "boxDirection" | "boxFlex" | "boxFlexGroup" | "boxLines" | "boxOrdinalGroup" | "boxOrient" | "boxPack" | "boxShadow" | "boxSizing" | "breakAfter" | "breakBefore" | "breakInside" | "captionSide" | "caret" | "caretColor" | "caretShape" | "clear" | "clip" | "clipPath" | "clipRule" | "colorInterpolationFilters" | "colorScheme" | "columnCount" | "columnFill" | "columnGap" | "columnRule" | "columnRuleColor" | "columnRuleStyle" | "columnRuleWidth" | "columnSpan" | "columnWidth" | "columns" | "contain" | "containIntrinsicBlockSize" | "containIntrinsicHeight" | "containIntrinsicInlineSize" | "containIntrinsicSize" | "containIntrinsicWidth" | "containerName" | "containerType" | "contentVisibility" | "counterIncrement" | "counterReset" | "counterSet" | "cursor" | "cx" | "cy" | "d" | "direction" | "display" | "dominantBaseline" | "emptyCells" | "fieldSizing" | "fill" | "fillOpacity" | "fillRule" | "filter" | "flex" | "flexBasis" | "flexDirection" | "flexFlow" | "flexGrow" | "flexShrink" | "flexWrap" | "float" | "floodColor" | "floodOpacity" | "font" | "fontFamily" | "fontFeatureSettings" | "fontKerning" | "fontLanguageOverride" | "fontOpticalSizing" | "fontPalette" | "fontSize" | "fontSizeAdjust" | "fontSmooth" | "fontStretch" | "fontStyle" | "fontSynthesis" | "fontSynthesisPosition" | "fontSynthesisSmallCaps" | "fontSynthesisStyle" | "fontSynthesisWeight" | "fontVariant" | "fontVariantAlternates" | "fontVariantCaps" | "fontVariantEastAsian" | "fontVariantEmoji" | "fontVariantLigatures" | "fontVariantNumeric" | "fontVariantPosition" | "fontVariationSettings" | "fontWeight" | "forcedColorAdjust" | "gap" | "grid" | "gridArea" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridColumn" | "gridColumnEnd" | "gridColumnGap" | "gridColumnStart" | "gridGap" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridTemplate" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "hangingPunctuation" | "hyphenateCharacter" | "hyphenateLimitChars" | "hyphens" | "imageOrientation" | "imageRendering" | "imageResolution" | "imeMode" | "initialLetter" | "initialLetterAlign" | "inlineSize" | "inset" | "insetBlock" | "insetBlockEnd" | "insetBlockStart" | "insetInline" | "insetInlineEnd" | "insetInlineStart" | "interpolateSize" | "isolation" | "justifyContent" | "justifyItems" | "justifySelf" | "justifyTracks" | "left" | "letterSpacing" | "lightingColor" | "lineBreak" | "lineClamp" | "lineHeight" | "lineHeightStep" | "listStyle" | "listStyleImage" | "listStylePosition" | "listStyleType" | "margin" | "marginBlock" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginInline" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginTop" | "marginTrim" | "marker" | "markerEnd" | "markerMid" | "markerStart" | "mask" | "maskBorder" | "maskBorderMode" | "maskBorderOutset" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "maskClip" | "maskComposite" | "maskImage" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "masonryAutoFlow" | "mathDepth" | "mathShift" | "mathStyle" | "maxBlockSize" | "maxHeight" | "maxInlineSize" | "maxLines" | "maxWidth" | "minBlockSize" | "minHeight" | "minInlineSize" | "minWidth" | "mixBlendMode" | "objectFit" | "objectPosition" | "offset" | "offsetAnchor" | "offsetDistance" | "offsetPath" | "offsetPosition" | "offsetRotate" | "opacity" | "order" | "orphans" | "outline" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "overflow" | "overflowAnchor" | "overflowBlock" | "overflowClipBox" | "overflowClipMargin" | "overflowInline" | "overflowWrap" | "overflowX" | "overflowY" | "overlay" | "overscrollBehavior" | "overscrollBehaviorBlock" | "overscrollBehaviorInline" | "overscrollBehaviorX" | "overscrollBehaviorY" | "padding" | "paddingBlock" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingInline" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingTop" | "pageBreakAfter" | "pageBreakBefore" | "pageBreakInside" | "paintOrder" | "perspective" | "perspectiveOrigin" | "placeContent" | "placeItems" | "placeSelf" | "pointerEvents" | "position" | "positionAnchor" | "positionArea" | "positionTry" | "positionTryFallbacks" | "positionTryOrder" | "positionVisibility" | "printColorAdjust" | "quotes" | "r" | "resize" | "right" | "rotate" | "rowGap" | "rubyAlign" | "rubyMerge" | "rubyPosition" | "rx" | "ry" | "scale" | "scrollBehavior" | "scrollMargin" | "scrollMarginBlock" | "scrollMarginBlockEnd" | "scrollMarginBlockStart" | "scrollMarginBottom" | "scrollMarginInline" | "scrollMarginInlineEnd" | "scrollMarginInlineStart" | "scrollMarginLeft" | "scrollMarginRight" | "scrollMarginTop" | "scrollPadding" | "scrollPaddingBlock" | "scrollPaddingBlockEnd" | "scrollPaddingBlockStart" | "scrollPaddingBottom" | "scrollPaddingInline" | "scrollPaddingInlineEnd" | "scrollPaddingInlineStart" | "scrollPaddingLeft" | "scrollPaddingRight" | "scrollPaddingTop" | "scrollSnapAlign" | "scrollSnapCoordinate" | "scrollSnapDestination" | "scrollSnapPointsX" | "scrollSnapPointsY" | "scrollSnapStop" | "scrollSnapType" | "scrollSnapTypeX" | "scrollSnapTypeY" | "scrollTimeline" | "scrollTimelineAxis" | "scrollTimelineName" | "scrollbarColor" | "scrollbarGutter" | "scrollbarWidth" | "shapeImageThreshold" | "shapeMargin" | "shapeOutside" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "tabSize" | "tableLayout" | "textAlign" | "textAlignLast" | "textAnchor" | "textBox" | "textBoxEdge" | "textBoxTrim" | "textCombineUpright" | "textDecoration" | "textDecorationColor" | "textDecorationLine" | "textDecorationSkip" | "textDecorationSkipInk" | "textDecorationStyle" | "textDecorationThickness" | "textEmphasis" | "textEmphasisColor" | "textEmphasisPosition" | "textEmphasisStyle" | "textIndent" | "textJustify" | "textOrientation" | "textOverflow" | "textRendering" | "textShadow" | "textSizeAdjust" | "textSpacingTrim" | "textTransform" | "textUnderlineOffset" | "textUnderlinePosition" | "textWrap" | "textWrapMode" | "textWrapStyle" | "timelineScope" | "top" | "touchAction" | "transform" | "transformBox" | "transformOrigin" | "transformStyle" | "transitionBehavior" | "transitionDelay" | "transitionDuration" | "transitionProperty" | "transitionTimingFunction" | "unicodeBidi" | "userSelect" | "vectorEffect" | "verticalAlign" | "viewTimeline" | "viewTimelineAxis" | "viewTimelineInset" | "viewTimelineName" | "viewTransitionName" | "visibility" | "whiteSpace" | "whiteSpaceCollapse" | "widows" | "willChange" | "wordBreak" | "wordSpacing" | "wordWrap" | "writingMode" | "x" | "y" | "zIndex" | "zoom" | "alignmentBaseline" | "baselineShift" | "colorInterpolation" | "colorRendering" | "glyphOrientationVertical" | "bg" | "bgColor" | "bgSize" | "bgPos" | "bgRepeat" | "bgAttachment" | "bgClip" | "bgGradient" | "bgImg" | "bgImage" | "borderStart" | "borderEnd" | "borderX" | "borderY" | "borderStartColor" | "borderEndColor" | "borderStartStyle" | "borderEndStyle" | "rounded" | "roundedTopLeft" | "roundedStartStart" | "borderTopStartRadius" | "roundedEndStart" | "borderBottomStartRadius" | "roundedTopRight" | "roundedStartEnd" | "borderTopEndRadius" | "roundedEndEnd" | "borderBottomEndRadius" | "roundedBottomLeft" | "roundedBottomRight" | "roundedStart" | "borderStartRadius" | "roundedEnd" | "borderEndRadius" | "roundedTop" | "roundedBottom" | "roundedLeft" | "roundedRight" | "borderXWidth" | "borderStartWidth" | "borderEndWidth" | "borderYWidth" | "shadow" | "shadowColor" | "blendMode" | "bgBlendMode" | "gapY" | "gapX" | "flexDir" | "w" | "h" | "minW" | "minH" | "maxW" | "maxH" | "overscroll" | "overscrollX" | "overscrollY" | "scrollPaddingX" | "scrollPaddingY" | "listStylePos" | "listStyleImg" | "pos" | "insetX" | "insetY" | "insetStart" | "insetEnd" | "m" | "mt" | "mr" | "mb" | "ml" | "ms" | "marginStart" | "me" | "marginEnd" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "ps" | "paddingStart" | "pe" | "paddingEnd" | "px" | "paddingX" | "py" | "paddingY" | "textDecor" | "backgroundGradient" | "gradientFrom" | "gradientTo" | "gradientVia" | "borderInlineStartRadius" | "borderInlineEndRadius" | "borderTopRadius" | "borderBottomRadius" | "borderLeftRadius" | "borderRightRadius" | "divideX" | "divideY" | "divideColor" | "divideStyle" | "boxShadowColor" | "blur" | "brightness" | "contrast" | "grayscale" | "hueRotate" | "invert" | "saturate" | "sepia" | "dropShadow" | "backdropBlur" | "backdropBrightness" | "backdropContrast" | "backdropGrayscale" | "backdropHueRotate" | "backdropInvert" | "backdropOpacity" | "backdropSaturate" | "backdropSepia" | "focusRing" | "focusVisibleRing" | "focusRingColor" | "focusRingOffset" | "focusRingWidth" | "focusRingStyle" | "boxSize" | "hideFrom" | "hideBelow" | "scrollbar" | "scrollMarginX" | "scrollMarginY" | "scrollSnapStrictness" | "scrollSnapMargin" | "scrollSnapMarginTop" | "scrollSnapMarginBottom" | "scrollSnapMarginLeft" | "scrollSnapMarginRight" | "ring" | "ringColor" | "ringOffset" | "ringOffsetColor" | "ringInset" | "skewX" | "skewY" | "scaleX" | "scaleY" | "spaceXReverse" | "spaceX" | "spaceYReverse" | "spaceY" | "rotateX" | "rotateY" | "translateX" | "translateY" | "truncate" | "borderSpacingX" | "borderSpacingY" | "srOnly" | "debug" | "colorPalette" | "textStyle" | "layerStyle" | "animationStyle" | keyof import("@chakra-ui/react").PolymorphicProps> & Omit<import("@chakra-ui/react").JsxStyleProps, never> & import("@chakra-ui/react").PolymorphicProps & React.RefAttributes<HTMLDivElement>>;
8
+ //# sourceMappingURL=BottomSheetOverlay.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BottomSheetOverlay.d.ts","sourceRoot":"","sources":["../../../src/components/BottomSheet/BottomSheetOverlay.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAK1C;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,0ucAG2B,CAAC"}
@@ -0,0 +1,17 @@
1
+ "use client";
2
+ 'use strict';
3
+
4
+ var jsxRuntime = require('react/jsx-runtime');
5
+ var React = require('react');
6
+ var BottomSheetContext = require('./BottomSheetContext.js');
7
+
8
+ /**
9
+ * The scrim behind a modal sheet. `BottomSheet` already renders one unless
10
+ * `modal={false}`, so reach for this only to render a scrim yourself — for
11
+ * example a decorative one behind a non-modal sheet.
12
+ */
13
+ const BottomSheetOverlay = React.forwardRef((props, ref) => jsxRuntime.jsx(BottomSheetContext.StyledBackdrop, { ref: ref, ...props }));
14
+ BottomSheetOverlay.displayName = 'BottomSheetOverlay';
15
+
16
+ exports.BottomSheetOverlay = BottomSheetOverlay;
17
+ //# sourceMappingURL=BottomSheetOverlay.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BottomSheetOverlay.js","sources":["../../../src/components/BottomSheet/BottomSheetOverlay.tsx"],"sourcesContent":[null],"names":["forwardRef","_jsx","StyledBackdrop"],"mappings":";;;;;;;AAKA;;;;AAIG;MACU,kBAAkB,GAAGA,gBAAU,CAG1C,CAAC,KAAK,EAAE,GAAG,KAAKC,cAAA,CAACC,iCAAc,EAAA,EAAC,GAAG,EAAE,GAAG,EAAA,GAAM,KAAK,EAAA,CAAI;AAEzD,kBAAkB,CAAC,WAAW,GAAG,oBAAoB;;;;"}
@@ -0,0 +1,15 @@
1
+ "use client";
2
+ import { jsx } from 'react/jsx-runtime';
3
+ import { forwardRef } from 'react';
4
+ import { StyledBackdrop } from './BottomSheetContext.mjs';
5
+
6
+ /**
7
+ * The scrim behind a modal sheet. `BottomSheet` already renders one unless
8
+ * `modal={false}`, so reach for this only to render a scrim yourself — for
9
+ * example a decorative one behind a non-modal sheet.
10
+ */
11
+ const BottomSheetOverlay = forwardRef((props, ref) => jsx(StyledBackdrop, { ref: ref, ...props }));
12
+ BottomSheetOverlay.displayName = 'BottomSheetOverlay';
13
+
14
+ export { BottomSheetOverlay };
15
+ //# sourceMappingURL=BottomSheetOverlay.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BottomSheetOverlay.mjs","sources":["../../../src/components/BottomSheet/BottomSheetOverlay.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":";;;;;AAKA;;;;AAIG;MACU,kBAAkB,GAAG,UAAU,CAG1C,CAAC,KAAK,EAAE,GAAG,KAAKA,GAAA,CAAC,cAAc,EAAA,EAAC,GAAG,EAAE,GAAG,EAAA,GAAM,KAAK,EAAA,CAAI;AAEzD,kBAAkB,CAAC,WAAW,GAAG,oBAAoB;;;;"}
@@ -0,0 +1,11 @@
1
+ export { BottomSheet } from './BottomSheet';
2
+ export { bottomSheetAnatomy, bottomSheetSlotRecipe, } from './BottomSheet.styles';
3
+ export type { BottomSheetBodyProps, BottomSheetCloseButtonProps, BottomSheetContentProps, BottomSheetContextValue, BottomSheetFooterProps, BottomSheetHeaderProps, BottomSheetOverlayProps, BottomSheetProps, } from './BottomSheet.types';
4
+ export { BottomSheetBody } from './BottomSheetBody';
5
+ export { BottomSheetCloseButton } from './BottomSheetCloseButton';
6
+ export { BottomSheetContent } from './BottomSheetContent';
7
+ export { useBottomSheetContext } from './BottomSheetContext';
8
+ export { BottomSheetFooter } from './BottomSheetFooter';
9
+ export { BottomSheetHeader } from './BottomSheetHeader';
10
+ export { BottomSheetOverlay } from './BottomSheetOverlay';
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/BottomSheet/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EACL,kBAAkB,EAClB,qBAAqB,GACtB,MAAM,sBAAsB,CAAC;AAC9B,YAAY,EACV,oBAAoB,EACpB,2BAA2B,EAC3B,uBAAuB,EACvB,uBAAuB,EACvB,sBAAsB,EACtB,sBAAsB,EACtB,uBAAuB,EACvB,gBAAgB,GACjB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC"}
@@ -32,6 +32,7 @@ require('../../Chip/Chip.js');
32
32
  require('../../Badge/Badge.js');
33
33
  require('../../Workflow/canvas/NodeShell/NodeShell.styles.js');
34
34
  require('../../Workflow/graphObserver.js');
35
+ require('@dagrejs/dagre');
35
36
  require('../../Workflow/canvas/Canvas/Canvas.js');
36
37
 
37
38
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"CollapsibleFormSection.js","sources":["../../../../src/components/Form/FormSection/CollapsibleFormSection.tsx"],"sourcesContent":[null],"names":["_jsx","CollapsibleSection","VStack"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWA;;;;AAIG;AACI,MAAM,sBAAsB,GAAG,CAAC,EACrC,KAAK,EACL,MAAM,EACN,WAAW,GAAG,IAAI,EAClB,QAAQ,GAAG,KAAK,EAChB,GAAG,GAAG,CAAC,EACP,QAAQ,GACoB,MAC5BA,cAAA,CAACC,qCAAkB,EAAA,EACjB,KAAK,EAAE,KAAK,IAAI,EAAE,EAClB,eAAe,EAAE,WAAW,EAC5B,QAAQ,EAAE,QAAQ,EAClB,YAAY,EAAE,MAAM,EAAA,QAAA,EAEpBD,eAACE,YAAM,EAAA,EAAC,KAAK,EAAC,SAAS,EAAC,GAAG,EAAE,GAAG,EAAE,CAAC,EAAC,MAAM,EAAA,QAAA,EACvC,QAAQ,EAAA,CACF,EAAA,CACU;;;;"}
1
+ {"version":3,"file":"CollapsibleFormSection.js","sources":["../../../../src/components/Form/FormSection/CollapsibleFormSection.tsx"],"sourcesContent":[null],"names":["_jsx","CollapsibleSection","VStack"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWA;;;;AAIG;AACI,MAAM,sBAAsB,GAAG,CAAC,EACrC,KAAK,EACL,MAAM,EACN,WAAW,GAAG,IAAI,EAClB,QAAQ,GAAG,KAAK,EAChB,GAAG,GAAG,CAAC,EACP,QAAQ,GACoB,MAC5BA,cAAA,CAACC,qCAAkB,EAAA,EACjB,KAAK,EAAE,KAAK,IAAI,EAAE,EAClB,eAAe,EAAE,WAAW,EAC5B,QAAQ,EAAE,QAAQ,EAClB,YAAY,EAAE,MAAM,EAAA,QAAA,EAEpBD,eAACE,YAAM,EAAA,EAAC,KAAK,EAAC,SAAS,EAAC,GAAG,EAAE,GAAG,EAAE,CAAC,EAAC,MAAM,EAAA,QAAA,EACvC,QAAQ,EAAA,CACF,EAAA,CACU;;;;"}
@@ -30,6 +30,7 @@ import '../../Chip/Chip.mjs';
30
30
  import '../../Badge/Badge.mjs';
31
31
  import '../../Workflow/canvas/NodeShell/NodeShell.styles.mjs';
32
32
  import '../../Workflow/graphObserver.mjs';
33
+ import '@dagrejs/dagre';
33
34
  import '../../Workflow/canvas/Canvas/Canvas.mjs';
34
35
 
35
36
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"CollapsibleFormSection.mjs","sources":["../../../../src/components/Form/FormSection/CollapsibleFormSection.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWA;;;;AAIG;AACI,MAAM,sBAAsB,GAAG,CAAC,EACrC,KAAK,EACL,MAAM,EACN,WAAW,GAAG,IAAI,EAClB,QAAQ,GAAG,KAAK,EAChB,GAAG,GAAG,CAAC,EACP,QAAQ,GACoB,MAC5BA,GAAA,CAAC,kBAAkB,EAAA,EACjB,KAAK,EAAE,KAAK,IAAI,EAAE,EAClB,eAAe,EAAE,WAAW,EAC5B,QAAQ,EAAE,QAAQ,EAClB,YAAY,EAAE,MAAM,EAAA,QAAA,EAEpBA,IAAC,MAAM,EAAA,EAAC,KAAK,EAAC,SAAS,EAAC,GAAG,EAAE,GAAG,EAAE,CAAC,EAAC,MAAM,EAAA,QAAA,EACvC,QAAQ,EAAA,CACF,EAAA,CACU;;;;"}
1
+ {"version":3,"file":"CollapsibleFormSection.mjs","sources":["../../../../src/components/Form/FormSection/CollapsibleFormSection.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWA;;;;AAIG;AACI,MAAM,sBAAsB,GAAG,CAAC,EACrC,KAAK,EACL,MAAM,EACN,WAAW,GAAG,IAAI,EAClB,QAAQ,GAAG,KAAK,EAChB,GAAG,GAAG,CAAC,EACP,QAAQ,GACoB,MAC5BA,GAAA,CAAC,kBAAkB,EAAA,EACjB,KAAK,EAAE,KAAK,IAAI,EAAE,EAClB,eAAe,EAAE,WAAW,EAC5B,QAAQ,EAAE,QAAQ,EAClB,YAAY,EAAE,MAAM,EAAA,QAAA,EAEpBA,IAAC,MAAM,EAAA,EAAC,KAAK,EAAC,SAAS,EAAC,GAAG,EAAE,GAAG,EAAE,CAAC,EAAC,MAAM,EAAA,QAAA,EACvC,QAAQ,EAAA,CACF,EAAA,CACU;;;;"}
@@ -6,6 +6,6 @@ import { UseToastOptions } from './Toast.types';
6
6
  export declare const useToast: () => (({ status, title, description, styles: stylesProp, duration, ...rest }: UseToastOptions) => string) & {
7
7
  dismiss: (id?: string) => void;
8
8
  dismissAll: () => void;
9
- update: (id: string, data: Partial<import("@zag-js/toast").Props<any>>) => string;
9
+ update: (id: string, data: Partial<import("@zag-js/toast").Props<import("react").ReactNode>>) => string;
10
10
  };
11
11
  //# sourceMappingURL=useToast.d.ts.map
@@ -1,3 +1,3 @@
1
1
  import type { WorkflowProps } from './Workflow.types';
2
- export declare function Workflow({ nodeTypes: nodeTypeList, graph: controlledGraph, onGraphChange, onArrange, onHistoryNavigate, defaultGraph, issues: providedIssues, readOnly, validating, showPalette, onNodeClick, onEdgeClick, onSelectionChange, onIssuesChange, footer, children, categoryTokens, hostBridge, translate: providedTranslate, minHeight, }: WorkflowProps): import("react/jsx-runtime").JSX.Element;
2
+ export declare function Workflow({ nodeTypes: nodeTypeList, graph: controlledGraph, onGraphChange, onArrange, onHistoryNavigate, defaultGraph, issues: providedIssues, readOnly, validating, showPalette, onNodeClick, onEdgeClick, onSelectionChange, onIssuesChange, renderSelectedNodeToolbar, footer, children, categoryTokens, hostBridge, translate: providedTranslate, minHeight, }: WorkflowProps): import("react/jsx-runtime").JSX.Element;
3
3
  //# sourceMappingURL=Workflow.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Workflow.d.ts","sourceRoot":"","sources":["../../../src/components/Workflow/Workflow.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAIV,aAAa,EAEd,MAAM,kBAAkB,CAAC;AAK1B,wBAAgB,QAAQ,CAAC,EACvB,SAAS,EAAE,YAAY,EACvB,KAAK,EAAE,eAAe,EACtB,aAAa,EACb,SAAS,EACT,iBAAiB,EACjB,YAAY,EACZ,MAAM,EAAE,cAAc,EACtB,QAAgB,EAChB,UAAkB,EAClB,WAAkB,EAClB,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,cAAc,EACd,MAAM,EACN,QAAQ,EACR,cAAc,EACd,UAAU,EACV,SAAS,EAAE,iBAAiB,EAC5B,SAAmB,GACpB,EAAE,aAAa,2CAgJf"}
1
+ {"version":3,"file":"Workflow.d.ts","sourceRoot":"","sources":["../../../src/components/Workflow/Workflow.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAIV,aAAa,EAEd,MAAM,kBAAkB,CAAC;AAK1B,wBAAgB,QAAQ,CAAC,EACvB,SAAS,EAAE,YAAY,EACvB,KAAK,EAAE,eAAe,EACtB,aAAa,EACb,SAAS,EACT,iBAAiB,EACjB,YAAY,EACZ,MAAM,EAAE,cAAc,EACtB,QAAgB,EAChB,UAAkB,EAClB,WAAkB,EAClB,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,cAAc,EACd,yBAAyB,EACzB,MAAM,EACN,QAAQ,EACR,cAAc,EACd,UAAU,EACV,SAAS,EAAE,iBAAiB,EAC5B,SAAmB,GACpB,EAAE,aAAa,2CAiJf"}
@@ -13,7 +13,7 @@ var Workflow_translations = require('./Workflow.translations.json.js');
13
13
  var WorkflowContext = require('./WorkflowContext/WorkflowContext.js');
14
14
 
15
15
  const EMPTY_ISSUES = [];
16
- function Workflow({ nodeTypes: nodeTypeList, graph: controlledGraph, onGraphChange, onArrange, onHistoryNavigate, defaultGraph, issues: providedIssues, readOnly = false, validating = false, showPalette = true, onNodeClick, onEdgeClick, onSelectionChange, onIssuesChange, footer, children, categoryTokens, hostBridge, translate: providedTranslate, minHeight = '500px', }) {
16
+ function Workflow({ nodeTypes: nodeTypeList, graph: controlledGraph, onGraphChange, onArrange, onHistoryNavigate, defaultGraph, issues: providedIssues, readOnly = false, validating = false, showPalette = true, onNodeClick, onEdgeClick, onSelectionChange, onIssuesChange, renderSelectedNodeToolbar, footer, children, categoryTokens, hostBridge, translate: providedTranslate, minHeight = '500px', }) {
17
17
  const isControlled = controlledGraph !== undefined;
18
18
  // Chrome copy is host-injected so the core carries no app i18n dependency.
19
19
  // The host translator also resolves the node-type `descriptionKey`s it
@@ -102,7 +102,7 @@ function Workflow({ nodeTypes: nodeTypeList, graph: controlledGraph, onGraphChan
102
102
  React.useEffect(() => {
103
103
  observeGraph?.(graph);
104
104
  }, [graph, observeGraph]);
105
- return (jsxRuntime.jsx(WorkflowContext.WorkflowProvider, { graph: graph, dispatch: dispatch, undo: undo, redo: redo, canUndo: canUndo, canRedo: canRedo, nodeTypes: registry, translate: translate, issues: issues, onArrange: onArrange, readOnly: readOnly, onSelectionChange: onSelectionChange, validating: validating, categoryTokens: categoryTokens, hostBridge: hostBridge, children: jsxRuntime.jsxs(react.Box, { display: "flex", flexDirection: "column", height: "100%", width: "100%", minHeight: minHeight, children: [jsxRuntime.jsx(Canvas.Canvas, { showPalette: showPalette && !readOnly, onNodeClick: onNodeClick, onEdgeClick: onEdgeClick, children: children }), footer ? (jsxRuntime.jsx(react.Box, { borderTop: "1px solid", borderColor: "slate.200", bg: "bg.surface", px: 4, py: 2, children: footer })) : null] }) }));
105
+ return (jsxRuntime.jsx(WorkflowContext.WorkflowProvider, { graph: graph, dispatch: dispatch, undo: undo, redo: redo, canUndo: canUndo, canRedo: canRedo, nodeTypes: registry, translate: translate, issues: issues, onArrange: onArrange, readOnly: readOnly, onSelectionChange: onSelectionChange, validating: validating, categoryTokens: categoryTokens, hostBridge: hostBridge, children: jsxRuntime.jsxs(react.Box, { display: "flex", flexDirection: "column", height: "100%", width: "100%", minHeight: minHeight, children: [jsxRuntime.jsx(Canvas.Canvas, { showPalette: showPalette && !readOnly, onNodeClick: onNodeClick, onEdgeClick: onEdgeClick, renderSelectedNodeToolbar: renderSelectedNodeToolbar, children: children }), footer ? (jsxRuntime.jsx(react.Box, { borderTop: "1px solid", borderColor: "slate.200", bg: "bg.surface", px: 4, py: 2, children: footer })) : null] }) }));
106
106
  }
107
107
 
108
108
  exports.Workflow = Workflow;
@@ -1 +1 @@
1
- {"version":3,"file":"Workflow.js","sources":["../../../src/components/Workflow/Workflow.tsx"],"sourcesContent":[null],"names":["useTranslate","WorkflowTranslations","useReducer","historyReducer","emptyGraph","initHistory","useRef","useCallback","useEffect","useMemo","useWorkflowGraphObserver","_jsx","WorkflowProvider","_jsxs","Box","Canvas"],"mappings":";;;;;;;;;;;;;;AAqBA,MAAM,YAAY,GAAY,EAAE;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W,EAAE,WAAW,EACxB,WAAW,EAAE,WAAW,EAAA,QAAA,EAEvB,QAAQ,EAAA,CACF,EACR,MAAM,IACLJ,cAAA,CAACG,SAAG,EAAA,EACF,SAAS,EAAC,WAAW,EACrB,WAAW,EAAC,WAAW,EACvB,EAAE,EAAC,YAAY,EACf,EAAE,EAAE,CAAC,EACL,EAAE,EAAE,CAAC,YAEJ,MAAM,EAAA,CACH,IACJ,IAAI,CAAA,EAAA,CACJ,EAAA,CACW;AAEvB;;;;"}
1
+ {"version":3,"file":"Workflow.js","sources":["../../../src/components/Workflow/Workflow.tsx"],"sourcesContent":[null],"names":["useTranslate","WorkflowTranslations","useReducer","historyReducer","emptyGraph","initHistory","useRef","useCallback","useEffect","useMemo","useWorkflowGraphObserver","_jsx","WorkflowProvider","_jsxs","Box","Canvas"],"mappings":";;;;;;;;;;;;;;AAqBA,MAAM,YAAY,GAAY,EAAE;AAE1B,SAAU,QAAQ,CAAC,EACvB,SAAS,EAAE,YAAY,EACvB,KAAK,EAAE,eAAe,EACtB,aAAa,EACb,SAAS,EACT,iBAAiB,EACjB,YAAY,EACZ,MAAM,EAAE,cAAc,EACtB,QAAQ,GAAG,KAAK,EAChB,UAAU,GAAG,KAAK,EAClB,WAAW,GAAG,IAAI,EAClB,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,cAAc,EACd,yBAAyB,EACzB,MAAM,EACN,QAAQ,EACR,cAAc,EACd,UAAU,EACV,SAAS,EAAE,iBAAiB,EAC5B,SAAS,GAAG,OAAO,GACL,EAAA;AACd,IAAA,MAAM,YAAY,GAAG,eAAe,KAAK,SAAS;;;;AAKlD,IAAA,MAAM,iBAAiB,GAAGA,yBAAY,CACpCC,6BAAoB,CACA;AACtB,IAAA,MAAM,SAAS,GAAG,iBAAiB,IAAI,iBAAiB;;;;;;;AAQxD,IAAA,MAAM,CAAC,OAAO,EAAE,QAAQ,CAAC,GAAGC,gBAAU,CACpCC,2BAAc,EACd,eAAe,IAAI,YAAY,IAAI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IAAI,EAAE,IAAI,EACV,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,QAAQ,EACnB,SAAS,EAAE,SAAS,EACpB,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,QAAQ,EAClB,iBAAiB,EAAE,iBAAiB,EACpC,UAAU,EAAE,UAAU,EACtB,cAAc,EAAE,cAAc,EAC9B,UAAU,EAAE,UAAU,EAAA,QAAA,EAEtBC,eAAA,CAACC,SAAG,EAAA,EACF,OAAO,EAAC,MAAM,EACd,aAAa,EAAC,QAAQ,EACtB,MAAM,EAAC,MAAM,EACb,KAAK,EAAC,MAAM,EACZ,SAAS,EAAE,SAAS,aAEpBH,cAAA,CAACI,aAAM,EAAA,EACL,WAAW,EAAE,WAAW,IAAI,CAAC,QAAQ,EACrC,WAAW,EAAE,WAAW,EACxB,WAAW,EAAE,WAAW,EACxB,yBAAyB,EAAE,yBAAyB,EAAA,QAAA,EAEnD,QAAQ,GACF,EACR,MAAM,IACLJ,cAAA,CAACG,SAAG,IACF,SAAS,EAAC,WAAW,EACrB,WAAW,EAAC,WAAW,EACvB,EAAE,EAAC,YAAY,EACf,EAAE,EAAE,CAAC,EACL,EAAE,EAAE,CAAC,YAEJ,MAAM,EAAA,CACH,IACJ,IAAI,CAAA,EAAA,CACJ,EAAA,CACW;AAEvB;;;;"}
@@ -11,7 +11,7 @@ import WorkflowTranslations from './Workflow.translations.json.mjs';
11
11
  import { WorkflowProvider } from './WorkflowContext/WorkflowContext.mjs';
12
12
 
13
13
  const EMPTY_ISSUES = [];
14
- function Workflow({ nodeTypes: nodeTypeList, graph: controlledGraph, onGraphChange, onArrange, onHistoryNavigate, defaultGraph, issues: providedIssues, readOnly = false, validating = false, showPalette = true, onNodeClick, onEdgeClick, onSelectionChange, onIssuesChange, footer, children, categoryTokens, hostBridge, translate: providedTranslate, minHeight = '500px', }) {
14
+ function Workflow({ nodeTypes: nodeTypeList, graph: controlledGraph, onGraphChange, onArrange, onHistoryNavigate, defaultGraph, issues: providedIssues, readOnly = false, validating = false, showPalette = true, onNodeClick, onEdgeClick, onSelectionChange, onIssuesChange, renderSelectedNodeToolbar, footer, children, categoryTokens, hostBridge, translate: providedTranslate, minHeight = '500px', }) {
15
15
  const isControlled = controlledGraph !== undefined;
16
16
  // Chrome copy is host-injected so the core carries no app i18n dependency.
17
17
  // The host translator also resolves the node-type `descriptionKey`s it
@@ -100,7 +100,7 @@ function Workflow({ nodeTypes: nodeTypeList, graph: controlledGraph, onGraphChan
100
100
  useEffect(() => {
101
101
  observeGraph?.(graph);
102
102
  }, [graph, observeGraph]);
103
- return (jsx(WorkflowProvider, { graph: graph, dispatch: dispatch, undo: undo, redo: redo, canUndo: canUndo, canRedo: canRedo, nodeTypes: registry, translate: translate, issues: issues, onArrange: onArrange, readOnly: readOnly, onSelectionChange: onSelectionChange, validating: validating, categoryTokens: categoryTokens, hostBridge: hostBridge, children: jsxs(Box, { display: "flex", flexDirection: "column", height: "100%", width: "100%", minHeight: minHeight, children: [jsx(Canvas, { showPalette: showPalette && !readOnly, onNodeClick: onNodeClick, onEdgeClick: onEdgeClick, children: children }), footer ? (jsx(Box, { borderTop: "1px solid", borderColor: "slate.200", bg: "bg.surface", px: 4, py: 2, children: footer })) : null] }) }));
103
+ return (jsx(WorkflowProvider, { graph: graph, dispatch: dispatch, undo: undo, redo: redo, canUndo: canUndo, canRedo: canRedo, nodeTypes: registry, translate: translate, issues: issues, onArrange: onArrange, readOnly: readOnly, onSelectionChange: onSelectionChange, validating: validating, categoryTokens: categoryTokens, hostBridge: hostBridge, children: jsxs(Box, { display: "flex", flexDirection: "column", height: "100%", width: "100%", minHeight: minHeight, children: [jsx(Canvas, { showPalette: showPalette && !readOnly, onNodeClick: onNodeClick, onEdgeClick: onEdgeClick, renderSelectedNodeToolbar: renderSelectedNodeToolbar, children: children }), footer ? (jsx(Box, { borderTop: "1px solid", borderColor: "slate.200", bg: "bg.surface", px: 4, py: 2, children: footer })) : null] }) }));
104
104
  }
105
105
 
106
106
  export { Workflow };
@@ -1 +1 @@
1
- {"version":3,"file":"Workflow.mjs","sources":["../../../src/components/Workflow/Workflow.tsx"],"sourcesContent":[null],"names":["_jsx","_jsxs"],"mappings":";;;;;;;;;;;;AAqBA,MAAM,YAAY,GAAY,EAAE;AAE1B,SAAU,QAAQ,CAAC,EACvB,SAAS,EAAE,YAAY,EACvB,KAAK,EAAE,eAAe,EACtB,aAAa,EACb,SAAS,EACT,iBAAiB,EACjB,YAAY,EACZ,MAAM,EAAE,cAAc,EACtB,QAAQ,GAAG,KAAK,EAChB,UAAU,GAAG,KAAK,EAClB,WAAW,GAAG,IAAI,EAClB,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,cAAc,EACd,MAAM,EACN,QAAQ,EACR,cAAc,EACd,UAAU,EACV,SAAS,EAAE,iBAAiB,EAC5B,SAAS,GAAG,OAAO,GACL,EAAA;AACd,IAAA,MAAM,YAAY,GAAG,eAAe,KAAK,SAAS;;;;AAKlD,IAAA,MAAM,iBAAiB,GAAG,YAAY,CACpC,oBAAoB,CACA;AACtB,IAAA,MAAM,SAAS,GAAG,iBAAiB,IAAI,iBAAiB;;;;;;;AAQxD,IAAA,MAAM,CAAC,OAAO,EAAE,QAAQ,CAAC,GAAG,UAAU,CACpC,cAAc,EACd,eAAe,IAAI,YAAY,IAAI,UAAU,EAC7C,WAAW,CACZ;AACD,IAAA,MAAM,KAAK,GAAG,OAAO,CAAC,OAAO;IAE7B,MAAM,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,MAAM,GAAG,CAAC;IACvC,MAAM,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC;;;;;;;AAQzC,IAAA,MAAM,oBAAoB,GAAG,MAAM,CAAC,KAAK,CAAC;AAC1C,IAAA,MAAM,IAAI,GAAG,WAAW,CAAC,MAAK;AAC5B,QAAA,IAAI,CAAC,OAAO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C,MAAM,EACd,aAAa,EAAC,QAAQ,EACtB,MAAM,EAAC,MAAM,EACb,KAAK,EAAC,MAAM,EACZ,SAAS,EAAE,SAAS,EAAA,QAAA,EAAA,CAEpBD,GAAA,CAAC,MAAM,EAAA,EACL,WAAW,EAAE,WAAW,IAAI,CAAC,QAAQ,EACrC,WAAW,EAAE,WAAW,EACxB,WAAW,EAAE,WAAW,EAAA,QAAA,EAEvB,QAAQ,EAAA,CACF,EACR,MAAM,IACLA,GAAA,CAAC,GAAG,EAAA,EACF,SAAS,EAAC,WAAW,EACrB,WAAW,EAAC,WAAW,EACvB,EAAE,EAAC,YAAY,EACf,EAAE,EAAE,CAAC,EACL,EAAE,EAAE,CAAC,YAEJ,MAAM,EAAA,CACH,IACJ,IAAI,CAAA,EAAA,CACJ,EAAA,CACW;AAEvB;;;;"}
1
+ {"version":3,"file":"Workflow.mjs","sources":["../../../src/components/Workflow/Workflow.tsx"],"sourcesContent":[null],"names":["_jsx","_jsxs"],"mappings":";;;;;;;;;;;;AAqBA,MAAM,YAAY,GAAY,EAAE;AAE1B,SAAU,QAAQ,CAAC,EACvB,SAAS,EAAE,YAAY,EACvB,KAAK,EAAE,eAAe,EACtB,aAAa,EACb,SAAS,EACT,iBAAiB,EACjB,YAAY,EACZ,MAAM,EAAE,cAAc,EACtB,QAAQ,GAAG,KAAK,EAChB,UAAU,GAAG,KAAK,EAClB,WAAW,GAAG,IAAI,EAClB,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,cAAc,EACd,yBAAyB,EACzB,MAAM,EACN,QAAQ,EACR,cAAc,EACd,UAAU,EACV,SAAS,EAAE,iBAAiB,EAC5B,SAAS,GAAG,OAAO,GACL,EAAA;AACd,IAAA,MAAM,YAAY,GAAG,eAAe,KAAK,SAAS;;;;AAKlD,IAAA,MAAM,iBAAiB,GAAG,YAAY,CACpC,oBAAoB,CACA;AACtB,IAAA,MAAM,SAAS,GAAG,iBAAiB,IAAI,iBAAiB;;;;;;;AAQxD,IAAA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