@vaneui/md 0.0.3-alpha.20250807150626.4231a8a → 0.3.1-alpha.20250916152826.fb70c71

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.
package/dist/index.js CHANGED
@@ -8542,23 +8542,31 @@ const MdInline = (props) => {
8542
8542
 
8543
8543
  const MdHeading = (props) => {
8544
8544
  const { level, children, ...rest } = props;
8545
- const tag = `h${level}`;
8545
+ let tag = `h1`;
8546
8546
  let size = {};
8547
8547
  switch (level) {
8548
8548
  case 1:
8549
+ tag = `h1`;
8549
8550
  size = { xl: true };
8550
8551
  break;
8551
8552
  case 2:
8553
+ tag = `h2`;
8552
8554
  size = { lg: true };
8553
8555
  break;
8554
8556
  case 3:
8557
+ tag = `h3`;
8555
8558
  size = { md: true };
8556
8559
  break;
8557
8560
  case 4:
8561
+ tag = `h4`;
8558
8562
  size = { sm: true };
8559
8563
  break;
8560
8564
  case 5:
8565
+ tag = `h5`;
8566
+ size = { xs: true };
8567
+ break;
8561
8568
  case 6:
8569
+ tag = `h6`;
8562
8570
  size = { xs: true };
8563
8571
  break;
8564
8572
  }