@digi-frontend/dgate-api-documentation 1.0.39 → 1.0.50
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/.editorconfig +12 -12
- package/.prettierignore +7 -7
- package/.prettierrc +15 -15
- package/dist/{a7568b270e175038.svg → 070dc6ecd197bc80.svg} +8 -8
- package/dist/16702d92fd6d1730.svg +6 -0
- package/dist/2b546d6e9fdf604a.svg +3 -0
- package/dist/2c3c6c2c3b835504.svg +5 -0
- package/dist/{43595976d1fdccbf.svg → 2e10bbdb265df50e.svg} +4 -4
- package/dist/55b5994c5781482b.svg +5 -0
- package/dist/60bef8083c55f46b.svg +6 -0
- package/dist/68c710e0583e19e6.svg +5 -0
- package/dist/731221b3f242672d.svg +4 -0
- package/dist/{b82c7612e73342f3.svg → 7f54eeb0bb2d1150.svg} +3 -3
- package/dist/8520b6792278d9df.svg +6 -0
- package/dist/{56dc416b683db280.svg → 8789eb84283ea95b.svg} +5 -5
- package/dist/9506ef7a26a74147.svg +12 -0
- package/dist/9b7aee27757b5036.svg +3 -0
- package/dist/{af16a554be8c4d69.svg → 9bdff13f8d8fa48a.svg} +3 -3
- package/dist/_virtual/core.js +2 -0
- package/dist/_virtual/core.js.map +1 -0
- package/dist/_virtual/core2.js +2 -0
- package/dist/_virtual/core2.js.map +1 -0
- package/dist/_virtual/format.js +2 -0
- package/dist/_virtual/format.js.map +1 -0
- package/dist/_virtual/index3.js +1 -1
- package/dist/_virtual/index6.js +1 -1
- package/dist/{64efc2716808c4a4.svg → bb8b87cace25e052.svg} +3 -3
- package/dist/cceb1e5dc06b0b85.svg +4 -0
- package/dist/d140a601c85bac25.svg +3 -0
- package/dist/{72db3b05a96dd600.svg → d32ce84bbd78babd.svg} +3 -3
- package/dist/{844eba3f2e42a9eb.svg → d501922060662842.svg} +3 -3
- package/dist/d6d0a98ec38e6b77.svg +3 -0
- package/dist/e04479ad425e7d58.svg +4 -0
- package/dist/f4452c3ebcf0d5da.svg +4 -0
- package/dist/f4a32992f02af522.svg +5 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +2 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +2 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/defineProperty.js +2 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/defineProperty.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/extends.js +2 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/extends.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +2 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArray.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +2 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +2 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +2 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +2 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +2 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +2 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/typeof.js +2 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/typeof.js.map +1 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +2 -0
- package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js.map +1 -0
- package/dist/node_modules/dom-serializer/lib/foreignNames.js +2 -0
- package/dist/node_modules/dom-serializer/lib/foreignNames.js.map +1 -0
- package/dist/node_modules/dom-serializer/lib/index.js +2 -0
- package/dist/node_modules/dom-serializer/lib/index.js.map +1 -0
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/decode.js +2 -0
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/decode.js.map +1 -0
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/decode_codepoint.js +2 -0
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/decode_codepoint.js.map +1 -0
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/encode.js +2 -0
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/encode.js.map +1 -0
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/escape.js +2 -0
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/escape.js.map +1 -0
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/generated/decode-data-html.js +2 -0
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/generated/decode-data-html.js.map +1 -0
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/generated/decode-data-xml.js +2 -0
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/generated/decode-data-xml.js.map +1 -0
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/generated/encode-html.js +2 -0
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/generated/encode-html.js.map +1 -0
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/index.js +2 -0
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/index.js.map +1 -0
- package/dist/node_modules/domhandler/lib/index.js +2 -0
- package/dist/node_modules/domhandler/lib/index.js.map +1 -0
- package/dist/node_modules/domhandler/lib/node.js +2 -0
- package/dist/node_modules/domhandler/lib/node.js.map +1 -0
- package/dist/node_modules/domutils/lib/feeds.js +2 -0
- package/dist/node_modules/domutils/lib/feeds.js.map +1 -0
- package/dist/node_modules/domutils/lib/helpers.js +2 -0
- package/dist/node_modules/domutils/lib/helpers.js.map +1 -0
- package/dist/node_modules/domutils/lib/index.js +2 -0
- package/dist/node_modules/domutils/lib/index.js.map +1 -0
- package/dist/node_modules/domutils/lib/legacy.js +2 -0
- package/dist/node_modules/domutils/lib/legacy.js.map +1 -0
- package/dist/node_modules/domutils/lib/manipulation.js +2 -0
- package/dist/node_modules/domutils/lib/manipulation.js.map +1 -0
- package/dist/node_modules/domutils/lib/querying.js +2 -0
- package/dist/node_modules/domutils/lib/querying.js.map +1 -0
- package/dist/node_modules/domutils/lib/stringify.js +2 -0
- package/dist/node_modules/domutils/lib/stringify.js.map +1 -0
- package/dist/node_modules/domutils/lib/traversal.js +2 -0
- package/dist/node_modules/domutils/lib/traversal.js.map +1 -0
- package/dist/node_modules/entities/dist/commonjs/decode-codepoint.js +2 -0
- package/dist/node_modules/entities/dist/commonjs/decode-codepoint.js.map +1 -0
- package/dist/node_modules/entities/dist/commonjs/decode.js +2 -0
- package/dist/node_modules/entities/dist/commonjs/decode.js.map +1 -0
- package/dist/node_modules/entities/dist/commonjs/generated/decode-data-html.js +2 -0
- package/dist/node_modules/entities/dist/commonjs/generated/decode-data-html.js.map +1 -0
- package/dist/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +2 -0
- package/dist/node_modules/entities/dist/commonjs/generated/decode-data-xml.js.map +1 -0
- package/dist/node_modules/fault/index.js +2 -0
- package/dist/node_modules/fault/index.js.map +1 -0
- package/dist/node_modules/format/format.js +2 -0
- package/dist/node_modules/format/format.js.map +1 -0
- package/dist/node_modules/highlight.js/lib/core.js +2 -0
- package/dist/node_modules/highlight.js/lib/core.js.map +1 -0
- package/dist/node_modules/html-dom-parser/lib/server/html-to-dom.js +1 -1
- package/dist/node_modules/html-dom-parser/lib/server/html-to-dom.js.map +1 -1
- package/dist/node_modules/html-react-parser/lib/index.js +1 -1
- package/dist/node_modules/html-react-parser/lib/index.js.map +1 -1
- package/dist/node_modules/htmlparser2/dist/commonjs/Parser.js +1 -1
- package/dist/node_modules/htmlparser2/dist/commonjs/Parser.js.map +1 -1
- package/dist/node_modules/htmlparser2/dist/commonjs/Tokenizer.js +1 -1
- package/dist/node_modules/htmlparser2/dist/commonjs/Tokenizer.js.map +1 -1
- package/dist/node_modules/htmlparser2/dist/commonjs/index.js +1 -1
- package/dist/node_modules/htmlparser2/dist/commonjs/index.js.map +1 -1
- package/dist/node_modules/lowlight/lib/core.js +2 -0
- package/dist/node_modules/lowlight/lib/core.js.map +1 -0
- package/dist/node_modules/nanoid/index.js +2 -0
- package/dist/node_modules/nanoid/index.js.map +1 -0
- package/dist/node_modules/nanoid/url-alphabet/index.js +2 -0
- package/dist/node_modules/nanoid/url-alphabet/index.js.map +1 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/checkForListedLanguage.js +2 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/checkForListedLanguage.js.map +1 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/create-element.js +2 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/create-element.js.map +1 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/highlight.js +2 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/highlight.js.map +1 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/light.js +2 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/light.js.map +1 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/stackoverflow-dark.js +2 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/stackoverflow-dark.js.map +1 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/stackoverflow-light.js +2 -0
- package/dist/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/stackoverflow-light.js.map +1 -0
- package/dist/node_modules/style-to-object/cjs/index.js +1 -1
- package/dist/node_modules/yup/index.esm.js +1 -1
- package/dist/src/assets/icons/AddRow.svg.js +1 -1
- package/dist/src/assets/icons/AddRow.svg.js.map +1 -1
- package/dist/src/assets/icons/ApiIcon.svg.js +2 -0
- package/dist/src/assets/icons/ApiIcon.svg.js.map +1 -0
- package/dist/src/assets/icons/ArrowBack.svg.js +2 -0
- package/dist/src/assets/icons/ArrowBack.svg.js.map +1 -0
- package/dist/src/assets/icons/BookIcon.svg.js +2 -0
- package/dist/src/assets/icons/BookIcon.svg.js.map +1 -0
- package/dist/src/assets/icons/CopySticker.svg.js +2 -0
- package/dist/src/assets/icons/CopySticker.svg.js.map +1 -0
- package/dist/src/assets/icons/DeleteIcon.svg.js +1 -1
- package/dist/src/assets/icons/DeleteIcon.svg.js.map +1 -1
- package/dist/src/assets/icons/DeleteOutlinedIcon.svg.js +2 -0
- package/dist/src/assets/icons/DeleteOutlinedIcon.svg.js.map +1 -0
- package/dist/src/assets/icons/DownArrow.svg.js +1 -1
- package/dist/src/assets/icons/DownArrow.svg.js.map +1 -1
- package/dist/src/assets/icons/EditIcon.svg.js +1 -1
- package/dist/src/assets/icons/EditIcon.svg.js.map +1 -1
- package/dist/src/assets/icons/FilterIcon.svg.js +2 -0
- package/dist/src/assets/icons/FilterIcon.svg.js.map +1 -0
- package/dist/src/assets/icons/Plus.svg.js +2 -0
- package/dist/src/assets/icons/Plus.svg.js.map +1 -0
- package/dist/src/assets/icons/PlusSquare.svg.js +2 -0
- package/dist/src/assets/icons/PlusSquare.svg.js.map +1 -0
- package/dist/src/assets/icons/RequestOption.svg.js +2 -0
- package/dist/src/assets/icons/RequestOption.svg.js.map +1 -0
- package/dist/src/assets/icons/UpArrow.svg.js +1 -1
- package/dist/src/assets/icons/UpArrow.svg.js.map +1 -1
- package/dist/src/assets/icons/arrowDownGray.svg.js +2 -0
- package/dist/src/assets/icons/arrowDownGray.svg.js.map +1 -0
- package/dist/src/assets/icons/arrowRightGray.svg.js +2 -0
- package/dist/src/assets/icons/arrowRightGray.svg.js.map +1 -0
- package/dist/src/assets/icons/close-circle.svg.js +2 -0
- package/dist/src/assets/icons/close-circle.svg.js.map +1 -0
- package/dist/src/assets/icons/copy.svg.js +2 -0
- package/dist/src/assets/icons/copy.svg.js.map +1 -0
- package/dist/src/assets/icons/document.svg.js +2 -0
- package/dist/src/assets/icons/document.svg.js.map +1 -0
- package/dist/src/assets/icons/eye.svg.js +2 -0
- package/dist/src/assets/icons/eye.svg.js.map +1 -0
- package/dist/src/assets/icons/infoIcon.svg.js +2 -0
- package/dist/src/assets/icons/infoIcon.svg.js.map +1 -0
- package/dist/src/assets/icons/searchIcon.svg.js +2 -0
- package/dist/src/assets/icons/searchIcon.svg.js.map +1 -0
- package/dist/src/components/InfoForm/InfoForm.js +1 -1
- package/dist/src/components/InfoForm/InfoForm.js.map +1 -1
- package/dist/src/components/JsonInput/JsonInput.js.map +1 -1
- package/dist/src/components/LivePreview/LivePreview.js +1 -1
- package/dist/src/components/LivePreview/LivePreview.js.map +1 -1
- package/dist/src/components/MethodAccordion/MethodAccordion.js +1 -1
- package/dist/src/components/MethodAccordion/MethodAccordion.js.map +1 -1
- package/dist/src/components/SVGLoader/SVGLoader.js.map +1 -1
- package/dist/src/components/SectionHead/SectionHead.js.map +1 -1
- package/dist/src/components/SimpleLabelValue/SimpleLabelValue.js.map +1 -1
- package/dist/src/components/Tooltip/Tooltip.js.map +1 -1
- package/dist/src/components/dialog/index.js +1 -1
- package/dist/src/components/dialog/index.js.map +1 -1
- package/dist/src/components/table/table.js +1 -1
- package/dist/src/components/table/table.js.map +1 -1
- package/dist/src/components/table/tags-table.js.map +1 -1
- package/dist/src/constants/index.js +1 -1
- package/dist/src/constants/index.js.map +1 -1
- package/dist/src/constants/methods.constant.js +2 -0
- package/dist/src/constants/methods.constant.js.map +1 -0
- package/dist/src/constants/regex.js.map +1 -1
- package/dist/src/helpers/docs.helper.js +2 -0
- package/dist/src/helpers/docs.helper.js.map +1 -0
- package/dist/src/helpers/layout.helper.js +1 -1
- package/dist/src/helpers/layout.helper.js.map +1 -1
- package/dist/src/helpers/methodAccordion.helper.js.map +1 -1
- package/dist/src/index.js +1 -1
- package/dist/src/layout/docsComponents/Codebox/Codebox.js +2 -0
- package/dist/src/layout/docsComponents/Codebox/Codebox.js.map +1 -0
- package/dist/src/layout/docsComponents/Codebox/style.module.scss.js +2 -0
- package/dist/src/layout/docsComponents/Codebox/style.module.scss.js.map +1 -0
- package/dist/src/layout/docsComponents/DocsAside/DocsAside.js +2 -0
- package/dist/src/layout/docsComponents/DocsAside/DocsAside.js.map +1 -0
- package/dist/src/layout/docsComponents/DocsAside/style.module.scss.js +2 -0
- package/dist/src/layout/docsComponents/DocsAside/style.module.scss.js.map +1 -0
- package/dist/src/layout/docsComponents/DocsContent/DocsContent.js +2 -0
- package/dist/src/layout/docsComponents/DocsContent/DocsContent.js.map +1 -0
- package/dist/src/layout/docsComponents/DocsContent/EndpointPage/index.js +2 -0
- package/dist/src/layout/docsComponents/DocsContent/EndpointPage/index.js.map +1 -0
- package/dist/src/layout/docsComponents/DocsContent/TagPage/index.js +2 -0
- package/dist/src/layout/docsComponents/DocsContent/TagPage/index.js.map +1 -0
- package/dist/src/layout/docsComponents/DocsHeader/DocsHeader.js +2 -0
- package/dist/src/layout/docsComponents/DocsHeader/DocsHeader.js.map +1 -0
- package/dist/src/layout/docsComponents/DocsHeader/DocsHeader.module.scss.js +2 -0
- package/dist/src/layout/docsComponents/DocsHeader/DocsHeader.module.scss.js.map +1 -0
- package/dist/src/layout/docsComponents/DocsSideMenuTree/DocsSideMenuTree.js +2 -0
- package/dist/src/layout/docsComponents/DocsSideMenuTree/DocsSideMenuTree.js.map +1 -0
- package/dist/src/layout/docsComponents/index.js +2 -0
- package/dist/src/layout/docsComponents/index.js.map +1 -0
- package/dist/src/layout/docsLayout.js +2 -0
- package/dist/src/layout/docsLayout.js.map +1 -0
- package/dist/src/layout/layout.js +1 -1
- package/dist/src/layout/layout.js.map +1 -1
- package/dist/src/layout/layout.module.css.js +1 -1
- package/dist/src/utils/index.js +2 -0
- package/dist/src/utils/index.js.map +1 -0
- package/dist/src/validator/form.scheme.js +1 -1
- package/dist/src/validator/form.scheme.js.map +1 -1
- package/dist/styles.css +1646 -348
- package/dist/types/assets/icons/index.d.ts +17 -1
- package/dist/types/components/LivePreview/LivePreview.d.ts +1 -0
- package/dist/types/components/MethodAccordion/MethodAccordion.d.ts +2 -1
- package/dist/types/components/dialog/dialog.d.ts +4 -0
- package/dist/types/components/dialog/index.d.ts +1 -1
- package/dist/types/components/table/table.d.ts +2 -1
- package/dist/types/constants/methods.constant.d.ts +16 -0
- package/dist/types/helpers/docs.helper.d.ts +3 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/layout/docsComponents/Codebox/Codebox.d.ts +4 -0
- package/dist/types/layout/docsComponents/DocsAside/DocsAside.d.ts +5 -0
- package/dist/types/layout/docsComponents/DocsContent/DocsContent.d.ts +6 -0
- package/dist/types/layout/docsComponents/DocsContent/EndpointPage/index.d.ts +4 -0
- package/dist/types/layout/docsComponents/DocsContent/TagPage/index.d.ts +4 -0
- package/dist/types/layout/docsComponents/DocsHeader/DocsHeader.d.ts +3 -0
- package/dist/types/layout/docsComponents/DocsSideMenuTree/DocsSideMenuTree.d.ts +9 -0
- package/dist/types/layout/docsComponents/index.d.ts +17 -0
- package/dist/types/layout/docsLayout.d.ts +33 -0
- package/dist/types/layout/layout.d.ts +2 -1
- package/dist/types/types/layout.type.d.ts +1 -0
- package/dist/types/types/openApi.d.ts +4 -4
- package/dist/types/utils/index.d.ts +1 -0
- package/dist/types/validator/form.scheme.d.ts +10 -2
- package/package.json +46 -43
- package/rollup.config.js +37 -35
- package/src/assets/icons/AddRow.svg +3 -3
- package/src/assets/icons/ApiIcon.svg +12 -0
- package/src/assets/icons/ArrowBack.svg +3 -0
- package/src/assets/icons/BookIcon.svg +6 -0
- package/src/assets/icons/CheckMarkSquare.svg +5 -5
- package/src/assets/icons/CloseIcon.svg +4 -4
- package/src/assets/icons/CopySticker.svg +6 -0
- package/src/assets/icons/DeleteIcon.svg +3 -3
- package/src/assets/icons/DeleteOutlinedIcon.svg +8 -0
- package/src/assets/icons/DownArrow.svg +3 -3
- package/src/assets/icons/EditIcon.svg +3 -3
- package/src/assets/icons/FilterIcon.svg +4 -0
- package/src/assets/icons/Plus.svg +5 -0
- package/src/assets/icons/PlusSquare.svg +3 -0
- package/src/assets/icons/RequestOption.svg +5 -0
- package/src/assets/icons/UpArrow.svg +3 -3
- package/src/assets/icons/arrowDownGray.svg +3 -0
- package/src/assets/icons/arrowRightGray.svg +3 -0
- package/src/assets/icons/close-circle.svg +5 -0
- package/src/assets/icons/copy.svg +4 -0
- package/src/assets/icons/deleteOutlinedIcon.svg +8 -8
- package/src/assets/icons/document.svg +6 -0
- package/src/assets/icons/eye.svg +4 -0
- package/src/assets/icons/index.ts +24 -8
- package/src/assets/icons/infoIcon.svg +5 -0
- package/src/assets/icons/searchIcon.svg +4 -0
- package/src/components/Chips/Chips.tsx +87 -87
- package/src/components/Chips/style.scss +147 -147
- package/src/components/InfoForm/InfoForm.module.scss +165 -165
- package/src/components/InfoForm/InfoForm.tsx +423 -428
- package/src/components/JsonInput/JsonInput.tsx +149 -149
- package/src/components/JsonInput/style.module.scss +133 -133
- package/src/components/LivePreview/LivePreview.module.scss +180 -24
- package/src/components/LivePreview/LivePreview.tsx +226 -191
- package/src/components/MethodAccordion/MethodAccordion.module.scss +395 -338
- package/src/components/MethodAccordion/MethodAccordion.tsx +678 -514
- package/src/components/SVGLoader/SVGLoader.tsx +96 -94
- package/src/components/SectionHead/SectionHead.scss +29 -29
- package/src/components/SectionHead/SectionHead.tsx +22 -22
- package/src/components/SimpleLabelValue/SimpleLabelValue.tsx +31 -31
- package/src/components/SimpleLabelValue/index.ts +1 -1
- package/src/components/SimpleLabelValue/style.scss +30 -30
- package/src/components/Tooltip/Tooltip.scss +133 -133
- package/src/components/Tooltip/Tooltip.tsx +85 -85
- package/src/components/_global.scss +337 -337
- package/src/components/dialog/dialog.ts +58 -54
- package/src/components/dialog/index.tsx +89 -85
- package/src/components/dialog/style.scss +188 -104
- package/src/components/table/style.scss +217 -190
- package/src/components/table/table.tsx +493 -327
- package/src/components/table/tags-table.tsx +348 -348
- package/src/constants/index.ts +95 -93
- package/src/constants/methods.constant.ts +26 -0
- package/src/constants/regex.ts +7 -7
- package/src/global.d.ts +13 -13
- package/src/helpers/docs.helper.ts +28 -0
- package/src/helpers/layout.helper.ts +176 -174
- package/src/helpers/methodAccordion.helper.ts +19 -19
- package/src/index.ts +2 -1
- package/src/layout/docsComponents/Codebox/Codebox.tsx +61 -0
- package/src/layout/docsComponents/Codebox/style.module.scss +43 -0
- package/src/layout/docsComponents/DocsAside/DocsAside.tsx +94 -0
- package/src/layout/docsComponents/DocsAside/style.module.scss +113 -0
- package/src/layout/docsComponents/DocsContent/DocsContent.tsx +14 -0
- package/src/layout/docsComponents/DocsContent/EndpointPage/index.tsx +184 -0
- package/src/layout/docsComponents/DocsContent/EndpointPage/style.scss +230 -0
- package/src/layout/docsComponents/DocsContent/TagPage/index.tsx +82 -0
- package/src/layout/docsComponents/DocsContent/TagPage/style.scss +283 -0
- package/src/layout/docsComponents/DocsContent/style.scss +0 -0
- package/src/layout/docsComponents/DocsHeader/DocsHeader.module.scss +271 -0
- package/src/layout/docsComponents/DocsHeader/DocsHeader.tsx +156 -0
- package/src/layout/docsComponents/DocsSideMenuTree/DocsSideMenuTree.tsx +188 -0
- package/src/layout/docsComponents/DocsSideMenuTree/style.scss +195 -0
- package/src/layout/docsComponents/index.scss +49 -0
- package/src/layout/docsComponents/index.tsx +28 -0
- package/src/layout/docsLayout.tsx +72 -0
- package/src/layout/layout.module.css +65 -62
- package/src/layout/layout.tsx +162 -150
- package/src/types/layout.type.ts +31 -30
- package/src/types/openApi.ts +108 -108
- package/src/types/transformedOpenApi.ts +52 -52
- package/src/utils/index.ts +7 -0
- package/src/validator/form.scheme.ts +88 -70
- package/tsconfig.json +33 -33
- package/dist/_virtual/index20.js +0 -2
- package/dist/_virtual/index20.js.map +0 -1
- package/dist/_virtual/index21.js +0 -2
- package/dist/_virtual/index21.js.map +0 -1
- package/dist/_virtual/node2.js +0 -2
- package/dist/_virtual/node2.js.map +0 -1
- package/dist/_virtual/node3.js +0 -2
- package/dist/_virtual/node3.js.map +0 -1
- package/dist/node_modules/html-dom-parser/node_modules/domhandler/lib/index.js +0 -2
- package/dist/node_modules/html-dom-parser/node_modules/domhandler/lib/index.js.map +0 -1
- package/dist/node_modules/html-dom-parser/node_modules/domhandler/lib/node.js +0 -2
- package/dist/node_modules/html-dom-parser/node_modules/domhandler/lib/node.js.map +0 -1
- package/dist/node_modules/html-react-parser/node_modules/domhandler/lib/index.js +0 -2
- package/dist/node_modules/html-react-parser/node_modules/domhandler/lib/index.js.map +0 -1
- package/dist/node_modules/html-react-parser/node_modules/domhandler/lib/node.js +0 -2
- package/dist/node_modules/html-react-parser/node_modules/domhandler/lib/node.js.map +0 -1
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/lib/foreignNames.js +0 -2
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/lib/foreignNames.js.map +0 -1
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/lib/index.js +0 -2
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/lib/index.js.map +0 -1
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/decode.js +0 -2
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/decode.js.map +0 -1
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/decode_codepoint.js +0 -2
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/decode_codepoint.js.map +0 -1
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/encode.js +0 -2
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/encode.js.map +0 -1
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/escape.js +0 -2
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/escape.js.map +0 -1
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/generated/decode-data-html.js +0 -2
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/generated/decode-data-html.js.map +0 -1
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/generated/decode-data-xml.js +0 -2
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/generated/decode-data-xml.js.map +0 -1
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/generated/encode-html.js +0 -2
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/generated/encode-html.js.map +0 -1
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/index.js +0 -2
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/index.js.map +0 -1
- package/dist/node_modules/htmlparser2/node_modules/domhandler/lib/index.js +0 -2
- package/dist/node_modules/htmlparser2/node_modules/domhandler/lib/index.js.map +0 -1
- package/dist/node_modules/htmlparser2/node_modules/domhandler/lib/node.js +0 -2
- package/dist/node_modules/htmlparser2/node_modules/domhandler/lib/node.js.map +0 -1
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/feeds.js +0 -2
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/feeds.js.map +0 -1
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/helpers.js +0 -2
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/helpers.js.map +0 -1
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/index.js +0 -2
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/index.js.map +0 -1
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/legacy.js +0 -2
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/legacy.js.map +0 -1
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/manipulation.js +0 -2
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/manipulation.js.map +0 -1
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/querying.js +0 -2
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/querying.js.map +0 -1
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/stringify.js +0 -2
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/stringify.js.map +0 -1
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/traversal.js +0 -2
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/traversal.js.map +0 -1
- package/dist/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.js +0 -2
- package/dist/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.js.map +0 -1
- package/dist/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.js +0 -2
- package/dist/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.js.map +0 -1
- package/dist/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.js +0 -2
- package/dist/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.js.map +0 -1
- package/dist/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +0 -2
- package/dist/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.js.map +0 -1
- package/dist/src/assets/icons/CheckMarkSquare.svg.js +0 -2
- package/dist/src/assets/icons/CheckMarkSquare.svg.js.map +0 -1
- package/dist/src/assets/icons/CloseIcon.svg.js +0 -2
- package/dist/src/assets/icons/CloseIcon.svg.js.map +0 -1
- package/dist/src/assets/icons/deleteOutlinedIcon.svg.js +0 -2
- package/dist/src/assets/icons/deleteOutlinedIcon.svg.js.map +0 -1
- package/dist/src/components/Chips/Chips.js +0 -2
- package/dist/src/components/Chips/Chips.js.map +0 -1
- package/dist/types/types/index.d.ts +0 -18
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
main {
|
|
2
|
+
padding: 2rem;
|
|
3
|
+
|
|
4
|
+
.api-details-expanded {
|
|
5
|
+
.api-title {
|
|
6
|
+
font-size: 3rem;
|
|
7
|
+
font-weight: 600;
|
|
8
|
+
letter-spacing: -1px;
|
|
9
|
+
line-height: 3.5rem;
|
|
10
|
+
margin-bottom: 0.752rem;
|
|
11
|
+
color: #4d75d9;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.test-button {
|
|
15
|
+
margin-top: 1.25rem;
|
|
16
|
+
margin-bottom: 3.125rem;
|
|
17
|
+
display: flex;
|
|
18
|
+
align-items: center;
|
|
19
|
+
justify-content: space-between;
|
|
20
|
+
|
|
21
|
+
gap: 0.5rem;
|
|
22
|
+
|
|
23
|
+
.back-button {
|
|
24
|
+
display: inline-flex;
|
|
25
|
+
align-items: center;
|
|
26
|
+
justify-content: center;
|
|
27
|
+
width: 2.75rem;
|
|
28
|
+
height: 2.75rem;
|
|
29
|
+
border: 1px solid #3b82f6;
|
|
30
|
+
border-radius: 0.5rem;
|
|
31
|
+
background-color: white;
|
|
32
|
+
color: #3b82f6;
|
|
33
|
+
cursor: pointer;
|
|
34
|
+
transition: background-color 0.2s ease;
|
|
35
|
+
|
|
36
|
+
svg {
|
|
37
|
+
stroke-width: 2;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&:hover {
|
|
41
|
+
background-color: #eff6ff;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.test-button .disabled {
|
|
47
|
+
background: #f0f1f2;
|
|
48
|
+
color: #9ca1aa;
|
|
49
|
+
cursor: not-allowed;
|
|
50
|
+
padding: 0.375rem 1rem;
|
|
51
|
+
border-radius: 6px;
|
|
52
|
+
font-size: 14px;
|
|
53
|
+
border: 1px #b8bfca solid;
|
|
54
|
+
width: 7.56rem;
|
|
55
|
+
height: 2.75rem;
|
|
56
|
+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
h3 {
|
|
60
|
+
color: #616874;
|
|
61
|
+
font-size: 1.125rem;
|
|
62
|
+
font-weight: 400;
|
|
63
|
+
letter-spacing: 0px;
|
|
64
|
+
line-height: 1.5rem;
|
|
65
|
+
margin-bottom: 0.5rem;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.url-box {
|
|
69
|
+
height: 1.75rem;
|
|
70
|
+
justify-content: space-between;
|
|
71
|
+
background-color: #edf1fb !important;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.url-text {
|
|
75
|
+
color: #3b3f46;
|
|
76
|
+
font-size: 1.25rem;
|
|
77
|
+
letter-spacing: 0px;
|
|
78
|
+
line-height: 1.75rem;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.method-label {
|
|
82
|
+
font-size: 0.924rem;
|
|
83
|
+
font-weight: 600;
|
|
84
|
+
padding: 0.125rem 0.5rem;
|
|
85
|
+
border-radius: 0.375rem;
|
|
86
|
+
text-transform: uppercase;
|
|
87
|
+
color: #3aaa35;
|
|
88
|
+
text-decoration: underline;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.url-box {
|
|
92
|
+
background-color: #f3f4f6;
|
|
93
|
+
padding: 0.375rem 0.75rem;
|
|
94
|
+
border-radius: 0.5rem;
|
|
95
|
+
display: flex;
|
|
96
|
+
align-items: center;
|
|
97
|
+
gap: 0.5rem;
|
|
98
|
+
font-size: 14px;
|
|
99
|
+
flex: 1;
|
|
100
|
+
height: 2.8rem;
|
|
101
|
+
margin-bottom: 1.5rem;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.api-desc {
|
|
105
|
+
color: #6b7280;
|
|
106
|
+
margin: 1.5rem 0;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.head-table-label {
|
|
110
|
+
color: #3b3f46 !important;
|
|
111
|
+
letter-spacing: 0px;
|
|
112
|
+
font-weight: 400 !important;
|
|
113
|
+
line-height: 1rem;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.request-tabs {
|
|
117
|
+
display: flex;
|
|
118
|
+
gap: 0.5rem;
|
|
119
|
+
margin-bottom: 0.75rem;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.tab {
|
|
123
|
+
background: white;
|
|
124
|
+
border: 1px solid #d1d3d8;
|
|
125
|
+
padding: 0.375rem 0.75rem;
|
|
126
|
+
border-radius: 6px;
|
|
127
|
+
cursor: pointer;
|
|
128
|
+
font-size: 0.875rem;
|
|
129
|
+
color: #000000;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.tab {
|
|
133
|
+
display: flex;
|
|
134
|
+
align-items: center;
|
|
135
|
+
gap: 0.375rem;
|
|
136
|
+
}
|
|
137
|
+
.icon-left {
|
|
138
|
+
width: 0.875rem;
|
|
139
|
+
height: 0.875rem;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.table-wrapper {
|
|
143
|
+
overflow-x: auto;
|
|
144
|
+
border: 1px solid #e5e7eb;
|
|
145
|
+
border-radius: 0.8rem;
|
|
146
|
+
background: white;
|
|
147
|
+
border: 1px #bbbec5 solid;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.param-table {
|
|
151
|
+
width: 100%;
|
|
152
|
+
border-collapse: collapse;
|
|
153
|
+
font-size: 0.875rem;
|
|
154
|
+
|
|
155
|
+
.desc-cell {
|
|
156
|
+
position: relative;
|
|
157
|
+
max-width: 20rem;
|
|
158
|
+
padding-right: 1.5rem;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.desc-text {
|
|
162
|
+
white-space: nowrap;
|
|
163
|
+
overflow: hidden;
|
|
164
|
+
text-overflow: ellipsis;
|
|
165
|
+
max-width: 90%;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.desc-text.expanded {
|
|
169
|
+
white-space: normal;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.desc-toggle {
|
|
173
|
+
position: absolute;
|
|
174
|
+
right: 0.5rem;
|
|
175
|
+
top: 50%;
|
|
176
|
+
transform: translateY(-50%);
|
|
177
|
+
background: none;
|
|
178
|
+
border: none;
|
|
179
|
+
cursor: pointer;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.desc-toggle svg {
|
|
183
|
+
transition: transform 0.2s ease;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.desc-toggle .rotated {
|
|
187
|
+
transform: rotate(180deg);
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.param-table th,
|
|
192
|
+
.param-table td {
|
|
193
|
+
padding: 10px;
|
|
194
|
+
border-bottom: 1px solid #bbbec5;
|
|
195
|
+
text-align: left;
|
|
196
|
+
color: #3b3f46;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.param-table th {
|
|
200
|
+
background: #edf1fb;
|
|
201
|
+
font-weight: 600;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.response-status {
|
|
205
|
+
display: flex;
|
|
206
|
+
align-items: center;
|
|
207
|
+
justify-content: end;
|
|
208
|
+
gap: 0.375rem;
|
|
209
|
+
font-size: 0.875rem;
|
|
210
|
+
color: green;
|
|
211
|
+
margin-bottom: 0.75rem;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.response-drop {
|
|
215
|
+
width: 10rem;
|
|
216
|
+
justify-content: end;
|
|
217
|
+
}
|
|
218
|
+
.response-drop-test {
|
|
219
|
+
justify-content: end !important;
|
|
220
|
+
align-items: end !important;
|
|
221
|
+
align-content: end !important;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.copy-icon {
|
|
225
|
+
cursor: pointer;
|
|
226
|
+
width: 1.5rem;
|
|
227
|
+
height: 1.5rem;
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import './style.scss'
|
|
2
|
+
import SVGLoader from '../../../../components/SVGLoader/SVGLoader'
|
|
3
|
+
import { arrowRightGray, CopySticker } from '../../../../assets/icons/index'
|
|
4
|
+
import { OverviewData } from 'src/layout/docsLayout'
|
|
5
|
+
|
|
6
|
+
export const TagPage = ({ data }) => {
|
|
7
|
+
return (
|
|
8
|
+
<div className="api-details-page">
|
|
9
|
+
<h2 className="welcome">Welcome to</h2>
|
|
10
|
+
<h1 className="api-title">{data.title}</h1>
|
|
11
|
+
<p className="api-version">
|
|
12
|
+
API Version: <span>{data.version}</span>
|
|
13
|
+
</p>
|
|
14
|
+
|
|
15
|
+
<div className="custom-url-input">
|
|
16
|
+
<label className="input-label">API Base URL</label>
|
|
17
|
+
<div className="input-wrapper">
|
|
18
|
+
<input type="text" value="https://apigw-sdb-1.test.dgate.digitinary.net/test" readOnly />
|
|
19
|
+
<span
|
|
20
|
+
className="icon"
|
|
21
|
+
onClick={() =>
|
|
22
|
+
navigator.clipboard.writeText('https://apigw-sdb-1.test.dgate.digitinary.net/test')
|
|
23
|
+
}
|
|
24
|
+
>
|
|
25
|
+
<SVGLoader src={CopySticker} />
|
|
26
|
+
</span>
|
|
27
|
+
</div>
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
<p className="api-desc">API Description</p>
|
|
31
|
+
<div className="api-product-tag">
|
|
32
|
+
Product with this API <span className="product-tag">Product 01</span>
|
|
33
|
+
</div>
|
|
34
|
+
|
|
35
|
+
<h3 className="section-title">Endpoints</h3>
|
|
36
|
+
|
|
37
|
+
{Object.entries(data.tags).map(([tag, endpoints]) => (
|
|
38
|
+
<div className="endpoint-group" key={tag}>
|
|
39
|
+
<h4 className="tag-title">{tag}</h4>
|
|
40
|
+
<div className="endpoint-list">
|
|
41
|
+
{endpoints.map((endpoint, idx) => (
|
|
42
|
+
<div className="endpoint-card" key={`${tag}-${idx}`}>
|
|
43
|
+
<div>
|
|
44
|
+
<div className="endpoint-card-header">
|
|
45
|
+
<span className={`method-label ${endpoint.method.toLowerCase()}`}>
|
|
46
|
+
{endpoint.method}
|
|
47
|
+
</span>
|
|
48
|
+
<div className="title-wrapper">
|
|
49
|
+
<h5>
|
|
50
|
+
{(endpoint.summary || 'Endpoint Name').slice(0, 17)}
|
|
51
|
+
{(endpoint.summary?.length ?? 0) > 17 && '...'}
|
|
52
|
+
</h5>
|
|
53
|
+
</div>
|
|
54
|
+
</div>
|
|
55
|
+
<div className="endpoint-meta">
|
|
56
|
+
<p>{endpoint.path}</p>
|
|
57
|
+
<p className="description">{endpoint.description ?? 'No Description '}</p>
|
|
58
|
+
</div>
|
|
59
|
+
</div>
|
|
60
|
+
|
|
61
|
+
<div className="endpoint-arrow">
|
|
62
|
+
<SVGLoader src={arrowRightGray} />
|
|
63
|
+
</div>
|
|
64
|
+
</div>
|
|
65
|
+
))}
|
|
66
|
+
</div>
|
|
67
|
+
</div>
|
|
68
|
+
))}
|
|
69
|
+
|
|
70
|
+
<div className="versions-section">
|
|
71
|
+
<h4>API Versions</h4>
|
|
72
|
+
<div className="version-list">
|
|
73
|
+
{['1.2.0', '1.3.0', '1.4.0', '1.5.0', '2.2.0'].map((ver) => (
|
|
74
|
+
<button key={ver} className="version-btn">
|
|
75
|
+
{ver}
|
|
76
|
+
</button>
|
|
77
|
+
))}
|
|
78
|
+
</div>
|
|
79
|
+
</div>
|
|
80
|
+
</div>
|
|
81
|
+
)
|
|
82
|
+
}
|
|
@@ -0,0 +1,283 @@
|
|
|
1
|
+
.api-details-page {
|
|
2
|
+
padding: 2rem;
|
|
3
|
+
|
|
4
|
+
.welcome {
|
|
5
|
+
font-size: 1.2rem;
|
|
6
|
+
color: #616874;
|
|
7
|
+
font-weight: 400;
|
|
8
|
+
font-size: 1.125rem;
|
|
9
|
+
letter-spacing: 0px;
|
|
10
|
+
line-height: 1.5rem;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.api-title {
|
|
14
|
+
font-size: 2rem;
|
|
15
|
+
font-weight: 600;
|
|
16
|
+
color: #4d75d9;
|
|
17
|
+
font-size: 3rem;
|
|
18
|
+
letter-spacing: -1px;
|
|
19
|
+
margin-bottom: 0.5rem;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.api-version {
|
|
23
|
+
font-size: 1.25rem;
|
|
24
|
+
color: #3b3f46;
|
|
25
|
+
font-weight: 400;
|
|
26
|
+
letter-spacing: 0px;
|
|
27
|
+
line-height: 1.75rem;
|
|
28
|
+
}
|
|
29
|
+
.custom-url-input {
|
|
30
|
+
margin-top: 1.5rem;
|
|
31
|
+
width: 50%;
|
|
32
|
+
|
|
33
|
+
.input-label {
|
|
34
|
+
display: block;
|
|
35
|
+
margin-bottom: 0.5rem;
|
|
36
|
+
font-size: 0.875rem;
|
|
37
|
+
font-weight: 600;
|
|
38
|
+
color: #4d4f5c;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.input-wrapper {
|
|
42
|
+
display: flex;
|
|
43
|
+
align-items: center;
|
|
44
|
+
background-color: #edf1fb;
|
|
45
|
+
border: 1px solid #fff;
|
|
46
|
+
border-radius: 0.375rem;
|
|
47
|
+
padding: 0 0.75rem;
|
|
48
|
+
|
|
49
|
+
input {
|
|
50
|
+
flex: 1;
|
|
51
|
+
padding: 0.5rem 0.5rem;
|
|
52
|
+
border: none;
|
|
53
|
+
background: transparent;
|
|
54
|
+
line-height: 1.75rem;
|
|
55
|
+
letter-spacing: 0px;
|
|
56
|
+
font-size: 1.125rem;
|
|
57
|
+
font-weight: 400;
|
|
58
|
+
opacity: 0.5;
|
|
59
|
+
|
|
60
|
+
color: #000000;
|
|
61
|
+
|
|
62
|
+
&:focus {
|
|
63
|
+
outline: none;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.icon {
|
|
68
|
+
cursor: pointer;
|
|
69
|
+
color: #4d75d9;
|
|
70
|
+
font-size: 1rem;
|
|
71
|
+
margin-left: 0.5rem;
|
|
72
|
+
|
|
73
|
+
&:hover {
|
|
74
|
+
color: #2f54eb;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
.api-desc {
|
|
80
|
+
padding: 1.125rem 0;
|
|
81
|
+
color: #000000;
|
|
82
|
+
font-weight: 400;
|
|
83
|
+
line-height: 1.125rem;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.api-product-tag {
|
|
87
|
+
margin: 1rem 0;
|
|
88
|
+
font-size: 0.9rem;
|
|
89
|
+
font-size: 1rem;
|
|
90
|
+
font-weight: 500;
|
|
91
|
+
color: #616874;
|
|
92
|
+
line-height: 1.125rem;
|
|
93
|
+
letter-spacing: 0px;
|
|
94
|
+
|
|
95
|
+
.product-tag {
|
|
96
|
+
background: #f1f1f1;
|
|
97
|
+
padding: 0.25rem 0.5rem;
|
|
98
|
+
border-radius: 0.25rem;
|
|
99
|
+
border: 1px solid #bbbec5;
|
|
100
|
+
font-weight: 400;
|
|
101
|
+
font-size: 0.75rem;
|
|
102
|
+
letter-spacing: 0px;
|
|
103
|
+
margin-left: 0.5rem;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.section-title {
|
|
108
|
+
margin-top: 2rem;
|
|
109
|
+
color: #4d75d9;
|
|
110
|
+
font-weight: 600;
|
|
111
|
+
font-size: 1.75rem;
|
|
112
|
+
letter-spacing: -0.5px;
|
|
113
|
+
line-height: 2.25rem;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.endpoint-group {
|
|
117
|
+
margin-top: 1.5rem;
|
|
118
|
+
gap: 1rem;
|
|
119
|
+
|
|
120
|
+
.tag-title {
|
|
121
|
+
font-size: 1.125rem;
|
|
122
|
+
margin-bottom: 1rem;
|
|
123
|
+
border-bottom: 1px solid #ddd;
|
|
124
|
+
padding-bottom: 0.5rem;
|
|
125
|
+
line-height: 1.5rem;
|
|
126
|
+
letter-spacing: 0px;
|
|
127
|
+
font-weight: 500;
|
|
128
|
+
color: #616874;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.endpoint-list {
|
|
132
|
+
display: grid;
|
|
133
|
+
grid-template-columns: repeat(auto-fill, minmax(308px, 1fr));
|
|
134
|
+
gap: 1rem;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.endpoint-card {
|
|
138
|
+
display: flex;
|
|
139
|
+
align-items: center;
|
|
140
|
+
justify-content: space-between;
|
|
141
|
+
padding: 1rem;
|
|
142
|
+
border: 1px solid #e5e7eb;
|
|
143
|
+
border-radius: 0.5rem;
|
|
144
|
+
background-color: #fff;
|
|
145
|
+
margin-bottom: 1rem;
|
|
146
|
+
transition: box-shadow 0.2s ease;
|
|
147
|
+
|
|
148
|
+
.endpoint-card-header {
|
|
149
|
+
display: flex;
|
|
150
|
+
gap: 1.5rem;
|
|
151
|
+
align-items: flex-start;
|
|
152
|
+
|
|
153
|
+
.title-wrapper {
|
|
154
|
+
flex: 1;
|
|
155
|
+
width: 8rem;
|
|
156
|
+
min-width: 0;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
h5 {
|
|
160
|
+
font-size: 1rem;
|
|
161
|
+
font-weight: 400;
|
|
162
|
+
line-height: 1.25rem;
|
|
163
|
+
letter-spacing: 0px;
|
|
164
|
+
white-space: nowrap;
|
|
165
|
+
overflow: hidden;
|
|
166
|
+
text-overflow: ellipsis;
|
|
167
|
+
max-width: 100%;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.method-label {
|
|
172
|
+
font-size: 0.875rem;
|
|
173
|
+
font-weight: 400;
|
|
174
|
+
letter-spacing: 0px;
|
|
175
|
+
line-height: 1rem;
|
|
176
|
+
padding: 0.275rem 1.563rem;
|
|
177
|
+
border-radius: 0.188rem;
|
|
178
|
+
display: inline-block;
|
|
179
|
+
margin-bottom: 1rem;
|
|
180
|
+
text-transform: uppercase;
|
|
181
|
+
|
|
182
|
+
&.get {
|
|
183
|
+
background-color: #3a6cd1;
|
|
184
|
+
color: #ffffff;
|
|
185
|
+
}
|
|
186
|
+
&.post {
|
|
187
|
+
background-color: #3aaa35;
|
|
188
|
+
color: #ffffff;
|
|
189
|
+
}
|
|
190
|
+
&.put {
|
|
191
|
+
background-color: #faad14;
|
|
192
|
+
color: #ffffff;
|
|
193
|
+
}
|
|
194
|
+
&.patch {
|
|
195
|
+
background-color: #58e2c2;
|
|
196
|
+
color: #ffffff;
|
|
197
|
+
}
|
|
198
|
+
&.delete {
|
|
199
|
+
background-color: #da3f3f;
|
|
200
|
+
color: #ffffff;
|
|
201
|
+
}
|
|
202
|
+
&.head {
|
|
203
|
+
background-color: #9461c9;
|
|
204
|
+
color: #ffffff;
|
|
205
|
+
}
|
|
206
|
+
&.trace {
|
|
207
|
+
background-color: #ffa28f;
|
|
208
|
+
color: #ffffff;
|
|
209
|
+
}
|
|
210
|
+
&.options {
|
|
211
|
+
background-color: #495d97;
|
|
212
|
+
color: #ffffff;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.endpoint-meta {
|
|
217
|
+
h5 {
|
|
218
|
+
font-size: 1rem;
|
|
219
|
+
font-weight: 400;
|
|
220
|
+
line-height: 1.25rem;
|
|
221
|
+
letter-spacing: 0px;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
p {
|
|
225
|
+
color: #616874;
|
|
226
|
+
font-weight: 400;
|
|
227
|
+
font-size: 0.85rem;
|
|
228
|
+
letter-spacing: 0px;
|
|
229
|
+
line-height: 1rem;
|
|
230
|
+
margin: 0.25rem 0;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.description {
|
|
234
|
+
color: #3b3f46;
|
|
235
|
+
line-height: 1rem;
|
|
236
|
+
font-weight: 400;
|
|
237
|
+
letter-spacing: 0px;
|
|
238
|
+
margin-top: 1.5rem;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
.endpoint-arrow {
|
|
242
|
+
align-content: center;
|
|
243
|
+
width: 1rem;
|
|
244
|
+
height: 1rem;
|
|
245
|
+
flex-shrink: 0;
|
|
246
|
+
margin-left: 1rem;
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.versions-section {
|
|
252
|
+
margin-top: 2rem;
|
|
253
|
+
|
|
254
|
+
h4 {
|
|
255
|
+
color: #4d75d9;
|
|
256
|
+
font-weight: 600;
|
|
257
|
+
font-size: 1.75rem;
|
|
258
|
+
letter-spacing: -0.5px;
|
|
259
|
+
line-height: 2.25rem;
|
|
260
|
+
|
|
261
|
+
margin-bottom: 0.75rem;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
.version-list {
|
|
265
|
+
display: flex;
|
|
266
|
+
flex-wrap: wrap;
|
|
267
|
+
gap: 1rem;
|
|
268
|
+
|
|
269
|
+
.version-btn {
|
|
270
|
+
width: 3.9375rem;
|
|
271
|
+
height: 3rem;
|
|
272
|
+
padding: 0.4rem 0.8rem;
|
|
273
|
+
border: 1px solid #4d75d9;
|
|
274
|
+
border-radius: 0.375rem;
|
|
275
|
+
background-color: #fff;
|
|
276
|
+
cursor: pointer;
|
|
277
|
+
font-size: 0.875rem;
|
|
278
|
+
color: #4d75d9;
|
|
279
|
+
box-shadow: inset 0 1px 3px #00000040;
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
}
|
|
File without changes
|