@aquera/nile-elements 0.0.35 → 0.0.36-1

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.
Files changed (54) hide show
  1. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-code-editor/nile-code-editor.css.js +12 -5
  2. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-code-editor/nile-code-editor.css.js.map +1 -1
  3. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-code-editor/nile-code-editor.d.ts +9 -4
  4. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-code-editor/nile-code-editor.js +98 -39
  5. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-code-editor/nile-code-editor.js.map +1 -1
  6. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-code-editor/theme.d.ts +9 -0
  7. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-code-editor/theme.js +10 -0
  8. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-code-editor/theme.js.map +1 -0
  9. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-switcher/nile-switcher.css.js +12 -6
  10. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-switcher/nile-switcher.css.js.map +1 -1
  11. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-switcher/nile-switcher.d.ts +1 -0
  12. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-switcher/nile-switcher.js +14 -6
  13. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-switcher/nile-switcher.js.map +1 -1
  14. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/tsconfig.tsbuildinfo +1 -1
  15. package/dist/index.cjs.js +1 -1
  16. package/dist/index.esm.js +1 -1
  17. package/dist/index.iife.js +236 -213
  18. package/dist/nile-code-editor/index.cjs.js +1 -1
  19. package/dist/nile-code-editor/index.esm.js +1 -1
  20. package/dist/nile-code-editor/nile-code-editor.cjs.js +2 -2
  21. package/dist/nile-code-editor/nile-code-editor.cjs.js.map +1 -1
  22. package/dist/nile-code-editor/nile-code-editor.css.cjs.js +1 -1
  23. package/dist/nile-code-editor/nile-code-editor.css.cjs.js.map +1 -1
  24. package/dist/nile-code-editor/nile-code-editor.css.esm.js +14 -7
  25. package/dist/nile-code-editor/nile-code-editor.esm.js +17 -9
  26. package/dist/nile-code-editor/theme.cjs.js +2 -0
  27. package/dist/nile-code-editor/theme.cjs.js.map +1 -0
  28. package/dist/nile-code-editor/theme.esm.js +1 -0
  29. package/dist/nile-switcher/nile-switcher.cjs.js +1 -1
  30. package/dist/nile-switcher/nile-switcher.cjs.js.map +1 -1
  31. package/dist/nile-switcher/nile-switcher.css.cjs.js +1 -1
  32. package/dist/nile-switcher/nile-switcher.css.cjs.js.map +1 -1
  33. package/dist/nile-switcher/nile-switcher.css.esm.js +12 -6
  34. package/dist/nile-switcher/nile-switcher.esm.js +29 -27
  35. package/dist/src/nile-code-editor/nile-code-editor.css.js +12 -5
  36. package/dist/src/nile-code-editor/nile-code-editor.css.js.map +1 -1
  37. package/dist/src/nile-code-editor/nile-code-editor.d.ts +9 -4
  38. package/dist/src/nile-code-editor/nile-code-editor.js +98 -39
  39. package/dist/src/nile-code-editor/nile-code-editor.js.map +1 -1
  40. package/dist/src/nile-code-editor/theme.d.ts +9 -0
  41. package/dist/src/nile-code-editor/theme.js +10 -0
  42. package/dist/src/nile-code-editor/theme.js.map +1 -0
  43. package/dist/src/nile-switcher/nile-switcher.css.js +12 -6
  44. package/dist/src/nile-switcher/nile-switcher.css.js.map +1 -1
  45. package/dist/src/nile-switcher/nile-switcher.d.ts +1 -0
  46. package/dist/src/nile-switcher/nile-switcher.js +14 -6
  47. package/dist/src/nile-switcher/nile-switcher.js.map +1 -1
  48. package/dist/tsconfig.tsbuildinfo +1 -1
  49. package/package.json +1 -1
  50. package/src/nile-code-editor/nile-code-editor.css.ts +12 -5
  51. package/src/nile-code-editor/nile-code-editor.ts +93 -42
  52. package/src/nile-code-editor/theme.ts +9 -0
  53. package/src/nile-switcher/nile-switcher.css.ts +12 -6
  54. package/src/nile-switcher/nile-switcher.ts +15 -7
@@ -1,2 +1,2 @@
1
- System.register(["../index-cd83c5c8.cjs.js"],function(_export,_context){"use strict";var e,_templateObject,o;function _taggedTemplateLiteral(strings,raw){if(!raw){raw=strings.slice(0);}return Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}));}return{setters:[function(_index001CjsJs){e=_index001CjsJs.i;}],execute:function(){_export("s",o=e(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n :host {\n display: block;\n }\n\n .code-mirror {\n display: flex;\n justify-content: flex-end;\n flex-direction: row-reverse;\n gap: 0.6rem;\n }\n\n .cm-editor {\n overflow: hidden;\n width: 100%;\n height: 100%;\n }\n\n .\u037C1.cm-focused {\n outline: none;\n }\n\n .code-editor__icon__container {\n cursor: pointer;\n }\n\n .code-editor__icon__container {\n padding-right: 5px;\n }\n"]))));}};});
1
+ System.register(["../index-cd83c5c8.cjs.js"],function(_export,_context){"use strict";var o,_templateObject,r;function _taggedTemplateLiteral(strings,raw){if(!raw){raw=strings.slice(0);}return Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}));}return{setters:[function(_index001CjsJs){o=_index001CjsJs.i;}],execute:function(){_export("s",r=o(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n :host {\n display: block;\n }\n\n .code-mirror {\n display: flex;\n justify-content: flex-end;\n flex-direction: row-reverse;\n padding: 5px;\n border-radius: 5px;\n border: 1px solid rgb(204, 204, 204);\n }\n\n .error {\n border-color: #e5434d;\n }\n\n .cm-editor {\n overflow: hidden;\n width: 100%;\n height: 100%;\n }\n\n .\u037C1.cm-focused {\n outline: none;\n }\n\n .code-editor__icon__container {\n display: none;\n }\n .code-mirror:hover > .code-editor__icon__container {\n cursor: pointer;\n display: flex;\n padding-right: 10px;\n }\n"]))));}};});
2
2
  //# sourceMappingURL=nile-code-editor.css.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"nile-code-editor.css.cjs.js","sources":["../../../src/nile-code-editor/nile-code-editor.css.ts"],"sourcesContent":["/**\n * Copyright Aquera Inc 2023\n *\n * This source code is licensed under the BSD-3-Clause license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { css } from 'lit-element';\n\n/**\n * CodeEditor CSS\n */\nexport const styles = css`\n :host {\n display: block;\n }\n\n .code-mirror {\n display: flex;\n justify-content: flex-end;\n flex-direction: row-reverse;\n gap: 0.6rem;\n }\n\n .cm-editor {\n overflow: hidden;\n width: 100%;\n height: 100%;\n }\n\n .ͼ1.cm-focused {\n outline: none;\n }\n\n .code-editor__icon__container {\n cursor: pointer;\n }\n\n .code-editor__icon__container {\n padding-right: 5px;\n }\n`;\n\nexport default [styles];\n"],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"gXAYaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}
1
+ {"version":3,"file":"nile-code-editor.css.cjs.js","sources":["../../../src/nile-code-editor/nile-code-editor.css.ts"],"sourcesContent":["/**\n * Copyright Aquera Inc 2023\n *\n * This source code is licensed under the BSD-3-Clause license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { css } from 'lit-element';\n\n/**\n * CodeEditor CSS\n */\nexport const styles = css`\n :host {\n display: block;\n }\n\n .code-mirror {\n display: flex;\n justify-content: flex-end;\n flex-direction: row-reverse;\n padding: 5px;\n border-radius: 5px;\n border: 1px solid rgb(204, 204, 204);\n }\n\n .error {\n border-color: #e5434d;\n }\n\n .cm-editor {\n overflow: hidden;\n width: 100%;\n height: 100%;\n }\n\n .ͼ1.cm-focused {\n outline: none;\n }\n\n .code-editor__icon__container {\n display: none;\n }\n .code-mirror:hover > .code-editor__icon__container {\n cursor: pointer;\n display: flex;\n padding-right: 10px;\n }\n`;\n\nexport default [styles];\n"],"names":["styles","css","_templateObject","_taggedTemplateLiteral"],"mappings":"gXAYaA,CAAAA,CAASC,CAAG,CAAAC,eAAA,GAAAA,eAAA,CAAAC,sBAAA"}
@@ -1,4 +1,4 @@
1
- import{i as e}from"../index-cd2f9c12.esm.js";const o=e`
1
+ import{i as o}from"../index-cd2f9c12.esm.js";const e=o`
2
2
  :host {
3
3
  display: block;
4
4
  }
@@ -7,7 +7,13 @@ import{i as e}from"../index-cd2f9c12.esm.js";const o=e`
7
7
  display: flex;
8
8
  justify-content: flex-end;
9
9
  flex-direction: row-reverse;
10
- gap: 0.6rem;
10
+ padding: 5px;
11
+ border-radius: 5px;
12
+ border: 1px solid rgb(204, 204, 204);
13
+ }
14
+
15
+ .error {
16
+ border-color: #e5434d;
11
17
  }
12
18
 
13
19
  .cm-editor {
@@ -21,10 +27,11 @@ import{i as e}from"../index-cd2f9c12.esm.js";const o=e`
21
27
  }
22
28
 
23
29
  .code-editor__icon__container {
24
- cursor: pointer;
30
+ display: none;
25
31
  }
26
-
27
- .code-editor__icon__container {
28
- padding-right: 5px;
32
+ .code-mirror:hover > .code-editor__icon__container {
33
+ cursor: pointer;
34
+ display: flex;
35
+ padding-right: 10px;
29
36
  }
30
- `;export{o as s};
37
+ `;export{e as s};