@inkeep/cxkit-styled 0.5.1 → 0.5.2
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/inkeep.css.cjs +3 -3
- package/dist/inkeep.css.js +3 -3
- package/dist/ui/markdown-styles.cjs +1 -1
- package/dist/ui/markdown-styles.js +2 -2
- package/dist/ui/recipes/markdown.cjs +1 -1
- package/dist/ui/recipes/markdown.d.cts +1 -1
- package/dist/ui/recipes/markdown.d.ts +1 -1
- package/dist/ui/recipes/markdown.js +3 -3
- package/package.json +4 -4
package/dist/inkeep.css.cjs
CHANGED
|
@@ -640,6 +640,9 @@ video {
|
|
|
640
640
|
.mb-1 {
|
|
641
641
|
margin-bottom: 0.25rem;
|
|
642
642
|
}
|
|
643
|
+
.mb-2 {
|
|
644
|
+
margin-bottom: 0.5rem;
|
|
645
|
+
}
|
|
643
646
|
.mb-3 {
|
|
644
647
|
margin-bottom: 0.75rem;
|
|
645
648
|
}
|
|
@@ -1601,9 +1604,6 @@ video {
|
|
|
1601
1604
|
.leading-snug {
|
|
1602
1605
|
line-height: 1.375;
|
|
1603
1606
|
}
|
|
1604
|
-
.tracking-\\[1px\\] {
|
|
1605
|
-
letter-spacing: 1px;
|
|
1606
|
-
}
|
|
1607
1607
|
.tracking-tight {
|
|
1608
1608
|
letter-spacing: -0.025em;
|
|
1609
1609
|
}
|
package/dist/inkeep.css.js
CHANGED
|
@@ -641,6 +641,9 @@ video {
|
|
|
641
641
|
.mb-1 {
|
|
642
642
|
margin-bottom: 0.25rem;
|
|
643
643
|
}
|
|
644
|
+
.mb-2 {
|
|
645
|
+
margin-bottom: 0.5rem;
|
|
646
|
+
}
|
|
644
647
|
.mb-3 {
|
|
645
648
|
margin-bottom: 0.75rem;
|
|
646
649
|
}
|
|
@@ -1602,9 +1605,6 @@ video {
|
|
|
1602
1605
|
.leading-snug {
|
|
1603
1606
|
line-height: 1.375;
|
|
1604
1607
|
}
|
|
1605
|
-
.tracking-\\[1px\\] {
|
|
1606
|
-
letter-spacing: 1px;
|
|
1607
|
-
}
|
|
1608
1608
|
.tracking-tight {
|
|
1609
1609
|
letter-spacing: -0.025em;
|
|
1610
1610
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./recipes/button.cjs"),t=require("./recipes/link.cjs"),e=require("./recipes/markdown.cjs"),o=require("../utils.cjs"),n={markdownH1:e.heading(),markdownH2:e.heading({size:"
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./recipes/button.cjs"),t=require("./recipes/link.cjs"),e=require("./recipes/markdown.cjs"),o=require("../utils.cjs"),n={markdownH1:o.cn(e.heading({size:"lg"}),"mb-3"),markdownH2:o.cn(e.heading({size:"md"}),"mb-2"),markdownP:o.cn("mb-3 break-words whitespace-pre-wrap","[&+ol,&+li]:mt-0"),markdownLi:o.cn("[&_a]:break-words [&_a]:inline"),markdownUl:e.list({style:"unordered"}),markdownOl:o.cn(e.list({style:"ordered"}),"[inset-inline-start:var(--start,0px)]","[counter-reset:item_calc(var(--start,0)_-_1)]"),markdownLink:o.cn(t.link(),"text-inkeep-primary-stronger hover:text-inkeep-primary-strong","dark:text-inkeep-expanded-primary-100 dark:hover:text-inkeep-expanded-primary-300"),markdownSourceLink:e.sup(),markdownTable:e.table({slot:"root"}),markdownTh:e.table({slot:"th"}),markdownTd:e.table({slot:"td"}),markdownCode:e.code(),codeblockContainer:e.codeblock({slot:"container"}),codeblockHeader:e.codeblock({slot:"header"}),codeblockCopyButton:o.cn(r.button({}),e.codeblock({slot:"copyButton"})),codeblockHighlighterWrapper:o.cn(),codeblockHighlighter:e.codeblock({slot:"highlighter"}),codeblockCode:"font-mono"};exports.markdownStyles=n;
|
|
@@ -4,8 +4,8 @@ import { link as d } from "./recipes/link.js";
|
|
|
4
4
|
import { codeblock as e, code as i, table as r, sup as l, list as t, heading as n } from "./recipes/markdown.js";
|
|
5
5
|
import { cn as o } from "../utils.js";
|
|
6
6
|
const p = {
|
|
7
|
-
markdownH1: n(),
|
|
8
|
-
markdownH2: n({ size: "
|
|
7
|
+
markdownH1: o(n({ size: "lg" }), "mb-3"),
|
|
8
|
+
markdownH2: o(n({ size: "md" }), "mb-2"),
|
|
9
9
|
markdownP: o("mb-3 break-words whitespace-pre-wrap", "[&+ol,&+li]:mt-0"),
|
|
10
10
|
markdownLi: o("[&_a]:break-words [&_a]:inline"),
|
|
11
11
|
markdownUl: t({ style: "unordered" }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("class-variance-authority"),r=e.cva("
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("class-variance-authority"),r=e.cva("tracking-tight font-semibold",{variants:{size:{lg:"text-xl",md:"text-md"}},defaultVariants:{size:"md"}}),t=e.cva("text-2sm ms-[1em] break-words pb-3 pl-7 relative [&_li]:mb-1",{variants:{style:{ordered:"list-decimal [counter-increment:item]",unordered:"list-[initial]"}}}),a=e.cva("",{variants:{slot:{root:"w-full border-collapse [font-variant-numeric:lining-nums_tabular-nums]",th:["font-heading font-bold uppercase tracking-wider text-start","data-[is-numeric=true]:text-end","border-b border-gray-100 dark:border-gray-700","text-gray-600 dark:text-gray-400","px-6 py-3 leading-4 text-xs"],td:["text-start data-[is-numeric=true]:text-end","border-b border-gray-100 dark:border-gray-700","px-6 py-4 leading-5"]},size:{md:""}}}),o=e.cva(["ml-[3px] cursor-pointer","[&_a]:bg-inkeep-primary-light","[&_a]:px-1","[&_a]:py-[1px]","[&_a]:rounded-sm","[&_a]:no-underline","[&_a]:text-inkeep-primary-text-subtle","[&_a]:hover:text-inkeep-primary-text-bold","[&_a]:font-semibold","[&_a]:dark:bg-inkeep-primary-text-subtle","[&_a]:dark:hover:text-inkeep-expanded-primary-200","[&_a]:hover:no-underline"]),i=e.cva(["bg-inkeep-primary-medium text-inkeep-primary-text-color-on-primary","[overflow-wrap:anywhere] min-w-0 py-[.2rem] my-[.1rem]","px-[.4rem] rounded-[6px] [font-size:85%!important]","font-semibold inline-block","font-mono "]),n=e.cva("",{variants:{slot:{container:"overflow-y-auto mb-3",header:["flex items-center justify-between","bg-gray-50 dark:bg-gray-dark-800","text-gray-600 dark:text-gray-400","mb-0 leading-[1.25] px-2 text-xs","transition-all duration-200 ease-in-out","rounded-[6px_6px_0_0]"],copyButton:["px-0 bg-inherit text-inherit","hover:text-gray-800 dark:text-white-alpha-700 dark:hover:text-white-alpha-950","dark:hover:bg-transparent h-8 w-8 min-h-8 min-w-8 text-sm","data-[copied]:text-inkeep-primary-medium"],highlighter:["text-1sm overflow-x-auto","rounded-[0_0_6px_6px]","p-[1em] whitespace-pre","m-[0px_0px_0.5em]","bg-gray-50 dark:bg-gray-dark-900","[scrollbar-width:thin]","[--scrollbar-color:var(--color-gray-300)]","dark:[--scrollbar-color:var(--color-gray-dark-600)]","[scrollbar-color:var(--scrollbar-color)_transparent]"]}}});exports.code=i;exports.codeblock=n;exports.heading=r;exports.list=t;exports.sup=o;exports.table=a;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ClassProp } from 'class-variance-authority/types';
|
|
2
2
|
export declare const heading: (props?: ({
|
|
3
|
-
size?: "
|
|
3
|
+
size?: "md" | "lg" | null | undefined;
|
|
4
4
|
} & ClassProp) | undefined) => string;
|
|
5
5
|
export declare const list: (props?: ({
|
|
6
6
|
style?: "ordered" | "unordered" | null | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ClassProp } from 'class-variance-authority/types';
|
|
2
2
|
export declare const heading: (props?: ({
|
|
3
|
-
size?: "
|
|
3
|
+
size?: "md" | "lg" | null | undefined;
|
|
4
4
|
} & ClassProp) | undefined) => string;
|
|
5
5
|
export declare const list: (props?: ({
|
|
6
6
|
style?: "ordered" | "unordered" | null | undefined;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { cva as e } from "class-variance-authority";
|
|
3
|
-
const t = e("
|
|
3
|
+
const t = e("tracking-tight font-semibold", {
|
|
4
4
|
variants: {
|
|
5
5
|
size: {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
lg: "text-xl",
|
|
7
|
+
md: "text-md"
|
|
8
8
|
}
|
|
9
9
|
},
|
|
10
10
|
defaultVariants: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/cxkit-styled",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Inkeep, Inc. Customer License (IICL) v1.1",
|
|
6
6
|
"homepage": "",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"clsx": "2.1.1",
|
|
25
25
|
"merge-anything": "6.0.2",
|
|
26
26
|
"tailwind-merge": "2.6.0",
|
|
27
|
-
"@inkeep/cxkit-primitives": "0.5.
|
|
27
|
+
"@inkeep/cxkit-primitives": "0.5.2"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@biomejs/biome": "1.9.4",
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"typescript": "5.7.3",
|
|
44
44
|
"vite": "5.4.11",
|
|
45
45
|
"vite-plugin-dts": "4.4.0",
|
|
46
|
-
"@inkeep/cxkit-theme": "0.5.
|
|
47
|
-
"@inkeep/cxkit-types": "0.5.
|
|
46
|
+
"@inkeep/cxkit-theme": "0.5.2",
|
|
47
|
+
"@inkeep/cxkit-types": "0.5.2"
|
|
48
48
|
},
|
|
49
49
|
"module": "dist/index.js",
|
|
50
50
|
"types": "dist/index.d.ts",
|