@cloudscape-design/components 3.0.801 → 3.0.803
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/attribute-editor/additional-info.js +1 -1
- package/attribute-editor/additional-info.js.map +1 -1
- package/attribute-editor/internal.js +1 -1
- package/attribute-editor/internal.js.map +1 -1
- package/button/internal.d.ts.map +1 -1
- package/button/internal.js +1 -1
- package/button/internal.js.map +1 -1
- package/button-group/icon-button-item.d.ts.map +1 -1
- package/button-group/icon-button-item.js +1 -1
- package/button-group/icon-button-item.js.map +1 -1
- package/cards/index.js +1 -1
- package/cards/index.js.map +1 -1
- package/code-editor/index.js +1 -1
- package/code-editor/index.js.map +1 -1
- package/code-editor/status-bar.js +1 -1
- package/code-editor/status-bar.js.map +1 -1
- package/date-picker/index.js +1 -1
- package/date-picker/index.js.map +1 -1
- package/date-range-picker/calendar/header/index.d.ts.map +1 -1
- package/date-range-picker/calendar/header/index.js +2 -2
- package/date-range-picker/calendar/header/index.js.map +1 -1
- package/date-range-picker/calendar/index.js +1 -1
- package/date-range-picker/calendar/index.js.map +1 -1
- package/date-range-picker/dropdown.js +1 -1
- package/date-range-picker/dropdown.js.map +1 -1
- package/drawer/implementation.d.ts.map +1 -1
- package/drawer/implementation.js +1 -1
- package/drawer/implementation.js.map +1 -1
- package/flashbar/flash.js +1 -1
- package/flashbar/flash.js.map +1 -1
- package/form/internal.d.ts.map +1 -1
- package/form/internal.js +1 -1
- package/form/internal.js.map +1 -1
- package/form-field/internal.js +1 -1
- package/form-field/internal.js.map +1 -1
- package/help-panel/implementation.d.ts.map +1 -1
- package/help-panel/implementation.js +1 -1
- package/help-panel/implementation.js.map +1 -1
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/index.js +1 -0
- package/index.js.map +1 -1
- package/internal/analytics/index.d.ts.map +1 -1
- package/internal/analytics/index.js +1 -0
- package/internal/analytics/index.js.map +1 -1
- package/internal/analytics/interfaces.d.ts +12 -1
- package/internal/analytics/interfaces.d.ts.map +1 -1
- package/internal/analytics/interfaces.js.map +1 -1
- package/internal/base-component/styles.scoped.css +11 -17
- package/internal/components/chart-plot/index.d.ts.map +1 -1
- package/internal/components/chart-plot/index.js +1 -1
- package/internal/components/chart-plot/index.js.map +1 -1
- package/internal/components/chart-status-container/index.d.ts.map +1 -1
- package/internal/components/chart-status-container/index.js +1 -1
- package/internal/components/chart-status-container/index.js.map +1 -1
- package/internal/components/dropdown-footer/index.js +1 -1
- package/internal/components/dropdown-footer/index.js.map +1 -1
- package/internal/environment.js +1 -1
- package/internal/environment.json +1 -1
- package/internal/generated/styles/tokens.js +3 -3
- package/internal/generated/theming/index.cjs +34 -32
- package/internal/generated/theming/index.cjs.d.ts +16 -0
- package/internal/generated/theming/index.d.ts +16 -0
- package/internal/generated/theming/index.js +34 -32
- package/internal/hooks/use-dom-attribute/index.d.ts +5 -0
- package/internal/hooks/use-dom-attribute/index.d.ts.map +1 -0
- package/internal/hooks/use-dom-attribute/index.js +19 -0
- package/internal/hooks/use-dom-attribute/index.js.map +1 -0
- package/internal/hooks/use-performance-marks/index.d.ts +1 -1
- package/internal/hooks/use-performance-marks/index.d.ts.map +1 -1
- package/internal/hooks/use-performance-marks/index.js +3 -18
- package/internal/hooks/use-performance-marks/index.js.map +1 -1
- package/internal/hooks/use-table-interaction-metrics/index.d.ts +8 -1
- package/internal/hooks/use-table-interaction-metrics/index.d.ts.map +1 -1
- package/internal/hooks/use-table-interaction-metrics/index.js +24 -6
- package/internal/hooks/use-table-interaction-metrics/index.js.map +1 -1
- package/internal/manifest.json +1 -1
- package/live-region/controller.d.ts.map +1 -0
- package/{internal/components/live-region → live-region}/controller.js +2 -2
- package/live-region/controller.js.map +1 -0
- package/live-region/index.d.ts.map +1 -0
- package/{internal/components/live-region → live-region}/index.js +3 -5
- package/live-region/index.js.map +1 -0
- package/{internal/components/live-region → live-region}/interfaces.d.ts +5 -11
- package/live-region/interfaces.d.ts.map +1 -0
- package/live-region/interfaces.js.map +1 -0
- package/{internal/components/live-region → live-region}/internal.d.ts +1 -1
- package/live-region/internal.d.ts.map +1 -0
- package/{internal/components/live-region → live-region}/internal.js +11 -11
- package/live-region/internal.js.map +1 -0
- package/live-region/styles.css.js +7 -0
- package/{internal/components/live-region → live-region}/styles.scoped.css +3 -3
- package/{internal/components/live-region → live-region}/styles.selectors.js +2 -2
- package/live-region/test-classes/styles.css.js +7 -0
- package/live-region/test-classes/styles.scoped.css +11 -0
- package/live-region/test-classes/styles.selectors.js +8 -0
- package/package.json +2 -1
- package/pie-chart/pie-chart.d.ts.map +1 -1
- package/pie-chart/pie-chart.js +1 -1
- package/pie-chart/pie-chart.js.map +1 -1
- package/progress-bar/index.js +1 -1
- package/progress-bar/index.js.map +1 -1
- package/property-filter/token-editor.d.ts.map +1 -1
- package/property-filter/token-editor.js +5 -1
- package/property-filter/token-editor.js.map +1 -1
- package/s3-resource-selector/s3-in-context/index.js +2 -2
- package/s3-resource-selector/s3-in-context/index.js.map +1 -1
- package/s3-resource-selector/s3-modal/basic-table.d.ts.map +1 -1
- package/s3-resource-selector/s3-modal/basic-table.js +1 -1
- package/s3-resource-selector/s3-modal/basic-table.js.map +1 -1
- package/select/parts/filter.d.ts +1 -1
- package/table/body-cell/disabled-inline-editor.js +1 -1
- package/table/body-cell/disabled-inline-editor.js.map +1 -1
- package/table/body-cell/index.d.ts.map +1 -1
- package/table/body-cell/index.js +2 -2
- package/table/body-cell/index.js.map +1 -1
- package/table/body-cell/inline-editor.d.ts.map +1 -1
- package/table/body-cell/inline-editor.js +4 -4
- package/table/body-cell/inline-editor.js.map +1 -1
- package/table/internal.d.ts.map +1 -1
- package/table/internal.js +26 -14
- package/table/internal.js.map +1 -1
- package/table/no-data-cell.js +1 -1
- package/table/no-data-cell.js.map +1 -1
- package/table/progressive-loading/items-loader.js +1 -1
- package/table/progressive-loading/items-loader.js.map +1 -1
- package/tag-editor/index.js +1 -1
- package/tag-editor/index.js.map +1 -1
- package/test-utils/dom/index.d.ts +3 -0
- package/test-utils/dom/index.js +10 -2
- package/test-utils/dom/index.js.map +1 -1
- package/test-utils/dom/{internal/live-region.js → live-region/index.js} +2 -2
- package/test-utils/dom/live-region/index.js.map +1 -0
- package/test-utils/selectors/index.d.ts +3 -0
- package/test-utils/selectors/index.js +10 -2
- package/test-utils/selectors/index.js.map +1 -1
- package/test-utils/selectors/{internal/live-region.js → live-region/index.js} +2 -2
- package/test-utils/selectors/live-region/index.js.map +1 -0
- package/test-utils/tsconfig.tsbuildinfo +1 -1
- package/text-filter/search-results.js +1 -1
- package/text-filter/search-results.js.map +1 -1
- package/tutorial-panel/components/tutorial-list/index.js +1 -1
- package/tutorial-panel/components/tutorial-list/index.js.map +1 -1
- package/internal/components/live-region/controller.d.ts.map +0 -1
- package/internal/components/live-region/controller.js.map +0 -1
- package/internal/components/live-region/index.d.ts.map +0 -1
- package/internal/components/live-region/index.js.map +0 -1
- package/internal/components/live-region/interfaces.d.ts.map +0 -1
- package/internal/components/live-region/interfaces.js.map +0 -1
- package/internal/components/live-region/internal.d.ts.map +0 -1
- package/internal/components/live-region/internal.js.map +0 -1
- package/internal/components/live-region/styles.css.js +0 -7
- package/internal/hooks/use-component-analytics/index.d.ts +0 -8
- package/internal/hooks/use-component-analytics/index.d.ts.map +0 -1
- package/internal/hooks/use-component-analytics/index.js +0 -28
- package/internal/hooks/use-component-analytics/index.js.map +0 -1
- package/test-utils/dom/internal/live-region.js.map +0 -1
- package/test-utils/selectors/internal/live-region.js.map +0 -1
- /package/{internal/components/live-region → live-region}/controller.d.ts +0 -0
- /package/{internal/components/live-region → live-region}/index.d.ts +0 -0
- /package/{internal/components/live-region → live-region}/interfaces.js +0 -0
- /package/test-utils/dom/{internal/live-region.d.ts → live-region/index.d.ts} +0 -0
- /package/test-utils/selectors/{internal/live-region.d.ts → live-region/index.d.ts} +0 -0
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import clsx from 'clsx';
|
|
5
|
+
import InternalLiveRegion from '../../../live-region/internal.js';
|
|
5
6
|
import DropdownStatus from '../dropdown-status/index.js';
|
|
6
|
-
import InternalLiveRegion from '../live-region/internal';
|
|
7
7
|
import styles from './styles.css.js';
|
|
8
8
|
const DropdownFooter = ({ content, id, hasItems = true }) => (React.createElement("div", { className: clsx(styles.root, { [styles.hidden]: content === null, [styles['no-items']]: !hasItems }) },
|
|
9
9
|
React.createElement(InternalLiveRegion, { id: id }, content && React.createElement(DropdownStatus, null, content))));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/internal/components/dropdown-footer/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/internal/components/dropdown-footer/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,kBAAkB,MAAM,kCAAkC,CAAC;AAClE,OAAO,cAAc,MAAM,6BAA6B,CAAC;AAEzD,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAQrC,MAAM,cAAc,GAA6B,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,QAAQ,GAAG,IAAI,EAAkB,EAAE,EAAE,CAAC,CACrG,6BAAK,SAAS,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE,OAAO,KAAK,IAAI,EAAE,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,EAAE,CAAC,QAAQ,EAAE,CAAC;IACvG,oBAAC,kBAAkB,IAAC,EAAE,EAAE,EAAE,IAAG,OAAO,IAAI,oBAAC,cAAc,QAAE,OAAO,CAAkB,CAAsB,CACpG,CACP,CAAC;AAEF,eAAe,cAAc,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport clsx from 'clsx';\n\nimport InternalLiveRegion from '../../../live-region/internal.js';\nimport DropdownStatus from '../dropdown-status/index.js';\n\nimport styles from './styles.css.js';\n\ninterface DropdownFooter {\n content?: React.ReactNode | null;\n hasItems?: boolean;\n id?: string;\n}\n\nconst DropdownFooter: React.FC<DropdownFooter> = ({ content, id, hasItems = true }: DropdownFooter) => (\n <div className={clsx(styles.root, { [styles.hidden]: content === null, [styles['no-items']]: !hasItems })}>\n <InternalLiveRegion id={id}>{content && <DropdownStatus>{content}</DropdownStatus>}</InternalLiveRegion>\n </div>\n);\n\nexport default DropdownFooter;\n"]}
|
package/internal/environment.js
CHANGED
|
@@ -298,8 +298,8 @@ export var colorTextAvatar = "var(--color-text-avatar-jddpvm, #ffffff)";
|
|
|
298
298
|
export var colorBackgroundLoadingBarGenAi = "var(--color-background-loading-bar-gen-ai-7qfi9s, linear-gradient(90deg, #99f7ff 0%, #0096fa 10%, #bf80ff 24%, #7300e5 50%, #bf80ff 76%, #0096fa 90%, #99f7ff 100%))";
|
|
299
299
|
export var colorBackgroundChatBubbleOutgoing = "var(--color-background-chat-bubble-outgoing-pfqan2, transparent)";
|
|
300
300
|
export var colorBackgroundChatBubbleIncoming = "var(--color-background-chat-bubble-incoming-brq006, #f3f3f7)";
|
|
301
|
-
export var colorTextChatBubbleOutgoing = "var(--color-text-chat-bubble-outgoing-
|
|
302
|
-
export var colorTextChatBubbleIncoming = "var(--color-text-chat-bubble-incoming-
|
|
301
|
+
export var colorTextChatBubbleOutgoing = "var(--color-text-chat-bubble-outgoing-25z5e0, #424650)";
|
|
302
|
+
export var colorTextChatBubbleIncoming = "var(--color-text-chat-bubble-incoming-t2slde, #424650)";
|
|
303
303
|
export var colorBorderButtonNormalActive = "var(--color-border-button-normal-active-mn0ayd, #002b66)";
|
|
304
304
|
export var colorBorderButtonNormalDefault = "var(--color-border-button-normal-default-uzqi0v, #006ce0)";
|
|
305
305
|
export var colorBorderToggleButtonNormalPressed = "var(--color-border-toggle-button-normal-pressed-lylxt2, #006ce0)";
|
|
@@ -558,7 +558,7 @@ export var borderRadiusPopover = "var(--border-radius-popover-clv1ya, 8px)";
|
|
|
558
558
|
export var borderRadiusTabsFocusRing = "var(--border-radius-tabs-focus-ring-1q0rjo, 20px)";
|
|
559
559
|
export var borderRadiusTiles = "var(--border-radius-tiles-60y8e6, 8px)";
|
|
560
560
|
export var borderRadiusToken = "var(--border-radius-token-923jqq, 8px)";
|
|
561
|
-
export var borderRadiusChatBubble = "var(--border-radius-chat-bubble-
|
|
561
|
+
export var borderRadiusChatBubble = "var(--border-radius-chat-bubble-qvkt36, 8px)";
|
|
562
562
|
export var borderRadiusTutorialPanelItem = "var(--border-radius-tutorial-panel-item-b44p0a, 8px)";
|
|
563
563
|
export var borderTableStickyWidth = "var(--border-table-sticky-width-87kf12, 1px)";
|
|
564
564
|
export var borderLinkFocusRingOutline = "var(--border-link-focus-ring-outline-kkfop6, 0)";
|
|
@@ -1078,12 +1078,12 @@ module.exports.preset = {
|
|
|
1078
1078
|
"dark": "{colorGrey850}"
|
|
1079
1079
|
},
|
|
1080
1080
|
"colorTextChatBubbleOutgoing": {
|
|
1081
|
-
"light": "{
|
|
1082
|
-
"dark": "{
|
|
1081
|
+
"light": "{colorTextBodySecondary}",
|
|
1082
|
+
"dark": "{colorTextBodySecondary}"
|
|
1083
1083
|
},
|
|
1084
1084
|
"colorTextChatBubbleIncoming": {
|
|
1085
|
-
"light": "{
|
|
1086
|
-
"dark": "{
|
|
1085
|
+
"light": "{colorTextBodySecondary}",
|
|
1086
|
+
"dark": "{colorTextBodySecondary}"
|
|
1087
1087
|
},
|
|
1088
1088
|
"colorBorderButtonNormalActive": {
|
|
1089
1089
|
"light": "{colorBlue800}",
|
|
@@ -1871,7 +1871,7 @@ module.exports.preset = {
|
|
|
1871
1871
|
"borderRadiusTabsFocusRing": "20px",
|
|
1872
1872
|
"borderRadiusTiles": "{borderRadiusInput}",
|
|
1873
1873
|
"borderRadiusToken": "{borderRadiusInput}",
|
|
1874
|
-
"borderRadiusChatBubble": "
|
|
1874
|
+
"borderRadiusChatBubble": "8px",
|
|
1875
1875
|
"borderRadiusTutorialPanelItem": "{borderRadiusInput}",
|
|
1876
1876
|
"borderTableStickyWidth": "1px",
|
|
1877
1877
|
"borderLinkFocusRingOutline": "0",
|
|
@@ -3313,12 +3313,12 @@ module.exports.preset = {
|
|
|
3313
3313
|
"dark": "{colorGrey850}"
|
|
3314
3314
|
},
|
|
3315
3315
|
"colorTextChatBubbleOutgoing": {
|
|
3316
|
-
"light": "{
|
|
3317
|
-
"dark": "{
|
|
3316
|
+
"light": "{colorTextBodySecondary}",
|
|
3317
|
+
"dark": "{colorTextBodySecondary}"
|
|
3318
3318
|
},
|
|
3319
3319
|
"colorTextChatBubbleIncoming": {
|
|
3320
|
-
"light": "{
|
|
3321
|
-
"dark": "{
|
|
3320
|
+
"light": "{colorTextBodySecondary}",
|
|
3321
|
+
"dark": "{colorTextBodySecondary}"
|
|
3322
3322
|
},
|
|
3323
3323
|
"colorBorderButtonNormalActive": {
|
|
3324
3324
|
"light": "{colorBlue400}",
|
|
@@ -4467,12 +4467,12 @@ module.exports.preset = {
|
|
|
4467
4467
|
"dark": "{colorGrey850}"
|
|
4468
4468
|
},
|
|
4469
4469
|
"colorTextChatBubbleOutgoing": {
|
|
4470
|
-
"light": "{
|
|
4471
|
-
"dark": "{
|
|
4470
|
+
"light": "{colorTextBodySecondary}",
|
|
4471
|
+
"dark": "{colorTextBodySecondary}"
|
|
4472
4472
|
},
|
|
4473
4473
|
"colorTextChatBubbleIncoming": {
|
|
4474
|
-
"light": "{
|
|
4475
|
-
"dark": "{
|
|
4474
|
+
"light": "{colorTextBodySecondary}",
|
|
4475
|
+
"dark": "{colorTextBodySecondary}"
|
|
4476
4476
|
},
|
|
4477
4477
|
"colorBorderButtonNormalActive": {
|
|
4478
4478
|
"light": "{colorBlue400}",
|
|
@@ -5553,12 +5553,12 @@ module.exports.preset = {
|
|
|
5553
5553
|
"dark": "{colorGrey850}"
|
|
5554
5554
|
},
|
|
5555
5555
|
"colorTextChatBubbleOutgoing": {
|
|
5556
|
-
"light": "{
|
|
5557
|
-
"dark": "{
|
|
5556
|
+
"light": "{colorTextBodySecondary}",
|
|
5557
|
+
"dark": "{colorTextBodySecondary}"
|
|
5558
5558
|
},
|
|
5559
5559
|
"colorTextChatBubbleIncoming": {
|
|
5560
|
-
"light": "{
|
|
5561
|
-
"dark": "{
|
|
5560
|
+
"light": "{colorTextBodySecondary}",
|
|
5561
|
+
"dark": "{colorTextBodySecondary}"
|
|
5562
5562
|
},
|
|
5563
5563
|
"colorBorderButtonNormalActive": {
|
|
5564
5564
|
"light": "{colorWhite}",
|
|
@@ -6639,12 +6639,12 @@ module.exports.preset = {
|
|
|
6639
6639
|
"dark": "{colorGrey850}"
|
|
6640
6640
|
},
|
|
6641
6641
|
"colorTextChatBubbleOutgoing": {
|
|
6642
|
-
"light": "{
|
|
6643
|
-
"dark": "{
|
|
6642
|
+
"light": "{colorTextBodySecondary}",
|
|
6643
|
+
"dark": "{colorTextBodySecondary}"
|
|
6644
6644
|
},
|
|
6645
6645
|
"colorTextChatBubbleIncoming": {
|
|
6646
|
-
"light": "{
|
|
6647
|
-
"dark": "{
|
|
6646
|
+
"light": "{colorTextBodySecondary}",
|
|
6647
|
+
"dark": "{colorTextBodySecondary}"
|
|
6648
6648
|
},
|
|
6649
6649
|
"colorBorderButtonNormalActive": {
|
|
6650
6650
|
"light": "{colorTextButtonNormalHover}",
|
|
@@ -7725,12 +7725,12 @@ module.exports.preset = {
|
|
|
7725
7725
|
"dark": "{colorGrey850}"
|
|
7726
7726
|
},
|
|
7727
7727
|
"colorTextChatBubbleOutgoing": {
|
|
7728
|
-
"light": "{
|
|
7729
|
-
"dark": "{
|
|
7728
|
+
"light": "{colorTextBodySecondary}",
|
|
7729
|
+
"dark": "{colorTextBodySecondary}"
|
|
7730
7730
|
},
|
|
7731
7731
|
"colorTextChatBubbleIncoming": {
|
|
7732
|
-
"light": "{
|
|
7733
|
-
"dark": "{
|
|
7732
|
+
"light": "{colorTextBodySecondary}",
|
|
7733
|
+
"dark": "{colorTextBodySecondary}"
|
|
7734
7734
|
},
|
|
7735
7735
|
"colorBorderButtonNormalActive": {
|
|
7736
7736
|
"light": "{colorTextButtonNormalHover}",
|
|
@@ -8813,12 +8813,12 @@ module.exports.preset = {
|
|
|
8813
8813
|
"dark": "{colorGrey850}"
|
|
8814
8814
|
},
|
|
8815
8815
|
"colorTextChatBubbleOutgoing": {
|
|
8816
|
-
"light": "{
|
|
8817
|
-
"dark": "{
|
|
8816
|
+
"light": "{colorTextBodySecondary}",
|
|
8817
|
+
"dark": "{colorTextBodySecondary}"
|
|
8818
8818
|
},
|
|
8819
8819
|
"colorTextChatBubbleIncoming": {
|
|
8820
|
-
"light": "{
|
|
8821
|
-
"dark": "{
|
|
8820
|
+
"light": "{colorTextBodySecondary}",
|
|
8821
|
+
"dark": "{colorTextBodySecondary}"
|
|
8822
8822
|
},
|
|
8823
8823
|
"colorBorderButtonNormalActive": {
|
|
8824
8824
|
"light": "{colorTextButtonNormalHover}",
|
|
@@ -10226,6 +10226,8 @@ module.exports.preset = {
|
|
|
10226
10226
|
"colorBackgroundStatusSuccess",
|
|
10227
10227
|
"colorBackgroundStatusWarning",
|
|
10228
10228
|
"colorBackgroundToggleCheckedDisabled",
|
|
10229
|
+
"colorBackgroundChatBubbleOutgoing",
|
|
10230
|
+
"colorBackgroundChatBubbleIncoming",
|
|
10229
10231
|
"colorTextChatBubbleOutgoing",
|
|
10230
10232
|
"colorTextChatBubbleIncoming",
|
|
10231
10233
|
"colorBorderButtonNormalActive",
|
|
@@ -11751,8 +11753,8 @@ module.exports.preset = {
|
|
|
11751
11753
|
"colorBackgroundLoadingBarGenAi": "--color-background-loading-bar-gen-ai-7qfi9s",
|
|
11752
11754
|
"colorBackgroundChatBubbleOutgoing": "--color-background-chat-bubble-outgoing-pfqan2",
|
|
11753
11755
|
"colorBackgroundChatBubbleIncoming": "--color-background-chat-bubble-incoming-brq006",
|
|
11754
|
-
"colorTextChatBubbleOutgoing": "--color-text-chat-bubble-outgoing-
|
|
11755
|
-
"colorTextChatBubbleIncoming": "--color-text-chat-bubble-incoming-
|
|
11756
|
+
"colorTextChatBubbleOutgoing": "--color-text-chat-bubble-outgoing-25z5e0",
|
|
11757
|
+
"colorTextChatBubbleIncoming": "--color-text-chat-bubble-incoming-t2slde",
|
|
11756
11758
|
"colorBorderButtonNormalActive": "--color-border-button-normal-active-mn0ayd",
|
|
11757
11759
|
"colorBorderButtonNormalDefault": "--color-border-button-normal-default-uzqi0v",
|
|
11758
11760
|
"colorBorderToggleButtonNormalPressed": "--color-border-toggle-button-normal-pressed-lylxt2",
|
|
@@ -12011,7 +12013,7 @@ module.exports.preset = {
|
|
|
12011
12013
|
"borderRadiusTabsFocusRing": "--border-radius-tabs-focus-ring-1q0rjo",
|
|
12012
12014
|
"borderRadiusTiles": "--border-radius-tiles-60y8e6",
|
|
12013
12015
|
"borderRadiusToken": "--border-radius-token-923jqq",
|
|
12014
|
-
"borderRadiusChatBubble": "--border-radius-chat-bubble-
|
|
12016
|
+
"borderRadiusChatBubble": "--border-radius-chat-bubble-qvkt36",
|
|
12015
12017
|
"borderRadiusTutorialPanelItem": "--border-radius-tutorial-panel-item-b44p0a",
|
|
12016
12018
|
"borderTableStickyWidth": "--border-table-sticky-width-87kf12",
|
|
12017
12019
|
"borderLinkFocusRingOutline": "--border-link-focus-ring-outline-kkfop6",
|
|
@@ -107,6 +107,8 @@ export declare interface TypedOverride {
|
|
|
107
107
|
colorBackgroundStatusSuccess?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
108
108
|
colorBackgroundStatusWarning?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
109
109
|
colorBackgroundToggleCheckedDisabled?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
110
|
+
colorBackgroundChatBubbleOutgoing?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
111
|
+
colorBackgroundChatBubbleIncoming?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
110
112
|
colorTextChatBubbleOutgoing?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
111
113
|
colorTextChatBubbleIncoming?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
112
114
|
colorBorderButtonNormalActive?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
@@ -340,6 +342,8 @@ export declare interface TypedOverride {
|
|
|
340
342
|
colorBackgroundStatusSuccess?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
341
343
|
colorBackgroundStatusWarning?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
342
344
|
colorBackgroundToggleCheckedDisabled?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
345
|
+
colorBackgroundChatBubbleOutgoing?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
346
|
+
colorBackgroundChatBubbleIncoming?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
343
347
|
colorTextChatBubbleOutgoing?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
344
348
|
colorTextChatBubbleIncoming?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
345
349
|
colorBorderButtonNormalActive?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
@@ -573,6 +577,8 @@ export declare interface TypedOverride {
|
|
|
573
577
|
colorBackgroundStatusSuccess?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
574
578
|
colorBackgroundStatusWarning?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
575
579
|
colorBackgroundToggleCheckedDisabled?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
580
|
+
colorBackgroundChatBubbleOutgoing?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
581
|
+
colorBackgroundChatBubbleIncoming?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
576
582
|
colorTextChatBubbleOutgoing?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
577
583
|
colorTextChatBubbleIncoming?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
578
584
|
colorBorderButtonNormalActive?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
@@ -806,6 +812,8 @@ export declare interface TypedOverride {
|
|
|
806
812
|
colorBackgroundStatusSuccess?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
807
813
|
colorBackgroundStatusWarning?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
808
814
|
colorBackgroundToggleCheckedDisabled?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
815
|
+
colorBackgroundChatBubbleOutgoing?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
816
|
+
colorBackgroundChatBubbleIncoming?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
809
817
|
colorTextChatBubbleOutgoing?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
810
818
|
colorTextChatBubbleIncoming?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
811
819
|
colorBorderButtonNormalActive?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
@@ -1039,6 +1047,8 @@ export declare interface TypedOverride {
|
|
|
1039
1047
|
colorBackgroundStatusSuccess?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1040
1048
|
colorBackgroundStatusWarning?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1041
1049
|
colorBackgroundToggleCheckedDisabled?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1050
|
+
colorBackgroundChatBubbleOutgoing?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1051
|
+
colorBackgroundChatBubbleIncoming?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1042
1052
|
colorTextChatBubbleOutgoing?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1043
1053
|
colorTextChatBubbleIncoming?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1044
1054
|
colorBorderButtonNormalActive?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
@@ -1272,6 +1282,8 @@ export declare interface TypedOverride {
|
|
|
1272
1282
|
colorBackgroundStatusSuccess?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1273
1283
|
colorBackgroundStatusWarning?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1274
1284
|
colorBackgroundToggleCheckedDisabled?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1285
|
+
colorBackgroundChatBubbleOutgoing?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1286
|
+
colorBackgroundChatBubbleIncoming?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1275
1287
|
colorTextChatBubbleOutgoing?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1276
1288
|
colorTextChatBubbleIncoming?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1277
1289
|
colorBorderButtonNormalActive?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
@@ -1505,6 +1517,8 @@ export declare interface TypedOverride {
|
|
|
1505
1517
|
colorBackgroundStatusSuccess?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1506
1518
|
colorBackgroundStatusWarning?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1507
1519
|
colorBackgroundToggleCheckedDisabled?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1520
|
+
colorBackgroundChatBubbleOutgoing?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1521
|
+
colorBackgroundChatBubbleIncoming?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1508
1522
|
colorTextChatBubbleOutgoing?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1509
1523
|
colorTextChatBubbleIncoming?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1510
1524
|
colorBorderButtonNormalActive?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
@@ -1738,6 +1752,8 @@ export declare interface TypedOverride {
|
|
|
1738
1752
|
colorBackgroundStatusSuccess?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1739
1753
|
colorBackgroundStatusWarning?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1740
1754
|
colorBackgroundToggleCheckedDisabled?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1755
|
+
colorBackgroundChatBubbleOutgoing?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1756
|
+
colorBackgroundChatBubbleIncoming?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1741
1757
|
colorTextChatBubbleOutgoing?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1742
1758
|
colorTextChatBubbleIncoming?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1743
1759
|
colorBorderButtonNormalActive?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
@@ -107,6 +107,8 @@ export declare interface TypedOverride {
|
|
|
107
107
|
colorBackgroundStatusSuccess?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
108
108
|
colorBackgroundStatusWarning?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
109
109
|
colorBackgroundToggleCheckedDisabled?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
110
|
+
colorBackgroundChatBubbleOutgoing?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
111
|
+
colorBackgroundChatBubbleIncoming?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
110
112
|
colorTextChatBubbleOutgoing?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
111
113
|
colorTextChatBubbleIncoming?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
112
114
|
colorBorderButtonNormalActive?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
@@ -340,6 +342,8 @@ export declare interface TypedOverride {
|
|
|
340
342
|
colorBackgroundStatusSuccess?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
341
343
|
colorBackgroundStatusWarning?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
342
344
|
colorBackgroundToggleCheckedDisabled?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
345
|
+
colorBackgroundChatBubbleOutgoing?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
346
|
+
colorBackgroundChatBubbleIncoming?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
343
347
|
colorTextChatBubbleOutgoing?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
344
348
|
colorTextChatBubbleIncoming?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
345
349
|
colorBorderButtonNormalActive?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
@@ -573,6 +577,8 @@ export declare interface TypedOverride {
|
|
|
573
577
|
colorBackgroundStatusSuccess?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
574
578
|
colorBackgroundStatusWarning?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
575
579
|
colorBackgroundToggleCheckedDisabled?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
580
|
+
colorBackgroundChatBubbleOutgoing?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
581
|
+
colorBackgroundChatBubbleIncoming?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
576
582
|
colorTextChatBubbleOutgoing?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
577
583
|
colorTextChatBubbleIncoming?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
578
584
|
colorBorderButtonNormalActive?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
@@ -806,6 +812,8 @@ export declare interface TypedOverride {
|
|
|
806
812
|
colorBackgroundStatusSuccess?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
807
813
|
colorBackgroundStatusWarning?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
808
814
|
colorBackgroundToggleCheckedDisabled?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
815
|
+
colorBackgroundChatBubbleOutgoing?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
816
|
+
colorBackgroundChatBubbleIncoming?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
809
817
|
colorTextChatBubbleOutgoing?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
810
818
|
colorTextChatBubbleIncoming?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
811
819
|
colorBorderButtonNormalActive?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
@@ -1039,6 +1047,8 @@ export declare interface TypedOverride {
|
|
|
1039
1047
|
colorBackgroundStatusSuccess?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1040
1048
|
colorBackgroundStatusWarning?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1041
1049
|
colorBackgroundToggleCheckedDisabled?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1050
|
+
colorBackgroundChatBubbleOutgoing?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1051
|
+
colorBackgroundChatBubbleIncoming?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1042
1052
|
colorTextChatBubbleOutgoing?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1043
1053
|
colorTextChatBubbleIncoming?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1044
1054
|
colorBorderButtonNormalActive?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
@@ -1272,6 +1282,8 @@ export declare interface TypedOverride {
|
|
|
1272
1282
|
colorBackgroundStatusSuccess?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1273
1283
|
colorBackgroundStatusWarning?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1274
1284
|
colorBackgroundToggleCheckedDisabled?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1285
|
+
colorBackgroundChatBubbleOutgoing?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1286
|
+
colorBackgroundChatBubbleIncoming?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1275
1287
|
colorTextChatBubbleOutgoing?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1276
1288
|
colorTextChatBubbleIncoming?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1277
1289
|
colorBorderButtonNormalActive?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
@@ -1505,6 +1517,8 @@ export declare interface TypedOverride {
|
|
|
1505
1517
|
colorBackgroundStatusSuccess?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1506
1518
|
colorBackgroundStatusWarning?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1507
1519
|
colorBackgroundToggleCheckedDisabled?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1520
|
+
colorBackgroundChatBubbleOutgoing?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1521
|
+
colorBackgroundChatBubbleIncoming?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1508
1522
|
colorTextChatBubbleOutgoing?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1509
1523
|
colorTextChatBubbleIncoming?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1510
1524
|
colorBorderButtonNormalActive?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
@@ -1738,6 +1752,8 @@ export declare interface TypedOverride {
|
|
|
1738
1752
|
colorBackgroundStatusSuccess?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1739
1753
|
colorBackgroundStatusWarning?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1740
1754
|
colorBackgroundToggleCheckedDisabled?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1755
|
+
colorBackgroundChatBubbleOutgoing?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1756
|
+
colorBackgroundChatBubbleIncoming?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1741
1757
|
colorTextChatBubbleOutgoing?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1742
1758
|
colorTextChatBubbleIncoming?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
1743
1759
|
colorBorderButtonNormalActive?: GlobalValue | TypedModeValueOverride<'light' | 'dark'>;
|
|
@@ -1078,12 +1078,12 @@ export var preset = {
|
|
|
1078
1078
|
"dark": "{colorGrey850}"
|
|
1079
1079
|
},
|
|
1080
1080
|
"colorTextChatBubbleOutgoing": {
|
|
1081
|
-
"light": "{
|
|
1082
|
-
"dark": "{
|
|
1081
|
+
"light": "{colorTextBodySecondary}",
|
|
1082
|
+
"dark": "{colorTextBodySecondary}"
|
|
1083
1083
|
},
|
|
1084
1084
|
"colorTextChatBubbleIncoming": {
|
|
1085
|
-
"light": "{
|
|
1086
|
-
"dark": "{
|
|
1085
|
+
"light": "{colorTextBodySecondary}",
|
|
1086
|
+
"dark": "{colorTextBodySecondary}"
|
|
1087
1087
|
},
|
|
1088
1088
|
"colorBorderButtonNormalActive": {
|
|
1089
1089
|
"light": "{colorBlue800}",
|
|
@@ -1871,7 +1871,7 @@ export var preset = {
|
|
|
1871
1871
|
"borderRadiusTabsFocusRing": "20px",
|
|
1872
1872
|
"borderRadiusTiles": "{borderRadiusInput}",
|
|
1873
1873
|
"borderRadiusToken": "{borderRadiusInput}",
|
|
1874
|
-
"borderRadiusChatBubble": "
|
|
1874
|
+
"borderRadiusChatBubble": "8px",
|
|
1875
1875
|
"borderRadiusTutorialPanelItem": "{borderRadiusInput}",
|
|
1876
1876
|
"borderTableStickyWidth": "1px",
|
|
1877
1877
|
"borderLinkFocusRingOutline": "0",
|
|
@@ -3313,12 +3313,12 @@ export var preset = {
|
|
|
3313
3313
|
"dark": "{colorGrey850}"
|
|
3314
3314
|
},
|
|
3315
3315
|
"colorTextChatBubbleOutgoing": {
|
|
3316
|
-
"light": "{
|
|
3317
|
-
"dark": "{
|
|
3316
|
+
"light": "{colorTextBodySecondary}",
|
|
3317
|
+
"dark": "{colorTextBodySecondary}"
|
|
3318
3318
|
},
|
|
3319
3319
|
"colorTextChatBubbleIncoming": {
|
|
3320
|
-
"light": "{
|
|
3321
|
-
"dark": "{
|
|
3320
|
+
"light": "{colorTextBodySecondary}",
|
|
3321
|
+
"dark": "{colorTextBodySecondary}"
|
|
3322
3322
|
},
|
|
3323
3323
|
"colorBorderButtonNormalActive": {
|
|
3324
3324
|
"light": "{colorBlue400}",
|
|
@@ -4467,12 +4467,12 @@ export var preset = {
|
|
|
4467
4467
|
"dark": "{colorGrey850}"
|
|
4468
4468
|
},
|
|
4469
4469
|
"colorTextChatBubbleOutgoing": {
|
|
4470
|
-
"light": "{
|
|
4471
|
-
"dark": "{
|
|
4470
|
+
"light": "{colorTextBodySecondary}",
|
|
4471
|
+
"dark": "{colorTextBodySecondary}"
|
|
4472
4472
|
},
|
|
4473
4473
|
"colorTextChatBubbleIncoming": {
|
|
4474
|
-
"light": "{
|
|
4475
|
-
"dark": "{
|
|
4474
|
+
"light": "{colorTextBodySecondary}",
|
|
4475
|
+
"dark": "{colorTextBodySecondary}"
|
|
4476
4476
|
},
|
|
4477
4477
|
"colorBorderButtonNormalActive": {
|
|
4478
4478
|
"light": "{colorBlue400}",
|
|
@@ -5553,12 +5553,12 @@ export var preset = {
|
|
|
5553
5553
|
"dark": "{colorGrey850}"
|
|
5554
5554
|
},
|
|
5555
5555
|
"colorTextChatBubbleOutgoing": {
|
|
5556
|
-
"light": "{
|
|
5557
|
-
"dark": "{
|
|
5556
|
+
"light": "{colorTextBodySecondary}",
|
|
5557
|
+
"dark": "{colorTextBodySecondary}"
|
|
5558
5558
|
},
|
|
5559
5559
|
"colorTextChatBubbleIncoming": {
|
|
5560
|
-
"light": "{
|
|
5561
|
-
"dark": "{
|
|
5560
|
+
"light": "{colorTextBodySecondary}",
|
|
5561
|
+
"dark": "{colorTextBodySecondary}"
|
|
5562
5562
|
},
|
|
5563
5563
|
"colorBorderButtonNormalActive": {
|
|
5564
5564
|
"light": "{colorWhite}",
|
|
@@ -6639,12 +6639,12 @@ export var preset = {
|
|
|
6639
6639
|
"dark": "{colorGrey850}"
|
|
6640
6640
|
},
|
|
6641
6641
|
"colorTextChatBubbleOutgoing": {
|
|
6642
|
-
"light": "{
|
|
6643
|
-
"dark": "{
|
|
6642
|
+
"light": "{colorTextBodySecondary}",
|
|
6643
|
+
"dark": "{colorTextBodySecondary}"
|
|
6644
6644
|
},
|
|
6645
6645
|
"colorTextChatBubbleIncoming": {
|
|
6646
|
-
"light": "{
|
|
6647
|
-
"dark": "{
|
|
6646
|
+
"light": "{colorTextBodySecondary}",
|
|
6647
|
+
"dark": "{colorTextBodySecondary}"
|
|
6648
6648
|
},
|
|
6649
6649
|
"colorBorderButtonNormalActive": {
|
|
6650
6650
|
"light": "{colorTextButtonNormalHover}",
|
|
@@ -7725,12 +7725,12 @@ export var preset = {
|
|
|
7725
7725
|
"dark": "{colorGrey850}"
|
|
7726
7726
|
},
|
|
7727
7727
|
"colorTextChatBubbleOutgoing": {
|
|
7728
|
-
"light": "{
|
|
7729
|
-
"dark": "{
|
|
7728
|
+
"light": "{colorTextBodySecondary}",
|
|
7729
|
+
"dark": "{colorTextBodySecondary}"
|
|
7730
7730
|
},
|
|
7731
7731
|
"colorTextChatBubbleIncoming": {
|
|
7732
|
-
"light": "{
|
|
7733
|
-
"dark": "{
|
|
7732
|
+
"light": "{colorTextBodySecondary}",
|
|
7733
|
+
"dark": "{colorTextBodySecondary}"
|
|
7734
7734
|
},
|
|
7735
7735
|
"colorBorderButtonNormalActive": {
|
|
7736
7736
|
"light": "{colorTextButtonNormalHover}",
|
|
@@ -8813,12 +8813,12 @@ export var preset = {
|
|
|
8813
8813
|
"dark": "{colorGrey850}"
|
|
8814
8814
|
},
|
|
8815
8815
|
"colorTextChatBubbleOutgoing": {
|
|
8816
|
-
"light": "{
|
|
8817
|
-
"dark": "{
|
|
8816
|
+
"light": "{colorTextBodySecondary}",
|
|
8817
|
+
"dark": "{colorTextBodySecondary}"
|
|
8818
8818
|
},
|
|
8819
8819
|
"colorTextChatBubbleIncoming": {
|
|
8820
|
-
"light": "{
|
|
8821
|
-
"dark": "{
|
|
8820
|
+
"light": "{colorTextBodySecondary}",
|
|
8821
|
+
"dark": "{colorTextBodySecondary}"
|
|
8822
8822
|
},
|
|
8823
8823
|
"colorBorderButtonNormalActive": {
|
|
8824
8824
|
"light": "{colorTextButtonNormalHover}",
|
|
@@ -10226,6 +10226,8 @@ export var preset = {
|
|
|
10226
10226
|
"colorBackgroundStatusSuccess",
|
|
10227
10227
|
"colorBackgroundStatusWarning",
|
|
10228
10228
|
"colorBackgroundToggleCheckedDisabled",
|
|
10229
|
+
"colorBackgroundChatBubbleOutgoing",
|
|
10230
|
+
"colorBackgroundChatBubbleIncoming",
|
|
10229
10231
|
"colorTextChatBubbleOutgoing",
|
|
10230
10232
|
"colorTextChatBubbleIncoming",
|
|
10231
10233
|
"colorBorderButtonNormalActive",
|
|
@@ -11751,8 +11753,8 @@ export var preset = {
|
|
|
11751
11753
|
"colorBackgroundLoadingBarGenAi": "--color-background-loading-bar-gen-ai-7qfi9s",
|
|
11752
11754
|
"colorBackgroundChatBubbleOutgoing": "--color-background-chat-bubble-outgoing-pfqan2",
|
|
11753
11755
|
"colorBackgroundChatBubbleIncoming": "--color-background-chat-bubble-incoming-brq006",
|
|
11754
|
-
"colorTextChatBubbleOutgoing": "--color-text-chat-bubble-outgoing-
|
|
11755
|
-
"colorTextChatBubbleIncoming": "--color-text-chat-bubble-incoming-
|
|
11756
|
+
"colorTextChatBubbleOutgoing": "--color-text-chat-bubble-outgoing-25z5e0",
|
|
11757
|
+
"colorTextChatBubbleIncoming": "--color-text-chat-bubble-incoming-t2slde",
|
|
11756
11758
|
"colorBorderButtonNormalActive": "--color-border-button-normal-active-mn0ayd",
|
|
11757
11759
|
"colorBorderButtonNormalDefault": "--color-border-button-normal-default-uzqi0v",
|
|
11758
11760
|
"colorBorderToggleButtonNormalPressed": "--color-border-toggle-button-normal-pressed-lylxt2",
|
|
@@ -12011,7 +12013,7 @@ export var preset = {
|
|
|
12011
12013
|
"borderRadiusTabsFocusRing": "--border-radius-tabs-focus-ring-1q0rjo",
|
|
12012
12014
|
"borderRadiusTiles": "--border-radius-tiles-60y8e6",
|
|
12013
12015
|
"borderRadiusToken": "--border-radius-token-923jqq",
|
|
12014
|
-
"borderRadiusChatBubble": "--border-radius-chat-bubble-
|
|
12016
|
+
"borderRadiusChatBubble": "--border-radius-chat-bubble-qvkt36",
|
|
12015
12017
|
"borderRadiusTutorialPanelItem": "--border-radius-tutorial-panel-item-b44p0a",
|
|
12016
12018
|
"borderTableStickyWidth": "--border-table-sticky-width-87kf12",
|
|
12017
12019
|
"borderLinkFocusRingOutline": "--border-link-focus-ring-outline-kkfop6",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/internal/hooks/use-dom-attribute/index.tsx"],"names":[],"mappings":";AAQA,wBAAgB,eAAe,CAAC,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,EAAE,aAAa,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM;;EAY7G"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
import { useEffect, useRef } from 'react';
|
|
4
|
+
/*
|
|
5
|
+
* This hook allows setting an DOM attribute after the first render, without rerendering the component.
|
|
6
|
+
*/
|
|
7
|
+
export function useDOMAttribute(elementRef, attributeName, value) {
|
|
8
|
+
const attributeValueRef = useRef();
|
|
9
|
+
useEffect(() => {
|
|
10
|
+
var _a;
|
|
11
|
+
// With this effect, we apply the attribute only on the client, to avoid hydration errors.
|
|
12
|
+
attributeValueRef.current = value;
|
|
13
|
+
(_a = elementRef.current) === null || _a === void 0 ? void 0 : _a.setAttribute(attributeName, value);
|
|
14
|
+
}, [attributeName, value, elementRef]);
|
|
15
|
+
return {
|
|
16
|
+
[attributeName]: attributeValueRef.current,
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/internal/hooks/use-dom-attribute/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AAEtC,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAE1C;;GAEG;AACH,MAAM,UAAU,eAAe,CAAC,UAAwC,EAAE,aAAqB,EAAE,KAAa;IAC5G,MAAM,iBAAiB,GAAG,MAAM,EAAsB,CAAC;IAEvD,SAAS,CAAC,GAAG,EAAE;;QACb,0FAA0F;QAC1F,iBAAiB,CAAC,OAAO,GAAG,KAAK,CAAC;QAClC,MAAA,UAAU,CAAC,OAAO,0CAAE,YAAY,CAAC,aAAa,EAAE,KAAK,CAAC,CAAC;IACzD,CAAC,EAAE,CAAC,aAAa,EAAE,KAAK,EAAE,UAAU,CAAC,CAAC,CAAC;IAEvC,OAAO;QACL,CAAC,aAAa,CAAC,EAAE,iBAAiB,CAAC,OAAO;KAC3C,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\n\nimport { useEffect, useRef } from 'react';\n\n/*\n * This hook allows setting an DOM attribute after the first render, without rerendering the component.\n */\nexport function useDOMAttribute(elementRef: React.RefObject<HTMLElement>, attributeName: string, value: string) {\n const attributeValueRef = useRef<string | undefined>();\n\n useEffect(() => {\n // With this effect, we apply the attribute only on the client, to avoid hydration errors.\n attributeValueRef.current = value;\n elementRef.current?.setAttribute(attributeName, value);\n }, [attributeName, value, elementRef]);\n\n return {\n [attributeName]: attributeValueRef.current,\n };\n}\n"]}
|
|
@@ -5,6 +5,6 @@
|
|
|
5
5
|
* correctly.
|
|
6
6
|
*/
|
|
7
7
|
export declare function usePerformanceMarks(name: string, enabled: boolean, elementRef: React.RefObject<HTMLElement>, getDetails: () => Record<string, string | boolean | number | undefined>, dependencies: React.DependencyList): {
|
|
8
|
-
|
|
8
|
+
[x: string]: string | undefined;
|
|
9
9
|
};
|
|
10
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/internal/hooks/use-performance-marks/index.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/internal/hooks/use-performance-marks/index.ts"],"names":[],"mappings":";AAUA;;;;GAIG;AACH,wBAAgB,mBAAmB,CACjC,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,OAAO,EAChB,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,EACxC,UAAU,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,CAAC,EACvE,YAAY,EAAE,KAAK,CAAC,cAAc;;EA0DnC"}
|
|
@@ -1,25 +1,10 @@
|
|
|
1
1
|
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
-
import { useEffect
|
|
3
|
+
import { useEffect } from 'react';
|
|
4
4
|
import { useModalContext } from '../../context/modal-context';
|
|
5
|
+
import { useDOMAttribute } from '../use-dom-attribute';
|
|
5
6
|
import { useEffectOnUpdate } from '../use-effect-on-update';
|
|
6
7
|
import { useRandomId } from '../use-unique-id';
|
|
7
|
-
/*
|
|
8
|
-
This hook allows setting an HTML attribute after the first render, without rerendering the component.
|
|
9
|
-
*/
|
|
10
|
-
function usePerformanceMarkAttribute(elementRef, value) {
|
|
11
|
-
const attributeName = 'data-analytics-performance-mark';
|
|
12
|
-
const attributeValueRef = useRef();
|
|
13
|
-
useEffect(() => {
|
|
14
|
-
var _a;
|
|
15
|
-
// With this effect, we apply the attribute only on the client, to avoid hydration errors.
|
|
16
|
-
attributeValueRef.current = value;
|
|
17
|
-
(_a = elementRef.current) === null || _a === void 0 ? void 0 : _a.setAttribute(attributeName, value);
|
|
18
|
-
}, [value, elementRef]);
|
|
19
|
-
return {
|
|
20
|
-
[attributeName]: attributeValueRef.current,
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
8
|
/**
|
|
24
9
|
* This function returns an object that needs to be spread onto the same
|
|
25
10
|
* element as the `elementRef`, so that the data attribute is applied
|
|
@@ -28,7 +13,7 @@ function usePerformanceMarkAttribute(elementRef, value) {
|
|
|
28
13
|
export function usePerformanceMarks(name, enabled, elementRef, getDetails, dependencies) {
|
|
29
14
|
const id = useRandomId();
|
|
30
15
|
const { isInModal } = useModalContext();
|
|
31
|
-
const attributes =
|
|
16
|
+
const attributes = useDOMAttribute(elementRef, 'data-analytics-performance-mark', id);
|
|
32
17
|
useEffect(() => {
|
|
33
18
|
if (!enabled || !elementRef.current || isInModal) {
|
|
34
19
|
return;
|