@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.
- package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-content-editor/nile-content-editor.css.js +0 -1
- package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-content-editor/nile-content-editor.css.js.map +1 -1
- package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-switcher/nile-switcher.css.js +5 -73
- package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-switcher/nile-switcher.css.js.map +1 -1
- package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-switcher/nile-switcher.d.ts +17 -39
- package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-switcher/nile-switcher.js +111 -217
- package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/src/nile-switcher/nile-switcher.js.map +1 -1
- package/.rollup.cache/opt/atlassian/pipelines/agent/build/packages/nile-elements/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.iife.js +340 -454
- package/dist/nile-content-editor/nile-content-editor.css.cjs.js +1 -1
- package/dist/nile-content-editor/nile-content-editor.css.cjs.js.map +1 -1
- package/dist/nile-content-editor/nile-content-editor.css.esm.js +0 -1
- package/dist/nile-switcher/index.cjs.js +1 -1
- package/dist/nile-switcher/index.esm.js +1 -1
- package/dist/nile-switcher/nile-switcher.cjs.js +1 -1
- package/dist/nile-switcher/nile-switcher.cjs.js.map +1 -1
- package/dist/nile-switcher/nile-switcher.css.cjs.js +1 -1
- package/dist/nile-switcher/nile-switcher.css.cjs.js.map +1 -1
- package/dist/nile-switcher/nile-switcher.css.esm.js +7 -75
- package/dist/nile-switcher/nile-switcher.esm.js +51 -101
- package/dist/src/nile-content-editor/nile-content-editor.css.js +0 -1
- package/dist/src/nile-content-editor/nile-content-editor.css.js.map +1 -1
- package/dist/src/nile-switcher/nile-switcher.css.js +5 -73
- package/dist/src/nile-switcher/nile-switcher.css.js.map +1 -1
- package/dist/src/nile-switcher/nile-switcher.d.ts +17 -39
- package/dist/src/nile-switcher/nile-switcher.js +111 -217
- package/dist/src/nile-switcher/nile-switcher.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/nile-content-editor/nile-content-editor.css.ts +0 -1
- package/src/nile-switcher/nile-switcher.css.ts +5 -73
- package/src/nile-switcher/nile-switcher.ts +172 -255
package/package.json
CHANGED
@@ -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
|
-
.
|
52
|
-
|
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
|
-
|
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];
|