@cloudscape-design/components 3.0.866 → 3.0.867
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/app-layout/drawer/resizable-drawer.d.ts.map +1 -1
- package/app-layout/drawer/resizable-drawer.js +3 -2
- package/app-layout/drawer/resizable-drawer.js.map +1 -1
- package/app-layout/utils/use-focus-control.d.ts +2 -1
- package/app-layout/utils/use-focus-control.d.ts.map +1 -1
- package/app-layout/utils/use-focus-control.js +2 -0
- package/app-layout/utils/use-focus-control.js.map +1 -1
- package/app-layout/utils/use-resize.d.ts.map +1 -1
- package/app-layout/utils/use-resize.js +3 -2
- package/app-layout/utils/use-resize.js.map +1 -1
- package/app-layout/utils/use-split-panel-focus-control.d.ts +2 -1
- package/app-layout/utils/use-split-panel-focus-control.d.ts.map +1 -1
- package/app-layout/utils/use-split-panel-focus-control.js +1 -0
- package/app-layout/utils/use-split-panel-focus-control.js.map +1 -1
- package/app-layout/visual-refresh-toolbar/drawer/global-drawer.d.ts.map +1 -1
- package/app-layout/visual-refresh-toolbar/drawer/global-drawer.js +3 -2
- package/app-layout/visual-refresh-toolbar/drawer/global-drawer.js.map +1 -1
- package/app-layout/visual-refresh-toolbar/drawer/local-drawer.d.ts.map +1 -1
- package/app-layout/visual-refresh-toolbar/drawer/local-drawer.js +3 -2
- package/app-layout/visual-refresh-toolbar/drawer/local-drawer.js.map +1 -1
- package/attribute-editor/interfaces.d.ts +7 -0
- package/attribute-editor/interfaces.d.ts.map +1 -1
- package/attribute-editor/interfaces.js.map +1 -1
- package/attribute-editor/internal.d.ts.map +1 -1
- package/attribute-editor/internal.js +2 -2
- package/attribute-editor/internal.js.map +1 -1
- package/collection-preferences/content-display/content-display-option.d.ts.map +1 -1
- package/collection-preferences/content-display/content-display-option.js +2 -1
- package/collection-preferences/content-display/content-display-option.js.map +1 -1
- package/collection-preferences/content-display/styles.css.js +11 -10
- package/collection-preferences/content-display/styles.scoped.css +14 -10
- package/collection-preferences/content-display/styles.selectors.js +11 -10
- package/collection-preferences/index.d.ts.map +1 -1
- package/collection-preferences/index.js +1 -1
- package/collection-preferences/index.js.map +1 -1
- package/collection-preferences/styles.css.js +38 -37
- package/collection-preferences/styles.scoped.css +42 -38
- package/collection-preferences/styles.selectors.js +38 -37
- package/internal/components/drag-handle/index.d.ts +4 -8
- package/internal/components/drag-handle/index.d.ts.map +1 -1
- package/internal/components/drag-handle/index.js +23 -5
- package/internal/components/drag-handle/index.js.map +1 -1
- package/internal/components/drag-handle/interfaces.d.ts +25 -0
- package/internal/components/drag-handle/interfaces.d.ts.map +1 -0
- package/internal/components/drag-handle/interfaces.js +4 -0
- package/internal/components/drag-handle/interfaces.js.map +1 -0
- package/internal/components/drag-handle/resize-icon.d.ts +7 -0
- package/internal/components/drag-handle/resize-icon.d.ts.map +1 -0
- package/internal/components/{panel-resize-handle/icon.js → drag-handle/resize-icon.js} +5 -3
- package/internal/components/drag-handle/resize-icon.js.map +1 -0
- package/internal/components/drag-handle/styles.css.js +12 -3
- package/internal/components/drag-handle/styles.scoped.css +51 -20
- package/internal/components/drag-handle/styles.selectors.js +12 -3
- package/internal/components/options-list/index.js +1 -1
- package/internal/components/options-list/index.js.map +1 -1
- package/internal/components/panel-resize-handle/index.d.ts +4 -2
- package/internal/components/panel-resize-handle/index.d.ts.map +1 -1
- package/internal/components/panel-resize-handle/index.js +8 -5
- package/internal/components/panel-resize-handle/index.js.map +1 -1
- package/internal/components/panel-resize-handle/styles.css.js +2 -5
- package/internal/components/panel-resize-handle/styles.scoped.css +3 -191
- package/internal/components/panel-resize-handle/styles.selectors.js +2 -5
- package/internal/components/portal/index.d.ts.map +1 -1
- package/internal/components/portal/index.js.map +1 -1
- package/internal/environment.js +1 -1
- package/internal/environment.json +1 -1
- package/internal/events/index.d.ts +1 -1
- package/internal/events/index.d.ts.map +1 -1
- package/internal/events/index.js.map +1 -1
- package/internal/manifest.json +1 -1
- package/package.json +1 -1
- package/popover/internal.js +5 -4
- package/popover/internal.js.map +1 -1
- package/prompt-input/internal.d.ts.map +1 -1
- package/prompt-input/internal.js +1 -3
- package/prompt-input/internal.js.map +1 -1
- package/split-panel/implementation.d.ts.map +1 -1
- package/split-panel/implementation.js +7 -6
- package/split-panel/implementation.js.map +1 -1
- package/tabs/styles.css.js +28 -28
- package/tabs/styles.scoped.css +50 -49
- package/tabs/styles.selectors.js +28 -28
- package/internal/components/panel-resize-handle/icon.d.ts +0 -5
- package/internal/components/panel-resize-handle/icon.d.ts.map +0 -1
- package/internal/components/panel-resize-handle/icon.js.map +0 -1
|
@@ -1,17 +1,35 @@
|
|
|
1
1
|
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
-
import React from 'react';
|
|
3
|
+
import React, { forwardRef, useRef } from 'react';
|
|
4
4
|
import clsx from 'clsx';
|
|
5
5
|
import InternalIcon from '../../../icon/internal';
|
|
6
|
+
import useForwardFocus from '../../hooks/forward-focus';
|
|
7
|
+
import { ResizeIcon } from './resize-icon';
|
|
6
8
|
import styles from './styles.css.js';
|
|
7
|
-
|
|
9
|
+
const DragHandle = forwardRef(({ variant = 'drag-indicator', size = 'normal', ariaLabel, ariaDescribedby, ariaValue, disabled, onPointerDown, onKeyDown, className, }, ref) => {
|
|
10
|
+
const dragHandleRefObject = useRef(null);
|
|
11
|
+
useForwardFocus(ref, dragHandleRefObject);
|
|
12
|
+
const iconProps = (() => {
|
|
13
|
+
const shared = { variant: disabled ? 'disabled' : undefined, size };
|
|
14
|
+
switch (variant) {
|
|
15
|
+
case 'drag-indicator':
|
|
16
|
+
return Object.assign(Object.assign({}, shared), { name: 'drag-indicator' });
|
|
17
|
+
case 'resize-area':
|
|
18
|
+
return Object.assign(Object.assign({}, shared), { name: 'resize-area' });
|
|
19
|
+
case 'resize-horizontal':
|
|
20
|
+
return Object.assign(Object.assign({}, shared), { svg: React.createElement(ResizeIcon, { variant: "horizontal" }) });
|
|
21
|
+
case 'resize-vertical':
|
|
22
|
+
return Object.assign(Object.assign({}, shared), { svg: React.createElement(ResizeIcon, { variant: "vertical" }) });
|
|
23
|
+
}
|
|
24
|
+
})();
|
|
8
25
|
return (
|
|
9
26
|
// We need to use a div with button role instead of a button
|
|
10
27
|
// so that Safari will focus on it when clicking it.
|
|
11
28
|
// (See https://bugs.webkit.org/show_bug.cgi?id=22261)
|
|
12
29
|
// Otherwise, we can't reliably catch keyboard events coming from the handle
|
|
13
30
|
// when it is being dragged.
|
|
14
|
-
React.createElement("div", { role:
|
|
15
|
-
React.createElement(InternalIcon, {
|
|
16
|
-
}
|
|
31
|
+
React.createElement("div", { ref: dragHandleRefObject, role: ariaValue ? 'slider' : 'button', tabIndex: 0, className: clsx(className, styles.handle, styles[`handle-${variant}`], styles[`handle-size-${size}`], disabled && styles['handle-disabled']), "aria-label": ariaLabel, "aria-describedby": ariaDescribedby, "aria-disabled": disabled, "aria-valuemax": ariaValue === null || ariaValue === void 0 ? void 0 : ariaValue.valueMax, "aria-valuemin": ariaValue === null || ariaValue === void 0 ? void 0 : ariaValue.valueMin, "aria-valuenow": ariaValue === null || ariaValue === void 0 ? void 0 : ariaValue.valueNow, onPointerDown: onPointerDown, onKeyDown: onKeyDown },
|
|
32
|
+
React.createElement(InternalIcon, Object.assign({}, iconProps))));
|
|
33
|
+
});
|
|
34
|
+
export default DragHandle;
|
|
17
35
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/internal/components/drag-handle/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/internal/components/drag-handle/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,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E,mBAAmB,EACxB,IAAI,EAAE,SAAS,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,EACrC,QAAQ,EAAE,CAAC,EACX,SAAS,EAAE,IAAI,CACb,SAAS,EACT,MAAM,CAAC,MAAM,EACb,MAAM,CAAC,UAAU,OAAO,EAAE,CAAC,EAC3B,MAAM,CAAC,eAAe,IAAI,EAAE,CAAC,EAC7B,QAAQ,IAAI,MAAM,CAAC,iBAAiB,CAAC,CACtC,gBACW,SAAS,sBACH,eAAe,mBAClB,QAAQ,mBACR,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,QAAQ,mBACnB,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,QAAQ,mBACnB,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAE,QAAQ,EAClC,aAAa,EAAE,aAAa,EAC5B,SAAS,EAAE,SAAS;QAEpB,oBAAC,YAAY,oBAAK,SAAS,EAAI,CAC3B,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,eAAe,UAAU,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { forwardRef, useRef } from 'react';\nimport clsx from 'clsx';\n\nimport { IconProps } from '../../../icon/interfaces';\nimport InternalIcon from '../../../icon/internal';\nimport useForwardFocus from '../../hooks/forward-focus';\nimport { DragHandleProps } from './interfaces';\nimport { ResizeIcon } from './resize-icon';\n\nimport styles from './styles.css.js';\n\nexport { DragHandleProps };\n\nconst DragHandle = forwardRef(\n (\n {\n variant = 'drag-indicator',\n size = 'normal',\n ariaLabel,\n ariaDescribedby,\n ariaValue,\n disabled,\n onPointerDown,\n onKeyDown,\n className,\n }: DragHandleProps,\n ref: React.Ref<DragHandleProps.Ref>\n ) => {\n const dragHandleRefObject = useRef<HTMLDivElement>(null);\n\n useForwardFocus(ref, dragHandleRefObject);\n\n const iconProps: IconProps = (() => {\n const shared = { variant: disabled ? ('disabled' as const) : undefined, size };\n switch (variant) {\n case 'drag-indicator':\n return { ...shared, name: 'drag-indicator' };\n case 'resize-area':\n return { ...shared, name: 'resize-area' };\n case 'resize-horizontal':\n return { ...shared, svg: <ResizeIcon variant=\"horizontal\" /> };\n case 'resize-vertical':\n return { ...shared, svg: <ResizeIcon variant=\"vertical\" /> };\n }\n })();\n\n return (\n // We need to use a div with button role instead of a button\n // so that Safari will focus on it when clicking it.\n // (See https://bugs.webkit.org/show_bug.cgi?id=22261)\n // Otherwise, we can't reliably catch keyboard events coming from the handle\n // when it is being dragged.\n <div\n ref={dragHandleRefObject}\n role={ariaValue ? 'slider' : 'button'}\n tabIndex={0}\n className={clsx(\n className,\n styles.handle,\n styles[`handle-${variant}`],\n styles[`handle-size-${size}`],\n disabled && styles['handle-disabled']\n )}\n aria-label={ariaLabel}\n aria-describedby={ariaDescribedby}\n aria-disabled={disabled}\n aria-valuemax={ariaValue?.valueMax}\n aria-valuemin={ariaValue?.valueMin}\n aria-valuenow={ariaValue?.valueNow}\n onPointerDown={onPointerDown}\n onKeyDown={onKeyDown}\n >\n <InternalIcon {...iconProps} />\n </div>\n );\n }\n);\n\nexport default DragHandle;\n"]}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface DragHandleProps {
|
|
3
|
+
variant?: DragHandleProps.Variant;
|
|
4
|
+
size?: DragHandleProps.Size;
|
|
5
|
+
ariaLabel: string;
|
|
6
|
+
ariaDescribedby?: string;
|
|
7
|
+
ariaValue?: DragHandleProps.AriaValue;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
onPointerDown?: React.PointerEventHandler;
|
|
10
|
+
onKeyDown?: React.KeyboardEventHandler;
|
|
11
|
+
className?: string;
|
|
12
|
+
}
|
|
13
|
+
export declare namespace DragHandleProps {
|
|
14
|
+
type Variant = 'drag-indicator' | 'resize-area' | 'resize-horizontal' | 'resize-vertical';
|
|
15
|
+
type Size = 'small' | 'normal';
|
|
16
|
+
interface AriaValue {
|
|
17
|
+
valueMin: number;
|
|
18
|
+
valueMax: number;
|
|
19
|
+
valueNow: number;
|
|
20
|
+
}
|
|
21
|
+
interface Ref {
|
|
22
|
+
focus(options?: FocusOptions): void;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=interfaces.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/drag-handle/interfaces.ts"],"names":[],"mappings":";AAGA,MAAM,WAAW,eAAe;IAC9B,OAAO,CAAC,EAAE,eAAe,CAAC,OAAO,CAAC;IAClC,IAAI,CAAC,EAAE,eAAe,CAAC,IAAI,CAAC;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,EAAE,eAAe,CAAC,SAAS,CAAC;IACtC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC;IAC1C,SAAS,CAAC,EAAE,KAAK,CAAC,oBAAoB,CAAC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,yBAAiB,eAAe,CAAC;IAC/B,KAAY,OAAO,GAAG,gBAAgB,GAAG,aAAa,GAAG,mBAAmB,GAAG,iBAAiB,CAAC;IAEjG,KAAY,IAAI,GAAG,OAAO,GAAG,QAAQ,CAAC;IAEtC,UAAiB,SAAS;QACxB,QAAQ,EAAE,MAAM,CAAC;QACjB,QAAQ,EAAE,MAAM,CAAC;QACjB,QAAQ,EAAE,MAAM,CAAC;KAClB;IAED,UAAiB,GAAG;QAClB,KAAK,CAAC,OAAO,CAAC,EAAE,YAAY,GAAG,IAAI,CAAC;KACrC;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../../src/internal/components/drag-handle/interfaces.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nexport interface DragHandleProps {\n variant?: DragHandleProps.Variant;\n size?: DragHandleProps.Size;\n ariaLabel: string;\n ariaDescribedby?: string;\n ariaValue?: DragHandleProps.AriaValue;\n disabled?: boolean;\n onPointerDown?: React.PointerEventHandler;\n onKeyDown?: React.KeyboardEventHandler;\n className?: string;\n}\n\nexport namespace DragHandleProps {\n export type Variant = 'drag-indicator' | 'resize-area' | 'resize-horizontal' | 'resize-vertical';\n\n export type Size = 'small' | 'normal';\n\n export interface AriaValue {\n valueMin: number;\n valueMax: number;\n valueNow: number;\n }\n\n export interface Ref {\n focus(options?: FocusOptions): void;\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resize-icon.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/drag-handle/resize-icon.tsx"],"names":[],"mappings":";AAQA,UAAU,eAAe;IACvB,OAAO,EAAE,YAAY,GAAG,UAAU,CAAC;CACpC;AAED,wBAAgB,UAAU,CAAC,EAAE,OAAO,EAAE,EAAE,eAAe,eAetD"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
3
|
import React from 'react';
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
import clsx from 'clsx';
|
|
5
|
+
import styles from './styles.css.js';
|
|
6
|
+
export function ResizeIcon({ variant }) {
|
|
7
|
+
return (React.createElement("svg", { focusable: false, className: clsx(styles['resize-icon'], styles[`resize-icon-${variant}`]), xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", viewBox: "0 0 16 16", "aria-hidden": true },
|
|
6
8
|
React.createElement("line", { strokeWidth: "2", x1: "2", y1: "5", x2: "14", y2: "5" }),
|
|
7
9
|
React.createElement("line", { strokeWidth: "2", x1: "14", y1: "10", x2: "2", y2: "10" })));
|
|
8
10
|
}
|
|
9
|
-
//# sourceMappingURL=icon.js.map
|
|
11
|
+
//# sourceMappingURL=resize-icon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resize-icon.js","sourceRoot":"","sources":["../../../../../src/internal/components/drag-handle/resize-icon.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AAEtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAMrC,MAAM,UAAU,UAAU,CAAC,EAAE,OAAO,EAAmB;IACrD,OAAO,CACL,6BACE,SAAS,EAAE,KAAK,EAChB,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC,eAAe,OAAO,EAAE,CAAC,CAAC,EACxE,KAAK,EAAC,4BAA4B,EAClC,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,OAAO,EAAC,WAAW,iBACN,IAAI;QAEjB,8BAAM,WAAW,EAAC,GAAG,EAAC,EAAE,EAAC,GAAG,EAAC,EAAE,EAAC,GAAG,EAAC,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,GAAG,GAAG;QACrD,8BAAM,WAAW,EAAC,GAAG,EAAC,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,GAAG,EAAC,EAAE,EAAC,IAAI,GAAG,CACnD,CACP,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport React from 'react';\nimport clsx from 'clsx';\n\nimport styles from './styles.css.js';\n\ninterface ResizeIconProps {\n variant: 'horizontal' | 'vertical';\n}\n\nexport function ResizeIcon({ variant }: ResizeIconProps) {\n return (\n <svg\n focusable={false}\n className={clsx(styles['resize-icon'], styles[`resize-icon-${variant}`])}\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"16\"\n height=\"16\"\n viewBox=\"0 0 16 16\"\n aria-hidden={true}\n >\n <line strokeWidth=\"2\" x1=\"2\" y1=\"5\" x2=\"14\" y2=\"5\" />\n <line strokeWidth=\"2\" x1=\"14\" y1=\"10\" x2=\"2\" y2=\"10\" />\n </svg>\n );\n}\n"]}
|
|
@@ -1,8 +1,17 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"handle": "
|
|
5
|
-
"
|
|
6
|
-
"handle-
|
|
4
|
+
"handle": "awsui_handle_sdha6_1q7hk_145",
|
|
5
|
+
"handle-size-normal": "awsui_handle-size-normal_sdha6_1q7hk_153",
|
|
6
|
+
"handle-size-small": "awsui_handle-size-small_sdha6_1q7hk_157",
|
|
7
|
+
"handle-drag-indicator": "awsui_handle-drag-indicator_sdha6_1q7hk_160",
|
|
8
|
+
"handle-resize-area": "awsui_handle-resize-area_sdha6_1q7hk_166",
|
|
9
|
+
"handle-resize-horizontal": "awsui_handle-resize-horizontal_sdha6_1q7hk_173",
|
|
10
|
+
"handle-resize-vertical": "awsui_handle-resize-vertical_sdha6_1q7hk_176",
|
|
11
|
+
"handle-disabled": "awsui_handle-disabled_sdha6_1q7hk_179",
|
|
12
|
+
"hide-focus": "awsui_hide-focus_sdha6_1q7hk_189",
|
|
13
|
+
"resize-icon": "awsui_resize-icon_sdha6_1q7hk_211",
|
|
14
|
+
"resize-icon-vertical": "awsui_resize-icon-vertical_sdha6_1q7hk_217",
|
|
15
|
+
"resize-icon-horizontal": "awsui_resize-icon-horizontal_sdha6_1q7hk_221"
|
|
7
16
|
};
|
|
8
17
|
|
|
@@ -142,32 +142,60 @@
|
|
|
142
142
|
*/
|
|
143
143
|
/* Style used for links in slots/components that are text heavy, to help links stand out among
|
|
144
144
|
surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */
|
|
145
|
-
.
|
|
145
|
+
.awsui_handle_sdha6_1q7hk_145:not(#\9) {
|
|
146
146
|
-webkit-appearance: none;
|
|
147
147
|
appearance: none;
|
|
148
|
+
color: var(--color-text-interactive-default-tkx8fe, #424650);
|
|
148
149
|
background: transparent;
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
150
|
+
inline-size: -moz-fit-content;
|
|
151
|
+
inline-size: fit-content;
|
|
152
|
+
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
153
|
+
touch-action: none;
|
|
154
|
+
}
|
|
155
|
+
.awsui_handle-size-normal_sdha6_1q7hk_153:not(#\9) {
|
|
156
|
+
block-size: var(--line-height-body-m-30ar75, 20px);
|
|
152
157
|
padding-inline: var(--space-scaled-xxxs-27y4hv, 2px);
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
158
|
+
}
|
|
159
|
+
.awsui_handle-size-small_sdha6_1q7hk_157:not(#\9) {
|
|
160
|
+
block-size: var(--line-height-body-s-7zv1j5, 16px);
|
|
161
|
+
}
|
|
162
|
+
.awsui_handle-drag-indicator_sdha6_1q7hk_160:not(#\9) {
|
|
156
163
|
cursor: grab;
|
|
164
|
+
}
|
|
165
|
+
.awsui_handle-drag-indicator_sdha6_1q7hk_160:not(#\9):active {
|
|
166
|
+
cursor: grabbing;
|
|
167
|
+
}
|
|
168
|
+
.awsui_handle-resize-area_sdha6_1q7hk_166:not(#\9) {
|
|
169
|
+
cursor: nwse-resize;
|
|
157
170
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
158
|
-
touch-action: none;
|
|
159
171
|
}
|
|
160
|
-
.
|
|
172
|
+
.awsui_handle-resize-area_sdha6_1q7hk_166:not(#\9):dir(rtl) {
|
|
173
|
+
cursor: nesw-resize;
|
|
174
|
+
}
|
|
175
|
+
.awsui_handle-resize-horizontal_sdha6_1q7hk_173:not(#\9) {
|
|
176
|
+
cursor: ew-resize;
|
|
177
|
+
}
|
|
178
|
+
.awsui_handle-resize-vertical_sdha6_1q7hk_176:not(#\9) {
|
|
179
|
+
cursor: ns-resize;
|
|
180
|
+
}
|
|
181
|
+
.awsui_handle-disabled_sdha6_1q7hk_179:not(#\9) {
|
|
182
|
+
cursor: default;
|
|
183
|
+
}
|
|
184
|
+
.awsui_handle_sdha6_1q7hk_145:not(#\9):hover {
|
|
161
185
|
color: var(--color-text-interactive-hover-f9gqs8, #0f141a);
|
|
162
186
|
}
|
|
163
|
-
|
|
187
|
+
.awsui_handle_sdha6_1q7hk_145:not(#\9):focus {
|
|
188
|
+
outline: none;
|
|
189
|
+
text-decoration: none;
|
|
190
|
+
}
|
|
191
|
+
body[data-awsui-focus-visible=true] .awsui_handle_sdha6_1q7hk_145:not(#\9):focus:not(.awsui_hide-focus_sdha6_1q7hk_189) {
|
|
164
192
|
position: relative;
|
|
165
193
|
}
|
|
166
|
-
body[data-awsui-focus-visible=true] .
|
|
194
|
+
body[data-awsui-focus-visible=true] .awsui_handle_sdha6_1q7hk_145:not(#\9):focus:not(.awsui_hide-focus_sdha6_1q7hk_189) {
|
|
167
195
|
outline: 2px dotted transparent;
|
|
168
196
|
outline-offset: calc(0px - 1px);
|
|
169
197
|
}
|
|
170
|
-
body[data-awsui-focus-visible=true] .
|
|
198
|
+
body[data-awsui-focus-visible=true] .awsui_handle_sdha6_1q7hk_145:not(#\9):focus:not(.awsui_hide-focus_sdha6_1q7hk_189)::before {
|
|
171
199
|
content: " ";
|
|
172
200
|
display: block;
|
|
173
201
|
position: absolute;
|
|
@@ -181,14 +209,17 @@ body[data-awsui-focus-visible=true] .awsui_handle_sdha6_yy78y_145:not(#\9):focus
|
|
|
181
209
|
border-end-end-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
|
|
182
210
|
box-shadow: 0 0 0 2px var(--color-border-item-focused-nv6mhz, #006ce0);
|
|
183
211
|
}
|
|
184
|
-
body[data-awsui-focus-visible=true] .awsui_handle_sdha6_yy78y_145:not(#\9):focus.awsui_hide-focus_sdha6_yy78y_162 {
|
|
185
|
-
outline: none;
|
|
186
|
-
}
|
|
187
212
|
|
|
188
|
-
.
|
|
189
|
-
|
|
213
|
+
.awsui_resize-icon_sdha6_1q7hk_211:not(#\9) {
|
|
214
|
+
stroke: var(--color-text-interactive-default-tkx8fe, #424650);
|
|
190
215
|
}
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
216
|
+
.awsui_resize-icon_sdha6_1q7hk_211:not(#\9):hover {
|
|
217
|
+
stroke: var(--color-text-interactive-hover-f9gqs8, #0f141a);
|
|
218
|
+
}
|
|
219
|
+
.awsui_resize-icon-vertical_sdha6_1q7hk_217:not(#\9) {
|
|
220
|
+
margin-block: auto;
|
|
221
|
+
margin-inline: auto;
|
|
222
|
+
}
|
|
223
|
+
.awsui_resize-icon-horizontal_sdha6_1q7hk_221:not(#\9) {
|
|
224
|
+
transform: rotate(90deg);
|
|
194
225
|
}
|
|
@@ -2,8 +2,17 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"handle": "
|
|
6
|
-
"
|
|
7
|
-
"handle-
|
|
5
|
+
"handle": "awsui_handle_sdha6_1q7hk_145",
|
|
6
|
+
"handle-size-normal": "awsui_handle-size-normal_sdha6_1q7hk_153",
|
|
7
|
+
"handle-size-small": "awsui_handle-size-small_sdha6_1q7hk_157",
|
|
8
|
+
"handle-drag-indicator": "awsui_handle-drag-indicator_sdha6_1q7hk_160",
|
|
9
|
+
"handle-resize-area": "awsui_handle-resize-area_sdha6_1q7hk_166",
|
|
10
|
+
"handle-resize-horizontal": "awsui_handle-resize-horizontal_sdha6_1q7hk_173",
|
|
11
|
+
"handle-resize-vertical": "awsui_handle-resize-vertical_sdha6_1q7hk_176",
|
|
12
|
+
"handle-disabled": "awsui_handle-disabled_sdha6_1q7hk_179",
|
|
13
|
+
"hide-focus": "awsui_hide-focus_sdha6_1q7hk_189",
|
|
14
|
+
"resize-icon": "awsui_resize-icon_sdha6_1q7hk_211",
|
|
15
|
+
"resize-icon-vertical": "awsui_resize-icon-vertical_sdha6_1q7hk_217",
|
|
16
|
+
"resize-icon-horizontal": "awsui_resize-icon-horizontal_sdha6_1q7hk_221"
|
|
8
17
|
};
|
|
9
18
|
|
|
@@ -39,7 +39,7 @@ const OptionsList = (_a, ref) => {
|
|
|
39
39
|
[styles['options-list-embedded']]: embedded,
|
|
40
40
|
});
|
|
41
41
|
const mergedRef = useMergeRefs(ref, menuRef);
|
|
42
|
-
return (React.createElement("ul", Object.assign({}, baseProps, nativeAttributes, { className: className, ref: mergedRef, style: { position }, role: role, onScroll: handleScroll, onKeyDown: event =>
|
|
42
|
+
return (React.createElement("ul", Object.assign({}, baseProps, nativeAttributes, { className: className, ref: mergedRef, style: { position }, role: role, onScroll: handleScroll, onKeyDown: event => fireKeyboardEvent(onKeyDown, event), onMouseMove: event => onMouseMove === null || onMouseMove === void 0 ? void 0 : onMouseMove(getItemIndex(menuRef, event)), onMouseUp: event => onMouseUp === null || onMouseUp === void 0 ? void 0 : onMouseUp(getItemIndex(menuRef, event)), onBlur: event => fireNonCancelableEvent(onBlur, { relatedTarget: event.relatedTarget }), onFocus: () => fireNonCancelableEvent(onFocus), tabIndex: embedded ? 0 : -1, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, "aria-describedby": ariaDescribedby }), open && children));
|
|
43
43
|
};
|
|
44
44
|
export default React.forwardRef(OptionsList);
|
|
45
45
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/internal/components/options-list/index.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAA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AAC,CAAC;IAE/C,MAAM,YAAY,GAAG,iBAAiB,CAAC,GAAG,EAAE;QAC1C,MAAM,eAAe,GAAG,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,OAAO,CAAC;QACzC,IAAI,eAAe,EAAE;YACnB,MAAM,kBAAkB,GAAG,eAAe,CAAC,SAAS,GAAG,eAAe,CAAC,YAAY,CAAC;YACpF,MAAM,qBAAqB,GAAG,eAAe,CAAC,YAAY,GAAG,kBAAkB,CAAC;YAChF,IAAI,qBAAqB,GAAG,qBAAqB,EAAE;gBACjD,sBAAsB,CAAC,UAAU,CAAC,CAAC;aACpC;SACF;IACH,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,IAAI,IAAI,UAAU,KAAK,SAAS,EAAE;YACpC,YAAY,EAAE,CAAC;SAChB;IACH,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,EAAE,YAAY,CAAC,CAAC,CAAC;IAErC,MAAM,SAAS,GAAG,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC,EAAE;QAC7C,CAAC,MAAM,CAAC,uBAAuB,CAAC,CAAC,EAAE,mBAAmB;QACtD,CAAC,MAAM,CAAC,uBAAuB,CAAC,CAAC,EAAE,QAAQ;KAC5C,CAAC,CAAC;IAEH,MAAM,SAAS,GAAG,YAAY,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;IAE7C,OAAO,CACL,4CACM,SAAS,EACT,gBAAgB,IACpB,SAAS,EAAE,SAAS,EACpB,GAAG,EAAE,SAAS,EACd,KAAK,EAAE,EAAE,QAAQ,EAAE,EACnB,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,YAAY,EACtB,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/internal/components/options-list/index.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,SAAS,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AAC,EAAE,CAAC,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAG,YAAY,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC,EACjE,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAG,YAAY,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC,EAC7D,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAAC,MAAM,EAAE,EAAE,aAAa,EAAE,KAAK,CAAC,aAAa,EAAE,CAAC,EACvF,OAAO,EAAE,GAAG,EAAE,CAAC,sBAAsB,CAAC,OAAO,CAAC,EAC9C,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,gBACf,SAAS,qBACJ,cAAc,sBACb,eAAe,KAEhC,IAAI,IAAI,QAAQ,CACd,CACN,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,KAAK,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useEffect, useRef } from 'react';\nimport clsx from 'clsx';\n\nimport { findUpUntil } from '@cloudscape-design/component-toolkit/dom';\nimport { useStableCallback } from '@cloudscape-design/component-toolkit/internal';\n\nimport { BaseComponentProps, getBaseProps } from '../../base-component';\nimport {\n BaseKeyDetail,\n CancelableEventHandler,\n fireKeyboardEvent,\n fireNonCancelableEvent,\n NonCancelableEventHandler,\n} from '../../events';\nimport { useMergeRefs } from '../../hooks/use-merge-refs';\nimport { DropdownStatusProps } from '../dropdown-status';\n\nimport styles from './styles.css.js';\n\nexport interface OptionsListProps extends BaseComponentProps {\n open?: boolean;\n statusType: DropdownStatusProps.StatusType;\n /**\n * Options list\n */\n children: React.ReactNode;\n nativeAttributes?: Record<string, any>;\n /**\n * Called when more items need to be loaded.\n */\n onLoadMore?: NonCancelableEventHandler;\n onKeyDown?: CancelableEventHandler<BaseKeyDetail>;\n onBlur?: NonCancelableEventHandler<{ relatedTarget: Node | null }>;\n onFocus?: NonCancelableEventHandler;\n onMouseUp?: (itemIndex: number) => void;\n onMouseMove?: (itemIndex: number) => void;\n position?: React.CSSProperties['position'];\n role?: 'listbox' | 'list' | 'menu';\n ariaLabel?: string;\n ariaLabelledby?: string;\n ariaDescribedby?: string;\n decreaseBlockMargin?: boolean;\n embedded?: boolean;\n}\n\nconst BOTTOM_TRIGGER_OFFSET = 80;\n\nconst getItemIndex = (containerRef: React.RefObject<HTMLElement>, event: React.MouseEvent) => {\n const target = findUpUntil(\n event.target as HTMLElement,\n element => element === containerRef.current || !!element.dataset.mouseTarget\n );\n const mouseTarget = target?.dataset.mouseTarget;\n return mouseTarget ? parseInt(mouseTarget) : -1;\n};\n\nconst OptionsList = (\n {\n open,\n statusType,\n children,\n nativeAttributes = {},\n onKeyDown,\n onBlur,\n onFocus,\n onLoadMore,\n onMouseUp,\n onMouseMove,\n position = 'relative',\n role = 'listbox',\n decreaseBlockMargin = false,\n ariaLabel,\n ariaLabelledby,\n ariaDescribedby,\n embedded,\n ...restProps\n }: OptionsListProps,\n ref: React.Ref<HTMLUListElement>\n) => {\n const baseProps = getBaseProps(restProps);\n const menuRef = useRef<HTMLUListElement>(null);\n\n const handleScroll = useStableCallback(() => {\n const scrollContainer = menuRef?.current;\n if (scrollContainer) {\n const bottomEdgePosition = scrollContainer.scrollTop + scrollContainer.clientHeight;\n const remainingScrollHeight = scrollContainer.scrollHeight - bottomEdgePosition;\n if (remainingScrollHeight < BOTTOM_TRIGGER_OFFSET) {\n fireNonCancelableEvent(onLoadMore);\n }\n }\n });\n\n useEffect(() => {\n if (open && statusType === 'pending') {\n handleScroll();\n }\n }, [open, statusType, handleScroll]);\n\n const className = clsx(styles['options-list'], {\n [styles['decrease-block-margin']]: decreaseBlockMargin,\n [styles['options-list-embedded']]: embedded,\n });\n\n const mergedRef = useMergeRefs(ref, menuRef);\n\n return (\n <ul\n {...baseProps}\n {...nativeAttributes}\n className={className}\n ref={mergedRef}\n style={{ position }}\n role={role}\n onScroll={handleScroll}\n onKeyDown={event => fireKeyboardEvent(onKeyDown, event)}\n onMouseMove={event => onMouseMove?.(getItemIndex(menuRef, event))}\n onMouseUp={event => onMouseUp?.(getItemIndex(menuRef, event))}\n onBlur={event => fireNonCancelableEvent(onBlur, { relatedTarget: event.relatedTarget })}\n onFocus={() => fireNonCancelableEvent(onFocus)}\n tabIndex={embedded ? 0 : -1}\n aria-label={ariaLabel}\n aria-labelledby={ariaLabelledby}\n aria-describedby={ariaDescribedby}\n >\n {open && children}\n </ul>\n );\n};\n\nexport default React.forwardRef(OptionsList);\n"]}
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
interface ResizeHandleProps {
|
|
3
|
-
className?: string;
|
|
4
3
|
ariaLabel: string | undefined;
|
|
5
4
|
position: 'side' | 'bottom';
|
|
6
5
|
ariaValuenow: number;
|
|
7
6
|
onKeyDown: (event: React.KeyboardEvent<HTMLElement>) => void;
|
|
8
7
|
onPointerDown: (event: React.PointerEvent<HTMLElement>) => void;
|
|
8
|
+
className?: string;
|
|
9
9
|
}
|
|
10
|
-
declare const _default: React.ForwardRefExoticComponent<ResizeHandleProps & React.RefAttributes<
|
|
10
|
+
declare const _default: React.ForwardRefExoticComponent<ResizeHandleProps & React.RefAttributes<{
|
|
11
|
+
focus: () => void;
|
|
12
|
+
}>>;
|
|
11
13
|
export default _default;
|
|
12
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/panel-resize-handle/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/internal/components/panel-resize-handle/index.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,UAAU,iBAAiB;IACzB,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC;IAC9B,QAAQ,EAAE,MAAM,GAAG,QAAQ,CAAC;IAC5B,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IAC7D,aAAa,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,YAAY,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IAChE,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;;WAIyB,MAAM,IAAI;;AAFpC,wBAsBG"}
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import
|
|
5
|
-
import ResizeHandleIcon from './icon';
|
|
4
|
+
import DragHandle from '../drag-handle';
|
|
6
5
|
import styles from './styles.css.js';
|
|
7
|
-
export default React.forwardRef(function PanelResizeHandle({
|
|
8
|
-
return (React.createElement("div", {
|
|
9
|
-
React.createElement(
|
|
6
|
+
export default React.forwardRef(function PanelResizeHandle({ ariaLabel, ariaValuenow, position, onKeyDown, onPointerDown, className }, ref) {
|
|
7
|
+
return (React.createElement("div", { className: styles[`handle-wrapper-${position}`] },
|
|
8
|
+
React.createElement(DragHandle, { variant: position === 'bottom' ? 'resize-vertical' : 'resize-horizontal', size: "small", ref: ref, ariaLabel: ariaLabel !== null && ariaLabel !== void 0 ? ariaLabel : '', ariaValue: {
|
|
9
|
+
valueMin: 0,
|
|
10
|
+
valueMax: 100,
|
|
11
|
+
valueNow: ariaValuenow,
|
|
12
|
+
}, onPointerDown: onPointerDown, onKeyDown: onKeyDown, className: className })));
|
|
10
13
|
});
|
|
11
14
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/internal/components/panel-resize-handle/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/internal/components/panel-resize-handle/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AAEtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,UAAU,MAAM,gBAAgB,CAAC;AAExC,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAWrC,eAAe,KAAK,CAAC,UAAU,CAAC,SAAS,iBAAiB,CACxD,EAAE,SAAS,EAAE,YAAY,EAAE,QAAQ,EAAE,SAAS,EAAE,aAAa,EAAE,SAAS,EAAqB,EAC7F,GAAqC;IAErC,OAAO,CACL,6BAAK,SAAS,EAAE,MAAM,CAAC,kBAAkB,QAAQ,EAAE,CAAC;QAClD,oBAAC,UAAU,IACT,OAAO,EAAE,QAAQ,KAAK,QAAQ,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,mBAAmB,EACxE,IAAI,EAAC,OAAO,EACZ,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,SAAS,aAAT,SAAS,cAAT,SAAS,GAAI,EAAE,EAC1B,SAAS,EAAE;gBACT,QAAQ,EAAE,CAAC;gBACX,QAAQ,EAAE,GAAG;gBACb,QAAQ,EAAE,YAAY;aACvB,EACD,aAAa,EAAE,aAAa,EAC5B,SAAS,EAAE,SAAS,EACpB,SAAS,EAAE,SAAS,GACpB,CACE,CACP,CAAC;AACJ,CAAC,CAAC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport React from 'react';\n\nimport DragHandle from '../drag-handle';\n\nimport styles from './styles.css.js';\n\ninterface ResizeHandleProps {\n ariaLabel: string | undefined;\n position: 'side' | 'bottom';\n ariaValuenow: number;\n onKeyDown: (event: React.KeyboardEvent<HTMLElement>) => void;\n onPointerDown: (event: React.PointerEvent<HTMLElement>) => void;\n className?: string;\n}\n\nexport default React.forwardRef(function PanelResizeHandle(\n { ariaLabel, ariaValuenow, position, onKeyDown, onPointerDown, className }: ResizeHandleProps,\n ref: React.Ref<{ focus: () => void }>\n) {\n return (\n <div className={styles[`handle-wrapper-${position}`]}>\n <DragHandle\n variant={position === 'bottom' ? 'resize-vertical' : 'resize-horizontal'}\n size=\"small\"\n ref={ref}\n ariaLabel={ariaLabel ?? ''}\n ariaValue={{\n valueMin: 0,\n valueMax: 100,\n valueNow: ariaValuenow,\n }}\n onPointerDown={onPointerDown}\n onKeyDown={onKeyDown}\n className={className}\n />\n </div>\n );\n});\n"]}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"slider-icon": "awsui_slider-icon_cqzlk_1vl2o_187",
|
|
7
|
-
"slider-icon-bottom": "awsui_slider-icon-bottom_cqzlk_1vl2o_193",
|
|
8
|
-
"slider-icon-side": "awsui_slider-icon-side_cqzlk_1vl2o_197"
|
|
4
|
+
"handle-wrapper-side": "awsui_handle-wrapper-side_cqzlk_1qkms_5",
|
|
5
|
+
"handle-wrapper-bottom": "awsui_handle-wrapper-bottom_cqzlk_1qkms_9"
|
|
9
6
|
};
|
|
10
7
|
|
|
@@ -2,198 +2,10 @@
|
|
|
2
2
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
3
|
SPDX-License-Identifier: Apache-2.0
|
|
4
4
|
*/
|
|
5
|
-
|
|
6
|
-
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
7
|
-
SPDX-License-Identifier: Apache-2.0
|
|
8
|
-
*/
|
|
9
|
-
/*
|
|
10
|
-
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
11
|
-
SPDX-License-Identifier: Apache-2.0
|
|
12
|
-
*/
|
|
13
|
-
/*
|
|
14
|
-
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
15
|
-
SPDX-License-Identifier: Apache-2.0
|
|
16
|
-
*/
|
|
17
|
-
/*
|
|
18
|
-
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
19
|
-
SPDX-License-Identifier: Apache-2.0
|
|
20
|
-
*/
|
|
21
|
-
/*
|
|
22
|
-
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
23
|
-
SPDX-License-Identifier: Apache-2.0
|
|
24
|
-
*/
|
|
25
|
-
/*
|
|
26
|
-
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
27
|
-
SPDX-License-Identifier: Apache-2.0
|
|
28
|
-
*/
|
|
29
|
-
/*
|
|
30
|
-
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
31
|
-
SPDX-License-Identifier: Apache-2.0
|
|
32
|
-
*/
|
|
33
|
-
/*
|
|
34
|
-
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
35
|
-
SPDX-License-Identifier: Apache-2.0
|
|
36
|
-
*/
|
|
37
|
-
/*
|
|
38
|
-
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
39
|
-
SPDX-License-Identifier: Apache-2.0
|
|
40
|
-
*/
|
|
41
|
-
/*
|
|
42
|
-
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
43
|
-
SPDX-License-Identifier: Apache-2.0
|
|
44
|
-
*/
|
|
45
|
-
/*
|
|
46
|
-
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
47
|
-
SPDX-License-Identifier: Apache-2.0
|
|
48
|
-
*/
|
|
49
|
-
/*
|
|
50
|
-
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
51
|
-
SPDX-License-Identifier: Apache-2.0
|
|
52
|
-
*/
|
|
53
|
-
/*
|
|
54
|
-
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
55
|
-
SPDX-License-Identifier: Apache-2.0
|
|
56
|
-
*/
|
|
57
|
-
/*
|
|
58
|
-
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
59
|
-
SPDX-License-Identifier: Apache-2.0
|
|
60
|
-
*/
|
|
61
|
-
/*
|
|
62
|
-
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
63
|
-
SPDX-License-Identifier: Apache-2.0
|
|
64
|
-
*/
|
|
65
|
-
/*
|
|
66
|
-
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
67
|
-
SPDX-License-Identifier: Apache-2.0
|
|
68
|
-
*/
|
|
69
|
-
/*
|
|
70
|
-
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
71
|
-
SPDX-License-Identifier: Apache-2.0
|
|
72
|
-
*/
|
|
73
|
-
/*
|
|
74
|
-
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
75
|
-
SPDX-License-Identifier: Apache-2.0
|
|
76
|
-
*/
|
|
77
|
-
/*
|
|
78
|
-
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
79
|
-
SPDX-License-Identifier: Apache-2.0
|
|
80
|
-
*/
|
|
81
|
-
/*
|
|
82
|
-
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
83
|
-
SPDX-License-Identifier: Apache-2.0
|
|
84
|
-
*/
|
|
85
|
-
/*
|
|
86
|
-
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
87
|
-
SPDX-License-Identifier: Apache-2.0
|
|
88
|
-
*/
|
|
89
|
-
/*
|
|
90
|
-
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
91
|
-
SPDX-License-Identifier: Apache-2.0
|
|
92
|
-
*/
|
|
93
|
-
/*
|
|
94
|
-
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
95
|
-
SPDX-License-Identifier: Apache-2.0
|
|
96
|
-
*/
|
|
97
|
-
/*
|
|
98
|
-
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
99
|
-
SPDX-License-Identifier: Apache-2.0
|
|
100
|
-
*/
|
|
101
|
-
/*
|
|
102
|
-
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
103
|
-
SPDX-License-Identifier: Apache-2.0
|
|
104
|
-
*/
|
|
105
|
-
/*
|
|
106
|
-
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
107
|
-
SPDX-License-Identifier: Apache-2.0
|
|
108
|
-
*/
|
|
109
|
-
/*
|
|
110
|
-
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
111
|
-
SPDX-License-Identifier: Apache-2.0
|
|
112
|
-
*/
|
|
113
|
-
/* stylelint-disable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
|
|
114
|
-
/* stylelint-enable @cloudscape-design/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
|
|
115
|
-
/*
|
|
116
|
-
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
117
|
-
SPDX-License-Identifier: Apache-2.0
|
|
118
|
-
*/
|
|
119
|
-
/*
|
|
120
|
-
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
121
|
-
SPDX-License-Identifier: Apache-2.0
|
|
122
|
-
*/
|
|
123
|
-
/*
|
|
124
|
-
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
125
|
-
SPDX-License-Identifier: Apache-2.0
|
|
126
|
-
*/
|
|
127
|
-
/*
|
|
128
|
-
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
129
|
-
SPDX-License-Identifier: Apache-2.0
|
|
130
|
-
*/
|
|
131
|
-
/*
|
|
132
|
-
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
133
|
-
SPDX-License-Identifier: Apache-2.0
|
|
134
|
-
*/
|
|
135
|
-
/*
|
|
136
|
-
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
137
|
-
SPDX-License-Identifier: Apache-2.0
|
|
138
|
-
*/
|
|
139
|
-
/*
|
|
140
|
-
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
141
|
-
SPDX-License-Identifier: Apache-2.0
|
|
142
|
-
*/
|
|
143
|
-
/* Style used for links in slots/components that are text heavy, to help links stand out among
|
|
144
|
-
surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */
|
|
145
|
-
.awsui_slider_cqzlk_1vl2o_145:not(#\9) {
|
|
146
|
-
padding-block: 0;
|
|
147
|
-
padding-inline: 0;
|
|
148
|
-
cursor: ns-resize;
|
|
149
|
-
margin-block-start: 2px;
|
|
150
|
-
margin-block-end: 0;
|
|
151
|
-
margin-inline: 0;
|
|
152
|
-
block-size: 16px;
|
|
153
|
-
touch-action: none;
|
|
154
|
-
}
|
|
155
|
-
.awsui_slider_cqzlk_1vl2o_145:not(#\9):focus {
|
|
156
|
-
outline: none;
|
|
157
|
-
}
|
|
158
|
-
body[data-awsui-focus-visible=true] .awsui_slider_cqzlk_1vl2o_145:not(#\9):focus {
|
|
159
|
-
position: relative;
|
|
160
|
-
}
|
|
161
|
-
body[data-awsui-focus-visible=true] .awsui_slider_cqzlk_1vl2o_145:not(#\9):focus {
|
|
162
|
-
outline: 2px dotted transparent;
|
|
163
|
-
outline-offset: calc(0px - 1px);
|
|
164
|
-
}
|
|
165
|
-
body[data-awsui-focus-visible=true] .awsui_slider_cqzlk_1vl2o_145:not(#\9):focus::before {
|
|
166
|
-
content: " ";
|
|
167
|
-
display: block;
|
|
168
|
-
position: absolute;
|
|
169
|
-
inset-inline-start: calc(-1 * 0px);
|
|
170
|
-
inset-block-start: calc(-1 * 0px);
|
|
171
|
-
inline-size: calc(100% + 0px + 0px);
|
|
172
|
-
block-size: calc(100% + 0px + 0px);
|
|
173
|
-
border-start-start-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
|
|
174
|
-
border-start-end-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
|
|
175
|
-
border-end-start-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
|
|
176
|
-
border-end-end-radius: var(--border-radius-control-default-focus-ring-u8zbsz, 4px);
|
|
177
|
-
box-shadow: 0 0 0 2px var(--color-border-item-focused-nv6mhz, #006ce0);
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
.awsui_slider-side_cqzlk_1vl2o_180:not(#\9) {
|
|
181
|
-
cursor: ew-resize;
|
|
182
|
-
margin-block: 0;
|
|
5
|
+
.awsui_handle-wrapper-side_cqzlk_1qkms_5:not(#\9) {
|
|
183
6
|
margin-inline-start: 2px;
|
|
184
|
-
margin-inline-end: 0;
|
|
185
7
|
}
|
|
186
8
|
|
|
187
|
-
.
|
|
188
|
-
|
|
189
|
-
}
|
|
190
|
-
.awsui_slider-icon_cqzlk_1vl2o_187:not(#\9):hover {
|
|
191
|
-
stroke: var(--color-text-interactive-hover-f9gqs8, #0f141a);
|
|
192
|
-
}
|
|
193
|
-
.awsui_slider-icon-bottom_cqzlk_1vl2o_193:not(#\9) {
|
|
194
|
-
margin-block: auto;
|
|
195
|
-
margin-inline: auto;
|
|
196
|
-
}
|
|
197
|
-
.awsui_slider-icon-side_cqzlk_1vl2o_197:not(#\9) {
|
|
198
|
-
transform: rotate(90deg);
|
|
9
|
+
.awsui_handle-wrapper-bottom_cqzlk_1qkms_9:not(#\9) {
|
|
10
|
+
margin-block-start: 2px;
|
|
199
11
|
}
|
|
@@ -2,10 +2,7 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"slider-icon": "awsui_slider-icon_cqzlk_1vl2o_187",
|
|
8
|
-
"slider-icon-bottom": "awsui_slider-icon-bottom_cqzlk_1vl2o_193",
|
|
9
|
-
"slider-icon-side": "awsui_slider-icon-side_cqzlk_1vl2o_197"
|
|
5
|
+
"handle-wrapper-side": "awsui_handle-wrapper-side_cqzlk_1qkms_5",
|
|
6
|
+
"handle-wrapper-bottom": "awsui_handle-wrapper-bottom_cqzlk_1qkms_9"
|
|
10
7
|
};
|
|
11
8
|
|