@devtron-labs/devtron-fe-common-lib 1.8.2 → 1.8.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/dist/{@code-editor-CjYMh-FJ.js → @code-editor-CECO9rTe.js} +11343 -10247
- package/dist/{@common-rjsf-Bja24NFK.js → @common-rjsf-CAp5a9od.js} +21 -21
- package/dist/{@framer-motion-C9i0O6dh.js → @framer-motion-DrRBF6oz.js} +1 -1
- package/dist/{@react-dates-DEMedmhG.js → @react-dates-DTh8Zdbr.js} +343 -343
- package/dist/{@react-select-DD4GMsWv.js → @react-select-Bsomcqq-.js} +1 -1
- package/dist/{@react-virtualized-sticky-tree-BlYAzsAg.js → @react-virtualized-sticky-tree-DjqdMMRP.js} +1 -1
- package/dist/@vendor-Bb3ljJxt.js +61891 -0
- package/dist/Common/CodeEditor/types.d.ts +6 -0
- package/dist/Common/CodeMirror/CodeEditor.constants.d.ts +1 -1
- package/dist/Common/CodeMirror/CodeEditor.theme.d.ts +4 -1
- package/dist/Common/CodeMirror/CodeEditorRenderer.d.ts +1 -1
- package/dist/Common/CodeMirror/Commands/findAndReplace.d.ts +7 -0
- package/dist/Common/CodeMirror/Commands/index.d.ts +1 -0
- package/dist/Common/CodeMirror/Extensions/index.d.ts +1 -0
- package/dist/Common/CodeMirror/Extensions/readOnlyTooltip.d.ts +1 -1
- package/dist/Common/CodeMirror/Extensions/yamlHighlight.d.ts +2 -0
- package/dist/Common/CodeMirror/index.d.ts +1 -1
- package/dist/Common/CodeMirror/types.d.ts +4 -2
- package/dist/Common/CodeMirror/utils.d.ts +1 -0
- package/dist/Common/Constants.d.ts +13 -0
- package/dist/Common/index.d.ts +1 -1
- package/dist/Shared/Components/CodeEditorWrapper/CodeEditorWrapper.d.ts +21 -0
- package/dist/Shared/Components/CodeEditorWrapper/index.d.ts +1 -0
- package/dist/Shared/Components/CodeEditorWrapper/types.d.ts +7 -0
- package/dist/Shared/Components/Icon/Icon.d.ts +7 -0
- package/dist/Shared/Components/SSOProviderIcon/SSOProviderIcon.d.ts +2 -0
- package/dist/Shared/Components/SSOProviderIcon/index.d.ts +2 -0
- package/dist/Shared/Components/SSOProviderIcon/types.d.ts +10 -0
- package/dist/Shared/Components/index.d.ts +2 -0
- package/dist/assets/@code-editor.css +1 -1
- package/dist/assets/ic-arrow-right.06ad55f3.svg +3 -0
- package/dist/assets/ic-google.adce3079.svg +6 -0
- package/dist/assets/ic-ldap.1742ec39.svg +3 -0
- package/dist/assets/ic-login-devtron-logo.702a1d04.svg +22 -0
- package/dist/assets/ic-match-case.13b7a2fa.svg +19 -0
- package/dist/assets/ic-match-word.d92addc3.svg +19 -0
- package/dist/assets/ic-microsoft.4767e309.svg +6 -0
- package/dist/assets/ic-oidc.27839a0d.svg +4 -0
- package/dist/assets/ic-openshift.afcfadec.svg +10 -0
- package/dist/assets/ic-replace-all-text.a87fd342.svg +19 -0
- package/dist/assets/ic-replace-text.cc5433be.svg +19 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +437 -434
- package/package.json +5 -3
- package/dist/@vendor-CIA81cZg.js +0 -22731
@@ -0,0 +1,3 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
2
|
+
<path data-style-override="false" fill="#CB2026" d="M13.636 8.134c.017.006 1.298 2.22 2.576 4.44l.306.531c1.168 2.03 2.246 3.913 2.246 3.933 0 .021-2.867.054-5.71.068l-.516.002-1.507.004h-.475c-1.273 0-2.097-.014-2.09-.032.007-.02.144-.261.368-.655l.184-.322c.433-.755 1.07-1.862 1.734-3.011l.307-.533c1.285-2.222 2.567-4.428 2.578-4.425Zm-7.434-1.28c.014-.003.606.999 1.312 2.229l.27.467.272.474 1.287 2.243.546.952-.745 1.294-.749 1.298-3.697.01L1 15.83l.11-.186.946-1.645.28-.486c1.872-3.25 3.846-6.652 3.866-6.658Zm11.628-.01c.013 0 1.104 1.874 2.28 3.905l.309.533c1.286 2.224 2.572 4.458 2.58 4.497.01.036-.19.046-1.286.049h-2.842l-.05-.078c-.16-.256-3.052-5.309-3.052-5.337 0-.047 2.036-3.57 2.06-3.57ZM9.84 5c.006-.002.109.163.268.427l.178.296c.676 1.132 1.887 3.21 1.939 3.342.014.035-.318.642-.899 1.654-.506.877-.945 1.644-.98 1.701l-.061.1-.09-.136c-.08-.13-.553-.949-1.049-1.814l-.23-.4A104.288 104.288 0 0 1 7.89 8.351c0-.054 1.91-3.341 1.95-3.352Z"/>
|
3
|
+
</svg>
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<!--
|
2
|
+
- Copyright (c) 2024. Devtron Inc.
|
3
|
+
-
|
4
|
+
- Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
- you may not use this file except in compliance with the License.
|
6
|
+
- You may obtain a copy of the License at
|
7
|
+
-
|
8
|
+
- http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
-
|
10
|
+
- Unless required by applicable law or agreed to in writing, software
|
11
|
+
- distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
- See the License for the specific language governing permissions and
|
14
|
+
- limitations under the License.
|
15
|
+
-->
|
16
|
+
|
17
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="142" height="100" viewBox="0 0 142 100">
|
18
|
+
<g fill="none" fill-rule="evenodd">
|
19
|
+
<path fill="var(--B500)" d="M101.522 25.335L89.882 7.188a3.34 3.34 0 0 0-3.593-1.828c-1.402.24-2.521 1.411-2.713 2.82a3.338 3.338 0 0 0 .278 1.867l-.004.018.05.077c.1.199.22.387.356.561l1.315 2.068 7.008 10.898-.025.012c.73 1.018.814 2.356.172 3.431-1.991 3.331-6.352 10.438-7.336 11.6a3.705 3.705 0 0 1-2.766.963l-5.467-.391a1.611 1.611 0 0 1-1.165-2.494l2.258-3.486a2.88 2.88 0 0 0 .31-.48l.005-.006.001-.004a2.916 2.916 0 0 0 .239-1.992 2.882 2.882 0 0 0-2.15-2.146 2.904 2.904 0 0 0-3.282 1.569L58.54 52.94c-1.149 1.758.012 4.155 2.11 4.253.048.003.096.004.144.004l21.518-.02a5.249 5.249 0 0 0 4.473-2.51l14.796-24.191a4.835 4.835 0 0 0-.06-5.142M39.759 32.757l11.56 18.198a3.339 3.339 0 0 0 3.584 1.845c1.402-.234 2.527-1.4 2.725-2.807a3.337 3.337 0 0 0-.27-1.87l.004-.017-.049-.077c-.1-.2-.218-.388-.354-.563l-1.305-2.073-6.96-10.93.025-.012c-.725-1.02-.803-2.36-.156-3.432 2.006-3.322 6.399-10.409 7.388-11.566a3.7 3.7 0 0 1 2.77-.951l5.465.415a1.611 1.611 0 0 1 1.154 2.5l-2.274 3.476a2.963 2.963 0 0 0-.313.478l-.003.005-.002.005a2.917 2.917 0 0 0-.248 1.99 2.882 2.882 0 0 0 2.14 2.156 2.903 2.903 0 0 0 3.29-1.554l14.933-22.63c1.157-1.753.006-4.154-2.092-4.262a2.735 2.735 0 0 0-.144-.004L59.11 1a5.248 5.248 0 0 0-4.484 2.49L39.722 27.615a4.836 4.836 0 0 0 .037 5.142"/>
|
20
|
+
<path fill="var(--N900)" d="M10.357 94.952c1.077 0 1.945-.218 2.6-.655a4.696 4.696 0 0 0 1.53-1.639 6.307 6.307 0 0 0 .72-2.12c.117-.757.175-1.456.175-2.097 0-.64-.058-1.34-.175-2.098a6.312 6.312 0 0 0-.72-2.119 4.696 4.696 0 0 0-1.53-1.639c-.655-.437-1.523-.655-2.6-.655-1.078 0-1.945.218-2.6.655a4.496 4.496 0 0 0-1.508 1.639 6.595 6.595 0 0 0-.7 2.12 13.85 13.85 0 0 0-.174 2.097c0 .641.058 1.34.175 2.097a6.59 6.59 0 0 0 .7 2.12c.349.656.851 1.202 1.507 1.639.655.437 1.522.655 2.6.655zm5.025-15.038V70h5.2v18.397c0 1.515-.146 2.84-.437 3.977-.291 1.136-.677 2.12-1.158 2.95-.48.83-1.026 1.515-1.638 2.054-.612.539-1.239.983-1.88 1.332-1.514.787-3.219 1.195-5.112 1.224-1.952-.03-3.686-.437-5.2-1.224-.641-.35-1.275-.793-1.901-1.332-.627-.54-1.18-1.217-1.66-2.032-.482-.816-.868-1.792-1.16-2.928C.147 91.282 0 89.956 0 88.44c0-1.515.138-2.84.415-3.977.277-1.136.64-2.119 1.093-2.95.451-.83.961-1.521 1.53-2.075a8.815 8.815 0 0 1 1.769-1.355c1.398-.815 3-1.252 4.807-1.31a9.117 9.117 0 0 1 2.622.655c.728.32 1.47.808 2.229 1.464.504.437.81.777.917 1.02zM38.5 85.6a11.23 11.23 0 0 0-.547-1.398 4.48 4.48 0 0 0-.896-1.267 4.152 4.152 0 0 0-1.355-.896c-.524-.218-1.136-.328-1.835-.328-.7 0-1.311.11-1.835.328a4.143 4.143 0 0 0-1.355.896 4.854 4.854 0 0 0-.918 1.267 6.798 6.798 0 0 0-.524 1.399h9.264zm5.505 0c.058.437.11.89.153 1.355.044.467.066.962.066 1.486v.786H28.929c.058.496.13.999.218 1.508.088.51.233 1.013.437 1.508.32.758.816 1.428 1.486 2.01.67.583 1.602.874 2.797.874 1.194 0 2.126-.29 2.797-.874a5.48 5.48 0 0 0 1.485-2.01h5.681c-.233 1.02-.561 1.908-.983 2.665-.423.758-.889 1.414-1.398 1.967a7.982 7.982 0 0 1-1.639 1.377 12.06 12.06 0 0 1-1.704.895c-1.34.525-2.753.787-4.239.787-1.952-.03-3.686-.437-5.2-1.224a10.973 10.973 0 0 1-1.901-1.332c-.627-.54-1.18-1.217-1.66-2.032-.482-.816-.868-1.792-1.159-2.928-.291-1.136-.437-2.462-.437-3.977 0-1.515.146-2.84.437-3.977.291-1.136.677-2.119 1.158-2.95.48-.83 1.034-1.521 1.66-2.075a10.416 10.416 0 0 1 1.902-1.355c1.514-.815 3.248-1.252 5.2-1.31 1.602.058 3.102.393 4.501 1.004.582.263 1.172.605 1.77 1.027.597.423 1.15.947 1.66 1.574.51.626.962 1.37 1.355 2.228.393.86.677 1.857.852 2.994zM57.245 99.497h-3.583l-7.21-22.156h5.375l5.418 16.563 5.42-16.563h5.374l-7.21 22.156zM75.73 82.542v9.745c.087.35.247.67.48.961.204.234.488.452.853.656.364.204.837.305 1.42.305h3.321v5.288h-5.331c-1.136-.116-2.156-.437-3.059-.961-.758-.437-1.45-1.085-2.076-1.945-.626-.86-.94-2.047-.94-3.562V74.335h5.332v3.006h5.026v5.2H75.73zM84.295 83.809c0-1.515.32-2.702.961-3.561.64-.86 1.34-1.508 2.098-1.945.903-.525 1.923-.845 3.059-.962h6.118v5.288h-4.108c-.583 0-1.056.102-1.42.306-.365.204-.649.423-.852.655a2.488 2.488 0 0 0-.481.962v14.945h-5.375V83.809zM109.203 81.93c-1.078 0-1.945.218-2.6.655a4.5 4.5 0 0 0-1.508 1.639 6.594 6.594 0 0 0-.699 2.12 13.847 13.847 0 0 0-.175 2.097c0 .641.059 1.34.175 2.098.116.758.35 1.463.7 2.119a4.5 4.5 0 0 0 1.507 1.639c.655.437 1.522.655 2.6.655s1.945-.218 2.6-.655a4.496 4.496 0 0 0 1.508-1.639c.35-.656.582-1.361.699-2.12.116-.757.175-1.456.175-2.097 0-.64-.059-1.34-.175-2.097a6.608 6.608 0 0 0-.7-2.12 4.496 4.496 0 0 0-1.507-1.639c-.655-.437-1.522-.655-2.6-.655M98.846 88.44c0-1.514.146-2.84.437-3.977.291-1.136.678-2.119 1.158-2.95.481-.83 1.034-1.521 1.66-2.075a10.44 10.44 0 0 1 1.902-1.355c1.514-.815 3.248-1.252 5.2-1.31 1.923.058 3.642.495 5.157 1.31.64.35 1.274.802 1.9 1.355.627.554 1.18 1.245 1.661 2.076.48.83.874 1.813 1.18 2.95.306 1.135.459 2.462.459 3.976 0 1.515-.153 2.84-.459 3.977-.306 1.136-.7 2.112-1.18 2.928-.48.816-1.034 1.493-1.66 2.032-.627.539-1.261.983-1.901 1.332-1.515.787-3.234 1.195-5.157 1.224-1.952-.03-3.686-.437-5.2-1.224a10.984 10.984 0 0 1-1.901-1.332c-.627-.54-1.18-1.216-1.66-2.032-.481-.816-.868-1.792-1.159-2.928-.291-1.137-.437-2.462-.437-3.977M131.927 76.773c.087 0 .4.015.94.044.538.03 1.172.153 1.9.371.728.22 1.5.562 2.316 1.027.815.467 1.573 1.137 2.273 2.01.699.874 1.274 1.975 1.726 3.3.451 1.326.677 2.964.677 4.916v11.056h-5.331V88.44c0-.64-.059-1.296-.175-1.966a5.534 5.534 0 0 0-.656-1.836 3.962 3.962 0 0 0-1.354-1.376c-.583-.364-1.355-.547-2.316-.547-.962 0-1.734.183-2.316.547a3.95 3.95 0 0 0-1.355 1.376 5.496 5.496 0 0 0-.655 1.836c-.117.67-.175 1.325-.175 1.966v11.056h-5.332V88.44c0-1.952.226-3.59.678-4.916.451-1.325 1.027-2.426 1.726-3.3.7-.873 1.456-1.543 2.272-2.01.815-.465 1.588-.808 2.316-1.027.728-.218 1.355-.342 1.88-.37.524-.03.844-.045.96-.045"/>
|
21
|
+
</g>
|
22
|
+
</svg>
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<!--
|
2
|
+
- Copyright (c) 2024. Devtron Inc.
|
3
|
+
-
|
4
|
+
- Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
- you may not use this file except in compliance with the License.
|
6
|
+
- You may obtain a copy of the License at
|
7
|
+
-
|
8
|
+
- http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
-
|
10
|
+
- Unless required by applicable law or agreed to in writing, software
|
11
|
+
- distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
- See the License for the specific language governing permissions and
|
14
|
+
- limitations under the License.
|
15
|
+
-->
|
16
|
+
|
17
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="none" viewBox="0 0 12 12">
|
18
|
+
<path stroke="#C8CBCE" stroke-linecap="round" stroke-linejoin="round" d="m6.75 9-3-6.375L.75 9m10.125 0V6.187c0-.724-.672-1.312-1.5-1.312-.448 0-.85.102-1.125.375M5.868 7.125H1.632m9.243.563c0 .724-.672 1.312-1.5 1.312s-1.5-.588-1.5-1.313c0-.724.672-1.312 1.5-1.312s1.5.588 1.5 1.313Z" vector-effect="non-scaling-stroke"/>
|
19
|
+
</svg>
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<!--
|
2
|
+
- Copyright (c) 2024. Devtron Inc.
|
3
|
+
-
|
4
|
+
- Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
- you may not use this file except in compliance with the License.
|
6
|
+
- You may obtain a copy of the License at
|
7
|
+
-
|
8
|
+
- http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
-
|
10
|
+
- Unless required by applicable law or agreed to in writing, software
|
11
|
+
- distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
- See the License for the specific language governing permissions and
|
14
|
+
- limitations under the License.
|
15
|
+
-->
|
16
|
+
|
17
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="none" viewBox="0 0 12 12">
|
18
|
+
<path stroke="#C8CBCE" stroke-linecap="round" stroke-linejoin="round" d="M4.875 9V6.187c0-.724-.672-1.312-1.5-1.312-.448 0-.85.102-1.125.375m4.5-2.625V9m0-2.375c0-.611.8-1.75 1.75-1.75.966 0 1.75.923 1.75 2.063C10.25 8.076 9.466 9 8.5 9c-.95 0-1.75-.89-1.75-1.502M.5 9.5V11h11V9.5M4.875 7.687c0 .725-.672 1.313-1.5 1.313s-1.5-.588-1.5-1.313c0-.724.672-1.312 1.5-1.312s1.5.588 1.5 1.313Z" vector-effect="non-scaling-stroke"/>
|
19
|
+
</svg>
|
@@ -0,0 +1,6 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="none" viewBox="0 0 20 20">
|
2
|
+
<path data-style-override="false" fill="#F35325" d="M0 0h9.524v9.524H0V0Z"/>
|
3
|
+
<path data-style-override="false" fill="#81BC06" d="M10.476 0H20v9.524h-9.524V0Z"/>
|
4
|
+
<path data-style-override="false" fill="#05A6F0" d="M0 10.477h9.524V20H0v-9.523Z"/>
|
5
|
+
<path data-style-override="false" fill="#FFBA08" d="M10.476 10.477H20V20h-9.524v-9.523Z"/>
|
6
|
+
</svg>
|
@@ -0,0 +1,4 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
2
|
+
<path data-style-override="false" fill="#F8931E" d="M11.01 4.621v16.875l3-1.412V3.156l-3 1.465Z"/>
|
3
|
+
<path data-style-override="false" fill="#B3B3B3" d="M11.01 21.496v-1.88c-3.424-.43-6-2.3-6-4.543 0-2.125 2.315-3.915 5.473-4.462V8.706c-4.83.583-8.474 3.212-8.474 6.367 0 3.27 3.912 5.973 9 6.423Zm10.803-7.625-.414-4.3-1.543.87-.217-.131c-1.4-.801-3.156-1.368-5.103-1.604v1.905c1.175.204 2.235.579 3.101 1.08l-1.626.918 5.802 1.262Z"/>
|
4
|
+
</svg>
|
@@ -0,0 +1,10 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
|
2
|
+
<path data-style-override="false" fill="#DA2430" d="m7.388 11.16-3.533 1.285c.046.566.143 1.125.28 1.674l3.356-1.222a6.656 6.656 0 0 1-.102-1.738M23 7.253c-.247-.508-.532-1-.862-1.462l-3.531 1.285c.41.42.755.893 1.038 1.399L23 7.253Z"/>
|
3
|
+
<path data-style-override="false" fill="#DA2430" d="M16.733 7.232a6.46 6.46 0 0 0-1.505-.979 6.57 6.57 0 0 0-8.95 3.735 6.748 6.748 0 0 0-.346 1.69l-.012.004-.001.013-2.126.774-1.368.505v-.008l-.038.014a10.039 10.039 0 0 1 1.23-5.675C6.13 2.627 11.844.67 16.663 2.955a9.969 9.969 0 0 1 2.642 1.82c.51.473.966.994 1.364 1.551l-3.532 1.286a5.84 5.84 0 0 0-.055-.055l-.01.003a6.816 6.816 0 0 0-.339-.328Z"/>
|
4
|
+
<path data-style-override="false" fill="#E82429" d="m2.584 18.68-.006.002A10.235 10.235 0 0 1 1 15.262l3.356-1.223.002.011.022-.008v.001a6.741 6.741 0 0 0 1.055 2.55c.2.285.422.554.668.806l-.014.005.026.027-3.5 1.294-.031-.045Z"/>
|
5
|
+
<path data-style-override="false" fill="#DA2430" d="M15.914 17.776a6.563 6.563 0 0 1-6.234.373 6.494 6.494 0 0 1-1.912-1.356l-3.524 1.283.027.037-.002.001a9.984 9.984 0 0 0 3.913 3.31c3.498 1.657 7.467 1.081 10.341-1.148a10.043 10.043 0 0 0 3.087-3.805 10.003 10.003 0 0 0 .91-5.046l-.099.035-.004-.054-3.5 1.293a6.609 6.609 0 0 1-.588 2.288 6.548 6.548 0 0 1-2.415 2.79Z"/>
|
6
|
+
<path data-style-override="false" fill="#E82429" d="m19.81 8.414.053-.02c.553 1.136.89 2.371.99 3.636l-3.524 1.282.002-.026-.067.024a6.73 6.73 0 0 0-.815-3.727L19.78 8.35l.03.063Z"/>
|
7
|
+
<path data-style-override="false" fill="#C22035" d="m7.393 11.138-3.508 1.296c.045.572.141 1.136.278 1.689l3.332-1.233a6.699 6.699 0 0 1-.101-1.752M22.895 7.2a10.23 10.23 0 0 0-.856-1.475L18.532 7.02c.408.424.75.9 1.03 1.41l3.333-1.23Z"/>
|
8
|
+
<path data-style-override="false" fill="#AC223B" d="m3.884 12.435 3.5-1.282-.015.703-3.376 1.275-.109-.697v.001ZM18.533 7.01l3.554-1.219.369.557-3.453 1.221-.47-.559Z"/>
|
9
|
+
<path data-style-override="false" fill="#B92135" d="m4.27 18.101 3.503-1.275 1.06 1-3.674 1.38-.89-1.105Zm18.206-6.685-3.559 1.283-.262 1.425 3.794-1.353.027-1.355Z"/>
|
10
|
+
</svg>
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<!--
|
2
|
+
- Copyright (c) 2024. Devtron Inc.
|
3
|
+
-
|
4
|
+
- Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
- you may not use this file except in compliance with the License.
|
6
|
+
- You may obtain a copy of the License at
|
7
|
+
-
|
8
|
+
- http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
-
|
10
|
+
- Unless required by applicable law or agreed to in writing, software
|
11
|
+
- distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
- See the License for the specific language governing permissions and
|
14
|
+
- limitations under the License.
|
15
|
+
-->
|
16
|
+
|
17
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
18
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M17.4 4.0155C17.6205 3.5505 17.934 3.318 18.339 3.318C18.711 3.318 18.999 3.495 19.1985 3.8475C19.3995 4.2015 19.5 4.683 19.5 5.2965C19.5 5.961 19.383 6.4935 19.1475 6.897C18.9135 7.299 18.6 7.5 18.207 7.5C17.8515 7.5 17.583 7.3125 17.4015 6.939H17.3895V7.404H16.5V1.5H17.3895V4.0155H17.4ZM17.376 5.6655C17.3672 5.88948 17.4229 6.11127 17.5365 6.3045C17.643 6.474 17.781 6.558 17.9475 6.558C18.1515 6.558 18.3075 6.45 18.4185 6.234C18.531 6.0165 18.588 5.709 18.588 5.3115C18.588 4.9815 18.5355 4.7265 18.432 4.5405C18.3315 4.3545 18.186 4.26 17.997 4.26C17.817 4.26 17.6685 4.353 17.5515 4.5375C17.4259 4.75601 17.365 5.00571 17.376 5.2575V5.6655ZM6.18 11.5425L3 8.352L3.993 7.359L5.502 8.859V6.594C5.50082 6.31982 5.55372 6.04809 5.65769 5.79438C5.76166 5.54067 5.91465 5.30996 6.1079 5.11545C6.30115 4.92095 6.53087 4.76647 6.7839 4.66086C7.03694 4.55525 7.30831 4.50059 7.5825 4.5H11.1V5.8575H7.5825C7.39256 5.86603 7.21332 5.94783 7.08242 6.08573C6.95152 6.22362 6.87914 6.40687 6.8805 6.597L6.891 8.847L8.3145 7.431L9.2985 8.415L6.18 11.5425ZM14.034 7.395H15V4.83C15 3.612 14.5275 3 13.584 3C13.3815 3 13.1565 3.036 12.909 3.1095C12.7038 3.16402 12.5077 3.24842 12.327 3.36V4.3575C12.6825 4.053 13.0575 3.9015 13.452 3.9015C13.8435 3.9015 14.04 4.1355 14.04 4.605L13.14 4.7595C12.381 4.8885 12 5.3685 12 6.201C12 6.5955 12.0915 6.9105 12.2745 7.1475C12.364 7.2626 12.4797 7.35464 12.612 7.41596C12.7443 7.47727 12.8893 7.50609 13.035 7.5C13.47 7.5 13.7985 7.26 14.0205 6.78H14.034V7.395ZM14.04 5.3625V5.652C14.0487 5.88333 13.9859 6.11171 13.86 6.306C13.8097 6.38477 13.7403 6.44949 13.6582 6.49409C13.576 6.53869 13.4839 6.56171 13.3905 6.561C13.3283 6.56358 13.2664 6.5521 13.2092 6.52743C13.1521 6.50276 13.1013 6.46553 13.0605 6.4185C12.9779 6.31252 12.9354 6.18077 12.9405 6.0465C12.9405 5.7135 13.1055 5.52 13.4385 5.463L14.04 5.3625ZM10.5 19.395H9.534V18.78H9.5205C9.2985 19.26 8.97 19.5 8.535 19.5C8.38932 19.5061 8.2443 19.4773 8.11201 19.416C7.97973 19.3546 7.86401 19.2626 7.7745 19.1475C7.5915 18.9105 7.5 18.5955 7.5 18.2025C7.5 17.3685 7.881 16.8885 8.64 16.7595L9.54 16.605C9.54 16.1355 9.345 15.9 8.952 15.9C8.5575 15.9 8.1825 16.053 7.827 16.3575V15.36C7.9695 15.2655 8.163 15.1815 8.409 15.1095C8.6565 15.036 8.8815 15 9.084 15C10.029 15 10.5 15.6105 10.5 16.83V19.395ZM9.54 17.652V17.3625L8.94 17.4645C8.607 17.52 8.4405 17.7135 8.4405 18.0465C8.4405 18.1965 8.481 18.321 8.5605 18.4185C8.60126 18.4655 8.65209 18.5028 8.70923 18.5274C8.76636 18.5521 8.82832 18.5636 8.8905 18.561C8.98369 18.5615 9.07548 18.5383 9.15731 18.4937C9.23915 18.4491 9.30836 18.3846 9.3585 18.306C9.4785 18.132 9.54 17.916 9.54 17.652ZM13.893 19.5C14.3745 19.5 14.745 19.413 15 19.2405V18.1755C14.7667 18.369 14.475 18.4784 14.172 18.486C14.0307 18.4929 13.8896 18.4675 13.7597 18.4116C13.6297 18.3557 13.5142 18.2708 13.422 18.1635C13.242 17.946 13.1505 17.646 13.1505 17.2665C13.1505 16.8765 13.245 16.5705 13.434 16.3485C13.5293 16.2379 13.6485 16.1503 13.7826 16.0923C13.9166 16.0344 14.0621 16.0076 14.208 16.014C14.499 16.014 14.763 16.1175 15 16.3245V15.201C14.8065 15.066 14.493 15 14.061 15C13.4355 15 12.9345 15.21 12.5595 15.633C12.186 16.053 12 16.626 12 17.355C12 17.985 12.174 18.501 12.5235 18.9C12.8715 19.3005 13.329 19.5 13.893 19.5ZM3 13.5L4.5 12H18L19.5 13.5V21L18 22.5H4.5L3 21V13.5ZM4.5 13.5V21H18V13.5H4.5ZM9 10.5L10.5 9H21L22.5 10.5V18L21 19.5V10.5H9Z" fill="#C8CBCE"/>
|
19
|
+
</svg>
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<!--
|
2
|
+
- Copyright (c) 2024. Devtron Inc.
|
3
|
+
-
|
4
|
+
- Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
- you may not use this file except in compliance with the License.
|
6
|
+
- You may obtain a copy of the License at
|
7
|
+
-
|
8
|
+
- http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
-
|
10
|
+
- Unless required by applicable law or agreed to in writing, software
|
11
|
+
- distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
- See the License for the specific language governing permissions and
|
14
|
+
- limitations under the License.
|
15
|
+
-->
|
16
|
+
|
17
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
18
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.8315 5.6085L8.223 9.012L11.55 5.676L10.5 4.626L8.982 6.1365L8.97 3.7365C8.96864 3.5335 9.04602 3.33788 9.18588 3.19075C9.32574 3.04361 9.51719 2.95642 9.72 2.9475H12V1.5H9.72C9.42744 1.50039 9.13783 1.55853 8.86778 1.67108C8.59774 1.78363 8.35256 1.94837 8.14632 2.15587C7.94007 2.36337 7.77682 2.60954 7.66591 2.88026C7.555 3.15099 7.49862 3.44094 7.5 3.7335V6.15L5.8905 4.5495L4.8315 5.6085ZM14.8365 8.2995H14.8515C15.126 8.766 15.528 9 16.0605 9C16.65 9 17.1195 8.748 17.4705 8.2455C17.8245 7.743 18 7.0755 18 6.246C18 5.4795 17.85 4.8765 17.5485 4.4355C17.247 3.993 16.8165 3.7725 16.2585 3.7725C15.651 3.7725 15.1815 4.0635 14.8515 4.644H14.8365V1.5H13.5V8.8785H14.835L14.8365 8.2995ZM14.814 6.708V6.198C14.814 5.826 14.901 5.526 15.0765 5.2965C15.1516 5.18935 15.2516 5.102 15.3678 5.04192C15.4841 4.98184 15.6131 4.95081 15.744 4.9515C15.8742 4.94656 16.0034 4.97632 16.1183 5.03773C16.2332 5.09914 16.3298 5.19 16.398 5.301C16.554 5.532 16.6305 5.853 16.6305 6.2655C16.6305 6.7605 16.5465 7.146 16.377 7.4175C16.3076 7.54286 16.2052 7.64686 16.0809 7.71824C15.9567 7.78962 15.8153 7.82567 15.672 7.8225C15.5512 7.82386 15.432 7.79574 15.3246 7.74059C15.2171 7.68543 15.1248 7.60491 15.0555 7.506C14.8887 7.27423 14.8027 6.99333 14.814 6.708ZM13.5 19.1535C13.116 19.3845 12.5625 19.5 11.838 19.5C10.9935 19.5 10.308 19.233 9.7845 18.7005C9.261 18.168 9 17.481 9 16.6395C9 15.6675 9.279 14.9025 9.84 14.3445C10.401 13.7805 11.1525 13.5 12.09 13.5C12.7395 13.5 13.209 13.59 13.5 13.7685V15.2655C13.1629 14.9959 12.7437 14.8498 12.312 14.8515C11.8245 14.8515 11.4375 15.0015 11.151 15.2985C10.866 15.5925 10.7265 16.0005 10.7265 16.5225C10.7265 17.0295 10.8615 17.427 11.1345 17.718C11.4075 18.0045 11.781 18.1485 12.258 18.1485C12.681 18.1485 13.095 18.0105 13.5 17.7345V19.1535ZM6 10.5L4.5 12V21L6 22.5H16.5L18 21V12L16.5 10.5H6ZM6 12H16.5V21H6V12Z" fill="#C8CBCE"/>
|
19
|
+
</svg>
|
package/dist/index.d.ts
CHANGED
@@ -76,6 +76,11 @@ export interface customEnv {
|
|
76
76
|
* @default false
|
77
77
|
*/
|
78
78
|
FEATURE_EXPERIMENTAL_THEMING_ENABLE?: boolean;
|
79
|
+
/**
|
80
|
+
* If true, the code-editor will use codemirror engine
|
81
|
+
* @default false
|
82
|
+
*/
|
83
|
+
FEATURE_CODE_MIRROR_ENABLE?: boolean;
|
79
84
|
/**
|
80
85
|
* If true, the experimental layout feature is enabled
|
81
86
|
*/
|