@mintlify/components 1.0.5 → 1.0.6
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/property/index.tsx"],"names":[],"mappings":"AAAA,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/property/index.tsx"],"names":[],"mappings":"AAAA,YAAY,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropertyProps } from './property';
|
|
2
2
|
type ParamHeadProps = Omit<PropertyProps, "children">;
|
|
3
3
|
declare const ParamHead: ({ name, type, location, required, deprecated, default: defaultValue, id, pre, post, onMount, navigateToHeaderAriaLabel, defaultLabel, requiredLabel, deprecatedLabel, }: ParamHeadProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
4
|
-
export { ParamHead };
|
|
4
|
+
export { ParamHead, type ParamHeadProps };
|
|
5
5
|
//# sourceMappingURL=param-head.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"param-head.d.ts","sourceRoot":"","sources":["../../../src/components/property/param-head.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAEhD,KAAK,cAAc,GAAG,IAAI,CAAC,aAAa,EAAE,UAAU,CAAC,CAAC;AAEtD,QAAA,MAAM,SAAS,GAAI,yKAehB,cAAc,mDA4HhB,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,CAAC"}
|
|
1
|
+
{"version":3,"file":"param-head.d.ts","sourceRoot":"","sources":["../../../src/components/property/param-head.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAEhD,KAAK,cAAc,GAAG,IAAI,CAAC,aAAa,EAAE,UAAU,CAAC,CAAC;AAEtD,QAAA,MAAM,SAAS,GAAI,yKAehB,cAAc,mDA4HhB,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -2,9 +2,9 @@ import { cn as e } from "./utils/cn.js";
|
|
|
2
2
|
import { getInitialOpenState as p, updateAndCopyUrl as m } from "./components/accordion/accordion-url-utils.js";
|
|
3
3
|
import { Accordion as x } from "./components/accordion/index.js";
|
|
4
4
|
import { Badge as n } from "./components/badge/badge.js";
|
|
5
|
-
import { Callout as
|
|
6
|
-
import { Card as
|
|
7
|
-
import { BaseCodeBlock as
|
|
5
|
+
import { Callout as l, Check as c, Danger as i, Info as C, Note as S, Tip as T, Warning as s } from "./components/callout/callout.js";
|
|
6
|
+
import { Card as P } from "./components/card/card.js";
|
|
7
|
+
import { BaseCodeBlock as B } from "./components/code-block/base-code-block.js";
|
|
8
8
|
import { CodeBlock as g } from "./components/code-block/code-block.js";
|
|
9
9
|
import { CodeGroup as k } from "./components/code-group/code-group.js";
|
|
10
10
|
import { Color as b } from "./components/color/color.js";
|
|
@@ -12,28 +12,29 @@ import { Columns as A } from "./components/columns/columns.js";
|
|
|
12
12
|
import { Expandable as _ } from "./components/expandable/expandable.js";
|
|
13
13
|
import { Frame as w } from "./components/frame/frame.js";
|
|
14
14
|
import { Icon as F } from "./components/icon/icon.js";
|
|
15
|
-
import { Mermaid as
|
|
16
|
-
import { usePanZoom as
|
|
17
|
-
import { ZoomControls as
|
|
18
|
-
import { Panel as
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
15
|
+
import { Mermaid as H } from "./components/mermaid/mermaid.js";
|
|
16
|
+
import { usePanZoom as M } from "./components/mermaid/use-pan-zoom.js";
|
|
17
|
+
import { ZoomControls as O } from "./components/mermaid/zoom-controls.js";
|
|
18
|
+
import { Panel as W } from "./components/panel/panel.js";
|
|
19
|
+
import { ParamHead as q } from "./components/property/param-head.js";
|
|
20
|
+
import { Property as J } from "./components/property/property.js";
|
|
21
|
+
import { SearchButton as Q } from "./components/search/button.js";
|
|
22
|
+
import { SearchProvider as X, useSearch as Y } from "./components/search/provider.js";
|
|
23
|
+
import { Search as oo } from "./components/search/search.js";
|
|
24
|
+
import { STEP_TITLE_SIZES as eo } from "./components/steps/constants.js";
|
|
25
|
+
import { Steps as po } from "./components/steps/steps.js";
|
|
26
|
+
import { Tabs as fo } from "./components/tabs/tabs.js";
|
|
27
|
+
import { Tile as ao } from "./components/tile/tile.js";
|
|
28
|
+
import { Tooltip as lo } from "./components/tooltip/tooltip.js";
|
|
29
|
+
import { Tree as io } from "./components/tree/index.js";
|
|
30
|
+
import { Update as So } from "./components/update/update.js";
|
|
31
|
+
import { View as so } from "./components/view/view.js";
|
|
31
32
|
export {
|
|
32
33
|
x as Accordion,
|
|
33
34
|
n as Badge,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
B as BaseCodeBlock,
|
|
36
|
+
l as Callout,
|
|
37
|
+
P as Card,
|
|
37
38
|
c as Check,
|
|
38
39
|
g as CodeBlock,
|
|
39
40
|
k as CodeGroup,
|
|
@@ -44,27 +45,28 @@ export {
|
|
|
44
45
|
w as Frame,
|
|
45
46
|
F as Icon,
|
|
46
47
|
C as Info,
|
|
47
|
-
|
|
48
|
+
H as Mermaid,
|
|
48
49
|
S as Note,
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
Q as
|
|
55
|
-
|
|
56
|
-
po as
|
|
57
|
-
fo as
|
|
50
|
+
W as Panel,
|
|
51
|
+
q as ParamHead,
|
|
52
|
+
J as Property,
|
|
53
|
+
eo as STEP_TITLE_SIZES,
|
|
54
|
+
oo as Search,
|
|
55
|
+
Q as SearchButton,
|
|
56
|
+
X as SearchProvider,
|
|
57
|
+
po as Steps,
|
|
58
|
+
fo as Tabs,
|
|
59
|
+
ao as Tile,
|
|
58
60
|
T as Tip,
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
lo as Tooltip,
|
|
62
|
+
io as Tree,
|
|
63
|
+
So as Update,
|
|
64
|
+
so as View,
|
|
63
65
|
s as Warning,
|
|
64
|
-
|
|
66
|
+
O as ZoomControls,
|
|
65
67
|
e as cn,
|
|
66
68
|
p as getInitialOpenState,
|
|
67
69
|
m as updateAndCopyUrl,
|
|
68
|
-
|
|
69
|
-
|
|
70
|
+
M as usePanZoom,
|
|
71
|
+
Y as useSearch
|
|
70
72
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mintlify/components",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "Mintlify open-source UI components",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -76,8 +76,8 @@
|
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|
|
78
78
|
"@shikijs/types": "3.21.0",
|
|
79
|
-
"@storybook/addon-docs": "10.
|
|
80
|
-
"@storybook/react-vite": "10.
|
|
79
|
+
"@storybook/addon-docs": "10.2.10",
|
|
80
|
+
"@storybook/react-vite": "10.2.10",
|
|
81
81
|
"@tailwindcss/cli": "4.1.18",
|
|
82
82
|
"@tailwindcss/postcss": "4.1.18",
|
|
83
83
|
"@tailwindcss/typography": "0.5.19",
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
"react": "18.3.1",
|
|
99
99
|
"react-dom": "18.3.1",
|
|
100
100
|
"rimraf": "6.0.1",
|
|
101
|
-
"storybook": "10.
|
|
101
|
+
"storybook": "10.2.10",
|
|
102
102
|
"tailwindcss": "4.1.18",
|
|
103
103
|
"typescript": "5.9.3",
|
|
104
104
|
"ultracite": "7.0.12",
|