@mintlify/components 0.3.15 → 0.4.0
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/README.md +22 -123
- package/dist/components/badge/badge.css +1 -0
- package/dist/components/badge/badge.js +52 -0
- package/dist/components/icon/icon.css +1 -0
- package/dist/components/icon/icon.js +47 -0
- package/dist/index.d.ts +401 -16
- package/dist/index.js +12 -2
- package/dist/styles/design-tokens.js +339 -0
- package/dist/styles/theme.css +1 -0
- package/dist/utils/cn.js +7 -0
- package/package.json +62 -89
- package/.eslintrc.json +0 -11
- package/.github/dependabot.yml +0 -10
- package/.github/workflows/chromatic.yaml +0 -27
- package/.github/workflows/code-style-checks.yaml +0 -13
- package/.github/workflows/sanity.yml +0 -13
- package/.husky/pre-commit +0 -4
- package/.prettierignore +0 -49
- package/.prettierrc +0 -1
- package/CODEOWNERS +0 -1
- package/LICENSE +0 -21
- package/dist/Accordion/Accordion.d.ts +0 -18
- package/dist/Accordion/AccordionCover.d.ts +0 -10
- package/dist/Accordion/AccordionGroup.d.ts +0 -5
- package/dist/Accordion/getAccordionStyleFromType.d.ts +0 -5
- package/dist/Accordion/index.d.ts +0 -3
- package/dist/Api/ApiPlayground.d.ts +0 -22
- package/dist/Api/BaseUrlDropdown.d.ts +0 -9
- package/dist/Api/RequestMethodBubble.d.ts +0 -4
- package/dist/Api/RequestPathHeader.d.ts +0 -13
- package/dist/Api/index.d.ts +0 -4
- package/dist/Api/inputs/AddArrayItemButton.d.ts +0 -4
- package/dist/Api/inputs/ApiInput.d.ts +0 -15
- package/dist/Api/inputs/InputDropdown.d.ts +0 -5
- package/dist/Api/types.d.ts +0 -16
- package/dist/AppearFromTop.d.ts +0 -6
- package/dist/Button.d.ts +0 -42
- package/dist/Callouts.d.ts +0 -10
- package/dist/Card.d.ts +0 -33
- package/dist/CardGroup.d.ts +0 -5
- package/dist/Code/CodeBlock.d.ts +0 -19
- package/dist/Code/CodeGroup.d.ts +0 -29
- package/dist/Code/CopyToClipboardButton.d.ts +0 -7
- package/dist/Code/index.d.ts +0 -4
- package/dist/Expandable/Expandable.d.ts +0 -9
- package/dist/Expandable/ExpandableCover.d.ts +0 -11
- package/dist/Expandable/index.d.ts +0 -2
- package/dist/Frame.d.ts +0 -14
- package/dist/Param.d.ts +0 -14
- package/dist/PillSelect.d.ts +0 -11
- package/dist/Tabs/Tab.d.ts +0 -6
- package/dist/Tabs/Tabs.d.ts +0 -4
- package/dist/Tabs/index.d.ts +0 -3
- package/dist/Tooltip.d.ts +0 -5
- package/dist/index.js.LICENSE.txt +0 -9
- package/dist/main.css +0 -1
- package/dist/utils/apiPlaygroundColors.d.ts +0 -4
- package/dist/utils/copyToClipboard.d.ts +0 -2
- package/dist/utils/delay.d.ts +0 -1
- package/dist/utils/getNodeText.d.ts +0 -1
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export declare const getMethodBgColor: (method?: string) => "bg-green-600" | "bg-blue-600" | "bg-yellow-600" | "bg-red-600" | "bg-orange-600" | "bg-slate-600";
|
|
2
|
-
export declare const getMethodBgHoverColor: (method?: string) => "hover:bg-green-800 disabled:bg-green-700" | "hover:bg-blue-800 disabled:bg-blue-700" | "hover:bg-yellow-800 disabled:bg-yellow-700" | "hover:bg-red-800 disabled:bg-red-700" | "hover:bg-orange-800 disabled:bg-orange-700" | "hover:bg-slate-800 disabled:bg-slate-700";
|
|
3
|
-
export declare const getMethodTextColor: (method?: string) => "text-green-600 dark:text-green-500" | "text-blue-600 dark:text-blue-500" | "text-yellow-600 dark:text-yellow-500" | "text-red-600 dark:text-red-500" | "text-orange-600 dark:text-orange-500" | "text-slate-600 dark:text-slate-500";
|
|
4
|
-
export declare const getMethodBorderColor: (method?: string) => "border-green-600 dark:border-green-500" | "border-blue-600 dark:border-blue-500" | "border-yellow-600 dark:border-yellow-500" | "border-red-600 dark:border-red-500" | "border-orange-600 dark:border-orange-500" | "border-slate-600 dark:border-slate-500";
|
package/dist/utils/delay.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const delay: (ms: number) => Promise<unknown>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getNodeText: (node: any) => string;
|