@cloudscape-design/components 3.0.251 → 3.0.253

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.
@@ -90,13 +90,13 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
90
90
  Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
91
91
  SPDX-License-Identifier: Apache-2.0
92
92
  */
93
- .awsui_resize-active_x7peu_1px6f_93:not(#\9):not(.awsui_resize-active-with-focus_x7peu_1px6f_93) * {
93
+ .awsui_resize-active_x7peu_84vi8_93:not(#\9):not(.awsui_resize-active-with-focus_x7peu_84vi8_93) * {
94
94
  cursor: col-resize;
95
95
  -webkit-user-select: none;
96
96
  user-select: none;
97
97
  }
98
98
 
99
- .awsui_resizer_x7peu_1px6f_98:not(#\9) {
99
+ .awsui_resizer_x7peu_84vi8_98:not(#\9) {
100
100
  bottom: 0;
101
101
  cursor: col-resize;
102
102
  position: absolute;
@@ -105,14 +105,14 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
105
105
  width: var(--space-l-4vl6xu, 20px);
106
106
  z-index: 10;
107
107
  }
108
- .awsui_resize-active_x7peu_1px6f_93 .awsui_resizer_x7peu_1px6f_98:not(#\9) {
108
+ .awsui_resize-active_x7peu_84vi8_93 .awsui_resizer_x7peu_84vi8_98:not(#\9) {
109
109
  pointer-events: none;
110
110
  }
111
- th:not(#\9):last-child > .awsui_resizer_x7peu_1px6f_98 {
111
+ th:not(#\9):last-child > .awsui_resizer_x7peu_84vi8_98 {
112
112
  width: calc(var(--space-l-4vl6xu, 20px) / 2);
113
113
  right: 0;
114
114
  }
115
- th:not(#\9):not(:last-child) > .awsui_resizer_x7peu_1px6f_98:hover::before, th:not(#\9):not(:last-child) > .awsui_resizer-active_x7peu_1px6f_114::before {
115
+ th:not(#\9):not(:last-child) > .awsui_resizer_x7peu_84vi8_98:hover::before, th:not(#\9):not(:last-child) > .awsui_resizer-active_x7peu_84vi8_114::before {
116
116
  content: "";
117
117
  position: absolute;
118
118
  left: calc(var(--space-l-4vl6xu, 20px) / 2 - 2px);
@@ -121,18 +121,18 @@ th:not(#\9):not(:last-child) > .awsui_resizer_x7peu_1px6f_98:hover::before, th:n
121
121
  min-height: var(--font-heading-xs-line-height-5x131j, 18px);
122
122
  max-height: calc(100% - calc(2 * var(--space-xs-rsr2qu, 8px) + var(--space-xxxs-k2w98v, 2px)));
123
123
  margin: auto;
124
- border-left: 2px solid var(--color-border-divider-active-nnnfx9, #7d8998);
124
+ border-left: 2px solid var(--color-border-divider-active-t11l9l, #000716);
125
125
  box-sizing: border-box;
126
126
  }
127
- body[data-awsui-focus-visible=true] .awsui_resizer_x7peu_1px6f_98.awsui_has-focus_x7peu_1px6f_126:not(#\9) {
127
+ body[data-awsui-focus-visible=true] .awsui_resizer_x7peu_84vi8_98.awsui_has-focus_x7peu_84vi8_126:not(#\9) {
128
128
  position: relative;
129
129
  position: absolute;
130
130
  }
131
- body[data-awsui-focus-visible=true] .awsui_resizer_x7peu_1px6f_98.awsui_has-focus_x7peu_1px6f_126:not(#\9) {
131
+ body[data-awsui-focus-visible=true] .awsui_resizer_x7peu_84vi8_98.awsui_has-focus_x7peu_84vi8_126:not(#\9) {
132
132
  outline: 2px dotted transparent;
133
133
  outline-offset: calc(var(--space-table-header-focus-outline-gutter-rbx7m7, 0px) - 1px);
134
134
  }
135
- body[data-awsui-focus-visible=true] .awsui_resizer_x7peu_1px6f_98.awsui_has-focus_x7peu_1px6f_126:not(#\9)::before {
135
+ body[data-awsui-focus-visible=true] .awsui_resizer_x7peu_84vi8_98.awsui_has-focus_x7peu_84vi8_126:not(#\9)::before {
136
136
  content: " ";
137
137
  display: block;
138
138
  position: absolute;
@@ -143,18 +143,18 @@ body[data-awsui-focus-visible=true] .awsui_resizer_x7peu_1px6f_98.awsui_has-focu
143
143
  border-radius: var(--border-radius-control-default-focus-ring-7661kz, 4px);
144
144
  box-shadow: 0 0 0 2px var(--color-border-item-focused-ap3b6s, #0972d3);
145
145
  }
146
- body[data-awsui-focus-visible=true] .awsui_resizer_x7peu_1px6f_98.awsui_has-focus_x7peu_1px6f_126:not(#\9)::before {
146
+ body[data-awsui-focus-visible=true] .awsui_resizer_x7peu_84vi8_98.awsui_has-focus_x7peu_84vi8_126:not(#\9)::before {
147
147
  box-shadow: inset 0 0 0 2px var(--color-border-item-focused-ap3b6s, #0972d3);
148
148
  }
149
149
 
150
- .awsui_tracker_x7peu_1px6f_149:not(#\9) {
150
+ .awsui_tracker_x7peu_84vi8_149:not(#\9) {
151
151
  display: none;
152
152
  position: absolute;
153
- border-left: var(--border-divider-list-width-hacikr, 1px) dashed var(--color-border-divider-active-nnnfx9, #7d8998);
153
+ border-left: var(--border-divider-list-width-hacikr, 1px) dashed var(--color-border-divider-active-t11l9l, #000716);
154
154
  width: 0;
155
155
  top: 0;
156
156
  bottom: 0;
157
157
  }
158
- .awsui_resize-active_x7peu_1px6f_93 .awsui_tracker_x7peu_1px6f_149:not(#\9) {
158
+ .awsui_resize-active_x7peu_84vi8_93 .awsui_tracker_x7peu_84vi8_149:not(#\9) {
159
159
  display: block;
160
160
  }
@@ -2,11 +2,11 @@
2
2
  // es-module interop with Babel and Typescript
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  module.exports.default = {
5
- "resize-active": "awsui_resize-active_x7peu_1px6f_93",
6
- "resize-active-with-focus": "awsui_resize-active-with-focus_x7peu_1px6f_93",
7
- "resizer": "awsui_resizer_x7peu_1px6f_98",
8
- "resizer-active": "awsui_resizer-active_x7peu_1px6f_114",
9
- "has-focus": "awsui_has-focus_x7peu_1px6f_126",
10
- "tracker": "awsui_tracker_x7peu_1px6f_149"
5
+ "resize-active": "awsui_resize-active_x7peu_84vi8_93",
6
+ "resize-active-with-focus": "awsui_resize-active-with-focus_x7peu_84vi8_93",
7
+ "resizer": "awsui_resizer_x7peu_84vi8_98",
8
+ "resizer-active": "awsui_resizer-active_x7peu_84vi8_114",
9
+ "has-focus": "awsui_has-focus_x7peu_84vi8_126",
10
+ "tracker": "awsui_tracker_x7peu_84vi8_149"
11
11
  };
12
12
 
@@ -2,9 +2,10 @@ import { TypedOverride } from '../internal/generated/theming';
2
2
  export type Theme = TypedOverride;
3
3
  export interface ApplyThemeParams {
4
4
  theme: Theme;
5
+ baseThemeId?: string;
5
6
  }
6
7
  export interface ApplyThemeResult {
7
8
  reset: () => void;
8
9
  }
9
- export declare function applyTheme({ theme }: ApplyThemeParams): ApplyThemeResult;
10
+ export declare function applyTheme({ theme, baseThemeId }: ApplyThemeParams): ApplyThemeResult;
10
11
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"lib/default/","sources":["theming/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAU,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAEtE,MAAM,MAAM,KAAK,GAAG,aAAa,CAAC;AAClC,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,KAAK,CAAC;CACd;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB;AAED,wBAAgB,UAAU,CAAC,EAAE,KAAK,EAAE,EAAE,gBAAgB,GAAG,gBAAgB,CAKxE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"lib/default/","sources":["theming/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAU,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAEtE,MAAM,MAAM,KAAK,GAAG,aAAa,CAAC;AAClC,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,KAAK,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB;AAED,wBAAgB,UAAU,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,EAAE,gBAAgB,GAAG,gBAAgB,CAMrF"}
package/theming/index.js CHANGED
@@ -2,10 +2,11 @@
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
  import { applyTheme as coreApplyTheme } from '@cloudscape-design/theming-runtime';
4
4
  import { preset } from '../internal/generated/theming';
5
- export function applyTheme({ theme }) {
5
+ export function applyTheme({ theme, baseThemeId }) {
6
6
  return coreApplyTheme({
7
7
  override: theme,
8
8
  preset,
9
+ baseThemeId,
9
10
  });
10
11
  }
11
12
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"lib/default/","sources":["theming/index.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,EAAE,UAAU,IAAI,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAClF,OAAO,EAAE,MAAM,EAAiB,MAAM,+BAA+B,CAAC;AAWtE,MAAM,UAAU,UAAU,CAAC,EAAE,KAAK,EAAoB;IACpD,OAAO,cAAc,CAAC;QACpB,QAAQ,EAAE,KAAK;QACf,MAAM;KACP,CAAC,CAAC;AACL,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { applyTheme as coreApplyTheme } from '@cloudscape-design/theming-runtime';\nimport { preset, TypedOverride } from '../internal/generated/theming';\n\nexport type Theme = TypedOverride;\nexport interface ApplyThemeParams {\n theme: Theme;\n}\n\nexport interface ApplyThemeResult {\n reset: () => void;\n}\n\nexport function applyTheme({ theme }: ApplyThemeParams): ApplyThemeResult {\n return coreApplyTheme({\n override: theme,\n preset,\n });\n}\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"lib/default/","sources":["theming/index.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,EAAE,UAAU,IAAI,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAClF,OAAO,EAAE,MAAM,EAAiB,MAAM,+BAA+B,CAAC;AAYtE,MAAM,UAAU,UAAU,CAAC,EAAE,KAAK,EAAE,WAAW,EAAoB;IACjE,OAAO,cAAc,CAAC;QACpB,QAAQ,EAAE,KAAK;QACf,MAAM;QACN,WAAW;KACZ,CAAC,CAAC;AACL,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport { applyTheme as coreApplyTheme } from '@cloudscape-design/theming-runtime';\nimport { preset, TypedOverride } from '../internal/generated/theming';\n\nexport type Theme = TypedOverride;\nexport interface ApplyThemeParams {\n theme: Theme;\n baseThemeId?: string;\n}\n\nexport interface ApplyThemeResult {\n reset: () => void;\n}\n\nexport function applyTheme({ theme, baseThemeId }: ApplyThemeParams): ApplyThemeResult {\n return coreApplyTheme({\n override: theme,\n preset,\n baseThemeId,\n });\n}\n"]}