@aquera/nile-elements 0.0.36-3 → 0.0.37

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 (34) hide show
  1. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-content-editor/nile-content-editor.css.js +0 -1
  2. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-content-editor/nile-content-editor.css.js.map +1 -1
  3. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-switcher/nile-switcher.css.js +5 -73
  4. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-switcher/nile-switcher.css.js.map +1 -1
  5. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-switcher/nile-switcher.d.ts +17 -39
  6. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-switcher/nile-switcher.js +111 -217
  7. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-switcher/nile-switcher.js.map +1 -1
  8. package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/tsconfig.tsbuildinfo +1 -1
  9. package/dist/index.cjs.js +1 -1
  10. package/dist/index.esm.js +1 -1
  11. package/dist/index.iife.js +340 -454
  12. package/dist/nile-content-editor/nile-content-editor.css.cjs.js +1 -1
  13. package/dist/nile-content-editor/nile-content-editor.css.cjs.js.map +1 -1
  14. package/dist/nile-content-editor/nile-content-editor.css.esm.js +0 -1
  15. package/dist/nile-switcher/index.cjs.js +1 -1
  16. package/dist/nile-switcher/index.esm.js +1 -1
  17. package/dist/nile-switcher/nile-switcher.cjs.js +1 -1
  18. package/dist/nile-switcher/nile-switcher.cjs.js.map +1 -1
  19. package/dist/nile-switcher/nile-switcher.css.cjs.js +1 -1
  20. package/dist/nile-switcher/nile-switcher.css.cjs.js.map +1 -1
  21. package/dist/nile-switcher/nile-switcher.css.esm.js +7 -75
  22. package/dist/nile-switcher/nile-switcher.esm.js +51 -101
  23. package/dist/src/nile-content-editor/nile-content-editor.css.js +0 -1
  24. package/dist/src/nile-content-editor/nile-content-editor.css.js.map +1 -1
  25. package/dist/src/nile-switcher/nile-switcher.css.js +5 -73
  26. package/dist/src/nile-switcher/nile-switcher.css.js.map +1 -1
  27. package/dist/src/nile-switcher/nile-switcher.d.ts +17 -39
  28. package/dist/src/nile-switcher/nile-switcher.js +111 -217
  29. package/dist/src/nile-switcher/nile-switcher.js.map +1 -1
  30. package/dist/tsconfig.tsbuildinfo +1 -1
  31. package/package.json +1 -1
  32. package/src/nile-content-editor/nile-content-editor.css.ts +0 -1
  33. package/src/nile-switcher/nile-switcher.css.ts +5 -73
  34. package/src/nile-switcher/nile-switcher.ts +172 -255
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Webcomponent nile-elements following open-wc recommendations",
4
4
  "license": "MIT",
5
5
  "author": "nile-elements",
6
- "version": "0.0.36-3",
6
+ "version": "0.0.37",
7
7
  "main": "dist/src/index.js",
8
8
  "type": "module",
9
9
  "module": "dist/src/index.js",
@@ -14,7 +14,6 @@ export const styles = css`
14
14
  :host {
15
15
  box-sizing: border-box;
16
16
  font-size: 14px;
17
- overflow: hidden;
18
17
  }
19
18
 
20
19
  .content-editable-wrapper {
@@ -19,92 +19,24 @@ export const styles = css`
19
19
  .pointer-cursor {
20
20
  cursor: pointer;
21
21
  }
22
-
23
- .switcher__label {
24
- display: flex;
25
- align-items: center;
26
- color: inherit;
27
- color: var(--nile-colors-dark-900);
28
- font-family: Colfax-regular;
29
- font-size: 14px;
30
- font-style: normal;
31
- font-weight: 400;
32
- line-height: 14px;
33
- letter-spacing: 0.2px;
34
- }
35
-
36
- switcher-object-mapper:hover {
37
- display: flex;
38
- }
39
- .switcher-icon-container.current {
40
- background: var(--nile-colors-primary-100);
41
- }
42
-
43
- .switcher-container {
22
+ .input-container {
44
23
  display: flex;
45
- }
46
-
47
- .switcher-inline {
48
24
  gap: 0.5rem;
49
25
  }
50
26
 
51
- .switcher-block {
52
- flex-direction: column;
53
- }
54
-
55
- .switcher-inline > :nth-child(2) {
56
- flex: 1;
57
- overflow: hidden;
27
+ .input-container > :first-child {
28
+ max-width: 98%;
29
+ min-width: 98%;
58
30
  }
59
31
 
60
- .switcher-icons-container {
61
- display: flex;
62
- margin-left: auto;
63
- gap: 0.5rem;
32
+ nile-icon {
64
33
  max-height: 38px;
65
- align-items: center;
66
- }
67
-
68
- .switcher-block > .switcher-icons-container {
69
- margin-left: auto;
70
- }
71
-
72
- .label-container {
73
- display: flex;
74
34
  }
75
35
 
76
- .switcher-icon-container {
77
- cursor: pointer;
78
- justify-content: center;
79
- display: flex;
80
- align-items: center;
81
- margin-bottom: 6px;
82
- height: 28px;
83
- width: 28px;
84
- border-radius: 4px;
85
- }
86
36
  nile-radio {
87
37
  display: inline-block;
88
38
  padding-right: 10px;
89
39
  }
90
-
91
- .switcher-object-mapper-icon {
92
- display: none;
93
- }
94
- .switcher-object-mapper:hover > .switcher-object-mapper-icon {
95
- display: block;
96
- }
97
- .switcher-object-mapper::part(input) {
98
- color: var(--nile-colors-primary-600);
99
- cursor: pointer;
100
- }
101
-
102
- .switcher-input--noborder::part(base) {
103
- border: none;
104
- }
105
- .switcher-object-mapper--noborder::part(base) {
106
- border: none;
107
- }
108
40
  `;
109
41
 
110
42
  export default [styles];