@spectrum-web-components/split-view 0.41.1 → 0.42.0
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +4 -4
- package/src/SplitView.dev.js +1 -1
- package/src/SplitView.dev.js.map +2 -2
- package/src/SplitView.js +1 -1
- package/src/SplitView.js.map +2 -2
- package/src/spectrum-split-view.css.dev.js +1 -163
- package/src/spectrum-split-view.css.dev.js.map +2 -2
- package/src/spectrum-split-view.css.js +1 -163
- package/src/spectrum-split-view.css.js.map +2 -2
- package/src/split-view.css.dev.js +1 -163
- package/src/split-view.css.dev.js.map +2 -2
- package/src/split-view.css.js +1 -163
- package/src/split-view.css.js.map +2 -2
- package/test/split-view.test.js +32 -0
- package/test/split-view.test.js.map +2 -2
@@ -1,166 +1,4 @@
|
|
1
1
|
"use strict";import{css as r}from"@spectrum-web-components/base";const e=r`
|
2
|
-
:host{--spectrum-splitview-vertical-width:100%;--spectrum-splitview-vertical-gripper-width:50%;--spectrum-splitview-vertical-gripper-outer-width:100%;--spectrum-splitview-vertical-gripper-reset:0;--spectrum-splitview-background-color:var(--spectrum-gray-100);--spectrum-splitview-handle-background-color:var(--spectrum-gray-300);--spectrum-splitview-handle-background-color-hover:var(
|
3
|
-
--spectrum-gray-400
|
4
|
-
);--spectrum-splitview-handle-background-color-down:var(--spectrum-gray-800);--spectrum-splitview-handle-background-color-focus:var(
|
5
|
-
--spectrum-focus-indicator-color
|
6
|
-
);--spectrum-splitview-handle-width:var(--spectrum-border-width-200);--spectrum-splitview-gripper-border-radius:var(
|
7
|
-
--spectrum-corner-radius-75
|
8
|
-
);--spectrum-splitview-gripper-width:var(--spectrum-border-width-400);--spectrum-splitview-gripper-height:16px;--spectrum-splitview-gripper-border-width-horizontal:3px;--spectrum-splitview-gripper-border-width-vertical:var(
|
9
|
-
--spectrum-border-width-400
|
10
|
-
);display:flex;overflow:hidden}::slotted(*){background-color:var(
|
11
|
-
--mod-splitview-background-color,var(--spectrum-splitview-background-color)
|
12
|
-
);block-size:100%}#gripper{block-size:var(
|
13
|
-
--mod-splitview-gripper-height,var(--spectrum-splitview-gripper-height)
|
14
|
-
);border-block-width:var(
|
15
|
-
--mod-splitview-gripper-border-width-vertical,var(--spectrum-splitview-gripper-border-width-vertical)
|
16
|
-
);border-color:var(
|
17
|
-
--highcontrast-splitview-handle-background-color,var(
|
18
|
-
--mod-splitview-handle-background-color,var(--spectrum-splitview-handle-background-color)
|
19
|
-
)
|
20
|
-
);border-inline-width:var(
|
21
|
-
--mod-splitview-gripper-border-width-horizontal,var(--spectrum-splitview-gripper-border-width-horizontal)
|
22
|
-
);border-radius:var(
|
23
|
-
--mod-splitview-gripper-border-radius,var(--spectrum-splitview-gripper-border-radius)
|
24
|
-
);border-style:solid;content:"";display:block;inline-size:var(
|
25
|
-
--mod-splitview-gripper-width,var(--spectrum-splitview-gripper-width)
|
26
|
-
);inset-block-start:50%;inset-inline-start:calc((var(
|
27
|
-
--mod-splitview-gripper-width,
|
28
|
-
var(--spectrum-splitview-gripper-width)
|
29
|
-
) + (2*var(--mod-splitview-gripper-border-width-vertical,
|
30
|
-
var(
|
31
|
-
--spectrum-splitview-gripper-border-width-vertical
|
32
|
-
))) - var(
|
33
|
-
--mod-splitview-gripper-width,
|
34
|
-
var(--spectrum-splitview-gripper-width)
|
35
|
-
))/2*-1);position:absolute;touch-action:none;transform:translateY(-50%)}#gripper:before{background-color:var(
|
36
|
-
--highcontrast-splitview-handle-background-color,var(
|
37
|
-
--mod-splitview-handle-background-color,var(--spectrum-splitview-handle-background-color)
|
38
|
-
)
|
39
|
-
)}#splitter{background-color:var(
|
40
|
-
--highcontrast-splitview-handle-background-color,var(
|
41
|
-
--mod-splitview-handle-background-color,var(--spectrum-splitview-handle-background-color)
|
42
|
-
)
|
43
|
-
);block-size:100%;inline-size:var(
|
44
|
-
--mod-splitview-handle-width,var(--spectrum-splitview-handle-width)
|
45
|
-
);position:relative;-webkit-user-select:none;user-select:none;z-index:1}#splitter.is-collapsed-end #gripper:before,#splitter.is-collapsed-start #gripper:before{block-size:100%;content:"";inline-size:var(
|
46
|
-
--mod-splitview-handle-width,var(--spectrum-splitview-handle-width)
|
47
|
-
);inset-block-start:0;inset-inline-start:calc(50% - var(
|
48
|
-
--mod-splitview-handle-width,
|
49
|
-
var(--spectrum-splitview-handle-width)
|
50
|
-
)/2);position:absolute}#splitter.is-collapsed-start #gripper{inset-inline-start:0}#splitter.is-collapsed-end #gripper{inset-inline:auto 0}:host([resizable]) #splitter.is-hovered{background-color:var(
|
51
|
-
--highcontrast-splitview-handle-background-color-hover,var(
|
52
|
-
--mod-splitview-handle-background-color-hover,var(--spectrum-splitview-handle-background-color-hover)
|
53
|
-
)
|
54
|
-
)}:host([resizable]) #splitter.is-hovered #gripper{border-color:var(
|
55
|
-
--highcontrast-splitview-handle-background-color-hover,var(
|
56
|
-
--mod-splitview-handle-background-color-hover,var(--spectrum-splitview-handle-background-color-hover)
|
57
|
-
)
|
58
|
-
)}:host([resizable]) #splitter.is-hovered #gripper:before{background-color:var(
|
59
|
-
--highcontrast-splitview-handle-background-color-hover,var(
|
60
|
-
--mod-splitview-handle-background-color-hover,var(--spectrum-splitview-handle-background-color-hover)
|
61
|
-
)
|
62
|
-
)}@media (hover:hover){:host([resizable]) #splitter:hover{background-color:var(
|
63
|
-
--highcontrast-splitview-handle-background-color-hover,var(
|
64
|
-
--mod-splitview-handle-background-color-hover,var(--spectrum-splitview-handle-background-color-hover)
|
65
|
-
)
|
66
|
-
)}:host([resizable]) #splitter:hover #gripper{border-color:var(
|
67
|
-
--highcontrast-splitview-handle-background-color-hover,var(
|
68
|
-
--mod-splitview-handle-background-color-hover,var(--spectrum-splitview-handle-background-color-hover)
|
69
|
-
)
|
70
|
-
)}:host([resizable]) #splitter:hover #gripper:before{background-color:var(
|
71
|
-
--highcontrast-splitview-handle-background-color-hover,var(
|
72
|
-
--mod-splitview-handle-background-color-hover,var(--spectrum-splitview-handle-background-color-hover)
|
73
|
-
)
|
74
|
-
)}}:host([resizable]) #splitter.is-active,:host([resizable]) #splitter:active{background-color:var(
|
75
|
-
--highcontrast-splitview-handle-background-color-down,var(
|
76
|
-
--mod-splitview-handle-background-color-down,var(--spectrum-splitview-handle-background-color-down)
|
77
|
-
)
|
78
|
-
)}:host([resizable]) #splitter.is-active #gripper,:host([resizable]) #splitter:active #gripper{border-color:var(
|
79
|
-
--highcontrast-splitview-handle-background-color-down,var(
|
80
|
-
--mod-splitview-handle-background-color-down,var(--spectrum-splitview-handle-background-color-down)
|
81
|
-
)
|
82
|
-
)}:host([resizable]) #splitter.is-active #gripper:before,:host([resizable]) #splitter:active #gripper:before{background-color:var(
|
83
|
-
--highcontrast-splitview-handle-background-color-down,var(
|
84
|
-
--mod-splitview-handle-background-color-down,var(--spectrum-splitview-handle-background-color-down)
|
85
|
-
)
|
86
|
-
)}:host([resizable]) #splitter:focus{outline:none}:host([resizable]) #splitter.focus-visible{background-color:var(
|
87
|
-
--highcontrast-splitview-handle-background-color-focus,var(
|
88
|
-
--mod-splitview-handle-background-color-focus,var(--spectrum-splitview-handle-background-color-focus)
|
89
|
-
)
|
90
|
-
);outline:none}:host([resizable]) #splitter:focus-visible{background-color:var(
|
91
|
-
--highcontrast-splitview-handle-background-color-focus,var(
|
92
|
-
--mod-splitview-handle-background-color-focus,var(--spectrum-splitview-handle-background-color-focus)
|
93
|
-
)
|
94
|
-
);outline:none}:host([resizable]) #splitter.focus-visible #gripper{border-color:var(
|
95
|
-
--highcontrast-splitview-handle-background-color-focus,var(
|
96
|
-
--mod-splitview-handle-background-color-focus,var(--spectrum-splitview-handle-background-color-focus)
|
97
|
-
)
|
98
|
-
);box-shadow:0 0 0 1px var(
|
99
|
-
--highcontrast-splitview-handle-background-color-focus,var(
|
100
|
-
--mod-splitview-handle-background-color-focus,var(--spectrum-splitview-handle-background-color-focus)
|
101
|
-
)
|
102
|
-
)}:host([resizable]) #splitter:focus-visible #gripper{border-color:var(
|
103
|
-
--highcontrast-splitview-handle-background-color-focus,var(
|
104
|
-
--mod-splitview-handle-background-color-focus,var(--spectrum-splitview-handle-background-color-focus)
|
105
|
-
)
|
106
|
-
);box-shadow:0 0 0 1px var(
|
107
|
-
--highcontrast-splitview-handle-background-color-focus,var(
|
108
|
-
--mod-splitview-handle-background-color-focus,var(--spectrum-splitview-handle-background-color-focus)
|
109
|
-
)
|
110
|
-
)}:host([resizable]) #splitter.focus-visible #gripper:before{background-color:var(
|
111
|
-
--highcontrast-splitview-handle-background-color-focus,var(
|
112
|
-
--mod-splitview-handle-background-color-focus,var(--spectrum-splitview-handle-background-color-focus)
|
113
|
-
)
|
114
|
-
)}:host([resizable]) #splitter:focus-visible #gripper:before{background-color:var(
|
115
|
-
--highcontrast-splitview-handle-background-color-focus,var(
|
116
|
-
--mod-splitview-handle-background-color-focus,var(--spectrum-splitview-handle-background-color-focus)
|
117
|
-
)
|
118
|
-
)}:host([vertical]){flex-direction:column}:host([vertical]) ::slotted(*){block-size:auto;inline-size:var(
|
119
|
-
--mod-splitview-vertical-width,var(--spectrum-splitview-vertical-width)
|
120
|
-
)}:host([vertical]) #gripper{block-size:var(
|
121
|
-
--mod-splitview-gripper-width,var(--spectrum-splitview-gripper-width)
|
122
|
-
);border-block-width:var(
|
123
|
-
--mod-splitview-gripper-border-width-horizontal,var(--spectrum-splitview-gripper-border-width-horizontal)
|
124
|
-
);border-inline-width:var(
|
125
|
-
--mod-splitview-gripper-border-width-vertical,var(--spectrum-splitview-gripper-border-width-vertical)
|
126
|
-
);inline-size:var(
|
127
|
-
--mod-splitview-gripper-height,var(--spectrum-splitview-gripper-height)
|
128
|
-
);inset-block-start:calc((var(
|
129
|
-
--mod-splitview-gripper-width,
|
130
|
-
var(--spectrum-splitview-gripper-width)
|
131
|
-
) + (2*var(--mod-splitview-gripper-border-width-vertical,
|
132
|
-
var(
|
133
|
-
--spectrum-splitview-gripper-border-width-vertical
|
134
|
-
))) - var(
|
135
|
-
--mod-splitview-gripper-width,
|
136
|
-
var(--spectrum-splitview-gripper-width)
|
137
|
-
))/2*-1);inset-inline-start:var(
|
138
|
-
--mod-splitview-vertical-gripper-width,var(--spectrum-splitview-vertical-gripper-width)
|
139
|
-
);transform:translate(calc(var(
|
140
|
-
--mod-splitview-vertical-gripper-width,
|
141
|
-
var(--spectrum-splitview-vertical-gripper-width)
|
142
|
-
)*-1))}:host([vertical]) #splitter{block-size:var(
|
143
|
-
--mod-splitview-handle-width,var(--spectrum-splitview-handle-width)
|
144
|
-
);inline-size:var(
|
145
|
-
--mod-splitview-vertical-width,var(--spectrum-splitview-vertical-width)
|
146
|
-
)}:host([vertical]) #splitter.is-collapsed-end #gripper,:host([vertical]) #splitter.is-collapsed-start #gripper{inset-inline-start:var(
|
147
|
-
--mod-splitview-vertical-gripper-width,var(--spectrum-splitview-vertical-gripper-width)
|
148
|
-
)}:host([vertical]) #splitter.is-collapsed-end #gripper:before,:host([vertical]) #splitter.is-collapsed-start #gripper:before{block-size:var(
|
149
|
-
--mod-splitview-handle-width,var(--spectrum-splitview-handle-width)
|
150
|
-
);inline-size:var(
|
151
|
-
--mod-splitview-vertical-gripper-outer-width,var(--spectrum-splitview-vertical-gripper-outer-width)
|
152
|
-
);inset-block-start:calc(var(
|
153
|
-
--mod-splitview-vertical-gripper-width,
|
154
|
-
var(--spectrum-splitview-vertical-gripper-width)
|
155
|
-
) - var(
|
156
|
-
--mod-splitview-handle-width,
|
157
|
-
var(--spectrum-splitview-handle-width)
|
158
|
-
)/2);inset-inline-start:var(
|
159
|
-
--mod-splitview-vertical-gripper-reset,var(--spectrum-splitview-vertical-gripper-reset)
|
160
|
-
)}:host([vertical]) #splitter.is-collapsed-start #gripper{inset-block-start:var(
|
161
|
-
--mod-splitview-vertical-gripper-reset,var(--spectrum-splitview-vertical-gripper-reset)
|
162
|
-
)}:host([vertical]) #splitter.is-collapsed-end #gripper{inset-block-end:var(
|
163
|
-
--mod-splitview-vertical-gripper-reset,var(--spectrum-splitview-vertical-gripper-reset)
|
164
|
-
);inset-block-start:auto}@media (forced-colors:active){:host{--highcontrast-splitview-handle-background-color:CanvasText;--highcontrast-splitview-handle-background-color-hover:CanvasText;--highcontrast-splitview-handle-background-color-down:CanvasText;--highcontrast-splitview-handle-background-color-focus:Highlight}}
|
2
|
+
:host{--spectrum-splitview-vertical-width:100%;--spectrum-splitview-vertical-gripper-width:50%;--spectrum-splitview-vertical-gripper-outer-width:100%;--spectrum-splitview-vertical-gripper-reset:0;--spectrum-splitview-background-color:var(--spectrum-gray-100);--spectrum-splitview-handle-background-color:var(--spectrum-gray-300);--spectrum-splitview-handle-background-color-hover:var(--spectrum-gray-400);--spectrum-splitview-handle-background-color-down:var(--spectrum-gray-800);--spectrum-splitview-handle-background-color-focus:var(--spectrum-focus-indicator-color);--spectrum-splitview-handle-width:var(--spectrum-border-width-200);--spectrum-splitview-gripper-border-radius:var(--spectrum-corner-radius-75);--spectrum-splitview-gripper-width:var(--spectrum-border-width-400);--spectrum-splitview-gripper-height:16px;--spectrum-splitview-gripper-border-width-horizontal:3px;--spectrum-splitview-gripper-border-width-vertical:var(--spectrum-border-width-400);display:flex;overflow:hidden}::slotted(*){background-color:var(--mod-splitview-background-color,var(--spectrum-splitview-background-color));block-size:100%}#gripper{content:"";border-radius:var(--mod-splitview-gripper-border-radius,var(--spectrum-splitview-gripper-border-radius));border-style:solid;border-color:var(--highcontrast-splitview-handle-background-color,var(--mod-splitview-handle-background-color,var(--spectrum-splitview-handle-background-color)));touch-action:none;inline-size:var(--mod-splitview-gripper-width,var(--spectrum-splitview-gripper-width));block-size:var(--mod-splitview-gripper-height,var(--spectrum-splitview-gripper-height));border-block-width:var(--mod-splitview-gripper-border-width-vertical,var(--spectrum-splitview-gripper-border-width-vertical));border-inline-width:var(--mod-splitview-gripper-border-width-horizontal,var(--spectrum-splitview-gripper-border-width-horizontal));display:block;position:absolute;inset-block-start:50%;inset-inline-start:calc(( var(--mod-splitview-gripper-width,var(--spectrum-splitview-gripper-width)) + ( 2*var(--mod-splitview-gripper-border-width-vertical,var(--spectrum-splitview-gripper-border-width-vertical))) - var(--mod-splitview-gripper-width,var(--spectrum-splitview-gripper-width)))/2*-1);transform:translateY(-50%)}#gripper:before{background-color:var(--highcontrast-splitview-handle-background-color,var(--mod-splitview-handle-background-color,var(--spectrum-splitview-handle-background-color)))}#splitter{background-color:var(--highcontrast-splitview-handle-background-color,var(--mod-splitview-handle-background-color,var(--spectrum-splitview-handle-background-color)));-webkit-user-select:none;user-select:none;inline-size:var(--mod-splitview-handle-width,var(--spectrum-splitview-handle-width));z-index:1;block-size:100%;position:relative}#splitter.is-collapsed-start #gripper:before,#splitter.is-collapsed-end #gripper:before{content:"";inline-size:var(--mod-splitview-handle-width,var(--spectrum-splitview-handle-width));block-size:100%;position:absolute;inset-block-start:0;inset-inline-start:calc(50% - var(--mod-splitview-handle-width,var(--spectrum-splitview-handle-width))/2)}#splitter.is-collapsed-start #gripper{inset-inline-start:0}#splitter.is-collapsed-end #gripper{inset-inline:auto 0}:host([resizable]) #splitter.is-hovered{background-color:var(--highcontrast-splitview-handle-background-color-hover,var(--mod-splitview-handle-background-color-hover,var(--spectrum-splitview-handle-background-color-hover)))}:host([resizable]) #splitter.is-hovered #gripper{border-color:var(--highcontrast-splitview-handle-background-color-hover,var(--mod-splitview-handle-background-color-hover,var(--spectrum-splitview-handle-background-color-hover)))}:host([resizable]) #splitter.is-hovered #gripper:before{background-color:var(--highcontrast-splitview-handle-background-color-hover,var(--mod-splitview-handle-background-color-hover,var(--spectrum-splitview-handle-background-color-hover)))}@media (hover:hover){:host([resizable]) #splitter:hover{background-color:var(--highcontrast-splitview-handle-background-color-hover,var(--mod-splitview-handle-background-color-hover,var(--spectrum-splitview-handle-background-color-hover)))}:host([resizable]) #splitter:hover #gripper{border-color:var(--highcontrast-splitview-handle-background-color-hover,var(--mod-splitview-handle-background-color-hover,var(--spectrum-splitview-handle-background-color-hover)))}:host([resizable]) #splitter:hover #gripper:before{background-color:var(--highcontrast-splitview-handle-background-color-hover,var(--mod-splitview-handle-background-color-hover,var(--spectrum-splitview-handle-background-color-hover)))}}:host([resizable]) #splitter:active,:host([resizable]) #splitter.is-active{background-color:var(--highcontrast-splitview-handle-background-color-down,var(--mod-splitview-handle-background-color-down,var(--spectrum-splitview-handle-background-color-down)))}:host([resizable]) #splitter:active #gripper,:host([resizable]) #splitter.is-active #gripper{border-color:var(--highcontrast-splitview-handle-background-color-down,var(--mod-splitview-handle-background-color-down,var(--spectrum-splitview-handle-background-color-down)))}:host([resizable]) #splitter:active #gripper:before,:host([resizable]) #splitter.is-active #gripper:before{background-color:var(--highcontrast-splitview-handle-background-color-down,var(--mod-splitview-handle-background-color-down,var(--spectrum-splitview-handle-background-color-down)))}:host([resizable]) #splitter:focus{outline:none}:host([resizable]) #splitter:focus-visible{background-color:var(--highcontrast-splitview-handle-background-color-focus,var(--mod-splitview-handle-background-color-focus,var(--spectrum-splitview-handle-background-color-focus)));outline:none}:host([resizable]) #splitter:focus-visible #gripper{border-color:var(--highcontrast-splitview-handle-background-color-focus,var(--mod-splitview-handle-background-color-focus,var(--spectrum-splitview-handle-background-color-focus)));box-shadow:0 0 0 1px var(--highcontrast-splitview-handle-background-color-focus,var(--mod-splitview-handle-background-color-focus,var(--spectrum-splitview-handle-background-color-focus)))}:host([resizable]) #splitter:focus-visible #gripper:before{background-color:var(--highcontrast-splitview-handle-background-color-focus,var(--mod-splitview-handle-background-color-focus,var(--spectrum-splitview-handle-background-color-focus)))}:host([vertical]){flex-direction:column}:host([vertical]) ::slotted(*){inline-size:var(--mod-splitview-vertical-width,var(--spectrum-splitview-vertical-width));block-size:auto}:host([vertical]) #gripper{transform:translate(calc(var(--mod-splitview-vertical-gripper-width,var(--spectrum-splitview-vertical-gripper-width))*-1),0);inline-size:var(--mod-splitview-gripper-height,var(--spectrum-splitview-gripper-height));block-size:var(--mod-splitview-gripper-width,var(--spectrum-splitview-gripper-width));border-block-width:var(--mod-splitview-gripper-border-width-horizontal,var(--spectrum-splitview-gripper-border-width-horizontal));border-inline-width:var(--mod-splitview-gripper-border-width-vertical,var(--spectrum-splitview-gripper-border-width-vertical));inset-block-start:calc(( var(--mod-splitview-gripper-width,var(--spectrum-splitview-gripper-width)) + ( 2*var(--mod-splitview-gripper-border-width-vertical,var(--spectrum-splitview-gripper-border-width-vertical))) - var(--mod-splitview-gripper-width,var(--spectrum-splitview-gripper-width)))/2*-1);inset-inline-start:var(--mod-splitview-vertical-gripper-width,var(--spectrum-splitview-vertical-gripper-width))}:host([vertical]) #splitter{inline-size:var(--mod-splitview-vertical-width,var(--spectrum-splitview-vertical-width));block-size:var(--mod-splitview-handle-width,var(--spectrum-splitview-handle-width))}:host([vertical]) #splitter.is-collapsed-start #gripper,:host([vertical]) #splitter.is-collapsed-end #gripper{inset-inline-start:var(--mod-splitview-vertical-gripper-width,var(--spectrum-splitview-vertical-gripper-width))}:host([vertical]) #splitter.is-collapsed-start #gripper:before,:host([vertical]) #splitter.is-collapsed-end #gripper:before{inline-size:var(--mod-splitview-vertical-gripper-outer-width,var(--spectrum-splitview-vertical-gripper-outer-width));block-size:var(--mod-splitview-handle-width,var(--spectrum-splitview-handle-width));inset-block-start:calc(var(--mod-splitview-vertical-gripper-width,var(--spectrum-splitview-vertical-gripper-width)) - var(--mod-splitview-handle-width,var(--spectrum-splitview-handle-width))/2);inset-inline-start:var(--mod-splitview-vertical-gripper-reset,var(--spectrum-splitview-vertical-gripper-reset))}:host([vertical]) #splitter.is-collapsed-start #gripper{inset-block-start:var(--mod-splitview-vertical-gripper-reset,var(--spectrum-splitview-vertical-gripper-reset))}:host([vertical]) #splitter.is-collapsed-end #gripper{inset-block-start:auto;inset-block-end:var(--mod-splitview-vertical-gripper-reset,var(--spectrum-splitview-vertical-gripper-reset))}@media (forced-colors:active){:host{--highcontrast-splitview-handle-background-color:CanvasText;--highcontrast-splitview-handle-background-color-hover:CanvasText;--highcontrast-splitview-handle-background-color-down:CanvasText;--highcontrast-splitview-handle-background-color-focus:Highlight}}
|
165
3
|
`;export default e;
|
166
4
|
//# sourceMappingURL=spectrum-split-view.css.js.map
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["spectrum-split-view.css.ts"],
|
4
|
-
"sourcesContent": ["/*\nCopyright 2024 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\nimport { css } from '@spectrum-web-components/base';\nconst styles = css`\n:host{--spectrum-splitview-vertical-width:100%;--spectrum-splitview-vertical-gripper-width:50%;--spectrum-splitview-vertical-gripper-outer-width:100%;--spectrum-splitview-vertical-gripper-reset:0;--spectrum-splitview-background-color:var(--spectrum-gray-100);--spectrum-splitview-handle-background-color:var(--spectrum-gray-300);--spectrum-splitview-handle-background-color-hover:var(\n--spectrum-gray-400\n);--spectrum-splitview-handle-background-color-down:var(--spectrum-gray-800);--spectrum-splitview-handle-background-color-focus:var(\n--spectrum-focus-indicator-color\n);--spectrum-splitview-handle-width:var(--spectrum-border-width-200);--spectrum-splitview-gripper-border-radius:var(\n--spectrum-corner-radius-75\n);--spectrum-splitview-gripper-width:var(--spectrum-border-width-400);--spectrum-splitview-gripper-height:16px;--spectrum-splitview-gripper-border-width-horizontal:3px;--spectrum-splitview-gripper-border-width-vertical:var(\n--spectrum-border-width-400\n);display:flex;overflow:hidden}::slotted(*){background-color:var(\n--mod-splitview-background-color,var(--spectrum-splitview-background-color)\n);block-size:100%}#gripper{block-size:var(\n--mod-splitview-gripper-height,var(--spectrum-splitview-gripper-height)\n);border-block-width:var(\n--mod-splitview-gripper-border-width-vertical,var(--spectrum-splitview-gripper-border-width-vertical)\n);border-color:var(\n--highcontrast-splitview-handle-background-color,var(\n--mod-splitview-handle-background-color,var(--spectrum-splitview-handle-background-color)\n)\n);border-inline-width:var(\n--mod-splitview-gripper-border-width-horizontal,var(--spectrum-splitview-gripper-border-width-horizontal)\n);border-radius:var(\n--mod-splitview-gripper-border-radius,var(--spectrum-splitview-gripper-border-radius)\n);border-style:solid;content:\"\";display:block;inline-size:var(\n--mod-splitview-gripper-width,var(--spectrum-splitview-gripper-width)\n);inset-block-start:50%;inset-inline-start:calc((var(\n--mod-splitview-gripper-width,\nvar(--spectrum-splitview-gripper-width)\n) + (2*var(--mod-splitview-gripper-border-width-vertical,\nvar(\n--spectrum-splitview-gripper-border-width-vertical\n))) - var(\n--mod-splitview-gripper-width,\nvar(--spectrum-splitview-gripper-width)\n))/2*-1);position:absolute;touch-action:none;transform:translateY(-50%)}#gripper:before{background-color:var(\n--highcontrast-splitview-handle-background-color,var(\n--mod-splitview-handle-background-color,var(--spectrum-splitview-handle-background-color)\n)\n)}#splitter{background-color:var(\n--highcontrast-splitview-handle-background-color,var(\n--mod-splitview-handle-background-color,var(--spectrum-splitview-handle-background-color)\n)\n);block-size:100%;inline-size:var(\n--mod-splitview-handle-width,var(--spectrum-splitview-handle-width)\n);position:relative;-webkit-user-select:none;user-select:none;z-index:1}#splitter.is-collapsed-end #gripper:before,#splitter.is-collapsed-start #gripper:before{block-size:100%;content:\"\";inline-size:var(\n--mod-splitview-handle-width,var(--spectrum-splitview-handle-width)\n);inset-block-start:0;inset-inline-start:calc(50% - var(\n--mod-splitview-handle-width,\nvar(--spectrum-splitview-handle-width)\n)/2);position:absolute}#splitter.is-collapsed-start #gripper{inset-inline-start:0}#splitter.is-collapsed-end #gripper{inset-inline:auto 0}:host([resizable]) #splitter.is-hovered{background-color:var(\n--highcontrast-splitview-handle-background-color-hover,var(\n--mod-splitview-handle-background-color-hover,var(--spectrum-splitview-handle-background-color-hover)\n)\n)}:host([resizable]) #splitter.is-hovered #gripper{border-color:var(\n--highcontrast-splitview-handle-background-color-hover,var(\n--mod-splitview-handle-background-color-hover,var(--spectrum-splitview-handle-background-color-hover)\n)\n)}:host([resizable]) #splitter.is-hovered #gripper:before{background-color:var(\n--highcontrast-splitview-handle-background-color-hover,var(\n--mod-splitview-handle-background-color-hover,var(--spectrum-splitview-handle-background-color-hover)\n)\n)}@media (hover:hover){:host([resizable]) #splitter:hover{background-color:var(\n--highcontrast-splitview-handle-background-color-hover,var(\n--mod-splitview-handle-background-color-hover,var(--spectrum-splitview-handle-background-color-hover)\n)\n)}:host([resizable]) #splitter:hover #gripper{border-color:var(\n--highcontrast-splitview-handle-background-color-hover,var(\n--mod-splitview-handle-background-color-hover,var(--spectrum-splitview-handle-background-color-hover)\n)\n)}:host([resizable]) #splitter:hover #gripper:before{background-color:var(\n--highcontrast-splitview-handle-background-color-hover,var(\n--mod-splitview-handle-background-color-hover,var(--spectrum-splitview-handle-background-color-hover)\n)\n)}}:host([resizable]) #splitter.is-active,:host([resizable]) #splitter:active{background-color:var(\n--highcontrast-splitview-handle-background-color-down,var(\n--mod-splitview-handle-background-color-down,var(--spectrum-splitview-handle-background-color-down)\n)\n)}:host([resizable]) #splitter.is-active #gripper,:host([resizable]) #splitter:active #gripper{border-color:var(\n--highcontrast-splitview-handle-background-color-down,var(\n--mod-splitview-handle-background-color-down,var(--spectrum-splitview-handle-background-color-down)\n)\n)}:host([resizable]) #splitter.is-active #gripper:before,:host([resizable]) #splitter:active #gripper:before{background-color:var(\n--highcontrast-splitview-handle-background-color-down,var(\n--mod-splitview-handle-background-color-down,var(--spectrum-splitview-handle-background-color-down)\n)\n)}:host([resizable]) #splitter:focus{outline:none}:host([resizable]) #splitter.focus-visible{background-color:var(\n--highcontrast-splitview-handle-background-color-focus,var(\n--mod-splitview-handle-background-color-focus,var(--spectrum-splitview-handle-background-color-focus)\n)\n);outline:none}:host([resizable]) #splitter:focus-visible{background-color:var(\n--highcontrast-splitview-handle-background-color-focus,var(\n--mod-splitview-handle-background-color-focus,var(--spectrum-splitview-handle-background-color-focus)\n)\n);outline:none}:host([resizable]) #splitter.focus-visible #gripper{border-color:var(\n--highcontrast-splitview-handle-background-color-focus,var(\n--mod-splitview-handle-background-color-focus,var(--spectrum-splitview-handle-background-color-focus)\n)\n);box-shadow:0 0 0 1px var(\n--highcontrast-splitview-handle-background-color-focus,var(\n--mod-splitview-handle-background-color-focus,var(--spectrum-splitview-handle-background-color-focus)\n)\n)}:host([resizable]) #splitter:focus-visible #gripper{border-color:var(\n--highcontrast-splitview-handle-background-color-focus,var(\n--mod-splitview-handle-background-color-focus,var(--spectrum-splitview-handle-background-color-focus)\n)\n);box-shadow:0 0 0 1px var(\n--highcontrast-splitview-handle-background-color-focus,var(\n--mod-splitview-handle-background-color-focus,var(--spectrum-splitview-handle-background-color-focus)\n)\n)}:host([resizable]) #splitter.focus-visible #gripper:before{background-color:var(\n--highcontrast-splitview-handle-background-color-focus,var(\n--mod-splitview-handle-background-color-focus,var(--spectrum-splitview-handle-background-color-focus)\n)\n)}:host([resizable]) #splitter:focus-visible #gripper:before{background-color:var(\n--highcontrast-splitview-handle-background-color-focus,var(\n--mod-splitview-handle-background-color-focus,var(--spectrum-splitview-handle-background-color-focus)\n)\n)}:host([vertical]){flex-direction:column}:host([vertical]) ::slotted(*){block-size:auto;inline-size:var(\n--mod-splitview-vertical-width,var(--spectrum-splitview-vertical-width)\n)}:host([vertical]) #gripper{block-size:var(\n--mod-splitview-gripper-width,var(--spectrum-splitview-gripper-width)\n);border-block-width:var(\n--mod-splitview-gripper-border-width-horizontal,var(--spectrum-splitview-gripper-border-width-horizontal)\n);border-inline-width:var(\n--mod-splitview-gripper-border-width-vertical,var(--spectrum-splitview-gripper-border-width-vertical)\n);inline-size:var(\n--mod-splitview-gripper-height,var(--spectrum-splitview-gripper-height)\n);inset-block-start:calc((var(\n--mod-splitview-gripper-width,\nvar(--spectrum-splitview-gripper-width)\n) + (2*var(--mod-splitview-gripper-border-width-vertical,\nvar(\n--spectrum-splitview-gripper-border-width-vertical\n))) - var(\n--mod-splitview-gripper-width,\nvar(--spectrum-splitview-gripper-width)\n))/2*-1);inset-inline-start:var(\n--mod-splitview-vertical-gripper-width,var(--spectrum-splitview-vertical-gripper-width)\n);transform:translate(calc(var(\n--mod-splitview-vertical-gripper-width,\nvar(--spectrum-splitview-vertical-gripper-width)\n)*-1))}:host([vertical]) #splitter{block-size:var(\n--mod-splitview-handle-width,var(--spectrum-splitview-handle-width)\n);inline-size:var(\n--mod-splitview-vertical-width,var(--spectrum-splitview-vertical-width)\n)}:host([vertical]) #splitter.is-collapsed-end #gripper,:host([vertical]) #splitter.is-collapsed-start #gripper{inset-inline-start:var(\n--mod-splitview-vertical-gripper-width,var(--spectrum-splitview-vertical-gripper-width)\n)}:host([vertical]) #splitter.is-collapsed-end #gripper:before,:host([vertical]) #splitter.is-collapsed-start #gripper:before{block-size:var(\n--mod-splitview-handle-width,var(--spectrum-splitview-handle-width)\n);inline-size:var(\n--mod-splitview-vertical-gripper-outer-width,var(--spectrum-splitview-vertical-gripper-outer-width)\n);inset-block-start:calc(var(\n--mod-splitview-vertical-gripper-width,\nvar(--spectrum-splitview-vertical-gripper-width)\n) - var(\n--mod-splitview-handle-width,\nvar(--spectrum-splitview-handle-width)\n)/2);inset-inline-start:var(\n--mod-splitview-vertical-gripper-reset,var(--spectrum-splitview-vertical-gripper-reset)\n)}:host([vertical]) #splitter.is-collapsed-start #gripper{inset-block-start:var(\n--mod-splitview-vertical-gripper-reset,var(--spectrum-splitview-vertical-gripper-reset)\n)}:host([vertical]) #splitter.is-collapsed-end #gripper{inset-block-end:var(\n--mod-splitview-vertical-gripper-reset,var(--spectrum-splitview-vertical-gripper-reset)\n);inset-block-start:auto}@media (forced-colors:active){:host{--highcontrast-splitview-handle-background-color:CanvasText;--highcontrast-splitview-handle-background-color-hover:CanvasText;--highcontrast-splitview-handle-background-color-down:CanvasText;--highcontrast-splitview-handle-background-color-focus:Highlight}}\n`;\nexport default styles;"],
|
5
|
-
"mappings": "aAWA,OAAS,OAAAA,MAAW,gCACpB,MAAMC,EAASD;AAAA;AAAA
|
4
|
+
"sourcesContent": ["/*\nCopyright 2024 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\nimport { css } from '@spectrum-web-components/base';\nconst styles = css`\n :host{--spectrum-splitview-vertical-width:100%;--spectrum-splitview-vertical-gripper-width:50%;--spectrum-splitview-vertical-gripper-outer-width:100%;--spectrum-splitview-vertical-gripper-reset:0;--spectrum-splitview-background-color:var(--spectrum-gray-100);--spectrum-splitview-handle-background-color:var(--spectrum-gray-300);--spectrum-splitview-handle-background-color-hover:var(--spectrum-gray-400);--spectrum-splitview-handle-background-color-down:var(--spectrum-gray-800);--spectrum-splitview-handle-background-color-focus:var(--spectrum-focus-indicator-color);--spectrum-splitview-handle-width:var(--spectrum-border-width-200);--spectrum-splitview-gripper-border-radius:var(--spectrum-corner-radius-75);--spectrum-splitview-gripper-width:var(--spectrum-border-width-400);--spectrum-splitview-gripper-height:16px;--spectrum-splitview-gripper-border-width-horizontal:3px;--spectrum-splitview-gripper-border-width-vertical:var(--spectrum-border-width-400);display:flex;overflow:hidden}::slotted(*){background-color:var(--mod-splitview-background-color,var(--spectrum-splitview-background-color));block-size:100%}#gripper{content:\"\";border-radius:var(--mod-splitview-gripper-border-radius,var(--spectrum-splitview-gripper-border-radius));border-style:solid;border-color:var(--highcontrast-splitview-handle-background-color,var(--mod-splitview-handle-background-color,var(--spectrum-splitview-handle-background-color)));touch-action:none;inline-size:var(--mod-splitview-gripper-width,var(--spectrum-splitview-gripper-width));block-size:var(--mod-splitview-gripper-height,var(--spectrum-splitview-gripper-height));border-block-width:var(--mod-splitview-gripper-border-width-vertical,var(--spectrum-splitview-gripper-border-width-vertical));border-inline-width:var(--mod-splitview-gripper-border-width-horizontal,var(--spectrum-splitview-gripper-border-width-horizontal));display:block;position:absolute;inset-block-start:50%;inset-inline-start:calc(( var(--mod-splitview-gripper-width,var(--spectrum-splitview-gripper-width)) + ( 2*var(--mod-splitview-gripper-border-width-vertical,var(--spectrum-splitview-gripper-border-width-vertical))) - var(--mod-splitview-gripper-width,var(--spectrum-splitview-gripper-width)))/2*-1);transform:translateY(-50%)}#gripper:before{background-color:var(--highcontrast-splitview-handle-background-color,var(--mod-splitview-handle-background-color,var(--spectrum-splitview-handle-background-color)))}#splitter{background-color:var(--highcontrast-splitview-handle-background-color,var(--mod-splitview-handle-background-color,var(--spectrum-splitview-handle-background-color)));-webkit-user-select:none;user-select:none;inline-size:var(--mod-splitview-handle-width,var(--spectrum-splitview-handle-width));z-index:1;block-size:100%;position:relative}#splitter.is-collapsed-start #gripper:before,#splitter.is-collapsed-end #gripper:before{content:\"\";inline-size:var(--mod-splitview-handle-width,var(--spectrum-splitview-handle-width));block-size:100%;position:absolute;inset-block-start:0;inset-inline-start:calc(50% - var(--mod-splitview-handle-width,var(--spectrum-splitview-handle-width))/2)}#splitter.is-collapsed-start #gripper{inset-inline-start:0}#splitter.is-collapsed-end #gripper{inset-inline:auto 0}:host([resizable]) #splitter.is-hovered{background-color:var(--highcontrast-splitview-handle-background-color-hover,var(--mod-splitview-handle-background-color-hover,var(--spectrum-splitview-handle-background-color-hover)))}:host([resizable]) #splitter.is-hovered #gripper{border-color:var(--highcontrast-splitview-handle-background-color-hover,var(--mod-splitview-handle-background-color-hover,var(--spectrum-splitview-handle-background-color-hover)))}:host([resizable]) #splitter.is-hovered #gripper:before{background-color:var(--highcontrast-splitview-handle-background-color-hover,var(--mod-splitview-handle-background-color-hover,var(--spectrum-splitview-handle-background-color-hover)))}@media (hover:hover){:host([resizable]) #splitter:hover{background-color:var(--highcontrast-splitview-handle-background-color-hover,var(--mod-splitview-handle-background-color-hover,var(--spectrum-splitview-handle-background-color-hover)))}:host([resizable]) #splitter:hover #gripper{border-color:var(--highcontrast-splitview-handle-background-color-hover,var(--mod-splitview-handle-background-color-hover,var(--spectrum-splitview-handle-background-color-hover)))}:host([resizable]) #splitter:hover #gripper:before{background-color:var(--highcontrast-splitview-handle-background-color-hover,var(--mod-splitview-handle-background-color-hover,var(--spectrum-splitview-handle-background-color-hover)))}}:host([resizable]) #splitter:active,:host([resizable]) #splitter.is-active{background-color:var(--highcontrast-splitview-handle-background-color-down,var(--mod-splitview-handle-background-color-down,var(--spectrum-splitview-handle-background-color-down)))}:host([resizable]) #splitter:active #gripper,:host([resizable]) #splitter.is-active #gripper{border-color:var(--highcontrast-splitview-handle-background-color-down,var(--mod-splitview-handle-background-color-down,var(--spectrum-splitview-handle-background-color-down)))}:host([resizable]) #splitter:active #gripper:before,:host([resizable]) #splitter.is-active #gripper:before{background-color:var(--highcontrast-splitview-handle-background-color-down,var(--mod-splitview-handle-background-color-down,var(--spectrum-splitview-handle-background-color-down)))}:host([resizable]) #splitter:focus{outline:none}:host([resizable]) #splitter:focus-visible{background-color:var(--highcontrast-splitview-handle-background-color-focus,var(--mod-splitview-handle-background-color-focus,var(--spectrum-splitview-handle-background-color-focus)));outline:none}:host([resizable]) #splitter:focus-visible #gripper{border-color:var(--highcontrast-splitview-handle-background-color-focus,var(--mod-splitview-handle-background-color-focus,var(--spectrum-splitview-handle-background-color-focus)));box-shadow:0 0 0 1px var(--highcontrast-splitview-handle-background-color-focus,var(--mod-splitview-handle-background-color-focus,var(--spectrum-splitview-handle-background-color-focus)))}:host([resizable]) #splitter:focus-visible #gripper:before{background-color:var(--highcontrast-splitview-handle-background-color-focus,var(--mod-splitview-handle-background-color-focus,var(--spectrum-splitview-handle-background-color-focus)))}:host([vertical]){flex-direction:column}:host([vertical]) ::slotted(*){inline-size:var(--mod-splitview-vertical-width,var(--spectrum-splitview-vertical-width));block-size:auto}:host([vertical]) #gripper{transform:translate(calc(var(--mod-splitview-vertical-gripper-width,var(--spectrum-splitview-vertical-gripper-width))*-1),0);inline-size:var(--mod-splitview-gripper-height,var(--spectrum-splitview-gripper-height));block-size:var(--mod-splitview-gripper-width,var(--spectrum-splitview-gripper-width));border-block-width:var(--mod-splitview-gripper-border-width-horizontal,var(--spectrum-splitview-gripper-border-width-horizontal));border-inline-width:var(--mod-splitview-gripper-border-width-vertical,var(--spectrum-splitview-gripper-border-width-vertical));inset-block-start:calc(( var(--mod-splitview-gripper-width,var(--spectrum-splitview-gripper-width)) + ( 2*var(--mod-splitview-gripper-border-width-vertical,var(--spectrum-splitview-gripper-border-width-vertical))) - var(--mod-splitview-gripper-width,var(--spectrum-splitview-gripper-width)))/2*-1);inset-inline-start:var(--mod-splitview-vertical-gripper-width,var(--spectrum-splitview-vertical-gripper-width))}:host([vertical]) #splitter{inline-size:var(--mod-splitview-vertical-width,var(--spectrum-splitview-vertical-width));block-size:var(--mod-splitview-handle-width,var(--spectrum-splitview-handle-width))}:host([vertical]) #splitter.is-collapsed-start #gripper,:host([vertical]) #splitter.is-collapsed-end #gripper{inset-inline-start:var(--mod-splitview-vertical-gripper-width,var(--spectrum-splitview-vertical-gripper-width))}:host([vertical]) #splitter.is-collapsed-start #gripper:before,:host([vertical]) #splitter.is-collapsed-end #gripper:before{inline-size:var(--mod-splitview-vertical-gripper-outer-width,var(--spectrum-splitview-vertical-gripper-outer-width));block-size:var(--mod-splitview-handle-width,var(--spectrum-splitview-handle-width));inset-block-start:calc(var(--mod-splitview-vertical-gripper-width,var(--spectrum-splitview-vertical-gripper-width)) - var(--mod-splitview-handle-width,var(--spectrum-splitview-handle-width))/2);inset-inline-start:var(--mod-splitview-vertical-gripper-reset,var(--spectrum-splitview-vertical-gripper-reset))}:host([vertical]) #splitter.is-collapsed-start #gripper{inset-block-start:var(--mod-splitview-vertical-gripper-reset,var(--spectrum-splitview-vertical-gripper-reset))}:host([vertical]) #splitter.is-collapsed-end #gripper{inset-block-start:auto;inset-block-end:var(--mod-splitview-vertical-gripper-reset,var(--spectrum-splitview-vertical-gripper-reset))}@media (forced-colors:active){:host{--highcontrast-splitview-handle-background-color:CanvasText;--highcontrast-splitview-handle-background-color-hover:CanvasText;--highcontrast-splitview-handle-background-color-down:CanvasText;--highcontrast-splitview-handle-background-color-focus:Highlight}}\n`;\nexport default styles;"],
|
5
|
+
"mappings": "aAWA,OAAS,OAAAA,MAAW,gCACpB,MAAMC,EAASD;AAAA;AAAA,EAGf,eAAeC",
|
6
6
|
"names": ["css", "styles"]
|
7
7
|
}
|
@@ -1,169 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
import { css } from "@spectrum-web-components/base";
|
3
3
|
const styles = css`
|
4
|
-
:host{--spectrum-splitview-vertical-width:100%;--spectrum-splitview-vertical-gripper-width:50%;--spectrum-splitview-vertical-gripper-outer-width:100%;--spectrum-splitview-vertical-gripper-reset:0;--spectrum-splitview-background-color:var(--spectrum-gray-100);--spectrum-splitview-handle-background-color:var(--spectrum-gray-300);--spectrum-splitview-handle-background-color-hover:var(
|
5
|
-
--spectrum-gray-400
|
6
|
-
);--spectrum-splitview-handle-background-color-down:var(--spectrum-gray-800);--spectrum-splitview-handle-background-color-focus:var(
|
7
|
-
--spectrum-focus-indicator-color
|
8
|
-
);--spectrum-splitview-handle-width:var(--spectrum-border-width-200);--spectrum-splitview-gripper-border-radius:var(
|
9
|
-
--spectrum-corner-radius-75
|
10
|
-
);--spectrum-splitview-gripper-width:var(--spectrum-border-width-400);--spectrum-splitview-gripper-height:16px;--spectrum-splitview-gripper-border-width-horizontal:3px;--spectrum-splitview-gripper-border-width-vertical:var(
|
11
|
-
--spectrum-border-width-400
|
12
|
-
);display:flex;overflow:hidden}::slotted(*){background-color:var(
|
13
|
-
--mod-splitview-background-color,var(--spectrum-splitview-background-color)
|
14
|
-
);block-size:100%}#gripper{block-size:var(
|
15
|
-
--mod-splitview-gripper-height,var(--spectrum-splitview-gripper-height)
|
16
|
-
);border-block-width:var(
|
17
|
-
--mod-splitview-gripper-border-width-vertical,var(--spectrum-splitview-gripper-border-width-vertical)
|
18
|
-
);border-color:var(
|
19
|
-
--highcontrast-splitview-handle-background-color,var(
|
20
|
-
--mod-splitview-handle-background-color,var(--spectrum-splitview-handle-background-color)
|
21
|
-
)
|
22
|
-
);border-inline-width:var(
|
23
|
-
--mod-splitview-gripper-border-width-horizontal,var(--spectrum-splitview-gripper-border-width-horizontal)
|
24
|
-
);border-radius:var(
|
25
|
-
--mod-splitview-gripper-border-radius,var(--spectrum-splitview-gripper-border-radius)
|
26
|
-
);border-style:solid;content:"";display:block;inline-size:var(
|
27
|
-
--mod-splitview-gripper-width,var(--spectrum-splitview-gripper-width)
|
28
|
-
);inset-block-start:50%;inset-inline-start:calc((var(
|
29
|
-
--mod-splitview-gripper-width,
|
30
|
-
var(--spectrum-splitview-gripper-width)
|
31
|
-
) + (2*var(--mod-splitview-gripper-border-width-vertical,
|
32
|
-
var(
|
33
|
-
--spectrum-splitview-gripper-border-width-vertical
|
34
|
-
))) - var(
|
35
|
-
--mod-splitview-gripper-width,
|
36
|
-
var(--spectrum-splitview-gripper-width)
|
37
|
-
))/2*-1);position:absolute;transform:translateY(-50%)}#gripper:before{background-color:var(
|
38
|
-
--highcontrast-splitview-handle-background-color,var(
|
39
|
-
--mod-splitview-handle-background-color,var(--spectrum-splitview-handle-background-color)
|
40
|
-
)
|
41
|
-
)}#splitter{background-color:var(
|
42
|
-
--highcontrast-splitview-handle-background-color,var(
|
43
|
-
--mod-splitview-handle-background-color,var(--spectrum-splitview-handle-background-color)
|
44
|
-
)
|
45
|
-
);block-size:100%;inline-size:var(
|
46
|
-
--mod-splitview-handle-width,var(--spectrum-splitview-handle-width)
|
47
|
-
);position:relative;-webkit-user-select:none;user-select:none;z-index:1}#splitter.is-collapsed-end #gripper:before,#splitter.is-collapsed-start #gripper:before{block-size:100%;content:"";inline-size:var(
|
48
|
-
--mod-splitview-handle-width,var(--spectrum-splitview-handle-width)
|
49
|
-
);inset-block-start:0;inset-inline-start:calc(50% - var(
|
50
|
-
--mod-splitview-handle-width,
|
51
|
-
var(--spectrum-splitview-handle-width)
|
52
|
-
)/2);position:absolute}#splitter.is-collapsed-start #gripper{inset-inline-start:0}#splitter.is-collapsed-end #gripper{inset-inline:auto 0}:host([resizable]) #splitter.is-hovered{background-color:var(
|
53
|
-
--highcontrast-splitview-handle-background-color-hover,var(
|
54
|
-
--mod-splitview-handle-background-color-hover,var(--spectrum-splitview-handle-background-color-hover)
|
55
|
-
)
|
56
|
-
)}:host([resizable]) #splitter.is-hovered #gripper{border-color:var(
|
57
|
-
--highcontrast-splitview-handle-background-color-hover,var(
|
58
|
-
--mod-splitview-handle-background-color-hover,var(--spectrum-splitview-handle-background-color-hover)
|
59
|
-
)
|
60
|
-
)}:host([resizable]) #splitter.is-hovered #gripper:before{background-color:var(
|
61
|
-
--highcontrast-splitview-handle-background-color-hover,var(
|
62
|
-
--mod-splitview-handle-background-color-hover,var(--spectrum-splitview-handle-background-color-hover)
|
63
|
-
)
|
64
|
-
)}@media (hover:hover){:host([resizable]) #splitter:hover{background-color:var(
|
65
|
-
--highcontrast-splitview-handle-background-color-hover,var(
|
66
|
-
--mod-splitview-handle-background-color-hover,var(--spectrum-splitview-handle-background-color-hover)
|
67
|
-
)
|
68
|
-
)}:host([resizable]) #splitter:hover #gripper{border-color:var(
|
69
|
-
--highcontrast-splitview-handle-background-color-hover,var(
|
70
|
-
--mod-splitview-handle-background-color-hover,var(--spectrum-splitview-handle-background-color-hover)
|
71
|
-
)
|
72
|
-
)}:host([resizable]) #splitter:hover #gripper:before{background-color:var(
|
73
|
-
--highcontrast-splitview-handle-background-color-hover,var(
|
74
|
-
--mod-splitview-handle-background-color-hover,var(--spectrum-splitview-handle-background-color-hover)
|
75
|
-
)
|
76
|
-
)}}:host([resizable]) #splitter.is-active,:host([resizable]) #splitter:active{background-color:var(
|
77
|
-
--highcontrast-splitview-handle-background-color-down,var(
|
78
|
-
--mod-splitview-handle-background-color-down,var(--spectrum-splitview-handle-background-color-down)
|
79
|
-
)
|
80
|
-
)}:host([resizable]) #splitter.is-active #gripper,:host([resizable]) #splitter:active #gripper{border-color:var(
|
81
|
-
--highcontrast-splitview-handle-background-color-down,var(
|
82
|
-
--mod-splitview-handle-background-color-down,var(--spectrum-splitview-handle-background-color-down)
|
83
|
-
)
|
84
|
-
)}:host([resizable]) #splitter.is-active #gripper:before,:host([resizable]) #splitter:active #gripper:before{background-color:var(
|
85
|
-
--highcontrast-splitview-handle-background-color-down,var(
|
86
|
-
--mod-splitview-handle-background-color-down,var(--spectrum-splitview-handle-background-color-down)
|
87
|
-
)
|
88
|
-
)}:host([resizable]) #splitter:focus{outline:none}:host([resizable]) #splitter.focus-visible{background-color:var(
|
89
|
-
--highcontrast-splitview-handle-background-color-focus,var(
|
90
|
-
--mod-splitview-handle-background-color-focus,var(--spectrum-splitview-handle-background-color-focus)
|
91
|
-
)
|
92
|
-
);outline:none}:host([resizable]) #splitter:focus-visible{background-color:var(
|
93
|
-
--highcontrast-splitview-handle-background-color-focus,var(
|
94
|
-
--mod-splitview-handle-background-color-focus,var(--spectrum-splitview-handle-background-color-focus)
|
95
|
-
)
|
96
|
-
);outline:none}:host([resizable]) #splitter.focus-visible #gripper{border-color:var(
|
97
|
-
--highcontrast-splitview-handle-background-color-focus,var(
|
98
|
-
--mod-splitview-handle-background-color-focus,var(--spectrum-splitview-handle-background-color-focus)
|
99
|
-
)
|
100
|
-
);box-shadow:0 0 0 1px var(
|
101
|
-
--highcontrast-splitview-handle-background-color-focus,var(
|
102
|
-
--mod-splitview-handle-background-color-focus,var(--spectrum-splitview-handle-background-color-focus)
|
103
|
-
)
|
104
|
-
)}:host([resizable]) #splitter:focus-visible #gripper{border-color:var(
|
105
|
-
--highcontrast-splitview-handle-background-color-focus,var(
|
106
|
-
--mod-splitview-handle-background-color-focus,var(--spectrum-splitview-handle-background-color-focus)
|
107
|
-
)
|
108
|
-
);box-shadow:0 0 0 1px var(
|
109
|
-
--highcontrast-splitview-handle-background-color-focus,var(
|
110
|
-
--mod-splitview-handle-background-color-focus,var(--spectrum-splitview-handle-background-color-focus)
|
111
|
-
)
|
112
|
-
)}:host([resizable]) #splitter.focus-visible #gripper:before{background-color:var(
|
113
|
-
--highcontrast-splitview-handle-background-color-focus,var(
|
114
|
-
--mod-splitview-handle-background-color-focus,var(--spectrum-splitview-handle-background-color-focus)
|
115
|
-
)
|
116
|
-
)}:host([resizable]) #splitter:focus-visible #gripper:before{background-color:var(
|
117
|
-
--highcontrast-splitview-handle-background-color-focus,var(
|
118
|
-
--mod-splitview-handle-background-color-focus,var(--spectrum-splitview-handle-background-color-focus)
|
119
|
-
)
|
120
|
-
)}:host([vertical]){flex-direction:column}:host([vertical]) ::slotted(*){block-size:auto;inline-size:var(
|
121
|
-
--mod-splitview-vertical-width,var(--spectrum-splitview-vertical-width)
|
122
|
-
)}:host([vertical]) #gripper{block-size:var(
|
123
|
-
--mod-splitview-gripper-width,var(--spectrum-splitview-gripper-width)
|
124
|
-
);border-block-width:var(
|
125
|
-
--mod-splitview-gripper-border-width-horizontal,var(--spectrum-splitview-gripper-border-width-horizontal)
|
126
|
-
);border-inline-width:var(
|
127
|
-
--mod-splitview-gripper-border-width-vertical,var(--spectrum-splitview-gripper-border-width-vertical)
|
128
|
-
);inline-size:var(
|
129
|
-
--mod-splitview-gripper-height,var(--spectrum-splitview-gripper-height)
|
130
|
-
);inset-block-start:calc((var(
|
131
|
-
--mod-splitview-gripper-width,
|
132
|
-
var(--spectrum-splitview-gripper-width)
|
133
|
-
) + (2*var(--mod-splitview-gripper-border-width-vertical,
|
134
|
-
var(
|
135
|
-
--spectrum-splitview-gripper-border-width-vertical
|
136
|
-
))) - var(
|
137
|
-
--mod-splitview-gripper-width,
|
138
|
-
var(--spectrum-splitview-gripper-width)
|
139
|
-
))/2*-1);inset-inline-start:var(
|
140
|
-
--mod-splitview-vertical-gripper-width,var(--spectrum-splitview-vertical-gripper-width)
|
141
|
-
);transform:translate(calc(var(
|
142
|
-
--mod-splitview-vertical-gripper-width,
|
143
|
-
var(--spectrum-splitview-vertical-gripper-width)
|
144
|
-
)*-1))}:host([vertical]) #splitter{block-size:var(
|
145
|
-
--mod-splitview-handle-width,var(--spectrum-splitview-handle-width)
|
146
|
-
);inline-size:var(
|
147
|
-
--mod-splitview-vertical-width,var(--spectrum-splitview-vertical-width)
|
148
|
-
)}:host([vertical]) #splitter.is-collapsed-end #gripper,:host([vertical]) #splitter.is-collapsed-start #gripper{inset-inline-start:var(
|
149
|
-
--mod-splitview-vertical-gripper-width,var(--spectrum-splitview-vertical-gripper-width)
|
150
|
-
)}:host([vertical]) #splitter.is-collapsed-end #gripper:before,:host([vertical]) #splitter.is-collapsed-start #gripper:before{block-size:var(
|
151
|
-
--mod-splitview-handle-width,var(--spectrum-splitview-handle-width)
|
152
|
-
);inline-size:var(
|
153
|
-
--mod-splitview-vertical-gripper-outer-width,var(--spectrum-splitview-vertical-gripper-outer-width)
|
154
|
-
);inset-block-start:calc(var(
|
155
|
-
--mod-splitview-vertical-gripper-width,
|
156
|
-
var(--spectrum-splitview-vertical-gripper-width)
|
157
|
-
) - var(
|
158
|
-
--mod-splitview-handle-width,
|
159
|
-
var(--spectrum-splitview-handle-width)
|
160
|
-
)/2);inset-inline-start:var(
|
161
|
-
--mod-splitview-vertical-gripper-reset,var(--spectrum-splitview-vertical-gripper-reset)
|
162
|
-
)}:host([vertical]) #splitter.is-collapsed-start #gripper{inset-block-start:var(
|
163
|
-
--mod-splitview-vertical-gripper-reset,var(--spectrum-splitview-vertical-gripper-reset)
|
164
|
-
)}:host([vertical]) #splitter.is-collapsed-end #gripper{inset-block-end:var(
|
165
|
-
--mod-splitview-vertical-gripper-reset,var(--spectrum-splitview-vertical-gripper-reset)
|
166
|
-
);inset-block-start:auto}@media (forced-colors:active){:host{--highcontrast-splitview-handle-background-color:CanvasText;--highcontrast-splitview-handle-background-color-hover:CanvasText;--highcontrast-splitview-handle-background-color-down:CanvasText;--highcontrast-splitview-handle-background-color-focus:Highlight}}:host{--spectrum-split-view-first-pane-size:50%}::slotted(*){overflow:auto}::slotted(:first-child){order:1}:host(:not([vertical])) ::slotted(:first-child:not(:last-child)){width:var(--spectrum-split-view-first-pane-size)}:host([vertical]) ::slotted(:first-child:not(:last-child)){height:var(--spectrum-split-view-first-pane-size)}::slotted(:nth-child(2)){flex:1;order:3}::slotted(:nth-child(n+3)){display:none}#gripper{touch-action:none}#splitter{height:auto;order:2}:host([resizable]) #splitter{background-clip:content-box;cursor:ew-resize}:host([vertical][resizable]) #splitter{background-clip:content-box;cursor:ns-resize}:host([resizable][dir=ltr]) #splitter.is-resized-start,:host([resizable][dir=rtl]) #splitter.is-resized-end{cursor:e-resize}:host([resizable][dir=ltr]) #splitter.is-resized-end,:host([resizable][dir=rtl]) #splitter.is-resized-start{cursor:w-resize}:host([vertical][resizable]) #splitter.is-resized-start{cursor:s-resize}:host([vertical][resizable]) #splitter.is-resized-end{cursor:n-resize}:host([resizable][collapsible]) #splitter.is-resized-end,:host([resizable][collapsible]) #splitter.is-resized-start{cursor:ew-resize}:host([resizable][dir=ltr][collapsible]) #splitter.is-collapsed-start,:host([resizable][dir=rtl][collapsible]) #splitter.is-collapsed-end{cursor:e-resize}:host([resizable][dir=ltr][collapsible]) #splitter.is-collapsed-end,:host([resizable][dir=rtl][collapsible]) #splitter.is-collapsed-start{cursor:w-resize}:host([vertical][resizable][collapsible]) #splitter.is-collapsed-start{cursor:s-resize}:host([vertical][resizable][collapsible]) #splitter.is-collapsed-end{cursor:n-resize}:host([vertical][resizable][collapsible]) #splitter.is-resized-end,:host([vertical][resizable][collapsible]) #splitter.is-resized-start{cursor:ns-resize}
|
4
|
+
:host{--spectrum-splitview-vertical-width:100%;--spectrum-splitview-vertical-gripper-width:50%;--spectrum-splitview-vertical-gripper-outer-width:100%;--spectrum-splitview-vertical-gripper-reset:0;--spectrum-splitview-background-color:var(--spectrum-gray-100);--spectrum-splitview-handle-background-color:var(--spectrum-gray-300);--spectrum-splitview-handle-background-color-hover:var(--spectrum-gray-400);--spectrum-splitview-handle-background-color-down:var(--spectrum-gray-800);--spectrum-splitview-handle-background-color-focus:var(--spectrum-focus-indicator-color);--spectrum-splitview-handle-width:var(--spectrum-border-width-200);--spectrum-splitview-gripper-border-radius:var(--spectrum-corner-radius-75);--spectrum-splitview-gripper-width:var(--spectrum-border-width-400);--spectrum-splitview-gripper-height:16px;--spectrum-splitview-gripper-border-width-horizontal:3px;--spectrum-splitview-gripper-border-width-vertical:var(--spectrum-border-width-400);display:flex;overflow:hidden}::slotted(*){background-color:var(--mod-splitview-background-color,var(--spectrum-splitview-background-color));block-size:100%}#gripper{content:"";border-radius:var(--mod-splitview-gripper-border-radius,var(--spectrum-splitview-gripper-border-radius));border-style:solid;border-color:var(--highcontrast-splitview-handle-background-color,var(--mod-splitview-handle-background-color,var(--spectrum-splitview-handle-background-color)));touch-action:none;inline-size:var(--mod-splitview-gripper-width,var(--spectrum-splitview-gripper-width));block-size:var(--mod-splitview-gripper-height,var(--spectrum-splitview-gripper-height));border-block-width:var(--mod-splitview-gripper-border-width-vertical,var(--spectrum-splitview-gripper-border-width-vertical));border-inline-width:var(--mod-splitview-gripper-border-width-horizontal,var(--spectrum-splitview-gripper-border-width-horizontal));display:block;position:absolute;inset-block-start:50%;inset-inline-start:calc(( var(--mod-splitview-gripper-width,var(--spectrum-splitview-gripper-width)) + ( 2*var(--mod-splitview-gripper-border-width-vertical,var(--spectrum-splitview-gripper-border-width-vertical))) - var(--mod-splitview-gripper-width,var(--spectrum-splitview-gripper-width)))/2*-1);transform:translateY(-50%)}#gripper:before{background-color:var(--highcontrast-splitview-handle-background-color,var(--mod-splitview-handle-background-color,var(--spectrum-splitview-handle-background-color)))}#splitter{background-color:var(--highcontrast-splitview-handle-background-color,var(--mod-splitview-handle-background-color,var(--spectrum-splitview-handle-background-color)));-webkit-user-select:none;user-select:none;inline-size:var(--mod-splitview-handle-width,var(--spectrum-splitview-handle-width));z-index:1;block-size:100%;position:relative}#splitter.is-collapsed-start #gripper:before,#splitter.is-collapsed-end #gripper:before{content:"";inline-size:var(--mod-splitview-handle-width,var(--spectrum-splitview-handle-width));block-size:100%;position:absolute;inset-block-start:0;inset-inline-start:calc(50% - var(--mod-splitview-handle-width,var(--spectrum-splitview-handle-width))/2)}#splitter.is-collapsed-start #gripper{inset-inline-start:0}#splitter.is-collapsed-end #gripper{inset-inline:auto 0}:host([resizable]) #splitter.is-hovered{background-color:var(--highcontrast-splitview-handle-background-color-hover,var(--mod-splitview-handle-background-color-hover,var(--spectrum-splitview-handle-background-color-hover)))}:host([resizable]) #splitter.is-hovered #gripper{border-color:var(--highcontrast-splitview-handle-background-color-hover,var(--mod-splitview-handle-background-color-hover,var(--spectrum-splitview-handle-background-color-hover)))}:host([resizable]) #splitter.is-hovered #gripper:before{background-color:var(--highcontrast-splitview-handle-background-color-hover,var(--mod-splitview-handle-background-color-hover,var(--spectrum-splitview-handle-background-color-hover)))}@media (hover:hover){:host([resizable]) #splitter:hover{background-color:var(--highcontrast-splitview-handle-background-color-hover,var(--mod-splitview-handle-background-color-hover,var(--spectrum-splitview-handle-background-color-hover)))}:host([resizable]) #splitter:hover #gripper{border-color:var(--highcontrast-splitview-handle-background-color-hover,var(--mod-splitview-handle-background-color-hover,var(--spectrum-splitview-handle-background-color-hover)))}:host([resizable]) #splitter:hover #gripper:before{background-color:var(--highcontrast-splitview-handle-background-color-hover,var(--mod-splitview-handle-background-color-hover,var(--spectrum-splitview-handle-background-color-hover)))}}:host([resizable]) #splitter:active,:host([resizable]) #splitter.is-active{background-color:var(--highcontrast-splitview-handle-background-color-down,var(--mod-splitview-handle-background-color-down,var(--spectrum-splitview-handle-background-color-down)))}:host([resizable]) #splitter:active #gripper,:host([resizable]) #splitter.is-active #gripper{border-color:var(--highcontrast-splitview-handle-background-color-down,var(--mod-splitview-handle-background-color-down,var(--spectrum-splitview-handle-background-color-down)))}:host([resizable]) #splitter:active #gripper:before,:host([resizable]) #splitter.is-active #gripper:before{background-color:var(--highcontrast-splitview-handle-background-color-down,var(--mod-splitview-handle-background-color-down,var(--spectrum-splitview-handle-background-color-down)))}:host([resizable]) #splitter:focus{outline:none}:host([resizable]) #splitter:focus-visible{background-color:var(--highcontrast-splitview-handle-background-color-focus,var(--mod-splitview-handle-background-color-focus,var(--spectrum-splitview-handle-background-color-focus)));outline:none}:host([resizable]) #splitter:focus-visible #gripper{border-color:var(--highcontrast-splitview-handle-background-color-focus,var(--mod-splitview-handle-background-color-focus,var(--spectrum-splitview-handle-background-color-focus)));box-shadow:0 0 0 1px var(--highcontrast-splitview-handle-background-color-focus,var(--mod-splitview-handle-background-color-focus,var(--spectrum-splitview-handle-background-color-focus)))}:host([resizable]) #splitter:focus-visible #gripper:before{background-color:var(--highcontrast-splitview-handle-background-color-focus,var(--mod-splitview-handle-background-color-focus,var(--spectrum-splitview-handle-background-color-focus)))}:host([vertical]){flex-direction:column}:host([vertical]) ::slotted(*){inline-size:var(--mod-splitview-vertical-width,var(--spectrum-splitview-vertical-width));block-size:auto}:host([vertical]) #gripper{transform:translate(calc(var(--mod-splitview-vertical-gripper-width,var(--spectrum-splitview-vertical-gripper-width))*-1),0);inline-size:var(--mod-splitview-gripper-height,var(--spectrum-splitview-gripper-height));block-size:var(--mod-splitview-gripper-width,var(--spectrum-splitview-gripper-width));border-block-width:var(--mod-splitview-gripper-border-width-horizontal,var(--spectrum-splitview-gripper-border-width-horizontal));border-inline-width:var(--mod-splitview-gripper-border-width-vertical,var(--spectrum-splitview-gripper-border-width-vertical));inset-block-start:calc(( var(--mod-splitview-gripper-width,var(--spectrum-splitview-gripper-width)) + ( 2*var(--mod-splitview-gripper-border-width-vertical,var(--spectrum-splitview-gripper-border-width-vertical))) - var(--mod-splitview-gripper-width,var(--spectrum-splitview-gripper-width)))/2*-1);inset-inline-start:var(--mod-splitview-vertical-gripper-width,var(--spectrum-splitview-vertical-gripper-width))}:host([vertical]) #splitter{inline-size:var(--mod-splitview-vertical-width,var(--spectrum-splitview-vertical-width));block-size:var(--mod-splitview-handle-width,var(--spectrum-splitview-handle-width))}:host([vertical]) #splitter.is-collapsed-start #gripper,:host([vertical]) #splitter.is-collapsed-end #gripper{inset-inline-start:var(--mod-splitview-vertical-gripper-width,var(--spectrum-splitview-vertical-gripper-width))}:host([vertical]) #splitter.is-collapsed-start #gripper:before,:host([vertical]) #splitter.is-collapsed-end #gripper:before{inline-size:var(--mod-splitview-vertical-gripper-outer-width,var(--spectrum-splitview-vertical-gripper-outer-width));block-size:var(--mod-splitview-handle-width,var(--spectrum-splitview-handle-width));inset-block-start:calc(var(--mod-splitview-vertical-gripper-width,var(--spectrum-splitview-vertical-gripper-width)) - var(--mod-splitview-handle-width,var(--spectrum-splitview-handle-width))/2);inset-inline-start:var(--mod-splitview-vertical-gripper-reset,var(--spectrum-splitview-vertical-gripper-reset))}:host([vertical]) #splitter.is-collapsed-start #gripper{inset-block-start:var(--mod-splitview-vertical-gripper-reset,var(--spectrum-splitview-vertical-gripper-reset))}:host([vertical]) #splitter.is-collapsed-end #gripper{inset-block-start:auto;inset-block-end:var(--mod-splitview-vertical-gripper-reset,var(--spectrum-splitview-vertical-gripper-reset))}@media (forced-colors:active){:host{--highcontrast-splitview-handle-background-color:CanvasText;--highcontrast-splitview-handle-background-color-hover:CanvasText;--highcontrast-splitview-handle-background-color-down:CanvasText;--highcontrast-splitview-handle-background-color-focus:Highlight}}:host{--spectrum-split-view-first-pane-size:50%}::slotted(*){overflow:auto}::slotted(:first-child){order:1}:host(:not([vertical])) ::slotted(:first-child:not(:last-child)){width:var(--spectrum-split-view-first-pane-size)}:host([vertical]) ::slotted(:first-child:not(:last-child)){height:var(--spectrum-split-view-first-pane-size)}::slotted(:nth-child(2)){flex:1;order:3}::slotted(:nth-child(n+3)){display:none}#gripper{touch-action:none}#splitter{order:2;height:auto}:host([resizable]) #splitter{cursor:ew-resize;background-clip:content-box}:host([vertical][resizable]) #splitter{cursor:ns-resize;background-clip:content-box}:host([resizable][dir=ltr]) #splitter.is-resized-start,:host([resizable][dir=rtl]) #splitter.is-resized-end{cursor:e-resize}:host([resizable][dir=ltr]) #splitter.is-resized-end,:host([resizable][dir=rtl]) #splitter.is-resized-start{cursor:w-resize}:host([vertical][resizable]) #splitter.is-resized-start{cursor:s-resize}:host([vertical][resizable]) #splitter.is-resized-end{cursor:n-resize}:host([resizable][collapsible]) #splitter.is-resized-start,:host([resizable][collapsible]) #splitter.is-resized-end{cursor:ew-resize}:host([resizable][dir=ltr][collapsible]) #splitter.is-collapsed-start,:host([resizable][dir=rtl][collapsible]) #splitter.is-collapsed-end{cursor:e-resize}:host([resizable][dir=ltr][collapsible]) #splitter.is-collapsed-end,:host([resizable][dir=rtl][collapsible]) #splitter.is-collapsed-start{cursor:w-resize}:host([vertical][resizable][collapsible]) #splitter.is-collapsed-start{cursor:s-resize}:host([vertical][resizable][collapsible]) #splitter.is-collapsed-end{cursor:n-resize}:host([vertical][resizable][collapsible]) #splitter.is-resized-start,:host([vertical][resizable][collapsible]) #splitter.is-resized-end{cursor:ns-resize}
|
167
5
|
`;
|
168
6
|
export default styles;
|
169
7
|
//# sourceMappingURL=split-view.css.dev.js.map
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["split-view.css.ts"],
|
4
|
-
"sourcesContent": ["/*\nCopyright 2024 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\nimport { css } from '@spectrum-web-components/base';\nconst styles = css`\n:host{--spectrum-splitview-vertical-width:100%;--spectrum-splitview-vertical-gripper-width:50%;--spectrum-splitview-vertical-gripper-outer-width:100%;--spectrum-splitview-vertical-gripper-reset:0;--spectrum-splitview-background-color:var(--spectrum-gray-100);--spectrum-splitview-handle-background-color:var(--spectrum-gray-300);--spectrum-splitview-handle-background-color-hover:var(\n--spectrum-gray-400\n);--spectrum-splitview-handle-background-color-down:var(--spectrum-gray-800);--spectrum-splitview-handle-background-color-focus:var(\n--spectrum-focus-indicator-color\n);--spectrum-splitview-handle-width:var(--spectrum-border-width-200);--spectrum-splitview-gripper-border-radius:var(\n--spectrum-corner-radius-75\n);--spectrum-splitview-gripper-width:var(--spectrum-border-width-400);--spectrum-splitview-gripper-height:16px;--spectrum-splitview-gripper-border-width-horizontal:3px;--spectrum-splitview-gripper-border-width-vertical:var(\n--spectrum-border-width-400\n);display:flex;overflow:hidden}::slotted(*){background-color:var(\n--mod-splitview-background-color,var(--spectrum-splitview-background-color)\n);block-size:100%}#gripper{block-size:var(\n--mod-splitview-gripper-height,var(--spectrum-splitview-gripper-height)\n);border-block-width:var(\n--mod-splitview-gripper-border-width-vertical,var(--spectrum-splitview-gripper-border-width-vertical)\n);border-color:var(\n--highcontrast-splitview-handle-background-color,var(\n--mod-splitview-handle-background-color,var(--spectrum-splitview-handle-background-color)\n)\n);border-inline-width:var(\n--mod-splitview-gripper-border-width-horizontal,var(--spectrum-splitview-gripper-border-width-horizontal)\n);border-radius:var(\n--mod-splitview-gripper-border-radius,var(--spectrum-splitview-gripper-border-radius)\n);border-style:solid;content:\"\";display:block;inline-size:var(\n--mod-splitview-gripper-width,var(--spectrum-splitview-gripper-width)\n);inset-block-start:50%;inset-inline-start:calc((var(\n--mod-splitview-gripper-width,\nvar(--spectrum-splitview-gripper-width)\n) + (2*var(--mod-splitview-gripper-border-width-vertical,\nvar(\n--spectrum-splitview-gripper-border-width-vertical\n))) - var(\n--mod-splitview-gripper-width,\nvar(--spectrum-splitview-gripper-width)\n))/2*-1);position:absolute;transform:translateY(-50%)}#gripper:before{background-color:var(\n--highcontrast-splitview-handle-background-color,var(\n--mod-splitview-handle-background-color,var(--spectrum-splitview-handle-background-color)\n)\n)}#splitter{background-color:var(\n--highcontrast-splitview-handle-background-color,var(\n--mod-splitview-handle-background-color,var(--spectrum-splitview-handle-background-color)\n)\n);block-size:100%;inline-size:var(\n--mod-splitview-handle-width,var(--spectrum-splitview-handle-width)\n);position:relative;-webkit-user-select:none;user-select:none;z-index:1}#splitter.is-collapsed-end #gripper:before,#splitter.is-collapsed-start #gripper:before{block-size:100%;content:\"\";inline-size:var(\n--mod-splitview-handle-width,var(--spectrum-splitview-handle-width)\n);inset-block-start:0;inset-inline-start:calc(50% - var(\n--mod-splitview-handle-width,\nvar(--spectrum-splitview-handle-width)\n)/2);position:absolute}#splitter.is-collapsed-start #gripper{inset-inline-start:0}#splitter.is-collapsed-end #gripper{inset-inline:auto 0}:host([resizable]) #splitter.is-hovered{background-color:var(\n--highcontrast-splitview-handle-background-color-hover,var(\n--mod-splitview-handle-background-color-hover,var(--spectrum-splitview-handle-background-color-hover)\n)\n)}:host([resizable]) #splitter.is-hovered #gripper{border-color:var(\n--highcontrast-splitview-handle-background-color-hover,var(\n--mod-splitview-handle-background-color-hover,var(--spectrum-splitview-handle-background-color-hover)\n)\n)}:host([resizable]) #splitter.is-hovered #gripper:before{background-color:var(\n--highcontrast-splitview-handle-background-color-hover,var(\n--mod-splitview-handle-background-color-hover,var(--spectrum-splitview-handle-background-color-hover)\n)\n)}@media (hover:hover){:host([resizable]) #splitter:hover{background-color:var(\n--highcontrast-splitview-handle-background-color-hover,var(\n--mod-splitview-handle-background-color-hover,var(--spectrum-splitview-handle-background-color-hover)\n)\n)}:host([resizable]) #splitter:hover #gripper{border-color:var(\n--highcontrast-splitview-handle-background-color-hover,var(\n--mod-splitview-handle-background-color-hover,var(--spectrum-splitview-handle-background-color-hover)\n)\n)}:host([resizable]) #splitter:hover #gripper:before{background-color:var(\n--highcontrast-splitview-handle-background-color-hover,var(\n--mod-splitview-handle-background-color-hover,var(--spectrum-splitview-handle-background-color-hover)\n)\n)}}:host([resizable]) #splitter.is-active,:host([resizable]) #splitter:active{background-color:var(\n--highcontrast-splitview-handle-background-color-down,var(\n--mod-splitview-handle-background-color-down,var(--spectrum-splitview-handle-background-color-down)\n)\n)}:host([resizable]) #splitter.is-active #gripper,:host([resizable]) #splitter:active #gripper{border-color:var(\n--highcontrast-splitview-handle-background-color-down,var(\n--mod-splitview-handle-background-color-down,var(--spectrum-splitview-handle-background-color-down)\n)\n)}:host([resizable]) #splitter.is-active #gripper:before,:host([resizable]) #splitter:active #gripper:before{background-color:var(\n--highcontrast-splitview-handle-background-color-down,var(\n--mod-splitview-handle-background-color-down,var(--spectrum-splitview-handle-background-color-down)\n)\n)}:host([resizable]) #splitter:focus{outline:none}:host([resizable]) #splitter.focus-visible{background-color:var(\n--highcontrast-splitview-handle-background-color-focus,var(\n--mod-splitview-handle-background-color-focus,var(--spectrum-splitview-handle-background-color-focus)\n)\n);outline:none}:host([resizable]) #splitter:focus-visible{background-color:var(\n--highcontrast-splitview-handle-background-color-focus,var(\n--mod-splitview-handle-background-color-focus,var(--spectrum-splitview-handle-background-color-focus)\n)\n);outline:none}:host([resizable]) #splitter.focus-visible #gripper{border-color:var(\n--highcontrast-splitview-handle-background-color-focus,var(\n--mod-splitview-handle-background-color-focus,var(--spectrum-splitview-handle-background-color-focus)\n)\n);box-shadow:0 0 0 1px var(\n--highcontrast-splitview-handle-background-color-focus,var(\n--mod-splitview-handle-background-color-focus,var(--spectrum-splitview-handle-background-color-focus)\n)\n)}:host([resizable]) #splitter:focus-visible #gripper{border-color:var(\n--highcontrast-splitview-handle-background-color-focus,var(\n--mod-splitview-handle-background-color-focus,var(--spectrum-splitview-handle-background-color-focus)\n)\n);box-shadow:0 0 0 1px var(\n--highcontrast-splitview-handle-background-color-focus,var(\n--mod-splitview-handle-background-color-focus,var(--spectrum-splitview-handle-background-color-focus)\n)\n)}:host([resizable]) #splitter.focus-visible #gripper:before{background-color:var(\n--highcontrast-splitview-handle-background-color-focus,var(\n--mod-splitview-handle-background-color-focus,var(--spectrum-splitview-handle-background-color-focus)\n)\n)}:host([resizable]) #splitter:focus-visible #gripper:before{background-color:var(\n--highcontrast-splitview-handle-background-color-focus,var(\n--mod-splitview-handle-background-color-focus,var(--spectrum-splitview-handle-background-color-focus)\n)\n)}:host([vertical]){flex-direction:column}:host([vertical]) ::slotted(*){block-size:auto;inline-size:var(\n--mod-splitview-vertical-width,var(--spectrum-splitview-vertical-width)\n)}:host([vertical]) #gripper{block-size:var(\n--mod-splitview-gripper-width,var(--spectrum-splitview-gripper-width)\n);border-block-width:var(\n--mod-splitview-gripper-border-width-horizontal,var(--spectrum-splitview-gripper-border-width-horizontal)\n);border-inline-width:var(\n--mod-splitview-gripper-border-width-vertical,var(--spectrum-splitview-gripper-border-width-vertical)\n);inline-size:var(\n--mod-splitview-gripper-height,var(--spectrum-splitview-gripper-height)\n);inset-block-start:calc((var(\n--mod-splitview-gripper-width,\nvar(--spectrum-splitview-gripper-width)\n) + (2*var(--mod-splitview-gripper-border-width-vertical,\nvar(\n--spectrum-splitview-gripper-border-width-vertical\n))) - var(\n--mod-splitview-gripper-width,\nvar(--spectrum-splitview-gripper-width)\n))/2*-1);inset-inline-start:var(\n--mod-splitview-vertical-gripper-width,var(--spectrum-splitview-vertical-gripper-width)\n);transform:translate(calc(var(\n--mod-splitview-vertical-gripper-width,\nvar(--spectrum-splitview-vertical-gripper-width)\n)*-1))}:host([vertical]) #splitter{block-size:var(\n--mod-splitview-handle-width,var(--spectrum-splitview-handle-width)\n);inline-size:var(\n--mod-splitview-vertical-width,var(--spectrum-splitview-vertical-width)\n)}:host([vertical]) #splitter.is-collapsed-end #gripper,:host([vertical]) #splitter.is-collapsed-start #gripper{inset-inline-start:var(\n--mod-splitview-vertical-gripper-width,var(--spectrum-splitview-vertical-gripper-width)\n)}:host([vertical]) #splitter.is-collapsed-end #gripper:before,:host([vertical]) #splitter.is-collapsed-start #gripper:before{block-size:var(\n--mod-splitview-handle-width,var(--spectrum-splitview-handle-width)\n);inline-size:var(\n--mod-splitview-vertical-gripper-outer-width,var(--spectrum-splitview-vertical-gripper-outer-width)\n);inset-block-start:calc(var(\n--mod-splitview-vertical-gripper-width,\nvar(--spectrum-splitview-vertical-gripper-width)\n) - var(\n--mod-splitview-handle-width,\nvar(--spectrum-splitview-handle-width)\n)/2);inset-inline-start:var(\n--mod-splitview-vertical-gripper-reset,var(--spectrum-splitview-vertical-gripper-reset)\n)}:host([vertical]) #splitter.is-collapsed-start #gripper{inset-block-start:var(\n--mod-splitview-vertical-gripper-reset,var(--spectrum-splitview-vertical-gripper-reset)\n)}:host([vertical]) #splitter.is-collapsed-end #gripper{inset-block-end:var(\n--mod-splitview-vertical-gripper-reset,var(--spectrum-splitview-vertical-gripper-reset)\n);inset-block-start:auto}@media (forced-colors:active){:host{--highcontrast-splitview-handle-background-color:CanvasText;--highcontrast-splitview-handle-background-color-hover:CanvasText;--highcontrast-splitview-handle-background-color-down:CanvasText;--highcontrast-splitview-handle-background-color-focus:Highlight}}:host{--spectrum-split-view-first-pane-size:50%}::slotted(*){overflow:auto}::slotted(:first-child){order:1}:host(:not([vertical])) ::slotted(:first-child:not(:last-child)){width:var(--spectrum-split-view-first-pane-size)}:host([vertical]) ::slotted(:first-child:not(:last-child)){height:var(--spectrum-split-view-first-pane-size)}::slotted(:nth-child(2)){flex:1;order:3}::slotted(:nth-child(n+3)){display:none}#gripper{touch-action:none}#splitter{height:auto;order:2}:host([resizable]) #splitter{background-clip:content-box;cursor:ew-resize}:host([vertical][resizable]) #splitter{background-clip:content-box;cursor:ns-resize}:host([resizable][dir=ltr]) #splitter.is-resized-start,:host([resizable][dir=rtl]) #splitter.is-resized-end{cursor:e-resize}:host([resizable][dir=ltr]) #splitter.is-resized-end,:host([resizable][dir=rtl]) #splitter.is-resized-start{cursor:w-resize}:host([vertical][resizable]) #splitter.is-resized-start{cursor:s-resize}:host([vertical][resizable]) #splitter.is-resized-end{cursor:n-resize}:host([resizable][collapsible]) #splitter.is-resized-end,:host([resizable][collapsible]) #splitter.is-resized-start{cursor:ew-resize}:host([resizable][dir=ltr][collapsible]) #splitter.is-collapsed-start,:host([resizable][dir=rtl][collapsible]) #splitter.is-collapsed-end{cursor:e-resize}:host([resizable][dir=ltr][collapsible]) #splitter.is-collapsed-end,:host([resizable][dir=rtl][collapsible]) #splitter.is-collapsed-start{cursor:w-resize}:host([vertical][resizable][collapsible]) #splitter.is-collapsed-start{cursor:s-resize}:host([vertical][resizable][collapsible]) #splitter.is-collapsed-end{cursor:n-resize}:host([vertical][resizable][collapsible]) #splitter.is-resized-end,:host([vertical][resizable][collapsible]) #splitter.is-resized-start{cursor:ns-resize}\n`;\nexport default styles;"],
|
5
|
-
"mappings": ";AAWA,SAAS,WAAW;AACpB,MAAM,SAAS;AAAA;AAAA;
|
4
|
+
"sourcesContent": ["/*\nCopyright 2024 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\nimport { css } from '@spectrum-web-components/base';\nconst styles = css`\n :host{--spectrum-splitview-vertical-width:100%;--spectrum-splitview-vertical-gripper-width:50%;--spectrum-splitview-vertical-gripper-outer-width:100%;--spectrum-splitview-vertical-gripper-reset:0;--spectrum-splitview-background-color:var(--spectrum-gray-100);--spectrum-splitview-handle-background-color:var(--spectrum-gray-300);--spectrum-splitview-handle-background-color-hover:var(--spectrum-gray-400);--spectrum-splitview-handle-background-color-down:var(--spectrum-gray-800);--spectrum-splitview-handle-background-color-focus:var(--spectrum-focus-indicator-color);--spectrum-splitview-handle-width:var(--spectrum-border-width-200);--spectrum-splitview-gripper-border-radius:var(--spectrum-corner-radius-75);--spectrum-splitview-gripper-width:var(--spectrum-border-width-400);--spectrum-splitview-gripper-height:16px;--spectrum-splitview-gripper-border-width-horizontal:3px;--spectrum-splitview-gripper-border-width-vertical:var(--spectrum-border-width-400);display:flex;overflow:hidden}::slotted(*){background-color:var(--mod-splitview-background-color,var(--spectrum-splitview-background-color));block-size:100%}#gripper{content:\"\";border-radius:var(--mod-splitview-gripper-border-radius,var(--spectrum-splitview-gripper-border-radius));border-style:solid;border-color:var(--highcontrast-splitview-handle-background-color,var(--mod-splitview-handle-background-color,var(--spectrum-splitview-handle-background-color)));touch-action:none;inline-size:var(--mod-splitview-gripper-width,var(--spectrum-splitview-gripper-width));block-size:var(--mod-splitview-gripper-height,var(--spectrum-splitview-gripper-height));border-block-width:var(--mod-splitview-gripper-border-width-vertical,var(--spectrum-splitview-gripper-border-width-vertical));border-inline-width:var(--mod-splitview-gripper-border-width-horizontal,var(--spectrum-splitview-gripper-border-width-horizontal));display:block;position:absolute;inset-block-start:50%;inset-inline-start:calc(( var(--mod-splitview-gripper-width,var(--spectrum-splitview-gripper-width)) + ( 2*var(--mod-splitview-gripper-border-width-vertical,var(--spectrum-splitview-gripper-border-width-vertical))) - var(--mod-splitview-gripper-width,var(--spectrum-splitview-gripper-width)))/2*-1);transform:translateY(-50%)}#gripper:before{background-color:var(--highcontrast-splitview-handle-background-color,var(--mod-splitview-handle-background-color,var(--spectrum-splitview-handle-background-color)))}#splitter{background-color:var(--highcontrast-splitview-handle-background-color,var(--mod-splitview-handle-background-color,var(--spectrum-splitview-handle-background-color)));-webkit-user-select:none;user-select:none;inline-size:var(--mod-splitview-handle-width,var(--spectrum-splitview-handle-width));z-index:1;block-size:100%;position:relative}#splitter.is-collapsed-start #gripper:before,#splitter.is-collapsed-end #gripper:before{content:\"\";inline-size:var(--mod-splitview-handle-width,var(--spectrum-splitview-handle-width));block-size:100%;position:absolute;inset-block-start:0;inset-inline-start:calc(50% - var(--mod-splitview-handle-width,var(--spectrum-splitview-handle-width))/2)}#splitter.is-collapsed-start #gripper{inset-inline-start:0}#splitter.is-collapsed-end #gripper{inset-inline:auto 0}:host([resizable]) #splitter.is-hovered{background-color:var(--highcontrast-splitview-handle-background-color-hover,var(--mod-splitview-handle-background-color-hover,var(--spectrum-splitview-handle-background-color-hover)))}:host([resizable]) #splitter.is-hovered #gripper{border-color:var(--highcontrast-splitview-handle-background-color-hover,var(--mod-splitview-handle-background-color-hover,var(--spectrum-splitview-handle-background-color-hover)))}:host([resizable]) #splitter.is-hovered #gripper:before{background-color:var(--highcontrast-splitview-handle-background-color-hover,var(--mod-splitview-handle-background-color-hover,var(--spectrum-splitview-handle-background-color-hover)))}@media (hover:hover){:host([resizable]) #splitter:hover{background-color:var(--highcontrast-splitview-handle-background-color-hover,var(--mod-splitview-handle-background-color-hover,var(--spectrum-splitview-handle-background-color-hover)))}:host([resizable]) #splitter:hover #gripper{border-color:var(--highcontrast-splitview-handle-background-color-hover,var(--mod-splitview-handle-background-color-hover,var(--spectrum-splitview-handle-background-color-hover)))}:host([resizable]) #splitter:hover #gripper:before{background-color:var(--highcontrast-splitview-handle-background-color-hover,var(--mod-splitview-handle-background-color-hover,var(--spectrum-splitview-handle-background-color-hover)))}}:host([resizable]) #splitter:active,:host([resizable]) #splitter.is-active{background-color:var(--highcontrast-splitview-handle-background-color-down,var(--mod-splitview-handle-background-color-down,var(--spectrum-splitview-handle-background-color-down)))}:host([resizable]) #splitter:active #gripper,:host([resizable]) #splitter.is-active #gripper{border-color:var(--highcontrast-splitview-handle-background-color-down,var(--mod-splitview-handle-background-color-down,var(--spectrum-splitview-handle-background-color-down)))}:host([resizable]) #splitter:active #gripper:before,:host([resizable]) #splitter.is-active #gripper:before{background-color:var(--highcontrast-splitview-handle-background-color-down,var(--mod-splitview-handle-background-color-down,var(--spectrum-splitview-handle-background-color-down)))}:host([resizable]) #splitter:focus{outline:none}:host([resizable]) #splitter:focus-visible{background-color:var(--highcontrast-splitview-handle-background-color-focus,var(--mod-splitview-handle-background-color-focus,var(--spectrum-splitview-handle-background-color-focus)));outline:none}:host([resizable]) #splitter:focus-visible #gripper{border-color:var(--highcontrast-splitview-handle-background-color-focus,var(--mod-splitview-handle-background-color-focus,var(--spectrum-splitview-handle-background-color-focus)));box-shadow:0 0 0 1px var(--highcontrast-splitview-handle-background-color-focus,var(--mod-splitview-handle-background-color-focus,var(--spectrum-splitview-handle-background-color-focus)))}:host([resizable]) #splitter:focus-visible #gripper:before{background-color:var(--highcontrast-splitview-handle-background-color-focus,var(--mod-splitview-handle-background-color-focus,var(--spectrum-splitview-handle-background-color-focus)))}:host([vertical]){flex-direction:column}:host([vertical]) ::slotted(*){inline-size:var(--mod-splitview-vertical-width,var(--spectrum-splitview-vertical-width));block-size:auto}:host([vertical]) #gripper{transform:translate(calc(var(--mod-splitview-vertical-gripper-width,var(--spectrum-splitview-vertical-gripper-width))*-1),0);inline-size:var(--mod-splitview-gripper-height,var(--spectrum-splitview-gripper-height));block-size:var(--mod-splitview-gripper-width,var(--spectrum-splitview-gripper-width));border-block-width:var(--mod-splitview-gripper-border-width-horizontal,var(--spectrum-splitview-gripper-border-width-horizontal));border-inline-width:var(--mod-splitview-gripper-border-width-vertical,var(--spectrum-splitview-gripper-border-width-vertical));inset-block-start:calc(( var(--mod-splitview-gripper-width,var(--spectrum-splitview-gripper-width)) + ( 2*var(--mod-splitview-gripper-border-width-vertical,var(--spectrum-splitview-gripper-border-width-vertical))) - var(--mod-splitview-gripper-width,var(--spectrum-splitview-gripper-width)))/2*-1);inset-inline-start:var(--mod-splitview-vertical-gripper-width,var(--spectrum-splitview-vertical-gripper-width))}:host([vertical]) #splitter{inline-size:var(--mod-splitview-vertical-width,var(--spectrum-splitview-vertical-width));block-size:var(--mod-splitview-handle-width,var(--spectrum-splitview-handle-width))}:host([vertical]) #splitter.is-collapsed-start #gripper,:host([vertical]) #splitter.is-collapsed-end #gripper{inset-inline-start:var(--mod-splitview-vertical-gripper-width,var(--spectrum-splitview-vertical-gripper-width))}:host([vertical]) #splitter.is-collapsed-start #gripper:before,:host([vertical]) #splitter.is-collapsed-end #gripper:before{inline-size:var(--mod-splitview-vertical-gripper-outer-width,var(--spectrum-splitview-vertical-gripper-outer-width));block-size:var(--mod-splitview-handle-width,var(--spectrum-splitview-handle-width));inset-block-start:calc(var(--mod-splitview-vertical-gripper-width,var(--spectrum-splitview-vertical-gripper-width)) - var(--mod-splitview-handle-width,var(--spectrum-splitview-handle-width))/2);inset-inline-start:var(--mod-splitview-vertical-gripper-reset,var(--spectrum-splitview-vertical-gripper-reset))}:host([vertical]) #splitter.is-collapsed-start #gripper{inset-block-start:var(--mod-splitview-vertical-gripper-reset,var(--spectrum-splitview-vertical-gripper-reset))}:host([vertical]) #splitter.is-collapsed-end #gripper{inset-block-start:auto;inset-block-end:var(--mod-splitview-vertical-gripper-reset,var(--spectrum-splitview-vertical-gripper-reset))}@media (forced-colors:active){:host{--highcontrast-splitview-handle-background-color:CanvasText;--highcontrast-splitview-handle-background-color-hover:CanvasText;--highcontrast-splitview-handle-background-color-down:CanvasText;--highcontrast-splitview-handle-background-color-focus:Highlight}}:host{--spectrum-split-view-first-pane-size:50%}::slotted(*){overflow:auto}::slotted(:first-child){order:1}:host(:not([vertical])) ::slotted(:first-child:not(:last-child)){width:var(--spectrum-split-view-first-pane-size)}:host([vertical]) ::slotted(:first-child:not(:last-child)){height:var(--spectrum-split-view-first-pane-size)}::slotted(:nth-child(2)){flex:1;order:3}::slotted(:nth-child(n+3)){display:none}#gripper{touch-action:none}#splitter{order:2;height:auto}:host([resizable]) #splitter{cursor:ew-resize;background-clip:content-box}:host([vertical][resizable]) #splitter{cursor:ns-resize;background-clip:content-box}:host([resizable][dir=ltr]) #splitter.is-resized-start,:host([resizable][dir=rtl]) #splitter.is-resized-end{cursor:e-resize}:host([resizable][dir=ltr]) #splitter.is-resized-end,:host([resizable][dir=rtl]) #splitter.is-resized-start{cursor:w-resize}:host([vertical][resizable]) #splitter.is-resized-start{cursor:s-resize}:host([vertical][resizable]) #splitter.is-resized-end{cursor:n-resize}:host([resizable][collapsible]) #splitter.is-resized-start,:host([resizable][collapsible]) #splitter.is-resized-end{cursor:ew-resize}:host([resizable][dir=ltr][collapsible]) #splitter.is-collapsed-start,:host([resizable][dir=rtl][collapsible]) #splitter.is-collapsed-end{cursor:e-resize}:host([resizable][dir=ltr][collapsible]) #splitter.is-collapsed-end,:host([resizable][dir=rtl][collapsible]) #splitter.is-collapsed-start{cursor:w-resize}:host([vertical][resizable][collapsible]) #splitter.is-collapsed-start{cursor:s-resize}:host([vertical][resizable][collapsible]) #splitter.is-collapsed-end{cursor:n-resize}:host([vertical][resizable][collapsible]) #splitter.is-resized-start,:host([vertical][resizable][collapsible]) #splitter.is-resized-end{cursor:ns-resize}\n`;\nexport default styles;"],
|
5
|
+
"mappings": ";AAWA,SAAS,WAAW;AACpB,MAAM,SAAS;AAAA;AAAA;AAGf,eAAe;",
|
6
6
|
"names": []
|
7
7
|
}
|