@qualcomm-ui/react-mdx 1.2.1 → 1.2.3
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/all.min.css +1 -1
- package/dist/angular-logo/index.js +1 -1
- package/dist/angular-logo/index.js.map +2 -2
- package/dist/code-demo/index.js +5 -5
- package/dist/code-demo/index.js.map +2 -2
- package/dist/code-highlight/index.js +1 -1
- package/dist/code-highlight/index.js.map +2 -2
- package/dist/context/index.js +1 -1
- package/dist/context/index.js.map +2 -2
- package/dist/copy-to-clipboard/index.js +1 -1
- package/dist/copy-to-clipboard/index.js.map +2 -2
- package/dist/deprecated-module/index.js +1 -1
- package/dist/deprecated-module/index.js.map +2 -2
- package/dist/docs-layout/index.js +1 -1
- package/dist/docs-layout/index.js.map +4 -4
- package/dist/file-tree/index.js +1 -1
- package/dist/file-tree/index.js.map +2 -2
- package/dist/icons/index.js +1 -1
- package/dist/icons/index.js.map +2 -2
- package/dist/not-found/index.js +1 -1
- package/dist/not-found/index.js.map +2 -2
- package/dist/npm-install-tabs/index.js +1 -1
- package/dist/npm-install-tabs/index.js.map +2 -2
- package/dist/qui-ecosystem/index.js +1 -1
- package/dist/qui-ecosystem/index.js.map +2 -2
- package/dist/react-logo/index.js +1 -1
- package/dist/react-logo/index.js.map +2 -2
- package/dist/runner/index.js +1 -1
- package/dist/runner/index.js.map +2 -2
- package/dist/shiki/index.js +1 -1
- package/dist/shiki/index.js.map +2 -2
- package/dist/site-search/index.js +1 -1
- package/dist/site-search/index.js.map +4 -4
- package/dist/spoiler/index.js +1 -1
- package/dist/spoiler/index.js.map +2 -2
- package/dist/tsbuildinfo +1 -1
- package/dist/typedoc/index.js +6 -6
- package/dist/typedoc/index.js.map +4 -4
- package/dist/typedoc/prop-description/prop-description-inline-tag.d.ts.map +1 -1
- package/package.json +4 -4
package/dist/spoiler/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import{Fragment
|
|
2
|
+
import{Fragment,jsx,jsxs}from"react/jsx-runtime";import{ChevronRight}from"lucide-react";import{Collapsible}from"@qualcomm-ui/react/collapsible";import{Icon}from"@qualcomm-ui/react/icon";import{mergeProps}from"@qualcomm-ui/utils/merge-props";function SpoilerRoot({children,...props}){return jsx(Collapsible.Root,{...mergeProps({className:"mdx-spoiler__root"},props),children})}function SpoilerSummary({children}){return jsxs(Collapsible.Trigger,{className:"mdx-spoiler__trigger",children:[jsx(Fragment,{children}),jsx(Icon,{className:"mdx-spoiler__indicator",icon:ChevronRight})]})}function SpoilerContent({children}){return jsx(Collapsible.Content,{className:"mdx-spoiler__content",children:jsx("div",{className:"mdx-spoiler__content-body",children})})}export{SpoilerContent,SpoilerRoot,SpoilerSummary};
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/spoiler/spoiler.tsx"],
|
|
4
4
|
"sourcesContent": ["import { Fragment, jsx, jsxs } from \"react/jsx-runtime\";\nimport { ChevronRight } from \"lucide-react\";\nimport { Collapsible } from \"@qualcomm-ui/react/collapsible\";\nimport { Icon } from \"@qualcomm-ui/react/icon\";\nimport { mergeProps } from \"@qualcomm-ui/utils/merge-props\";\nexport function SpoilerRoot({\n children,\n ...props\n}) {\n return /* @__PURE__ */jsx(Collapsible.Root, {\n ...mergeProps({\n className: \"mdx-spoiler__root\"\n }, props),\n children\n });\n}\nexport function SpoilerSummary({\n children\n}) {\n return /* @__PURE__ */jsxs(Collapsible.Trigger, {\n className: \"mdx-spoiler__trigger\",\n children: [/* @__PURE__ */jsx(Fragment, {\n children\n }), /* @__PURE__ */jsx(Icon, {\n className: \"mdx-spoiler__indicator\",\n icon: ChevronRight\n })]\n });\n}\nexport function SpoilerContent({\n children\n}) {\n return /* @__PURE__ */jsx(Collapsible.Content, {\n className: \"mdx-spoiler__content\",\n children: /* @__PURE__ */jsx(\"div\", {\n className: \"mdx-spoiler__content-body\",\n children\n })\n });\n}"],
|
|
5
|
-
"mappings": ";AAAA,OAAS,
|
|
6
|
-
"names": [
|
|
5
|
+
"mappings": ";AAAA,OAAS,SAAU,IAAK,SAAY,oBACpC,OAAS,iBAAoB,eAC7B,OAAS,gBAAmB,iCAC5B,OAAS,SAAY,0BACrB,OAAS,eAAkB,iCACpB,SAAS,YAAY,CAC1B,SACA,GAAG,KACL,EAAG,CACD,OAAsB,IAAI,YAAY,KAAM,CAC1C,GAAG,WAAW,CACZ,UAAW,mBACb,EAAG,KAAK,EACR,QACF,CAAC,CACH,CACO,SAAS,eAAe,CAC7B,QACF,EAAG,CACD,OAAsB,KAAK,YAAY,QAAS,CAC9C,UAAW,uBACX,SAAU,CAAgB,IAAI,SAAU,CACtC,QACF,CAAC,EAAkB,IAAI,KAAM,CAC3B,UAAW,yBACX,KAAM,YACR,CAAC,CAAC,CACJ,CAAC,CACH,CACO,SAAS,eAAe,CAC7B,QACF,EAAG,CACD,OAAsB,IAAI,YAAY,QAAS,CAC7C,UAAW,uBACX,SAAyB,IAAI,MAAO,CAClC,UAAW,4BACX,QACF,CAAC,CACH,CAAC,CACH",
|
|
6
|
+
"names": []
|
|
7
7
|
}
|