@cloudscape-design/components-themeable 3.0.328 → 3.0.329
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/internal/manifest.json +1 -1
- package/lib/internal/scss/app-layout/styles.scss +26 -0
- package/lib/internal/scss/app-layout/visual-refresh/drawers.scss +17 -13
- package/lib/internal/scss/internal/generated/custom-css-properties/index.scss +39 -39
- package/lib/internal/scss/split-panel/styles.scss +0 -18
- package/lib/internal/scss/table/sticky-scrollbar/styles.scss +26 -0
- package/lib/internal/scss/table/styles.scss +0 -22
- package/lib/internal/template/annotation-context/annotation/styles.css.js +24 -24
- package/lib/internal/template/annotation-context/annotation/styles.scoped.css +30 -30
- package/lib/internal/template/annotation-context/annotation/styles.selectors.js +24 -24
- package/lib/internal/template/app-layout/drawer/interfaces.d.ts +0 -7
- package/lib/internal/template/app-layout/drawer/interfaces.d.ts.map +1 -1
- package/lib/internal/template/app-layout/drawer/interfaces.js.map +1 -1
- package/lib/internal/template/app-layout/drawer/resizable-drawer.d.ts.map +1 -1
- package/lib/internal/template/app-layout/drawer/resizable-drawer.js +3 -3
- package/lib/internal/template/app-layout/drawer/resizable-drawer.js.map +1 -1
- package/lib/internal/template/app-layout/notifications/styles.css.js +3 -3
- package/lib/internal/template/app-layout/notifications/styles.scoped.css +7 -7
- package/lib/internal/template/app-layout/notifications/styles.selectors.js +3 -3
- package/lib/internal/template/app-layout/runtime-api.d.ts.map +1 -1
- package/lib/internal/template/app-layout/runtime-api.js +5 -2
- package/lib/internal/template/app-layout/runtime-api.js.map +1 -1
- package/lib/internal/template/app-layout/styles.css.js +17 -13
- package/lib/internal/template/app-layout/styles.scoped.css +44 -13
- package/lib/internal/template/app-layout/styles.selectors.js +17 -13
- package/lib/internal/template/app-layout/utils/interfaces.d.ts +10 -0
- package/lib/internal/template/app-layout/utils/interfaces.d.ts.map +1 -0
- package/lib/internal/template/app-layout/utils/interfaces.js +2 -0
- package/lib/internal/template/app-layout/utils/interfaces.js.map +1 -0
- package/lib/internal/template/app-layout/utils/use-drawer-focus-control.d.ts.map +1 -1
- package/lib/internal/template/app-layout/utils/use-drawer-focus-control.js +8 -3
- package/lib/internal/template/app-layout/utils/use-drawer-focus-control.js.map +1 -1
- package/lib/internal/template/app-layout/utils/use-keyboard-events.d.ts +4 -0
- package/lib/internal/template/app-layout/utils/use-keyboard-events.d.ts.map +1 -0
- package/lib/internal/template/{split-panel → app-layout}/utils/use-keyboard-events.js +10 -11
- package/lib/internal/template/app-layout/utils/use-keyboard-events.js.map +1 -0
- package/lib/internal/template/app-layout/utils/use-pointer-events.d.ts +3 -0
- package/lib/internal/template/app-layout/utils/use-pointer-events.d.ts.map +1 -0
- package/lib/internal/template/{split-panel → app-layout}/utils/use-pointer-events.js +15 -8
- package/lib/internal/template/app-layout/utils/use-pointer-events.js.map +1 -0
- package/lib/internal/template/app-layout/utils/use-resize.d.ts +16 -0
- package/lib/internal/template/app-layout/utils/use-resize.d.ts.map +1 -0
- package/lib/internal/template/app-layout/utils/use-resize.js +84 -0
- package/lib/internal/template/app-layout/utils/use-resize.js.map +1 -0
- package/lib/internal/template/app-layout/visual-refresh/context.d.ts +11 -6
- package/lib/internal/template/app-layout/visual-refresh/context.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh/context.js +26 -7
- package/lib/internal/template/app-layout/visual-refresh/context.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh/drawers.d.ts +1 -33
- package/lib/internal/template/app-layout/visual-refresh/drawers.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh/drawers.js +14 -7
- package/lib/internal/template/app-layout/visual-refresh/drawers.js.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh/styles.css.js +69 -68
- package/lib/internal/template/app-layout/visual-refresh/styles.scoped.css +294 -298
- package/lib/internal/template/app-layout/visual-refresh/styles.selectors.js +69 -68
- package/lib/internal/template/app-layout/visual-refresh/trigger-button.d.ts.map +1 -1
- package/lib/internal/template/app-layout/visual-refresh/trigger-button.js +1 -2
- package/lib/internal/template/app-layout/visual-refresh/trigger-button.js.map +1 -1
- package/lib/internal/template/area-chart/{model/async-store.d.ts → async-store/index.d.ts} +1 -1
- package/lib/internal/template/area-chart/async-store/index.d.ts.map +1 -0
- package/lib/internal/template/area-chart/{model/async-store.js → async-store/index.js} +1 -1
- package/lib/internal/template/area-chart/async-store/index.js.map +1 -0
- package/lib/internal/template/area-chart/elements/area-chart-legend.d.ts.map +1 -1
- package/lib/internal/template/area-chart/elements/area-chart-legend.js +1 -1
- package/lib/internal/template/area-chart/elements/area-chart-legend.js.map +1 -1
- package/lib/internal/template/area-chart/elements/data-series.js +1 -1
- package/lib/internal/template/area-chart/elements/data-series.js.map +1 -1
- package/lib/internal/template/area-chart/elements/highlighted-point.js +1 -1
- package/lib/internal/template/area-chart/elements/highlighted-point.js.map +1 -1
- package/lib/internal/template/area-chart/elements/use-highlight-details.d.ts.map +1 -1
- package/lib/internal/template/area-chart/elements/use-highlight-details.js +3 -1
- package/lib/internal/template/area-chart/elements/use-highlight-details.js.map +1 -1
- package/lib/internal/template/area-chart/elements/vertical-marker.js +1 -1
- package/lib/internal/template/area-chart/elements/vertical-marker.js.map +1 -1
- package/lib/internal/template/area-chart/model/index.d.ts +1 -1
- package/lib/internal/template/area-chart/model/index.d.ts.map +1 -1
- package/lib/internal/template/area-chart/model/index.js.map +1 -1
- package/lib/internal/template/area-chart/model/interactions-store.d.ts +1 -1
- package/lib/internal/template/area-chart/model/interactions-store.d.ts.map +1 -1
- package/lib/internal/template/area-chart/model/interactions-store.js +1 -1
- package/lib/internal/template/area-chart/model/interactions-store.js.map +1 -1
- package/lib/internal/template/area-chart/model/use-chart-model.d.ts.map +1 -1
- package/lib/internal/template/area-chart/model/use-chart-model.js +1 -1
- package/lib/internal/template/area-chart/model/use-chart-model.js.map +1 -1
- package/lib/internal/template/attribute-editor/interfaces.d.ts +1 -1
- package/lib/internal/template/attribute-editor/interfaces.d.ts.map +1 -1
- package/lib/internal/template/attribute-editor/interfaces.js.map +1 -1
- package/lib/internal/template/content-layout/styles.css.js +7 -7
- package/lib/internal/template/content-layout/styles.scoped.css +13 -13
- package/lib/internal/template/content-layout/styles.selectors.js +7 -7
- package/lib/internal/template/flashbar/styles.css.js +45 -45
- package/lib/internal/template/flashbar/styles.scoped.css +169 -169
- package/lib/internal/template/flashbar/styles.selectors.js +45 -45
- package/lib/internal/template/internal/environment.js +1 -1
- package/lib/internal/template/internal/generated/custom-css-properties/index.js +39 -39
- package/lib/internal/template/internal/generated/custom-css-properties/index.js.map +1 -1
- package/lib/internal/template/internal/plugins/drawers-controller.d.ts +5 -0
- package/lib/internal/template/internal/plugins/drawers-controller.d.ts.map +1 -1
- package/lib/internal/template/internal/plugins/drawers-controller.js.map +1 -1
- package/lib/internal/template/mixed-line-bar-chart/data-series.d.ts.map +1 -1
- package/lib/internal/template/mixed-line-bar-chart/data-series.js +8 -2
- package/lib/internal/template/mixed-line-bar-chart/data-series.js.map +1 -1
- package/lib/internal/template/split-panel/index.d.ts.map +1 -1
- package/lib/internal/template/split-panel/index.js +3 -3
- package/lib/internal/template/split-panel/index.js.map +1 -1
- package/lib/internal/template/split-panel/interfaces.d.ts +0 -7
- package/lib/internal/template/split-panel/interfaces.d.ts.map +1 -1
- package/lib/internal/template/split-panel/interfaces.js.map +1 -1
- package/lib/internal/template/split-panel/styles.css.js +56 -59
- package/lib/internal/template/split-panel/styles.scoped.css +77 -93
- package/lib/internal/template/split-panel/styles.selectors.js +56 -59
- package/lib/internal/template/table/body-cell/td-element.d.ts +1 -1
- package/lib/internal/template/table/body-cell/td-element.d.ts.map +1 -1
- package/lib/internal/template/table/body-cell/td-element.js +1 -1
- package/lib/internal/template/table/body-cell/td-element.js.map +1 -1
- package/lib/internal/template/table/header-cell/index.d.ts +1 -1
- package/lib/internal/template/table/header-cell/index.d.ts.map +1 -1
- package/lib/internal/template/table/header-cell/index.js +1 -1
- package/lib/internal/template/table/header-cell/index.js.map +1 -1
- package/lib/internal/template/table/internal.js +2 -2
- package/lib/internal/template/table/internal.js.map +1 -1
- package/lib/internal/template/table/sticky-columns/index.d.ts +2 -0
- package/lib/internal/template/table/sticky-columns/index.d.ts.map +1 -0
- package/lib/internal/template/table/sticky-columns/index.js +4 -0
- package/lib/internal/template/table/sticky-columns/index.js.map +1 -0
- package/lib/internal/template/table/{use-sticky-columns.d.ts → sticky-columns/use-sticky-columns.d.ts} +1 -1
- package/lib/internal/template/table/sticky-columns/use-sticky-columns.d.ts.map +1 -0
- package/lib/internal/template/table/{use-sticky-columns.js → sticky-columns/use-sticky-columns.js} +3 -3
- package/lib/internal/template/table/sticky-columns/use-sticky-columns.js.map +1 -0
- package/lib/internal/template/table/sticky-scrollbar/index.d.ts +2 -0
- package/lib/internal/template/table/sticky-scrollbar/index.d.ts.map +1 -0
- package/lib/internal/template/table/sticky-scrollbar/index.js +4 -0
- package/lib/internal/template/table/sticky-scrollbar/index.js.map +1 -0
- package/lib/internal/template/table/sticky-scrollbar/sticky-scrollbar.d.ts.map +1 -0
- package/lib/internal/template/table/{sticky-scrollbar.js → sticky-scrollbar/sticky-scrollbar.js} +2 -2
- package/lib/internal/template/table/sticky-scrollbar/sticky-scrollbar.js.map +1 -0
- package/lib/internal/template/table/sticky-scrollbar/styles.css.js +9 -0
- package/lib/internal/template/table/sticky-scrollbar/styles.scoped.css +22 -0
- package/lib/internal/template/table/sticky-scrollbar/styles.selectors.js +10 -0
- package/lib/internal/template/table/sticky-scrollbar/use-sticky-scrollbar.d.ts.map +1 -0
- package/lib/internal/template/table/{use-sticky-scrollbar.js → sticky-scrollbar/use-sticky-scrollbar.js} +3 -3
- package/lib/internal/template/table/sticky-scrollbar/use-sticky-scrollbar.js.map +1 -0
- package/lib/internal/template/table/styles.css.js +32 -36
- package/lib/internal/template/table/styles.scoped.css +40 -59
- package/lib/internal/template/table/styles.selectors.js +32 -36
- package/lib/internal/template/table/thead.d.ts +1 -1
- package/lib/internal/template/table/thead.d.ts.map +1 -1
- package/lib/internal/template/table/thead.js +1 -1
- package/lib/internal/template/table/thead.js.map +1 -1
- package/lib/internal/template/table/utils.d.ts +1 -1
- package/lib/internal/template/table/utils.d.ts.map +1 -1
- package/lib/internal/template/table/utils.js.map +1 -1
- package/lib/internal/template/wizard/styles.css.js +31 -31
- package/lib/internal/template/wizard/styles.scoped.css +63 -63
- package/lib/internal/template/wizard/styles.selectors.js +31 -31
- package/lib/internal/template-tokens/package.json +9 -0
- package/lib/theming.d.ts +9 -0
- package/lib/theming.d.ts.map +1 -0
- package/lib/theming.js +26 -0
- package/lib/theming.js.map +1 -0
- package/package.json +1 -1
- package/lib/internal/template/area-chart/model/async-store.d.ts.map +0 -1
- package/lib/internal/template/area-chart/model/async-store.js.map +0 -1
- package/lib/internal/template/split-panel/utils/use-keyboard-events.d.ts +0 -4
- package/lib/internal/template/split-panel/utils/use-keyboard-events.d.ts.map +0 -1
- package/lib/internal/template/split-panel/utils/use-keyboard-events.js.map +0 -1
- package/lib/internal/template/split-panel/utils/use-pointer-events.d.ts +0 -3
- package/lib/internal/template/split-panel/utils/use-pointer-events.d.ts.map +0 -1
- package/lib/internal/template/split-panel/utils/use-pointer-events.js.map +0 -1
- package/lib/internal/template/table/sticky-scrollbar.d.ts.map +0 -1
- package/lib/internal/template/table/sticky-scrollbar.js.map +0 -1
- package/lib/internal/template/table/use-sticky-columns.d.ts.map +0 -1
- package/lib/internal/template/table/use-sticky-columns.js.map +0 -1
- package/lib/internal/template/table/use-sticky-scrollbar.d.ts.map +0 -1
- package/lib/internal/template/table/use-sticky-scrollbar.js.map +0 -1
- /package/lib/internal/template/table/{sticky-scrollbar.d.ts → sticky-scrollbar/sticky-scrollbar.d.ts} +0 -0
- /package/lib/internal/template/table/{use-sticky-scrollbar.d.ts → sticky-scrollbar/use-sticky-scrollbar.d.ts} +0 -0
|
@@ -7,6 +7,32 @@
|
|
|
7
7
|
@use '../internal/styles/tokens' as awsui;
|
|
8
8
|
@use './constants' as constants;
|
|
9
9
|
|
|
10
|
+
/* stylelint-disable selector-combinator-disallowed-list, selector-max-type, selector-max-universal */
|
|
11
|
+
// these styles are expected to apply to the entire document, so they do not follow the scoping rules
|
|
12
|
+
.resize {
|
|
13
|
+
&-active * {
|
|
14
|
+
user-select: none;
|
|
15
|
+
}
|
|
16
|
+
&-active iframe {
|
|
17
|
+
// Prevents iframes from eating the mouseup event if the cursor is on top of it.
|
|
18
|
+
pointer-events: none;
|
|
19
|
+
}
|
|
20
|
+
&-side * {
|
|
21
|
+
cursor: ew-resize;
|
|
22
|
+
}
|
|
23
|
+
&-bottom * {
|
|
24
|
+
cursor: ns-resize;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
/* stylelint-enable selector-combinator-disallowed-list, selector-max-type, selector-max-universal */
|
|
28
|
+
|
|
29
|
+
.with-motion {
|
|
30
|
+
@include styles.with-motion {
|
|
31
|
+
transition: awsui.$motion-duration-refresh-only-fast;
|
|
32
|
+
transition-property: border-color, opacity, width;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
10
36
|
// double flex container to work around flexbox issue in IE
|
|
11
37
|
// https://github.com/philipwalton/flexbugs#flexbug-3
|
|
12
38
|
.root,
|
|
@@ -114,12 +114,12 @@
|
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
.drawer {
|
|
117
|
-
#{custom-props.$
|
|
117
|
+
#{custom-props.$drawerSize}: 290px;
|
|
118
118
|
background-color: awsui.$color-background-container-content;
|
|
119
119
|
border-color: transparent;
|
|
120
120
|
display: grid;
|
|
121
121
|
flex-shrink: 0;
|
|
122
|
-
grid-template-columns: 1fr auto awsui.$space-m;
|
|
122
|
+
grid-template-columns: awsui.$space-m 1fr auto awsui.$space-m;
|
|
123
123
|
grid-template-rows: awsui.$size-vertical-panel-icon-offset auto 1fr;
|
|
124
124
|
height: 100%;
|
|
125
125
|
overflow-y: auto;
|
|
@@ -129,15 +129,23 @@
|
|
|
129
129
|
word-wrap: break-word;
|
|
130
130
|
|
|
131
131
|
> .drawer-close-button {
|
|
132
|
-
grid-column:
|
|
132
|
+
grid-column: 3;
|
|
133
133
|
grid-row: 2;
|
|
134
134
|
z-index: 1;
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
> .drawer-content {
|
|
138
|
-
grid-column: 1 / span
|
|
138
|
+
grid-column: 1 / span 4;
|
|
139
139
|
grid-row: 1 / span 3;
|
|
140
|
-
width: var(#{custom-props.$
|
|
140
|
+
width: var(#{custom-props.$drawerSize});
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
> .drawer-slider {
|
|
144
|
+
grid-column: 1;
|
|
145
|
+
grid-row: 3;
|
|
146
|
+
height: 100%;
|
|
147
|
+
display: flex;
|
|
148
|
+
align-items: center;
|
|
141
149
|
}
|
|
142
150
|
|
|
143
151
|
&:not(.is-drawer-open) {
|
|
@@ -148,23 +156,19 @@
|
|
|
148
156
|
&.is-drawer-open {
|
|
149
157
|
border-right: awsui.$border-divider-section-width solid awsui.$color-border-divider-default;
|
|
150
158
|
opacity: 1;
|
|
151
|
-
width: var(#{custom-props.$
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
@include styles.with-motion {
|
|
155
|
-
transition: awsui.$motion-duration-refresh-only-fast;
|
|
156
|
-
transition-property: border-color, opacity, width;
|
|
159
|
+
width: var(#{custom-props.$drawerSize});
|
|
157
160
|
}
|
|
158
161
|
|
|
159
162
|
@include styles.media-breakpoint-up(styles.$breakpoint-xx-large) {
|
|
160
163
|
&.is-drawer-open {
|
|
161
|
-
#{custom-props.$
|
|
164
|
+
#{custom-props.$drawerSize}: 320px;
|
|
162
165
|
}
|
|
163
166
|
}
|
|
164
167
|
|
|
165
168
|
@include styles.media-breakpoint-down(styles.$breakpoint-x-small) {
|
|
166
169
|
&.is-drawer-open {
|
|
167
|
-
#{custom-props.$
|
|
170
|
+
#{custom-props.$drawerSize}: 100vw;
|
|
171
|
+
width: 100vw;
|
|
168
172
|
}
|
|
169
173
|
}
|
|
170
174
|
}
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
|
|
2
|
-
$
|
|
3
|
-
$
|
|
4
|
-
$
|
|
5
|
-
$
|
|
6
|
-
$
|
|
7
|
-
$
|
|
8
|
-
$
|
|
9
|
-
$
|
|
10
|
-
$
|
|
11
|
-
$footerHeight: --awsui-footer-height-
|
|
12
|
-
$headerGap: --awsui-header-gap-
|
|
13
|
-
$headerHeight: --awsui-header-height-
|
|
14
|
-
$layoutWidth: --awsui-layout-width-
|
|
15
|
-
$mainGap: --awsui-main-gap-
|
|
16
|
-
$mainOffsetLeft: --awsui-main-offset-left-
|
|
17
|
-
$mainTemplateRows: --awsui-main-template-rows-
|
|
18
|
-
$maxContentWidth: --awsui-max-content-width-
|
|
19
|
-
$minContentWidth: --awsui-min-content-width-
|
|
20
|
-
$mobileBarHeight: --awsui-mobile-bar-height-
|
|
21
|
-
$notificationsGap: --awsui-notifications-gap-
|
|
22
|
-
$notificationsHeight: --awsui-notifications-height-
|
|
23
|
-
$offsetTop: --awsui-offset-top-
|
|
24
|
-
$offsetTopWithNotifications: --awsui-offset-top-with-notifications-
|
|
25
|
-
$overlapHeight: --awsui-overlap-height-
|
|
26
|
-
$navigationWidth: --awsui-navigation-width-
|
|
27
|
-
$splitPanelReportedHeaderSize: --awsui-split-panel-reported-header-size-
|
|
28
|
-
$splitPanelReportedSize: --awsui-split-panel-reported-size-
|
|
29
|
-
$splitPanelHeight: --awsui-split-panel-height-
|
|
30
|
-
$splitPanelMinWidth: --awsui-split-panel-min-width-
|
|
31
|
-
$splitPanelMaxWidth: --awsui-split-panel-max-width-
|
|
32
|
-
$toolsMaxWidth: --awsui-tools-max-width-
|
|
33
|
-
$toolsWidth: --awsui-tools-width-
|
|
34
|
-
$toolsAnimationStartingOpacity: --awsui-tools-animation-starting-opacity-
|
|
35
|
-
$contentScrollMargin: --awsui-content-scroll-margin-
|
|
36
|
-
$flashbarStackDepth: --awsui-flashbar-stack-depth-
|
|
37
|
-
$flashbarStackIndex: --awsui-flashbar-stack-index-
|
|
38
|
-
$flashbarStickyBottomMargin: --awsui-flashbar-sticky-bottom-margin-
|
|
39
|
-
$stackedNotificationsBottomMargin: --awsui-stacked-notifications-bottom-margin-
|
|
40
|
-
$stackedNotificationsDefaultBottomMargin: --awsui-stacked-notifications-default-bottom-margin-
|
|
2
|
+
$breadcrumbsGap: --awsui-breadcrumbs-gap-zw2xxa;
|
|
3
|
+
$contentGapLeft: --awsui-content-gap-left-zw2xxa;
|
|
4
|
+
$contentGapRight: --awsui-content-gap-right-zw2xxa;
|
|
5
|
+
$contentHeight: --awsui-content-height-zw2xxa;
|
|
6
|
+
$containerFirstGap: --awsui-container-first-gap-zw2xxa;
|
|
7
|
+
$containerFirstOverlapExtension: --awsui-container-first-overlap-extension-zw2xxa;
|
|
8
|
+
$defaultMaxContentWidth: --awsui-default-max-content-width-zw2xxa;
|
|
9
|
+
$defaultMinContentWidth: --awsui-default-min-content-width-zw2xxa;
|
|
10
|
+
$drawerSize: --awsui-drawer-size-zw2xxa;
|
|
11
|
+
$footerHeight: --awsui-footer-height-zw2xxa;
|
|
12
|
+
$headerGap: --awsui-header-gap-zw2xxa;
|
|
13
|
+
$headerHeight: --awsui-header-height-zw2xxa;
|
|
14
|
+
$layoutWidth: --awsui-layout-width-zw2xxa;
|
|
15
|
+
$mainGap: --awsui-main-gap-zw2xxa;
|
|
16
|
+
$mainOffsetLeft: --awsui-main-offset-left-zw2xxa;
|
|
17
|
+
$mainTemplateRows: --awsui-main-template-rows-zw2xxa;
|
|
18
|
+
$maxContentWidth: --awsui-max-content-width-zw2xxa;
|
|
19
|
+
$minContentWidth: --awsui-min-content-width-zw2xxa;
|
|
20
|
+
$mobileBarHeight: --awsui-mobile-bar-height-zw2xxa;
|
|
21
|
+
$notificationsGap: --awsui-notifications-gap-zw2xxa;
|
|
22
|
+
$notificationsHeight: --awsui-notifications-height-zw2xxa;
|
|
23
|
+
$offsetTop: --awsui-offset-top-zw2xxa;
|
|
24
|
+
$offsetTopWithNotifications: --awsui-offset-top-with-notifications-zw2xxa;
|
|
25
|
+
$overlapHeight: --awsui-overlap-height-zw2xxa;
|
|
26
|
+
$navigationWidth: --awsui-navigation-width-zw2xxa;
|
|
27
|
+
$splitPanelReportedHeaderSize: --awsui-split-panel-reported-header-size-zw2xxa;
|
|
28
|
+
$splitPanelReportedSize: --awsui-split-panel-reported-size-zw2xxa;
|
|
29
|
+
$splitPanelHeight: --awsui-split-panel-height-zw2xxa;
|
|
30
|
+
$splitPanelMinWidth: --awsui-split-panel-min-width-zw2xxa;
|
|
31
|
+
$splitPanelMaxWidth: --awsui-split-panel-max-width-zw2xxa;
|
|
32
|
+
$toolsMaxWidth: --awsui-tools-max-width-zw2xxa;
|
|
33
|
+
$toolsWidth: --awsui-tools-width-zw2xxa;
|
|
34
|
+
$toolsAnimationStartingOpacity: --awsui-tools-animation-starting-opacity-zw2xxa;
|
|
35
|
+
$contentScrollMargin: --awsui-content-scroll-margin-zw2xxa;
|
|
36
|
+
$flashbarStackDepth: --awsui-flashbar-stack-depth-zw2xxa;
|
|
37
|
+
$flashbarStackIndex: --awsui-flashbar-stack-index-zw2xxa;
|
|
38
|
+
$flashbarStickyBottomMargin: --awsui-flashbar-sticky-bottom-margin-zw2xxa;
|
|
39
|
+
$stackedNotificationsBottomMargin: --awsui-stacked-notifications-bottom-margin-zw2xxa;
|
|
40
|
+
$stackedNotificationsDefaultBottomMargin: --awsui-stacked-notifications-default-bottom-margin-zw2xxa;
|
|
41
41
|
|
|
@@ -16,24 +16,6 @@ $slider-width: 16px;
|
|
|
16
16
|
// Values taken from app layout
|
|
17
17
|
$app-layout-drawer-width: calc(#{awsui.$space-layout-toggle-diameter} + 2 * #{awsui.$space-layout-toggle-padding});
|
|
18
18
|
|
|
19
|
-
/* stylelint-disable selector-combinator-disallowed-list, selector-max-type, selector-max-universal */
|
|
20
|
-
.resize {
|
|
21
|
-
&-active * {
|
|
22
|
-
user-select: none;
|
|
23
|
-
}
|
|
24
|
-
&-active iframe {
|
|
25
|
-
// Prevents iframes from eating the mouseup event if the cursor is on top of it.
|
|
26
|
-
pointer-events: none;
|
|
27
|
-
}
|
|
28
|
-
&-side * {
|
|
29
|
-
cursor: ew-resize;
|
|
30
|
-
}
|
|
31
|
-
&-bottom * {
|
|
32
|
-
cursor: ns-resize;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
/* stylelint-enable */
|
|
36
|
-
|
|
37
19
|
.root {
|
|
38
20
|
@include styles.styles-reset;
|
|
39
21
|
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
|
+
SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
.sticky-scrollbar {
|
|
7
|
+
height: 15px;
|
|
8
|
+
position: sticky;
|
|
9
|
+
display: none;
|
|
10
|
+
overflow-x: auto;
|
|
11
|
+
overflow-y: hidden;
|
|
12
|
+
bottom: 0;
|
|
13
|
+
width: 100%;
|
|
14
|
+
|
|
15
|
+
&-content {
|
|
16
|
+
height: 15px;
|
|
17
|
+
}
|
|
18
|
+
&-visible {
|
|
19
|
+
display: block;
|
|
20
|
+
}
|
|
21
|
+
&-native-invisible {
|
|
22
|
+
// Native scrollbar does not take space when it is not always invisible
|
|
23
|
+
// For example it is set as "show when scrolling"
|
|
24
|
+
margin-top: -15px;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -149,28 +149,6 @@ filter search icon.
|
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
151
|
|
|
152
|
-
.sticky-scrollbar {
|
|
153
|
-
height: 15px;
|
|
154
|
-
position: sticky;
|
|
155
|
-
display: none;
|
|
156
|
-
overflow-x: auto;
|
|
157
|
-
overflow-y: hidden;
|
|
158
|
-
bottom: 0;
|
|
159
|
-
width: 100%;
|
|
160
|
-
|
|
161
|
-
&-content {
|
|
162
|
-
height: 15px;
|
|
163
|
-
}
|
|
164
|
-
&-visible {
|
|
165
|
-
display: block;
|
|
166
|
-
}
|
|
167
|
-
&-native-invisible {
|
|
168
|
-
// Native scrollbar does not take space when it is not always invisible
|
|
169
|
-
// For example it is set as "show when scrolling"
|
|
170
|
-
margin-top: -15px;
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
|
|
174
152
|
/*
|
|
175
153
|
The dynamic height dark header needs a background that will cover
|
|
176
154
|
the default white background of the container component.
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"arrow": "
|
|
5
|
-
"arrow-outer": "awsui_arrow-
|
|
6
|
-
"arrow-inner": "awsui_arrow-
|
|
7
|
-
"arrow-position-right-top": "awsui_arrow-position-right-
|
|
8
|
-
"arrow-position-right-bottom": "awsui_arrow-position-right-
|
|
9
|
-
"arrow-position-left-top": "awsui_arrow-position-left-
|
|
10
|
-
"arrow-position-left-bottom": "awsui_arrow-position-left-
|
|
11
|
-
"arrow-position-top-center": "awsui_arrow-position-top-
|
|
12
|
-
"arrow-position-top-responsive": "awsui_arrow-position-top-
|
|
13
|
-
"arrow-position-bottom-center": "awsui_arrow-position-bottom-
|
|
14
|
-
"arrow-position-bottom-responsive": "awsui_arrow-position-bottom-
|
|
15
|
-
"annotation": "
|
|
16
|
-
"next-button": "awsui_next-
|
|
17
|
-
"previous-button": "awsui_previous-
|
|
18
|
-
"finish-button": "awsui_finish-
|
|
19
|
-
"header": "
|
|
20
|
-
"step-counter-content": "awsui_step-counter-
|
|
21
|
-
"content": "
|
|
22
|
-
"description": "
|
|
23
|
-
"actionBar": "
|
|
24
|
-
"stepCounter": "
|
|
25
|
-
"divider": "
|
|
26
|
-
"hotspot": "
|
|
27
|
-
"icon": "
|
|
4
|
+
"arrow": "awsui_arrow_1hpp3_5cg9w_93",
|
|
5
|
+
"arrow-outer": "awsui_arrow-outer_1hpp3_5cg9w_97",
|
|
6
|
+
"arrow-inner": "awsui_arrow-inner_1hpp3_5cg9w_97",
|
|
7
|
+
"arrow-position-right-top": "awsui_arrow-position-right-top_1hpp3_5cg9w_128",
|
|
8
|
+
"arrow-position-right-bottom": "awsui_arrow-position-right-bottom_1hpp3_5cg9w_128",
|
|
9
|
+
"arrow-position-left-top": "awsui_arrow-position-left-top_1hpp3_5cg9w_131",
|
|
10
|
+
"arrow-position-left-bottom": "awsui_arrow-position-left-bottom_1hpp3_5cg9w_131",
|
|
11
|
+
"arrow-position-top-center": "awsui_arrow-position-top-center_1hpp3_5cg9w_134",
|
|
12
|
+
"arrow-position-top-responsive": "awsui_arrow-position-top-responsive_1hpp3_5cg9w_134",
|
|
13
|
+
"arrow-position-bottom-center": "awsui_arrow-position-bottom-center_1hpp3_5cg9w_137",
|
|
14
|
+
"arrow-position-bottom-responsive": "awsui_arrow-position-bottom-responsive_1hpp3_5cg9w_137",
|
|
15
|
+
"annotation": "awsui_annotation_1hpp3_5cg9w_145",
|
|
16
|
+
"next-button": "awsui_next-button_1hpp3_5cg9w_146",
|
|
17
|
+
"previous-button": "awsui_previous-button_1hpp3_5cg9w_147",
|
|
18
|
+
"finish-button": "awsui_finish-button_1hpp3_5cg9w_148",
|
|
19
|
+
"header": "awsui_header_1hpp3_5cg9w_149",
|
|
20
|
+
"step-counter-content": "awsui_step-counter-content_1hpp3_5cg9w_150",
|
|
21
|
+
"content": "awsui_content_1hpp3_5cg9w_151",
|
|
22
|
+
"description": "awsui_description_1hpp3_5cg9w_155",
|
|
23
|
+
"actionBar": "awsui_actionBar_1hpp3_5cg9w_160",
|
|
24
|
+
"stepCounter": "awsui_stepCounter_1hpp3_5cg9w_167",
|
|
25
|
+
"divider": "awsui_divider_1hpp3_5cg9w_171",
|
|
26
|
+
"hotspot": "awsui_hotspot_1hpp3_5cg9w_175",
|
|
27
|
+
"icon": "awsui_icon_1hpp3_5cg9w_215"
|
|
28
28
|
};
|
|
29
29
|
|
|
@@ -90,11 +90,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
90
90
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
91
91
|
SPDX-License-Identifier: Apache-2.0
|
|
92
92
|
*/
|
|
93
|
-
.
|
|
93
|
+
.awsui_arrow_1hpp3_5cg9w_93:not(#\9) {
|
|
94
94
|
width: 20px;
|
|
95
95
|
height: 10px;
|
|
96
96
|
}
|
|
97
|
-
.awsui_arrow-
|
|
97
|
+
.awsui_arrow-outer_1hpp3_5cg9w_97:not(#\9), .awsui_arrow-inner_1hpp3_5cg9w_97:not(#\9) {
|
|
98
98
|
position: absolute;
|
|
99
99
|
overflow: hidden;
|
|
100
100
|
width: 20px;
|
|
@@ -102,7 +102,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
102
102
|
top: 0;
|
|
103
103
|
left: 0;
|
|
104
104
|
}
|
|
105
|
-
.awsui_arrow-
|
|
105
|
+
.awsui_arrow-outer_1hpp3_5cg9w_97:not(#\9)::after, .awsui_arrow-inner_1hpp3_5cg9w_97:not(#\9)::after {
|
|
106
106
|
content: "";
|
|
107
107
|
box-sizing: border-box;
|
|
108
108
|
display: inline-block;
|
|
@@ -115,26 +115,26 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
115
115
|
transform: rotate(45deg);
|
|
116
116
|
transform-origin: 0 100%;
|
|
117
117
|
}
|
|
118
|
-
.awsui_arrow-
|
|
118
|
+
.awsui_arrow-outer_1hpp3_5cg9w_97:not(#\9)::after {
|
|
119
119
|
background-color: var(--color-border-status-info-lqyesl, #0073bb);
|
|
120
120
|
}
|
|
121
|
-
.awsui_arrow-
|
|
121
|
+
.awsui_arrow-inner_1hpp3_5cg9w_97:not(#\9) {
|
|
122
122
|
top: 2px;
|
|
123
123
|
}
|
|
124
|
-
.awsui_arrow-
|
|
124
|
+
.awsui_arrow-inner_1hpp3_5cg9w_97:not(#\9)::after {
|
|
125
125
|
border-radius: 1px 0 0 0;
|
|
126
126
|
background-color: var(--color-background-status-info-y7xysq, #f1faff);
|
|
127
127
|
}
|
|
128
|
-
.awsui_arrow-position-right-
|
|
128
|
+
.awsui_arrow-position-right-top_1hpp3_5cg9w_128 > .awsui_arrow-outer_1hpp3_5cg9w_97:not(#\9)::after, .awsui_arrow-position-right-bottom_1hpp3_5cg9w_128 > .awsui_arrow-outer_1hpp3_5cg9w_97:not(#\9)::after {
|
|
129
129
|
box-shadow: -0.71px 0.71px 4px -2px var(--color-shadow-default-bkdge5, rgba(0, 28, 36, 0.5));
|
|
130
130
|
}
|
|
131
|
-
.awsui_arrow-position-left-
|
|
131
|
+
.awsui_arrow-position-left-top_1hpp3_5cg9w_131 > .awsui_arrow-outer_1hpp3_5cg9w_97:not(#\9)::after, .awsui_arrow-position-left-bottom_1hpp3_5cg9w_131 > .awsui_arrow-outer_1hpp3_5cg9w_97:not(#\9)::after {
|
|
132
132
|
box-shadow: 0.71px -0.71px 4px -2px var(--color-shadow-default-bkdge5, rgba(0, 28, 36, 0.5));
|
|
133
133
|
}
|
|
134
|
-
.awsui_arrow-position-top-
|
|
134
|
+
.awsui_arrow-position-top-center_1hpp3_5cg9w_134 > .awsui_arrow-outer_1hpp3_5cg9w_97:not(#\9)::after, .awsui_arrow-position-top-responsive_1hpp3_5cg9w_134 > .awsui_arrow-outer_1hpp3_5cg9w_97:not(#\9)::after {
|
|
135
135
|
box-shadow: -0.71px -0.71px 4px -2px var(--color-shadow-default-bkdge5, rgba(0, 28, 36, 0.5));
|
|
136
136
|
}
|
|
137
|
-
.awsui_arrow-position-bottom-
|
|
137
|
+
.awsui_arrow-position-bottom-center_1hpp3_5cg9w_137 > .awsui_arrow-outer_1hpp3_5cg9w_97:not(#\9)::after, .awsui_arrow-position-bottom-responsive_1hpp3_5cg9w_137 > .awsui_arrow-outer_1hpp3_5cg9w_97:not(#\9)::after {
|
|
138
138
|
box-shadow: 0.71px 0.71px 4px -2px var(--color-shadow-default-bkdge5, rgba(0, 28, 36, 0.5));
|
|
139
139
|
}
|
|
140
140
|
|
|
@@ -142,37 +142,37 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
142
142
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
143
143
|
SPDX-License-Identifier: Apache-2.0
|
|
144
144
|
*/
|
|
145
|
-
.
|
|
146
|
-
.awsui_next-
|
|
147
|
-
.awsui_previous-
|
|
148
|
-
.awsui_finish-
|
|
149
|
-
.
|
|
150
|
-
.awsui_step-counter-
|
|
151
|
-
.
|
|
145
|
+
.awsui_annotation_1hpp3_5cg9w_145:not(#\9),
|
|
146
|
+
.awsui_next-button_1hpp3_5cg9w_146:not(#\9),
|
|
147
|
+
.awsui_previous-button_1hpp3_5cg9w_147:not(#\9),
|
|
148
|
+
.awsui_finish-button_1hpp3_5cg9w_148:not(#\9),
|
|
149
|
+
.awsui_header_1hpp3_5cg9w_149:not(#\9),
|
|
150
|
+
.awsui_step-counter-content_1hpp3_5cg9w_150:not(#\9),
|
|
151
|
+
.awsui_content_1hpp3_5cg9w_151:not(#\9) {
|
|
152
152
|
/* used in test-utils */
|
|
153
153
|
}
|
|
154
154
|
|
|
155
|
-
.
|
|
155
|
+
.awsui_description_1hpp3_5cg9w_155:not(#\9) {
|
|
156
156
|
overflow: hidden;
|
|
157
157
|
margin-top: var(--space-xxs-xx079q, 4px);
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
-
.
|
|
160
|
+
.awsui_actionBar_1hpp3_5cg9w_160:not(#\9) {
|
|
161
161
|
display: flex;
|
|
162
162
|
justify-content: space-between;
|
|
163
163
|
align-items: center;
|
|
164
164
|
position: relative;
|
|
165
165
|
}
|
|
166
166
|
|
|
167
|
-
.
|
|
167
|
+
.awsui_stepCounter_1hpp3_5cg9w_167:not(#\9) {
|
|
168
168
|
margin-right: 20px;
|
|
169
169
|
}
|
|
170
170
|
|
|
171
|
-
.
|
|
171
|
+
.awsui_divider_1hpp3_5cg9w_171:not(#\9) {
|
|
172
172
|
border-bottom: var(--border-divider-section-width-p0xg84, 1px) solid var(--color-border-divider-default-uqjcpn, #eaeded);
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
.
|
|
175
|
+
.awsui_hotspot_1hpp3_5cg9w_175:not(#\9) {
|
|
176
176
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
177
177
|
border-collapse: separate;
|
|
178
178
|
border-spacing: 0;
|
|
@@ -213,21 +213,21 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
213
213
|
border: none;
|
|
214
214
|
padding: 0;
|
|
215
215
|
cursor: pointer;
|
|
216
|
-
scroll-margin: var(--awsui-content-scroll-margin-
|
|
216
|
+
scroll-margin: var(--awsui-content-scroll-margin-zw2xxa, 40px 0 0 0);
|
|
217
217
|
width: 16px;
|
|
218
218
|
height: 16px;
|
|
219
219
|
}
|
|
220
|
-
.
|
|
220
|
+
.awsui_hotspot_1hpp3_5cg9w_175:not(#\9):focus {
|
|
221
221
|
outline: none;
|
|
222
222
|
}
|
|
223
|
-
body[data-awsui-focus-visible=true] .
|
|
223
|
+
body[data-awsui-focus-visible=true] .awsui_hotspot_1hpp3_5cg9w_175:not(#\9):focus {
|
|
224
224
|
position: relative;
|
|
225
225
|
}
|
|
226
|
-
body[data-awsui-focus-visible=true] .
|
|
226
|
+
body[data-awsui-focus-visible=true] .awsui_hotspot_1hpp3_5cg9w_175:not(#\9):focus {
|
|
227
227
|
outline: 2px dotted transparent;
|
|
228
228
|
outline-offset: calc(2px - 1px);
|
|
229
229
|
}
|
|
230
|
-
body[data-awsui-focus-visible=true] .
|
|
230
|
+
body[data-awsui-focus-visible=true] .awsui_hotspot_1hpp3_5cg9w_175:not(#\9):focus::before {
|
|
231
231
|
content: " ";
|
|
232
232
|
display: block;
|
|
233
233
|
position: absolute;
|
|
@@ -238,13 +238,13 @@ body[data-awsui-focus-visible=true] .awsui_hotspot_1hpp3_1njk2_175:not(#\9):focu
|
|
|
238
238
|
border-radius: var(--border-radius-control-circular-focus-ring-6frgrc, 50%);
|
|
239
239
|
box-shadow: 0 0 0 2px var(--color-border-item-focused-4clyb1, #0073bb);
|
|
240
240
|
}
|
|
241
|
-
.
|
|
241
|
+
.awsui_hotspot_1hpp3_5cg9w_175 > .awsui_icon_1hpp3_5cg9w_215:not(#\9) {
|
|
242
242
|
position: relative;
|
|
243
243
|
stroke: var(--color-text-link-default-0jy39k, #0073bb);
|
|
244
244
|
}
|
|
245
|
-
.
|
|
245
|
+
.awsui_hotspot_1hpp3_5cg9w_175:not(#\9):hover > .awsui_icon_1hpp3_5cg9w_215 {
|
|
246
246
|
stroke: var(--color-text-link-hover-z15m9s, #0073bb);
|
|
247
247
|
}
|
|
248
|
-
.
|
|
248
|
+
.awsui_hotspot_1hpp3_5cg9w_175:not(#\9):active > .awsui_icon_1hpp3_5cg9w_215 {
|
|
249
249
|
stroke: var(--color-text-link-default-0jy39k, #0073bb);
|
|
250
250
|
}
|
|
@@ -2,29 +2,29 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"arrow": "
|
|
6
|
-
"arrow-outer": "awsui_arrow-
|
|
7
|
-
"arrow-inner": "awsui_arrow-
|
|
8
|
-
"arrow-position-right-top": "awsui_arrow-position-right-
|
|
9
|
-
"arrow-position-right-bottom": "awsui_arrow-position-right-
|
|
10
|
-
"arrow-position-left-top": "awsui_arrow-position-left-
|
|
11
|
-
"arrow-position-left-bottom": "awsui_arrow-position-left-
|
|
12
|
-
"arrow-position-top-center": "awsui_arrow-position-top-
|
|
13
|
-
"arrow-position-top-responsive": "awsui_arrow-position-top-
|
|
14
|
-
"arrow-position-bottom-center": "awsui_arrow-position-bottom-
|
|
15
|
-
"arrow-position-bottom-responsive": "awsui_arrow-position-bottom-
|
|
16
|
-
"annotation": "
|
|
17
|
-
"next-button": "awsui_next-
|
|
18
|
-
"previous-button": "awsui_previous-
|
|
19
|
-
"finish-button": "awsui_finish-
|
|
20
|
-
"header": "
|
|
21
|
-
"step-counter-content": "awsui_step-counter-
|
|
22
|
-
"content": "
|
|
23
|
-
"description": "
|
|
24
|
-
"actionBar": "
|
|
25
|
-
"stepCounter": "
|
|
26
|
-
"divider": "
|
|
27
|
-
"hotspot": "
|
|
28
|
-
"icon": "
|
|
5
|
+
"arrow": "awsui_arrow_1hpp3_5cg9w_93",
|
|
6
|
+
"arrow-outer": "awsui_arrow-outer_1hpp3_5cg9w_97",
|
|
7
|
+
"arrow-inner": "awsui_arrow-inner_1hpp3_5cg9w_97",
|
|
8
|
+
"arrow-position-right-top": "awsui_arrow-position-right-top_1hpp3_5cg9w_128",
|
|
9
|
+
"arrow-position-right-bottom": "awsui_arrow-position-right-bottom_1hpp3_5cg9w_128",
|
|
10
|
+
"arrow-position-left-top": "awsui_arrow-position-left-top_1hpp3_5cg9w_131",
|
|
11
|
+
"arrow-position-left-bottom": "awsui_arrow-position-left-bottom_1hpp3_5cg9w_131",
|
|
12
|
+
"arrow-position-top-center": "awsui_arrow-position-top-center_1hpp3_5cg9w_134",
|
|
13
|
+
"arrow-position-top-responsive": "awsui_arrow-position-top-responsive_1hpp3_5cg9w_134",
|
|
14
|
+
"arrow-position-bottom-center": "awsui_arrow-position-bottom-center_1hpp3_5cg9w_137",
|
|
15
|
+
"arrow-position-bottom-responsive": "awsui_arrow-position-bottom-responsive_1hpp3_5cg9w_137",
|
|
16
|
+
"annotation": "awsui_annotation_1hpp3_5cg9w_145",
|
|
17
|
+
"next-button": "awsui_next-button_1hpp3_5cg9w_146",
|
|
18
|
+
"previous-button": "awsui_previous-button_1hpp3_5cg9w_147",
|
|
19
|
+
"finish-button": "awsui_finish-button_1hpp3_5cg9w_148",
|
|
20
|
+
"header": "awsui_header_1hpp3_5cg9w_149",
|
|
21
|
+
"step-counter-content": "awsui_step-counter-content_1hpp3_5cg9w_150",
|
|
22
|
+
"content": "awsui_content_1hpp3_5cg9w_151",
|
|
23
|
+
"description": "awsui_description_1hpp3_5cg9w_155",
|
|
24
|
+
"actionBar": "awsui_actionBar_1hpp3_5cg9w_160",
|
|
25
|
+
"stepCounter": "awsui_stepCounter_1hpp3_5cg9w_167",
|
|
26
|
+
"divider": "awsui_divider_1hpp3_5cg9w_171",
|
|
27
|
+
"hotspot": "awsui_hotspot_1hpp3_5cg9w_175",
|
|
28
|
+
"icon": "awsui_icon_1hpp3_5cg9w_215"
|
|
29
29
|
};
|
|
30
30
|
|
|
@@ -80,13 +80,6 @@ export interface DrawerItem {
|
|
|
80
80
|
id: string;
|
|
81
81
|
}>;
|
|
82
82
|
}
|
|
83
|
-
export interface SizeControlProps {
|
|
84
|
-
position: 'side';
|
|
85
|
-
splitPanelRef?: React.RefObject<HTMLDivElement>;
|
|
86
|
-
handleRef?: React.RefObject<HTMLDivElement>;
|
|
87
|
-
setSidePanelWidth: (width: number) => void;
|
|
88
|
-
setBottomPanelHeight: (height: number) => void;
|
|
89
|
-
}
|
|
90
83
|
export interface InternalDrawerProps {
|
|
91
84
|
drawers?: {
|
|
92
85
|
items: Array<DrawerItem>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.d.ts","sourceRoot":"lib/default/","sources":["app-layout/drawer/interfaces.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AACtD,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAElE,OAAO,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAE3E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AM,CAAC;KACpB,CAAC;CACH;AAED,MAAM,WAAW,oBAAoB;IACnC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,OAAO,EAAE;QACP,QAAQ,CAAC,EAAE,SAAS,CAAC,IAAI,CAAC;QAC1B,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;KAC3B,CAAC;IACF,UAAU,EAAE,oBAAoB,CAAC;IACjC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,yBAAyB,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,EAAE,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACpE;AAED,MAAM,WAAW,mBAAmB;IAClC,OAAO,CAAC,EAAE;QACR,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;QACzB,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,QAAQ,CAAC,EAAE,yBAAyB,CAAC,MAAM,CAAC,CAAC;QAC7C,QAAQ,CAAC,EAAE,yBAAyB,CAAC;YAAE,IAAI,EAAE,MAAM,CAAC;YAAC,EAAE,EAAE,MAAM,CAAA;SAAE,CAAC,CAAC;QACnE,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB,CAAC;CACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.js","sourceRoot":"lib/default/","sources":["app-layout/drawer/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport { ButtonProps } from '../../button/interfaces';\nimport { togglesConfig } from '../toggles';\nimport { AppLayoutProps } from '../interfaces';\nimport { IconProps } from '../../icon/interfaces';\nimport { NonCancelableEventHandler } from '../../internal/events';\n\nimport { DrawerFocusControlRefs } from '../utils/use-drawer-focus-control';\n\nexport interface DesktopDrawerProps {\n contentClassName: string;\n toggleClassName: string;\n closeClassName: string;\n toggleRefs: {\n toggle: React.Ref<ButtonProps.Ref>;\n close: React.Ref<ButtonProps.Ref>;\n };\n width: number;\n topOffset: number | undefined;\n bottomOffset: number | undefined;\n ariaLabels: AppLayoutProps.Labels | undefined;\n drawersAriaLabels?: DrawerItemAriaLabels | undefined;\n children: React.ReactNode;\n type: keyof typeof togglesConfig;\n isMobile: boolean;\n isOpen: boolean;\n onToggle: (isOpen: boolean) => void;\n onClick?: (event: React.MouseEvent) => void;\n onLoseFocus?: (event: React.FocusEvent) => void;\n drawers?: {\n items: Array<DrawerItem>;\n activeDrawerId: string | undefined;\n onChange: (changeDetail: { activeDrawerId: string | undefined }) => void;\n };\n resizeHandle?: React.ReactNode;\n}\n\nexport interface ResizableDrawerProps extends DesktopDrawerProps {\n activeDrawer?: DrawerItem;\n onResize: (resizeDetail: { size: number; id: string }) => void;\n size: number;\n getMaxWidth: () => number;\n refs: DrawerFocusControlRefs;\n}\n\nexport interface DrawerTriggersBarProps {\n contentClassName: string;\n toggleClassName: string;\n topOffset: number | undefined;\n bottomOffset: number | undefined;\n isMobile: boolean;\n drawers?: {\n items: Array<DrawerItem>;\n activeDrawerId?: string;\n onChange: (changeDetail: { activeDrawerId: string | undefined }) => void;\n ariaLabel?: string;\n };\n}\n\nexport interface DrawerItemAriaLabels {\n content?: string;\n closeButton?: string;\n triggerButton?: string;\n resizeHandle?: string;\n}\n\nexport interface DrawerItem {\n id: string;\n content: React.ReactNode;\n trigger: {\n iconName?: IconProps.Name;\n iconSvg?: React.ReactNode;\n };\n ariaLabels: DrawerItemAriaLabels;\n resizable?: boolean;\n defaultSize?: number;\n onResize?: NonCancelableEventHandler<{ size: number; id: string }>;\n}\n\nexport interface
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"lib/default/","sources":["app-layout/drawer/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport { ButtonProps } from '../../button/interfaces';\nimport { togglesConfig } from '../toggles';\nimport { AppLayoutProps } from '../interfaces';\nimport { IconProps } from '../../icon/interfaces';\nimport { NonCancelableEventHandler } from '../../internal/events';\n\nimport { DrawerFocusControlRefs } from '../utils/use-drawer-focus-control';\n\nexport interface DesktopDrawerProps {\n contentClassName: string;\n toggleClassName: string;\n closeClassName: string;\n toggleRefs: {\n toggle: React.Ref<ButtonProps.Ref>;\n close: React.Ref<ButtonProps.Ref>;\n };\n width: number;\n topOffset: number | undefined;\n bottomOffset: number | undefined;\n ariaLabels: AppLayoutProps.Labels | undefined;\n drawersAriaLabels?: DrawerItemAriaLabels | undefined;\n children: React.ReactNode;\n type: keyof typeof togglesConfig;\n isMobile: boolean;\n isOpen: boolean;\n onToggle: (isOpen: boolean) => void;\n onClick?: (event: React.MouseEvent) => void;\n onLoseFocus?: (event: React.FocusEvent) => void;\n drawers?: {\n items: Array<DrawerItem>;\n activeDrawerId: string | undefined;\n onChange: (changeDetail: { activeDrawerId: string | undefined }) => void;\n };\n resizeHandle?: React.ReactNode;\n}\n\nexport interface ResizableDrawerProps extends DesktopDrawerProps {\n activeDrawer?: DrawerItem;\n onResize: (resizeDetail: { size: number; id: string }) => void;\n size: number;\n getMaxWidth: () => number;\n refs: DrawerFocusControlRefs;\n}\n\nexport interface DrawerTriggersBarProps {\n contentClassName: string;\n toggleClassName: string;\n topOffset: number | undefined;\n bottomOffset: number | undefined;\n isMobile: boolean;\n drawers?: {\n items: Array<DrawerItem>;\n activeDrawerId?: string;\n onChange: (changeDetail: { activeDrawerId: string | undefined }) => void;\n ariaLabel?: string;\n };\n}\n\nexport interface DrawerItemAriaLabels {\n content?: string;\n closeButton?: string;\n triggerButton?: string;\n resizeHandle?: string;\n}\n\nexport interface DrawerItem {\n id: string;\n content: React.ReactNode;\n trigger: {\n iconName?: IconProps.Name;\n iconSvg?: React.ReactNode;\n };\n ariaLabels: DrawerItemAriaLabels;\n resizable?: boolean;\n defaultSize?: number;\n onResize?: NonCancelableEventHandler<{ size: number; id: string }>;\n}\n\nexport interface InternalDrawerProps {\n drawers?: {\n items: Array<DrawerItem>;\n activeDrawerId?: string;\n onChange?: NonCancelableEventHandler<string>;\n onResize?: NonCancelableEventHandler<{ size: number; id: string }>;\n ariaLabel?: string;\n };\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resizable-drawer.d.ts","sourceRoot":"lib/default/","sources":["app-layout/drawer/resizable-drawer.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"resizable-drawer.d.ts","sourceRoot":"lib/default/","sources":["app-layout/drawer/resizable-drawer.tsx"],"names":[],"mappings":";AAcA,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAEpD,eAAO,MAAM,eAAe,kEAOzB,oBAAoB,gBAsEtB,CAAC"}
|
|
@@ -4,8 +4,8 @@ import { __rest } from "tslib";
|
|
|
4
4
|
import clsx from 'clsx';
|
|
5
5
|
import React, { useEffect, useState, useRef } from 'react';
|
|
6
6
|
import { getLimitedValue } from '../../split-panel/utils/size-utils';
|
|
7
|
-
import { usePointerEvents } from '
|
|
8
|
-
import { useKeyboardEvents } from '
|
|
7
|
+
import { usePointerEvents } from '../utils/use-pointer-events';
|
|
8
|
+
import { useKeyboardEvents } from '../utils/use-keyboard-events';
|
|
9
9
|
import { Drawer } from './index';
|
|
10
10
|
import testutilStyles from '../test-classes/styles.css.js';
|
|
11
11
|
import ResizeHandler from '../../split-panel/icons/resize-handler';
|
|
@@ -38,7 +38,7 @@ export const ResizableDrawer = (_a) => {
|
|
|
38
38
|
const drawerRefObject = useRef(null);
|
|
39
39
|
const sizeControlProps = {
|
|
40
40
|
position,
|
|
41
|
-
|
|
41
|
+
panelRef: drawerRefObject,
|
|
42
42
|
handleRef: refs.slider,
|
|
43
43
|
setSidePanelWidth,
|
|
44
44
|
setBottomPanelHeight,
|