@seed-design/react 1.1.16 → 1.2.0

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 (189) hide show
  1. package/lib/components/AspectRatio/AspectRatio.cjs +53 -0
  2. package/lib/components/AspectRatio/AspectRatio.d.ts +11 -0
  3. package/lib/components/AspectRatio/AspectRatio.d.ts.map +1 -0
  4. package/lib/components/AspectRatio/AspectRatio.js +30 -0
  5. package/lib/components/AspectRatio/index.cjs +9 -0
  6. package/lib/components/AspectRatio/index.d.ts +2 -0
  7. package/lib/components/AspectRatio/index.d.ts.map +1 -0
  8. package/lib/components/AspectRatio/index.js +1 -0
  9. package/lib/components/Avatar/Avatar.cjs +4 -10
  10. package/lib/components/Avatar/Avatar.d.ts +4 -4
  11. package/lib/components/Avatar/Avatar.d.ts.map +1 -1
  12. package/lib/components/Avatar/Avatar.js +4 -10
  13. package/lib/components/Checkbox/Checkbox.cjs +10 -0
  14. package/lib/components/Checkbox/Checkbox.d.ts +4 -0
  15. package/lib/components/Checkbox/Checkbox.d.ts.map +1 -1
  16. package/lib/components/Checkbox/Checkbox.js +10 -1
  17. package/lib/components/Checkbox/Checkbox.namespace.cjs +1 -0
  18. package/lib/components/Checkbox/Checkbox.namespace.d.ts +1 -1
  19. package/lib/components/Checkbox/Checkbox.namespace.d.ts.map +1 -1
  20. package/lib/components/Checkbox/Checkbox.namespace.js +1 -1
  21. package/lib/components/Checkbox/index.cjs +1 -0
  22. package/lib/components/Checkbox/index.d.ts +1 -1
  23. package/lib/components/Checkbox/index.d.ts.map +1 -1
  24. package/lib/components/Checkbox/index.js +1 -1
  25. package/lib/components/ChipTabs/ChipTabs.cjs +23 -4
  26. package/lib/components/ChipTabs/ChipTabs.d.ts.map +1 -1
  27. package/lib/components/ChipTabs/ChipTabs.js +23 -4
  28. package/lib/components/Dialog/Dialog.d.ts.map +1 -1
  29. package/lib/components/Fieldset/Fieldset.cjs +86 -0
  30. package/lib/components/Fieldset/Fieldset.d.ts +30 -0
  31. package/lib/components/Fieldset/Fieldset.d.ts.map +1 -0
  32. package/lib/components/Fieldset/Fieldset.js +75 -0
  33. package/lib/components/Fieldset/Fieldset.namespace.cjs +16 -0
  34. package/lib/components/Fieldset/Fieldset.namespace.d.ts +2 -0
  35. package/lib/components/Fieldset/Fieldset.namespace.d.ts.map +1 -0
  36. package/lib/components/Fieldset/Fieldset.namespace.js +1 -0
  37. package/lib/components/Fieldset/index.cjs +18 -0
  38. package/lib/components/Fieldset/index.d.ts +3 -0
  39. package/lib/components/Fieldset/index.d.ts.map +1 -0
  40. package/lib/components/Fieldset/index.js +3 -0
  41. package/lib/components/Grid/Grid.cjs +56 -0
  42. package/lib/components/Grid/Grid.d.ts +41 -0
  43. package/lib/components/Grid/Grid.d.ts.map +1 -0
  44. package/lib/components/Grid/Grid.js +33 -0
  45. package/lib/components/Grid/index.cjs +9 -0
  46. package/lib/components/Grid/index.d.ts +2 -0
  47. package/lib/components/Grid/index.d.ts.map +1 -0
  48. package/lib/components/Grid/index.js +1 -0
  49. package/lib/components/GridItem/GridItem.cjs +45 -0
  50. package/lib/components/GridItem/GridItem.d.ts +35 -0
  51. package/lib/components/GridItem/GridItem.d.ts.map +1 -0
  52. package/lib/components/GridItem/GridItem.js +22 -0
  53. package/lib/components/GridItem/index.cjs +9 -0
  54. package/lib/components/GridItem/index.d.ts +2 -0
  55. package/lib/components/GridItem/index.d.ts.map +1 -0
  56. package/lib/components/GridItem/index.js +1 -0
  57. package/lib/components/HelpBubble/HelpBubble.cjs +5 -0
  58. package/lib/components/HelpBubble/HelpBubble.d.ts +3 -0
  59. package/lib/components/HelpBubble/HelpBubble.d.ts.map +1 -1
  60. package/lib/components/HelpBubble/HelpBubble.js +5 -1
  61. package/lib/components/HelpBubble/HelpBubble.namespace.cjs +1 -0
  62. package/lib/components/HelpBubble/HelpBubble.namespace.d.ts +1 -1
  63. package/lib/components/HelpBubble/HelpBubble.namespace.d.ts.map +1 -1
  64. package/lib/components/HelpBubble/HelpBubble.namespace.js +1 -1
  65. package/lib/components/HelpBubble/index.cjs +1 -0
  66. package/lib/components/HelpBubble/index.d.ts +1 -1
  67. package/lib/components/HelpBubble/index.d.ts.map +1 -1
  68. package/lib/components/HelpBubble/index.js +1 -1
  69. package/lib/components/ImageFrame/ImageFrame.cjs +157 -0
  70. package/lib/components/ImageFrame/ImageFrame.d.ts +51 -0
  71. package/lib/components/ImageFrame/ImageFrame.d.ts.map +1 -0
  72. package/lib/components/ImageFrame/ImageFrame.js +129 -0
  73. package/lib/components/ImageFrame/index.cjs +14 -0
  74. package/lib/components/ImageFrame/index.d.ts +2 -0
  75. package/lib/components/ImageFrame/index.d.ts.map +1 -0
  76. package/lib/components/ImageFrame/index.js +1 -0
  77. package/lib/components/MenuSheet/MenuSheet.cjs +60 -24
  78. package/lib/components/MenuSheet/MenuSheet.d.ts +12 -0
  79. package/lib/components/MenuSheet/MenuSheet.d.ts.map +1 -1
  80. package/lib/components/MenuSheet/MenuSheet.js +57 -25
  81. package/lib/components/MenuSheet/MenuSheet.namespace.cjs +4 -0
  82. package/lib/components/MenuSheet/MenuSheet.namespace.d.ts +1 -1
  83. package/lib/components/MenuSheet/MenuSheet.namespace.d.ts.map +1 -1
  84. package/lib/components/MenuSheet/MenuSheet.namespace.js +1 -1
  85. package/lib/components/MenuSheet/index.cjs +4 -0
  86. package/lib/components/MenuSheet/index.d.ts +1 -1
  87. package/lib/components/MenuSheet/index.d.ts.map +1 -1
  88. package/lib/components/MenuSheet/index.js +1 -1
  89. package/lib/components/RadioGroup/RadioGroup.cjs +4 -1
  90. package/lib/components/RadioGroup/RadioGroup.d.ts +3 -2
  91. package/lib/components/RadioGroup/RadioGroup.d.ts.map +1 -1
  92. package/lib/components/RadioGroup/RadioGroup.js +4 -1
  93. package/lib/components/RadioGroupField/RadioGroupField.cjs +79 -0
  94. package/lib/components/RadioGroupField/RadioGroupField.d.ts +30 -0
  95. package/lib/components/RadioGroupField/RadioGroupField.d.ts.map +1 -0
  96. package/lib/components/RadioGroupField/RadioGroupField.js +68 -0
  97. package/lib/components/RadioGroupField/RadioGroupField.namespace.cjs +16 -0
  98. package/lib/components/RadioGroupField/RadioGroupField.namespace.d.ts +2 -0
  99. package/lib/components/RadioGroupField/RadioGroupField.namespace.d.ts.map +1 -0
  100. package/lib/components/RadioGroupField/RadioGroupField.namespace.js +1 -0
  101. package/lib/components/RadioGroupField/index.cjs +18 -0
  102. package/lib/components/RadioGroupField/index.d.ts +3 -0
  103. package/lib/components/RadioGroupField/index.d.ts.map +1 -0
  104. package/lib/components/RadioGroupField/index.js +3 -0
  105. package/lib/components/SelectBox/CheckSelectBox.cjs +117 -8
  106. package/lib/components/SelectBox/CheckSelectBox.d.ts +38 -10
  107. package/lib/components/SelectBox/CheckSelectBox.d.ts.map +1 -1
  108. package/lib/components/SelectBox/CheckSelectBox.js +113 -10
  109. package/lib/components/SelectBox/CheckSelectBox.namespace.cjs +6 -0
  110. package/lib/components/SelectBox/CheckSelectBox.namespace.d.ts +1 -1
  111. package/lib/components/SelectBox/CheckSelectBox.namespace.d.ts.map +1 -1
  112. package/lib/components/SelectBox/CheckSelectBox.namespace.js +1 -1
  113. package/lib/components/SelectBox/RadioSelectBox.cjs +112 -9
  114. package/lib/components/SelectBox/RadioSelectBox.d.ts +31 -7
  115. package/lib/components/SelectBox/RadioSelectBox.d.ts.map +1 -1
  116. package/lib/components/SelectBox/RadioSelectBox.js +109 -10
  117. package/lib/components/SelectBox/RadioSelectBox.namespace.cjs +5 -1
  118. package/lib/components/SelectBox/RadioSelectBox.namespace.d.ts +1 -1
  119. package/lib/components/SelectBox/RadioSelectBox.namespace.d.ts.map +1 -1
  120. package/lib/components/SelectBox/RadioSelectBox.namespace.js +1 -1
  121. package/lib/components/SelectBox/index.cjs +11 -1
  122. package/lib/components/SelectBox/index.d.ts +2 -2
  123. package/lib/components/SelectBox/index.d.ts.map +1 -1
  124. package/lib/components/SelectBox/index.js +2 -2
  125. package/lib/components/Switch/Switch.cjs +10 -5
  126. package/lib/components/Switch/Switch.d.ts +3 -3
  127. package/lib/components/Switch/Switch.d.ts.map +1 -1
  128. package/lib/components/Switch/Switch.js +10 -5
  129. package/lib/components/TagGroup/TagGroup.cjs +25 -9
  130. package/lib/components/TagGroup/TagGroup.d.ts +5 -1
  131. package/lib/components/TagGroup/TagGroup.d.ts.map +1 -1
  132. package/lib/components/TagGroup/TagGroup.js +25 -10
  133. package/lib/components/TagGroup/TagGroup.namespace.cjs +1 -0
  134. package/lib/components/TagGroup/TagGroup.namespace.d.ts +1 -1
  135. package/lib/components/TagGroup/TagGroup.namespace.d.ts.map +1 -1
  136. package/lib/components/TagGroup/TagGroup.namespace.js +1 -1
  137. package/lib/components/TagGroup/index.cjs +1 -0
  138. package/lib/components/TagGroup/index.d.ts +1 -1
  139. package/lib/components/TagGroup/index.d.ts.map +1 -1
  140. package/lib/components/TagGroup/index.js +1 -1
  141. package/lib/components/index.cjs +53 -1
  142. package/lib/components/index.d.ts +6 -0
  143. package/lib/components/index.d.ts.map +1 -1
  144. package/lib/components/index.js +16 -6
  145. package/lib/index.cjs +53 -1
  146. package/lib/index.js +16 -6
  147. package/lib/utils/styled.cjs +11 -5
  148. package/lib/utils/styled.d.ts +6 -0
  149. package/lib/utils/styled.d.ts.map +1 -1
  150. package/lib/utils/styled.js +11 -5
  151. package/package.json +6 -3
  152. package/src/components/AspectRatio/AspectRatio.tsx +38 -0
  153. package/src/components/AspectRatio/index.ts +1 -0
  154. package/src/components/Avatar/Avatar.tsx +7 -14
  155. package/src/components/Checkbox/Checkbox.namespace.ts +2 -0
  156. package/src/components/Checkbox/Checkbox.tsx +24 -0
  157. package/src/components/Checkbox/index.ts +2 -0
  158. package/src/components/ChipTabs/ChipTabs.tsx +25 -4
  159. package/src/components/Dialog/Dialog.tsx +6 -0
  160. package/src/components/Fieldset/Fieldset.namespace.ts +17 -0
  161. package/src/components/Fieldset/Fieldset.tsx +101 -0
  162. package/src/components/Fieldset/index.ts +19 -0
  163. package/src/components/Grid/Grid.tsx +79 -0
  164. package/src/components/Grid/index.ts +1 -0
  165. package/src/components/GridItem/GridItem.tsx +70 -0
  166. package/src/components/GridItem/index.ts +1 -0
  167. package/src/components/HelpBubble/HelpBubble.namespace.ts +3 -0
  168. package/src/components/HelpBubble/HelpBubble.tsx +7 -2
  169. package/src/components/HelpBubble/index.ts +2 -0
  170. package/src/components/ImageFrame/ImageFrame.tsx +227 -0
  171. package/src/components/ImageFrame/index.ts +14 -0
  172. package/src/components/MenuSheet/MenuSheet.namespace.ts +8 -0
  173. package/src/components/MenuSheet/MenuSheet.tsx +82 -34
  174. package/src/components/MenuSheet/index.ts +8 -0
  175. package/src/components/RadioGroup/RadioGroup.tsx +8 -2
  176. package/src/components/RadioGroupField/RadioGroupField.namespace.ts +18 -0
  177. package/src/components/RadioGroupField/RadioGroupField.tsx +114 -0
  178. package/src/components/RadioGroupField/index.ts +2 -0
  179. package/src/components/SelectBox/CheckSelectBox.namespace.ts +12 -0
  180. package/src/components/SelectBox/CheckSelectBox.tsx +229 -24
  181. package/src/components/SelectBox/RadioSelectBox.namespace.ts +10 -2
  182. package/src/components/SelectBox/RadioSelectBox.tsx +210 -16
  183. package/src/components/SelectBox/index.ts +22 -2
  184. package/src/components/Switch/Switch.tsx +16 -7
  185. package/src/components/TagGroup/TagGroup.namespace.ts +2 -0
  186. package/src/components/TagGroup/TagGroup.tsx +33 -9
  187. package/src/components/TagGroup/index.ts +2 -0
  188. package/src/components/index.ts +6 -0
  189. package/src/utils/styled.tsx +23 -5
@@ -0,0 +1,75 @@
1
+ 'use client';
2
+ import { jsx } from 'react/jsx-runtime';
3
+ import { Primitive } from '@seed-design/react-primitive';
4
+ import { forwardRef } from 'react';
5
+ import { createSlotRecipeContext } from '../../utils/createSlotRecipeContext.js';
6
+ import { field } from '@seed-design/css/recipes/field';
7
+ import { fieldLabel } from '@seed-design/css/recipes/field-label';
8
+ import { Fieldset } from '@seed-design/react-fieldset';
9
+ import { InternalIcon } from '../private/Icon.js';
10
+ import clsx from 'clsx';
11
+
12
+ const { withProvider, withContext } = createSlotRecipeContext(field);
13
+ const {
14
+ withContext: withLabelContext,
15
+ withProvider: withLabelProvider,
16
+ useClassNames: useLabelClassNames
17
+ } = createSlotRecipeContext(fieldLabel);
18
+ const FieldsetRoot = withProvider(Fieldset.Root, "root");
19
+ const FieldsetHeader = withContext(
20
+ Primitive.div,
21
+ "header"
22
+ );
23
+ const FieldsetLabel = withLabelProvider(
24
+ Fieldset.Label,
25
+ "root"
26
+ );
27
+ const FieldsetIndicatorText = withLabelContext(
28
+ Primitive.span,
29
+ "indicatorText"
30
+ );
31
+ const FieldsetRequiredIndicator = forwardRef(
32
+ ({ className, ...props }, ref) => {
33
+ const { indicatorIcon } = useLabelClassNames();
34
+ return /* @__PURE__ */ jsx(
35
+ InternalIcon,
36
+ {
37
+ svg: (
38
+ // biome-ignore lint/a11y/noSvgWithoutTitle: InternalIcon is aria-hidden
39
+ /* @__PURE__ */ jsx(
40
+ "svg",
41
+ {
42
+ viewBox: "0 0 6 6",
43
+ fill: "none",
44
+ xmlns: "http://www.w3.org/2000/svg",
45
+ className: clsx(indicatorIcon, className),
46
+ children: /* @__PURE__ */ jsx(
47
+ "path",
48
+ {
49
+ d: "M3.75002 1.55859L4.41318 1.09468C4.75243 0.857361 5.21982 0.939865 5.45732 1.27899C5.69499 1.61836 5.61243 2.08615 5.27295 2.32366L4.30763 2.99902L5.27372 3.67612C5.61285 3.91381 5.69517 4.38137 5.45761 4.72059C5.21999 5.0599 4.7523 5.14233 4.41299 4.90471L3.75002 4.44043V5.25C3.75002 5.66421 3.41423 6 3.00002 6C2.5858 6 2.25002 5.66421 2.25002 5.25V4.44043L1.58704 4.90471C1.24773 5.14233 0.780041 5.0599 0.542418 4.72059C0.304856 4.38137 0.387176 3.91381 0.726309 3.67612L1.6924 2.99902L0.727079 2.32366C0.387603 2.08615 0.305043 1.61836 0.542707 1.27899C0.780206 0.939865 1.2476 0.857361 1.58685 1.09468L2.25002 1.55859V0.75C2.25002 0.335786 2.5858 0 3.00002 0C3.41423 0 3.75002 0.335786 3.75002 0.75V1.55859Z",
50
+ fill: "currentColor"
51
+ }
52
+ )
53
+ }
54
+ )
55
+ ),
56
+ ref,
57
+ ...props
58
+ }
59
+ );
60
+ }
61
+ );
62
+ const FieldsetFooter = withContext(
63
+ Primitive.div,
64
+ "footer"
65
+ );
66
+ const FieldsetDescription = withContext(
67
+ Fieldset.Description,
68
+ "description"
69
+ );
70
+ const FieldsetErrorMessage = withContext(
71
+ Fieldset.ErrorMessage,
72
+ "errorMessage"
73
+ );
74
+
75
+ export { FieldsetDescription, FieldsetErrorMessage, FieldsetFooter, FieldsetHeader, FieldsetIndicatorText, FieldsetLabel, FieldsetRequiredIndicator, FieldsetRoot };
@@ -0,0 +1,16 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
+
5
+ const Fieldset = require('./Fieldset.cjs');
6
+
7
+
8
+
9
+ exports.Description = Fieldset.FieldsetDescription;
10
+ exports.ErrorMessage = Fieldset.FieldsetErrorMessage;
11
+ exports.Footer = Fieldset.FieldsetFooter;
12
+ exports.Header = Fieldset.FieldsetHeader;
13
+ exports.IndicatorText = Fieldset.FieldsetIndicatorText;
14
+ exports.Label = Fieldset.FieldsetLabel;
15
+ exports.RequiredIndicator = Fieldset.FieldsetRequiredIndicator;
16
+ exports.Root = Fieldset.FieldsetRoot;
@@ -0,0 +1,2 @@
1
+ export { FieldsetRoot as Root, FieldsetHeader as Header, FieldsetLabel as Label, FieldsetIndicatorText as IndicatorText, FieldsetRequiredIndicator as RequiredIndicator, FieldsetFooter as Footer, FieldsetDescription as Description, FieldsetErrorMessage as ErrorMessage, type FieldsetRootProps as RootProps, type FieldsetHeaderProps as HeaderProps, type FieldsetLabelProps as LabelProps, type FieldsetIndicatorTextProps as IndicatorTextProps, type FieldsetFooterProps as FooterProps, type FieldsetDescriptionProps as DescriptionProps, type FieldsetErrorMessageProps as ErrorMessageProps, } from './Fieldset';
2
+ //# sourceMappingURL=Fieldset.namespace.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Fieldset.namespace.d.ts","sourceRoot":"","sources":["../../../src/components/Fieldset/Fieldset.namespace.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,IAAI,IAAI,EACpB,cAAc,IAAI,MAAM,EACxB,aAAa,IAAI,KAAK,EACtB,qBAAqB,IAAI,aAAa,EACtC,yBAAyB,IAAI,iBAAiB,EAC9C,cAAc,IAAI,MAAM,EACxB,mBAAmB,IAAI,WAAW,EAClC,oBAAoB,IAAI,YAAY,EACpC,KAAK,iBAAiB,IAAI,SAAS,EACnC,KAAK,mBAAmB,IAAI,WAAW,EACvC,KAAK,kBAAkB,IAAI,UAAU,EACrC,KAAK,0BAA0B,IAAI,kBAAkB,EACrD,KAAK,mBAAmB,IAAI,WAAW,EACvC,KAAK,wBAAwB,IAAI,gBAAgB,EACjD,KAAK,yBAAyB,IAAI,iBAAiB,GACpD,MAAM,YAAY,CAAC"}
@@ -0,0 +1 @@
1
+ export { FieldsetDescription as Description, FieldsetErrorMessage as ErrorMessage, FieldsetFooter as Footer, FieldsetHeader as Header, FieldsetIndicatorText as IndicatorText, FieldsetLabel as Label, FieldsetRequiredIndicator as RequiredIndicator, FieldsetRoot as Root } from './Fieldset.js';
@@ -0,0 +1,18 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
+
5
+ const Fieldset = require('./Fieldset.cjs');
6
+ const Fieldset_namespace = require('./Fieldset.namespace.cjs');
7
+
8
+
9
+
10
+ exports.FieldsetDescription = Fieldset.FieldsetDescription;
11
+ exports.FieldsetErrorMessage = Fieldset.FieldsetErrorMessage;
12
+ exports.FieldsetFooter = Fieldset.FieldsetFooter;
13
+ exports.FieldsetHeader = Fieldset.FieldsetHeader;
14
+ exports.FieldsetIndicatorText = Fieldset.FieldsetIndicatorText;
15
+ exports.FieldsetLabel = Fieldset.FieldsetLabel;
16
+ exports.FieldsetRequiredIndicator = Fieldset.FieldsetRequiredIndicator;
17
+ exports.FieldsetRoot = Fieldset.FieldsetRoot;
18
+ exports.Fieldset = Fieldset_namespace;
@@ -0,0 +1,3 @@
1
+ export { FieldsetRoot, FieldsetHeader, FieldsetLabel, FieldsetIndicatorText, FieldsetRequiredIndicator, FieldsetFooter, FieldsetDescription, FieldsetErrorMessage, type FieldsetRootProps, type FieldsetHeaderProps, type FieldsetLabelProps, type FieldsetIndicatorTextProps, type FieldsetFooterProps, type FieldsetDescriptionProps, type FieldsetErrorMessageProps, } from './Fieldset';
2
+ export * as Fieldset from './Fieldset.namespace';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Fieldset/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,cAAc,EACd,aAAa,EACb,qBAAqB,EACrB,yBAAyB,EACzB,cAAc,EACd,mBAAmB,EACnB,oBAAoB,EACpB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,0BAA0B,EAC/B,KAAK,mBAAmB,EACxB,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,GAC/B,MAAM,YAAY,CAAC;AAEpB,OAAO,KAAK,QAAQ,MAAM,sBAAsB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { FieldsetDescription, FieldsetErrorMessage, FieldsetFooter, FieldsetHeader, FieldsetIndicatorText, FieldsetLabel, FieldsetRequiredIndicator, FieldsetRoot } from './Fieldset.js';
2
+ import * as Fieldset_namespace from './Fieldset.namespace.js';
3
+ export { Fieldset_namespace as Fieldset };
@@ -0,0 +1,56 @@
1
+ 'use client';
2
+ 'use strict';
3
+
4
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
5
+
6
+ const jsxRuntime = require('react/jsx-runtime');
7
+ const domUtils = require('@seed-design/dom-utils');
8
+ const React = require('react');
9
+ const Box = require('../Box/Box.cjs');
10
+
11
+ function _interopNamespaceDefault(e) {
12
+ const n = Object.create(null, { [Symbol.toStringTag]: { value: 'Module' } });
13
+ if (e) {
14
+ for (const k in e) {
15
+ if (k !== 'default') {
16
+ const d = Object.getOwnPropertyDescriptor(e, k);
17
+ Object.defineProperty(n, k, d.get ? d : {
18
+ enumerable: true,
19
+ get: () => e[k]
20
+ });
21
+ }
22
+ }
23
+ }
24
+ n.default = e;
25
+ return Object.freeze(n);
26
+ }
27
+
28
+ const React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
29
+
30
+ const Grid = React__namespace.forwardRef((props, ref) => {
31
+ const { align, justify, justifyItems, columns, rows, autoFlow, autoColumns, autoRows, ...rest } = props;
32
+ return (
33
+ // @ts-expect-error: display: "grid" is not allowed in the Box component
34
+ /* @__PURE__ */ jsxRuntime.jsx(
35
+ Box.Box,
36
+ {
37
+ ref,
38
+ alignItems: align,
39
+ justifyContent: justify,
40
+ ...domUtils.mergeProps(rest, {
41
+ className: "seed-grid",
42
+ style: {
43
+ "--seed-grid-columns": typeof columns === "number" ? `repeat(${columns}, minmax(0, 1fr))` : columns,
44
+ "--seed-grid-rows": typeof rows === "number" ? `repeat(${rows}, minmax(0, 1fr))` : rows,
45
+ "--seed-grid-auto-flow": autoFlow,
46
+ "--seed-grid-auto-columns": autoColumns,
47
+ "--seed-grid-auto-rows": autoRows,
48
+ "--seed-grid-justify-items": justifyItems
49
+ }
50
+ })
51
+ }
52
+ )
53
+ );
54
+ });
55
+
56
+ exports.Grid = Grid;
@@ -0,0 +1,41 @@
1
+ import { BoxProps } from '../Box/Box';
2
+ import * as React from "react";
3
+ export interface GridProps extends Omit<BoxProps, "display"> {
4
+ /**
5
+ * @default "grid"
6
+ */
7
+ display?: "grid" | "none";
8
+ /**
9
+ * Shorthand for `alignItems`.
10
+ */
11
+ align?: BoxProps["alignItems"];
12
+ /**
13
+ * Shorthand for `justifyContent`.
14
+ */
15
+ justify?: BoxProps["justifyContent"];
16
+ justifyItems?: "flex-start" | "flex-end" | "center" | "stretch";
17
+ /**
18
+ * Shorthand for `gridTemplateColumns`.
19
+ * If number, `repeat({columns}, minmax(0, 1fr))` is applied.
20
+ */
21
+ columns?: number | string;
22
+ /**
23
+ * Shorthand for `gridTemplateRows`.
24
+ * If number, `repeat({rows}, minmax(0, 1fr))` is applied.
25
+ */
26
+ rows?: number | string;
27
+ /**
28
+ * Shorthand for `gridAutoFlow`.
29
+ */
30
+ autoFlow?: "row" | "column" | "row dense" | "column dense";
31
+ /**
32
+ * Shorthand for `gridAutoColumns`.
33
+ */
34
+ autoColumns?: string;
35
+ /**
36
+ * Shorthand for `gridAutoRows`.
37
+ */
38
+ autoRows?: string;
39
+ }
40
+ export declare const Grid: React.ForwardRefExoticComponent<GridProps & React.RefAttributes<HTMLDivElement>>;
41
+ //# sourceMappingURL=Grid.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Grid.d.ts","sourceRoot":"","sources":["../../../src/components/Grid/Grid.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEhD,MAAM,WAAW,SAAU,SAAQ,IAAI,CAAC,QAAQ,EAAE,SAAS,CAAC;IAC1D;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAE1B;;OAEG;IACH,KAAK,CAAC,EAAE,QAAQ,CAAC,YAAY,CAAC,CAAC;IAE/B;;OAEG;IACH,OAAO,CAAC,EAAE,QAAQ,CAAC,gBAAgB,CAAC,CAAC;IAErC,YAAY,CAAC,EAAE,YAAY,GAAG,UAAU,GAAG,QAAQ,GAAG,SAAS,CAAC;IAEhE;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAE1B;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAMvB;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,WAAW,GAAG,cAAc,CAAC;IAE3D;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,eAAO,MAAM,IAAI,kFAwBf,CAAC"}
@@ -0,0 +1,33 @@
1
+ 'use client';
2
+ import { jsx } from 'react/jsx-runtime';
3
+ import { mergeProps } from '@seed-design/dom-utils';
4
+ import * as React from 'react';
5
+ import { Box } from '../Box/Box.js';
6
+
7
+ const Grid = React.forwardRef((props, ref) => {
8
+ const { align, justify, justifyItems, columns, rows, autoFlow, autoColumns, autoRows, ...rest } = props;
9
+ return (
10
+ // @ts-expect-error: display: "grid" is not allowed in the Box component
11
+ /* @__PURE__ */ jsx(
12
+ Box,
13
+ {
14
+ ref,
15
+ alignItems: align,
16
+ justifyContent: justify,
17
+ ...mergeProps(rest, {
18
+ className: "seed-grid",
19
+ style: {
20
+ "--seed-grid-columns": typeof columns === "number" ? `repeat(${columns}, minmax(0, 1fr))` : columns,
21
+ "--seed-grid-rows": typeof rows === "number" ? `repeat(${rows}, minmax(0, 1fr))` : rows,
22
+ "--seed-grid-auto-flow": autoFlow,
23
+ "--seed-grid-auto-columns": autoColumns,
24
+ "--seed-grid-auto-rows": autoRows,
25
+ "--seed-grid-justify-items": justifyItems
26
+ }
27
+ })
28
+ }
29
+ )
30
+ );
31
+ });
32
+
33
+ export { Grid };
@@ -0,0 +1,9 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
+
5
+ const Grid = require('./Grid.cjs');
6
+
7
+
8
+
9
+ exports.Grid = Grid.Grid;
@@ -0,0 +1,2 @@
1
+ export { Grid, type GridProps } from './Grid';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Grid/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,QAAQ,CAAC"}
@@ -0,0 +1 @@
1
+ export { Grid } from './Grid.js';
@@ -0,0 +1,45 @@
1
+ 'use client';
2
+ 'use strict';
3
+
4
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
5
+
6
+ const jsxRuntime = require('react/jsx-runtime');
7
+ const React = require('react');
8
+ const Box = require('../Box/Box.cjs');
9
+
10
+ function _interopNamespaceDefault(e) {
11
+ const n = Object.create(null, { [Symbol.toStringTag]: { value: 'Module' } });
12
+ if (e) {
13
+ for (const k in e) {
14
+ if (k !== 'default') {
15
+ const d = Object.getOwnPropertyDescriptor(e, k);
16
+ Object.defineProperty(n, k, d.get ? d : {
17
+ enumerable: true,
18
+ get: () => e[k]
19
+ });
20
+ }
21
+ }
22
+ }
23
+ n.default = e;
24
+ return Object.freeze(n);
25
+ }
26
+
27
+ const React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
28
+
29
+ const GridItem = React__namespace.forwardRef((props, ref) => {
30
+ const { asChild = false, colSpan, colStart, colEnd, rowSpan, rowStart, rowEnd, ...rest } = props;
31
+ const gridColumn = getGridLine(colSpan, colStart, colEnd);
32
+ const gridRow = getGridLine(rowSpan, rowStart, rowEnd);
33
+ return /* @__PURE__ */ jsxRuntime.jsx(Box.Box, { ref, asChild, gridColumn, gridRow, ...rest });
34
+ });
35
+ GridItem.displayName = "GridItem";
36
+ function getGridLine(span, start, end) {
37
+ if (span === "full") return "1 / -1";
38
+ if (start !== void 0 && end !== void 0) return `${start} / ${end}`;
39
+ if (start !== void 0) return `${start}`;
40
+ if (end !== void 0) return `auto / ${end}`;
41
+ if (span !== void 0) return `span ${span}`;
42
+ return void 0;
43
+ }
44
+
45
+ exports.GridItem = GridItem;
@@ -0,0 +1,35 @@
1
+ import { BoxProps } from '../Box/Box';
2
+ import * as React from "react";
3
+ export interface GridItemProps extends Omit<BoxProps, "gridColumn" | "gridRow" | "gridArea"> {
4
+ /**
5
+ * If true, the component will render its children directly without a wrapper element.
6
+ * @default false
7
+ */
8
+ asChild?: boolean;
9
+ /**
10
+ * Number of columns to span, or "full" for full width (1 / -1).
11
+ */
12
+ colSpan?: number | "full";
13
+ /**
14
+ * Number of rows to span, or "full" for full height (1 / -1).
15
+ */
16
+ rowSpan?: number | "full";
17
+ /**
18
+ * Starting column
19
+ */
20
+ colStart?: number;
21
+ /**
22
+ * Ending column.
23
+ */
24
+ colEnd?: number;
25
+ /**
26
+ * Starting row
27
+ */
28
+ rowStart?: number;
29
+ /**
30
+ * Ending row.
31
+ */
32
+ rowEnd?: number;
33
+ }
34
+ export declare const GridItem: React.ForwardRefExoticComponent<GridItemProps & React.RefAttributes<HTMLDivElement>>;
35
+ //# sourceMappingURL=GridItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GridItem.d.ts","sourceRoot":"","sources":["../../../src/components/GridItem/GridItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEhD,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,QAAQ,EAAE,YAAY,GAAG,SAAS,GAAG,UAAU,CAAC;IAC1F;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAE1B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAE1B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CAGjB;AAED,eAAO,MAAM,QAAQ,sFAOnB,CAAC"}
@@ -0,0 +1,22 @@
1
+ 'use client';
2
+ import { jsx } from 'react/jsx-runtime';
3
+ import * as React from 'react';
4
+ import { Box } from '../Box/Box.js';
5
+
6
+ const GridItem = React.forwardRef((props, ref) => {
7
+ const { asChild = false, colSpan, colStart, colEnd, rowSpan, rowStart, rowEnd, ...rest } = props;
8
+ const gridColumn = getGridLine(colSpan, colStart, colEnd);
9
+ const gridRow = getGridLine(rowSpan, rowStart, rowEnd);
10
+ return /* @__PURE__ */ jsx(Box, { ref, asChild, gridColumn, gridRow, ...rest });
11
+ });
12
+ GridItem.displayName = "GridItem";
13
+ function getGridLine(span, start, end) {
14
+ if (span === "full") return "1 / -1";
15
+ if (start !== void 0 && end !== void 0) return `${start} / ${end}`;
16
+ if (start !== void 0) return `${start}`;
17
+ if (end !== void 0) return `auto / ${end}`;
18
+ if (span !== void 0) return `span ${span}`;
19
+ return void 0;
20
+ }
21
+
22
+ export { GridItem };
@@ -0,0 +1,9 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
+
5
+ const GridItem = require('./GridItem.cjs');
6
+
7
+
8
+
9
+ exports.GridItem = GridItem.GridItem;
@@ -0,0 +1,2 @@
1
+ export { GridItem, type GridItemProps } from './GridItem';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/GridItem/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC"}
@@ -0,0 +1 @@
1
+ export { GridItem } from './GridItem.js';
@@ -75,6 +75,10 @@ const HelpBubbleCloseButton = withContext(
75
75
  reactPopover.Popover.CloseButton,
76
76
  "closeButton"
77
77
  );
78
+ const HelpBubbleBody = withContext(
79
+ withStateProps(reactPrimitive.Primitive.div),
80
+ "body"
81
+ );
78
82
  const HelpBubbleTitle = withContext(
79
83
  withStateProps(reactPrimitive.Primitive.span),
80
84
  "title"
@@ -87,6 +91,7 @@ const HelpBubbleDescription = withContext(
87
91
  exports.HelpBubbleAnchor = HelpBubbleAnchor;
88
92
  exports.HelpBubbleArrow = HelpBubbleArrow;
89
93
  exports.HelpBubbleArrowTip = HelpBubbleArrowTip;
94
+ exports.HelpBubbleBody = HelpBubbleBody;
90
95
  exports.HelpBubbleCloseButton = HelpBubbleCloseButton;
91
96
  exports.HelpBubbleContent = HelpBubbleContent;
92
97
  exports.HelpBubbleDescription = HelpBubbleDescription;
@@ -51,6 +51,9 @@ export declare const HelpBubbleArrowTip: ForwardRefExoticComponent<Omit<HelpBubb
51
51
  export interface HelpBubbleCloseButtonProps extends PopoverPrimitive.CloseButtonProps {
52
52
  }
53
53
  export declare const HelpBubbleCloseButton: ForwardRefExoticComponent<HelpBubbleCloseButtonProps & RefAttributes<HTMLButtonElement>>;
54
+ export interface HelpBubbleBodyProps extends PrimitiveProps, React.HTMLAttributes<HTMLDivElement> {
55
+ }
56
+ export declare const HelpBubbleBody: ForwardRefExoticComponent<HelpBubbleBodyProps & RefAttributes<HTMLDivElement>>;
54
57
  export interface HelpBubbleTitleProps extends PrimitiveProps, React.HTMLAttributes<HTMLSpanElement> {
55
58
  }
56
59
  export declare const HelpBubbleTitle: ForwardRefExoticComponent<HelpBubbleTitleProps & RefAttributes<HTMLSpanElement>>;
@@ -1 +1 @@
1
- {"version":3,"file":"HelpBubble.d.ts","sourceRoot":"","sources":["../../../src/components/HelpBubble/HelpBubble.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAqB,MAAM,4BAA4B,CAAC;AAC5F,OAAO,EAAa,KAAK,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9E,OAAO,EAAc,KAAK,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAI/F,OAAO,EAAkB,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAC;AASrE,MAAM,WAAW,m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AG;AAE3C,eAAO,MAAM,qBAAqB,uHAGjC,CAAC"}
@@ -71,6 +71,10 @@ const HelpBubbleCloseButton = withContext(
71
71
  Popover.CloseButton,
72
72
  "closeButton"
73
73
  );
74
+ const HelpBubbleBody = withContext(
75
+ withStateProps(Primitive.div),
76
+ "body"
77
+ );
74
78
  const HelpBubbleTitle = withContext(
75
79
  withStateProps(Primitive.span),
76
80
  "title"
@@ -80,4 +84,4 @@ const HelpBubbleDescription = withContext(
80
84
  "description"
81
85
  );
82
86
 
83
- export { HelpBubbleAnchor, HelpBubbleArrow, HelpBubbleArrowTip, HelpBubbleCloseButton, HelpBubbleContent, HelpBubbleDescription, HelpBubblePositioner, HelpBubblePositionerPortal, HelpBubbleRoot, HelpBubbleTitle, HelpBubbleTrigger };
87
+ export { HelpBubbleAnchor, HelpBubbleArrow, HelpBubbleArrowTip, HelpBubbleBody, HelpBubbleCloseButton, HelpBubbleContent, HelpBubbleDescription, HelpBubblePositioner, HelpBubblePositionerPortal, HelpBubbleRoot, HelpBubbleTitle, HelpBubbleTrigger };
@@ -9,6 +9,7 @@ const HelpBubble = require('./HelpBubble.cjs');
9
9
  exports.Anchor = HelpBubble.HelpBubbleAnchor;
10
10
  exports.Arrow = HelpBubble.HelpBubbleArrow;
11
11
  exports.ArrowTip = HelpBubble.HelpBubbleArrowTip;
12
+ exports.Body = HelpBubble.HelpBubbleBody;
12
13
  exports.CloseButton = HelpBubble.HelpBubbleCloseButton;
13
14
  exports.Content = HelpBubble.HelpBubbleContent;
14
15
  exports.Description = HelpBubble.HelpBubbleDescription;
@@ -1,2 +1,2 @@
1
- export { HelpBubbleAnchor as Anchor, HelpBubbleArrow as Arrow, HelpBubbleArrowTip as ArrowTip, HelpBubbleCloseButton as CloseButton, HelpBubbleContent as Content, HelpBubbleDescription as Description, HelpBubblePositioner as Positioner, HelpBubblePositionerPortal as PositionerPortal, HelpBubbleRoot as Root, HelpBubbleTitle as Title, HelpBubbleTrigger as Trigger, type HelpBubbleArrowProps as ArrowProps, type HelpBubbleArrowTipProps as ArrowTipProps, type HelpBubbleCloseButtonProps as CloseButtonProps, type HelpBubbleContentProps as ContentProps, type HelpBubbleDescriptionProps as DescriptionProps, type HelpBubblePositionerProps as PositionerProps, type HelpBubblePositionerPortalProps as PositionerPortalProps, type HelpBubbleRootProps as RootProps, type HelpBubbleTitleProps as TitleProps, type HelpBubbleTriggerProps as TriggerProps, } from './HelpBubble';
1
+ export { HelpBubbleAnchor as Anchor, HelpBubbleArrow as Arrow, HelpBubbleArrowTip as ArrowTip, HelpBubbleBody as Body, HelpBubbleCloseButton as CloseButton, HelpBubbleContent as Content, HelpBubbleDescription as Description, HelpBubblePositioner as Positioner, HelpBubblePositionerPortal as PositionerPortal, HelpBubbleRoot as Root, HelpBubbleTitle as Title, HelpBubbleTrigger as Trigger, type HelpBubbleAnchorProps as AnchorProps, type HelpBubbleArrowProps as ArrowProps, type HelpBubbleArrowTipProps as ArrowTipProps, type HelpBubbleBodyProps as BodyProps, type HelpBubbleCloseButtonProps as CloseButtonProps, type HelpBubbleContentProps as ContentProps, type HelpBubbleDescriptionProps as DescriptionProps, type HelpBubblePositionerProps as PositionerProps, type HelpBubblePositionerPortalProps as PositionerPortalProps, type HelpBubbleRootProps as RootProps, type HelpBubbleTitleProps as TitleProps, type HelpBubbleTriggerProps as TriggerProps, } from './HelpBubble';
2
2
  //# sourceMappingURL=HelpBubble.namespace.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"HelpBubble.namespace.d.ts","sourceRoot":"","sources":["../../../src/components/HelpBubble/HelpBubble.namespace.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,IAAI,MAAM,EAC1B,eAAe,IAAI,KAAK,EACxB,kBAAkB,IAAI,QAAQ,EAC9B,qBAAqB,IAAI,WAAW,EACpC,iBAAiB,IAAI,OAAO,EAC5B,qBAAqB,IAAI,WAAW,EACpC,oBAAoB,IAAI,UAAU,EAClC,0BAA0B,IAAI,gBAAgB,EAC9C,cAAc,IAAI,IAAI,EACtB,eAAe,IAAI,KAAK,EACxB,iBAAiB,IAAI,OAAO,EAC5B,KAAK,oBAAoB,IAAI,UAAU,EACvC,KAAK,uBAAuB,IAAI,aAAa,EAC7C,KAAK,0BAA0B,IAAI,gBAAgB,EACnD,KAAK,sBAAsB,IAAI,YAAY,EAC3C,KAAK,0BAA0B,IAAI,gBAAgB,EACnD,KAAK,yBAAyB,IAAI,eAAe,EACjD,KAAK,+BAA+B,IAAI,qBAAqB,EAC7D,KAAK,mBAAmB,IAAI,SAAS,EACrC,KAAK,oBAAoB,IAAI,UAAU,EACvC,KAAK,sBAAsB,IAAI,YAAY,GAC5C,MAAM,cAAc,CAAC"}
1
+ {"version":3,"file":"HelpBubble.namespace.d.ts","sourceRoot":"","sources":["../../../src/components/HelpBubble/HelpBubble.namespace.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,IAAI,MAAM,EAC1B,eAAe,IAAI,KAAK,EACxB,kBAAkB,IAAI,QAAQ,EAC9B,cAAc,IAAI,IAAI,EACtB,qBAAqB,IAAI,WAAW,EACpC,iBAAiB,IAAI,OAAO,EAC5B,qBAAqB,IAAI,WAAW,EACpC,oBAAoB,IAAI,UAAU,EAClC,0BAA0B,IAAI,gBAAgB,EAC9C,cAAc,IAAI,IAAI,EACtB,eAAe,IAAI,KAAK,EACxB,iBAAiB,IAAI,OAAO,EAC5B,KAAK,qBAAqB,IAAI,WAAW,EACzC,KAAK,oBAAoB,IAAI,UAAU,EACvC,KAAK,uBAAuB,IAAI,aAAa,EAC7C,KAAK,mBAAmB,IAAI,SAAS,EACrC,KAAK,0BAA0B,IAAI,gBAAgB,EACnD,KAAK,sBAAsB,IAAI,YAAY,EAC3C,KAAK,0BAA0B,IAAI,gBAAgB,EACnD,KAAK,yBAAyB,IAAI,eAAe,EACjD,KAAK,+BAA+B,IAAI,qBAAqB,EAC7D,KAAK,mBAAmB,IAAI,SAAS,EACrC,KAAK,oBAAoB,IAAI,UAAU,EACvC,KAAK,sBAAsB,IAAI,YAAY,GAC5C,MAAM,cAAc,CAAC"}
@@ -1 +1 @@
1
- export { HelpBubbleAnchor as Anchor, HelpBubbleArrow as Arrow, HelpBubbleArrowTip as ArrowTip, HelpBubbleCloseButton as CloseButton, HelpBubbleContent as Content, HelpBubbleDescription as Description, HelpBubblePositioner as Positioner, HelpBubblePositionerPortal as PositionerPortal, HelpBubbleRoot as Root, HelpBubbleTitle as Title, HelpBubbleTrigger as Trigger } from './HelpBubble.js';
1
+ export { HelpBubbleAnchor as Anchor, HelpBubbleArrow as Arrow, HelpBubbleArrowTip as ArrowTip, HelpBubbleBody as Body, HelpBubbleCloseButton as CloseButton, HelpBubbleContent as Content, HelpBubbleDescription as Description, HelpBubblePositioner as Positioner, HelpBubblePositionerPortal as PositionerPortal, HelpBubbleRoot as Root, HelpBubbleTitle as Title, HelpBubbleTrigger as Trigger } from './HelpBubble.js';
@@ -10,6 +10,7 @@ const HelpBubble_namespace = require('./HelpBubble.namespace.cjs');
10
10
  exports.HelpBubbleAnchor = HelpBubble.HelpBubbleAnchor;
11
11
  exports.HelpBubbleArrow = HelpBubble.HelpBubbleArrow;
12
12
  exports.HelpBubbleArrowTip = HelpBubble.HelpBubbleArrowTip;
13
+ exports.HelpBubbleBody = HelpBubble.HelpBubbleBody;
13
14
  exports.HelpBubbleCloseButton = HelpBubble.HelpBubbleCloseButton;
14
15
  exports.HelpBubbleContent = HelpBubble.HelpBubbleContent;
15
16
  exports.HelpBubbleDescription = HelpBubble.HelpBubbleDescription;
@@ -1,3 +1,3 @@
1
- export { HelpBubbleAnchor, HelpBubbleArrow, HelpBubbleArrowTip, HelpBubbleCloseButton, HelpBubbleContent, HelpBubbleDescription, HelpBubblePositioner, HelpBubblePositionerPortal, HelpBubbleRoot, HelpBubbleTitle, HelpBubbleTrigger, type HelpBubbleAnchorProps, type HelpBubbleArrowProps, type HelpBubbleArrowTipProps, type HelpBubbleCloseButtonProps, type HelpBubbleContentProps, type HelpBubbleDescriptionProps, type HelpBubblePositionerProps, type HelpBubblePositionerPortalProps, type HelpBubbleRootProps, type HelpBubbleTitleProps, type HelpBubbleTriggerProps, } from './HelpBubble';
1
+ export { HelpBubbleAnchor, HelpBubbleArrow, HelpBubbleArrowTip, HelpBubbleBody, HelpBubbleCloseButton, HelpBubbleContent, HelpBubbleDescription, HelpBubblePositioner, HelpBubblePositionerPortal, HelpBubbleRoot, HelpBubbleTitle, HelpBubbleTrigger, type HelpBubbleAnchorProps, type HelpBubbleArrowProps, type HelpBubbleArrowTipProps, type HelpBubbleBodyProps, type HelpBubbleCloseButtonProps, type HelpBubbleContentProps, type HelpBubbleDescriptionProps, type HelpBubblePositionerProps, type HelpBubblePositionerPortalProps, type HelpBubbleRootProps, type HelpBubbleTitleProps, type HelpBubbleTriggerProps, } from './HelpBubble';
2
2
  export * as HelpBubble from './HelpBubble.namespace';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/HelpBubble/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,eAAe,EACf,kBAAkB,EAClB,qBAAqB,EACrB,iBAAiB,EACjB,qBAAqB,EACrB,oBAAoB,EACpB,0BAA0B,EAC1B,cAAc,EACd,eAAe,EACf,iBAAiB,EACjB,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,uBAAuB,EAC5B,KAAK,0BAA0B,EAC/B,KAAK,sBAAsB,EAC3B,KAAK,0BAA0B,EAC/B,KAAK,yBAAyB,EAC9B,KAAK,+BAA+B,EACpC,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,GAC5B,MAAM,cAAc,CAAC;AAEtB,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/HelpBubble/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,eAAe,EACf,kBAAkB,EAClB,cAAc,EACd,qBAAqB,EACrB,iBAAiB,EACjB,qBAAqB,EACrB,oBAAoB,EACpB,0BAA0B,EAC1B,cAAc,EACd,eAAe,EACf,iBAAiB,EACjB,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,0BAA0B,EAC/B,KAAK,sBAAsB,EAC3B,KAAK,0BAA0B,EAC/B,KAAK,yBAAyB,EAC9B,KAAK,+BAA+B,EACpC,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,GAC5B,MAAM,cAAc,CAAC;AAEtB,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC"}
@@ -1,3 +1,3 @@
1
- export { HelpBubbleAnchor, HelpBubbleArrow, HelpBubbleArrowTip, HelpBubbleCloseButton, HelpBubbleContent, HelpBubbleDescription, HelpBubblePositioner, HelpBubblePositionerPortal, HelpBubbleRoot, HelpBubbleTitle, HelpBubbleTrigger } from './HelpBubble.js';
1
+ export { HelpBubbleAnchor, HelpBubbleArrow, HelpBubbleArrowTip, HelpBubbleBody, HelpBubbleCloseButton, HelpBubbleContent, HelpBubbleDescription, HelpBubblePositioner, HelpBubblePositionerPortal, HelpBubbleRoot, HelpBubbleTitle, HelpBubbleTrigger } from './HelpBubble.js';
2
2
  import * as HelpBubble_namespace from './HelpBubble.namespace.js';
3
3
  export { HelpBubble_namespace as HelpBubble };