@digi-frontend/dgate-api-documentation 1.0.1 → 1.0.4
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/{2e10bbdb265df50e.svg → 43595976d1fdccbf.svg} +4 -4
- package/dist/{8789eb84283ea95b.svg → 56dc416b683db280.svg} +5 -5
- package/dist/{bb8b87cace25e052.svg → 64efc2716808c4a4.svg} +3 -3
- package/dist/{d32ce84bbd78babd.svg → 72db3b05a96dd600.svg} +3 -3
- package/dist/{d501922060662842.svg → 844eba3f2e42a9eb.svg} +3 -3
- package/dist/_virtual/index10.js +1 -1
- package/dist/_virtual/index21.js +2 -0
- package/dist/_virtual/index21.js.map +1 -0
- package/dist/_virtual/index3.js +1 -1
- package/dist/_virtual/index4.js +1 -1
- package/dist/_virtual/index6.js +1 -1
- package/dist/_virtual/index7.js +1 -1
- package/dist/_virtual/index8.js +1 -1
- package/dist/_virtual/index9.js +1 -1
- package/dist/_virtual/node2.js +2 -0
- package/dist/_virtual/node2.js.map +1 -0
- package/dist/_virtual/node3.js +2 -0
- package/dist/_virtual/node3.js.map +1 -0
- package/dist/{070dc6ecd197bc80.svg → a7568b270e175038.svg} +8 -8
- package/dist/{9bdff13f8d8fa48a.svg → af16a554be8c4d69.svg} +3 -3
- package/dist/{7f54eeb0bb2d1150.svg → b82c7612e73342f3.svg} +3 -3
- package/dist/node_modules/digitinary-ui/dist/index.js +1 -1
- package/dist/node_modules/digitinary-ui/dist/index.js.map +1 -1
- package/dist/node_modules/domelementtype/lib/index.js +1 -1
- package/dist/node_modules/formik/dist/formik.esm.js +1 -1
- package/dist/node_modules/html-dom-parser/lib/index.js +1 -1
- 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-dom-parser/node_modules/domhandler/lib/index.js +2 -0
- package/dist/node_modules/html-dom-parser/node_modules/domhandler/lib/index.js.map +1 -0
- package/dist/node_modules/html-dom-parser/node_modules/domhandler/lib/node.js +2 -0
- package/dist/node_modules/html-dom-parser/node_modules/domhandler/lib/node.js.map +1 -0
- package/dist/node_modules/html-react-parser/esm/index.mjs.js +1 -1
- package/dist/node_modules/html-react-parser/esm/index.mjs.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/html-react-parser/node_modules/domhandler/lib/index.js +2 -0
- package/dist/node_modules/html-react-parser/node_modules/domhandler/lib/index.js.map +1 -0
- package/dist/node_modules/html-react-parser/node_modules/domhandler/lib/node.js +2 -0
- package/dist/node_modules/html-react-parser/node_modules/domhandler/lib/node.js.map +1 -0
- 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/htmlparser2/node_modules/dom-serializer/lib/foreignNames.js +2 -0
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/lib/foreignNames.js.map +1 -0
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/lib/index.js +2 -0
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/lib/index.js.map +1 -0
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/decode.js +2 -0
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/decode.js.map +1 -0
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/decode_codepoint.js +2 -0
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/decode_codepoint.js.map +1 -0
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/encode.js +2 -0
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/encode.js.map +1 -0
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/escape.js +2 -0
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/escape.js.map +1 -0
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/generated/decode-data-html.js +2 -0
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/generated/decode-data-html.js.map +1 -0
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/generated/decode-data-xml.js +2 -0
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/generated/decode-data-xml.js.map +1 -0
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/generated/encode-html.js +2 -0
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/generated/encode-html.js.map +1 -0
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/index.js +2 -0
- package/dist/node_modules/htmlparser2/node_modules/dom-serializer/node_modules/entities/lib/index.js.map +1 -0
- package/dist/node_modules/htmlparser2/node_modules/domhandler/lib/index.js +2 -0
- package/dist/node_modules/htmlparser2/node_modules/domhandler/lib/index.js.map +1 -0
- package/dist/node_modules/htmlparser2/node_modules/domhandler/lib/node.js +2 -0
- package/dist/node_modules/htmlparser2/node_modules/domhandler/lib/node.js.map +1 -0
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/feeds.js +2 -0
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/feeds.js.map +1 -0
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/helpers.js +2 -0
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/helpers.js.map +1 -0
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/index.js +2 -0
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/index.js.map +1 -0
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/legacy.js +2 -0
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/legacy.js.map +1 -0
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/manipulation.js +2 -0
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/manipulation.js.map +1 -0
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/querying.js +2 -0
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/querying.js.map +1 -0
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/stringify.js +2 -0
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/stringify.js.map +1 -0
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/traversal.js +2 -0
- package/dist/node_modules/htmlparser2/node_modules/domutils/lib/traversal.js.map +1 -0
- package/dist/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.js +2 -0
- package/dist/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.js.map +1 -0
- package/dist/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.js +2 -0
- package/dist/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.js.map +1 -0
- package/dist/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.js +2 -0
- package/dist/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.js.map +1 -0
- package/dist/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +2 -0
- package/dist/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.js.map +1 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js +1 -1
- package/dist/node_modules/react/cjs/react-jsx-runtime.development.js.map +1 -1
- package/dist/node_modules/react-fast-compare/index.js +1 -1
- package/dist/node_modules/react-fast-compare/index.js.map +1 -1
- package/dist/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/react-property/lib/index.js +1 -1
- package/dist/node_modules/react-property/lib/index.js.map +1 -1
- package/dist/node_modules/style-to-object/cjs/index.js +1 -1
- package/dist/node_modules/toposort/index.js +1 -1
- package/dist/node_modules/yup/index.esm.js +1 -1
- package/dist/node_modules/yup/index.esm.js.map +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/CheckMarkSquare.svg.js +2 -0
- package/dist/src/assets/icons/CheckMarkSquare.svg.js.map +1 -0
- package/dist/src/assets/icons/CloseIcon.svg.js +1 -1
- package/dist/src/assets/icons/CloseIcon.svg.js.map +1 -1
- 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/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/UpArrow.svg.js +1 -1
- package/dist/src/assets/icons/UpArrow.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/components/Chips/Chips.js +2 -0
- package/dist/src/components/Chips/Chips.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/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/constants/index.js +1 -1
- package/dist/src/constants/index.js.map +1 -1
- package/dist/src/constants/regex.js +1 -1
- package/dist/src/constants/regex.js.map +1 -1
- 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/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/validator/form.scheme.js +1 -1
- package/dist/src/validator/form.scheme.js.map +1 -1
- package/dist/styles.css +500 -2036
- package/dist/types/assets/icons/index.d.ts +1 -17
- package/dist/types/components/InfoForm/InfoForm.d.ts +1 -3
- package/dist/types/components/LivePreview/LivePreview.d.ts +0 -1
- package/dist/types/components/MethodAccordion/MethodAccordion.d.ts +3 -7
- package/dist/types/components/Tooltip/Tooltip.d.ts +2 -2
- package/dist/types/components/dialog/dialog.d.ts +0 -6
- package/dist/types/components/dialog/index.d.ts +1 -1
- package/dist/types/components/table/table.d.ts +1 -2
- package/dist/types/constants/index.d.ts +4 -23
- package/dist/types/constants/regex.d.ts +0 -2
- package/dist/types/index.d.ts +0 -1
- package/dist/types/layout/layout.d.ts +1 -4
- package/dist/types/types/index.d.ts +16 -25
- package/dist/types/types/layout.type.d.ts +1 -11
- package/dist/types/types/openApi.d.ts +5 -18
- package/dist/types/validator/form.scheme.d.ts +3 -12
- package/package.json +42 -47
- package/rollup.config.js +35 -37
- package/src/assets/icons/AddRow.svg +3 -3
- package/src/assets/icons/CheckMarkSquare.svg +5 -5
- package/src/assets/icons/CloseIcon.svg +4 -4
- package/src/assets/icons/DeleteIcon.svg +3 -3
- package/src/assets/icons/DownArrow.svg +3 -3
- package/src/assets/icons/EditIcon.svg +3 -3
- package/src/assets/icons/UpArrow.svg +3 -3
- package/src/assets/icons/deleteOutlinedIcon.svg +8 -8
- package/src/assets/icons/index.ts +8 -24
- package/src/components/Chips/Chips.tsx +87 -87
- package/src/components/Chips/style.scss +147 -147
- package/src/components/InfoForm/InfoForm.module.scss +20 -165
- package/src/components/InfoForm/InfoForm.tsx +138 -424
- package/src/components/LivePreview/LivePreview.module.scss +5 -181
- package/src/components/LivePreview/LivePreview.tsx +80 -224
- package/src/components/MethodAccordion/MethodAccordion.module.scss +289 -399
- package/src/components/MethodAccordion/MethodAccordion.tsx +431 -1063
- package/src/components/SVGLoader/SVGLoader.tsx +94 -96
- 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 +130 -133
- package/src/components/Tooltip/Tooltip.tsx +86 -85
- package/src/components/_global.scss +337 -337
- package/src/components/dialog/dialog.ts +54 -61
- package/src/components/dialog/index.tsx +85 -88
- package/src/components/dialog/style.scss +104 -188
- package/src/components/table/style.scss +179 -223
- package/src/components/table/table.tsx +307 -490
- package/src/constants/index.ts +66 -95
- package/src/constants/regex.ts +5 -7
- package/src/global.d.ts +13 -13
- package/src/helpers/layout.helper.ts +118 -187
- package/src/helpers/methodAccordion.helper.ts +19 -19
- package/src/index.ts +1 -2
- package/src/layout/layout.module.css +38 -65
- package/src/layout/layout.tsx +75 -181
- package/src/types/index.ts +0 -28
- package/src/types/layout.type.ts +22 -32
- package/src/types/openApi.ts +95 -109
- package/src/types/transformedOpenApi.ts +52 -52
- package/src/validator/form.scheme.ts +70 -96
- package/tsconfig.json +33 -33
- package/dist/16702d92fd6d1730.svg +0 -6
- package/dist/2b546d6e9fdf604a.svg +0 -3
- package/dist/2c3c6c2c3b835504.svg +0 -5
- package/dist/55b5994c5781482b.svg +0 -5
- package/dist/60bef8083c55f46b.svg +0 -6
- package/dist/68c710e0583e19e6.svg +0 -5
- package/dist/731221b3f242672d.svg +0 -4
- package/dist/8520b6792278d9df.svg +0 -6
- package/dist/9506ef7a26a74147.svg +0 -12
- package/dist/9b7aee27757b5036.svg +0 -3
- package/dist/_virtual/core.js +0 -2
- package/dist/_virtual/core.js.map +0 -1
- package/dist/_virtual/core2.js +0 -2
- package/dist/_virtual/core2.js.map +0 -1
- package/dist/_virtual/format.js +0 -2
- package/dist/_virtual/format.js.map +0 -1
- package/dist/_virtual/json.js +0 -2
- package/dist/_virtual/json.js.map +0 -1
- package/dist/cceb1e5dc06b0b85.svg +0 -4
- package/dist/d140a601c85bac25.svg +0 -3
- package/dist/d6d0a98ec38e6b77.svg +0 -3
- package/dist/e04479ad425e7d58.svg +0 -4
- package/dist/f4452c3ebcf0d5da.svg +0 -4
- package/dist/f4a32992f02af522.svg +0 -5
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/esm/defineProperty.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/extends.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/esm/extends.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/esm/iterableToArray.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/esm/toPrimitive.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/typeof.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/esm/typeof.js.map +0 -1
- package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -2
- package/dist/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js.map +0 -1
- package/dist/node_modules/dom-serializer/lib/foreignNames.js +0 -2
- package/dist/node_modules/dom-serializer/lib/foreignNames.js.map +0 -1
- package/dist/node_modules/dom-serializer/lib/index.js +0 -2
- package/dist/node_modules/dom-serializer/lib/index.js.map +0 -1
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/decode.js +0 -2
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/decode.js.map +0 -1
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/decode_codepoint.js +0 -2
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/decode_codepoint.js.map +0 -1
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/encode.js +0 -2
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/encode.js.map +0 -1
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/escape.js +0 -2
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/escape.js.map +0 -1
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/generated/decode-data-html.js +0 -2
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/generated/decode-data-html.js.map +0 -1
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/generated/decode-data-xml.js +0 -2
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/generated/decode-data-xml.js.map +0 -1
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/generated/encode-html.js +0 -2
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/generated/encode-html.js.map +0 -1
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/index.js +0 -2
- package/dist/node_modules/dom-serializer/node_modules/entities/lib/index.js.map +0 -1
- package/dist/node_modules/domhandler/lib/index.js +0 -2
- package/dist/node_modules/domhandler/lib/index.js.map +0 -1
- package/dist/node_modules/domhandler/lib/node.js +0 -2
- package/dist/node_modules/domhandler/lib/node.js.map +0 -1
- package/dist/node_modules/domutils/lib/feeds.js +0 -2
- package/dist/node_modules/domutils/lib/feeds.js.map +0 -1
- package/dist/node_modules/domutils/lib/helpers.js +0 -2
- package/dist/node_modules/domutils/lib/helpers.js.map +0 -1
- package/dist/node_modules/domutils/lib/index.js +0 -2
- package/dist/node_modules/domutils/lib/index.js.map +0 -1
- package/dist/node_modules/domutils/lib/legacy.js +0 -2
- package/dist/node_modules/domutils/lib/legacy.js.map +0 -1
- package/dist/node_modules/domutils/lib/manipulation.js +0 -2
- package/dist/node_modules/domutils/lib/manipulation.js.map +0 -1
- package/dist/node_modules/domutils/lib/querying.js +0 -2
- package/dist/node_modules/domutils/lib/querying.js.map +0 -1
- package/dist/node_modules/domutils/lib/stringify.js +0 -2
- package/dist/node_modules/domutils/lib/stringify.js.map +0 -1
- package/dist/node_modules/domutils/lib/traversal.js +0 -2
- package/dist/node_modules/domutils/lib/traversal.js.map +0 -1
- package/dist/node_modules/entities/dist/commonjs/decode-codepoint.js +0 -2
- package/dist/node_modules/entities/dist/commonjs/decode-codepoint.js.map +0 -1
- package/dist/node_modules/entities/dist/commonjs/decode.js +0 -2
- package/dist/node_modules/entities/dist/commonjs/decode.js.map +0 -1
- package/dist/node_modules/entities/dist/commonjs/generated/decode-data-html.js +0 -2
- package/dist/node_modules/entities/dist/commonjs/generated/decode-data-html.js.map +0 -1
- package/dist/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +0 -2
- package/dist/node_modules/entities/dist/commonjs/generated/decode-data-xml.js.map +0 -1
- package/dist/node_modules/fast-json-stable-stringify/index.js +0 -2
- package/dist/node_modules/fast-json-stable-stringify/index.js.map +0 -1
- package/dist/node_modules/fault/index.js +0 -2
- package/dist/node_modules/fault/index.js.map +0 -1
- package/dist/node_modules/format/format.js +0 -2
- package/dist/node_modules/format/format.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/core.js +0 -2
- package/dist/node_modules/highlight.js/lib/core.js.map +0 -1
- package/dist/node_modules/highlight.js/lib/languages/json.js +0 -2
- package/dist/node_modules/highlight.js/lib/languages/json.js.map +0 -1
- package/dist/node_modules/js-yaml/dist/js-yaml.mjs.js +0 -3
- package/dist/node_modules/js-yaml/dist/js-yaml.mjs.js.map +0 -1
- package/dist/node_modules/lowlight/lib/core.js +0 -2
- package/dist/node_modules/lowlight/lib/core.js.map +0 -1
- package/dist/node_modules/nanoid/index.js +0 -2
- package/dist/node_modules/nanoid/index.js.map +0 -1
- package/dist/node_modules/nanoid/url-alphabet/index.js +0 -2
- package/dist/node_modules/nanoid/url-alphabet/index.js.map +0 -1
- package/dist/node_modules/react-syntax-highlighter/dist/esm/checkForListedLanguage.js +0 -2
- package/dist/node_modules/react-syntax-highlighter/dist/esm/checkForListedLanguage.js.map +0 -1
- package/dist/node_modules/react-syntax-highlighter/dist/esm/create-element.js +0 -2
- package/dist/node_modules/react-syntax-highlighter/dist/esm/create-element.js.map +0 -1
- package/dist/node_modules/react-syntax-highlighter/dist/esm/highlight.js +0 -2
- package/dist/node_modules/react-syntax-highlighter/dist/esm/highlight.js.map +0 -1
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/json.js +0 -2
- package/dist/node_modules/react-syntax-highlighter/dist/esm/languages/hljs/json.js.map +0 -1
- package/dist/node_modules/react-syntax-highlighter/dist/esm/light.js +0 -2
- package/dist/node_modules/react-syntax-highlighter/dist/esm/light.js.map +0 -1
- package/dist/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/stackoverflow-dark.js +0 -2
- package/dist/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/stackoverflow-dark.js.map +0 -1
- package/dist/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/stackoverflow-light.js +0 -2
- package/dist/node_modules/react-syntax-highlighter/dist/esm/styles/hljs/stackoverflow-light.js.map +0 -1
- package/dist/src/assets/icons/ApiIcon.svg.js +0 -2
- package/dist/src/assets/icons/ApiIcon.svg.js.map +0 -1
- package/dist/src/assets/icons/ArrowBack.svg.js +0 -2
- package/dist/src/assets/icons/ArrowBack.svg.js.map +0 -1
- package/dist/src/assets/icons/BookIcon.svg.js +0 -2
- package/dist/src/assets/icons/BookIcon.svg.js.map +0 -1
- package/dist/src/assets/icons/CopySticker.svg.js +0 -2
- package/dist/src/assets/icons/CopySticker.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/assets/icons/FilterIcon.svg.js +0 -2
- package/dist/src/assets/icons/FilterIcon.svg.js.map +0 -1
- package/dist/src/assets/icons/Plus.svg.js +0 -2
- package/dist/src/assets/icons/Plus.svg.js.map +0 -1
- package/dist/src/assets/icons/PlusSquare.svg.js +0 -2
- package/dist/src/assets/icons/PlusSquare.svg.js.map +0 -1
- package/dist/src/assets/icons/RequestOption.svg.js +0 -2
- package/dist/src/assets/icons/RequestOption.svg.js.map +0 -1
- package/dist/src/assets/icons/arrowDownGray.svg.js +0 -2
- package/dist/src/assets/icons/arrowDownGray.svg.js.map +0 -1
- package/dist/src/assets/icons/arrowRightGray.svg.js +0 -2
- package/dist/src/assets/icons/arrowRightGray.svg.js.map +0 -1
- package/dist/src/assets/icons/close-circle.svg.js +0 -2
- package/dist/src/assets/icons/close-circle.svg.js.map +0 -1
- package/dist/src/assets/icons/copy.svg.js +0 -2
- package/dist/src/assets/icons/copy.svg.js.map +0 -1
- package/dist/src/assets/icons/document.svg.js +0 -2
- package/dist/src/assets/icons/document.svg.js.map +0 -1
- package/dist/src/assets/icons/eye.svg.js +0 -2
- package/dist/src/assets/icons/eye.svg.js.map +0 -1
- package/dist/src/assets/icons/infoIcon.svg.js +0 -2
- package/dist/src/assets/icons/infoIcon.svg.js.map +0 -1
- package/dist/src/assets/icons/searchIcon.svg.js +0 -2
- package/dist/src/assets/icons/searchIcon.svg.js.map +0 -1
- package/dist/src/components/JsonInput/JsonInput.js +0 -2
- package/dist/src/components/JsonInput/JsonInput.js.map +0 -1
- package/dist/src/components/JsonInput/style.module.scss.js +0 -2
- package/dist/src/components/JsonInput/style.module.scss.js.map +0 -1
- package/dist/src/components/table/tags-table.js +0 -2
- package/dist/src/components/table/tags-table.js.map +0 -1
- package/dist/src/constants/methods.constant.js +0 -2
- package/dist/src/constants/methods.constant.js.map +0 -1
- package/dist/src/context/SectionToggleContext.js +0 -2
- package/dist/src/context/SectionToggleContext.js.map +0 -1
- package/dist/src/helpers/docs.helper.js +0 -2
- package/dist/src/helpers/docs.helper.js.map +0 -1
- package/dist/src/layout/docsComponents/Codebox/Codebox.js +0 -2
- package/dist/src/layout/docsComponents/Codebox/Codebox.js.map +0 -1
- package/dist/src/layout/docsComponents/Codebox/style.module.scss.js +0 -2
- package/dist/src/layout/docsComponents/Codebox/style.module.scss.js.map +0 -1
- package/dist/src/layout/docsComponents/DocsAside/DocsAside.js +0 -2
- package/dist/src/layout/docsComponents/DocsAside/DocsAside.js.map +0 -1
- package/dist/src/layout/docsComponents/DocsAside/style.module.scss.js +0 -2
- package/dist/src/layout/docsComponents/DocsAside/style.module.scss.js.map +0 -1
- package/dist/src/layout/docsComponents/DocsContent/DocsContent.js +0 -2
- package/dist/src/layout/docsComponents/DocsContent/DocsContent.js.map +0 -1
- package/dist/src/layout/docsComponents/DocsContent/EndpointPage/index.js +0 -2
- package/dist/src/layout/docsComponents/DocsContent/EndpointPage/index.js.map +0 -1
- package/dist/src/layout/docsComponents/DocsContent/OverviewPage/index.js +0 -2
- package/dist/src/layout/docsComponents/DocsContent/OverviewPage/index.js.map +0 -1
- package/dist/src/layout/docsComponents/DocsHeader/DocsHeader.js +0 -2
- package/dist/src/layout/docsComponents/DocsHeader/DocsHeader.js.map +0 -1
- package/dist/src/layout/docsComponents/DocsHeader/DocsHeader.module.scss.js +0 -2
- package/dist/src/layout/docsComponents/DocsHeader/DocsHeader.module.scss.js.map +0 -1
- package/dist/src/layout/docsComponents/DocsSideMenuTree/DocsSideMenuTree.js +0 -2
- package/dist/src/layout/docsComponents/DocsSideMenuTree/DocsSideMenuTree.js.map +0 -1
- package/dist/src/layout/docsComponents/index.js +0 -2
- package/dist/src/layout/docsComponents/index.js.map +0 -1
- package/dist/src/layout/docsLayout.js +0 -2
- package/dist/src/layout/docsLayout.js.map +0 -1
- package/dist/src/utils/index.js +0 -2
- package/dist/src/utils/index.js.map +0 -1
- package/dist/types/components/JsonInput/JsonInput.d.ts +0 -14
- package/dist/types/components/table/tags-table.d.ts +0 -11
- package/dist/types/constants/methods.constant.d.ts +0 -16
- package/dist/types/context/SectionToggleContext.d.ts +0 -37
- package/dist/types/helpers/docs.helper.d.ts +0 -3
- package/dist/types/layout/docsComponents/Codebox/Codebox.d.ts +0 -4
- package/dist/types/layout/docsComponents/DocsAside/DocsAside.d.ts +0 -5
- package/dist/types/layout/docsComponents/DocsContent/DocsContent.d.ts +0 -12
- package/dist/types/layout/docsComponents/DocsContent/EndpointPage/index.d.ts +0 -7
- package/dist/types/layout/docsComponents/DocsContent/OverviewPage/index.d.ts +0 -9
- package/dist/types/layout/docsComponents/DocsHeader/DocsHeader.d.ts +0 -6
- package/dist/types/layout/docsComponents/DocsSideMenuTree/DocsSideMenuTree.d.ts +0 -18
- package/dist/types/layout/docsComponents/index.d.ts +0 -17
- package/dist/types/layout/docsLayout.d.ts +0 -31
- package/dist/types/types/docsLayout.type.d.ts +0 -7
- package/dist/types/utils/index.d.ts +0 -2
- package/src/assets/icons/ApiIcon.svg +0 -12
- package/src/assets/icons/ArrowBack.svg +0 -3
- package/src/assets/icons/BookIcon.svg +0 -6
- package/src/assets/icons/CopySticker.svg +0 -6
- package/src/assets/icons/DeleteOutlinedIcon.svg +0 -8
- package/src/assets/icons/FilterIcon.svg +0 -4
- package/src/assets/icons/Plus.svg +0 -5
- package/src/assets/icons/PlusSquare.svg +0 -3
- package/src/assets/icons/RequestOption.svg +0 -5
- package/src/assets/icons/arrowDownGray.svg +0 -3
- package/src/assets/icons/arrowRightGray.svg +0 -3
- package/src/assets/icons/close-circle.svg +0 -5
- package/src/assets/icons/copy.svg +0 -4
- package/src/assets/icons/document.svg +0 -6
- package/src/assets/icons/eye.svg +0 -4
- package/src/assets/icons/infoIcon.svg +0 -5
- package/src/assets/icons/searchIcon.svg +0 -4
- package/src/components/JsonInput/JsonInput.tsx +0 -149
- package/src/components/JsonInput/style.module.scss +0 -133
- package/src/components/table/tags-table.tsx +0 -348
- package/src/constants/methods.constant.ts +0 -26
- package/src/context/SectionToggleContext.tsx +0 -121
- package/src/helpers/docs.helper.ts +0 -42
- package/src/layout/docsComponents/Codebox/Codebox.tsx +0 -61
- package/src/layout/docsComponents/Codebox/style.module.scss +0 -43
- package/src/layout/docsComponents/DocsAside/DocsAside.tsx +0 -93
- package/src/layout/docsComponents/DocsAside/style.module.scss +0 -113
- package/src/layout/docsComponents/DocsContent/DocsContent.tsx +0 -51
- package/src/layout/docsComponents/DocsContent/EndpointPage/index.tsx +0 -236
- package/src/layout/docsComponents/DocsContent/EndpointPage/style.scss +0 -309
- package/src/layout/docsComponents/DocsContent/OverviewPage/index.tsx +0 -192
- package/src/layout/docsComponents/DocsContent/OverviewPage/style.scss +0 -284
- package/src/layout/docsComponents/DocsContent/style.scss +0 -0
- package/src/layout/docsComponents/DocsHeader/DocsHeader.module.scss +0 -270
- package/src/layout/docsComponents/DocsHeader/DocsHeader.tsx +0 -187
- package/src/layout/docsComponents/DocsSideMenuTree/DocsSideMenuTree.tsx +0 -229
- package/src/layout/docsComponents/DocsSideMenuTree/style.scss +0 -195
- package/src/layout/docsComponents/index.scss +0 -49
- package/src/layout/docsComponents/index.tsx +0 -28
- package/src/layout/docsLayout.tsx +0 -120
- package/src/types/docsLayout.type.ts +0 -7
- package/src/utils/index.ts +0 -12
- package/the_npm_commands.sh +0 -12
- package/variables.txt +0 -4
|
@@ -1,24 +1,8 @@
|
|
|
1
|
-
export { default as UpArrowIcon } from './UpArrow.svg'
|
|
2
|
-
export { default as DownArrowIcon } from './DownArrow.svg'
|
|
3
|
-
export { default as CloseIcon } from './CloseIcon.svg'
|
|
4
|
-
export { default as CheckMarkSquare } from './CheckMarkSquare.svg'
|
|
5
|
-
export { default as DeleteIcon } from './DeleteIcon.svg'
|
|
6
|
-
export { default as EditIcon } from './EditIcon.svg'
|
|
7
|
-
export { default as AddRow } from './AddRow.svg'
|
|
8
|
-
export { default as
|
|
9
|
-
export { default as arrowDownGray } from './arrowDownGray.svg'
|
|
10
|
-
export { default as arrowRightGray } from './arrowRightGray.svg'
|
|
11
|
-
export { default as document } from './document.svg'
|
|
12
|
-
export { default as eye } from './eye.svg'
|
|
13
|
-
export { default as DeleteOutlinedIcon } from './DeleteOutlinedIcon.svg'
|
|
14
|
-
export { default as ApiIcon } from './ApiIcon.svg'
|
|
15
|
-
export { default as FilterIcon } from './FilterIcon.svg'
|
|
16
|
-
export { default as BookIcon } from './BookIcon.svg'
|
|
17
|
-
export { default as Closecircle } from './close-circle.svg'
|
|
18
|
-
export { default as InfoIcon } from './infoIcon.svg'
|
|
19
|
-
export { default as SearchIcon } from './searchIcon.svg'
|
|
20
|
-
export { default as Copy } from './copy.svg'
|
|
21
|
-
export { default as PlusIcon } from './Plus.svg'
|
|
22
|
-
export { default as PlusSquare } from './PlusSquare.svg'
|
|
23
|
-
export { default as RequestOption } from './RequestOption.svg'
|
|
24
|
-
export { default as ArrowBack } from './ArrowBack.svg'
|
|
1
|
+
export { default as UpArrowIcon } from './UpArrow.svg'
|
|
2
|
+
export { default as DownArrowIcon } from './DownArrow.svg'
|
|
3
|
+
export { default as CloseIcon } from './CloseIcon.svg'
|
|
4
|
+
export { default as CheckMarkSquare } from './CheckMarkSquare.svg'
|
|
5
|
+
export { default as DeleteIcon } from './DeleteIcon.svg'
|
|
6
|
+
export { default as EditIcon } from './EditIcon.svg'
|
|
7
|
+
export { default as AddRow } from './AddRow.svg'
|
|
8
|
+
export { default as deleteOutlinedIcon } from './deleteOutlinedIcon.svg'
|
|
@@ -1,87 +1,87 @@
|
|
|
1
|
-
import React, { useEffect, useRef, useState } from 'react'
|
|
2
|
-
import SVGLoader from '../../components/SVGLoader/SVGLoader'
|
|
3
|
-
import { CloseIcon, DownArrowIcon, UpArrowIcon } from '../../assets/icons'
|
|
4
|
-
import './style.scss'
|
|
5
|
-
|
|
6
|
-
type ChipItemType = {
|
|
7
|
-
id: number | string
|
|
8
|
-
label: string
|
|
9
|
-
className?: string
|
|
10
|
-
disabled?: boolean
|
|
11
|
-
[key: string]: unknown
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export type CustomChipsType = {
|
|
15
|
-
className?: string
|
|
16
|
-
items: ChipItemType[]
|
|
17
|
-
onDelete?: (items: ChipItemType[]) => void
|
|
18
|
-
onClick?: (item: ChipItemType) => void
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
const Chips = ({ className, items, onDelete, onClick }: CustomChipsType) => {
|
|
22
|
-
const showMoreAppearsAfterHeight = 58
|
|
23
|
-
const [showBtnVisible, setShowBtnVisible] = useState(false)
|
|
24
|
-
const [showBtnOpen, setShowBtnOpen] = useState(false) // Fixed typo
|
|
25
|
-
const dropdownList = useRef<HTMLDivElement | null>(null) // Specify the correct type for the ref
|
|
26
|
-
|
|
27
|
-
useEffect(() => {
|
|
28
|
-
if (dropdownList.current) {
|
|
29
|
-
const showMoreOrLess = setTimeout(() => {
|
|
30
|
-
const offsetHeight = dropdownList?.current?.offsetHeight as number // Correctly infer offsetHeight
|
|
31
|
-
setShowBtnVisible(offsetHeight > showMoreAppearsAfterHeight)
|
|
32
|
-
}, 0) // Pass 0 as a number, not an array
|
|
33
|
-
|
|
34
|
-
return () => clearTimeout(showMoreOrLess)
|
|
35
|
-
}
|
|
36
|
-
}, [items?.length, showMoreAppearsAfterHeight])
|
|
37
|
-
|
|
38
|
-
const showButtonHandler = (e: any) => {
|
|
39
|
-
e?.stopPropagation()
|
|
40
|
-
setShowBtnOpen(!showBtnOpen)
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
return (
|
|
44
|
-
<div className={`chips-container ${className ?? ''}`}>
|
|
45
|
-
{!!items?.length && (
|
|
46
|
-
<div className={`overflow-dropdown-div ${showBtnOpen && 'dropdown-max-height dropdown-overflow'}`}>
|
|
47
|
-
<div ref={dropdownList} className='dropdown-list'>
|
|
48
|
-
{items?.map((chip, index) => (
|
|
49
|
-
<div
|
|
50
|
-
key={chip.id}
|
|
51
|
-
className={`chip ${chip.disabled ? 'disabled' : ''}${!!onClick ? 'clickable' : ''}${chip?.className ?? ''}`}
|
|
52
|
-
onClick={() => !!onClick && chip.disabled === false && onClick(chip)}
|
|
53
|
-
>
|
|
54
|
-
<span className='chip-text'> {chip.label} </span>
|
|
55
|
-
{chip.disabled !== true && (
|
|
56
|
-
<SVGLoader
|
|
57
|
-
onClick={(e: any) => {
|
|
58
|
-
e.stopPropagation()
|
|
59
|
-
const filteredChips = items.filter((_, iIndex) => iIndex !== index)
|
|
60
|
-
onDelete && onDelete(filteredChips)
|
|
61
|
-
}}
|
|
62
|
-
className='chip-close-icon'
|
|
63
|
-
src={CloseIcon}
|
|
64
|
-
width={'1.25rem'}
|
|
65
|
-
height={'1.25rem'}
|
|
66
|
-
/>
|
|
67
|
-
)}
|
|
68
|
-
</div>
|
|
69
|
-
))}
|
|
70
|
-
</div>
|
|
71
|
-
</div>
|
|
72
|
-
)}
|
|
73
|
-
{showBtnVisible ? (
|
|
74
|
-
<button className='show-btn' onClick={showButtonHandler} type='button'>
|
|
75
|
-
<div className='show-btn-text-container'>
|
|
76
|
-
<span className='show-btn-text'>{showBtnOpen ? 'Show Less' : 'Show More'}</span>
|
|
77
|
-
</div>
|
|
78
|
-
<div className='show-btn-icon-container'>
|
|
79
|
-
<SVGLoader className='show-btn-icon' src={showBtnOpen ? UpArrowIcon : DownArrowIcon} width={'1.25rem'} height={'1.25rem'} />
|
|
80
|
-
</div>
|
|
81
|
-
</button>
|
|
82
|
-
) : null}
|
|
83
|
-
</div>
|
|
84
|
-
)
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
export default Chips
|
|
1
|
+
import React, { useEffect, useRef, useState } from 'react'
|
|
2
|
+
import SVGLoader from '../../components/SVGLoader/SVGLoader'
|
|
3
|
+
import { CloseIcon, DownArrowIcon, UpArrowIcon } from '../../assets/icons'
|
|
4
|
+
import './style.scss'
|
|
5
|
+
|
|
6
|
+
type ChipItemType = {
|
|
7
|
+
id: number | string
|
|
8
|
+
label: string
|
|
9
|
+
className?: string
|
|
10
|
+
disabled?: boolean
|
|
11
|
+
[key: string]: unknown
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export type CustomChipsType = {
|
|
15
|
+
className?: string
|
|
16
|
+
items: ChipItemType[]
|
|
17
|
+
onDelete?: (items: ChipItemType[]) => void
|
|
18
|
+
onClick?: (item: ChipItemType) => void
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
const Chips = ({ className, items, onDelete, onClick }: CustomChipsType) => {
|
|
22
|
+
const showMoreAppearsAfterHeight = 58
|
|
23
|
+
const [showBtnVisible, setShowBtnVisible] = useState(false)
|
|
24
|
+
const [showBtnOpen, setShowBtnOpen] = useState(false) // Fixed typo
|
|
25
|
+
const dropdownList = useRef<HTMLDivElement | null>(null) // Specify the correct type for the ref
|
|
26
|
+
|
|
27
|
+
useEffect(() => {
|
|
28
|
+
if (dropdownList.current) {
|
|
29
|
+
const showMoreOrLess = setTimeout(() => {
|
|
30
|
+
const offsetHeight = dropdownList?.current?.offsetHeight as number // Correctly infer offsetHeight
|
|
31
|
+
setShowBtnVisible(offsetHeight > showMoreAppearsAfterHeight)
|
|
32
|
+
}, 0) // Pass 0 as a number, not an array
|
|
33
|
+
|
|
34
|
+
return () => clearTimeout(showMoreOrLess)
|
|
35
|
+
}
|
|
36
|
+
}, [items?.length, showMoreAppearsAfterHeight])
|
|
37
|
+
|
|
38
|
+
const showButtonHandler = (e: any) => {
|
|
39
|
+
e?.stopPropagation()
|
|
40
|
+
setShowBtnOpen(!showBtnOpen)
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
return (
|
|
44
|
+
<div className={`chips-container ${className ?? ''}`}>
|
|
45
|
+
{!!items?.length && (
|
|
46
|
+
<div className={`overflow-dropdown-div ${showBtnOpen && 'dropdown-max-height dropdown-overflow'}`}>
|
|
47
|
+
<div ref={dropdownList} className='dropdown-list'>
|
|
48
|
+
{items?.map((chip, index) => (
|
|
49
|
+
<div
|
|
50
|
+
key={chip.id}
|
|
51
|
+
className={`chip ${chip.disabled ? 'disabled' : ''}${!!onClick ? 'clickable' : ''}${chip?.className ?? ''}`}
|
|
52
|
+
onClick={() => !!onClick && chip.disabled === false && onClick(chip)}
|
|
53
|
+
>
|
|
54
|
+
<span className='chip-text'> {chip.label} </span>
|
|
55
|
+
{chip.disabled !== true && (
|
|
56
|
+
<SVGLoader
|
|
57
|
+
onClick={(e: any) => {
|
|
58
|
+
e.stopPropagation()
|
|
59
|
+
const filteredChips = items.filter((_, iIndex) => iIndex !== index)
|
|
60
|
+
onDelete && onDelete(filteredChips)
|
|
61
|
+
}}
|
|
62
|
+
className='chip-close-icon'
|
|
63
|
+
src={CloseIcon}
|
|
64
|
+
width={'1.25rem'}
|
|
65
|
+
height={'1.25rem'}
|
|
66
|
+
/>
|
|
67
|
+
)}
|
|
68
|
+
</div>
|
|
69
|
+
))}
|
|
70
|
+
</div>
|
|
71
|
+
</div>
|
|
72
|
+
)}
|
|
73
|
+
{showBtnVisible ? (
|
|
74
|
+
<button className='show-btn' onClick={showButtonHandler} type='button'>
|
|
75
|
+
<div className='show-btn-text-container'>
|
|
76
|
+
<span className='show-btn-text'>{showBtnOpen ? 'Show Less' : 'Show More'}</span>
|
|
77
|
+
</div>
|
|
78
|
+
<div className='show-btn-icon-container'>
|
|
79
|
+
<SVGLoader className='show-btn-icon' src={showBtnOpen ? UpArrowIcon : DownArrowIcon} width={'1.25rem'} height={'1.25rem'} />
|
|
80
|
+
</div>
|
|
81
|
+
</button>
|
|
82
|
+
) : null}
|
|
83
|
+
</div>
|
|
84
|
+
)
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export default Chips
|
|
@@ -1,147 +1,147 @@
|
|
|
1
|
-
.chips-container {
|
|
2
|
-
width: 100%;
|
|
3
|
-
|
|
4
|
-
.overflow-dropdown-div {
|
|
5
|
-
max-height: 4.25rem;
|
|
6
|
-
overflow: hidden;
|
|
7
|
-
|
|
8
|
-
.dropdown-list {
|
|
9
|
-
display: flex;
|
|
10
|
-
flex-wrap: wrap;
|
|
11
|
-
gap: 0.625rem;
|
|
12
|
-
margin-top: 0.625rem;
|
|
13
|
-
|
|
14
|
-
.chip {
|
|
15
|
-
display: flex;
|
|
16
|
-
justify-content: center;
|
|
17
|
-
align-items: center;
|
|
18
|
-
background: #ebecf2;
|
|
19
|
-
border-radius: 3.125rem;
|
|
20
|
-
width: max-content;
|
|
21
|
-
height: 1.5rem;
|
|
22
|
-
overflow: hidden;
|
|
23
|
-
transition: all 0.4s ease-in-out;
|
|
24
|
-
padding-right: 0.9375rem;
|
|
25
|
-
cursor: default;
|
|
26
|
-
|
|
27
|
-
&:not(.disabled) {
|
|
28
|
-
&:hover {
|
|
29
|
-
background: #d8dae5;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&:active {
|
|
33
|
-
background: #696c80;
|
|
34
|
-
color: #fff;
|
|
35
|
-
|
|
36
|
-
.chip-close-icon {
|
|
37
|
-
path {
|
|
38
|
-
stroke: #fff;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.chip-close-icon {
|
|
44
|
-
cursor: pointer;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
&.clickable {
|
|
49
|
-
cursor: pointer;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.chip-text {
|
|
53
|
-
display: flex;
|
|
54
|
-
align-items: center;
|
|
55
|
-
font-size: 0.95rem;
|
|
56
|
-
height: 100%;
|
|
57
|
-
padding-left: 0.9375rem;
|
|
58
|
-
margin-top: -0.125rem;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.chip-close-icon {
|
|
62
|
-
display: block;
|
|
63
|
-
height: 0.75rem;
|
|
64
|
-
width: 0.75rem;
|
|
65
|
-
margin-block: auto;
|
|
66
|
-
margin-left: 0.625rem;
|
|
67
|
-
|
|
68
|
-
path {
|
|
69
|
-
stroke: #12131a;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.dropdown-max-height {
|
|
77
|
-
max-height: -moz-fit-content;
|
|
78
|
-
max-height: fit-content !important;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.dropdown-overflow {
|
|
82
|
-
overflow: visible !important;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.show-btn {
|
|
86
|
-
display: flex;
|
|
87
|
-
flex-direction: row;
|
|
88
|
-
flex-wrap: nowrap;
|
|
89
|
-
justify-content: center;
|
|
90
|
-
align-items: center;
|
|
91
|
-
width: auto;
|
|
92
|
-
height: 1.25rem;
|
|
93
|
-
cursor: pointer;
|
|
94
|
-
border: none;
|
|
95
|
-
margin-top: 0.625rem;
|
|
96
|
-
color: #9a9eb2;
|
|
97
|
-
background-color: transparent;
|
|
98
|
-
|
|
99
|
-
.show-btn-text-container {
|
|
100
|
-
flex: 1 1 auto;
|
|
101
|
-
|
|
102
|
-
.show-btn-text {
|
|
103
|
-
font-size: 0.75rem;
|
|
104
|
-
text-decoration-line: underline;
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
.show-btn-icon-container {
|
|
109
|
-
display: flex;
|
|
110
|
-
justify-content: center;
|
|
111
|
-
align-items: center;
|
|
112
|
-
height: 1.25rem;
|
|
113
|
-
width: 1.25rem;
|
|
114
|
-
margin-top: 0.1875rem;
|
|
115
|
-
margin-left: 0.125rem;
|
|
116
|
-
|
|
117
|
-
.show-btn-icon {
|
|
118
|
-
height: 1.25rem;
|
|
119
|
-
width: 1.25rem;
|
|
120
|
-
|
|
121
|
-
path {
|
|
122
|
-
fill: #9a9eb2;
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
&:hover {
|
|
128
|
-
color: #7c9bea;
|
|
129
|
-
|
|
130
|
-
.show-btn-icon-container .show-btn-icon {
|
|
131
|
-
path {
|
|
132
|
-
fill: #7c9bea;
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
&:active {
|
|
138
|
-
color: #2c4fa4;
|
|
139
|
-
|
|
140
|
-
.show-btn-icon-container .show-btn-icon {
|
|
141
|
-
path {
|
|
142
|
-
fill: #2c4fa4;
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
}
|
|
1
|
+
.chips-container {
|
|
2
|
+
width: 100%;
|
|
3
|
+
|
|
4
|
+
.overflow-dropdown-div {
|
|
5
|
+
max-height: 4.25rem;
|
|
6
|
+
overflow: hidden;
|
|
7
|
+
|
|
8
|
+
.dropdown-list {
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-wrap: wrap;
|
|
11
|
+
gap: 0.625rem;
|
|
12
|
+
margin-top: 0.625rem;
|
|
13
|
+
|
|
14
|
+
.chip {
|
|
15
|
+
display: flex;
|
|
16
|
+
justify-content: center;
|
|
17
|
+
align-items: center;
|
|
18
|
+
background: #ebecf2;
|
|
19
|
+
border-radius: 3.125rem;
|
|
20
|
+
width: max-content;
|
|
21
|
+
height: 1.5rem;
|
|
22
|
+
overflow: hidden;
|
|
23
|
+
transition: all 0.4s ease-in-out;
|
|
24
|
+
padding-right: 0.9375rem;
|
|
25
|
+
cursor: default;
|
|
26
|
+
|
|
27
|
+
&:not(.disabled) {
|
|
28
|
+
&:hover {
|
|
29
|
+
background: #d8dae5;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&:active {
|
|
33
|
+
background: #696c80;
|
|
34
|
+
color: #fff;
|
|
35
|
+
|
|
36
|
+
.chip-close-icon {
|
|
37
|
+
path {
|
|
38
|
+
stroke: #fff;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.chip-close-icon {
|
|
44
|
+
cursor: pointer;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&.clickable {
|
|
49
|
+
cursor: pointer;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.chip-text {
|
|
53
|
+
display: flex;
|
|
54
|
+
align-items: center;
|
|
55
|
+
font-size: 0.95rem;
|
|
56
|
+
height: 100%;
|
|
57
|
+
padding-left: 0.9375rem;
|
|
58
|
+
margin-top: -0.125rem;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.chip-close-icon {
|
|
62
|
+
display: block;
|
|
63
|
+
height: 0.75rem;
|
|
64
|
+
width: 0.75rem;
|
|
65
|
+
margin-block: auto;
|
|
66
|
+
margin-left: 0.625rem;
|
|
67
|
+
|
|
68
|
+
path {
|
|
69
|
+
stroke: #12131a;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.dropdown-max-height {
|
|
77
|
+
max-height: -moz-fit-content;
|
|
78
|
+
max-height: fit-content !important;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.dropdown-overflow {
|
|
82
|
+
overflow: visible !important;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.show-btn {
|
|
86
|
+
display: flex;
|
|
87
|
+
flex-direction: row;
|
|
88
|
+
flex-wrap: nowrap;
|
|
89
|
+
justify-content: center;
|
|
90
|
+
align-items: center;
|
|
91
|
+
width: auto;
|
|
92
|
+
height: 1.25rem;
|
|
93
|
+
cursor: pointer;
|
|
94
|
+
border: none;
|
|
95
|
+
margin-top: 0.625rem;
|
|
96
|
+
color: #9a9eb2;
|
|
97
|
+
background-color: transparent;
|
|
98
|
+
|
|
99
|
+
.show-btn-text-container {
|
|
100
|
+
flex: 1 1 auto;
|
|
101
|
+
|
|
102
|
+
.show-btn-text {
|
|
103
|
+
font-size: 0.75rem;
|
|
104
|
+
text-decoration-line: underline;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.show-btn-icon-container {
|
|
109
|
+
display: flex;
|
|
110
|
+
justify-content: center;
|
|
111
|
+
align-items: center;
|
|
112
|
+
height: 1.25rem;
|
|
113
|
+
width: 1.25rem;
|
|
114
|
+
margin-top: 0.1875rem;
|
|
115
|
+
margin-left: 0.125rem;
|
|
116
|
+
|
|
117
|
+
.show-btn-icon {
|
|
118
|
+
height: 1.25rem;
|
|
119
|
+
width: 1.25rem;
|
|
120
|
+
|
|
121
|
+
path {
|
|
122
|
+
fill: #9a9eb2;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
&:hover {
|
|
128
|
+
color: #7c9bea;
|
|
129
|
+
|
|
130
|
+
.show-btn-icon-container .show-btn-icon {
|
|
131
|
+
path {
|
|
132
|
+
fill: #7c9bea;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
&:active {
|
|
138
|
+
color: #2c4fa4;
|
|
139
|
+
|
|
140
|
+
.show-btn-icon-container .show-btn-icon {
|
|
141
|
+
path {
|
|
142
|
+
fill: #2c4fa4;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
@@ -1,165 +1,20 @@
|
|
|
1
|
-
.apiInfoForm {
|
|
2
|
-
display: grid;
|
|
3
|
-
padding: 1.25rem 1.875rem;
|
|
4
|
-
gap: 1.25rem;
|
|
5
|
-
|
|
6
|
-
.
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
&.editDescBtn {
|
|
24
|
-
padding: 0;
|
|
25
|
-
margin-right: 1.25rem;
|
|
26
|
-
|
|
27
|
-
:global(.btnContentWrapper) {
|
|
28
|
-
display: flex;
|
|
29
|
-
align-items: center;
|
|
30
|
-
padding: 0;
|
|
31
|
-
font-size: 0.875rem;
|
|
32
|
-
|
|
33
|
-
:global(.endBtnIcon) {
|
|
34
|
-
margin-block: auto;
|
|
35
|
-
|
|
36
|
-
svg {
|
|
37
|
-
path {
|
|
38
|
-
fill: #12131a;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
&.deleteParamBtn {
|
|
46
|
-
padding: 0;
|
|
47
|
-
border-width: 0 !important;
|
|
48
|
-
|
|
49
|
-
:global(.btnContentWrapper) {
|
|
50
|
-
:global(.endBtnIcon) {
|
|
51
|
-
margin-block: auto;
|
|
52
|
-
|
|
53
|
-
svg {
|
|
54
|
-
width: 1.125rem;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
&:not(:global(.disabled)):global(.success) {
|
|
61
|
-
:global(.endBtnIcon) {
|
|
62
|
-
margin-block: auto;
|
|
63
|
-
|
|
64
|
-
svg {
|
|
65
|
-
width: 1.125rem;
|
|
66
|
-
path {
|
|
67
|
-
fill: #3aaa35;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.externalDocsLink {
|
|
76
|
-
font-size: 0.875rem;
|
|
77
|
-
line-height: 1.25rem;
|
|
78
|
-
cursor: pointer;
|
|
79
|
-
align-self: center;
|
|
80
|
-
margin-right: 2rem;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.editExternalDocs {
|
|
84
|
-
display: flex;
|
|
85
|
-
align-items: center;
|
|
86
|
-
padding-right: 0.625rem;
|
|
87
|
-
|
|
88
|
-
svg {
|
|
89
|
-
cursor: pointer;
|
|
90
|
-
|
|
91
|
-
path {
|
|
92
|
-
fill: #12131a;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.editDescTooltipContent {
|
|
98
|
-
display: flex;
|
|
99
|
-
flex-direction: column;
|
|
100
|
-
gap: 0.625rem;
|
|
101
|
-
padding-bottom: 0.625rem;
|
|
102
|
-
|
|
103
|
-
> *:not(.editDescTooltipContent_header) {
|
|
104
|
-
margin-inline: 0.625rem;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
.editDescTooltipContent_header {
|
|
108
|
-
font-weight: 600;
|
|
109
|
-
font-size: 0.875rem;
|
|
110
|
-
line-height: 1.25rem;
|
|
111
|
-
padding: 0.75rem 1.25rem;
|
|
112
|
-
border-bottom: 1px solid #d8dae5;
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
:global(.requiredParam) {
|
|
117
|
-
:global(.headContainer) {
|
|
118
|
-
&::after {
|
|
119
|
-
content: '*';
|
|
120
|
-
color: red;
|
|
121
|
-
transform: translateX(0.125rem);
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
.apiDocRow {
|
|
128
|
-
display: grid;
|
|
129
|
-
grid-template-columns: 1fr 1fr;
|
|
130
|
-
gap: 1.25rem;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
.apiInfoForm_tagsChips {
|
|
134
|
-
margin-top: -1.25rem;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
.editDescTooltipContent {
|
|
138
|
-
display: flex;
|
|
139
|
-
flex-direction: column;
|
|
140
|
-
gap: 0.625rem;
|
|
141
|
-
padding-bottom: 0.625rem;
|
|
142
|
-
|
|
143
|
-
> *:not(.editDescTooltipContent_header) {
|
|
144
|
-
margin-inline: 0.625rem;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
.editDescTooltipContent_header {
|
|
148
|
-
font-weight: 600;
|
|
149
|
-
font-size: 0.875rem;
|
|
150
|
-
line-height: 1.25rem;
|
|
151
|
-
padding: 0.75rem 1.25rem;
|
|
152
|
-
border-bottom: 1px solid #d8dae5;
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
:global(.requiredParam) {
|
|
157
|
-
:global(.headContainer) {
|
|
158
|
-
&::after {
|
|
159
|
-
content: '*';
|
|
160
|
-
color: red;
|
|
161
|
-
transform: translateX(0.125rem);
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
}
|
|
1
|
+
.apiInfoForm {
|
|
2
|
+
display: grid;
|
|
3
|
+
padding: 1.25rem 1.875rem;
|
|
4
|
+
gap: 1.25rem;
|
|
5
|
+
|
|
6
|
+
.apiDocRow {
|
|
7
|
+
display: grid;
|
|
8
|
+
grid-template-columns: 1fr 1fr;
|
|
9
|
+
gap: 1.25rem;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.apiInfoForm_tagsChips {
|
|
13
|
+
margin-top: -1.25rem;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.apiInfoForm_submitBtn {
|
|
17
|
+
height: 1.25rem !important;
|
|
18
|
+
width: 4.25rem;
|
|
19
|
+
}
|
|
20
|
+
}
|