@lax-wp/design-system 0.9.14 → 0.9.16

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.es.js CHANGED
@@ -5684,7 +5684,7 @@ const mt = $e(({
5684
5684
  switch (t) {
5685
5685
  case "primary":
5686
5686
  return {
5687
- backgroundImage: "repeating-linear-gradient(3deg, #016DCF, #016DCF 10px, transparent 10px, transparent 19px, #016DCF 19px), repeating-linear-gradient(93deg, #016DCF, #016DCF 10px, transparent 10px, transparent 19px, #016DCF 19px), repeating-linear-gradient(183deg, #016DCF, #016DCF 10px, transparent 10px, transparent 19px, #016DCF 19px), repeating-linear-gradient(273deg, #016DCF, #016DCF 10px, transparent 10px, transparent 19px, #016DCF 19px)",
5687
+ backgroundImage: "repeating-linear-gradient(3deg, var(--color-primary-600), var(--color-primary-600) 10px, transparent 10px, transparent 19px, var(--color-primary-600) 19px), repeating-linear-gradient(93deg, var(--color-primary-600), var(--color-primary-600) 10px, transparent 10px, transparent 19px, var(--color-primary-600) 19px), repeating-linear-gradient(183deg, var(--color-primary-600), var(--color-primary-600) 10px, transparent 10px, transparent 19px, var(--color-primary-600) 19px), repeating-linear-gradient(273deg, var(--color-primary-600), var(--color-primary-600) 10px, transparent 10px, transparent 19px, var(--color-primary-600) 19px)",
5688
5688
  backgroundSize: "1px 100%, 100% 1px, 1px 100% , 100% 1px",
5689
5689
  backgroundPosition: "0 0, 0 0, 100% 0, 0 100%",
5690
5690
  backgroundRepeat: "no-repeat"
@@ -73770,41 +73770,43 @@ const Bne = {
73770
73770
  {
73771
73771
  ref: i,
73772
73772
  className: z(
73773
- "markdown-preview prose prose-sm dark:prose-invert max-w-none",
73774
- // Headings - consistent spacing, inherit color so className overrides work
73775
- "[&_h1]:text-2xl [&_h1]:font-bold [&_h1]:my-1 [&_h1]:leading-7 [&_h1]:text-inherit",
73776
- "[&_h2]:text-xl [&_h2]:font-bold [&_h2]:my-1 [&_h2]:leading-7 [&_h2]:text-inherit",
73777
- "[&_h3]:text-lg [&_h3]:font-semibold [&_h3]:my-1 [&_h3]:leading-6 [&_h3]:text-inherit",
73773
+ "markdown-preview max-w-none",
73774
+ // Base typography - match input exactly
73775
+ "font-inter font-medium text-sm leading-4.5",
73776
+ // Headings - inherit base styling
73777
+ "[&_h1]:text-2xl [&_h1]:font-bold [&_h1]:my-1 [&_h1]:leading-5 [&_h1]:text-inherit",
73778
+ "[&_h2]:text-xl [&_h2]:font-bold [&_h2]:my-1 [&_h2]:leading-5 [&_h2]:text-inherit",
73779
+ "[&_h3]:text-lg [&_h3]:font-semibold [&_h3]:my-1 [&_h3]:leading-5 [&_h3]:text-inherit leading-4.5",
73778
73780
  "[&_h4]:text-inherit [&_h5]:text-inherit [&_h6]:text-inherit",
73779
- // Paragraphs
73780
- "[&_p]:my-1 [&_p]:text-sm [&_p]:font-medium [&_p]:leading-6",
73781
- // Lists - conditional indentation
73782
- a ? "[&_ul]:list-disc [&_ul]:ml-0 [&_ul]:pl-6 [&_ul]:space-y-1 [&_ul]:my-1" : "[&_ul]:list-disc [&_ul]:ml-8 [&_ul]:space-y-1 [&_ul]:my-1",
73783
- a ? "[&_ol]:list-decimal [&_ol]:ml-0 [&_ol]:pl-6 [&_ol]:space-y-1 [&_ol]:my-1" : "[&_ol]:list-decimal [&_ol]:ml-8 [&_ol]:space-y-1 [&_ol]:my-1",
73784
- "[&_li]:mb-0 [&_li]:text-sm [&_li]:font-medium [&_li]:leading-5 [&_li::marker]:text-inherit",
73781
+ // Paragraphs - already inherits from base
73782
+ "[&_p]:my-0",
73783
+ // Lists - conditional indentation, match input
73784
+ a ? "[&_ul]:list-disc [&_ul]:ml-0 [&_ul]:pl-6 [&_ul]:space-y-0 [&_ul]:my-0" : "[&_ul]:list-disc [&_ul]:ml-5 [&_ul]:space-y-0 [&_ul]:my-0",
73785
+ a ? "[&_ol]:list-decimal [&_ol]:ml-0 [&_ol]:pl-6 [&_ol]:space-y-0 [&_ol]:my-0" : "[&_ol]:list-decimal [&_ol]:ml-5 [&_ol]:space-y-0 [&_ol]:my-0",
73786
+ "[&_li]:mb-0 [&_li::marker]:text-inherit",
73785
73787
  a ? "[&_li]:pl-2" : "",
73786
73788
  // Task list items (checkboxes) - hide bullets and adjust spacing
73787
73789
  "[&_li:has(input[type='checkbox'])]:list-none",
73788
73790
  a ? "[&_li:has(input[type='checkbox'])]:pl-0 [&_li:has(input[type='checkbox'])]:-ml-4.5" : "[&_li:has(input[type='checkbox'])]:-ml-4.5",
73789
73791
  "[&_li>input[type='checkbox']]:mr-2",
73790
- // Blockquotes
73792
+ // Blockquotes - match input line height
73791
73793
  "[&_blockquote]:border-l-4 [&_blockquote]:border-neutral-300 [&_blockquote]:dark:border-neutral-600",
73792
- a ? "[&_blockquote]:pl-4 [&_blockquote]:py-2 [&_blockquote]:italic [&_blockquote]:my-1 [&_blockquote]:leading-6 [&_blockquote]:ml-0" : "[&_blockquote]:pl-4 [&_blockquote]:py-2 [&_blockquote]:italic [&_blockquote]:my-1 [&_blockquote]:leading-6 [&_blockquote]:ml-4",
73794
+ a ? "[&_blockquote]:pl-4 [&_blockquote]:py-2 [&_blockquote]:italic [&_blockquote]:my-0 [&_blockquote]:leading-5 [&_blockquote]:ml-0" : "[&_blockquote]:pl-4 [&_blockquote]:py-2 [&_blockquote]:italic [&_blockquote]:my-0 [&_blockquote]:leading-5 [&_blockquote]:ml-4",
73793
73795
  // Links
73794
73796
  "[&_a]:text-primary-600 [&_a]:dark:text-primary-400 [&_a]:underline",
73795
73797
  // Text styles
73796
73798
  "[&_strong]:font-semibold [&_em]:italic [&_u]:underline [&_del]:line-through",
73797
73799
  // Images
73798
- "[&_img]:max-w-full [&_img]:h-auto [&_img]:rounded-lg [&_img]:my-1",
73800
+ "[&_img]:max-w-full [&_img]:h-auto [&_img]:rounded-lg [&_img]:my-0",
73799
73801
  // Tables
73800
- "[&_table]:w-full [&_table]:border-collapse [&_table]:my-1",
73802
+ "[&_table]:w-full [&_table]:border-collapse [&_table]:my-0",
73801
73803
  "[&_th]:border [&_th]:border-neutral-300 [&_th]:dark:border-neutral-600",
73802
73804
  "[&_th]:px-3 [&_th]:py-2 [&_th]:bg-neutral-50 [&_th]:dark:bg-neutral-800",
73803
73805
  "[&_th]:font-semibold [&_th]:text-left",
73804
73806
  "[&_td]:border [&_td]:border-neutral-300 [&_td]:dark:border-neutral-600",
73805
73807
  "[&_td]:px-3 [&_td]:py-2",
73806
73808
  // Horizontal rules
73807
- "[&_hr]:my-1 [&_hr]:border-neutral-300 [&_hr]:dark:border-neutral-600",
73809
+ "[&_hr]:my-0 [&_hr]:border-neutral-300 [&_hr]:dark:border-neutral-600",
73808
73810
  // Default text color (can be overridden by className)
73809
73811
  "text-[#101828] dark:text-neutral-100",
73810
73812
  // User className applied last for maximum specificity
@@ -73863,7 +73865,8 @@ const Bne = {
73863
73865
  ] }) : /* @__PURE__ */ l(
73864
73866
  "code",
73865
73867
  {
73866
- className: z(s, "bg-neutral-100 dark:bg-neutral-800 px-1.5 py-0.5 rounded font-mono text-[#101828] dark:text-neutral-200"),
73868
+ className: z(s, "bg-neutral-100 dark:bg-neutral-800 px-1 rounded font-inter"),
73869
+ style: { fontSize: "inherit", color: "inherit" },
73867
73870
  ...A,
73868
73871
  children: o
73869
73872
  }