@cloudscape-design/components 3.0.1105 → 3.0.1107

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.
@@ -1 +1 @@
1
- {"version":3,"file":"use-ai-drawer.d.ts","sourceRoot":"","sources":["../../../../src/app-layout/utils/use-ai-drawer.ts"],"names":[],"mappings":"AAaA,MAAM,WAAW,cAAc;IAC7B,qBAAqB,EAAE,OAAO,CAAC;CAChC;AAwED,UAAU,eAAe;IACvB,SAAS,EAAE,OAAO,CAAC;IACnB,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,mBAAmB,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;CACrD;AAED,wBAAgB,WAAW,CAAC,EAAE,SAAS,EAAE,eAAe,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,EAAE,eAAe;;;;;;0CAUjG,MAAM,GAAG,IAAI,8BACC,cAAc;;;;;;;;;mCAPL,MAAM;EAwC7C"}
1
+ {"version":3,"file":"use-ai-drawer.d.ts","sourceRoot":"","sources":["../../../../src/app-layout/utils/use-ai-drawer.ts"],"names":[],"mappings":"AAaA,MAAM,WAAW,cAAc;IAC7B,qBAAqB,EAAE,OAAO,CAAC;CAChC;AAgFD,UAAU,eAAe;IACvB,SAAS,EAAE,OAAO,CAAC;IACnB,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,mBAAmB,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;CACrD;AAED,wBAAgB,WAAW,CAAC,EAAE,SAAS,EAAE,eAAe,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,EAAE,eAAe;;;;;;0CAUjG,MAAM,GAAG,IAAI,8BACC,cAAc;;;;;;;;;mCAPL,MAAM;EA8C7C"}
@@ -8,7 +8,7 @@ import { getAppLayoutInitialState, registerAppLayoutHandler } from '../../intern
8
8
  import { assertNever } from '../../internal/types';
9
9
  import { mapRuntimeConfigToAiDrawer } from '../runtime-drawer';
10
10
  const DEFAULT_ON_CHANGE_PARAMS = { initiatedByUserAction: true };
11
- function useRuntimeAiDrawer(isEnabled, activeAiDrawerId, onActiveAiDrawerChange, onActiveAiDrawerResize) {
11
+ function useRuntimeAiDrawer(isEnabled, activeAiDrawerId, onActiveAiDrawerChange, onActiveAiDrawerResize, setExpandedDrawerId) {
12
12
  const [aiDrawer, setAiDrawer] = useState(null);
13
13
  const appLayoutMessageHandler = useStableCallback((event) => {
14
14
  if (event.type === 'registerLeftDrawer') {
@@ -18,7 +18,7 @@ function useRuntimeAiDrawer(isEnabled, activeAiDrawerId, onActiveAiDrawerChange,
18
18
  }
19
19
  return;
20
20
  }
21
- if (aiDrawer && aiDrawer.id !== event.payload.id) {
21
+ if (aiDrawer && 'payload' in event && aiDrawer.id !== event.payload.id) {
22
22
  metrics.sendOpsMetricObject('awsui-widget-drawer-incorrect-id', { oldId: aiDrawer === null || aiDrawer === void 0 ? void 0 : aiDrawer.id, newId: event.payload.id });
23
23
  return;
24
24
  }
@@ -35,6 +35,12 @@ function useRuntimeAiDrawer(isEnabled, activeAiDrawerId, onActiveAiDrawerChange,
35
35
  case 'resizeDrawer':
36
36
  onActiveAiDrawerResizeStable(event.payload.size);
37
37
  break;
38
+ case 'expandDrawer':
39
+ setExpandedDrawerIdStable(event.payload.id);
40
+ break;
41
+ case 'exitExpandedMode':
42
+ setExpandedDrawerIdStable(null);
43
+ break;
38
44
  /* istanbul ignore next: this code is not intended to be visited */
39
45
  default:
40
46
  assertNever(event);
@@ -43,6 +49,7 @@ function useRuntimeAiDrawer(isEnabled, activeAiDrawerId, onActiveAiDrawerChange,
43
49
  const onAiDrawersChangeStable = useStableCallback(onActiveAiDrawerChange);
44
50
  const onActiveAiDrawerResizeStable = useStableCallback(onActiveAiDrawerResize);
45
51
  const onActiveAiDrawerChangeStable = useStableCallback(onActiveAiDrawerChange);
52
+ const setExpandedDrawerIdStable = useStableCallback(setExpandedDrawerId);
46
53
  const aiDrawerWasOpenRef = useRef(false);
47
54
  aiDrawerWasOpenRef.current = aiDrawerWasOpenRef.current || !!activeAiDrawerId;
48
55
  useEffect(() => {
@@ -87,7 +94,7 @@ export function useAiDrawer({ isEnabled, onAiDrawerFocus, expandedDrawerId, setE
87
94
  }
88
95
  onAiDrawerFocus === null || onAiDrawerFocus === void 0 ? void 0 : onAiDrawerFocus();
89
96
  }
90
- const aiDrawer = useRuntimeAiDrawer(isEnabled, activeAiDrawerId, onActiveAiDrawerChange, onActiveAiDrawerResize);
97
+ const aiDrawer = useRuntimeAiDrawer(isEnabled, activeAiDrawerId, onActiveAiDrawerChange, onActiveAiDrawerResize, setExpandedDrawerId);
91
98
  const activeAiDrawer = activeAiDrawerId && activeAiDrawerId === (aiDrawer === null || aiDrawer === void 0 ? void 0 : aiDrawer.id) ? aiDrawer : null;
92
99
  const activeAiDrawerSize = activeAiDrawerId ? ((_a = size !== null && size !== void 0 ? size : activeAiDrawer === null || activeAiDrawer === void 0 ? void 0 : activeAiDrawer.defaultSize) !== null && _a !== void 0 ? _a : MIN_DRAWER_SIZE) : 0;
93
100
  const minAiDrawerSize = Math.min((_b = activeAiDrawer === null || activeAiDrawer === void 0 ? void 0 : activeAiDrawer.defaultSize) !== null && _b !== void 0 ? _b : MIN_DRAWER_SIZE, MIN_DRAWER_SIZE);
@@ -1 +1 @@
1
- {"version":3,"file":"use-ai-drawer.js","sourceRoot":"","sources":["../../../../src/app-layout/utils/use-ai-drawer.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+CAA+C,CAAC;AAElF,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;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;SACrF;QAED,IAAI,gBAAgB,EAAE;YACpB,sBAAsB,CAAC,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,QAAQ,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,qBAAqB,EAAE,CAAC,CAAC;YAErF,IAAI,gBAAgB,KAAK,gBAAgB,EAAE;gBACzC,mBAAmB,aAAnB,mBAAmB,uBAAnB,mBAAmB,CAAG,IAAI,CAAC,CAAC;aAC7B;SACF;QAED,eAAe,aAAf,eAAe,uBAAf,eAAe,EAAI,CAAC;IACtB,CAAC;IAED,MAAM,QAAQ,GAAG,kBAAkB,CAAC,SAAS,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,sBAAsB,CAAC,CAAC;IACjH,MAAM,cAAc,GAAG,gBAAgB,IAAI,gBAAgB,MAAK,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,EAAE,CAAA,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC;IAC/F,MAAM,kBAAkB,GAAG,gBAAgB,CAAC,CAAC,CAAC,CAAC,MAAA,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAI,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAE,WAAW,mCAAI,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAC3G,MAAM,eAAe,GAAG,IAAI,CAAC,GAAG,CAAC,MAAA,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAE,WAAW,mCAAI,eAAe,EAAE,eAAe,CAAC,CAAC;IAElG,OAAO;QACL,QAAQ;QACR,sBAAsB;QACtB,cAAc;QACd,gBAAgB;QAChB,kBAAkB;QAClB,eAAe;QACf,sBAAsB;KACvB,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { useEffect, useRef, useState } from 'react';\n\nimport { useStableCallback } from '@cloudscape-design/component-toolkit/internal';\n\nimport { fireNonCancelableEvent } from '../../internal/events';\nimport { metrics } from '../../internal/metrics';\nimport { AppLayoutMessage, DrawerPayload as RuntimeAiDrawerConfig } from '../../internal/plugins/widget/interfaces';\nimport { getAppLayoutInitialState, registerAppLayoutHandler } from '../../internal/plugins/widget/internal';\nimport { assertNever } from '../../internal/types';\nimport { mapRuntimeConfigToAiDrawer } from '../runtime-drawer';\n\nexport interface OnChangeParams {\n initiatedByUserAction: boolean;\n}\n\nconst DEFAULT_ON_CHANGE_PARAMS = { initiatedByUserAction: true };\n\nfunction useRuntimeAiDrawer(\n isEnabled: boolean,\n activeAiDrawerId: string | null,\n onActiveAiDrawerChange: (newDrawerId: string | null, { initiatedByUserAction }: OnChangeParams) => void,\n onActiveAiDrawerResize: (size: number) => void\n) {\n const [aiDrawer, setAiDrawer] = useState<RuntimeAiDrawerConfig | null>(null);\n const appLayoutMessageHandler = useStableCallback((event: AppLayoutMessage) => {\n if (event.type === 'registerLeftDrawer') {\n setAiDrawer(event.payload);\n if (!aiDrawerWasOpenRef.current && event.payload.defaultActive) {\n onAiDrawersChangeStable(event.payload.id, { initiatedByUserAction: false });\n }\n return;\n }\n if (aiDrawer && aiDrawer.id !== event.payload.id) {\n metrics.sendOpsMetricObject('awsui-widget-drawer-incorrect-id', { oldId: aiDrawer?.id, newId: event.payload.id });\n return;\n }\n switch (event.type) {\n case 'updateDrawerConfig':\n setAiDrawer(current => (current ? { ...current, ...event.payload } : current));\n break;\n case 'openDrawer':\n onActiveAiDrawerChangeStable(event.payload.id, { initiatedByUserAction: false });\n break;\n case 'closeDrawer':\n onActiveAiDrawerChangeStable(null, { initiatedByUserAction: false });\n break;\n case 'resizeDrawer':\n onActiveAiDrawerResizeStable(event.payload.size);\n break;\n /* istanbul ignore next: this code is not intended to be visited */\n default:\n assertNever(event);\n }\n });\n const onAiDrawersChangeStable = useStableCallback(onActiveAiDrawerChange);\n const onActiveAiDrawerResizeStable = useStableCallback(onActiveAiDrawerResize);\n const onActiveAiDrawerChangeStable = useStableCallback(onActiveAiDrawerChange);\n const aiDrawerWasOpenRef = useRef(false);\n aiDrawerWasOpenRef.current = aiDrawerWasOpenRef.current || !!activeAiDrawerId;\n\n useEffect(() => {\n if (!isEnabled) {\n return;\n }\n\n const initialDrawerMessage = getAppLayoutInitialState()?.find(message => message.type === 'registerLeftDrawer');\n if (initialDrawerMessage && initialDrawerMessage.type === 'registerLeftDrawer') {\n setAiDrawer(initialDrawerMessage.payload);\n if (!aiDrawerWasOpenRef.current && initialDrawerMessage.payload.defaultActive) {\n onAiDrawersChangeStable(initialDrawerMessage.payload.id, { initiatedByUserAction: false });\n }\n }\n\n const unsubscribe = registerAppLayoutHandler(appLayoutMessageHandler);\n return () => {\n unsubscribe();\n setAiDrawer(null);\n };\n }, [isEnabled, appLayoutMessageHandler, onAiDrawersChangeStable, onActiveAiDrawerResizeStable]);\n\n return aiDrawer && mapRuntimeConfigToAiDrawer(aiDrawer);\n}\n\nconst MIN_DRAWER_SIZE = 400;\n\ninterface UseDrawersProps {\n isEnabled: boolean;\n onAiDrawerFocus: () => void;\n expandedDrawerId: string | null;\n setExpandedDrawerId: (value: string | null) => void;\n}\n\nexport function useAiDrawer({ isEnabled, onAiDrawerFocus, expandedDrawerId, setExpandedDrawerId }: UseDrawersProps) {\n const [activeAiDrawerId, setActiveAiDrawerId] = useState<string | null>(null);\n const [size, setSize] = useState<number | null>(null);\n\n function onActiveAiDrawerResize(size: number) {\n setSize(size);\n fireNonCancelableEvent(activeAiDrawer?.onResize, { id: activeAiDrawerId, size });\n }\n\n function onActiveAiDrawerChange(\n newDrawerId: string | null,\n { initiatedByUserAction }: OnChangeParams = DEFAULT_ON_CHANGE_PARAMS\n ) {\n setActiveAiDrawerId(newDrawerId);\n\n if (newDrawerId) {\n fireNonCancelableEvent(aiDrawer?.onToggle, { isOpen: true, initiatedByUserAction });\n }\n\n if (activeAiDrawerId) {\n fireNonCancelableEvent(aiDrawer?.onToggle, { isOpen: false, initiatedByUserAction });\n\n if (activeAiDrawerId === expandedDrawerId) {\n setExpandedDrawerId?.(null);\n }\n }\n\n onAiDrawerFocus?.();\n }\n\n const aiDrawer = useRuntimeAiDrawer(isEnabled, activeAiDrawerId, onActiveAiDrawerChange, onActiveAiDrawerResize);\n const activeAiDrawer = activeAiDrawerId && activeAiDrawerId === aiDrawer?.id ? aiDrawer : null;\n const activeAiDrawerSize = activeAiDrawerId ? (size ?? activeAiDrawer?.defaultSize ?? MIN_DRAWER_SIZE) : 0;\n const minAiDrawerSize = Math.min(activeAiDrawer?.defaultSize ?? MIN_DRAWER_SIZE, MIN_DRAWER_SIZE);\n\n return {\n aiDrawer,\n onActiveAiDrawerChange,\n activeAiDrawer,\n activeAiDrawerId,\n activeAiDrawerSize,\n minAiDrawerSize,\n onActiveAiDrawerResize,\n };\n}\n"]}
1
+ {"version":3,"file":"use-ai-drawer.js","sourceRoot":"","sources":["../../../../src/app-layout/utils/use-ai-drawer.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+CAA+C,CAAC;AAElF,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAEjD,OAAO,EAAE,wBAAwB,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AAC5G,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,0BAA0B,EAAE,MAAM,mBAAmB,CAAC;AAM/D,MAAM,wBAAwB,GAAG,EAAE,qBAAqB,EAAE,IAAI,EAAE,CAAC;AAEjE,SAAS,kBAAkB,CACzB,SAAkB,EAClB,gBAA+B,EAC/B,sBAAuG,EACvG,sBAA8C,EAC9C,mBAAmD;IAEnD,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QA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AAI,gBAAgB,KAAK,gBAAgB,EAAE;gBACzC,mBAAmB,aAAnB,mBAAmB,uBAAnB,mBAAmB,CAAG,IAAI,CAAC,CAAC;aAC7B;SACF;QAED,eAAe,aAAf,eAAe,uBAAf,eAAe,EAAI,CAAC;IACtB,CAAC;IAED,MAAM,QAAQ,GAAG,kBAAkB,CACjC,SAAS,EACT,gBAAgB,EAChB,sBAAsB,EACtB,sBAAsB,EACtB,mBAAmB,CACpB,CAAC;IACF,MAAM,cAAc,GAAG,gBAAgB,IAAI,gBAAgB,MAAK,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,EAAE,CAAA,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC;IAC/F,MAAM,kBAAkB,GAAG,gBAAgB,CAAC,CAAC,CAAC,CAAC,MAAA,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAI,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAE,WAAW,mCAAI,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAC3G,MAAM,eAAe,GAAG,IAAI,CAAC,GAAG,CAAC,MAAA,cAAc,aAAd,cAAc,uBAAd,cAAc,CAAE,WAAW,mCAAI,eAAe,EAAE,eAAe,CAAC,CAAC;IAElG,OAAO;QACL,QAAQ;QACR,sBAAsB;QACtB,cAAc;QACd,gBAAgB;QAChB,kBAAkB;QAClB,eAAe;QACf,sBAAsB;KACvB,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { useEffect, useRef, useState } from 'react';\n\nimport { useStableCallback } from '@cloudscape-design/component-toolkit/internal';\n\nimport { fireNonCancelableEvent } from '../../internal/events';\nimport { metrics } from '../../internal/metrics';\nimport { AppLayoutMessage, DrawerPayload as RuntimeAiDrawerConfig } from '../../internal/plugins/widget/interfaces';\nimport { getAppLayoutInitialState, registerAppLayoutHandler } from '../../internal/plugins/widget/internal';\nimport { assertNever } from '../../internal/types';\nimport { mapRuntimeConfigToAiDrawer } from '../runtime-drawer';\n\nexport interface OnChangeParams {\n initiatedByUserAction: boolean;\n}\n\nconst DEFAULT_ON_CHANGE_PARAMS = { initiatedByUserAction: true };\n\nfunction useRuntimeAiDrawer(\n isEnabled: boolean,\n activeAiDrawerId: string | null,\n onActiveAiDrawerChange: (newDrawerId: string | null, { initiatedByUserAction }: OnChangeParams) => void,\n onActiveAiDrawerResize: (size: number) => void,\n setExpandedDrawerId: (value: string | null) => void\n) {\n const [aiDrawer, setAiDrawer] = useState<RuntimeAiDrawerConfig | null>(null);\n const appLayoutMessageHandler = useStableCallback((event: AppLayoutMessage) => {\n if (event.type === 'registerLeftDrawer') {\n setAiDrawer(event.payload);\n if (!aiDrawerWasOpenRef.current && event.payload.defaultActive) {\n onAiDrawersChangeStable(event.payload.id, { initiatedByUserAction: false });\n }\n return;\n }\n if (aiDrawer && 'payload' in event && aiDrawer.id !== event.payload.id) {\n metrics.sendOpsMetricObject('awsui-widget-drawer-incorrect-id', { oldId: aiDrawer?.id, newId: event.payload.id });\n return;\n }\n switch (event.type) {\n case 'updateDrawerConfig':\n setAiDrawer(current => (current ? { ...current, ...event.payload } : current));\n break;\n case 'openDrawer':\n onActiveAiDrawerChangeStable(event.payload.id, { initiatedByUserAction: false });\n break;\n case 'closeDrawer':\n onActiveAiDrawerChangeStable(null, { initiatedByUserAction: false });\n break;\n case 'resizeDrawer':\n onActiveAiDrawerResizeStable(event.payload.size);\n break;\n case 'expandDrawer':\n setExpandedDrawerIdStable(event.payload.id);\n break;\n case 'exitExpandedMode':\n setExpandedDrawerIdStable(null);\n break;\n /* istanbul ignore next: this code is not intended to be visited */\n default:\n assertNever(event);\n }\n });\n const onAiDrawersChangeStable = useStableCallback(onActiveAiDrawerChange);\n const onActiveAiDrawerResizeStable = useStableCallback(onActiveAiDrawerResize);\n const onActiveAiDrawerChangeStable = useStableCallback(onActiveAiDrawerChange);\n const setExpandedDrawerIdStable = useStableCallback(setExpandedDrawerId);\n const aiDrawerWasOpenRef = useRef(false);\n aiDrawerWasOpenRef.current = aiDrawerWasOpenRef.current || !!activeAiDrawerId;\n\n useEffect(() => {\n if (!isEnabled) {\n return;\n }\n\n const initialDrawerMessage = getAppLayoutInitialState()?.find(message => message.type === 'registerLeftDrawer');\n if (initialDrawerMessage && initialDrawerMessage.type === 'registerLeftDrawer') {\n setAiDrawer(initialDrawerMessage.payload);\n if (!aiDrawerWasOpenRef.current && initialDrawerMessage.payload.defaultActive) {\n onAiDrawersChangeStable(initialDrawerMessage.payload.id, { initiatedByUserAction: false });\n }\n }\n\n const unsubscribe = registerAppLayoutHandler(appLayoutMessageHandler);\n return () => {\n unsubscribe();\n setAiDrawer(null);\n };\n }, [isEnabled, appLayoutMessageHandler, onAiDrawersChangeStable, onActiveAiDrawerResizeStable]);\n\n return aiDrawer && mapRuntimeConfigToAiDrawer(aiDrawer);\n}\n\nconst MIN_DRAWER_SIZE = 400;\n\ninterface UseDrawersProps {\n isEnabled: boolean;\n onAiDrawerFocus: () => void;\n expandedDrawerId: string | null;\n setExpandedDrawerId: (value: string | null) => void;\n}\n\nexport function useAiDrawer({ isEnabled, onAiDrawerFocus, expandedDrawerId, setExpandedDrawerId }: UseDrawersProps) {\n const [activeAiDrawerId, setActiveAiDrawerId] = useState<string | null>(null);\n const [size, setSize] = useState<number | null>(null);\n\n function onActiveAiDrawerResize(size: number) {\n setSize(size);\n fireNonCancelableEvent(activeAiDrawer?.onResize, { id: activeAiDrawerId, size });\n }\n\n function onActiveAiDrawerChange(\n newDrawerId: string | null,\n { initiatedByUserAction }: OnChangeParams = DEFAULT_ON_CHANGE_PARAMS\n ) {\n setActiveAiDrawerId(newDrawerId);\n\n if (newDrawerId) {\n fireNonCancelableEvent(aiDrawer?.onToggle, { isOpen: true, initiatedByUserAction });\n }\n\n if (activeAiDrawerId) {\n fireNonCancelableEvent(aiDrawer?.onToggle, { isOpen: false, initiatedByUserAction });\n\n if (activeAiDrawerId === expandedDrawerId) {\n setExpandedDrawerId?.(null);\n }\n }\n\n onAiDrawerFocus?.();\n }\n\n const aiDrawer = useRuntimeAiDrawer(\n isEnabled,\n activeAiDrawerId,\n onActiveAiDrawerChange,\n onActiveAiDrawerResize,\n setExpandedDrawerId\n );\n const activeAiDrawer = activeAiDrawerId && activeAiDrawerId === aiDrawer?.id ? aiDrawer : null;\n const activeAiDrawerSize = activeAiDrawerId ? (size ?? activeAiDrawer?.defaultSize ?? MIN_DRAWER_SIZE) : 0;\n const minAiDrawerSize = Math.min(activeAiDrawer?.defaultSize ?? MIN_DRAWER_SIZE, MIN_DRAWER_SIZE);\n\n return {\n aiDrawer,\n onActiveAiDrawerChange,\n activeAiDrawer,\n activeAiDrawerId,\n activeAiDrawerSize,\n minAiDrawerSize,\n onActiveAiDrawerResize,\n };\n}\n"]}
@@ -1,30 +1,30 @@
1
1
 
2
2
  import './styles.scoped.css';
3
3
  export default {
4
- "drawer": "awsui_drawer_12i0j_1xox5_193",
5
- "with-expanded-motion": "awsui_with-expanded-motion_12i0j_1xox5_207",
6
- "legacy": "awsui_legacy_12i0j_1xox5_221",
7
- "ai-drawer": "awsui_ai-drawer_12i0j_1xox5_221",
8
- "last-opened": "awsui_last-opened_12i0j_1xox5_229",
9
- "drawer-global": "awsui_drawer-global_12i0j_1xox5_233",
10
- "drawer-expanded": "awsui_drawer-expanded_12i0j_1xox5_242",
11
- "drawer-hidden": "awsui_drawer-hidden_12i0j_1xox5_246",
12
- "has-next-siblings": "awsui_has-next-siblings_12i0j_1xox5_256",
13
- "global-drawer-wrapper": "awsui_global-drawer-wrapper_12i0j_1xox5_256",
14
- "drawer-content-container": "awsui_drawer-content-container_12i0j_1xox5_270",
15
- "drawer-gap": "awsui_drawer-gap_12i0j_1xox5_273",
16
- "drawer-close-button": "awsui_drawer-close-button_12i0j_1xox5_291",
17
- "drawer-expanded-mode-button": "awsui_drawer-expanded-mode-button_12i0j_1xox5_297",
18
- "drawer-content": "awsui_drawer-content_12i0j_1xox5_270",
19
- "drawer-content-hidden": "awsui_drawer-content-hidden_12i0j_1xox5_309",
20
- "drawer-slider": "awsui_drawer-slider_12i0j_1xox5_312",
21
- "drawer-actions": "awsui_drawer-actions_12i0j_1xox5_362",
22
- "ai-drawer-slider-handle": "awsui_ai-drawer-slider-handle_12i0j_1xox5_416",
23
- "drawer-content-header": "awsui_drawer-content-header_12i0j_1xox5_436",
24
- "drawer-content-header-content": "awsui_drawer-content-header-content_12i0j_1xox5_449",
25
- "drawer-back-to-console-slot": "awsui_drawer-back-to-console-slot_12i0j_1xox5_466",
26
- "drawer-back-to-console-button-wrapper": "awsui_drawer-back-to-console-button-wrapper_12i0j_1xox5_505",
27
- "drawer-back-to-console-button": "awsui_drawer-back-to-console-button_12i0j_1xox5_505",
28
- "drawer-content-content": "awsui_drawer-content-content_12i0j_1xox5_578"
4
+ "drawer": "awsui_drawer_12i0j_z49q4_193",
5
+ "with-expanded-motion": "awsui_with-expanded-motion_12i0j_z49q4_207",
6
+ "legacy": "awsui_legacy_12i0j_z49q4_221",
7
+ "ai-drawer": "awsui_ai-drawer_12i0j_z49q4_221",
8
+ "last-opened": "awsui_last-opened_12i0j_z49q4_229",
9
+ "drawer-global": "awsui_drawer-global_12i0j_z49q4_233",
10
+ "drawer-expanded": "awsui_drawer-expanded_12i0j_z49q4_242",
11
+ "drawer-hidden": "awsui_drawer-hidden_12i0j_z49q4_246",
12
+ "has-next-siblings": "awsui_has-next-siblings_12i0j_z49q4_256",
13
+ "global-drawer-wrapper": "awsui_global-drawer-wrapper_12i0j_z49q4_256",
14
+ "drawer-content-container": "awsui_drawer-content-container_12i0j_z49q4_270",
15
+ "drawer-gap": "awsui_drawer-gap_12i0j_z49q4_273",
16
+ "drawer-close-button": "awsui_drawer-close-button_12i0j_z49q4_291",
17
+ "drawer-expanded-mode-button": "awsui_drawer-expanded-mode-button_12i0j_z49q4_297",
18
+ "drawer-content": "awsui_drawer-content_12i0j_z49q4_270",
19
+ "drawer-content-hidden": "awsui_drawer-content-hidden_12i0j_z49q4_309",
20
+ "drawer-slider": "awsui_drawer-slider_12i0j_z49q4_312",
21
+ "drawer-actions": "awsui_drawer-actions_12i0j_z49q4_362",
22
+ "ai-drawer-slider-handle": "awsui_ai-drawer-slider-handle_12i0j_z49q4_418",
23
+ "drawer-content-header": "awsui_drawer-content-header_12i0j_z49q4_437",
24
+ "drawer-content-header-content": "awsui_drawer-content-header-content_12i0j_z49q4_450",
25
+ "drawer-back-to-console-slot": "awsui_drawer-back-to-console-slot_12i0j_z49q4_467",
26
+ "drawer-back-to-console-button-wrapper": "awsui_drawer-back-to-console-button-wrapper_12i0j_z49q4_506",
27
+ "drawer-back-to-console-button": "awsui_drawer-back-to-console-button_12i0j_z49q4_506",
28
+ "drawer-content-content": "awsui_drawer-content-content_12i0j_z49q4_579"
29
29
  };
30
30
 
@@ -190,7 +190,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
190
190
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
191
191
  SPDX-License-Identifier: Apache-2.0
192
192
  */
193
- .awsui_drawer_12i0j_1xox5_193:not(#\9) {
193
+ .awsui_drawer_12i0j_z49q4_193:not(#\9) {
194
194
  position: sticky;
195
195
  z-index: 830;
196
196
  background-color: var(--color-background-container-content-6u8rvp, #ffffff);
@@ -204,56 +204,56 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
204
204
  pointer-events: auto;
205
205
  word-wrap: break-word;
206
206
  }
207
- .awsui_drawer_12i0j_1xox5_193.awsui_with-expanded-motion_12i0j_1xox5_207:not(#\9) {
207
+ .awsui_drawer_12i0j_z49q4_193.awsui_with-expanded-motion_12i0j_z49q4_207:not(#\9) {
208
208
  transition: inline-size var(--motion-duration-refresh-only-slow-ugjy90, 250ms) var(--motion-easing-refresh-only-a-ccyqaz, cubic-bezier(0, 0, 0, 1)), min-inline-size var(--motion-duration-refresh-only-slow-ugjy90, 250ms) var(--motion-easing-refresh-only-a-ccyqaz, cubic-bezier(0, 0, 0, 1));
209
209
  }
210
210
  @media (prefers-reduced-motion: reduce) {
211
- .awsui_drawer_12i0j_1xox5_193.awsui_with-expanded-motion_12i0j_1xox5_207:not(#\9) {
211
+ .awsui_drawer_12i0j_z49q4_193.awsui_with-expanded-motion_12i0j_z49q4_207:not(#\9) {
212
212
  animation: none;
213
213
  transition: none;
214
214
  }
215
215
  }
216
- .awsui-motion-disabled .awsui_drawer_12i0j_1xox5_193.awsui_with-expanded-motion_12i0j_1xox5_207:not(#\9), .awsui-mode-entering .awsui_drawer_12i0j_1xox5_193.awsui_with-expanded-motion_12i0j_1xox5_207:not(#\9) {
216
+ .awsui-motion-disabled .awsui_drawer_12i0j_z49q4_193.awsui_with-expanded-motion_12i0j_z49q4_207:not(#\9), .awsui-mode-entering .awsui_drawer_12i0j_z49q4_193.awsui_with-expanded-motion_12i0j_z49q4_207:not(#\9) {
217
217
  animation: none;
218
218
  transition: none;
219
219
  }
220
220
  @media (min-width: 689px) {
221
- .awsui_drawer_12i0j_1xox5_193:not(#\9):not(.awsui_legacy_12i0j_1xox5_221):not(.awsui_ai-drawer_12i0j_1xox5_221) {
221
+ .awsui_drawer_12i0j_z49q4_193:not(#\9):not(.awsui_legacy_12i0j_z49q4_221):not(.awsui_ai-drawer_12i0j_z49q4_221) {
222
222
  border-inline-start: var(--border-divider-section-width-uwo8my, 1px) solid var(--color-border-layout-ayg8vb, #c6c6cd);
223
223
  }
224
224
  }
225
225
  @media (max-width: 688px) {
226
- .awsui_drawer_12i0j_1xox5_193:not(#\9) {
226
+ .awsui_drawer_12i0j_z49q4_193:not(#\9) {
227
227
  inline-size: 100%;
228
228
  }
229
- .awsui_drawer_12i0j_1xox5_193.awsui_last-opened_12i0j_1xox5_229:not(#\9) {
229
+ .awsui_drawer_12i0j_z49q4_193.awsui_last-opened_12i0j_z49q4_229:not(#\9) {
230
230
  z-index: 1001;
231
231
  }
232
232
  }
233
- .awsui_drawer_12i0j_1xox5_193.awsui_drawer-global_12i0j_1xox5_233:not(#\9) {
233
+ .awsui_drawer_12i0j_z49q4_193.awsui_drawer-global_12i0j_z49q4_233:not(#\9) {
234
234
  display: block;
235
235
  }
236
236
  @media (min-width: 689px) {
237
- .awsui_drawer_12i0j_1xox5_193.awsui_drawer-global_12i0j_1xox5_233:not(#\9) {
237
+ .awsui_drawer_12i0j_z49q4_193.awsui_drawer-global_12i0j_z49q4_233:not(#\9) {
238
238
  inline-size: var(--awsui-drawer-size-vl73au);
239
239
  }
240
240
  }
241
241
  @media (max-width: 688px) {
242
- .awsui_drawer_12i0j_1xox5_193.awsui_drawer-global_12i0j_1xox5_233:not(#\9):not(.awsui_last-opened_12i0j_1xox5_229):not(.awsui_drawer-expanded_12i0j_1xox5_242) {
242
+ .awsui_drawer_12i0j_z49q4_193.awsui_drawer-global_12i0j_z49q4_233:not(#\9):not(.awsui_last-opened_12i0j_z49q4_229):not(.awsui_drawer-expanded_12i0j_z49q4_242) {
243
243
  display: none;
244
244
  }
245
245
  }
246
- .awsui_drawer_12i0j_1xox5_193.awsui_drawer-hidden_12i0j_1xox5_246:not(#\9) {
246
+ .awsui_drawer_12i0j_z49q4_193.awsui_drawer-hidden_12i0j_z49q4_246:not(#\9) {
247
247
  display: none;
248
248
  }
249
- .awsui_drawer_12i0j_1xox5_193.awsui_drawer-expanded_12i0j_1xox5_242:not(#\9) {
249
+ .awsui_drawer_12i0j_z49q4_193.awsui_drawer-expanded_12i0j_z49q4_242:not(#\9) {
250
250
  inline-size: 100%;
251
251
  }
252
252
  @media (min-width: 689px) {
253
- .awsui_drawer_12i0j_1xox5_193.awsui_drawer-expanded_12i0j_1xox5_242:not(#\9) {
253
+ .awsui_drawer_12i0j_z49q4_193.awsui_drawer-expanded_12i0j_z49q4_242:not(#\9) {
254
254
  border-inline-start: none;
255
255
  }
256
- .awsui_drawer_12i0j_1xox5_193.awsui_drawer-expanded_12i0j_1xox5_242.awsui_has-next-siblings_12i0j_1xox5_256 > .awsui_global-drawer-wrapper_12i0j_1xox5_256:not(#\9):after {
256
+ .awsui_drawer_12i0j_z49q4_193.awsui_drawer-expanded_12i0j_z49q4_242.awsui_has-next-siblings_12i0j_z49q4_256 > .awsui_global-drawer-wrapper_12i0j_z49q4_256:not(#\9):after {
257
257
  content: "";
258
258
  position: absolute;
259
259
  block-size: 100%;
@@ -263,14 +263,14 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
263
263
  border-inline-start: var(--border-divider-section-width-uwo8my, 1px) solid var(--color-border-layout-ayg8vb, #c6c6cd);
264
264
  box-sizing: border-box;
265
265
  }
266
- .awsui_drawer_12i0j_1xox5_193.awsui_drawer-expanded_12i0j_1xox5_242 > .awsui_global-drawer-wrapper_12i0j_1xox5_256:not(#\9) {
266
+ .awsui_drawer_12i0j_z49q4_193.awsui_drawer-expanded_12i0j_z49q4_242 > .awsui_global-drawer-wrapper_12i0j_z49q4_256:not(#\9) {
267
267
  inline-size: 100%;
268
268
  grid-template-columns: 8px 1fr;
269
269
  }
270
- .awsui_drawer_12i0j_1xox5_193.awsui_drawer-expanded_12i0j_1xox5_242 > .awsui_global-drawer-wrapper_12i0j_1xox5_256 > .awsui_drawer-content-container_12i0j_1xox5_270:not(#\9) {
270
+ .awsui_drawer_12i0j_z49q4_193.awsui_drawer-expanded_12i0j_z49q4_242 > .awsui_global-drawer-wrapper_12i0j_z49q4_256 > .awsui_drawer-content-container_12i0j_z49q4_270:not(#\9) {
271
271
  grid-column: 2;
272
272
  }
273
- .awsui_drawer_12i0j_1xox5_193.awsui_drawer-expanded_12i0j_1xox5_242 > .awsui_global-drawer-wrapper_12i0j_1xox5_256 > .awsui_drawer-gap_12i0j_1xox5_273:not(#\9) {
273
+ .awsui_drawer_12i0j_z49q4_193.awsui_drawer-expanded_12i0j_z49q4_242 > .awsui_global-drawer-wrapper_12i0j_z49q4_256 > .awsui_drawer-gap_12i0j_z49q4_273:not(#\9) {
274
274
  grid-column: 1;
275
275
  grid-row: 1;
276
276
  block-size: 100%;
@@ -279,7 +279,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
279
279
  border-inline-end: var(--border-divider-section-width-uwo8my, 1px) solid var(--color-border-layout-ayg8vb, #c6c6cd);
280
280
  }
281
281
  }
282
- .awsui_drawer_12i0j_1xox5_193 > .awsui_drawer-content-container_12i0j_1xox5_270:not(#\9) {
282
+ .awsui_drawer_12i0j_z49q4_193 > .awsui_drawer-content-container_12i0j_z49q4_270:not(#\9) {
283
283
  grid-column: 1/span 2;
284
284
  grid-row: 1;
285
285
  display: grid;
@@ -288,13 +288,13 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
288
288
  overflow-y: auto;
289
289
  min-inline-size: var(--awsui-drawer-size-vl73au);
290
290
  }
291
- .awsui_drawer_12i0j_1xox5_193 > .awsui_drawer-content-container_12i0j_1xox5_270 > .awsui_drawer-close-button_12i0j_1xox5_291:not(#\9) {
291
+ .awsui_drawer_12i0j_z49q4_193 > .awsui_drawer-content-container_12i0j_z49q4_270 > .awsui_drawer-close-button_12i0j_z49q4_291:not(#\9) {
292
292
  grid-column: 3;
293
293
  grid-row: 2;
294
294
  z-index: 1;
295
295
  align-self: start;
296
296
  }
297
- .awsui_drawer_12i0j_1xox5_193 > .awsui_drawer-content-container_12i0j_1xox5_270 > .awsui_drawer-expanded-mode-button_12i0j_1xox5_297:not(#\9) {
297
+ .awsui_drawer_12i0j_z49q4_193 > .awsui_drawer-content-container_12i0j_z49q4_270 > .awsui_drawer-expanded-mode-button_12i0j_z49q4_297:not(#\9) {
298
298
  grid-column: 2;
299
299
  grid-row: 2;
300
300
  z-index: 1;
@@ -302,32 +302,32 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
302
302
  display: flex;
303
303
  justify-content: flex-end;
304
304
  }
305
- .awsui_drawer_12i0j_1xox5_193 > .awsui_drawer-content-container_12i0j_1xox5_270 > .awsui_drawer-content_12i0j_1xox5_270:not(#\9) {
305
+ .awsui_drawer_12i0j_z49q4_193 > .awsui_drawer-content-container_12i0j_z49q4_270 > .awsui_drawer-content_12i0j_z49q4_270:not(#\9) {
306
306
  grid-column: 1/span 4;
307
307
  grid-row: 1/span 2;
308
308
  }
309
- .awsui_drawer_12i0j_1xox5_193 > .awsui_drawer-content-container_12i0j_1xox5_270 > .awsui_drawer-content_12i0j_1xox5_270.awsui_drawer-content-hidden_12i0j_1xox5_309:not(#\9) {
309
+ .awsui_drawer_12i0j_z49q4_193 > .awsui_drawer-content-container_12i0j_z49q4_270 > .awsui_drawer-content_12i0j_z49q4_270.awsui_drawer-content-hidden_12i0j_z49q4_309:not(#\9) {
310
310
  display: none;
311
311
  }
312
- .awsui_drawer_12i0j_1xox5_193 > .awsui_drawer-slider_12i0j_1xox5_312:not(#\9) {
312
+ .awsui_drawer_12i0j_z49q4_193 > .awsui_drawer-slider_12i0j_z49q4_312:not(#\9) {
313
313
  grid-column: 1;
314
314
  grid-row: 1;
315
315
  block-size: 100%;
316
316
  display: flex;
317
317
  align-items: center;
318
318
  }
319
- .awsui_drawer_12i0j_1xox5_193 > .awsui_global-drawer-wrapper_12i0j_1xox5_256:not(#\9) {
319
+ .awsui_drawer_12i0j_z49q4_193 > .awsui_global-drawer-wrapper_12i0j_z49q4_256:not(#\9) {
320
320
  display: grid;
321
321
  min-inline-size: var(--awsui-drawer-size-vl73au);
322
322
  grid-template-columns: 8px var(--space-m-dsumyt, 16px) 1fr;
323
323
  overflow: hidden;
324
324
  }
325
325
  @media (max-width: 688px) {
326
- .awsui_drawer_12i0j_1xox5_193 > .awsui_global-drawer-wrapper_12i0j_1xox5_256:not(#\9) {
326
+ .awsui_drawer_12i0j_z49q4_193 > .awsui_global-drawer-wrapper_12i0j_z49q4_256:not(#\9) {
327
327
  grid-template-columns: 1fr;
328
328
  }
329
329
  }
330
- .awsui_drawer_12i0j_1xox5_193 > .awsui_global-drawer-wrapper_12i0j_1xox5_256 > .awsui_drawer-gap_12i0j_1xox5_273:not(#\9) {
330
+ .awsui_drawer_12i0j_z49q4_193 > .awsui_global-drawer-wrapper_12i0j_z49q4_256 > .awsui_drawer-gap_12i0j_z49q4_273:not(#\9) {
331
331
  grid-column: 1;
332
332
  grid-row: 1;
333
333
  block-size: 100%;
@@ -336,13 +336,13 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
336
336
  border-inline-end: var(--border-divider-section-width-uwo8my, 1px) solid var(--color-border-layout-ayg8vb, #c6c6cd);
337
337
  box-sizing: border-box;
338
338
  }
339
- .awsui_drawer_12i0j_1xox5_193 > .awsui_global-drawer-wrapper_12i0j_1xox5_256 > .awsui_drawer-slider_12i0j_1xox5_312:not(#\9) {
339
+ .awsui_drawer_12i0j_z49q4_193 > .awsui_global-drawer-wrapper_12i0j_z49q4_256 > .awsui_drawer-slider_12i0j_z49q4_312:not(#\9) {
340
340
  grid-column: 2;
341
341
  grid-row: 1;
342
342
  display: flex;
343
343
  align-items: center;
344
344
  }
345
- .awsui_drawer_12i0j_1xox5_193 > .awsui_global-drawer-wrapper_12i0j_1xox5_256 > .awsui_drawer-content-container_12i0j_1xox5_270:not(#\9) {
345
+ .awsui_drawer_12i0j_z49q4_193 > .awsui_global-drawer-wrapper_12i0j_z49q4_256 > .awsui_drawer-content-container_12i0j_z49q4_270:not(#\9) {
346
346
  grid-row: 1;
347
347
  display: grid;
348
348
  grid-template-columns: var(--space-m-dsumyt, 16px) 1fr auto var(--space-m-dsumyt, 16px);
@@ -350,16 +350,16 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
350
350
  overflow-y: auto;
351
351
  }
352
352
  @media (min-width: 689px) {
353
- .awsui_drawer_12i0j_1xox5_193 > .awsui_global-drawer-wrapper_12i0j_1xox5_256 > .awsui_drawer-content-container_12i0j_1xox5_270:not(#\9) {
353
+ .awsui_drawer_12i0j_z49q4_193 > .awsui_global-drawer-wrapper_12i0j_z49q4_256 > .awsui_drawer-content-container_12i0j_z49q4_270:not(#\9) {
354
354
  grid-column: 2/span 2;
355
355
  }
356
356
  }
357
357
  @media (max-width: 688px) {
358
- .awsui_drawer_12i0j_1xox5_193 > .awsui_global-drawer-wrapper_12i0j_1xox5_256 > .awsui_drawer-content-container_12i0j_1xox5_270:not(#\9) {
358
+ .awsui_drawer_12i0j_z49q4_193 > .awsui_global-drawer-wrapper_12i0j_z49q4_256 > .awsui_drawer-content-container_12i0j_z49q4_270:not(#\9) {
359
359
  grid-column: 1/span 2;
360
360
  }
361
361
  }
362
- .awsui_drawer_12i0j_1xox5_193 > .awsui_global-drawer-wrapper_12i0j_1xox5_256 > .awsui_drawer-content-container_12i0j_1xox5_270 > .awsui_drawer-actions_12i0j_1xox5_362:not(#\9) {
362
+ .awsui_drawer_12i0j_z49q4_193 > .awsui_global-drawer-wrapper_12i0j_z49q4_256 > .awsui_drawer-content-container_12i0j_z49q4_270 > .awsui_drawer-actions_12i0j_z49q4_362:not(#\9) {
363
363
  position: absolute;
364
364
  display: flex;
365
365
  inset-block-start: 0;
@@ -367,13 +367,13 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
367
367
  padding-inline-end: var(--space-m-dsumyt, 16px);
368
368
  padding-block-start: 14px;
369
369
  }
370
- .awsui_drawer_12i0j_1xox5_193 > .awsui_global-drawer-wrapper_12i0j_1xox5_256 > .awsui_drawer-content-container_12i0j_1xox5_270 > .awsui_drawer-close-button_12i0j_1xox5_291:not(#\9) {
370
+ .awsui_drawer_12i0j_z49q4_193 > .awsui_global-drawer-wrapper_12i0j_z49q4_256 > .awsui_drawer-content-container_12i0j_z49q4_270 > .awsui_drawer-close-button_12i0j_z49q4_291:not(#\9) {
371
371
  grid-column: 3;
372
372
  grid-row: 2;
373
373
  z-index: 1;
374
374
  align-self: start;
375
375
  }
376
- .awsui_drawer_12i0j_1xox5_193 > .awsui_global-drawer-wrapper_12i0j_1xox5_256 > .awsui_drawer-content-container_12i0j_1xox5_270 > .awsui_drawer-expanded-mode-button_12i0j_1xox5_297:not(#\9) {
376
+ .awsui_drawer_12i0j_z49q4_193 > .awsui_global-drawer-wrapper_12i0j_z49q4_256 > .awsui_drawer-content-container_12i0j_z49q4_270 > .awsui_drawer-expanded-mode-button_12i0j_z49q4_297:not(#\9) {
377
377
  grid-column: 2;
378
378
  grid-row: 2;
379
379
  z-index: 1;
@@ -381,59 +381,60 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
381
381
  display: flex;
382
382
  justify-content: flex-end;
383
383
  }
384
- .awsui_drawer_12i0j_1xox5_193 > .awsui_global-drawer-wrapper_12i0j_1xox5_256 > .awsui_drawer-content-container_12i0j_1xox5_270 > .awsui_drawer-content_12i0j_1xox5_270:not(#\9) {
384
+ .awsui_drawer_12i0j_z49q4_193 > .awsui_global-drawer-wrapper_12i0j_z49q4_256 > .awsui_drawer-content-container_12i0j_z49q4_270 > .awsui_drawer-content_12i0j_z49q4_270:not(#\9) {
385
385
  grid-column: 1/span 4;
386
386
  grid-row: 1/span 2;
387
387
  }
388
- .awsui_drawer_12i0j_1xox5_193 > .awsui_global-drawer-wrapper_12i0j_1xox5_256 > .awsui_drawer-content-container_12i0j_1xox5_270 > .awsui_drawer-content_12i0j_1xox5_270.awsui_drawer-content-hidden_12i0j_1xox5_309:not(#\9) {
388
+ .awsui_drawer_12i0j_z49q4_193 > .awsui_global-drawer-wrapper_12i0j_z49q4_256 > .awsui_drawer-content-container_12i0j_z49q4_270 > .awsui_drawer-content_12i0j_z49q4_270.awsui_drawer-content-hidden_12i0j_z49q4_309:not(#\9) {
389
389
  display: none;
390
390
  }
391
391
  @media (max-width: 688px) {
392
392
  @media not print {
393
- .awsui_drawer_12i0j_1xox5_193:not(#\9):not(.awsui_ai-drawer_12i0j_1xox5_221) {
393
+ .awsui_drawer_12i0j_z49q4_193:not(#\9):not(.awsui_ai-drawer_12i0j_z49q4_221) {
394
394
  /* stylelint-disable selector-combinator-disallowed-list, selector-class-pattern */
395
395
  }
396
- .awsui-polaris-dark-mode .awsui_drawer_12i0j_1xox5_193:not(#\9):not(.awsui_ai-drawer_12i0j_1xox5_221), .awsui-dark-mode .awsui_drawer_12i0j_1xox5_193:not(#\9):not(.awsui_ai-drawer_12i0j_1xox5_221) {
396
+ .awsui-polaris-dark-mode .awsui_drawer_12i0j_z49q4_193:not(#\9):not(.awsui_ai-drawer_12i0j_z49q4_221), .awsui-dark-mode .awsui_drawer_12i0j_z49q4_193:not(#\9):not(.awsui_ai-drawer_12i0j_z49q4_221) {
397
397
  border-block-start: var(--border-divider-section-width-uwo8my, 1px) solid var(--color-border-layout-ayg8vb, #c6c6cd);
398
398
  }
399
399
  }
400
400
  }
401
- .awsui_drawer_12i0j_1xox5_193.awsui_ai-drawer_12i0j_1xox5_221:not(#\9) {
401
+ .awsui_drawer_12i0j_z49q4_193.awsui_ai-drawer_12i0j_z49q4_221:not(#\9) {
402
402
  grid-template-columns: 1fr var(--space-xs-ymlm0b, 8px);
403
403
  background: #161d26;
404
404
  }
405
405
  @media (max-width: 688px) {
406
- .awsui_drawer_12i0j_1xox5_193.awsui_ai-drawer_12i0j_1xox5_221:not(#\9) {
406
+ .awsui_drawer_12i0j_z49q4_193.awsui_ai-drawer_12i0j_z49q4_221:not(#\9) {
407
407
  grid-template-columns: 1fr;
408
408
  z-index: 1001;
409
409
  }
410
410
  }
411
- .awsui_drawer_12i0j_1xox5_193.awsui_ai-drawer_12i0j_1xox5_221 > .awsui_drawer-slider_12i0j_1xox5_312:not(#\9) {
411
+ .awsui_drawer_12i0j_z49q4_193.awsui_ai-drawer_12i0j_z49q4_221 > .awsui_drawer-slider_12i0j_z49q4_312:not(#\9) {
412
+ display: flex;
413
+ justify-content: center;
412
414
  inline-size: var(--space-xs-ymlm0b, 8px);
413
415
  overflow: hidden;
414
416
  grid-column: 2;
415
417
  }
416
- .awsui_drawer_12i0j_1xox5_193.awsui_ai-drawer_12i0j_1xox5_221 .awsui_ai-drawer-slider-handle_12i0j_1xox5_416:not(#\9) {
417
- transform: translate(-4px);
418
+ .awsui_drawer_12i0j_z49q4_193.awsui_ai-drawer_12i0j_z49q4_221 .awsui_ai-drawer-slider-handle_12i0j_z49q4_418:not(#\9) {
418
419
  color: var(--color-text-interactive-inverted-default-xlc0d5, #dedee3);
419
420
  }
420
- .awsui_drawer_12i0j_1xox5_193.awsui_ai-drawer_12i0j_1xox5_221 .awsui_ai-drawer-slider-handle_12i0j_1xox5_416:not(#\9):hover {
421
+ .awsui_drawer_12i0j_z49q4_193.awsui_ai-drawer_12i0j_z49q4_221 .awsui_ai-drawer-slider-handle_12i0j_z49q4_418:not(#\9):hover {
421
422
  stroke: var(--color-text-interactive-inverted-hover-65rnp7, #f9f9fa);
422
423
  }
423
- .awsui_drawer_12i0j_1xox5_193.awsui_ai-drawer_12i0j_1xox5_221 > .awsui_drawer-content-container_12i0j_1xox5_270:not(#\9) {
424
+ .awsui_drawer_12i0j_z49q4_193.awsui_ai-drawer_12i0j_z49q4_221 > .awsui_drawer-content-container_12i0j_z49q4_270:not(#\9) {
424
425
  min-inline-size: calc(var(--awsui-drawer-min-size-vl73au) - var(--space-xs-ymlm0b, 8px));
425
426
  grid-column: 1/span 1;
426
427
  background-color: var(--color-background-layout-panel-content-xto15e, #ffffff);
427
428
  }
428
429
  @media (min-width: 689px) {
429
- .awsui_drawer_12i0j_1xox5_193.awsui_ai-drawer_12i0j_1xox5_221 > .awsui_drawer-content-container_12i0j_1xox5_270:not(#\9) {
430
+ .awsui_drawer_12i0j_z49q4_193.awsui_ai-drawer_12i0j_z49q4_221 > .awsui_drawer-content-container_12i0j_z49q4_270:not(#\9) {
430
431
  border-start-end-radius: var(--space-xxs-hwfkai, 4px);
431
432
  }
432
433
  }
433
- .awsui_drawer_12i0j_1xox5_193.awsui_ai-drawer_12i0j_1xox5_221 > .awsui_drawer-content-container_12i0j_1xox5_270 > .awsui_drawer-content_12i0j_1xox5_270:not(#\9) {
434
+ .awsui_drawer_12i0j_z49q4_193.awsui_ai-drawer_12i0j_z49q4_221 > .awsui_drawer-content-container_12i0j_z49q4_270 > .awsui_drawer-content_12i0j_z49q4_270:not(#\9) {
434
435
  grid-row: 1/span 4;
435
436
  }
436
- .awsui_drawer_12i0j_1xox5_193.awsui_ai-drawer_12i0j_1xox5_221 > .awsui_drawer-content-container_12i0j_1xox5_270 > .awsui_drawer-content_12i0j_1xox5_270 > .awsui_drawer-content-header_12i0j_1xox5_436:not(#\9) {
437
+ .awsui_drawer_12i0j_z49q4_193.awsui_ai-drawer_12i0j_z49q4_221 > .awsui_drawer-content-container_12i0j_z49q4_270 > .awsui_drawer-content_12i0j_z49q4_270 > .awsui_drawer-content-header_12i0j_z49q4_437:not(#\9) {
437
438
  block-size: 41px;
438
439
  position: sticky;
439
440
  z-index: 1000;
@@ -446,7 +447,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
446
447
  border-image: linear-gradient(90deg, #962eff 0%, #5c7fff 30%, #09f 50%, #b8e7ff 70%, #8575ff 100%) 1;
447
448
  box-sizing: border-box;
448
449
  }
449
- .awsui_drawer_12i0j_1xox5_193.awsui_ai-drawer_12i0j_1xox5_221 > .awsui_drawer-content-container_12i0j_1xox5_270 > .awsui_drawer-content_12i0j_1xox5_270 > .awsui_drawer-content-header_12i0j_1xox5_436 > .awsui_drawer-content-header-content_12i0j_1xox5_449:not(#\9) {
450
+ .awsui_drawer_12i0j_z49q4_193.awsui_ai-drawer_12i0j_z49q4_221 > .awsui_drawer-content-container_12i0j_z49q4_270 > .awsui_drawer-content_12i0j_z49q4_270 > .awsui_drawer-content-header_12i0j_z49q4_437 > .awsui_drawer-content-header-content_12i0j_z49q4_450:not(#\9) {
450
451
  display: flex;
451
452
  flex: 1;
452
453
  align-items: center;
@@ -456,23 +457,23 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
456
457
  padding-inline-end: var(--space-m-dsumyt, 16px);
457
458
  }
458
459
  @media not print {
459
- .awsui_drawer_12i0j_1xox5_193.awsui_ai-drawer_12i0j_1xox5_221 > .awsui_drawer-content-container_12i0j_1xox5_270 > .awsui_drawer-content_12i0j_1xox5_270 > .awsui_drawer-content-header_12i0j_1xox5_436 > .awsui_drawer-content-header-content_12i0j_1xox5_449:not(#\9) {
460
+ .awsui_drawer_12i0j_z49q4_193.awsui_ai-drawer_12i0j_z49q4_221 > .awsui_drawer-content-container_12i0j_z49q4_270 > .awsui_drawer-content_12i0j_z49q4_270 > .awsui_drawer-content-header_12i0j_z49q4_437 > .awsui_drawer-content-header-content_12i0j_z49q4_450:not(#\9) {
460
461
  /* stylelint-disable selector-combinator-disallowed-list, selector-class-pattern */
461
462
  }
462
- .awsui-polaris-dark-mode .awsui_drawer_12i0j_1xox5_193.awsui_ai-drawer_12i0j_1xox5_221 > .awsui_drawer-content-container_12i0j_1xox5_270 > .awsui_drawer-content_12i0j_1xox5_270 > .awsui_drawer-content-header_12i0j_1xox5_436 > .awsui_drawer-content-header-content_12i0j_1xox5_449:not(#\9), .awsui-dark-mode .awsui_drawer_12i0j_1xox5_193.awsui_ai-drawer_12i0j_1xox5_221 > .awsui_drawer-content-container_12i0j_1xox5_270 > .awsui_drawer-content_12i0j_1xox5_270 > .awsui_drawer-content-header_12i0j_1xox5_436 > .awsui_drawer-content-header-content_12i0j_1xox5_449:not(#\9) {
463
+ .awsui-polaris-dark-mode .awsui_drawer_12i0j_z49q4_193.awsui_ai-drawer_12i0j_z49q4_221 > .awsui_drawer-content-container_12i0j_z49q4_270 > .awsui_drawer-content_12i0j_z49q4_270 > .awsui_drawer-content-header_12i0j_z49q4_437 > .awsui_drawer-content-header-content_12i0j_z49q4_450:not(#\9), .awsui-dark-mode .awsui_drawer_12i0j_z49q4_193.awsui_ai-drawer_12i0j_z49q4_221 > .awsui_drawer-content-container_12i0j_z49q4_270 > .awsui_drawer-content_12i0j_z49q4_270 > .awsui_drawer-content-header_12i0j_z49q4_437 > .awsui_drawer-content-header-content_12i0j_z49q4_450:not(#\9) {
463
464
  border-block-start: var(--border-divider-section-width-uwo8my, 1px) solid var(--color-border-layout-ayg8vb, #c6c6cd);
464
465
  }
465
466
  @media (min-width: 689px) {
466
- .awsui-polaris-dark-mode .awsui_drawer_12i0j_1xox5_193.awsui_ai-drawer_12i0j_1xox5_221 > .awsui_drawer-content-container_12i0j_1xox5_270 > .awsui_drawer-content_12i0j_1xox5_270 > .awsui_drawer-content-header_12i0j_1xox5_436 > .awsui_drawer-content-header-content_12i0j_1xox5_449:not(#\9):has(+ .awsui_drawer-back-to-console-slot_12i0j_1xox5_466), .awsui-dark-mode .awsui_drawer_12i0j_1xox5_193.awsui_ai-drawer_12i0j_1xox5_221 > .awsui_drawer-content-container_12i0j_1xox5_270 > .awsui_drawer-content_12i0j_1xox5_270 > .awsui_drawer-content-header_12i0j_1xox5_436 > .awsui_drawer-content-header-content_12i0j_1xox5_449:not(#\9):has(+ .awsui_drawer-back-to-console-slot_12i0j_1xox5_466) {
467
+ .awsui-polaris-dark-mode .awsui_drawer_12i0j_z49q4_193.awsui_ai-drawer_12i0j_z49q4_221 > .awsui_drawer-content-container_12i0j_z49q4_270 > .awsui_drawer-content_12i0j_z49q4_270 > .awsui_drawer-content-header_12i0j_z49q4_437 > .awsui_drawer-content-header-content_12i0j_z49q4_450:not(#\9):has(+ .awsui_drawer-back-to-console-slot_12i0j_z49q4_467), .awsui-dark-mode .awsui_drawer_12i0j_z49q4_193.awsui_ai-drawer_12i0j_z49q4_221 > .awsui_drawer-content-container_12i0j_z49q4_270 > .awsui_drawer-content_12i0j_z49q4_270 > .awsui_drawer-content-header_12i0j_z49q4_437 > .awsui_drawer-content-header-content_12i0j_z49q4_450:not(#\9):has(+ .awsui_drawer-back-to-console-slot_12i0j_z49q4_467) {
467
468
  border-inline-end: var(--border-divider-section-width-uwo8my, 1px) solid var(--color-border-layout-ayg8vb, #c6c6cd);
468
469
  border-start-end-radius: var(--space-xxs-hwfkai, 4px);
469
470
  }
470
471
  }
471
472
  }
472
- .awsui_drawer_12i0j_1xox5_193.awsui_ai-drawer_12i0j_1xox5_221 > .awsui_drawer-content-container_12i0j_1xox5_270 > .awsui_drawer-content_12i0j_1xox5_270 > .awsui_drawer-content-header_12i0j_1xox5_436 > .awsui_drawer-content-header-content_12i0j_1xox5_449 > .awsui_drawer-actions_12i0j_1xox5_362:not(#\9) {
473
+ .awsui_drawer_12i0j_z49q4_193.awsui_ai-drawer_12i0j_z49q4_221 > .awsui_drawer-content-container_12i0j_z49q4_270 > .awsui_drawer-content_12i0j_z49q4_270 > .awsui_drawer-content-header_12i0j_z49q4_437 > .awsui_drawer-content-header-content_12i0j_z49q4_450 > .awsui_drawer-actions_12i0j_z49q4_362:not(#\9) {
473
474
  display: flex;
474
475
  }
475
- .awsui_drawer_12i0j_1xox5_193.awsui_ai-drawer_12i0j_1xox5_221 > .awsui_drawer-content-container_12i0j_1xox5_270 > .awsui_drawer-content_12i0j_1xox5_270 > .awsui_drawer-content-header_12i0j_1xox5_436 > .awsui_drawer-back-to-console-slot_12i0j_1xox5_466:not(#\9) {
476
+ .awsui_drawer_12i0j_z49q4_193.awsui_ai-drawer_12i0j_z49q4_221 > .awsui_drawer-content-container_12i0j_z49q4_270 > .awsui_drawer-content_12i0j_z49q4_270 > .awsui_drawer-content-header_12i0j_z49q4_437 > .awsui_drawer-back-to-console-slot_12i0j_z49q4_467:not(#\9) {
476
477
  position: relative;
477
478
  display: flex;
478
479
  align-items: center;
@@ -481,7 +482,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
481
482
  padding-inline: var(--space-static-m-m6qboo, 16px);
482
483
  background-color: #161d26;
483
484
  }
484
- .awsui_drawer_12i0j_1xox5_193.awsui_ai-drawer_12i0j_1xox5_221 > .awsui_drawer-content-container_12i0j_1xox5_270 > .awsui_drawer-content_12i0j_1xox5_270 > .awsui_drawer-content-header_12i0j_1xox5_436 > .awsui_drawer-back-to-console-slot_12i0j_1xox5_466:not(#\9):before, .awsui_drawer_12i0j_1xox5_193.awsui_ai-drawer_12i0j_1xox5_221 > .awsui_drawer-content-container_12i0j_1xox5_270 > .awsui_drawer-content_12i0j_1xox5_270 > .awsui_drawer-content-header_12i0j_1xox5_436 > .awsui_drawer-back-to-console-slot_12i0j_1xox5_466:not(#\9):after {
485
+ .awsui_drawer_12i0j_z49q4_193.awsui_ai-drawer_12i0j_z49q4_221 > .awsui_drawer-content-container_12i0j_z49q4_270 > .awsui_drawer-content_12i0j_z49q4_270 > .awsui_drawer-content-header_12i0j_z49q4_437 > .awsui_drawer-back-to-console-slot_12i0j_z49q4_467:not(#\9):before, .awsui_drawer_12i0j_z49q4_193.awsui_ai-drawer_12i0j_z49q4_221 > .awsui_drawer-content-container_12i0j_z49q4_270 > .awsui_drawer-content_12i0j_z49q4_270 > .awsui_drawer-content-header_12i0j_z49q4_437 > .awsui_drawer-back-to-console-slot_12i0j_z49q4_467:not(#\9):after {
485
486
  content: "";
486
487
  position: absolute;
487
488
  inset-block-start: 0;
@@ -491,28 +492,28 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
491
492
  background: #161d26;
492
493
  }
493
494
  @media not print {
494
- .awsui_drawer_12i0j_1xox5_193.awsui_ai-drawer_12i0j_1xox5_221 > .awsui_drawer-content-container_12i0j_1xox5_270 > .awsui_drawer-content_12i0j_1xox5_270 > .awsui_drawer-content-header_12i0j_1xox5_436 > .awsui_drawer-back-to-console-slot_12i0j_1xox5_466:not(#\9):before, .awsui_drawer_12i0j_1xox5_193.awsui_ai-drawer_12i0j_1xox5_221 > .awsui_drawer-content-container_12i0j_1xox5_270 > .awsui_drawer-content_12i0j_1xox5_270 > .awsui_drawer-content-header_12i0j_1xox5_436 > .awsui_drawer-back-to-console-slot_12i0j_1xox5_466:not(#\9):after {
495
+ .awsui_drawer_12i0j_z49q4_193.awsui_ai-drawer_12i0j_z49q4_221 > .awsui_drawer-content-container_12i0j_z49q4_270 > .awsui_drawer-content_12i0j_z49q4_270 > .awsui_drawer-content-header_12i0j_z49q4_437 > .awsui_drawer-back-to-console-slot_12i0j_z49q4_467:not(#\9):before, .awsui_drawer_12i0j_z49q4_193.awsui_ai-drawer_12i0j_z49q4_221 > .awsui_drawer-content-container_12i0j_z49q4_270 > .awsui_drawer-content_12i0j_z49q4_270 > .awsui_drawer-content-header_12i0j_z49q4_437 > .awsui_drawer-back-to-console-slot_12i0j_z49q4_467:not(#\9):after {
495
496
  /* stylelint-disable selector-combinator-disallowed-list, selector-class-pattern */
496
497
  }
497
- .awsui-polaris-dark-mode .awsui_drawer_12i0j_1xox5_193.awsui_ai-drawer_12i0j_1xox5_221 > .awsui_drawer-content-container_12i0j_1xox5_270 > .awsui_drawer-content_12i0j_1xox5_270 > .awsui_drawer-content-header_12i0j_1xox5_436 > .awsui_drawer-back-to-console-slot_12i0j_1xox5_466:not(#\9):before, .awsui-dark-mode .awsui_drawer_12i0j_1xox5_193.awsui_ai-drawer_12i0j_1xox5_221 > .awsui_drawer-content-container_12i0j_1xox5_270 > .awsui_drawer-content_12i0j_1xox5_270 > .awsui_drawer-content-header_12i0j_1xox5_436 > .awsui_drawer-back-to-console-slot_12i0j_1xox5_466:not(#\9):before, .awsui-polaris-dark-mode .awsui_drawer_12i0j_1xox5_193.awsui_ai-drawer_12i0j_1xox5_221 > .awsui_drawer-content-container_12i0j_1xox5_270 > .awsui_drawer-content_12i0j_1xox5_270 > .awsui_drawer-content-header_12i0j_1xox5_436 > .awsui_drawer-back-to-console-slot_12i0j_1xox5_466:not(#\9):after, .awsui-dark-mode .awsui_drawer_12i0j_1xox5_193.awsui_ai-drawer_12i0j_1xox5_221 > .awsui_drawer-content-container_12i0j_1xox5_270 > .awsui_drawer-content_12i0j_1xox5_270 > .awsui_drawer-content-header_12i0j_1xox5_436 > .awsui_drawer-back-to-console-slot_12i0j_1xox5_466:not(#\9):after {
498
+ .awsui-polaris-dark-mode .awsui_drawer_12i0j_z49q4_193.awsui_ai-drawer_12i0j_z49q4_221 > .awsui_drawer-content-container_12i0j_z49q4_270 > .awsui_drawer-content_12i0j_z49q4_270 > .awsui_drawer-content-header_12i0j_z49q4_437 > .awsui_drawer-back-to-console-slot_12i0j_z49q4_467:not(#\9):before, .awsui-dark-mode .awsui_drawer_12i0j_z49q4_193.awsui_ai-drawer_12i0j_z49q4_221 > .awsui_drawer-content-container_12i0j_z49q4_270 > .awsui_drawer-content_12i0j_z49q4_270 > .awsui_drawer-content-header_12i0j_z49q4_437 > .awsui_drawer-back-to-console-slot_12i0j_z49q4_467:not(#\9):before, .awsui-polaris-dark-mode .awsui_drawer_12i0j_z49q4_193.awsui_ai-drawer_12i0j_z49q4_221 > .awsui_drawer-content-container_12i0j_z49q4_270 > .awsui_drawer-content_12i0j_z49q4_270 > .awsui_drawer-content-header_12i0j_z49q4_437 > .awsui_drawer-back-to-console-slot_12i0j_z49q4_467:not(#\9):after, .awsui-dark-mode .awsui_drawer_12i0j_z49q4_193.awsui_ai-drawer_12i0j_z49q4_221 > .awsui_drawer-content-container_12i0j_z49q4_270 > .awsui_drawer-content_12i0j_z49q4_270 > .awsui_drawer-content-header_12i0j_z49q4_437 > .awsui_drawer-back-to-console-slot_12i0j_z49q4_467:not(#\9):after {
498
499
  display: none;
499
500
  }
500
501
  }
501
- .awsui_drawer_12i0j_1xox5_193.awsui_ai-drawer_12i0j_1xox5_221 > .awsui_drawer-content-container_12i0j_1xox5_270 > .awsui_drawer-content_12i0j_1xox5_270 > .awsui_drawer-content-header_12i0j_1xox5_436 > .awsui_drawer-back-to-console-slot_12i0j_1xox5_466:not(#\9):after {
502
+ .awsui_drawer_12i0j_z49q4_193.awsui_ai-drawer_12i0j_z49q4_221 > .awsui_drawer-content-container_12i0j_z49q4_270 > .awsui_drawer-content_12i0j_z49q4_270 > .awsui_drawer-content-header_12i0j_z49q4_437 > .awsui_drawer-back-to-console-slot_12i0j_z49q4_467:not(#\9):after {
502
503
  background-color: var(--color-background-layout-panel-content-xto15e, #ffffff);
503
504
  border-start-end-radius: var(--space-xxs-hwfkai, 4px);
504
505
  }
505
- .awsui_drawer_12i0j_1xox5_193.awsui_ai-drawer_12i0j_1xox5_221 > .awsui_drawer-content-container_12i0j_1xox5_270 > .awsui_drawer-content_12i0j_1xox5_270 > .awsui_drawer-content-header_12i0j_1xox5_436 > .awsui_drawer-back-to-console-slot_12i0j_1xox5_466 > .awsui_drawer-back-to-console-button-wrapper_12i0j_1xox5_505:not(#\9) {
506
+ .awsui_drawer_12i0j_z49q4_193.awsui_ai-drawer_12i0j_z49q4_221 > .awsui_drawer-content-container_12i0j_z49q4_270 > .awsui_drawer-content_12i0j_z49q4_270 > .awsui_drawer-content-header_12i0j_z49q4_437 > .awsui_drawer-back-to-console-slot_12i0j_z49q4_467 > .awsui_drawer-back-to-console-button-wrapper_12i0j_z49q4_506:not(#\9) {
506
507
  position: relative;
507
508
  }
508
- .awsui_drawer_12i0j_1xox5_193.awsui_ai-drawer_12i0j_1xox5_221 > .awsui_drawer-content-container_12i0j_1xox5_270 > .awsui_drawer-content_12i0j_1xox5_270 > .awsui_drawer-content-header_12i0j_1xox5_436 > .awsui_drawer-back-to-console-slot_12i0j_1xox5_466 > .awsui_drawer-back-to-console-button-wrapper_12i0j_1xox5_505:not(#\9):has(:focus-visible) {
509
+ .awsui_drawer_12i0j_z49q4_193.awsui_ai-drawer_12i0j_z49q4_221 > .awsui_drawer-content-container_12i0j_z49q4_270 > .awsui_drawer-content_12i0j_z49q4_270 > .awsui_drawer-content-header_12i0j_z49q4_437 > .awsui_drawer-back-to-console-slot_12i0j_z49q4_467 > .awsui_drawer-back-to-console-button-wrapper_12i0j_z49q4_506:not(#\9):has(:focus-visible) {
509
510
  position: relative;
510
511
  }
511
- .awsui_drawer_12i0j_1xox5_193.awsui_ai-drawer_12i0j_1xox5_221 > .awsui_drawer-content-container_12i0j_1xox5_270 > .awsui_drawer-content_12i0j_1xox5_270 > .awsui_drawer-content-header_12i0j_1xox5_436 > .awsui_drawer-back-to-console-slot_12i0j_1xox5_466 > .awsui_drawer-back-to-console-button-wrapper_12i0j_1xox5_505:not(#\9):has(:focus-visible) {
512
+ .awsui_drawer_12i0j_z49q4_193.awsui_ai-drawer_12i0j_z49q4_221 > .awsui_drawer-content-container_12i0j_z49q4_270 > .awsui_drawer-content_12i0j_z49q4_270 > .awsui_drawer-content-header_12i0j_z49q4_437 > .awsui_drawer-back-to-console-slot_12i0j_z49q4_467 > .awsui_drawer-back-to-console-button-wrapper_12i0j_z49q4_506:not(#\9):has(:focus-visible) {
512
513
  outline: 2px dotted transparent;
513
514
  outline-offset: calc(3px - 1px);
514
515
  }
515
- .awsui_drawer_12i0j_1xox5_193.awsui_ai-drawer_12i0j_1xox5_221 > .awsui_drawer-content-container_12i0j_1xox5_270 > .awsui_drawer-content_12i0j_1xox5_270 > .awsui_drawer-content-header_12i0j_1xox5_436 > .awsui_drawer-back-to-console-slot_12i0j_1xox5_466 > .awsui_drawer-back-to-console-button-wrapper_12i0j_1xox5_505:not(#\9):has(:focus-visible)::before {
516
+ .awsui_drawer_12i0j_z49q4_193.awsui_ai-drawer_12i0j_z49q4_221 > .awsui_drawer-content-container_12i0j_z49q4_270 > .awsui_drawer-content_12i0j_z49q4_270 > .awsui_drawer-content-header_12i0j_z49q4_437 > .awsui_drawer-back-to-console-slot_12i0j_z49q4_467 > .awsui_drawer-back-to-console-button-wrapper_12i0j_z49q4_506:not(#\9):has(:focus-visible)::before {
516
517
  content: " ";
517
518
  display: block;
518
519
  position: absolute;
@@ -526,7 +527,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
526
527
  border-end-end-radius: var(--border-radius-control-default-focus-ring-1uabki, 4px);
527
528
  box-shadow: 0 0 0 2px var(--color-border-item-focused-uk47pl, #006ce0);
528
529
  }
529
- .awsui_drawer_12i0j_1xox5_193.awsui_ai-drawer_12i0j_1xox5_221 > .awsui_drawer-content-container_12i0j_1xox5_270 > .awsui_drawer-content_12i0j_1xox5_270 > .awsui_drawer-content-header_12i0j_1xox5_436 > .awsui_drawer-back-to-console-slot_12i0j_1xox5_466 > .awsui_drawer-back-to-console-button-wrapper_12i0j_1xox5_505 > .awsui_drawer-back-to-console-button_12i0j_1xox5_505:not(#\9) {
530
+ .awsui_drawer_12i0j_z49q4_193.awsui_ai-drawer_12i0j_z49q4_221 > .awsui_drawer-content-container_12i0j_z49q4_270 > .awsui_drawer-content_12i0j_z49q4_270 > .awsui_drawer-content-header_12i0j_z49q4_437 > .awsui_drawer-back-to-console-slot_12i0j_z49q4_467 > .awsui_drawer-back-to-console-button-wrapper_12i0j_z49q4_506 > .awsui_drawer-back-to-console-button_12i0j_z49q4_506:not(#\9) {
530
531
  border-collapse: separate;
531
532
  border-spacing: 0;
532
533
  box-sizing: border-box;
@@ -572,30 +573,34 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
572
573
  color: #ffffff;
573
574
  cursor: pointer;
574
575
  }
575
- .awsui_drawer_12i0j_1xox5_193.awsui_ai-drawer_12i0j_1xox5_221 > .awsui_drawer-content-container_12i0j_1xox5_270 > .awsui_drawer-content_12i0j_1xox5_270 > .awsui_drawer-content-header_12i0j_1xox5_436 > .awsui_drawer-back-to-console-slot_12i0j_1xox5_466 > .awsui_drawer-back-to-console-button-wrapper_12i0j_1xox5_505 > .awsui_drawer-back-to-console-button_12i0j_1xox5_505:not(#\9):focus {
576
+ .awsui_drawer_12i0j_z49q4_193.awsui_ai-drawer_12i0j_z49q4_221 > .awsui_drawer-content-container_12i0j_z49q4_270 > .awsui_drawer-content_12i0j_z49q4_270 > .awsui_drawer-content-header_12i0j_z49q4_437 > .awsui_drawer-back-to-console-slot_12i0j_z49q4_467 > .awsui_drawer-back-to-console-button-wrapper_12i0j_z49q4_506 > .awsui_drawer-back-to-console-button_12i0j_z49q4_506:not(#\9):focus {
576
577
  outline: none;
577
578
  }
578
- .awsui_drawer_12i0j_1xox5_193.awsui_ai-drawer_12i0j_1xox5_221 > .awsui_drawer-content-container_12i0j_1xox5_270 > .awsui_drawer-content_12i0j_1xox5_270 > .awsui_drawer-content-content_12i0j_1xox5_578:not(#\9) {
579
+ .awsui_drawer_12i0j_z49q4_193.awsui_ai-drawer_12i0j_z49q4_221 > .awsui_drawer-content-container_12i0j_z49q4_270 > .awsui_drawer-content_12i0j_z49q4_270 > .awsui_drawer-content-content_12i0j_z49q4_579:not(#\9) {
579
580
  display: flex;
580
581
  flex-direction: column;
581
582
  block-size: calc(100% - 41px);
582
583
  }
583
584
  @media (min-width: 689px) {
584
- .awsui_drawer_12i0j_1xox5_193.awsui_ai-drawer_12i0j_1xox5_221:not(#\9):not(.awsui_drawer-expanded_12i0j_1xox5_242) > .awsui_drawer-content-container_12i0j_1xox5_270 {
585
- clip-path: inset(0 0 -9999px 0 round var(--space-xxs-hwfkai, 4px));
585
+ .awsui_drawer_12i0j_z49q4_193.awsui_ai-drawer_12i0j_z49q4_221:not(#\9):not(.awsui_drawer-expanded_12i0j_z49q4_242) > .awsui_drawer-content-container_12i0j_z49q4_270 {
586
+ clip-path: inset(0 0 -9999px 0 round 0 var(--space-xxs-hwfkai, 4px) 0 0);
587
+ /* stylelint-disable-next-line plugin/no-unsupported-browser-features */
588
+ }
589
+ .awsui_drawer_12i0j_z49q4_193.awsui_ai-drawer_12i0j_z49q4_221:not(#\9):not(.awsui_drawer-expanded_12i0j_z49q4_242) > .awsui_drawer-content-container_12i0j_z49q4_270:dir(rtl) {
590
+ clip-path: inset(0 0 -9999px 0 round var(--space-xxs-hwfkai, 4px) 0 0 0);
586
591
  }
587
592
  @media not print {
588
- .awsui_drawer_12i0j_1xox5_193.awsui_ai-drawer_12i0j_1xox5_221:not(#\9):not(.awsui_drawer-expanded_12i0j_1xox5_242) > .awsui_drawer-content-container_12i0j_1xox5_270 {
593
+ .awsui_drawer_12i0j_z49q4_193.awsui_ai-drawer_12i0j_z49q4_221:not(#\9):not(.awsui_drawer-expanded_12i0j_z49q4_242) > .awsui_drawer-content-container_12i0j_z49q4_270 {
589
594
  /* stylelint-disable selector-combinator-disallowed-list, selector-class-pattern */
590
595
  }
591
- .awsui-polaris-dark-mode .awsui_drawer_12i0j_1xox5_193.awsui_ai-drawer_12i0j_1xox5_221:not(#\9):not(.awsui_drawer-expanded_12i0j_1xox5_242) > .awsui_drawer-content-container_12i0j_1xox5_270, .awsui-dark-mode .awsui_drawer_12i0j_1xox5_193.awsui_ai-drawer_12i0j_1xox5_221:not(#\9):not(.awsui_drawer-expanded_12i0j_1xox5_242) > .awsui_drawer-content-container_12i0j_1xox5_270 {
596
+ .awsui-polaris-dark-mode .awsui_drawer_12i0j_z49q4_193.awsui_ai-drawer_12i0j_z49q4_221:not(#\9):not(.awsui_drawer-expanded_12i0j_z49q4_242) > .awsui_drawer-content-container_12i0j_z49q4_270, .awsui-dark-mode .awsui_drawer_12i0j_z49q4_193.awsui_ai-drawer_12i0j_z49q4_221:not(#\9):not(.awsui_drawer-expanded_12i0j_z49q4_242) > .awsui_drawer-content-container_12i0j_z49q4_270 {
592
597
  border-inline-end: var(--border-divider-section-width-uwo8my, 1px) solid var(--color-border-layout-ayg8vb, #c6c6cd);
593
598
  }
594
599
  }
595
600
  }
596
- .awsui_drawer_12i0j_1xox5_193.awsui_ai-drawer_12i0j_1xox5_221.awsui_drawer-expanded_12i0j_1xox5_242:not(#\9) {
601
+ .awsui_drawer_12i0j_z49q4_193.awsui_ai-drawer_12i0j_z49q4_221.awsui_drawer-expanded_12i0j_z49q4_242:not(#\9) {
597
602
  grid-template-columns: 1fr;
598
603
  }
599
- .awsui_drawer_12i0j_1xox5_193.awsui_ai-drawer_12i0j_1xox5_221.awsui_drawer-expanded_12i0j_1xox5_242 > .awsui_drawer-content-container_12i0j_1xox5_270:not(#\9) {
604
+ .awsui_drawer_12i0j_z49q4_193.awsui_ai-drawer_12i0j_z49q4_221.awsui_drawer-expanded_12i0j_z49q4_242 > .awsui_drawer-content-container_12i0j_z49q4_270:not(#\9) {
600
605
  border-start-end-radius: 0;
601
606
  }
@@ -2,30 +2,30 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "drawer": "awsui_drawer_12i0j_1xox5_193",
6
- "with-expanded-motion": "awsui_with-expanded-motion_12i0j_1xox5_207",
7
- "legacy": "awsui_legacy_12i0j_1xox5_221",
8
- "ai-drawer": "awsui_ai-drawer_12i0j_1xox5_221",
9
- "last-opened": "awsui_last-opened_12i0j_1xox5_229",
10
- "drawer-global": "awsui_drawer-global_12i0j_1xox5_233",
11
- "drawer-expanded": "awsui_drawer-expanded_12i0j_1xox5_242",
12
- "drawer-hidden": "awsui_drawer-hidden_12i0j_1xox5_246",
13
- "has-next-siblings": "awsui_has-next-siblings_12i0j_1xox5_256",
14
- "global-drawer-wrapper": "awsui_global-drawer-wrapper_12i0j_1xox5_256",
15
- "drawer-content-container": "awsui_drawer-content-container_12i0j_1xox5_270",
16
- "drawer-gap": "awsui_drawer-gap_12i0j_1xox5_273",
17
- "drawer-close-button": "awsui_drawer-close-button_12i0j_1xox5_291",
18
- "drawer-expanded-mode-button": "awsui_drawer-expanded-mode-button_12i0j_1xox5_297",
19
- "drawer-content": "awsui_drawer-content_12i0j_1xox5_270",
20
- "drawer-content-hidden": "awsui_drawer-content-hidden_12i0j_1xox5_309",
21
- "drawer-slider": "awsui_drawer-slider_12i0j_1xox5_312",
22
- "drawer-actions": "awsui_drawer-actions_12i0j_1xox5_362",
23
- "ai-drawer-slider-handle": "awsui_ai-drawer-slider-handle_12i0j_1xox5_416",
24
- "drawer-content-header": "awsui_drawer-content-header_12i0j_1xox5_436",
25
- "drawer-content-header-content": "awsui_drawer-content-header-content_12i0j_1xox5_449",
26
- "drawer-back-to-console-slot": "awsui_drawer-back-to-console-slot_12i0j_1xox5_466",
27
- "drawer-back-to-console-button-wrapper": "awsui_drawer-back-to-console-button-wrapper_12i0j_1xox5_505",
28
- "drawer-back-to-console-button": "awsui_drawer-back-to-console-button_12i0j_1xox5_505",
29
- "drawer-content-content": "awsui_drawer-content-content_12i0j_1xox5_578"
5
+ "drawer": "awsui_drawer_12i0j_z49q4_193",
6
+ "with-expanded-motion": "awsui_with-expanded-motion_12i0j_z49q4_207",
7
+ "legacy": "awsui_legacy_12i0j_z49q4_221",
8
+ "ai-drawer": "awsui_ai-drawer_12i0j_z49q4_221",
9
+ "last-opened": "awsui_last-opened_12i0j_z49q4_229",
10
+ "drawer-global": "awsui_drawer-global_12i0j_z49q4_233",
11
+ "drawer-expanded": "awsui_drawer-expanded_12i0j_z49q4_242",
12
+ "drawer-hidden": "awsui_drawer-hidden_12i0j_z49q4_246",
13
+ "has-next-siblings": "awsui_has-next-siblings_12i0j_z49q4_256",
14
+ "global-drawer-wrapper": "awsui_global-drawer-wrapper_12i0j_z49q4_256",
15
+ "drawer-content-container": "awsui_drawer-content-container_12i0j_z49q4_270",
16
+ "drawer-gap": "awsui_drawer-gap_12i0j_z49q4_273",
17
+ "drawer-close-button": "awsui_drawer-close-button_12i0j_z49q4_291",
18
+ "drawer-expanded-mode-button": "awsui_drawer-expanded-mode-button_12i0j_z49q4_297",
19
+ "drawer-content": "awsui_drawer-content_12i0j_z49q4_270",
20
+ "drawer-content-hidden": "awsui_drawer-content-hidden_12i0j_z49q4_309",
21
+ "drawer-slider": "awsui_drawer-slider_12i0j_z49q4_312",
22
+ "drawer-actions": "awsui_drawer-actions_12i0j_z49q4_362",
23
+ "ai-drawer-slider-handle": "awsui_ai-drawer-slider-handle_12i0j_z49q4_418",
24
+ "drawer-content-header": "awsui_drawer-content-header_12i0j_z49q4_437",
25
+ "drawer-content-header-content": "awsui_drawer-content-header-content_12i0j_z49q4_450",
26
+ "drawer-back-to-console-slot": "awsui_drawer-back-to-console-slot_12i0j_z49q4_467",
27
+ "drawer-back-to-console-button-wrapper": "awsui_drawer-back-to-console-button-wrapper_12i0j_z49q4_506",
28
+ "drawer-back-to-console-button": "awsui_drawer-back-to-console-button_12i0j_z49q4_506",
29
+ "drawer-content-content": "awsui_drawer-content-content_12i0j_z49q4_579"
30
30
  };
31
31
 
@@ -2043,5 +2043,5 @@
2043
2043
  }
2044
2044
  }
2045
2045
  :root {
2046
- --awsui-version-info-9681b61a: true;
2046
+ --awsui-version-info-d024ba32: true;
2047
2047
  }
@@ -1,6 +1,6 @@
1
1
  export var PACKAGE_SOURCE = "components";
2
- export var PACKAGE_VERSION = "3.0.0 (9681b61a)";
3
- export var GIT_SHA = "9681b61a";
2
+ export var PACKAGE_VERSION = "3.0.0 (d024ba32)";
3
+ export var GIT_SHA = "d024ba32";
4
4
  export var THEME = "open-source-visual-refresh";
5
5
  export var SYSTEM = "console";
6
6
  export var ALWAYS_VISUAL_REFRESH = true;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "PACKAGE_SOURCE": "components",
3
- "PACKAGE_VERSION": "3.0.0 (9681b61a)",
4
- "GIT_SHA": "9681b61a",
3
+ "PACKAGE_VERSION": "3.0.0 (d024ba32)",
4
+ "GIT_SHA": "d024ba32",
5
5
  "THEME": "open-source-visual-refresh",
6
6
  "SYSTEM": "console",
7
7
  "ALWAYS_VISUAL_REFRESH": true
@@ -1,3 +1,3 @@
1
1
  {
2
- "commit": "9681b61a5fac8c59880143a463a30b8f6b2281f1"
2
+ "commit": "d024ba3210499078d67e8a6a396a2201df5083c2"
3
3
  }
@@ -56,6 +56,12 @@ export type ResizeDrawerMessage = Message<'resizeDrawer', {
56
56
  id: string;
57
57
  size: number;
58
58
  }>;
59
- export type AppLayoutUpdateMessage = UpdateDrawerConfigMessage | OpenDrawerMessage | CloseDrawerMessage | ResizeDrawerMessage;
59
+ export type ExpandDrawerMessage = Message<'expandDrawer', {
60
+ id: string;
61
+ }>;
62
+ export interface ExitExpandedModeMessage {
63
+ type: 'exitExpandedMode';
64
+ }
65
+ export type AppLayoutUpdateMessage = UpdateDrawerConfigMessage | OpenDrawerMessage | CloseDrawerMessage | ResizeDrawerMessage | ExpandDrawerMessage | ExitExpandedModeMessage;
60
66
  export type AppLayoutMessage = RegisterDrawerMessage | AppLayoutUpdateMessage;
61
67
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../../../../src/internal/plugins/widget/interfaces.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,yBAAyB,EAAE,MAAM,cAAc,CAAC;AAEzD,UAAU,OAAO,CAAC,IAAI,EAAE,OAAO;IAC7B,IAAI,EAAE,IAAI,CAAC;IACX,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,KAAK,sBAAsB,GAAG,CAAC,QAAQ,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,KAAK,IAAI,CAAC;AAE/E,UAAU,mBAAmB;IAC3B,kBAAkB,EAAE,sBAAsB,CAAC;CAC5C;AAED,UAAU,uBAAuB;IAC/B,MAAM,EAAE,OAAO,CAAC;IAChB,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC;AAED,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,UAAU,EAAE;QACV,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,uBAAuB,CAAC,EAAE,MAAM,CAAC;QACjC,kBAAkB,CAAC,EAAE,MAAM,CAAC;QAC5B,sBAAsB,CAAC,EAAE,MAAM,CAAC;KACjC,CAAC;IACF,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,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,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AE,EAAE,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AACxF,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC,cAAc,EAAE;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AAC1E,MAAM,WAAW,uBAAuB;IACtC,IAAI,EAAE,kBAAkB,CAAC;CAC1B;AAED,MAAM,MAAM,sBAAsB,GAC9B,yBAAyB,GACzB,iBAAiB,GACjB,kBAAkB,GAClB,mBAAmB,GACnB,mBAAmB,GACnB,uBAAuB,CAAC;AAE5B,MAAM,MAAM,gBAAgB,GAAG,qBAAqB,GAAG,sBAAsB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../../src/internal/plugins/widget/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { ButtonGroupProps } from '../../../button-group/interfaces';\nimport { NonCancelableEventHandler } from '../../events';\n\ninterface Message<Type, Payload> {\n type: Type;\n payload: Payload;\n}\n\ntype DrawerVisibilityChange = (callback: (isVisible: boolean) => void) => void;\n\ninterface MountContentContext {\n onVisibilityChange: DrawerVisibilityChange;\n}\n\ninterface DrawerStateChangeParams {\n isOpen: boolean;\n initiatedByUserAction?: boolean;\n}\n\nexport interface DrawerPayload {\n id: string;\n ariaLabels: {\n content?: string;\n closeButton?: string;\n triggerButton?: string;\n resizeHandle?: string;\n resizeHandleTooltipText?: string;\n expandedModeButton?: string;\n exitExpandedModeButton?: string;\n };\n isExpandable?: boolean;\n resizable?: boolean;\n defaultSize?: number;\n onResize?: NonCancelableEventHandler<{ size: number; id: string }>;\n defaultActive?: boolean;\n trigger?: {\n iconSvg?: string;\n customIcon?: string;\n };\n mountContent: (container: HTMLElement, mountContext: MountContentContext) => void;\n unmountContent: (container: HTMLElement) => void;\n preserveInactiveContent?: boolean;\n onToggle?: NonCancelableEventHandler<DrawerStateChangeParams>;\n mountHeader?: (container: HTMLElement) => void;\n unmountHeader?: (container: HTMLElement) => void;\n headerActions?: ReadonlyArray<ButtonGroupProps.Item>;\n onHeaderActionClick?: NonCancelableEventHandler<ButtonGroupProps.ItemClickDetails>;\n}\n\nexport type RegisterDrawerMessage = Message<'registerLeftDrawer', DrawerPayload>;\nexport type UpdateDrawerConfigMessage = Message<\n 'updateDrawerConfig',\n Omit<DrawerPayload, 'mountContent' | 'unmountContent' | 'mountHeader' | 'unmountHeader'>\n>;\nexport type OpenDrawerMessage = Message<'openDrawer', { id: string }>;\nexport type CloseDrawerMessage = Message<'closeDrawer', { id: string }>;\nexport type ResizeDrawerMessage = Message<'resizeDrawer', { id: string; size: number }>;\n\nexport type AppLayoutUpdateMessage =\n | UpdateDrawerConfigMessage\n | OpenDrawerMessage\n | CloseDrawerMessage\n | ResizeDrawerMessage;\n\nexport type AppLayoutMessage = RegisterDrawerMessage | AppLayoutUpdateMessage;\n"]}
1
+ {"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../../src/internal/plugins/widget/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { ButtonGroupProps } from '../../../button-group/interfaces';\nimport { NonCancelableEventHandler } from '../../events';\n\ninterface Message<Type, Payload> {\n type: Type;\n payload: Payload;\n}\n\ntype DrawerVisibilityChange = (callback: (isVisible: boolean) => void) => void;\n\ninterface MountContentContext {\n onVisibilityChange: DrawerVisibilityChange;\n}\n\ninterface DrawerStateChangeParams {\n isOpen: boolean;\n initiatedByUserAction?: boolean;\n}\n\nexport interface DrawerPayload {\n id: string;\n ariaLabels: {\n content?: string;\n closeButton?: string;\n triggerButton?: string;\n resizeHandle?: string;\n resizeHandleTooltipText?: string;\n expandedModeButton?: string;\n exitExpandedModeButton?: string;\n };\n isExpandable?: boolean;\n resizable?: boolean;\n defaultSize?: number;\n onResize?: NonCancelableEventHandler<{ size: number; id: string }>;\n defaultActive?: boolean;\n trigger?: {\n iconSvg?: string;\n customIcon?: string;\n };\n mountContent: (container: HTMLElement, mountContext: MountContentContext) => void;\n unmountContent: (container: HTMLElement) => void;\n preserveInactiveContent?: boolean;\n onToggle?: NonCancelableEventHandler<DrawerStateChangeParams>;\n mountHeader?: (container: HTMLElement) => void;\n unmountHeader?: (container: HTMLElement) => void;\n headerActions?: ReadonlyArray<ButtonGroupProps.Item>;\n onHeaderActionClick?: NonCancelableEventHandler<ButtonGroupProps.ItemClickDetails>;\n}\n\nexport type RegisterDrawerMessage = Message<'registerLeftDrawer', DrawerPayload>;\nexport type UpdateDrawerConfigMessage = Message<\n 'updateDrawerConfig',\n Omit<DrawerPayload, 'mountContent' | 'unmountContent' | 'mountHeader' | 'unmountHeader'>\n>;\nexport type OpenDrawerMessage = Message<'openDrawer', { id: string }>;\nexport type CloseDrawerMessage = Message<'closeDrawer', { id: string }>;\nexport type ResizeDrawerMessage = Message<'resizeDrawer', { id: string; size: number }>;\nexport type ExpandDrawerMessage = Message<'expandDrawer', { id: string }>;\nexport interface ExitExpandedModeMessage {\n type: 'exitExpandedMode';\n}\n\nexport type AppLayoutUpdateMessage =\n | UpdateDrawerConfigMessage\n | OpenDrawerMessage\n | CloseDrawerMessage\n | ResizeDrawerMessage\n | ExpandDrawerMessage\n | ExitExpandedModeMessage;\n\nexport type AppLayoutMessage = RegisterDrawerMessage | AppLayoutUpdateMessage;\n"]}
package/package.json CHANGED
@@ -151,7 +151,7 @@
151
151
  "./internal/base-component/index.js",
152
152
  "./internal/base-component/styles.css.js"
153
153
  ],
154
- "version": "3.0.1105",
154
+ "version": "3.0.1107",
155
155
  "repository": {
156
156
  "type": "git",
157
157
  "url": "https://github.com/cloudscape-design/components.git"