@vlrc-fe/components 3.0.4 → 3.0.5

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 (213) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/ConfirmModal.cjs +40 -48
  3. package/dist/ConfirmModal.d.ts +5 -21
  4. package/dist/ConfirmModal.d.ts.map +1 -1
  5. package/dist/ConfirmModal.js +41 -48
  6. package/dist/Modal.cjs +12 -16
  7. package/dist/Modal.d.ts +2 -14
  8. package/dist/Modal.d.ts.map +1 -1
  9. package/dist/Modal.js +12 -16
  10. package/dist/MultiSelect/MultiSelect.cjs +0 -1
  11. package/dist/MultiSelect/MultiSelect.d.ts.map +1 -1
  12. package/dist/MultiSelect/MultiSelect.js +0 -1
  13. package/dist/MultiSelect/useMultiSelect.cjs +1 -0
  14. package/dist/MultiSelect/useMultiSelect.d.ts.map +1 -1
  15. package/dist/MultiSelect/useMultiSelect.js +1 -0
  16. package/dist/MultiSelect/utils.cjs +2 -2
  17. package/dist/MultiSelect/utils.js +2 -2
  18. package/dist/Typography/Link.cjs +3 -5
  19. package/dist/Typography/Link.d.ts +1 -1
  20. package/dist/Typography/Link.d.ts.map +1 -1
  21. package/dist/Typography/Link.js +3 -5
  22. package/dist/Typography/Paragraph.cjs +3 -5
  23. package/dist/Typography/Paragraph.d.ts +1 -1
  24. package/dist/Typography/Paragraph.d.ts.map +1 -1
  25. package/dist/Typography/Paragraph.js +3 -5
  26. package/dist/Typography/Text.cjs +3 -4
  27. package/dist/Typography/Text.d.ts +1 -1
  28. package/dist/Typography/Text.d.ts.map +1 -1
  29. package/dist/Typography/Text.js +4 -5
  30. package/dist/Typography/Title.cjs +4 -4
  31. package/dist/Typography/Title.d.ts +1 -1
  32. package/dist/Typography/Title.d.ts.map +1 -1
  33. package/dist/Typography/Title.js +5 -5
  34. package/dist/Typography/Typography.d.ts +8 -4
  35. package/dist/Typography/Typography.d.ts.map +1 -1
  36. package/dist/Typography/index.d.ts +0 -3
  37. package/dist/Typography/index.d.ts.map +1 -1
  38. package/dist/Typography/index.js +1 -4
  39. package/dist/Typography/types.d.ts +4 -0
  40. package/dist/Typography/types.d.ts.map +1 -1
  41. package/dist/assets/stylex.css +32 -8
  42. package/dist/astryx.cjs +1 -10
  43. package/dist/astryx.d.ts +0 -1
  44. package/dist/astryx.d.ts.map +1 -1
  45. package/dist/astryx.js +0 -2
  46. package/dist/index.cjs +2 -12
  47. package/dist/index.d.ts +2 -3
  48. package/dist/index.d.ts.map +1 -1
  49. package/dist/index.js +3 -6
  50. package/dist/layout/Box.cjs +44 -67
  51. package/dist/layout/Box.d.ts +3 -5
  52. package/dist/layout/Box.d.ts.map +1 -1
  53. package/dist/layout/Box.js +44 -67
  54. package/dist/layout/Center.cjs +13 -24
  55. package/dist/layout/Center.d.ts +2 -2
  56. package/dist/layout/Center.d.ts.map +1 -1
  57. package/dist/layout/Center.js +13 -24
  58. package/dist/layout/Container.cjs +21 -10
  59. package/dist/layout/Container.d.ts +3 -5
  60. package/dist/layout/Container.d.ts.map +1 -1
  61. package/dist/layout/Container.js +21 -10
  62. package/dist/layout/Stack.cjs +55 -93
  63. package/dist/layout/Stack.d.ts +5 -5
  64. package/dist/layout/Stack.d.ts.map +1 -1
  65. package/dist/layout/Stack.js +55 -93
  66. package/dist/layout/index.d.ts +1 -1
  67. package/dist/layout/index.js +2 -2
  68. package/dist/lazyLoad.cjs +1 -1
  69. package/dist/lazyLoad.d.ts.map +1 -1
  70. package/dist/lazyLoad.js +1 -1
  71. package/dist/theme/index.cjs +1 -1
  72. package/dist/theme/index.js +1 -1
  73. package/dist/theme/zIndex.cjs +0 -2
  74. package/dist/theme/zIndex.d.ts +4 -4
  75. package/dist/theme/zIndex.d.ts.map +1 -1
  76. package/dist/theme.css +32 -8
  77. package/dist/ui/aspect-ratio.cjs +0 -1
  78. package/dist/ui/aspect-ratio.d.ts.map +1 -1
  79. package/dist/ui/aspect-ratio.js +0 -1
  80. package/dist/ui/avatar.cjs +0 -1
  81. package/dist/ui/avatar.d.ts.map +1 -1
  82. package/dist/ui/avatar.js +0 -1
  83. package/dist/ui/calendar.cjs +0 -1
  84. package/dist/ui/calendar.d.ts.map +1 -1
  85. package/dist/ui/calendar.js +0 -1
  86. package/dist/ui/carousel.cjs +0 -1
  87. package/dist/ui/carousel.d.ts.map +1 -1
  88. package/dist/ui/carousel.js +0 -1
  89. package/dist/ui/checkbox.cjs +4 -8
  90. package/dist/ui/checkbox.d.ts +1 -1
  91. package/dist/ui/checkbox.d.ts.map +1 -1
  92. package/dist/ui/checkbox.js +5 -9
  93. package/dist/ui/circular-progress.cjs +25 -20
  94. package/dist/ui/circular-progress.d.ts +3 -3
  95. package/dist/ui/circular-progress.d.ts.map +1 -1
  96. package/dist/ui/circular-progress.js +25 -20
  97. package/dist/ui/code-block.cjs +180 -176
  98. package/dist/ui/code-block.d.ts +17 -9
  99. package/dist/ui/code-block.d.ts.map +1 -1
  100. package/dist/ui/code-block.js +181 -177
  101. package/dist/ui/collapsible.cjs +0 -1
  102. package/dist/ui/collapsible.d.ts.map +1 -1
  103. package/dist/ui/collapsible.js +0 -1
  104. package/dist/ui/compare-slider.cjs +2 -3
  105. package/dist/ui/compare-slider.d.ts +3 -2
  106. package/dist/ui/compare-slider.d.ts.map +1 -1
  107. package/dist/ui/compare-slider.js +3 -4
  108. package/dist/ui/context-menu.cjs +0 -1
  109. package/dist/ui/context-menu.d.ts.map +1 -1
  110. package/dist/ui/context-menu.js +0 -1
  111. package/dist/ui/copy-button.cjs +2 -3
  112. package/dist/ui/copy-button.d.ts +1 -1
  113. package/dist/ui/copy-button.d.ts.map +1 -1
  114. package/dist/ui/copy-button.js +3 -4
  115. package/dist/ui/dialog.cjs +2 -0
  116. package/dist/ui/dialog.d.ts.map +1 -1
  117. package/dist/ui/dialog.js +2 -0
  118. package/dist/ui/drawer.cjs +2 -0
  119. package/dist/ui/drawer.d.ts.map +1 -1
  120. package/dist/ui/drawer.js +2 -0
  121. package/dist/ui/editable.cjs +1 -0
  122. package/dist/ui/editable.d.ts.map +1 -1
  123. package/dist/ui/editable.js +1 -0
  124. package/dist/ui/empty.cjs +37 -52
  125. package/dist/ui/empty.d.ts +5 -5
  126. package/dist/ui/empty.d.ts.map +1 -1
  127. package/dist/ui/empty.js +38 -53
  128. package/dist/ui/file-upload.cjs +0 -1
  129. package/dist/ui/file-upload.d.ts.map +1 -1
  130. package/dist/ui/file-upload.js +0 -1
  131. package/dist/ui/flex.cjs +3 -4
  132. package/dist/ui/flex.d.ts +3 -2
  133. package/dist/ui/flex.d.ts.map +1 -1
  134. package/dist/ui/flex.js +3 -4
  135. package/dist/ui/form.cjs +0 -1
  136. package/dist/ui/form.d.ts.map +1 -1
  137. package/dist/ui/form.js +0 -1
  138. package/dist/ui/gauge.cjs +2 -4
  139. package/dist/ui/gauge.d.ts +3 -2
  140. package/dist/ui/gauge.d.ts.map +1 -1
  141. package/dist/ui/gauge.js +2 -4
  142. package/dist/ui/grid.cjs +7 -7
  143. package/dist/ui/grid.d.ts +7 -3
  144. package/dist/ui/grid.d.ts.map +1 -1
  145. package/dist/ui/grid.js +7 -8
  146. package/dist/ui/hover-card.cjs +0 -1
  147. package/dist/ui/hover-card.d.ts.map +1 -1
  148. package/dist/ui/hover-card.js +0 -1
  149. package/dist/ui/input-group.cjs +17 -23
  150. package/dist/ui/input-group.d.ts +2 -2
  151. package/dist/ui/input-group.d.ts.map +1 -1
  152. package/dist/ui/input-group.js +17 -23
  153. package/dist/ui/marker.cjs +78 -75
  154. package/dist/ui/marker.d.ts +7 -4
  155. package/dist/ui/marker.d.ts.map +1 -1
  156. package/dist/ui/marker.js +79 -76
  157. package/dist/ui/masonry.cjs +2 -4
  158. package/dist/ui/masonry.d.ts +1 -1
  159. package/dist/ui/masonry.d.ts.map +1 -1
  160. package/dist/ui/masonry.js +3 -5
  161. package/dist/ui/menubar.cjs +0 -1
  162. package/dist/ui/menubar.d.ts.map +1 -1
  163. package/dist/ui/menubar.js +0 -1
  164. package/dist/ui/progress.cjs +6 -5
  165. package/dist/ui/progress.d.ts +3 -3
  166. package/dist/ui/progress.d.ts.map +1 -1
  167. package/dist/ui/progress.js +6 -5
  168. package/dist/ui/questionnaire.cjs +138 -135
  169. package/dist/ui/questionnaire.d.ts +21 -11
  170. package/dist/ui/questionnaire.d.ts.map +1 -1
  171. package/dist/ui/questionnaire.js +139 -136
  172. package/dist/ui/rating.cjs +2 -3
  173. package/dist/ui/rating.d.ts +3 -2
  174. package/dist/ui/rating.d.ts.map +1 -1
  175. package/dist/ui/rating.js +3 -4
  176. package/dist/ui/resizable.cjs +0 -1
  177. package/dist/ui/resizable.d.ts.map +1 -1
  178. package/dist/ui/resizable.js +0 -1
  179. package/dist/ui/row-col.cjs +4 -6
  180. package/dist/ui/row-col.d.ts +6 -4
  181. package/dist/ui/row-col.d.ts.map +1 -1
  182. package/dist/ui/row-col.js +5 -7
  183. package/dist/ui/scroll-area.cjs +40 -53
  184. package/dist/ui/scroll-area.d.ts +1 -1
  185. package/dist/ui/scroll-area.d.ts.map +1 -1
  186. package/dist/ui/scroll-area.js +40 -53
  187. package/dist/ui/segmented.cjs +2 -3
  188. package/dist/ui/segmented.d.ts +3 -2
  189. package/dist/ui/segmented.d.ts.map +1 -1
  190. package/dist/ui/segmented.js +3 -4
  191. package/dist/ui/sheet.cjs +2 -0
  192. package/dist/ui/sheet.d.ts.map +1 -1
  193. package/dist/ui/sheet.js +2 -0
  194. package/dist/ui/sidebar.cjs +0 -1
  195. package/dist/ui/sidebar.d.ts.map +1 -1
  196. package/dist/ui/sidebar.js +0 -1
  197. package/dist/ui/signature-pad.cjs +148 -147
  198. package/dist/ui/signature-pad.d.ts +17 -9
  199. package/dist/ui/signature-pad.d.ts.map +1 -1
  200. package/dist/ui/signature-pad.js +149 -148
  201. package/dist/ui/stat.cjs +57 -71
  202. package/dist/ui/stat.d.ts +8 -8
  203. package/dist/ui/stat.d.ts.map +1 -1
  204. package/dist/ui/stat.js +57 -71
  205. package/dist/ui/switch.cjs +4 -8
  206. package/dist/ui/switch.d.ts +1 -1
  207. package/dist/ui/switch.d.ts.map +1 -1
  208. package/dist/ui/switch.js +5 -9
  209. package/dist/utils.cjs +1 -6
  210. package/dist/utils.d.ts +2 -12
  211. package/dist/utils.d.ts.map +1 -1
  212. package/dist/utils.js +1 -4
  213. package/package.json +1 -1
@@ -46,6 +46,7 @@ var useMultiSelect = ({ forwardedRef, ...props }) => {
46
46
  ]);
47
47
  const handleInputKeyDown = (event) => {
48
48
  if (disabled) return;
49
+ if (event.nativeEvent.isComposing || event.keyCode === 229) return;
49
50
  if (event.key === "Enter") setIsPopoverOpen(true);
50
51
  else if (event.key === "Backspace" && !event.currentTarget.value) {
51
52
  const newSelectedValues = [...selectedValues];
@@ -4,8 +4,8 @@ var isGroupedOptions = (opts) => {
4
4
  };
5
5
  var arraysEqual = (a, b) => {
6
6
  if (a.length !== b.length) return false;
7
- const sortedA = [...a].sort();
8
- const sortedB = [...b].sort();
7
+ const sortedA = a.toSorted();
8
+ const sortedB = b.toSorted();
9
9
  return sortedA.every((val, index) => val === sortedB[index]);
10
10
  };
11
11
  var buildAllOptions = (options, deduplicateOptions) => {
@@ -4,8 +4,8 @@ var isGroupedOptions = (opts) => {
4
4
  };
5
5
  var arraysEqual = (a, b) => {
6
6
  if (a.length !== b.length) return false;
7
- const sortedA = [...a].sort();
8
- const sortedB = [...b].sort();
7
+ const sortedA = a.toSorted();
8
+ const sortedB = b.toSorted();
9
9
  return sortedA.every((val, index) => val === sortedB[index]);
10
10
  };
11
11
  var buildAllOptions = (options, deduplicateOptions) => {
@@ -1,12 +1,11 @@
1
1
  const require_runtime = require("../_virtual/_rolldown/runtime.cjs");
2
2
  const require_Icons = require("../Icons/Icons.cjs");
3
- const require_utils = require("./utils.cjs");
4
3
  const require_tooltip = require("./tooltip.cjs");
4
+ const require_utils = require("./utils.cjs");
5
5
  const require_weightStyles = require("./weightStyles.cjs");
6
6
  let _stylexjs_stylex = require("@stylexjs/stylex");
7
7
  _stylexjs_stylex = require_runtime.__toESM(_stylexjs_stylex, 1);
8
8
  let react_jsx_runtime = require("react/jsx-runtime");
9
- let react = require("react");
10
9
  // src/Typography/Link.tsx
11
10
  var styles = {
12
11
  base: {
@@ -96,7 +95,7 @@ var underlineStyles = {
96
95
  hover: styles.hover,
97
96
  none: styles.none
98
97
  };
99
- var Link = (0, react.forwardRef)(function Link({ href, size = "md", external, underline = "hover", disabled, weight, target, rel, customSize, lines, rows, lineHeight, ellipsis, tooltip, textDecoration, textDecorationLine, textDecorationStyle, textDecorationColor, textDecorationThickness, textUnderlineOffset, as: Component = "a", className, children, sx, ...props }, ref) {
98
+ function Link({ href, size = "md", external, underline = "hover", disabled, weight, target, rel, customSize, lines, rows, lineHeight, ellipsis, tooltip, textDecoration, textDecorationLine, textDecorationStyle, textDecorationColor, textDecorationThickness, textUnderlineOffset, as: Component = "a", className, children, sx, ref, ...props }) {
100
99
  const resolvedTarget = external ? target ?? "_blank" : target;
101
100
  const resolvedRel = external ? rel ?? "noopener noreferrer" : rel;
102
101
  const resolvedRows = lines ?? rows ?? (typeof ellipsis === "object" ? ellipsis?.rows : void 0);
@@ -136,6 +135,5 @@ var Link = (0, react.forwardRef)(function Link({ href, size = "md", external, un
136
135
  children: [children, external && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Icons.Icons.ArrowRight, { className: "x1jw3ynk xvle69y x1us6l5c x1rr8tx7" })]
137
136
  });
138
137
  return require_tooltip.renderWithTooltip(element, tooltipContent);
139
- });
140
- Link.displayName = "Typography.Link";
138
+ }
141
139
  exports.Link = Link;
@@ -1,3 +1,3 @@
1
1
  import type { LinkProps } from './types';
2
- export declare const Link: import("react").ForwardRefExoticComponent<LinkProps & import("react").RefAttributes<HTMLAnchorElement>>;
2
+ export declare function Link({ href, size, external, underline, disabled, weight, target, rel, customSize, lines, rows, lineHeight, ellipsis, tooltip, textDecoration, textDecorationLine, textDecorationStyle, textDecorationColor, textDecorationThickness, textUnderlineOffset, as: Component, className, children, sx, ref, ...props }: LinkProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
3
3
  //# sourceMappingURL=Link.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../src/Typography/Link.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,SAAS,EAAiB,MAAM,SAAS,CAAC;AAmGxD,eAAO,MAAM,IAAI,yGAuFf,CAAC"}
1
+ {"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../src/Typography/Link.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,SAAS,EAAiB,MAAM,SAAS,CAAC;AAmGxD,wBAAgB,IAAI,CAAC,EACnB,IAAI,EACJ,IAAW,EACX,QAAQ,EACR,SAAmB,EACnB,QAAQ,EACR,MAAM,EACN,MAAM,EACN,GAAG,EACH,UAAU,EACV,KAAK,EACL,IAAI,EACJ,UAAU,EACV,QAAQ,EACR,OAAO,EACP,cAAc,EACd,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACnB,uBAAuB,EACvB,mBAAmB,EACnB,EAAE,EAAE,SAAe,EACnB,SAAS,EACT,QAAQ,EACR,EAAE,EACF,GAAG,EACH,GAAG,KAAK,EACT,EAAE,SAAS,8FA0DX"}
@@ -1,10 +1,9 @@
1
1
  import { Icons } from "../Icons/Icons.js";
2
- import { resolveCustomTypographyStyle } from "./utils.js";
3
2
  import { renderWithTooltip, resolveTooltipContent } from "./tooltip.js";
3
+ import { resolveCustomTypographyStyle } from "./utils.js";
4
4
  import { typographyWeightStyles } from "./weightStyles.js";
5
5
  import * as stylex from "@stylexjs/stylex";
6
6
  import { jsx, jsxs } from "react/jsx-runtime";
7
- import { forwardRef } from "react";
8
7
  // src/Typography/Link.tsx
9
8
  var styles = {
10
9
  base: {
@@ -94,7 +93,7 @@ var underlineStyles = {
94
93
  hover: styles.hover,
95
94
  none: styles.none
96
95
  };
97
- var Link = forwardRef(function Link({ href, size = "md", external, underline = "hover", disabled, weight, target, rel, customSize, lines, rows, lineHeight, ellipsis, tooltip, textDecoration, textDecorationLine, textDecorationStyle, textDecorationColor, textDecorationThickness, textUnderlineOffset, as: Component = "a", className, children, sx, ...props }, ref) {
96
+ function Link({ href, size = "md", external, underline = "hover", disabled, weight, target, rel, customSize, lines, rows, lineHeight, ellipsis, tooltip, textDecoration, textDecorationLine, textDecorationStyle, textDecorationColor, textDecorationThickness, textUnderlineOffset, as: Component = "a", className, children, sx, ref, ...props }) {
98
97
  const resolvedTarget = external ? target ?? "_blank" : target;
99
98
  const resolvedRel = external ? rel ?? "noopener noreferrer" : rel;
100
99
  const resolvedRows = lines ?? rows ?? (typeof ellipsis === "object" ? ellipsis?.rows : void 0);
@@ -134,6 +133,5 @@ var Link = forwardRef(function Link({ href, size = "md", external, underline = "
134
133
  children: [children, external && /* @__PURE__ */ jsx(Icons.ArrowRight, { className: "x1jw3ynk xvle69y x1us6l5c x1rr8tx7" })]
135
134
  });
136
135
  return renderWithTooltip(element, tooltipContent);
137
- });
138
- Link.displayName = "Typography.Link";
136
+ }
139
137
  export { Link };
@@ -1,11 +1,10 @@
1
1
  const require_runtime = require("../_virtual/_rolldown/runtime.cjs");
2
- const require_utils = require("./utils.cjs");
3
2
  const require_tooltip = require("./tooltip.cjs");
3
+ const require_utils = require("./utils.cjs");
4
4
  const require_weightStyles = require("./weightStyles.cjs");
5
5
  let _stylexjs_stylex = require("@stylexjs/stylex");
6
6
  _stylexjs_stylex = require_runtime.__toESM(_stylexjs_stylex, 1);
7
7
  let react_jsx_runtime = require("react/jsx-runtime");
8
- let react = require("react");
9
8
  // src/Typography/Paragraph.tsx
10
9
  var styles = {
11
10
  base: {
@@ -166,7 +165,7 @@ var paragraphTypeStyles = {
166
165
  info: styles.typeInfo,
167
166
  inherit: styles.typeInherit
168
167
  };
169
- var Paragraph = (0, react.forwardRef)(function Paragraph({ size = "md", variant = "default", type, spacing = "none", align = "left", weight, required, customSize, lines, rows, lineHeight, ellipsis, tooltip, textDecoration, textDecorationLine, textDecorationStyle, textDecorationColor, textDecorationThickness, textUnderlineOffset, color, margin, m, marginTop, mt, marginBottom, mb, marginLeft, ml, marginRight, mr, marginInline, mx, marginBlock, my, letterSpacing, as: Component = "p", className, children, sx, ...props }, ref) {
168
+ function Paragraph({ size = "md", variant = "default", type, spacing = "none", align = "left", weight, required, customSize, lines, rows, lineHeight, ellipsis, tooltip, textDecoration, textDecorationLine, textDecorationStyle, textDecorationColor, textDecorationThickness, textUnderlineOffset, color, margin, m, marginTop, mt, marginBottom, mb, marginLeft, ml, marginRight, mr, marginInline, mx, marginBlock, my, letterSpacing, as: Component = "p", className, children, sx, ref, ...props }) {
170
169
  const resolvedRows = lines ?? rows ?? (typeof ellipsis === "object" ? ellipsis?.rows : void 0);
171
170
  const isSingleEllipsis = (ellipsis === true || typeof ellipsis === "object" && ellipsis !== null && !ellipsis.rows) && !resolvedRows;
172
171
  const currentSizeStyle = paragraphSizeStyles[size] ?? styles.sizeMd;
@@ -221,6 +220,5 @@ var Paragraph = (0, react.forwardRef)(function Paragraph({ size = "md", variant
221
220
  })]
222
221
  });
223
222
  return require_tooltip.renderWithTooltip(element, tooltipContent);
224
- });
225
- Paragraph.displayName = "Typography.Paragraph";
223
+ }
226
224
  exports.Paragraph = Paragraph;
@@ -1,3 +1,3 @@
1
1
  import type { ParagraphProps } from './types';
2
- export declare const Paragraph: import("react").ForwardRefExoticComponent<ParagraphProps & import("react").RefAttributes<HTMLElement>>;
2
+ export declare function Paragraph({ size, variant, type, spacing, align, weight, required, customSize, lines, rows, lineHeight, ellipsis, tooltip, textDecoration, textDecorationLine, textDecorationStyle, textDecorationColor, textDecorationThickness, textUnderlineOffset, color, margin, m, marginTop, mt, marginBottom, mb, marginLeft, ml, marginRight, mr, marginInline, mx, marginBlock, my, letterSpacing, as: Component, className, children, sx, ref, ...props }: ParagraphProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
3
3
  //# sourceMappingURL=Paragraph.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Paragraph.d.ts","sourceRoot":"","sources":["../../src/Typography/Paragraph.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAEV,cAAc,EAIf,MAAM,SAAS,CAAC;AAkKjB,eAAO,MAAM,SAAS,wGAsHpB,CAAC"}
1
+ {"version":3,"file":"Paragraph.d.ts","sourceRoot":"","sources":["../../src/Typography/Paragraph.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAEV,cAAc,EAIf,MAAM,SAAS,CAAC;AAkKjB,wBAAgB,SAAS,CAAC,EACxB,IAAW,EACX,OAAmB,EACnB,IAAI,EACJ,OAAgB,EAChB,KAAc,EACd,MAAM,EACN,QAAQ,EACR,UAAU,EACV,KAAK,EACL,IAAI,EACJ,UAAU,EACV,QAAQ,EACR,OAAO,EACP,cAAc,EACd,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACnB,uBAAuB,EACvB,mBAAmB,EACnB,KAAK,EACL,MAAM,EACN,CAAC,EACD,SAAS,EACT,EAAE,EACF,YAAY,EACZ,EAAE,EACF,UAAU,EACV,EAAE,EACF,WAAW,EACX,EAAE,EACF,YAAY,EACZ,EAAE,EACF,WAAW,EACX,EAAE,EACF,aAAa,EACb,EAAE,EAAE,SAAe,EACnB,SAAS,EACT,QAAQ,EACR,EAAE,EACF,GAAG,EACH,GAAG,KAAK,EACT,EAAE,cAAc,8FA0EhB"}
@@ -1,9 +1,8 @@
1
- import { resolveCustomTypographyStyle } from "./utils.js";
2
1
  import { renderWithTooltip, resolveTooltipContent } from "./tooltip.js";
2
+ import { resolveCustomTypographyStyle } from "./utils.js";
3
3
  import { typographyWeightStyles } from "./weightStyles.js";
4
4
  import * as stylex from "@stylexjs/stylex";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
- import { forwardRef } from "react";
7
6
  // src/Typography/Paragraph.tsx
8
7
  var styles = {
9
8
  base: {
@@ -164,7 +163,7 @@ var paragraphTypeStyles = {
164
163
  info: styles.typeInfo,
165
164
  inherit: styles.typeInherit
166
165
  };
167
- var Paragraph = forwardRef(function Paragraph({ size = "md", variant = "default", type, spacing = "none", align = "left", weight, required, customSize, lines, rows, lineHeight, ellipsis, tooltip, textDecoration, textDecorationLine, textDecorationStyle, textDecorationColor, textDecorationThickness, textUnderlineOffset, color, margin, m, marginTop, mt, marginBottom, mb, marginLeft, ml, marginRight, mr, marginInline, mx, marginBlock, my, letterSpacing, as: Component = "p", className, children, sx, ...props }, ref) {
166
+ function Paragraph({ size = "md", variant = "default", type, spacing = "none", align = "left", weight, required, customSize, lines, rows, lineHeight, ellipsis, tooltip, textDecoration, textDecorationLine, textDecorationStyle, textDecorationColor, textDecorationThickness, textUnderlineOffset, color, margin, m, marginTop, mt, marginBottom, mb, marginLeft, ml, marginRight, mr, marginInline, mx, marginBlock, my, letterSpacing, as: Component = "p", className, children, sx, ref, ...props }) {
168
167
  const resolvedRows = lines ?? rows ?? (typeof ellipsis === "object" ? ellipsis?.rows : void 0);
169
168
  const isSingleEllipsis = (ellipsis === true || typeof ellipsis === "object" && ellipsis !== null && !ellipsis.rows) && !resolvedRows;
170
169
  const currentSizeStyle = paragraphSizeStyles[size] ?? styles.sizeMd;
@@ -219,6 +218,5 @@ var Paragraph = forwardRef(function Paragraph({ size = "md", variant = "default"
219
218
  })]
220
219
  });
221
220
  return renderWithTooltip(element, tooltipContent);
222
- });
223
- Paragraph.displayName = "Typography.Paragraph";
221
+ }
224
222
  export { Paragraph };
@@ -1,7 +1,7 @@
1
1
  const require_runtime = require("../_virtual/_rolldown/runtime.cjs");
2
2
  const require_Icons = require("../Icons/Icons.cjs");
3
- const require_utils = require("./utils.cjs");
4
3
  const require_tooltip = require("./tooltip.cjs");
4
+ const require_utils = require("./utils.cjs");
5
5
  const require_weightStyles = require("./weightStyles.cjs");
6
6
  let _stylexjs_stylex = require("@stylexjs/stylex");
7
7
  _stylexjs_stylex = require_runtime.__toESM(_stylexjs_stylex, 1);
@@ -140,7 +140,7 @@ var typeStyles = {
140
140
  info: styles.typeInfo,
141
141
  inherit: styles.typeInherit
142
142
  };
143
- var Text = (0, react.forwardRef)(function Text({ type, size = "md", weight = "regular", required, strong, italic, underline, delete: isDelete, keyboard, customSize, lines, rows, lineHeight, ellipsis, tooltip, textDecoration, textDecorationLine, textDecorationStyle, textDecorationColor, textDecorationThickness, textUnderlineOffset, color, margin, m, marginTop, mt, marginBottom, mb, marginLeft, ml, marginRight, mr, marginInline, mx, marginBlock, my, letterSpacing, copyable, as, className, children, sx, ...props }, ref) {
143
+ function Text({ type, size = "md", weight = "regular", required, strong, italic, underline, delete: isDelete, keyboard, customSize, lines, rows, lineHeight, ellipsis, tooltip, textDecoration, textDecorationLine, textDecorationStyle, textDecorationColor, textDecorationThickness, textUnderlineOffset, color, margin, m, marginTop, mt, marginBottom, mb, marginLeft, ml, marginRight, mr, marginInline, mx, marginBlock, my, letterSpacing, copyable, as, className, children, sx, ref, ...props }) {
144
144
  const [copied, setCopied] = (0, react.useState)(false);
145
145
  let defaultComponent = "span";
146
146
  if (keyboard) defaultComponent = "kbd";
@@ -219,6 +219,5 @@ var Text = (0, react.forwardRef)(function Text({ type, size = "md", weight = "re
219
219
  ]
220
220
  });
221
221
  return require_tooltip.renderWithTooltip(element, tooltipContent);
222
- });
223
- Text.displayName = "Typography.Text";
222
+ }
224
223
  exports.Text = Text;
@@ -1,3 +1,3 @@
1
1
  import type { TextProps } from './types';
2
- export declare const Text: import("react").ForwardRefExoticComponent<TextProps & import("react").RefAttributes<HTMLElement>>;
2
+ export declare function Text({ type, size, weight, required, strong, italic, underline, delete: isDelete, keyboard, customSize, lines, rows, lineHeight, ellipsis, tooltip, textDecoration, textDecorationLine, textDecorationStyle, textDecorationColor, textDecorationThickness, textUnderlineOffset, color, margin, m, marginTop, mt, marginBottom, mb, marginLeft, ml, marginRight, mr, marginInline, mx, marginBlock, my, letterSpacing, copyable, as, className, children, sx, ref, ...props }: TextProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
3
3
  //# sourceMappingURL=Text.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../src/Typography/Text.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,SAAS,EAAY,MAAM,SAAS,CAAC;AA6JnD,eAAO,MAAM,IAAI,mGA+Jf,CAAC"}
1
+ {"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../src/Typography/Text.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,SAAS,EAAY,MAAM,SAAS,CAAC;AA6JnD,wBAAgB,IAAI,CAAC,EACnB,IAAI,EACJ,IAAW,EACX,MAAkB,EAClB,QAAQ,EACR,MAAM,EACN,MAAM,EACN,SAAS,EACT,MAAM,EAAE,QAAQ,EAChB,QAAQ,EACR,UAAU,EACV,KAAK,EACL,IAAI,EACJ,UAAU,EACV,QAAQ,EACR,OAAO,EACP,cAAc,EACd,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACnB,uBAAuB,EACvB,mBAAmB,EACnB,KAAK,EACL,MAAM,EACN,CAAC,EACD,SAAS,EACT,EAAE,EACF,YAAY,EACZ,EAAE,EACF,UAAU,EACV,EAAE,EACF,WAAW,EACX,EAAE,EACF,YAAY,EACZ,EAAE,EACF,WAAW,EACX,EAAE,EACF,aAAa,EACb,QAAQ,EACR,EAAE,EACF,SAAS,EACT,QAAQ,EACR,EAAE,EACF,GAAG,EACH,GAAG,KAAK,EACT,EAAE,SAAS,8FAgHX"}
@@ -1,10 +1,10 @@
1
1
  import { Icons } from "../Icons/Icons.js";
2
- import { resolveCustomTypographyStyle } from "./utils.js";
3
2
  import { renderWithTooltip, resolveTooltipContent } from "./tooltip.js";
3
+ import { resolveCustomTypographyStyle } from "./utils.js";
4
4
  import { typographyWeightStyles } from "./weightStyles.js";
5
5
  import * as stylex from "@stylexjs/stylex";
6
6
  import { jsx, jsxs } from "react/jsx-runtime";
7
- import { forwardRef, useState } from "react";
7
+ import { useState } from "react";
8
8
  // src/Typography/Text.tsx
9
9
  var styles = {
10
10
  base: {
@@ -138,7 +138,7 @@ var typeStyles = {
138
138
  info: styles.typeInfo,
139
139
  inherit: styles.typeInherit
140
140
  };
141
- var Text = forwardRef(function Text({ type, size = "md", weight = "regular", required, strong, italic, underline, delete: isDelete, keyboard, customSize, lines, rows, lineHeight, ellipsis, tooltip, textDecoration, textDecorationLine, textDecorationStyle, textDecorationColor, textDecorationThickness, textUnderlineOffset, color, margin, m, marginTop, mt, marginBottom, mb, marginLeft, ml, marginRight, mr, marginInline, mx, marginBlock, my, letterSpacing, copyable, as, className, children, sx, ...props }, ref) {
141
+ function Text({ type, size = "md", weight = "regular", required, strong, italic, underline, delete: isDelete, keyboard, customSize, lines, rows, lineHeight, ellipsis, tooltip, textDecoration, textDecorationLine, textDecorationStyle, textDecorationColor, textDecorationThickness, textUnderlineOffset, color, margin, m, marginTop, mt, marginBottom, mb, marginLeft, ml, marginRight, mr, marginInline, mx, marginBlock, my, letterSpacing, copyable, as, className, children, sx, ref, ...props }) {
142
142
  const [copied, setCopied] = useState(false);
143
143
  let defaultComponent = "span";
144
144
  if (keyboard) defaultComponent = "kbd";
@@ -217,6 +217,5 @@ var Text = forwardRef(function Text({ type, size = "md", weight = "regular", req
217
217
  ]
218
218
  });
219
219
  return renderWithTooltip(element, tooltipContent);
220
- });
221
- Text.displayName = "Typography.Text";
220
+ }
222
221
  export { Text };
@@ -1,7 +1,7 @@
1
1
  const require_runtime = require("../_virtual/_rolldown/runtime.cjs");
2
2
  const require_Icons = require("../Icons/Icons.cjs");
3
- const require_utils = require("./utils.cjs");
4
3
  const require_tooltip = require("./tooltip.cjs");
4
+ const require_utils = require("./utils.cjs");
5
5
  const require_weightStyles = require("./weightStyles.cjs");
6
6
  let _stylexjs_stylex = require("@stylexjs/stylex");
7
7
  _stylexjs_stylex = require_runtime.__toESM(_stylexjs_stylex, 1);
@@ -116,7 +116,7 @@ var trackingStyles = {
116
116
  normal: styles.normal,
117
117
  wide: styles.wide
118
118
  };
119
- var Title = (0, react.forwardRef)(function Title({ level = 1, size, variant = "default", tracking = "normal", weight, customSize, lines, rows, lineHeight, ellipsis, tooltip, textDecoration, textDecorationLine, textDecorationStyle, textDecorationColor, textDecorationThickness, textUnderlineOffset, color, margin, m, marginTop, mt, marginBottom, mb, marginLeft, ml, marginRight, mr, marginInline, mx, marginBlock, my, letterSpacing, editable, copyable, onEdit, required, as, className, children, sx, ...props }, ref) {
119
+ function Title({ level = 1, size, variant = "default", tracking = "normal", weight, customSize, lines, rows, lineHeight, ellipsis, tooltip, textDecoration, textDecorationLine, textDecorationStyle, textDecorationColor, textDecorationThickness, textUnderlineOffset, color, margin, m, marginTop, mt, marginBottom, mb, marginLeft, ml, marginRight, mr, marginInline, mx, marginBlock, my, letterSpacing, editable, copyable, onEdit, required, as, className, children, sx, ref, ...props }) {
120
120
  const Component = as || `h${level}`;
121
121
  const [copied, setCopied] = (0, react.useState)(false);
122
122
  const [isEditing, setIsEditing] = (0, react.useState)(false);
@@ -189,6 +189,7 @@ var Title = (0, react.forwardRef)(function Title({ level = 1, size, variant = "d
189
189
  onChange: (e) => setTextValue(e.target.value),
190
190
  onBlur: handleEditSubmit,
191
191
  onKeyDown: (e_0) => {
192
+ if (e_0.nativeEvent.isComposing || e_0.keyCode === 229) return;
192
193
  if (e_0.key === "Enter") handleEditSubmit();
193
194
  if (e_0.key === "Escape") setIsEditing(false);
194
195
  },
@@ -215,6 +216,5 @@ var Title = (0, react.forwardRef)(function Title({ level = 1, size, variant = "d
215
216
  ]
216
217
  });
217
218
  return require_tooltip.renderWithTooltip(element, tooltipContent);
218
- });
219
- Title.displayName = "Typography.Title";
219
+ }
220
220
  exports.Title = Title;
@@ -1,3 +1,3 @@
1
1
  import type { TitleProps } from './types';
2
- export declare const Title: import("react").ForwardRefExoticComponent<TitleProps & import("react").RefAttributes<HTMLElement>>;
2
+ export declare function Title({ level, size, variant, tracking, weight, customSize, lines, rows, lineHeight, ellipsis, tooltip, textDecoration, textDecorationLine, textDecorationStyle, textDecorationColor, textDecorationThickness, textUnderlineOffset, color, margin, m, marginTop, mt, marginBottom, mb, marginLeft, ml, marginRight, mr, marginInline, mx, marginBlock, my, letterSpacing, editable, copyable, onEdit, required, as, className, children, sx, ref, ...props }: TitleProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
3
3
  //# sourceMappingURL=Title.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Title.d.ts","sourceRoot":"","sources":["../../src/Typography/Title.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAc,UAAU,EAA+B,MAAM,SAAS,CAAC;AA6JnF,eAAO,MAAM,KAAK,oGAuLhB,CAAC"}
1
+ {"version":3,"file":"Title.d.ts","sourceRoot":"","sources":["../../src/Typography/Title.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAc,UAAU,EAA+B,MAAM,SAAS,CAAC;AA6JnF,wBAAgB,KAAK,CAAC,EACpB,KAAS,EACT,IAAI,EACJ,OAAmB,EACnB,QAAmB,EACnB,MAAM,EACN,UAAU,EACV,KAAK,EACL,IAAI,EACJ,UAAU,EACV,QAAQ,EACR,OAAO,EACP,cAAc,EACd,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACnB,uBAAuB,EACvB,mBAAmB,EACnB,KAAK,EACL,MAAM,EACN,CAAC,EACD,SAAS,EACT,EAAE,EACF,YAAY,EACZ,EAAE,EACF,UAAU,EACV,EAAE,EACF,WAAW,EACX,EAAE,EACF,YAAY,EACZ,EAAE,EACF,WAAW,EACX,EAAE,EACF,aAAa,EACb,QAAQ,EACR,QAAQ,EACR,MAAM,EACN,QAAQ,EACR,EAAE,EACF,SAAS,EACT,QAAQ,EACR,EAAE,EACF,GAAG,EACH,GAAG,KAAK,EACT,EAAE,UAAU,8FA0IZ"}
@@ -1,10 +1,10 @@
1
1
  import { Icons } from "../Icons/Icons.js";
2
- import { resolveCustomTypographyStyle } from "./utils.js";
3
2
  import { renderWithTooltip, resolveTooltipContent } from "./tooltip.js";
3
+ import { resolveCustomTypographyStyle } from "./utils.js";
4
4
  import { typographyWeightStyles } from "./weightStyles.js";
5
5
  import * as stylex from "@stylexjs/stylex";
6
6
  import { jsx, jsxs } from "react/jsx-runtime";
7
- import { forwardRef, useState } from "react";
7
+ import { useState } from "react";
8
8
  // src/Typography/Title.tsx
9
9
  var styles = {
10
10
  base: {
@@ -114,7 +114,7 @@ var trackingStyles = {
114
114
  normal: styles.normal,
115
115
  wide: styles.wide
116
116
  };
117
- var Title = forwardRef(function Title({ level = 1, size, variant = "default", tracking = "normal", weight, customSize, lines, rows, lineHeight, ellipsis, tooltip, textDecoration, textDecorationLine, textDecorationStyle, textDecorationColor, textDecorationThickness, textUnderlineOffset, color, margin, m, marginTop, mt, marginBottom, mb, marginLeft, ml, marginRight, mr, marginInline, mx, marginBlock, my, letterSpacing, editable, copyable, onEdit, required, as, className, children, sx, ...props }, ref) {
117
+ function Title({ level = 1, size, variant = "default", tracking = "normal", weight, customSize, lines, rows, lineHeight, ellipsis, tooltip, textDecoration, textDecorationLine, textDecorationStyle, textDecorationColor, textDecorationThickness, textUnderlineOffset, color, margin, m, marginTop, mt, marginBottom, mb, marginLeft, ml, marginRight, mr, marginInline, mx, marginBlock, my, letterSpacing, editable, copyable, onEdit, required, as, className, children, sx, ref, ...props }) {
118
118
  const Component = as || `h${level}`;
119
119
  const [copied, setCopied] = useState(false);
120
120
  const [isEditing, setIsEditing] = useState(false);
@@ -187,6 +187,7 @@ var Title = forwardRef(function Title({ level = 1, size, variant = "default", tr
187
187
  onChange: (e) => setTextValue(e.target.value),
188
188
  onBlur: handleEditSubmit,
189
189
  onKeyDown: (e_0) => {
190
+ if (e_0.nativeEvent.isComposing || e_0.keyCode === 229) return;
190
191
  if (e_0.key === "Enter") handleEditSubmit();
191
192
  if (e_0.key === "Escape") setIsEditing(false);
192
193
  },
@@ -213,6 +214,5 @@ var Title = forwardRef(function Title({ level = 1, size, variant = "default", tr
213
214
  ]
214
215
  });
215
216
  return renderWithTooltip(element, tooltipContent);
216
- });
217
- Title.displayName = "Typography.Title";
217
+ }
218
218
  export { Title };
@@ -1,10 +1,14 @@
1
+ import { Title } from './Title';
2
+ import { Paragraph } from './Paragraph';
3
+ import { Text } from './Text';
4
+ import { Link } from './Link';
1
5
  import { Blockquote } from './Blockquote';
2
6
  import { Code } from './Code';
3
7
  export declare const Typography: {
4
- Title: import("react").ForwardRefExoticComponent<import("./types").TitleProps & import("react").RefAttributes<HTMLElement>>;
5
- Paragraph: import("react").ForwardRefExoticComponent<import("./types").ParagraphProps & import("react").RefAttributes<HTMLElement>>;
6
- Text: import("react").ForwardRefExoticComponent<import("./types").TextProps & import("react").RefAttributes<HTMLElement>>;
7
- Link: import("react").ForwardRefExoticComponent<import("./types").LinkProps & import("react").RefAttributes<HTMLAnchorElement>>;
8
+ Title: typeof Title;
9
+ Paragraph: typeof Paragraph;
10
+ Text: typeof Text;
11
+ Link: typeof Link;
8
12
  Blockquote: typeof Blockquote;
9
13
  Code: typeof Code;
10
14
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Typography.d.ts","sourceRoot":"","sources":["../../src/Typography/Typography.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,eAAO,MAAM,UAAU;;;;;;;CAOtB,CAAC;eAEa,UAAU"}
1
+ {"version":3,"file":"Typography.d.ts","sourceRoot":"","sources":["../../src/Typography/Typography.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,eAAO,MAAM,UAAU;;;;;;;CAOtB,CAAC;eAEa,UAAU"}
@@ -1,7 +1,4 @@
1
1
  export * from './types';
2
- export * from './utils';
3
- export * from './tooltip';
4
- export * from './weightStyles';
5
2
  export { Title } from './Title';
6
3
  export { Paragraph } from './Paragraph';
7
4
  export { Text } from './Text';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Typography/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Typography/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC"}
@@ -1,7 +1,4 @@
1
1
  import { TypographyWeightMap } from "./types.js";
2
- import { resolveCustomTypographyStyle, resolveLetterSpacing } from "./utils.js";
3
- import { getTextFromChildren, renderWithTooltip, resolveTooltipContent } from "./tooltip.js";
4
- import { typographyWeightStyles } from "./weightStyles.js";
5
2
  import { Title } from "./Title.js";
6
3
  import { Paragraph } from "./Paragraph.js";
7
4
  import { Text } from "./Text.js";
@@ -10,4 +7,4 @@ import { Blockquote } from "./Blockquote.js";
10
7
  import { Code } from "./Code.js";
11
8
  import { Typography } from "./Typography.js";
12
9
  import { Heading } from "@astryxdesign/core";
13
- export { Blockquote, Code, Heading, Link, Paragraph, Text, Title, Typography, TypographyWeightMap, getTextFromChildren, renderWithTooltip, resolveCustomTypographyStyle, resolveLetterSpacing, resolveTooltipContent, typographyWeightStyles };
10
+ export { Blockquote, Code, Heading, Link, Paragraph, Text, Title, Typography, TypographyWeightMap };
@@ -67,6 +67,8 @@ export type TypographyTooltip = boolean | ReactNode | {
67
67
  title?: ReactNode;
68
68
  };
69
69
  export interface BaseTypographyProps extends React.HTMLAttributes<HTMLElement> {
70
+ /** Reference to the underlying DOM element */
71
+ ref?: React.Ref<HTMLElement>;
70
72
  /** Polymorphic component to override the semantic HTML tag */
71
73
  as?: ElementType;
72
74
  /** Additional CSS class name */
@@ -196,6 +198,8 @@ export interface TextProps extends BaseTypographyProps {
196
198
  }
197
199
  export type LinkUnderline = 'always' | 'hover' | 'none';
198
200
  export interface LinkProps extends Omit<BaseTypographyProps, 'onClick'> {
201
+ /** Reference to the underlying anchor element */
202
+ ref?: React.Ref<HTMLAnchorElement>;
199
203
  /** Target URL */
200
204
  href?: string;
201
205
  /** 7-tier sizing scale (xxs: 8px, xs: 10px, sm: 12px, md: 14px [default], lg: 16px, xl: 20px, xxl: 24px) */
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/Typography/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,KAAK,KAAK,MAAM,MAAM,kBAAkB,CAAC;AAChD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AACpD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAErD,MAAM,MAAM,kBAAkB,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAEtF;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAC1B,MAAM,GACN,WAAW,GACX,UAAU,GACV,cAAc,GACd,wBAAwB,GACxB,oBAAoB,GACpB,uBAAuB,GACvB,iCAAiC,GACjC,OAAO,GACP,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAElB;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,OAAO,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,MAAM,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAEpG;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG,MAAM,GAAG,WAAW,GAAG,MAAM,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAEpF;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,cAAc,GAAG,aAAa,GAAG,SAAS,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAE7F;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,MAAM,GAAG,MAAM,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAElE;;GAEG;AACH,MAAM,M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AM,CAAC;IACd,4GAA4G;IAC5G,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,uDAAuD;IACvD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,yBAAyB;IACzB,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B,0BAA0B;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mBAAmB;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,oBAAoB;IACpB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,0BAA0B;IAC1B,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;CACtD;AAED,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,UAAU,GAAG,QAAQ,CAAC;AAElE,MAAM,WAAW,eAAgB,SAAQ,mBAAmB;IAC1D,qBAAqB;IACrB,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B,gCAAgC;IAChC,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,SAAU,SAAQ,mBAAmB;IACpD,qDAAqD;IACrD,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,sCAAsC;IACtC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,0BAA0B;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB"}
@@ -599,6 +599,10 @@
599
599
  overflow: visible;
600
600
  }
601
601
 
602
+ .xish69e {
603
+ overscroll-behavior: contain;
604
+ }
605
+
602
606
  .x1iv7sc9 {
603
607
  padding-block: .0625rem;
604
608
  }
@@ -993,6 +997,10 @@
993
997
  background-color: color-mix(in srgb,var(--color-success, #16a34a) 15%,transparent);
994
998
  }
995
999
 
1000
+ .xnzxb0n {
1001
+ background-color: color-mix(in srgb,var(--color-success, #22c55e) 12%,transparent);
1002
+ }
1003
+
996
1004
  .x162lcvg {
997
1005
  background-color: color-mix(in srgb,var(--color-warning, #eab308) 30%,transparent);
998
1006
  }
@@ -1001,10 +1009,18 @@
1001
1009
  background-color: color-mix(in srgb,var(--destructive, #ef4444) 15%,transparent);
1002
1010
  }
1003
1011
 
1012
+ .x1m8r3s8 {
1013
+ background-color: color-mix(in srgb,var(--destructive) 12%,transparent);
1014
+ }
1015
+
1004
1016
  .x6lw6w7 {
1005
1017
  background-color: color-mix(in srgb,var(--destructive) 5%,transparent);
1006
1018
  }
1007
1019
 
1020
+ .x1qpy3fh {
1021
+ background-color: color-mix(in srgb,var(--muted-foreground) 10%,transparent);
1022
+ }
1023
+
1008
1024
  .xlyhbwk {
1009
1025
  background-color: color-mix(in srgb,var(--muted) 50%,transparent);
1010
1026
  }
@@ -1441,10 +1457,6 @@
1441
1457
  font-size: 1.5rem;
1442
1458
  }
1443
1459
 
1444
- .xcg35fi {
1445
- font-size: 1.875rem;
1446
- }
1447
-
1448
1460
  .x1jchvi3 {
1449
1461
  font-size: 1rem;
1450
1462
  }
@@ -1585,6 +1597,10 @@
1585
1597
  letter-spacing: normal;
1586
1598
  }
1587
1599
 
1600
+ .x1159mfc {
1601
+ line-height: 1.1;
1602
+ }
1603
+
1588
1604
  .x1u7k74 {
1589
1605
  line-height: 1.2;
1590
1606
  }
@@ -1645,10 +1661,6 @@
1645
1661
  line-height: 1rem;
1646
1662
  }
1647
1663
 
1648
- .x16n75kc {
1649
- line-height: 2.25rem;
1650
- }
1651
-
1652
1664
  .x15bjb6t {
1653
1665
  line-height: inherit;
1654
1666
  }
@@ -1753,6 +1765,10 @@
1753
1765
  stroke: var(--x1q702uj);
1754
1766
  }
1755
1767
 
1768
+ .x1f5rngo {
1769
+ stroke: var(--x1w51zn2);
1770
+ }
1771
+
1756
1772
  .xdeg11c {
1757
1773
  stroke: var(--x1x86g49);
1758
1774
  }
@@ -2013,10 +2029,18 @@
2013
2029
  transition-property: opacity;
2014
2030
  }
2015
2031
 
2032
+ .xhvyjpe {
2033
+ transition-property: stroke-dashoffset, stroke;
2034
+ }
2035
+
2016
2036
  .xxnu56j {
2017
2037
  transition-property: stroke-dashoffset;
2018
2038
  }
2019
2039
 
2040
+ .x1cfu1ry {
2041
+ transition-property: stroke;
2042
+ }
2043
+
2020
2044
  .x16n73rl {
2021
2045
  transition-property: transform, box-shadow;
2022
2046
  }
package/dist/astryx.cjs CHANGED
@@ -1,13 +1,4 @@
1
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_runtime = require("./_virtual/_rolldown/runtime.cjs");
3
- let _astryxdesign_core = require("@astryxdesign/core");
4
- _astryxdesign_core = require_runtime.__toESM(_astryxdesign_core, 1);
5
- Object.defineProperty(exports, "astryx", {
6
- enumerable: true,
7
- get: function() {
8
- return _astryxdesign_core;
9
- }
10
- });
1
+ var _astryxdesign_core = require("@astryxdesign/core");
11
2
  Object.keys(_astryxdesign_core).forEach(function(k) {
12
3
  if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
13
4
  enumerable: true,
package/dist/astryx.d.ts CHANGED
@@ -1,3 +1,2 @@
1
1
  export * from '@astryxdesign/core';
2
- export * as astryx from '@astryxdesign/core';
3
2
  //# sourceMappingURL=astryx.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"astryx.d.ts","sourceRoot":"","sources":["../src/astryx.ts"],"names":[],"mappings":"AAIA,cAAc,oBAAoB,CAAC;AACnC,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC"}
1
+ {"version":3,"file":"astryx.d.ts","sourceRoot":"","sources":["../src/astryx.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC"}
package/dist/astryx.js CHANGED
@@ -1,3 +1 @@
1
- import * as astryx from "@astryxdesign/core";
2
1
  export * from "@astryxdesign/core";
3
- export { astryx };