@esri/solutions-components 0.7.12-alpha → 0.7.13
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +4 -1
- package/guides/Publishing to npmjs.md +3 -10
- package/lerna.json +6 -0
- package/package.json +5 -3
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/accordion/accordion.css +77 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/accordion-item/accordion-item.css +263 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/action/action.css +338 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/action-bar/action-bar.css +105 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/action-group/action-group.css +113 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/action-menu/action-menu.css +73 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/action-pad/action-pad.css +113 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/alert/alert.css +421 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/avatar/avatar.css +81 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/block/block.css +298 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/block-section/block-section.css +145 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/button/button.css +802 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/card/card.css +183 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/checkbox/checkbox.css +167 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/chip/chip.css +385 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/chip-group/chip-group.css +74 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/color-picker/color-picker.css +244 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +66 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/color-picker-swatch/color-picker-swatch.css +74 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/combobox/combobox.css +425 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/combobox-item/combobox-item.css +209 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/combobox-item-group/combobox-item-group.css +101 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/date-picker/date-picker.css +72 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/date-picker-day/date-picker-day.css +290 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month/date-picker-month.css +95 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month-header/date-picker-month-header.css +189 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/dropdown/dropdown.css +136 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/dropdown-group/dropdown-group.css +84 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/dropdown-item/dropdown-item.css +278 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/fab/fab.css +72 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/filter/filter.css +136 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/flow/flow.css +98 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/flow-item/flow-item.css +89 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/graph/graph.css +51 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/handle/handle.css +99 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/icon/icon.css +73 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/inline-editable/inline-editable.css +89 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/input/input.css +630 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/input-date-picker/input-date-picker.css +267 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/input-message/input-message.css +109 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/input-number/input-number.css +484 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/input-text/input-text.css +397 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/input-time-picker/input-time-picker.css +99 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/input-time-zone/input-time-zone.css +67 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/label/label.css +134 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/link/link.css +148 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/list/list.css +122 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/list-item/list-item.css +244 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/list-item-group/list-item-group.css +88 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/loader/loader.css +298 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/menu/menu.css +50 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/menu-item/menu-item.css +281 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/meter/meter.css +183 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/modal/modal.css +529 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/navigation/navigation.css +142 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/navigation-logo/navigation-logo.css +136 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/navigation-user/navigation-user.css +112 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/notice/notice.css +289 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/option/option.css +36 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/option-group/option-group.css +36 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/pagination/pagination.css +138 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/panel/panel.css +227 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/pick-list/pick-list.css +92 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/pick-list-group/pick-list-group.css +83 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/pick-list-item/pick-list-item.css +179 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/popover/popover.css +194 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/progress/progress.css +110 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/radio-button/radio-button.css +164 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/radio-button-group/radio-button-group.css +58 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/rating/rating.css +178 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/scrim/scrim.css +76 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/segmented-control/segmented-control.css +95 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/segmented-control-item/segmented-control-item.css +172 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/select/select.css +218 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/sheet/sheet.css +267 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/shell/shell.css +184 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/shell-center-row/shell-center-row.css +124 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/shell-panel/shell-panel.css +360 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/slider/slider.css +388 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/sortable-list/sortable-list.css +68 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/split-button/split-button.css +184 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/stack/stack.css +118 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/stepper/stepper.css +147 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/stepper-item/stepper-item.css +457 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/switch/switch.css +189 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/tab/tab.css +75 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/tab-nav/tab-nav.css +122 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/tab-title/tab-title.css +348 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/table/table.css +143 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/table-cell/table-cell.css +133 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/table-header/table-header.css +130 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/table-row/table-row.css +74 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/tabs/tabs.css +102 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/text-area/text-area.css +288 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/tile/tile.css +170 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/tile-select/tile-select.css +156 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/tile-select-group/tile-select-group.css +64 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/time-picker/time-picker.css +144 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/tip/tip.css +151 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/tip-group/tip-group.css +47 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/tip-manager/tip-manager.css +194 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/tooltip/tooltip.css +120 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/tree/tree.css +41 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/tree-item/tree-item.css +315 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/value-list/value-list.css +105 -0
- package/packages/node_modules/@esri/calcite-components/dist/collection/components/value-list-item/value-list-item.css +121 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-control-panel/instant-apps-control-panel.css +3 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-export/instant-apps-export.css +81 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-filter-list/instant-apps-filter-list.css +104 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-header/instant-apps-header.css +165 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-classic/instant-apps-interactive-legend-classic.css +124 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-count/instant-apps-interactive-legend-count.css +18 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-group-legend-element/instant-apps-interactive-legend-group-legend-element.css +10 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-group-legend-element-caption/instant-apps-interactive-legend-group-legend-element-caption.css +65 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-layer-element/instant-apps-interactive-legend-layer-element.css +17 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-layer-element-caption/instant-apps-interactive-legend-layer-element-caption.css +66 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-legend-element/instant-apps-interactive-legend-legend-element.css +10 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-legend-element-caption/instant-apps-interactive-legend-legend-element-caption.css +51 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend-relationship/instant-apps-interactive-legend-relationship.css +15 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-interactive-legend/instant-apps-interactive-legend.css +12 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-keyboard-shortcuts/instant-apps-keyboard-shortcuts.css +33 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-landing-page/instant-apps-landing-page.css +222 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-switcher/instant-apps-language-switcher.css +13 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-ckeditor-wrapper/instant-apps-ckeditor-wrapper.css +3 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-language-translator-item/instant-apps-language-translator-item.css +83 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-language-translator-search/instant-apps-language-translator-search.css +34 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-language-translator/instant-apps-language-translator.css +86 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-measurement/instant-apps-measurement-tool/instant-apps-measurement-tool.css +6 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-measurement/instant-apps-measurement.css +6 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-popover/instant-apps-popover.css +58 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-popovers/instant-apps-popovers.css +3 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-scoreboard/instant-apps-scoreboard.css +200 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-social-share/instant-apps-social-share.css +273 -0
- package/packages/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-splash/instant-apps-splash.css +10 -0
- package/packages/solutions-components/dist/solutions-components_commit.txt +4 -4
- package/packages/solutions-components/package.json +108 -108
- package/packages/solutions-components/src/components/json-editor/assets/monaco-editor/package.json +63 -63
- package/support/publish.sh +49 -0
- package/t9nmanifest.txt +6 -6
- package/support/releaseToGitHub.ts +0 -29
@@ -0,0 +1,124 @@
|
|
1
|
+
/**
|
2
|
+
* Do not edit directly
|
3
|
+
* Generated on Sat, 02 Dec 2023 04:05:27 GMT
|
4
|
+
*/
|
5
|
+
/**
|
6
|
+
* Do not edit directly
|
7
|
+
* Generated on Sat, 02 Dec 2023 04:05:27 GMT
|
8
|
+
*/
|
9
|
+
/**
|
10
|
+
* Do not edit directly
|
11
|
+
* Generated on Sat, 02 Dec 2023 04:05:27 GMT
|
12
|
+
*/
|
13
|
+
/**
|
14
|
+
* Do not edit directly
|
15
|
+
* Generated on Sat, 02 Dec 2023 04:05:27 GMT
|
16
|
+
*/
|
17
|
+
/**
|
18
|
+
* Do not edit directly
|
19
|
+
* Generated on Sat, 02 Dec 2023 04:05:26 GMT
|
20
|
+
*/
|
21
|
+
/* mixins & extensions */
|
22
|
+
/* helper to properly scale internal durations */
|
23
|
+
/**
|
24
|
+
* Currently only used in Checkbox.
|
25
|
+
*/
|
26
|
+
:host {
|
27
|
+
/* Base ":host" styles for the component */
|
28
|
+
box-sizing: border-box;
|
29
|
+
background-color: var(--calcite-color-foreground-1);
|
30
|
+
color: var(--calcite-color-text-2);
|
31
|
+
font-size: var(--calcite-font-size--1);
|
32
|
+
}
|
33
|
+
:host * {
|
34
|
+
box-sizing: border-box;
|
35
|
+
}
|
36
|
+
|
37
|
+
:host {
|
38
|
+
z-index: var(--calcite-z-index);
|
39
|
+
display: flex;
|
40
|
+
flex: 1 1 auto;
|
41
|
+
overflow: hidden;
|
42
|
+
background-color: transparent;
|
43
|
+
}
|
44
|
+
|
45
|
+
.content {
|
46
|
+
margin: 0px;
|
47
|
+
display: flex;
|
48
|
+
block-size: 100%;
|
49
|
+
inline-size: 100%;
|
50
|
+
overflow: hidden;
|
51
|
+
flex: 1 0 0;
|
52
|
+
}
|
53
|
+
|
54
|
+
.action-bar-container {
|
55
|
+
display: flex;
|
56
|
+
}
|
57
|
+
|
58
|
+
:host([detached]) {
|
59
|
+
margin-inline: 0.5rem;
|
60
|
+
margin-block: 0.5rem 1.5rem;
|
61
|
+
}
|
62
|
+
|
63
|
+
@keyframes in-up {
|
64
|
+
0% {
|
65
|
+
opacity: 0;
|
66
|
+
transform: translate3D(0, 5px, 0);
|
67
|
+
}
|
68
|
+
100% {
|
69
|
+
opacity: 1;
|
70
|
+
transform: translate3D(0, 0, 0);
|
71
|
+
}
|
72
|
+
}
|
73
|
+
|
74
|
+
:host([detached]) {
|
75
|
+
animation: in-up var(--calcite-internal-animation-timing-slow) ease-in-out;
|
76
|
+
border-radius: 0.25rem;
|
77
|
+
border-width: 0px;
|
78
|
+
--tw-shadow: 0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
|
79
|
+
--tw-shadow-colored: 0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);
|
80
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
81
|
+
}
|
82
|
+
|
83
|
+
:host([position=end]) {
|
84
|
+
align-self: flex-end;
|
85
|
+
}
|
86
|
+
|
87
|
+
:host([position=start]) {
|
88
|
+
align-self: flex-start;
|
89
|
+
}
|
90
|
+
|
91
|
+
:host([height-scale=s]) {
|
92
|
+
block-size: 33.333333%;
|
93
|
+
}
|
94
|
+
|
95
|
+
:host([height-scale=m]) {
|
96
|
+
block-size: 70%;
|
97
|
+
}
|
98
|
+
|
99
|
+
:host([height-scale=l]) {
|
100
|
+
block-size: 100%;
|
101
|
+
}
|
102
|
+
|
103
|
+
:host([height-scale=l][detached]) {
|
104
|
+
block-size: calc(100% - 2rem);
|
105
|
+
}
|
106
|
+
|
107
|
+
::slotted(calcite-panel) {
|
108
|
+
block-size: 100%;
|
109
|
+
inline-size: 100%;
|
110
|
+
}
|
111
|
+
|
112
|
+
::slotted(calcite-action-bar),
|
113
|
+
::slotted(calcite-action-bar[position=end]) {
|
114
|
+
border-inline-end: 1px solid;
|
115
|
+
border-color: var(--calcite-color-border-3);
|
116
|
+
}
|
117
|
+
|
118
|
+
:host([hidden]) {
|
119
|
+
display: none;
|
120
|
+
}
|
121
|
+
|
122
|
+
[hidden] {
|
123
|
+
display: none;
|
124
|
+
}
|
@@ -0,0 +1,360 @@
|
|
1
|
+
/**
|
2
|
+
* Do not edit directly
|
3
|
+
* Generated on Sat, 02 Dec 2023 04:05:27 GMT
|
4
|
+
*/
|
5
|
+
/**
|
6
|
+
* Do not edit directly
|
7
|
+
* Generated on Sat, 02 Dec 2023 04:05:27 GMT
|
8
|
+
*/
|
9
|
+
/**
|
10
|
+
* Do not edit directly
|
11
|
+
* Generated on Sat, 02 Dec 2023 04:05:27 GMT
|
12
|
+
*/
|
13
|
+
/**
|
14
|
+
* Do not edit directly
|
15
|
+
* Generated on Sat, 02 Dec 2023 04:05:27 GMT
|
16
|
+
*/
|
17
|
+
/**
|
18
|
+
* Do not edit directly
|
19
|
+
* Generated on Sat, 02 Dec 2023 04:05:26 GMT
|
20
|
+
*/
|
21
|
+
/* mixins & extensions */
|
22
|
+
/* helper to properly scale internal durations */
|
23
|
+
/**
|
24
|
+
* Currently only used in Checkbox.
|
25
|
+
*/
|
26
|
+
/**
|
27
|
+
* CSS Custom Properties
|
28
|
+
*
|
29
|
+
* These properties can be overridden using the component's tag as selector.
|
30
|
+
*
|
31
|
+
* @prop --calcite-shell-panel-width: Specifies the width of the component.
|
32
|
+
* @prop --calcite-shell-panel-max-width: Specifies the maximum width of the component.
|
33
|
+
* @prop --calcite-shell-panel-min-width: Specifies the minimum width of the component.
|
34
|
+
* @prop --calcite-shell-panel-height: When `layout` is `horizontal`, or `layout` is `vertical` and `displayMode` is `float`, specifies the height of the component.
|
35
|
+
* @prop --calcite-shell-panel-max-height: When `layout` is `horizontal`, or `layout` is `vertical` and `displayMode` is `float`, specifies the maximum height of the component.
|
36
|
+
* @prop --calcite-shell-panel-min-height: When `layout` is `horizontal`, or `layout` is `vertical` and `displayMode` is `float`, specifies the minimum height of the component.
|
37
|
+
* @prop --calcite-shell-panel-detached-max-height: [Deprecated] Use the `heightScale` property instead. When `displayMode` is `float`, specifies the maximum height of the component.
|
38
|
+
* @prop --calcite-shell-panel-z-index: Specifies the z-index value for the component.
|
39
|
+
*
|
40
|
+
*/
|
41
|
+
:host {
|
42
|
+
pointer-events: none;
|
43
|
+
position: relative;
|
44
|
+
display: flex;
|
45
|
+
flex: 0 1 auto;
|
46
|
+
align-items: stretch;
|
47
|
+
z-index: var(--calcite-shell-panel-z-index, var(--calcite-z-index));
|
48
|
+
--calcite-shell-panel-detached-max-height: unset;
|
49
|
+
--calcite-shell-panel-max-height: unset;
|
50
|
+
--calcite-shell-panel-shadow-block-start-internal: 0 4px 8px -1px rgba(0, 0, 0, 0.08),
|
51
|
+
0 2px 4px -1px rgba(0, 0, 0, 0.04);
|
52
|
+
--calcite-shell-panel-shadow-block-end-internal: 0 -4px 8px -1px rgba(0, 0, 0, 0.08),
|
53
|
+
0 -2px 4px -1px rgba(0, 0, 0, 0.04);
|
54
|
+
--calcite-shell-panel-shadow-inline-start-internal: 4px 0 8px -1px rgba(0, 0, 0, 0.08),
|
55
|
+
2px 0 4px -1px rgba(0, 0, 0, 0.04);
|
56
|
+
--calcite-shell-panel-shadow-inline-end-internal: -4px 0 8px -1px rgba(0, 0, 0, 0.08),
|
57
|
+
-2px 0 4px -1px rgba(0, 0, 0, 0.04);
|
58
|
+
}
|
59
|
+
|
60
|
+
.calcite--rtl.content--overlay {
|
61
|
+
--calcite-shell-panel-shadow-inline-start-internal: -4px 0 8px -1px rgba(0, 0, 0, 0.08),
|
62
|
+
-2px 0 4px -1px rgba(0, 0, 0, 0.04);
|
63
|
+
--calcite-shell-panel-shadow-inline-end-internal: 4px 0 8px -1px rgba(0, 0, 0, 0.08),
|
64
|
+
2px 0 4px -1px rgba(0, 0, 0, 0.04);
|
65
|
+
}
|
66
|
+
|
67
|
+
:host([layout=vertical]) {
|
68
|
+
z-index: var(--calcite-shell-panel-z-index, calc(var(--calcite-z-index) + 1));
|
69
|
+
}
|
70
|
+
|
71
|
+
:host([layout=vertical][display-mode=overlay]) {
|
72
|
+
z-index: var(--calcite-shell-panel-z-index, calc(var(--calcite-z-index-header) + 1));
|
73
|
+
}
|
74
|
+
|
75
|
+
:host([layout=vertical][width-scale=s]) .content {
|
76
|
+
--calcite-shell-panel-width-internal: var(--calcite-shell-panel-width, 12vw);
|
77
|
+
--calcite-shell-panel-max-width-internal: var(--calcite-shell-panel-max-width, 300px);
|
78
|
+
--calcite-shell-panel-min-width-internal: var(--calcite-shell-panel-min-width, 150px);
|
79
|
+
}
|
80
|
+
|
81
|
+
:host([layout=vertical][width-scale=m]) .content {
|
82
|
+
--calcite-shell-panel-width-internal: var(--calcite-shell-panel-width, 20vw);
|
83
|
+
--calcite-shell-panel-max-width-internal: var(--calcite-shell-panel-max-width, 420px);
|
84
|
+
--calcite-shell-panel-min-width-internal: var(--calcite-shell-panel-min-width, 240px);
|
85
|
+
}
|
86
|
+
|
87
|
+
:host([layout=vertical][width-scale=l]) .content {
|
88
|
+
--calcite-shell-panel-width-internal: var(--calcite-shell-panel-width, 45vw);
|
89
|
+
--calcite-shell-panel-max-width-internal: var(--calcite-shell-panel-max-width, 680px);
|
90
|
+
--calcite-shell-panel-min-width-internal: var(--calcite-shell-panel-min-width, 340px);
|
91
|
+
}
|
92
|
+
|
93
|
+
:host([layout=horizontal][height-scale=s]) .content {
|
94
|
+
--calcite-shell-panel-max-height-internal: var(
|
95
|
+
--calcite-shell-panel-max-height,
|
96
|
+
var(--calcite-shell-panel-detached-max-height, 20vh)
|
97
|
+
);
|
98
|
+
}
|
99
|
+
|
100
|
+
:host([layout=horizontal]) .content {
|
101
|
+
--calcite-shell-panel-min-height-internal: var(--calcite-shell-panel-min-height, 5vh);
|
102
|
+
--calcite-shell-panel-max-height-internal: var(
|
103
|
+
--calcite-shell-panel-max-height,
|
104
|
+
var(--calcite-shell-panel-detached-max-height, 30vh)
|
105
|
+
);
|
106
|
+
}
|
107
|
+
|
108
|
+
:host([layout=horizontal][height-scale=l]) .content {
|
109
|
+
--calcite-shell-panel-max-height-internal: var(
|
110
|
+
--calcite-shell-panel-max-height,
|
111
|
+
var(--calcite-shell-panel-detached-max-height, 40vh)
|
112
|
+
);
|
113
|
+
}
|
114
|
+
|
115
|
+
.container {
|
116
|
+
pointer-events: none;
|
117
|
+
box-sizing: border-box;
|
118
|
+
display: flex;
|
119
|
+
flex: 1 1 auto;
|
120
|
+
align-items: stretch;
|
121
|
+
background-color: transparent;
|
122
|
+
font-size: var(--calcite-font-size--1);
|
123
|
+
color: var(--calcite-color-text-2);
|
124
|
+
}
|
125
|
+
.container * {
|
126
|
+
box-sizing: border-box;
|
127
|
+
}
|
128
|
+
|
129
|
+
:host([layout=horizontal]) .container {
|
130
|
+
flex-direction: column;
|
131
|
+
}
|
132
|
+
|
133
|
+
:host(:hover) .separator:not(:hover):not(:focus),
|
134
|
+
:host(:focus-within) .separator:not(:hover):not(:focus) {
|
135
|
+
opacity: 1;
|
136
|
+
background-color: var(--calcite-color-border-3);
|
137
|
+
}
|
138
|
+
|
139
|
+
.separator {
|
140
|
+
pointer-events: auto;
|
141
|
+
position: absolute;
|
142
|
+
display: flex;
|
143
|
+
background-color: transparent;
|
144
|
+
opacity: 0;
|
145
|
+
transition: all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;
|
146
|
+
cursor: col-resize;
|
147
|
+
outline: none;
|
148
|
+
}
|
149
|
+
.separator:hover {
|
150
|
+
opacity: 1;
|
151
|
+
background-color: var(--calcite-color-border-2);
|
152
|
+
}
|
153
|
+
.separator:focus {
|
154
|
+
background-color: var(--calcite-color-brand);
|
155
|
+
opacity: 1;
|
156
|
+
}
|
157
|
+
|
158
|
+
:host([layout=vertical]) .separator {
|
159
|
+
inset-block: 0px;
|
160
|
+
block-size: 100%;
|
161
|
+
inline-size: 0.125rem;
|
162
|
+
cursor: col-resize;
|
163
|
+
}
|
164
|
+
|
165
|
+
:host([layout=horizontal][position=start]) .separator {
|
166
|
+
inset-block-end: 0px;
|
167
|
+
}
|
168
|
+
|
169
|
+
:host([layout=horizontal][position=end]) .separator {
|
170
|
+
inset-block-start: 0px;
|
171
|
+
}
|
172
|
+
|
173
|
+
:host([layout=horizontal]) .separator {
|
174
|
+
inset-inline-end: 0px;
|
175
|
+
block-size: 0.125rem;
|
176
|
+
inline-size: 100%;
|
177
|
+
cursor: row-resize;
|
178
|
+
}
|
179
|
+
|
180
|
+
:host([layout=vertical][position=start]) .separator {
|
181
|
+
inset-inline-end: -2px;
|
182
|
+
}
|
183
|
+
|
184
|
+
:host([layout=horizontal][position=start]) .separator {
|
185
|
+
inset-block-end: -2px;
|
186
|
+
}
|
187
|
+
|
188
|
+
:host([layout=vertical][position=end]) .separator {
|
189
|
+
inset-inline-start: -2px;
|
190
|
+
}
|
191
|
+
|
192
|
+
:host([layout=horizontal][position=end]) .separator {
|
193
|
+
inset-block-start: -2px;
|
194
|
+
}
|
195
|
+
|
196
|
+
::slotted(calcite-panel),
|
197
|
+
::slotted(calcite-flow) {
|
198
|
+
block-size: 100%;
|
199
|
+
inline-size: 100%;
|
200
|
+
flex: 1 1 auto;
|
201
|
+
max-block-size: unset;
|
202
|
+
max-inline-size: unset;
|
203
|
+
}
|
204
|
+
|
205
|
+
::slotted(.calcite-match-height) {
|
206
|
+
display: flex;
|
207
|
+
flex: 1 1 auto;
|
208
|
+
overflow: hidden;
|
209
|
+
}
|
210
|
+
|
211
|
+
.content {
|
212
|
+
pointer-events: auto;
|
213
|
+
display: flex;
|
214
|
+
flex-direction: column;
|
215
|
+
flex-wrap: nowrap;
|
216
|
+
align-items: stretch;
|
217
|
+
align-self: stretch;
|
218
|
+
background-color: var(--calcite-color-background);
|
219
|
+
padding: 0px;
|
220
|
+
transition: max-block-size var(--calcite-animation-timing), max-inline-size var(--calcite-animation-timing);
|
221
|
+
}
|
222
|
+
|
223
|
+
:host([layout=vertical]) .content {
|
224
|
+
inline-size: var(--calcite-shell-panel-width-internal);
|
225
|
+
max-inline-size: var(--calcite-shell-panel-max-width-internal);
|
226
|
+
min-inline-size: var(--calcite-shell-panel-min-width-internal);
|
227
|
+
}
|
228
|
+
|
229
|
+
:host([layout=horizontal]) .content {
|
230
|
+
block-size: var(--calcite-shell-panel-height-internal);
|
231
|
+
max-block-size: var(--calcite-shell-panel-max-height-internal);
|
232
|
+
min-block-size: var(--calcite-shell-panel-min-height-internal);
|
233
|
+
}
|
234
|
+
|
235
|
+
.content__header {
|
236
|
+
display: flex;
|
237
|
+
flex: 0 1 auto;
|
238
|
+
flex-direction: column;
|
239
|
+
flex-wrap: nowrap;
|
240
|
+
align-items: stretch;
|
241
|
+
}
|
242
|
+
|
243
|
+
.content__body {
|
244
|
+
display: flex;
|
245
|
+
flex: 1 1 auto;
|
246
|
+
flex-direction: column;
|
247
|
+
overflow: hidden;
|
248
|
+
}
|
249
|
+
|
250
|
+
.content--overlay {
|
251
|
+
position: absolute;
|
252
|
+
--tw-shadow: 0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
|
253
|
+
--tw-shadow-colored: 0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);
|
254
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
255
|
+
}
|
256
|
+
|
257
|
+
:host([layout=vertical]) .content--overlay {
|
258
|
+
inset-block-start: 0px;
|
259
|
+
block-size: 100%;
|
260
|
+
}
|
261
|
+
|
262
|
+
:host([layout=horizontal]) .content--overlay {
|
263
|
+
inset-inline-start: 0px;
|
264
|
+
inline-size: 100%;
|
265
|
+
}
|
266
|
+
|
267
|
+
:host([layout=vertical][position=start]) .content--overlay {
|
268
|
+
inset-inline-start: 100%;
|
269
|
+
box-shadow: var(--calcite-shell-panel-shadow-inline-start-internal);
|
270
|
+
}
|
271
|
+
|
272
|
+
:host([layout=vertical][position=end]) .content--overlay {
|
273
|
+
inset-inline-end: 100%;
|
274
|
+
box-shadow: var(--calcite-shell-panel-shadow-inline-end-internal);
|
275
|
+
}
|
276
|
+
|
277
|
+
:host([layout=horizontal][position=start]) .content--overlay {
|
278
|
+
inset-block-start: 100%;
|
279
|
+
box-shadow: var(--calcite-shell-panel-shadow-block-start-internal);
|
280
|
+
}
|
281
|
+
|
282
|
+
:host([layout=horizontal][position=end]) .content--overlay {
|
283
|
+
inset-block-end: 100%;
|
284
|
+
box-shadow: var(--calcite-shell-panel-shadow-block-end-internal);
|
285
|
+
}
|
286
|
+
|
287
|
+
.content--float {
|
288
|
+
margin-inline: 0.5rem;
|
289
|
+
margin-block: 0.5rem auto;
|
290
|
+
block-size: auto;
|
291
|
+
overflow: hidden;
|
292
|
+
border-radius: 0.25rem;
|
293
|
+
--tw-shadow: 0 4px 8px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
|
294
|
+
--tw-shadow-colored: 0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);
|
295
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
296
|
+
max-block-size: var(--calcite-shell-panel-max-height-internal, calc(100% - 1rem));
|
297
|
+
}
|
298
|
+
.content--float ::slotted(calcite-panel),
|
299
|
+
.content--float ::slotted(calcite-flow) {
|
300
|
+
max-block-size: unset;
|
301
|
+
}
|
302
|
+
|
303
|
+
:host([layout=horizontal]) .content--float {
|
304
|
+
margin-block: 0.5rem;
|
305
|
+
}
|
306
|
+
|
307
|
+
:host([position=start]) .content--float ::slotted(calcite-panel),
|
308
|
+
:host([position=start]) .content--float ::slotted(calcite-flow),
|
309
|
+
:host([position=end]) .content--float ::slotted(calcite-panel),
|
310
|
+
:host([position=end]) .content--float ::slotted(calcite-flow) {
|
311
|
+
border-style: none;
|
312
|
+
}
|
313
|
+
|
314
|
+
.content[hidden] {
|
315
|
+
display: none;
|
316
|
+
}
|
317
|
+
|
318
|
+
slot[name=action-bar]::slotted(calcite-action-bar),
|
319
|
+
.content ::slotted(calcite-flow),
|
320
|
+
.content ::slotted(calcite-panel:not([closed])) {
|
321
|
+
border-width: 1px;
|
322
|
+
border-style: solid;
|
323
|
+
border-color: var(--calcite-color-border-3);
|
324
|
+
}
|
325
|
+
|
326
|
+
:host([position=start]) slot[name=action-bar]::slotted(calcite-action-bar),
|
327
|
+
:host([position=start]) .content ::slotted(calcite-flow),
|
328
|
+
:host([position=start]) .content ::slotted(calcite-panel) {
|
329
|
+
border-inline-start: none;
|
330
|
+
}
|
331
|
+
|
332
|
+
:host([position=end]) slot[name=action-bar]::slotted(calcite-action-bar),
|
333
|
+
:host([position=end]) .content ::slotted(calcite-flow),
|
334
|
+
:host([position=end]) .content ::slotted(calcite-panel) {
|
335
|
+
border-inline-end: none;
|
336
|
+
}
|
337
|
+
|
338
|
+
:host([layout=horizontal]) slot[name=action-bar]::slotted(calcite-action-bar) {
|
339
|
+
border-inline: 0;
|
340
|
+
}
|
341
|
+
|
342
|
+
:host([layout=horizontal][position=start]) .content ::slotted(calcite-flow),
|
343
|
+
:host([layout=horizontal][position=start]) .content ::slotted(calcite-panel) {
|
344
|
+
border-inline: 0;
|
345
|
+
border-block-start: 0;
|
346
|
+
}
|
347
|
+
|
348
|
+
:host([layout=horizontal][position=end]) .content ::slotted(calcite-flow),
|
349
|
+
:host([layout=horizontal][position=end]) .content ::slotted(calcite-panel) {
|
350
|
+
border-inline: 0;
|
351
|
+
border-block-end: 0;
|
352
|
+
}
|
353
|
+
|
354
|
+
:host([hidden]) {
|
355
|
+
display: none;
|
356
|
+
}
|
357
|
+
|
358
|
+
[hidden] {
|
359
|
+
display: none;
|
360
|
+
}
|