ece-docs-components 1.0.39 → 1.0.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/_virtual/Parser.js +6 -0
- package/dist/cjs/_virtual/Parser.js.map +1 -0
- package/dist/cjs/_virtual/Tokenizer.js +6 -0
- package/dist/cjs/_virtual/Tokenizer.js.map +1 -0
- package/dist/cjs/_virtual/attributes-to-props.js +6 -0
- package/dist/cjs/_virtual/attributes-to-props.js.map +1 -0
- package/dist/cjs/_virtual/decode-codepoint.js +6 -0
- package/dist/cjs/_virtual/decode-codepoint.js.map +1 -0
- package/dist/cjs/_virtual/decode-data-html.js +6 -0
- package/dist/cjs/_virtual/decode-data-html.js.map +1 -0
- package/dist/cjs/_virtual/decode-data-html2.js +6 -0
- package/dist/cjs/_virtual/decode-data-html2.js.map +1 -0
- package/dist/cjs/_virtual/decode-data-xml.js +6 -0
- package/dist/cjs/_virtual/decode-data-xml.js.map +1 -0
- package/dist/cjs/_virtual/decode-data-xml2.js +6 -0
- package/dist/cjs/_virtual/decode-data-xml2.js.map +1 -0
- package/dist/cjs/_virtual/decode.js +6 -0
- package/dist/cjs/_virtual/decode.js.map +1 -0
- package/dist/cjs/_virtual/decode2.js +6 -0
- package/dist/cjs/_virtual/decode2.js.map +1 -0
- package/dist/cjs/_virtual/decode_codepoint.js +6 -0
- package/dist/cjs/_virtual/decode_codepoint.js.map +1 -0
- package/dist/cjs/_virtual/dom-to-react.js +6 -0
- package/dist/cjs/_virtual/dom-to-react.js.map +1 -0
- package/dist/cjs/_virtual/encode-html.js +6 -0
- package/dist/cjs/_virtual/encode-html.js.map +1 -0
- package/dist/cjs/_virtual/encode.js +6 -0
- package/dist/cjs/_virtual/encode.js.map +1 -0
- package/dist/cjs/_virtual/escape.js +6 -0
- package/dist/cjs/_virtual/escape.js.map +1 -0
- package/dist/cjs/_virtual/feeds.js +6 -0
- package/dist/cjs/_virtual/feeds.js.map +1 -0
- package/dist/cjs/_virtual/foreignNames.js +6 -0
- package/dist/cjs/_virtual/foreignNames.js.map +1 -0
- package/dist/cjs/_virtual/helpers.js +6 -0
- package/dist/cjs/_virtual/helpers.js.map +1 -0
- package/dist/cjs/_virtual/html-to-dom.js +6 -0
- package/dist/cjs/_virtual/html-to-dom.js.map +1 -0
- package/dist/cjs/_virtual/index.js +4 -4
- package/dist/cjs/_virtual/index10.js +6 -0
- package/dist/cjs/_virtual/index10.js.map +1 -0
- package/dist/cjs/_virtual/index11.js +6 -0
- package/dist/cjs/_virtual/index11.js.map +1 -0
- package/dist/cjs/_virtual/index2.js +2 -4
- package/dist/cjs/_virtual/index2.js.map +1 -1
- package/dist/cjs/_virtual/index3.js +2 -2
- package/dist/cjs/_virtual/index4.js +2 -2
- package/dist/cjs/_virtual/index5.js +2 -2
- package/dist/cjs/_virtual/index6.js +2 -2
- package/dist/cjs/_virtual/index7.js +6 -0
- package/dist/cjs/_virtual/index7.js.map +1 -0
- package/dist/cjs/_virtual/index8.js +6 -0
- package/dist/cjs/_virtual/index8.js.map +1 -0
- package/dist/cjs/_virtual/index9.js +6 -0
- package/dist/cjs/_virtual/index9.js.map +1 -0
- package/dist/cjs/_virtual/legacy.js +6 -0
- package/dist/cjs/_virtual/legacy.js.map +1 -0
- package/dist/cjs/_virtual/manipulation.js +6 -0
- package/dist/cjs/_virtual/manipulation.js.map +1 -0
- package/dist/cjs/_virtual/node.js +6 -0
- package/dist/cjs/_virtual/node.js.map +1 -0
- package/dist/cjs/_virtual/possibleStandardNamesOptimized.js +6 -0
- package/dist/cjs/_virtual/possibleStandardNamesOptimized.js.map +1 -0
- package/dist/cjs/_virtual/querying.js +6 -0
- package/dist/cjs/_virtual/querying.js.map +1 -0
- package/dist/cjs/_virtual/stringify.js +6 -0
- package/dist/cjs/_virtual/stringify.js.map +1 -0
- package/dist/cjs/_virtual/traversal.js +6 -0
- package/dist/cjs/_virtual/traversal.js.map +1 -0
- package/dist/cjs/_virtual/types.js +6 -0
- package/dist/cjs/_virtual/types.js.map +1 -0
- package/dist/cjs/_virtual/utilities.js +6 -0
- package/dist/cjs/_virtual/utilities.js.map +1 -0
- package/dist/cjs/_virtual/utilities2.js +6 -0
- package/dist/cjs/_virtual/utilities2.js.map +1 -0
- package/dist/cjs/_virtual/utilities3.js +6 -0
- package/dist/cjs/_virtual/utilities3.js.map +1 -0
- package/dist/cjs/components/Alert.js +2 -0
- package/dist/cjs/components/Alert.js.map +1 -1
- package/dist/cjs/components/Breadcrumb.js +4 -0
- package/dist/cjs/components/Breadcrumb.js.map +1 -1
- package/dist/cjs/components/Modal.js +7 -4
- package/dist/cjs/components/Modal.js.map +1 -1
- package/dist/cjs/components/Progress.js +9 -5
- package/dist/cjs/components/Progress.js.map +1 -1
- package/dist/cjs/components/Sidebar.js +1 -1
- package/dist/cjs/components/Sidebar.js.map +1 -1
- package/dist/cjs/components/StatusBar.js +7 -1
- package/dist/cjs/components/StatusBar.js.map +1 -1
- package/dist/cjs/node_modules/dom-serializer/lib/foreignNames.js +116 -0
- package/dist/cjs/node_modules/dom-serializer/lib/foreignNames.js.map +1 -0
- package/dist/cjs/node_modules/dom-serializer/lib/index.js +245 -0
- package/dist/cjs/node_modules/dom-serializer/lib/index.js.map +1 -0
- package/dist/cjs/node_modules/domelementtype/lib/index.js +70 -0
- package/dist/cjs/node_modules/domelementtype/lib/index.js.map +1 -0
- package/dist/cjs/node_modules/domhandler/lib/index.js +182 -0
- package/dist/cjs/node_modules/domhandler/lib/index.js.map +1 -0
- package/dist/cjs/node_modules/domhandler/lib/node.js +488 -0
- package/dist/cjs/node_modules/domhandler/lib/node.js.map +1 -0
- package/dist/cjs/node_modules/domutils/lib/feeds.js +205 -0
- package/dist/cjs/node_modules/domutils/lib/feeds.js.map +1 -0
- package/dist/cjs/node_modules/domutils/lib/helpers.js +156 -0
- package/dist/cjs/node_modules/domutils/lib/helpers.js.map +1 -0
- package/dist/cjs/node_modules/domutils/lib/index.js +56 -0
- package/dist/cjs/node_modules/domutils/lib/index.js.map +1 -0
- package/dist/cjs/node_modules/domutils/lib/legacy.js +183 -0
- package/dist/cjs/node_modules/domutils/lib/legacy.js.map +1 -0
- package/dist/cjs/node_modules/domutils/lib/manipulation.js +155 -0
- package/dist/cjs/node_modules/domutils/lib/manipulation.js.map +1 -0
- package/dist/cjs/node_modules/domutils/lib/querying.js +169 -0
- package/dist/cjs/node_modules/domutils/lib/querying.js.map +1 -0
- package/dist/cjs/node_modules/domutils/lib/stringify.js +107 -0
- package/dist/cjs/node_modules/domutils/lib/stringify.js.map +1 -0
- package/dist/cjs/node_modules/domutils/lib/traversal.js +139 -0
- package/dist/cjs/node_modules/domutils/lib/traversal.js.map +1 -0
- package/dist/cjs/node_modules/entities/lib/decode.js +554 -0
- package/dist/cjs/node_modules/entities/lib/decode.js.map +1 -0
- package/dist/cjs/node_modules/entities/lib/decode_codepoint.js +91 -0
- package/dist/cjs/node_modules/entities/lib/decode_codepoint.js.map +1 -0
- package/dist/cjs/node_modules/entities/lib/encode.js +92 -0
- package/dist/cjs/node_modules/entities/lib/encode.js.map +1 -0
- package/dist/cjs/node_modules/entities/lib/escape.js +137 -0
- package/dist/cjs/node_modules/entities/lib/escape.js.map +1 -0
- package/dist/cjs/node_modules/entities/lib/generated/decode-data-html.js +22 -0
- package/dist/cjs/node_modules/entities/lib/generated/decode-data-html.js.map +1 -0
- package/dist/cjs/node_modules/entities/lib/generated/decode-data-xml.js +22 -0
- package/dist/cjs/node_modules/entities/lib/generated/decode-data-xml.js.map +1 -0
- package/dist/cjs/node_modules/entities/lib/generated/encode-html.js +25 -0
- package/dist/cjs/node_modules/entities/lib/generated/encode-html.js.map +1 -0
- package/dist/cjs/node_modules/entities/lib/index.js +144 -0
- package/dist/cjs/node_modules/entities/lib/index.js.map +1 -0
- package/dist/cjs/node_modules/html-dom-parser/lib/index.js +47 -0
- package/dist/cjs/node_modules/html-dom-parser/lib/index.js.map +1 -0
- package/dist/cjs/node_modules/html-dom-parser/lib/server/html-to-dom.js +46 -0
- package/dist/cjs/node_modules/html-dom-parser/lib/server/html-to-dom.js.map +1 -0
- package/dist/cjs/node_modules/html-dom-parser/lib/server/utilities.js +32 -0
- package/dist/cjs/node_modules/html-dom-parser/lib/server/utilities.js.map +1 -0
- package/dist/cjs/node_modules/html-dom-parser/lib/types.js +16 -0
- package/dist/cjs/node_modules/html-dom-parser/lib/types.js.map +1 -0
- package/dist/cjs/node_modules/html-react-parser/esm/index.js +10 -0
- package/dist/cjs/node_modules/html-react-parser/esm/index.js.map +1 -0
- package/dist/cjs/node_modules/html-react-parser/lib/attributes-to-props.js +89 -0
- package/dist/cjs/node_modules/html-react-parser/lib/attributes-to-props.js.map +1 -0
- package/dist/cjs/node_modules/html-react-parser/lib/dom-to-react.js +138 -0
- package/dist/cjs/node_modules/html-react-parser/lib/dom-to-react.js.map +1 -0
- package/dist/cjs/node_modules/html-react-parser/lib/index.js +55 -0
- package/dist/cjs/node_modules/html-react-parser/lib/index.js.map +1 -0
- package/dist/cjs/node_modules/html-react-parser/lib/utilities.js +121 -0
- package/dist/cjs/node_modules/html-react-parser/lib/utilities.js.map +1 -0
- package/dist/cjs/node_modules/htmlparser2/dist/commonjs/Parser.js +542 -0
- package/dist/cjs/node_modules/htmlparser2/dist/commonjs/Parser.js.map +1 -0
- package/dist/cjs/node_modules/htmlparser2/dist/commonjs/Tokenizer.js +805 -0
- package/dist/cjs/node_modules/htmlparser2/dist/commonjs/Tokenizer.js.map +1 -0
- package/dist/cjs/node_modules/htmlparser2/dist/commonjs/index.js +143 -0
- package/dist/cjs/node_modules/htmlparser2/dist/commonjs/index.js.map +1 -0
- package/dist/cjs/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.js +92 -0
- package/dist/cjs/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.js.map +1 -0
- package/dist/cjs/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.js +529 -0
- package/dist/cjs/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.js.map +1 -0
- package/dist/cjs/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.js +23 -0
- package/dist/cjs/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.js.map +1 -0
- package/dist/cjs/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +23 -0
- package/dist/cjs/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.js.map +1 -0
- package/dist/cjs/node_modules/inline-style-parser/cjs/index.js +274 -0
- package/dist/cjs/node_modules/inline-style-parser/cjs/index.js.map +1 -0
- package/dist/cjs/node_modules/react-property/lib/index.js +534 -0
- package/dist/cjs/node_modules/react-property/lib/index.js.map +1 -0
- package/dist/cjs/node_modules/react-property/lib/possibleStandardNamesOptimized.js +507 -0
- package/dist/cjs/node_modules/react-property/lib/possibleStandardNamesOptimized.js.map +1 -0
- package/dist/cjs/node_modules/style-to-js/cjs/index.js +40 -0
- package/dist/cjs/node_modules/style-to-js/cjs/index.js.map +1 -0
- package/dist/cjs/node_modules/style-to-js/cjs/utilities.js +60 -0
- package/dist/cjs/node_modules/style-to-js/cjs/utilities.js.map +1 -0
- package/dist/cjs/node_modules/style-to-object/cjs/index.js +58 -0
- package/dist/cjs/node_modules/style-to-object/cjs/index.js.map +1 -0
- package/dist/esm/_virtual/Parser.js +4 -0
- package/dist/esm/_virtual/Parser.js.map +1 -0
- package/dist/esm/_virtual/Tokenizer.js +4 -0
- package/dist/esm/_virtual/Tokenizer.js.map +1 -0
- package/dist/esm/_virtual/_commonjsHelpers.js +6 -0
- package/dist/esm/_virtual/_commonjsHelpers.js.map +1 -0
- package/dist/esm/_virtual/attributes-to-props.js +4 -0
- package/dist/esm/_virtual/attributes-to-props.js.map +1 -0
- package/dist/esm/_virtual/decode-codepoint.js +4 -0
- package/dist/esm/_virtual/decode-codepoint.js.map +1 -0
- package/dist/esm/_virtual/decode-data-html.js +4 -0
- package/dist/esm/_virtual/decode-data-html.js.map +1 -0
- package/dist/esm/_virtual/decode-data-html2.js +4 -0
- package/dist/esm/_virtual/decode-data-html2.js.map +1 -0
- package/dist/esm/_virtual/decode-data-xml.js +4 -0
- package/dist/esm/_virtual/decode-data-xml.js.map +1 -0
- package/dist/esm/_virtual/decode-data-xml2.js +4 -0
- package/dist/esm/_virtual/decode-data-xml2.js.map +1 -0
- package/dist/esm/_virtual/decode.js +4 -0
- package/dist/esm/_virtual/decode.js.map +1 -0
- package/dist/esm/_virtual/decode2.js +4 -0
- package/dist/esm/_virtual/decode2.js.map +1 -0
- package/dist/esm/_virtual/decode_codepoint.js +4 -0
- package/dist/esm/_virtual/decode_codepoint.js.map +1 -0
- package/dist/esm/_virtual/dom-to-react.js +4 -0
- package/dist/esm/_virtual/dom-to-react.js.map +1 -0
- package/dist/esm/_virtual/encode-html.js +4 -0
- package/dist/esm/_virtual/encode-html.js.map +1 -0
- package/dist/esm/_virtual/encode.js +4 -0
- package/dist/esm/_virtual/encode.js.map +1 -0
- package/dist/esm/_virtual/escape.js +4 -0
- package/dist/esm/_virtual/escape.js.map +1 -0
- package/dist/esm/_virtual/feeds.js +4 -0
- package/dist/esm/_virtual/feeds.js.map +1 -0
- package/dist/esm/_virtual/foreignNames.js +4 -0
- package/dist/esm/_virtual/foreignNames.js.map +1 -0
- package/dist/esm/_virtual/helpers.js +4 -0
- package/dist/esm/_virtual/helpers.js.map +1 -0
- package/dist/esm/_virtual/html-to-dom.js +4 -0
- package/dist/esm/_virtual/html-to-dom.js.map +1 -0
- package/dist/esm/_virtual/index.js +8 -0
- package/dist/esm/_virtual/index.js.map +1 -0
- package/dist/esm/_virtual/index10.js +4 -0
- package/dist/esm/_virtual/index10.js.map +1 -0
- package/dist/esm/_virtual/index11.js +4 -0
- package/dist/esm/_virtual/index11.js.map +1 -0
- package/dist/esm/_virtual/index2.js +4 -0
- package/dist/esm/_virtual/index2.js.map +1 -0
- package/dist/esm/_virtual/index3.js +4 -0
- package/dist/esm/_virtual/index3.js.map +1 -0
- package/dist/esm/_virtual/index4.js +4 -0
- package/dist/esm/_virtual/index4.js.map +1 -0
- package/dist/esm/_virtual/index5.js +4 -0
- package/dist/esm/_virtual/index5.js.map +1 -0
- package/dist/esm/_virtual/index6.js +4 -0
- package/dist/esm/_virtual/index6.js.map +1 -0
- package/dist/esm/_virtual/index7.js +4 -0
- package/dist/esm/_virtual/index7.js.map +1 -0
- package/dist/esm/_virtual/index8.js +4 -0
- package/dist/esm/_virtual/index8.js.map +1 -0
- package/dist/esm/_virtual/index9.js +4 -0
- package/dist/esm/_virtual/index9.js.map +1 -0
- package/dist/esm/_virtual/legacy.js +4 -0
- package/dist/esm/_virtual/legacy.js.map +1 -0
- package/dist/esm/_virtual/manipulation.js +4 -0
- package/dist/esm/_virtual/manipulation.js.map +1 -0
- package/dist/esm/_virtual/node.js +4 -0
- package/dist/esm/_virtual/node.js.map +1 -0
- package/dist/esm/_virtual/possibleStandardNamesOptimized.js +4 -0
- package/dist/esm/_virtual/possibleStandardNamesOptimized.js.map +1 -0
- package/dist/esm/_virtual/querying.js +4 -0
- package/dist/esm/_virtual/querying.js.map +1 -0
- package/dist/esm/_virtual/stringify.js +4 -0
- package/dist/esm/_virtual/stringify.js.map +1 -0
- package/dist/esm/_virtual/traversal.js +4 -0
- package/dist/esm/_virtual/traversal.js.map +1 -0
- package/dist/esm/_virtual/types.js +4 -0
- package/dist/esm/_virtual/types.js.map +1 -0
- package/dist/esm/_virtual/utilities.js +4 -0
- package/dist/esm/_virtual/utilities.js.map +1 -0
- package/dist/esm/_virtual/utilities2.js +4 -0
- package/dist/esm/_virtual/utilities2.js.map +1 -0
- package/dist/esm/_virtual/utilities3.js +4 -0
- package/dist/esm/_virtual/utilities3.js.map +1 -0
- package/dist/esm/components/Alert.js +2 -0
- package/dist/esm/components/Alert.js.map +1 -1
- package/dist/esm/components/Breadcrumb.js +4 -0
- package/dist/esm/components/Breadcrumb.js.map +1 -1
- package/dist/esm/components/Modal.js +7 -4
- package/dist/esm/components/Modal.js.map +1 -1
- package/dist/esm/components/Progress.d.ts +1 -0
- package/dist/esm/components/Progress.js +9 -5
- package/dist/esm/components/Progress.js.map +1 -1
- package/dist/esm/components/Sidebar.js +1 -1
- package/dist/esm/components/Sidebar.js.map +1 -1
- package/dist/esm/components/StatusBar.js +7 -1
- package/dist/esm/components/StatusBar.js.map +1 -1
- package/dist/esm/node_modules/dom-serializer/lib/foreignNames.js +114 -0
- package/dist/esm/node_modules/dom-serializer/lib/foreignNames.js.map +1 -0
- package/dist/esm/node_modules/dom-serializer/lib/index.js +243 -0
- package/dist/esm/node_modules/dom-serializer/lib/index.js.map +1 -0
- package/dist/esm/node_modules/domelementtype/lib/index.js +68 -0
- package/dist/esm/node_modules/domelementtype/lib/index.js.map +1 -0
- package/dist/esm/node_modules/domhandler/lib/index.js +180 -0
- package/dist/esm/node_modules/domhandler/lib/index.js.map +1 -0
- package/dist/esm/node_modules/domhandler/lib/node.js +486 -0
- package/dist/esm/node_modules/domhandler/lib/node.js.map +1 -0
- package/dist/esm/node_modules/domutils/lib/feeds.js +203 -0
- package/dist/esm/node_modules/domutils/lib/feeds.js.map +1 -0
- package/dist/esm/node_modules/domutils/lib/helpers.js +154 -0
- package/dist/esm/node_modules/domutils/lib/helpers.js.map +1 -0
- package/dist/esm/node_modules/domutils/lib/index.js +54 -0
- package/dist/esm/node_modules/domutils/lib/index.js.map +1 -0
- package/dist/esm/node_modules/domutils/lib/legacy.js +181 -0
- package/dist/esm/node_modules/domutils/lib/legacy.js.map +1 -0
- package/dist/esm/node_modules/domutils/lib/manipulation.js +153 -0
- package/dist/esm/node_modules/domutils/lib/manipulation.js.map +1 -0
- package/dist/esm/node_modules/domutils/lib/querying.js +167 -0
- package/dist/esm/node_modules/domutils/lib/querying.js.map +1 -0
- package/dist/esm/node_modules/domutils/lib/stringify.js +105 -0
- package/dist/esm/node_modules/domutils/lib/stringify.js.map +1 -0
- package/dist/esm/node_modules/domutils/lib/traversal.js +137 -0
- package/dist/esm/node_modules/domutils/lib/traversal.js.map +1 -0
- package/dist/esm/node_modules/entities/lib/decode.js +552 -0
- package/dist/esm/node_modules/entities/lib/decode.js.map +1 -0
- package/dist/esm/node_modules/entities/lib/decode_codepoint.js +89 -0
- package/dist/esm/node_modules/entities/lib/decode_codepoint.js.map +1 -0
- package/dist/esm/node_modules/entities/lib/encode.js +90 -0
- package/dist/esm/node_modules/entities/lib/encode.js.map +1 -0
- package/dist/esm/node_modules/entities/lib/escape.js +135 -0
- package/dist/esm/node_modules/entities/lib/escape.js.map +1 -0
- package/dist/esm/node_modules/entities/lib/generated/decode-data-html.js +20 -0
- package/dist/esm/node_modules/entities/lib/generated/decode-data-html.js.map +1 -0
- package/dist/esm/node_modules/entities/lib/generated/decode-data-xml.js +20 -0
- package/dist/esm/node_modules/entities/lib/generated/decode-data-xml.js.map +1 -0
- package/dist/esm/node_modules/entities/lib/generated/encode-html.js +23 -0
- package/dist/esm/node_modules/entities/lib/generated/encode-html.js.map +1 -0
- package/dist/esm/node_modules/entities/lib/index.js +142 -0
- package/dist/esm/node_modules/entities/lib/index.js.map +1 -0
- package/dist/esm/node_modules/html-dom-parser/lib/index.js +45 -0
- package/dist/esm/node_modules/html-dom-parser/lib/index.js.map +1 -0
- package/dist/esm/node_modules/html-dom-parser/lib/server/html-to-dom.js +44 -0
- package/dist/esm/node_modules/html-dom-parser/lib/server/html-to-dom.js.map +1 -0
- package/dist/esm/node_modules/html-dom-parser/lib/server/utilities.js +30 -0
- package/dist/esm/node_modules/html-dom-parser/lib/server/utilities.js.map +1 -0
- package/dist/esm/node_modules/html-dom-parser/lib/types.js +14 -0
- package/dist/esm/node_modules/html-dom-parser/lib/types.js.map +1 -0
- package/dist/esm/node_modules/html-react-parser/esm/index.js +6 -0
- package/dist/esm/node_modules/html-react-parser/esm/index.js.map +1 -0
- package/dist/esm/node_modules/html-react-parser/lib/attributes-to-props.js +87 -0
- package/dist/esm/node_modules/html-react-parser/lib/attributes-to-props.js.map +1 -0
- package/dist/esm/node_modules/html-react-parser/lib/dom-to-react.js +136 -0
- package/dist/esm/node_modules/html-react-parser/lib/dom-to-react.js.map +1 -0
- package/dist/esm/node_modules/html-react-parser/lib/index.js +53 -0
- package/dist/esm/node_modules/html-react-parser/lib/index.js.map +1 -0
- package/dist/esm/node_modules/html-react-parser/lib/utilities.js +119 -0
- package/dist/esm/node_modules/html-react-parser/lib/utilities.js.map +1 -0
- package/dist/esm/node_modules/htmlparser2/dist/commonjs/Parser.js +540 -0
- package/dist/esm/node_modules/htmlparser2/dist/commonjs/Parser.js.map +1 -0
- package/dist/esm/node_modules/htmlparser2/dist/commonjs/Tokenizer.js +803 -0
- package/dist/esm/node_modules/htmlparser2/dist/commonjs/Tokenizer.js.map +1 -0
- package/dist/esm/node_modules/htmlparser2/dist/commonjs/index.js +141 -0
- package/dist/esm/node_modules/htmlparser2/dist/commonjs/index.js.map +1 -0
- package/dist/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.js +90 -0
- package/dist/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.js.map +1 -0
- package/dist/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.js +527 -0
- package/dist/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.js.map +1 -0
- package/dist/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.js +21 -0
- package/dist/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.js.map +1 -0
- package/dist/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +21 -0
- package/dist/esm/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.js.map +1 -0
- package/dist/esm/node_modules/inline-style-parser/cjs/index.js +272 -0
- package/dist/esm/node_modules/inline-style-parser/cjs/index.js.map +1 -0
- package/dist/esm/node_modules/react-property/lib/index.js +532 -0
- package/dist/esm/node_modules/react-property/lib/index.js.map +1 -0
- package/dist/esm/node_modules/react-property/lib/possibleStandardNamesOptimized.js +505 -0
- package/dist/esm/node_modules/react-property/lib/possibleStandardNamesOptimized.js.map +1 -0
- package/dist/esm/node_modules/style-to-js/cjs/index.js +38 -0
- package/dist/esm/node_modules/style-to-js/cjs/index.js.map +1 -0
- package/dist/esm/node_modules/style-to-js/cjs/utilities.js +58 -0
- package/dist/esm/node_modules/style-to-js/cjs/utilities.js.map +1 -0
- package/dist/esm/node_modules/style-to-object/cjs/index.js +56 -0
- package/dist/esm/node_modules/style-to-object/cjs/index.js.map +1 -0
- package/package.json +3 -2
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var index = require('../../../_virtual/index9.js');
|
|
4
|
+
var index$1 = require('../../inline-style-parser/cjs/index.js');
|
|
5
|
+
|
|
6
|
+
var hasRequiredCjs;
|
|
7
|
+
|
|
8
|
+
function requireCjs () {
|
|
9
|
+
if (hasRequiredCjs) return index.__exports;
|
|
10
|
+
hasRequiredCjs = 1;
|
|
11
|
+
var __importDefault = (index.__exports && index.__exports.__importDefault) || function (mod) {
|
|
12
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(index.__exports, "__esModule", { value: true });
|
|
15
|
+
index.__exports.default = StyleToObject;
|
|
16
|
+
const inline_style_parser_1 = __importDefault(index$1.__require());
|
|
17
|
+
/**
|
|
18
|
+
* Parses inline style to object.
|
|
19
|
+
*
|
|
20
|
+
* @param style - Inline style.
|
|
21
|
+
* @param iterator - Iterator.
|
|
22
|
+
* @returns - Style object or null.
|
|
23
|
+
*
|
|
24
|
+
* @example Parsing inline style to object:
|
|
25
|
+
*
|
|
26
|
+
* ```js
|
|
27
|
+
* import parse from 'style-to-object';
|
|
28
|
+
* parse('line-height: 42;'); // { 'line-height': '42' }
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
function StyleToObject(style, iterator) {
|
|
32
|
+
let styleObject = null;
|
|
33
|
+
if (!style || typeof style !== 'string') {
|
|
34
|
+
return styleObject;
|
|
35
|
+
}
|
|
36
|
+
const declarations = (0, inline_style_parser_1.default)(style);
|
|
37
|
+
const hasIterator = typeof iterator === 'function';
|
|
38
|
+
declarations.forEach((declaration) => {
|
|
39
|
+
if (declaration.type !== 'declaration') {
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
const { property, value } = declaration;
|
|
43
|
+
if (hasIterator) {
|
|
44
|
+
iterator(property, value, declaration);
|
|
45
|
+
}
|
|
46
|
+
else if (value) {
|
|
47
|
+
styleObject = styleObject || {};
|
|
48
|
+
styleObject[property] = value;
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
return styleObject;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
return index.__exports;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
exports.__require = requireCjs;
|
|
58
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../node_modules/style-to-object/cjs/index.js"],"sourcesContent":["\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = StyleToObject;\nconst inline_style_parser_1 = __importDefault(require(\"inline-style-parser\"));\n/**\n * Parses inline style to object.\n *\n * @param style - Inline style.\n * @param iterator - Iterator.\n * @returns - Style object or null.\n *\n * @example Parsing inline style to object:\n *\n * ```js\n * import parse from 'style-to-object';\n * parse('line-height: 42;'); // { 'line-height': '42' }\n * ```\n */\nfunction StyleToObject(style, iterator) {\n let styleObject = null;\n if (!style || typeof style !== 'string') {\n return styleObject;\n }\n const declarations = (0, inline_style_parser_1.default)(style);\n const hasIterator = typeof iterator === 'function';\n declarations.forEach((declaration) => {\n if (declaration.type !== 'declaration') {\n return;\n }\n const { property, value } = declaration;\n if (hasIterator) {\n iterator(property, value, declaration);\n }\n else if (value) {\n styleObject = styleObject || {};\n styleObject[property] = value;\n }\n });\n return styleObject;\n}\n//# sourceMappingURL=index.js.map"],"names":["this","cjs","require$$0"],"mappings":";;;;;;;;;;CACA,IAAI,eAAe,GAAG,CAACA,eAAI,IAAIA,eAAI,CAAC,eAAe,KAAK,UAAU,GAAG,EAAE;AACvE,KAAI,OAAO,CAAC,GAAG,IAAI,GAAG,CAAC,UAAU,IAAI,GAAG,GAAG,EAAE,SAAS,EAAE,GAAG,EAAE;CAC7D,CAAC;AACD,CAAA,MAAM,CAAC,cAAc,CAACC,eAAO,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;AAC7D,CAAAA,eAAA,CAAA,OAAe,GAAG,aAAa;AAC/B,CAAA,MAAM,qBAAqB,GAAG,eAAe,CAACC,mBAA8B,CAAC;AAC7E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAA,SAAS,aAAa,CAAC,KAAK,EAAE,QAAQ,EAAE;KACpC,IAAI,WAAW,GAAG,IAAI;KACtB,IAAI,CAAC,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;AAC7C,SAAQ,OAAO,WAAW;AAC1B,KAAA;KACI,MAAM,YAAY,GAAG,IAAI,qBAAqB,CAAC,OAAO,EAAE,KAAK,CAAC;AAClE,KAAI,MAAM,WAAW,GAAG,OAAO,QAAQ,KAAK,UAAU;AACtD,KAAI,YAAY,CAAC,OAAO,CAAC,CAAC,WAAW,KAAK;AAC1C,SAAQ,IAAI,WAAW,CAAC,IAAI,KAAK,aAAa,EAAE;aACpC;AACZ,SAAA;AACA,SAAQ,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,WAAW;SACvC,IAAI,WAAW,EAAE;AACzB,aAAY,QAAQ,CAAC,QAAQ,EAAE,KAAK,EAAE,WAAW,CAAC;AAClD,SAAA;cACa,IAAI,KAAK,EAAE;AACxB,aAAY,WAAW,GAAG,WAAW,IAAI,EAAE;AAC3C,aAAY,WAAW,CAAC,QAAQ,CAAC,GAAG,KAAK;AACzC,SAAA;AACA,KAAA,CAAK,CAAC;AACN,KAAI,OAAO,WAAW;AACtB,CAAA;AACA;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Parser.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tokenizer.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_commonjsHelpers.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attributes-to-props.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"decode-codepoint.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"decode-data-html.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"decode-data-html2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"decode-data-xml.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"decode-data-xml2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"decode.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"decode2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"decode_codepoint.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dom-to-react.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"encode-html.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"encode.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"escape.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"feeds.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"foreignNames.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helpers.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"html-to-dom.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { getDefaultExportFromCjs } from './_commonjsHelpers.js';
|
|
2
|
+
import { __require as requireLib } from '../node_modules/html-react-parser/lib/index.js';
|
|
3
|
+
|
|
4
|
+
var libExports = requireLib();
|
|
5
|
+
var HTMLReactParser = /*@__PURE__*/getDefaultExportFromCjs(libExports);
|
|
6
|
+
|
|
7
|
+
export { HTMLReactParser as default };
|
|
8
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index10.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index11.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index3.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index4.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index5.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index6.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index7.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index8.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index9.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"legacy.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"manipulation.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"node.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"possibleStandardNamesOptimized.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"querying.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stringify.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"traversal.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utilities.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utilities2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utilities3.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -73,6 +73,8 @@ const StyledAlert = styled(Alert$1)(({ theme, customvariant }) => {
|
|
|
73
73
|
gap: theme.spacing(1.5),
|
|
74
74
|
padding: theme.spacing(2),
|
|
75
75
|
marginBottom: theme.spacing(1.5),
|
|
76
|
+
overflowY: 'hidden',
|
|
77
|
+
fontSize: '1rem',
|
|
76
78
|
border: `1px solid ${style.borderColor}`,
|
|
77
79
|
borderRadius: (typeof theme.shape.borderRadius === 'string'
|
|
78
80
|
? parseInt(theme.shape.borderRadius, 10)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Alert.js","sources":["../../../../src/components/Alert.tsx"],"sourcesContent":["\r\n\r\nimport React from 'react';\r\nimport { Alert as MuiAlert, AlertProps as MuiAlertProps, styled, SxProps, Theme } from '@mui/material';\r\nimport { ErrorOutlineRounded, HighlightOffRounded, InfoOutlineRounded, LinkRounded, NoteOutlined, OpenInNewOutlined, TaskAltRounded } from '@mui/icons-material';\r\n\r\ninterface AlertProps {\r\n variant?: 'info' |\r\n 'success' |\r\n 'warning' |\r\n 'error' |\r\n 'note-internallink' |\r\n 'note-externallink' |\r\n 'note-important' |\r\n 'note' |\r\n 'note-assurance' |\r\n 'note-share' |\r\n 'note-task' |\r\n 'custom';\r\n children: React.ReactNode;\r\n className?: string;\r\n icon?: boolean | React.ReactNode; // Allow React node\r\n sx?: SxProps<Theme>; \r\n}\r\n\r\nconst StyledAlert = styled(MuiAlert)<{ customvariant?: string }>(({ theme, customvariant }) => {\r\n const variants = {\r\n info: {\r\n backgroundColor: '#eff6ff',\r\n borderColor: '#bfdbfe',\r\n color: '#1e3a8a',\r\n },\r\n success: {\r\n backgroundColor: '#f0fdf4',\r\n borderColor: '#bbf7d0',\r\n color: '#14532d',\r\n },\r\n warning: {\r\n backgroundColor: '#fefce8',\r\n borderColor: '#fef08a',\r\n color: '#713f12',\r\n },\r\n error: {\r\n backgroundColor: '#fef2f2',\r\n borderColor: '#fecaca',\r\n color: '#7f1d1d',\r\n },\r\n 'note-internallink': {\r\n backgroundColor: '#FDFCEE',\r\n borderColor: '#ECE8DF',\r\n color: '#4D3019',\r\n },\r\n 'note-externallink': {\r\n backgroundColor: '#FDFCEE',\r\n borderColor: '#ECE8DF',\r\n color: '#4D3019',\r\n },\r\n 'note': {\r\n backgroundColor: '#FDFCEE',\r\n borderColor: '#ECE8DF',\r\n color: '#4D3019',\r\n },\r\n 'note-important': {\r\n backgroundColor: '#FDEDED',\r\n borderColor: '#EDA6A6',\r\n color: '#5F2120',\r\n },\r\n 'note-task': {\r\n backgroundColor: '#FFF4E5',\r\n borderColor: '#F9C18F',\r\n color: '#4D3019',\r\n },\r\n 'note-assurance': {\r\n backgroundColor: '#FFF4E5',\r\n borderColor: '#F9C18F',\r\n color: '#4D3019',\r\n },\r\n 'note-share': {\r\n backgroundColor: '#F8F0FC',\r\n borderColor: '#C269FA',\r\n color: '#4D3019',\r\n },\r\n custom: {\r\n backgroundColor: theme.palette.light.main,\r\n borderColor: `${theme.palette.dark.main}33`,\r\n color: theme.palette.dark.main,\r\n },\r\n };\r\n\r\n const variantKey = customvariant as keyof typeof variants || 'info';\r\n const style = variants[variantKey];\r\n\r\n return {\r\n display: 'flex',\r\n alignItems: 'flex-start',\r\n gap: theme.spacing(1.5),\r\n padding: theme.spacing(2),\r\n marginBottom: theme.spacing(1.5),\r\n border: `1px solid ${style.borderColor}`,\r\n borderRadius: (typeof theme.shape.borderRadius === 'string'\r\n ? parseInt(theme.shape.borderRadius, 10)\r\n : theme.shape.borderRadius || 4) * 2,\r\n backgroundColor: style.backgroundColor,\r\n color: style.color,\r\n '& .MuiAlert-icon': {\r\n marginRight: 0,\r\n padding: 0,\r\n marginTop: '2px',\r\n },\r\n '& .MuiAlert-message': {\r\n padding: 0,\r\n flex: 1,\r\n },\r\n };\r\n});\r\n\r\nexport const Alert: React.FC<AlertProps> = ({\r\n variant = 'info',\r\n children,\r\n className = '',\r\n icon = true,\r\n sx,\r\n}) => {\r\n const iconMap = {\r\n info: <InfoOutlineRounded sx={{fontSize: 20, color:'#1e3a8a'}} />,\r\n success: <TaskAltRounded sx={{fontSize: 20}} />,\r\n warning: <ErrorOutlineRounded sx={{fontSize: 20}} />,\r\n error: <HighlightOffRounded sx={{fontSize: 20}} />,\r\n 'note-internallink': <LinkRounded sx={{fontSize: 20, color:'#4D3019'}} />,\r\n 'note-externallink': <OpenInNewOutlined sx={{fontSize: 20, color:'#4D3019'}} />,\r\n 'note': <NoteOutlined sx={{fontSize: 20, color:'#4D3019'}} />,\r\n 'note-important': <InfoOutlineRounded sx={{fontSize: 20, color:'#D32F2F'}} />,\r\n 'note-assurance': <TaskAltRounded sx={{fontSize: 20, color:'#FF9800'}} />,\r\n 'note-task': <TaskAltRounded sx={{fontSize: 20, color:'#FF9800'}} />,\r\n 'note-share': <InfoOutlineRounded sx={{fontSize: 20, color:'#C571FA'}} />,\r\n custom: <InfoOutlineRounded sx={{fontSize: 20}} />,\r\n };\r\n\r\n const severityMap: Record<string, MuiAlertProps['severity'] | undefined> = {\r\n info: 'info',\r\n success: 'success',\r\n warning: 'warning',\r\n error: 'error',\r\n custom: 'info',\r\n 'note-internallink': undefined,\r\n 'note-externallink': undefined,\r\n 'note-important': undefined,\r\n 'note': undefined,\r\n 'note-task': undefined,\r\n 'note-assurance': undefined,\r\n 'note-share': undefined,\r\n };\r\n\r\n\r\n const getIcon = () => {\r\n if (icon === false) return false;\r\n if (icon === true) return iconMap[variant];\r\n return icon; // Custom icon passed\r\n };\r\n\r\n return (\r\n <StyledAlert\r\n customvariant={variant}\r\n severity={severityMap[variant]}\r\n icon={getIcon()}\r\n className={className}\r\n sx={sx}\r\n >\r\n {children}\r\n </StyledAlert>\r\n );\r\n};"],"names":["MuiAlert","_jsx"],"mappings":";;;;AAyBA,MAAM,WAAW,GAAG,MAAM,CAACA,OAAQ,CAAC,CAA6B,CAAC,EAAE,KAAK,EAAE,aAAa,EAAE,KAAI;AAC5F,IAAA,MAAM,QAAQ,GAAG;AACf,QAAA,IAAI,EAAE;AACJ,YAAA,eAAe,EAAE,SAAS;AAC1B,YAAA,WAAW,EAAE,SAAS;AACtB,YAAA,KAAK,EAAE,SAAS;AACjB,SAAA;AACD,QAAA,OAAO,EAAE;AACP,YAAA,eAAe,EAAE,SAAS;AAC1B,YAAA,WAAW,EAAE,SAAS;AACtB,YAAA,KAAK,EAAE,SAAS;AACjB,SAAA;AACD,QAAA,OAAO,EAAE;AACP,YAAA,eAAe,EAAE,SAAS;AAC1B,YAAA,WAAW,EAAE,SAAS;AACtB,YAAA,KAAK,EAAE,SAAS;AACjB,SAAA;AACD,QAAA,KAAK,EAAE;AACL,YAAA,eAAe,EAAE,SAAS;AAC1B,YAAA,WAAW,EAAE,SAA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CAAI;QACzE,MAAM,EAAEA,GAAA,CAAC,kBAAkB,EAAA,EAAC,EAAE,EAAE,EAAC,QAAQ,EAAE,EAAE,EAAC,EAAA,CAAI;KACnD;AAED,IAAA,MAAM,WAAW,GAA0D;AACzE,QAAA,IAAI,EAAE,MAAM;AACZ,QAAA,OAAO,EAAE,SAAS;AAClB,QAAA,OAAO,EAAE,SAAS;AAClB,QAAA,KAAK,EAAE,OAAO;AACd,QAAA,MAAM,EAAE,MAAM;AACd,QAAA,mBAAmB,EAAE,SAAS;AAC9B,QAAA,mBAAmB,EAAE,SAAS;AAC9B,QAAA,gBAAgB,EAAE,SAAS;AAC3B,QAAA,MAAM,EAAE,SAAS;AACjB,QAAA,WAAW,EAAE,SAAS;AACtB,QAAA,gBAAgB,EAAE,SAAS;AAC3B,QAAA,YAAY,EAAE,SAAS;KACxB;IAGD,MAAM,OAAO,GAAG,MAAK;QACnB,IAAI,IAAI,KAAK,KAAK;AAAE,YAAA,OAAO,KAAK;QAChC,IAAI,IAAI,KAAK,IAAI;AAAE,YAAA,OAAO,OAAO,CAAC,OAAO,CAAC;QAC1C,OAAO,IAAI,CAAC;AACd,IAAA,CAAC;AAED,IAAA,QACEA,GAAA,CAAC,WAAW,EAAA,EACV,aAAa,EAAE,OAAO,EACtB,QAAQ,EAAE,WAAW,CAAC,OAAO,CAAC,EAC9B,IAAI,EAAE,OAAO,EAAE,EACf,SAAS,EAAE,SAAS,EACpB,EAAE,EAAE,EAAE,EAAA,QAAA,EAEL,QAAQ,EAAA,CACG;AAElB;;;;"}
|
|
1
|
+
{"version":3,"file":"Alert.js","sources":["../../../../src/components/Alert.tsx"],"sourcesContent":["\r\n\r\nimport React from 'react';\r\nimport { Alert as MuiAlert, AlertProps as MuiAlertProps, styled, SxProps, Theme } from '@mui/material';\r\nimport { ErrorOutlineRounded, HighlightOffRounded, InfoOutlineRounded, LinkRounded, NoteOutlined, OpenInNewOutlined, TaskAltRounded } from '@mui/icons-material';\r\n\r\ninterface AlertProps {\r\n variant?: 'info' |\r\n 'success' |\r\n 'warning' |\r\n 'error' |\r\n 'note-internallink' |\r\n 'note-externallink' |\r\n 'note-important' |\r\n 'note' |\r\n 'note-assurance' |\r\n 'note-share' |\r\n 'note-task' |\r\n 'custom';\r\n children: React.ReactNode;\r\n className?: string;\r\n icon?: boolean | React.ReactNode; // Allow React node\r\n sx?: SxProps<Theme>; \r\n}\r\n\r\nconst StyledAlert = styled(MuiAlert)<{ customvariant?: string }>(({ theme, customvariant }) => {\r\n const variants = {\r\n info: {\r\n backgroundColor: '#eff6ff',\r\n borderColor: '#bfdbfe',\r\n color: '#1e3a8a',\r\n },\r\n success: {\r\n backgroundColor: '#f0fdf4',\r\n borderColor: '#bbf7d0',\r\n color: '#14532d',\r\n },\r\n warning: {\r\n backgroundColor: '#fefce8',\r\n borderColor: '#fef08a',\r\n color: '#713f12',\r\n },\r\n error: {\r\n backgroundColor: '#fef2f2',\r\n borderColor: '#fecaca',\r\n color: '#7f1d1d',\r\n },\r\n 'note-internallink': {\r\n backgroundColor: '#FDFCEE',\r\n borderColor: '#ECE8DF',\r\n color: '#4D3019',\r\n },\r\n 'note-externallink': {\r\n backgroundColor: '#FDFCEE',\r\n borderColor: '#ECE8DF',\r\n color: '#4D3019',\r\n },\r\n 'note': {\r\n backgroundColor: '#FDFCEE',\r\n borderColor: '#ECE8DF',\r\n color: '#4D3019',\r\n },\r\n 'note-important': {\r\n backgroundColor: '#FDEDED',\r\n borderColor: '#EDA6A6',\r\n color: '#5F2120',\r\n },\r\n 'note-task': {\r\n backgroundColor: '#FFF4E5',\r\n borderColor: '#F9C18F',\r\n color: '#4D3019',\r\n },\r\n 'note-assurance': {\r\n backgroundColor: '#FFF4E5',\r\n borderColor: '#F9C18F',\r\n color: '#4D3019',\r\n },\r\n 'note-share': {\r\n backgroundColor: '#F8F0FC',\r\n borderColor: '#C269FA',\r\n color: '#4D3019',\r\n },\r\n custom: {\r\n backgroundColor: theme.palette.light.main,\r\n borderColor: `${theme.palette.dark.main}33`,\r\n color: theme.palette.dark.main,\r\n },\r\n };\r\n\r\n const variantKey = customvariant as keyof typeof variants || 'info';\r\n const style = variants[variantKey];\r\n\r\n return {\r\n display: 'flex',\r\n alignItems: 'flex-start',\r\n gap: theme.spacing(1.5),\r\n padding: theme.spacing(2),\r\n marginBottom: theme.spacing(1.5),\r\n overflowY: 'hidden',\r\n fontSize: '1rem',\r\n border: `1px solid ${style.borderColor}`,\r\n borderRadius: (typeof theme.shape.borderRadius === 'string'\r\n ? parseInt(theme.shape.borderRadius, 10)\r\n : theme.shape.borderRadius || 4) * 2,\r\n backgroundColor: style.backgroundColor,\r\n color: style.color,\r\n '& .MuiAlert-icon': {\r\n marginRight: 0,\r\n padding: 0,\r\n marginTop: '2px',\r\n },\r\n '& .MuiAlert-message': {\r\n padding: 0,\r\n flex: 1,\r\n },\r\n };\r\n});\r\n\r\nexport const Alert: React.FC<AlertProps> = ({\r\n variant = 'info',\r\n children,\r\n className = '',\r\n icon = true,\r\n sx,\r\n}) => {\r\n const iconMap = {\r\n info: <InfoOutlineRounded sx={{fontSize: 20, color:'#1e3a8a'}} />,\r\n success: <TaskAltRounded sx={{fontSize: 20}} />,\r\n warning: <ErrorOutlineRounded sx={{fontSize: 20}} />,\r\n error: <HighlightOffRounded sx={{fontSize: 20}} />,\r\n 'note-internallink': <LinkRounded sx={{fontSize: 20, color:'#4D3019'}} />,\r\n 'note-externallink': <OpenInNewOutlined sx={{fontSize: 20, color:'#4D3019'}} />,\r\n 'note': <NoteOutlined sx={{fontSize: 20, color:'#4D3019'}} />,\r\n 'note-important': <InfoOutlineRounded sx={{fontSize: 20, color:'#D32F2F'}} />,\r\n 'note-assurance': <TaskAltRounded sx={{fontSize: 20, color:'#FF9800'}} />,\r\n 'note-task': <TaskAltRounded sx={{fontSize: 20, color:'#FF9800'}} />,\r\n 'note-share': <InfoOutlineRounded sx={{fontSize: 20, color:'#C571FA'}} />,\r\n custom: <InfoOutlineRounded sx={{fontSize: 20}} />,\r\n };\r\n\r\n const severityMap: Record<string, MuiAlertProps['severity'] | undefined> = {\r\n info: 'info',\r\n success: 'success',\r\n warning: 'warning',\r\n error: 'error',\r\n custom: 'info',\r\n 'note-internallink': undefined,\r\n 'note-externallink': undefined,\r\n 'note-important': undefined,\r\n 'note': undefined,\r\n 'note-task': undefined,\r\n 'note-assurance': undefined,\r\n 'note-share': undefined,\r\n };\r\n\r\n\r\n const getIcon = () => {\r\n if (icon === false) return false;\r\n if (icon === true) return iconMap[variant];\r\n return icon; // Custom icon passed\r\n };\r\n\r\n return (\r\n <StyledAlert\r\n customvariant={variant}\r\n severity={severityMap[variant]}\r\n icon={getIcon()}\r\n className={className}\r\n sx={sx}\r\n >\r\n {children}\r\n </StyledAlert>\r\n );\r\n};"],"names":["MuiAlert","_jsx"],"mappings":";;;;AAyBA,MAAM,WAAW,GAAG,MAAM,CAACA,OAAQ,CAAC,CAA6B,CAAC,EAAE,KAAK,EAAE,aAAa,EAAE,KAAI;AAC5F,IAAA,MAAM,QAAQ,GAAG;AACf,QAAA,IAAI,EAAE;AACJ,YAAA,eAAe,EAAE,SAAS;AAC1B,YAAA,WAAW,EAAE,SAAS;AACtB,YAAA,KAAK,EAAE,SAAS;AACjB,SAAA;AACD,QAAA,OAAO,EAAE;AACP,YAAA,eAAe,EAAE,SAAS;AAC1B,YAAA,WAAW,EAAE,SAAS;AACtB,YAAA,KAAK,EAAE,SAAS;AACjB,SAAA;AACD,QAAA,OAAO,EAAE;AACP,YAAA,eAAe,EAAE,SAAS;AAC1B,YAAA,WAAW,EAAE,SAAS;AACtB,YAAA,KAAK,EAAE,SAAS;AACjB,SAAA;AACD,QAAA,KAAK,EAAE;AACL,YAAA,eAAe,EAAE,SAAS;AAC1B,YAAA,WAAW,EAAE,SAAS;AACtB,YAAA,KAAK,EAAE,SAAS;AACjB,SAAA;AACD,QAAA,mBAAmB,EAAE;AACnB,YAAA,eAAe,EAAE,SAAS;AAC1B,YAAA,WAAW,EAAE,SAAS;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,EAAC,QAAQ,EAAE,EAAE,EAAC,EAAA,CAAI;KACnD;AAED,IAAA,MAAM,WAAW,GAA0D;AACzE,QAAA,IAAI,EAAE,MAAM;AACZ,QAAA,OAAO,EAAE,SAAS;AAClB,QAAA,OAAO,EAAE,SAAS;AAClB,QAAA,KAAK,EAAE,OAAO;AACd,QAAA,MAAM,EAAE,MAAM;AACd,QAAA,mBAAmB,EAAE,SAAS;AAC9B,QAAA,mBAAmB,EAAE,SAAS;AAC9B,QAAA,gBAAgB,EAAE,SAAS;AAC3B,QAAA,MAAM,EAAE,SAAS;AACjB,QAAA,WAAW,EAAE,SAAS;AACtB,QAAA,gBAAgB,EAAE,SAAS;AAC3B,QAAA,YAAY,EAAE,SAAS;KACxB;IAGD,MAAM,OAAO,GAAG,MAAK;QACnB,IAAI,IAAI,KAAK,KAAK;AAAE,YAAA,OAAO,KAAK;QAChC,IAAI,IAAI,KAAK,IAAI;AAAE,YAAA,OAAO,OAAO,CAAC,OAAO,CAAC;QAC1C,OAAO,IAAI,CAAC;AACd,IAAA,CAAC;AAED,IAAA,QACEA,GAAA,CAAC,WAAW,EAAA,EACV,aAAa,EAAE,OAAO,EACtB,QAAQ,EAAE,WAAW,CAAC,OAAO,CAAC,EAC9B,IAAI,EAAE,OAAO,EAAE,EACf,SAAS,EAAE,SAAS,EACpB,EAAE,EAAE,EAAE,EAAA,QAAA,EAEL,QAAQ,EAAA,CACG;AAElB;;;;"}
|
|
@@ -120,18 +120,22 @@ const Breadcrumb = ({ items, currentItem, dropdownItems = [], onItemSelect, onNa
|
|
|
120
120
|
flexWrap: 'nowrap',
|
|
121
121
|
gap: 1,
|
|
122
122
|
overflowX: 'auto',
|
|
123
|
+
minWidth: 0,
|
|
123
124
|
scrollbarWidth: 'none',
|
|
124
125
|
'&::-webkit-scrollbar': { display: 'none' },
|
|
125
126
|
}, children: [jsx(HomeButton, { "aria-label": "Home", onClick: handleHomeClick, children: jsx(HomeRounded, { sx: { fontSize: 20, color: '#4D3019' } }) }), jsx(Breadcrumbs, { separator: "/", sx: {
|
|
126
127
|
display: 'flex',
|
|
127
128
|
flexWrap: 'nowrap',
|
|
128
129
|
overflowX: 'auto',
|
|
130
|
+
minWidth: 0,
|
|
131
|
+
flex: '1 1 auto',
|
|
129
132
|
'& .MuiBreadcrumbs-separator': { color: `${theme.palette.dark.main}66` },
|
|
130
133
|
}, children: items.map((item, index) => (jsx(Typography, { sx: {
|
|
131
134
|
color: theme.palette.dark.main,
|
|
132
135
|
fontWeight: 500,
|
|
133
136
|
px: { xs: 0.5, sm: 1 },
|
|
134
137
|
whiteSpace: 'nowrap',
|
|
138
|
+
minWidth: 0,
|
|
135
139
|
cursor: item.href ? 'pointer' : 'default',
|
|
136
140
|
}, onClick: () => item.href && handleNavigation(item.href), children: item.label }, index))) }), jsx(DropdownMenu, { dropdownItems: dropdownItems, currentItem: currentItem, anchorEl: anchorEl, isDropdownOpen: isDropdownOpen, handleDropdownToggle: handleDropdownToggle, handleClose: handleClose, handleItemClick: handleItemClick })] }));
|
|
137
141
|
};
|