@cloudscape-design/components 3.0.661 → 3.0.663
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/breadcrumb-group/implementation.d.ts.map +1 -1
- package/breadcrumb-group/implementation.js.map +1 -1
- package/button-dropdown/item-element/styles.css.js +11 -11
- package/button-dropdown/item-element/styles.scoped.css +16 -16
- package/button-dropdown/item-element/styles.selectors.js +11 -11
- package/date-range-picker/index.d.ts.map +1 -1
- package/date-range-picker/index.js +1 -0
- package/date-range-picker/index.js.map +1 -1
- package/internal/base-component/styles.scoped.css +7 -0
- package/internal/environment.js +1 -1
- package/internal/environment.json +1 -1
- package/internal/generated/styles/tokens.d.ts +6 -0
- package/internal/generated/styles/tokens.js +6 -0
- package/internal/generated/theming/index.cjs +117 -0
- package/internal/generated/theming/index.js +117 -0
- package/internal/manifest.json +1 -1
- package/internal/tooltip-do-not-use/index.d.ts +4 -0
- package/internal/tooltip-do-not-use/index.d.ts.map +1 -0
- package/internal/tooltip-do-not-use/index.js +5 -0
- package/internal/tooltip-do-not-use/index.js.map +1 -0
- package/internal/widgets/index.d.ts +3 -1
- package/internal/widgets/index.d.ts.map +1 -1
- package/internal/widgets/index.js.map +1 -1
- package/package.json +4 -1
- package/side-navigation/implementation.d.ts.map +1 -1
- package/side-navigation/implementation.js.map +1 -1
- package/table/index.d.ts.map +1 -1
- package/table/index.js +2 -0
- package/table/index.js.map +1 -1
- package/test-utils/dom/internal/tooltip.d.ts +4 -0
- package/test-utils/dom/internal/tooltip.js +11 -0
- package/test-utils/dom/internal/tooltip.js.map +1 -0
- package/test-utils/selectors/internal/tooltip.d.ts +4 -0
- package/test-utils/selectors/internal/tooltip.js +11 -0
- package/test-utils/selectors/internal/tooltip.js.map +1 -0
- package/test-utils/tsconfig.tsbuildinfo +1 -1
|
@@ -1045,6 +1045,18 @@ module.exports.preset = {
|
|
|
1045
1045
|
"light": "{colorGrey600}",
|
|
1046
1046
|
"dark": "{colorGrey500}"
|
|
1047
1047
|
},
|
|
1048
|
+
"colorBackgroundAvatarGenAi": {
|
|
1049
|
+
"light": "radial-gradient(circle farthest-corner at bottom left,rgba(0, 150, 250, 1) -25%,rgba(0, 150, 250, 0) 55%),radial-gradient(circle farthest-corner at top left, rgba(216, 178, 255, 1) -10%, rgba(115, 0, 229, 1) 50%)",
|
|
1050
|
+
"dark": "radial-gradient(circle farthest-corner at bottom left,rgba(0, 150, 250, 1) -25%,rgba(0, 150, 250, 0) 55%),radial-gradient(circle farthest-corner at top left, rgba(216, 178, 255, 1) -10%, rgba(115, 0, 229, 1) 50%)"
|
|
1051
|
+
},
|
|
1052
|
+
"colorBackgroundAvatarDefault": {
|
|
1053
|
+
"light": "{colorGrey600}",
|
|
1054
|
+
"dark": "{colorGrey550}"
|
|
1055
|
+
},
|
|
1056
|
+
"colorTextAvatar": {
|
|
1057
|
+
"light": "{colorWhite}",
|
|
1058
|
+
"dark": "{colorWhite}"
|
|
1059
|
+
},
|
|
1048
1060
|
"colorBorderButtonNormalActive": {
|
|
1049
1061
|
"light": "{colorBlue800}",
|
|
1050
1062
|
"dark": "{colorBlue400}"
|
|
@@ -1803,6 +1815,14 @@ module.exports.preset = {
|
|
|
1803
1815
|
"default": "250ms",
|
|
1804
1816
|
"disabled": "0ms"
|
|
1805
1817
|
},
|
|
1818
|
+
"motionDurationAvatarGenAiGradient": {
|
|
1819
|
+
"default": "3600ms",
|
|
1820
|
+
"disabled": "0ms"
|
|
1821
|
+
},
|
|
1822
|
+
"motionDurationAvatarLoadingDots": {
|
|
1823
|
+
"default": "1200ms",
|
|
1824
|
+
"disabled": "0ms"
|
|
1825
|
+
},
|
|
1806
1826
|
"motionDurationRotate180": {
|
|
1807
1827
|
"default": "{motionDurationModerate}",
|
|
1808
1828
|
"disabled": "{motionDurationModerate}"
|
|
@@ -1855,6 +1875,10 @@ module.exports.preset = {
|
|
|
1855
1875
|
"default": "cubic-bezier(0.33, 0, 0.67, 1)",
|
|
1856
1876
|
"disabled": "cubic-bezier(0.33, 0, 0.67, 1)"
|
|
1857
1877
|
},
|
|
1878
|
+
"motionEasingAvatarGenAiGradient": {
|
|
1879
|
+
"default": "cubic-bezier(0.7, 0, 0.3, 1)",
|
|
1880
|
+
"disabled": "cubic-bezier(0.7, 0, 0.3, 1)"
|
|
1881
|
+
},
|
|
1858
1882
|
"motionEasingRotate180": {
|
|
1859
1883
|
"default": "{motionEasingEaseOutQuart}",
|
|
1860
1884
|
"disabled": "{motionEasingEaseOutQuart}"
|
|
@@ -3163,6 +3187,18 @@ module.exports.preset = {
|
|
|
3163
3187
|
"light": "{colorGrey500}",
|
|
3164
3188
|
"dark": "{colorGrey500}"
|
|
3165
3189
|
},
|
|
3190
|
+
"colorBackgroundAvatarGenAi": {
|
|
3191
|
+
"light": "radial-gradient(circle farthest-corner at bottom left,rgba(0, 150, 250, 1) -25%,rgba(0, 150, 250, 0) 55%),radial-gradient(circle farthest-corner at top left, rgba(216, 178, 255, 1) -10%, rgba(115, 0, 229, 1) 50%)",
|
|
3192
|
+
"dark": "radial-gradient(circle farthest-corner at bottom left,rgba(0, 150, 250, 1) -25%,rgba(0, 150, 250, 0) 55%),radial-gradient(circle farthest-corner at top left, rgba(216, 178, 255, 1) -10%, rgba(115, 0, 229, 1) 50%)"
|
|
3193
|
+
},
|
|
3194
|
+
"colorBackgroundAvatarDefault": {
|
|
3195
|
+
"light": "{colorGrey550}",
|
|
3196
|
+
"dark": "{colorGrey550}"
|
|
3197
|
+
},
|
|
3198
|
+
"colorTextAvatar": {
|
|
3199
|
+
"light": "{colorWhite}",
|
|
3200
|
+
"dark": "{colorWhite}"
|
|
3201
|
+
},
|
|
3166
3202
|
"colorBorderButtonNormalActive": {
|
|
3167
3203
|
"light": "{colorBlue400}",
|
|
3168
3204
|
"dark": "{colorBlue400}"
|
|
@@ -4213,6 +4249,18 @@ module.exports.preset = {
|
|
|
4213
4249
|
"light": "{colorGrey500}",
|
|
4214
4250
|
"dark": "{colorGrey500}"
|
|
4215
4251
|
},
|
|
4252
|
+
"colorBackgroundAvatarGenAi": {
|
|
4253
|
+
"light": "radial-gradient(circle farthest-corner at bottom left,rgba(0, 150, 250, 1) -25%,rgba(0, 150, 250, 0) 55%),radial-gradient(circle farthest-corner at top left, rgba(216, 178, 255, 1) -10%, rgba(115, 0, 229, 1) 50%)",
|
|
4254
|
+
"dark": "radial-gradient(circle farthest-corner at bottom left,rgba(0, 150, 250, 1) -25%,rgba(0, 150, 250, 0) 55%),radial-gradient(circle farthest-corner at top left, rgba(216, 178, 255, 1) -10%, rgba(115, 0, 229, 1) 50%)"
|
|
4255
|
+
},
|
|
4256
|
+
"colorBackgroundAvatarDefault": {
|
|
4257
|
+
"light": "{colorGrey550}",
|
|
4258
|
+
"dark": "{colorGrey550}"
|
|
4259
|
+
},
|
|
4260
|
+
"colorTextAvatar": {
|
|
4261
|
+
"light": "{colorWhite}",
|
|
4262
|
+
"dark": "{colorWhite}"
|
|
4263
|
+
},
|
|
4216
4264
|
"colorBorderButtonNormalActive": {
|
|
4217
4265
|
"light": "{colorBlue400}",
|
|
4218
4266
|
"dark": "{colorBlue400}"
|
|
@@ -5195,6 +5243,18 @@ module.exports.preset = {
|
|
|
5195
5243
|
"light": "{colorGrey600}",
|
|
5196
5244
|
"dark": "{colorGrey500}"
|
|
5197
5245
|
},
|
|
5246
|
+
"colorBackgroundAvatarGenAi": {
|
|
5247
|
+
"light": "radial-gradient(circle farthest-corner at bottom left,rgba(0, 150, 250, 1) -25%,rgba(0, 150, 250, 0) 55%),radial-gradient(circle farthest-corner at top left, rgba(216, 178, 255, 1) -10%, rgba(115, 0, 229, 1) 50%)",
|
|
5248
|
+
"dark": "radial-gradient(circle farthest-corner at bottom left,rgba(0, 150, 250, 1) -25%,rgba(0, 150, 250, 0) 55%),radial-gradient(circle farthest-corner at top left, rgba(216, 178, 255, 1) -10%, rgba(115, 0, 229, 1) 50%)"
|
|
5249
|
+
},
|
|
5250
|
+
"colorBackgroundAvatarDefault": {
|
|
5251
|
+
"light": "{colorGrey600}",
|
|
5252
|
+
"dark": "{colorGrey550}"
|
|
5253
|
+
},
|
|
5254
|
+
"colorTextAvatar": {
|
|
5255
|
+
"light": "{colorWhite}",
|
|
5256
|
+
"dark": "{colorWhite}"
|
|
5257
|
+
},
|
|
5198
5258
|
"colorBorderButtonNormalActive": {
|
|
5199
5259
|
"light": "{colorWhite}",
|
|
5200
5260
|
"dark": "{colorWhite}"
|
|
@@ -6177,6 +6237,18 @@ module.exports.preset = {
|
|
|
6177
6237
|
"light": "{colorGrey600}",
|
|
6178
6238
|
"dark": "{colorGrey500}"
|
|
6179
6239
|
},
|
|
6240
|
+
"colorBackgroundAvatarGenAi": {
|
|
6241
|
+
"light": "radial-gradient(circle farthest-corner at bottom left,rgba(0, 150, 250, 1) -25%,rgba(0, 150, 250, 0) 55%),radial-gradient(circle farthest-corner at top left, rgba(216, 178, 255, 1) -10%, rgba(115, 0, 229, 1) 50%)",
|
|
6242
|
+
"dark": "radial-gradient(circle farthest-corner at bottom left,rgba(0, 150, 250, 1) -25%,rgba(0, 150, 250, 0) 55%),radial-gradient(circle farthest-corner at top left, rgba(216, 178, 255, 1) -10%, rgba(115, 0, 229, 1) 50%)"
|
|
6243
|
+
},
|
|
6244
|
+
"colorBackgroundAvatarDefault": {
|
|
6245
|
+
"light": "{colorGrey600}",
|
|
6246
|
+
"dark": "{colorGrey550}"
|
|
6247
|
+
},
|
|
6248
|
+
"colorTextAvatar": {
|
|
6249
|
+
"light": "{colorWhite}",
|
|
6250
|
+
"dark": "{colorWhite}"
|
|
6251
|
+
},
|
|
6180
6252
|
"colorBorderButtonNormalActive": {
|
|
6181
6253
|
"light": "{colorTextButtonNormalHover}",
|
|
6182
6254
|
"dark": "{colorTextButtonNormalHover}"
|
|
@@ -7159,6 +7231,18 @@ module.exports.preset = {
|
|
|
7159
7231
|
"light": "{colorGrey600}",
|
|
7160
7232
|
"dark": "{colorGrey500}"
|
|
7161
7233
|
},
|
|
7234
|
+
"colorBackgroundAvatarGenAi": {
|
|
7235
|
+
"light": "radial-gradient(circle farthest-corner at bottom left,rgba(0, 150, 250, 1) -25%,rgba(0, 150, 250, 0) 55%),radial-gradient(circle farthest-corner at top left, rgba(216, 178, 255, 1) -10%, rgba(115, 0, 229, 1) 50%)",
|
|
7236
|
+
"dark": "radial-gradient(circle farthest-corner at bottom left,rgba(0, 150, 250, 1) -25%,rgba(0, 150, 250, 0) 55%),radial-gradient(circle farthest-corner at top left, rgba(216, 178, 255, 1) -10%, rgba(115, 0, 229, 1) 50%)"
|
|
7237
|
+
},
|
|
7238
|
+
"colorBackgroundAvatarDefault": {
|
|
7239
|
+
"light": "{colorGrey600}",
|
|
7240
|
+
"dark": "{colorGrey550}"
|
|
7241
|
+
},
|
|
7242
|
+
"colorTextAvatar": {
|
|
7243
|
+
"light": "{colorWhite}",
|
|
7244
|
+
"dark": "{colorWhite}"
|
|
7245
|
+
},
|
|
7162
7246
|
"colorBorderButtonNormalActive": {
|
|
7163
7247
|
"light": "{colorTextButtonNormalHover}",
|
|
7164
7248
|
"dark": "{colorTextButtonNormalHover}"
|
|
@@ -8143,6 +8227,18 @@ module.exports.preset = {
|
|
|
8143
8227
|
"light": "{colorGrey500}",
|
|
8144
8228
|
"dark": "{colorGrey500}"
|
|
8145
8229
|
},
|
|
8230
|
+
"colorBackgroundAvatarGenAi": {
|
|
8231
|
+
"light": "radial-gradient(circle farthest-corner at bottom left,rgba(0, 150, 250, 1) -25%,rgba(0, 150, 250, 0) 55%),radial-gradient(circle farthest-corner at top left, rgba(216, 178, 255, 1) -10%, rgba(115, 0, 229, 1) 50%)",
|
|
8232
|
+
"dark": "radial-gradient(circle farthest-corner at bottom left,rgba(0, 150, 250, 1) -25%,rgba(0, 150, 250, 0) 55%),radial-gradient(circle farthest-corner at top left, rgba(216, 178, 255, 1) -10%, rgba(115, 0, 229, 1) 50%)"
|
|
8233
|
+
},
|
|
8234
|
+
"colorBackgroundAvatarDefault": {
|
|
8235
|
+
"light": "{colorGrey550}",
|
|
8236
|
+
"dark": "{colorGrey550}"
|
|
8237
|
+
},
|
|
8238
|
+
"colorTextAvatar": {
|
|
8239
|
+
"light": "{colorWhite}",
|
|
8240
|
+
"dark": "{colorWhite}"
|
|
8241
|
+
},
|
|
8146
8242
|
"colorBorderButtonNormalActive": {
|
|
8147
8243
|
"light": "{colorTextButtonNormalHover}",
|
|
8148
8244
|
"dark": "{colorTextButtonNormalHover}"
|
|
@@ -9025,6 +9121,9 @@ module.exports.preset = {
|
|
|
9025
9121
|
"colorBackgroundTilesDisabled": "color",
|
|
9026
9122
|
"colorBackgroundToggleCheckedDisabled": "color",
|
|
9027
9123
|
"colorBackgroundToggleDefault": "color",
|
|
9124
|
+
"colorBackgroundAvatarGenAi": "color",
|
|
9125
|
+
"colorBackgroundAvatarDefault": "color",
|
|
9126
|
+
"colorTextAvatar": "color",
|
|
9028
9127
|
"colorBorderButtonNormalActive": "color",
|
|
9029
9128
|
"colorBorderButtonNormalDefault": "color",
|
|
9030
9129
|
"colorBorderButtonNormalDisabled": "color",
|
|
@@ -9193,6 +9292,8 @@ module.exports.preset = {
|
|
|
9193
9292
|
"motionDurationRefreshOnlyFast": "motion",
|
|
9194
9293
|
"motionDurationRefreshOnlyMedium": "motion",
|
|
9195
9294
|
"motionDurationRefreshOnlySlow": "motion",
|
|
9295
|
+
"motionDurationAvatarGenAiGradient": "motion",
|
|
9296
|
+
"motionDurationAvatarLoadingDots": "motion",
|
|
9196
9297
|
"motionDurationRotate180": "motion",
|
|
9197
9298
|
"motionDurationRotate90": "motion",
|
|
9198
9299
|
"motionDurationShowPaced": "motion",
|
|
@@ -9206,6 +9307,7 @@ module.exports.preset = {
|
|
|
9206
9307
|
"motionEasingRefreshOnlyB": "motion",
|
|
9207
9308
|
"motionEasingRefreshOnlyC": "motion",
|
|
9208
9309
|
"motionEasingRefreshOnlyD": "motion",
|
|
9310
|
+
"motionEasingAvatarGenAiGradient": "motion",
|
|
9209
9311
|
"motionEasingRotate180": "motion",
|
|
9210
9312
|
"motionEasingRotate90": "motion",
|
|
9211
9313
|
"motionEasingShowPaced": "motion",
|
|
@@ -9768,6 +9870,9 @@ module.exports.preset = {
|
|
|
9768
9870
|
"colorBackgroundStatusSuccess",
|
|
9769
9871
|
"colorBackgroundStatusWarning",
|
|
9770
9872
|
"colorBackgroundToggleCheckedDisabled",
|
|
9873
|
+
"colorBackgroundAvatarGenAi",
|
|
9874
|
+
"colorBackgroundAvatarDefault",
|
|
9875
|
+
"colorTextAvatar",
|
|
9771
9876
|
"colorBorderButtonNormalActive",
|
|
9772
9877
|
"colorBorderButtonNormalDefault",
|
|
9773
9878
|
"colorBorderButtonNormalDisabled",
|
|
@@ -10211,6 +10316,9 @@ module.exports.preset = {
|
|
|
10211
10316
|
"colorBackgroundTilesDisabled": "color-background-tiles-disabled",
|
|
10212
10317
|
"colorBackgroundToggleCheckedDisabled": "color-background-toggle-checked-disabled",
|
|
10213
10318
|
"colorBackgroundToggleDefault": "color-background-toggle-default",
|
|
10319
|
+
"colorBackgroundAvatarGenAi": "color-background-avatar-gen-ai",
|
|
10320
|
+
"colorBackgroundAvatarDefault": "color-background-avatar-default",
|
|
10321
|
+
"colorTextAvatar": "color-text-avatar",
|
|
10214
10322
|
"colorBorderButtonNormalActive": "color-border-button-normal-active",
|
|
10215
10323
|
"colorBorderButtonNormalDefault": "color-border-button-normal-default",
|
|
10216
10324
|
"colorBorderButtonNormalDisabled": "color-border-button-normal-disabled",
|
|
@@ -10465,6 +10573,8 @@ module.exports.preset = {
|
|
|
10465
10573
|
"motionDurationRefreshOnlyFast": "motion-duration-refresh-only-fast",
|
|
10466
10574
|
"motionDurationRefreshOnlyMedium": "motion-duration-refresh-only-medium",
|
|
10467
10575
|
"motionDurationRefreshOnlySlow": "motion-duration-refresh-only-slow",
|
|
10576
|
+
"motionDurationAvatarGenAiGradient": "motion-duration-avatar-gen-ai-gradient",
|
|
10577
|
+
"motionDurationAvatarLoadingDots": "motion-duration-avatar-loading-dots",
|
|
10468
10578
|
"motionDurationRotate180": "motion-duration-rotate-180",
|
|
10469
10579
|
"motionDurationRotate90": "motion-duration-rotate-90",
|
|
10470
10580
|
"motionDurationShowPaced": "motion-duration-show-paced",
|
|
@@ -10478,6 +10588,7 @@ module.exports.preset = {
|
|
|
10478
10588
|
"motionEasingRefreshOnlyB": "motion-easing-refresh-only-b",
|
|
10479
10589
|
"motionEasingRefreshOnlyC": "motion-easing-refresh-only-c",
|
|
10480
10590
|
"motionEasingRefreshOnlyD": "motion-easing-refresh-only-d",
|
|
10591
|
+
"motionEasingAvatarGenAiGradient": "motion-easing-avatar-gen-ai-gradient",
|
|
10481
10592
|
"motionEasingRotate180": "motion-easing-rotate-180",
|
|
10482
10593
|
"motionEasingRotate90": "motion-easing-rotate-90",
|
|
10483
10594
|
"motionEasingShowPaced": "motion-easing-show-paced",
|
|
@@ -10913,6 +11024,9 @@ module.exports.preset = {
|
|
|
10913
11024
|
"colorBackgroundTilesDisabled": "--color-background-tiles-disabled-0j6ior",
|
|
10914
11025
|
"colorBackgroundToggleCheckedDisabled": "--color-background-toggle-checked-disabled-uqvx2z",
|
|
10915
11026
|
"colorBackgroundToggleDefault": "--color-background-toggle-default-6qtbef",
|
|
11027
|
+
"colorBackgroundAvatarGenAi": "--color-background-avatar-gen-ai-xsgmt7",
|
|
11028
|
+
"colorBackgroundAvatarDefault": "--color-background-avatar-default-s460u2",
|
|
11029
|
+
"colorTextAvatar": "--color-text-avatar-jddpvm",
|
|
10916
11030
|
"colorBorderButtonNormalActive": "--color-border-button-normal-active-tc4102",
|
|
10917
11031
|
"colorBorderButtonNormalDefault": "--color-border-button-normal-default-x52rkp",
|
|
10918
11032
|
"colorBorderButtonNormalDisabled": "--color-border-button-normal-disabled-40wkb4",
|
|
@@ -11167,6 +11281,8 @@ module.exports.preset = {
|
|
|
11167
11281
|
"motionDurationRefreshOnlyFast": "--motion-duration-refresh-only-fast-4jn2d7",
|
|
11168
11282
|
"motionDurationRefreshOnlyMedium": "--motion-duration-refresh-only-medium-nf6485",
|
|
11169
11283
|
"motionDurationRefreshOnlySlow": "--motion-duration-refresh-only-slow-zbvbxt",
|
|
11284
|
+
"motionDurationAvatarGenAiGradient": "--motion-duration-avatar-gen-ai-gradient-xetl2o",
|
|
11285
|
+
"motionDurationAvatarLoadingDots": "--motion-duration-avatar-loading-dots-pe8a3q",
|
|
11170
11286
|
"motionDurationRotate180": "--motion-duration-rotate-180-dpvl4m",
|
|
11171
11287
|
"motionDurationRotate90": "--motion-duration-rotate-90-4ry26y",
|
|
11172
11288
|
"motionDurationShowPaced": "--motion-duration-show-paced-q2lo2h",
|
|
@@ -11180,6 +11296,7 @@ module.exports.preset = {
|
|
|
11180
11296
|
"motionEasingRefreshOnlyB": "--motion-easing-refresh-only-b-ufhmjm",
|
|
11181
11297
|
"motionEasingRefreshOnlyC": "--motion-easing-refresh-only-c-vg1m9h",
|
|
11182
11298
|
"motionEasingRefreshOnlyD": "--motion-easing-refresh-only-d-3kjugn",
|
|
11299
|
+
"motionEasingAvatarGenAiGradient": "--motion-easing-avatar-gen-ai-gradient-tjyrpp",
|
|
11183
11300
|
"motionEasingRotate180": "--motion-easing-rotate-180-e270ko",
|
|
11184
11301
|
"motionEasingRotate90": "--motion-easing-rotate-90-sb4dk7",
|
|
11185
11302
|
"motionEasingShowPaced": "--motion-easing-show-paced-ne2o0s",
|
|
@@ -1045,6 +1045,18 @@ export var preset = {
|
|
|
1045
1045
|
"light": "{colorGrey600}",
|
|
1046
1046
|
"dark": "{colorGrey500}"
|
|
1047
1047
|
},
|
|
1048
|
+
"colorBackgroundAvatarGenAi": {
|
|
1049
|
+
"light": "radial-gradient(circle farthest-corner at bottom left,rgba(0, 150, 250, 1) -25%,rgba(0, 150, 250, 0) 55%),radial-gradient(circle farthest-corner at top left, rgba(216, 178, 255, 1) -10%, rgba(115, 0, 229, 1) 50%)",
|
|
1050
|
+
"dark": "radial-gradient(circle farthest-corner at bottom left,rgba(0, 150, 250, 1) -25%,rgba(0, 150, 250, 0) 55%),radial-gradient(circle farthest-corner at top left, rgba(216, 178, 255, 1) -10%, rgba(115, 0, 229, 1) 50%)"
|
|
1051
|
+
},
|
|
1052
|
+
"colorBackgroundAvatarDefault": {
|
|
1053
|
+
"light": "{colorGrey600}",
|
|
1054
|
+
"dark": "{colorGrey550}"
|
|
1055
|
+
},
|
|
1056
|
+
"colorTextAvatar": {
|
|
1057
|
+
"light": "{colorWhite}",
|
|
1058
|
+
"dark": "{colorWhite}"
|
|
1059
|
+
},
|
|
1048
1060
|
"colorBorderButtonNormalActive": {
|
|
1049
1061
|
"light": "{colorBlue800}",
|
|
1050
1062
|
"dark": "{colorBlue400}"
|
|
@@ -1803,6 +1815,14 @@ export var preset = {
|
|
|
1803
1815
|
"default": "250ms",
|
|
1804
1816
|
"disabled": "0ms"
|
|
1805
1817
|
},
|
|
1818
|
+
"motionDurationAvatarGenAiGradient": {
|
|
1819
|
+
"default": "3600ms",
|
|
1820
|
+
"disabled": "0ms"
|
|
1821
|
+
},
|
|
1822
|
+
"motionDurationAvatarLoadingDots": {
|
|
1823
|
+
"default": "1200ms",
|
|
1824
|
+
"disabled": "0ms"
|
|
1825
|
+
},
|
|
1806
1826
|
"motionDurationRotate180": {
|
|
1807
1827
|
"default": "{motionDurationModerate}",
|
|
1808
1828
|
"disabled": "{motionDurationModerate}"
|
|
@@ -1855,6 +1875,10 @@ export var preset = {
|
|
|
1855
1875
|
"default": "cubic-bezier(0.33, 0, 0.67, 1)",
|
|
1856
1876
|
"disabled": "cubic-bezier(0.33, 0, 0.67, 1)"
|
|
1857
1877
|
},
|
|
1878
|
+
"motionEasingAvatarGenAiGradient": {
|
|
1879
|
+
"default": "cubic-bezier(0.7, 0, 0.3, 1)",
|
|
1880
|
+
"disabled": "cubic-bezier(0.7, 0, 0.3, 1)"
|
|
1881
|
+
},
|
|
1858
1882
|
"motionEasingRotate180": {
|
|
1859
1883
|
"default": "{motionEasingEaseOutQuart}",
|
|
1860
1884
|
"disabled": "{motionEasingEaseOutQuart}"
|
|
@@ -3163,6 +3187,18 @@ export var preset = {
|
|
|
3163
3187
|
"light": "{colorGrey500}",
|
|
3164
3188
|
"dark": "{colorGrey500}"
|
|
3165
3189
|
},
|
|
3190
|
+
"colorBackgroundAvatarGenAi": {
|
|
3191
|
+
"light": "radial-gradient(circle farthest-corner at bottom left,rgba(0, 150, 250, 1) -25%,rgba(0, 150, 250, 0) 55%),radial-gradient(circle farthest-corner at top left, rgba(216, 178, 255, 1) -10%, rgba(115, 0, 229, 1) 50%)",
|
|
3192
|
+
"dark": "radial-gradient(circle farthest-corner at bottom left,rgba(0, 150, 250, 1) -25%,rgba(0, 150, 250, 0) 55%),radial-gradient(circle farthest-corner at top left, rgba(216, 178, 255, 1) -10%, rgba(115, 0, 229, 1) 50%)"
|
|
3193
|
+
},
|
|
3194
|
+
"colorBackgroundAvatarDefault": {
|
|
3195
|
+
"light": "{colorGrey550}",
|
|
3196
|
+
"dark": "{colorGrey550}"
|
|
3197
|
+
},
|
|
3198
|
+
"colorTextAvatar": {
|
|
3199
|
+
"light": "{colorWhite}",
|
|
3200
|
+
"dark": "{colorWhite}"
|
|
3201
|
+
},
|
|
3166
3202
|
"colorBorderButtonNormalActive": {
|
|
3167
3203
|
"light": "{colorBlue400}",
|
|
3168
3204
|
"dark": "{colorBlue400}"
|
|
@@ -4213,6 +4249,18 @@ export var preset = {
|
|
|
4213
4249
|
"light": "{colorGrey500}",
|
|
4214
4250
|
"dark": "{colorGrey500}"
|
|
4215
4251
|
},
|
|
4252
|
+
"colorBackgroundAvatarGenAi": {
|
|
4253
|
+
"light": "radial-gradient(circle farthest-corner at bottom left,rgba(0, 150, 250, 1) -25%,rgba(0, 150, 250, 0) 55%),radial-gradient(circle farthest-corner at top left, rgba(216, 178, 255, 1) -10%, rgba(115, 0, 229, 1) 50%)",
|
|
4254
|
+
"dark": "radial-gradient(circle farthest-corner at bottom left,rgba(0, 150, 250, 1) -25%,rgba(0, 150, 250, 0) 55%),radial-gradient(circle farthest-corner at top left, rgba(216, 178, 255, 1) -10%, rgba(115, 0, 229, 1) 50%)"
|
|
4255
|
+
},
|
|
4256
|
+
"colorBackgroundAvatarDefault": {
|
|
4257
|
+
"light": "{colorGrey550}",
|
|
4258
|
+
"dark": "{colorGrey550}"
|
|
4259
|
+
},
|
|
4260
|
+
"colorTextAvatar": {
|
|
4261
|
+
"light": "{colorWhite}",
|
|
4262
|
+
"dark": "{colorWhite}"
|
|
4263
|
+
},
|
|
4216
4264
|
"colorBorderButtonNormalActive": {
|
|
4217
4265
|
"light": "{colorBlue400}",
|
|
4218
4266
|
"dark": "{colorBlue400}"
|
|
@@ -5195,6 +5243,18 @@ export var preset = {
|
|
|
5195
5243
|
"light": "{colorGrey600}",
|
|
5196
5244
|
"dark": "{colorGrey500}"
|
|
5197
5245
|
},
|
|
5246
|
+
"colorBackgroundAvatarGenAi": {
|
|
5247
|
+
"light": "radial-gradient(circle farthest-corner at bottom left,rgba(0, 150, 250, 1) -25%,rgba(0, 150, 250, 0) 55%),radial-gradient(circle farthest-corner at top left, rgba(216, 178, 255, 1) -10%, rgba(115, 0, 229, 1) 50%)",
|
|
5248
|
+
"dark": "radial-gradient(circle farthest-corner at bottom left,rgba(0, 150, 250, 1) -25%,rgba(0, 150, 250, 0) 55%),radial-gradient(circle farthest-corner at top left, rgba(216, 178, 255, 1) -10%, rgba(115, 0, 229, 1) 50%)"
|
|
5249
|
+
},
|
|
5250
|
+
"colorBackgroundAvatarDefault": {
|
|
5251
|
+
"light": "{colorGrey600}",
|
|
5252
|
+
"dark": "{colorGrey550}"
|
|
5253
|
+
},
|
|
5254
|
+
"colorTextAvatar": {
|
|
5255
|
+
"light": "{colorWhite}",
|
|
5256
|
+
"dark": "{colorWhite}"
|
|
5257
|
+
},
|
|
5198
5258
|
"colorBorderButtonNormalActive": {
|
|
5199
5259
|
"light": "{colorWhite}",
|
|
5200
5260
|
"dark": "{colorWhite}"
|
|
@@ -6177,6 +6237,18 @@ export var preset = {
|
|
|
6177
6237
|
"light": "{colorGrey600}",
|
|
6178
6238
|
"dark": "{colorGrey500}"
|
|
6179
6239
|
},
|
|
6240
|
+
"colorBackgroundAvatarGenAi": {
|
|
6241
|
+
"light": "radial-gradient(circle farthest-corner at bottom left,rgba(0, 150, 250, 1) -25%,rgba(0, 150, 250, 0) 55%),radial-gradient(circle farthest-corner at top left, rgba(216, 178, 255, 1) -10%, rgba(115, 0, 229, 1) 50%)",
|
|
6242
|
+
"dark": "radial-gradient(circle farthest-corner at bottom left,rgba(0, 150, 250, 1) -25%,rgba(0, 150, 250, 0) 55%),radial-gradient(circle farthest-corner at top left, rgba(216, 178, 255, 1) -10%, rgba(115, 0, 229, 1) 50%)"
|
|
6243
|
+
},
|
|
6244
|
+
"colorBackgroundAvatarDefault": {
|
|
6245
|
+
"light": "{colorGrey600}",
|
|
6246
|
+
"dark": "{colorGrey550}"
|
|
6247
|
+
},
|
|
6248
|
+
"colorTextAvatar": {
|
|
6249
|
+
"light": "{colorWhite}",
|
|
6250
|
+
"dark": "{colorWhite}"
|
|
6251
|
+
},
|
|
6180
6252
|
"colorBorderButtonNormalActive": {
|
|
6181
6253
|
"light": "{colorTextButtonNormalHover}",
|
|
6182
6254
|
"dark": "{colorTextButtonNormalHover}"
|
|
@@ -7159,6 +7231,18 @@ export var preset = {
|
|
|
7159
7231
|
"light": "{colorGrey600}",
|
|
7160
7232
|
"dark": "{colorGrey500}"
|
|
7161
7233
|
},
|
|
7234
|
+
"colorBackgroundAvatarGenAi": {
|
|
7235
|
+
"light": "radial-gradient(circle farthest-corner at bottom left,rgba(0, 150, 250, 1) -25%,rgba(0, 150, 250, 0) 55%),radial-gradient(circle farthest-corner at top left, rgba(216, 178, 255, 1) -10%, rgba(115, 0, 229, 1) 50%)",
|
|
7236
|
+
"dark": "radial-gradient(circle farthest-corner at bottom left,rgba(0, 150, 250, 1) -25%,rgba(0, 150, 250, 0) 55%),radial-gradient(circle farthest-corner at top left, rgba(216, 178, 255, 1) -10%, rgba(115, 0, 229, 1) 50%)"
|
|
7237
|
+
},
|
|
7238
|
+
"colorBackgroundAvatarDefault": {
|
|
7239
|
+
"light": "{colorGrey600}",
|
|
7240
|
+
"dark": "{colorGrey550}"
|
|
7241
|
+
},
|
|
7242
|
+
"colorTextAvatar": {
|
|
7243
|
+
"light": "{colorWhite}",
|
|
7244
|
+
"dark": "{colorWhite}"
|
|
7245
|
+
},
|
|
7162
7246
|
"colorBorderButtonNormalActive": {
|
|
7163
7247
|
"light": "{colorTextButtonNormalHover}",
|
|
7164
7248
|
"dark": "{colorTextButtonNormalHover}"
|
|
@@ -8143,6 +8227,18 @@ export var preset = {
|
|
|
8143
8227
|
"light": "{colorGrey500}",
|
|
8144
8228
|
"dark": "{colorGrey500}"
|
|
8145
8229
|
},
|
|
8230
|
+
"colorBackgroundAvatarGenAi": {
|
|
8231
|
+
"light": "radial-gradient(circle farthest-corner at bottom left,rgba(0, 150, 250, 1) -25%,rgba(0, 150, 250, 0) 55%),radial-gradient(circle farthest-corner at top left, rgba(216, 178, 255, 1) -10%, rgba(115, 0, 229, 1) 50%)",
|
|
8232
|
+
"dark": "radial-gradient(circle farthest-corner at bottom left,rgba(0, 150, 250, 1) -25%,rgba(0, 150, 250, 0) 55%),radial-gradient(circle farthest-corner at top left, rgba(216, 178, 255, 1) -10%, rgba(115, 0, 229, 1) 50%)"
|
|
8233
|
+
},
|
|
8234
|
+
"colorBackgroundAvatarDefault": {
|
|
8235
|
+
"light": "{colorGrey550}",
|
|
8236
|
+
"dark": "{colorGrey550}"
|
|
8237
|
+
},
|
|
8238
|
+
"colorTextAvatar": {
|
|
8239
|
+
"light": "{colorWhite}",
|
|
8240
|
+
"dark": "{colorWhite}"
|
|
8241
|
+
},
|
|
8146
8242
|
"colorBorderButtonNormalActive": {
|
|
8147
8243
|
"light": "{colorTextButtonNormalHover}",
|
|
8148
8244
|
"dark": "{colorTextButtonNormalHover}"
|
|
@@ -9025,6 +9121,9 @@ export var preset = {
|
|
|
9025
9121
|
"colorBackgroundTilesDisabled": "color",
|
|
9026
9122
|
"colorBackgroundToggleCheckedDisabled": "color",
|
|
9027
9123
|
"colorBackgroundToggleDefault": "color",
|
|
9124
|
+
"colorBackgroundAvatarGenAi": "color",
|
|
9125
|
+
"colorBackgroundAvatarDefault": "color",
|
|
9126
|
+
"colorTextAvatar": "color",
|
|
9028
9127
|
"colorBorderButtonNormalActive": "color",
|
|
9029
9128
|
"colorBorderButtonNormalDefault": "color",
|
|
9030
9129
|
"colorBorderButtonNormalDisabled": "color",
|
|
@@ -9193,6 +9292,8 @@ export var preset = {
|
|
|
9193
9292
|
"motionDurationRefreshOnlyFast": "motion",
|
|
9194
9293
|
"motionDurationRefreshOnlyMedium": "motion",
|
|
9195
9294
|
"motionDurationRefreshOnlySlow": "motion",
|
|
9295
|
+
"motionDurationAvatarGenAiGradient": "motion",
|
|
9296
|
+
"motionDurationAvatarLoadingDots": "motion",
|
|
9196
9297
|
"motionDurationRotate180": "motion",
|
|
9197
9298
|
"motionDurationRotate90": "motion",
|
|
9198
9299
|
"motionDurationShowPaced": "motion",
|
|
@@ -9206,6 +9307,7 @@ export var preset = {
|
|
|
9206
9307
|
"motionEasingRefreshOnlyB": "motion",
|
|
9207
9308
|
"motionEasingRefreshOnlyC": "motion",
|
|
9208
9309
|
"motionEasingRefreshOnlyD": "motion",
|
|
9310
|
+
"motionEasingAvatarGenAiGradient": "motion",
|
|
9209
9311
|
"motionEasingRotate180": "motion",
|
|
9210
9312
|
"motionEasingRotate90": "motion",
|
|
9211
9313
|
"motionEasingShowPaced": "motion",
|
|
@@ -9768,6 +9870,9 @@ export var preset = {
|
|
|
9768
9870
|
"colorBackgroundStatusSuccess",
|
|
9769
9871
|
"colorBackgroundStatusWarning",
|
|
9770
9872
|
"colorBackgroundToggleCheckedDisabled",
|
|
9873
|
+
"colorBackgroundAvatarGenAi",
|
|
9874
|
+
"colorBackgroundAvatarDefault",
|
|
9875
|
+
"colorTextAvatar",
|
|
9771
9876
|
"colorBorderButtonNormalActive",
|
|
9772
9877
|
"colorBorderButtonNormalDefault",
|
|
9773
9878
|
"colorBorderButtonNormalDisabled",
|
|
@@ -10211,6 +10316,9 @@ export var preset = {
|
|
|
10211
10316
|
"colorBackgroundTilesDisabled": "color-background-tiles-disabled",
|
|
10212
10317
|
"colorBackgroundToggleCheckedDisabled": "color-background-toggle-checked-disabled",
|
|
10213
10318
|
"colorBackgroundToggleDefault": "color-background-toggle-default",
|
|
10319
|
+
"colorBackgroundAvatarGenAi": "color-background-avatar-gen-ai",
|
|
10320
|
+
"colorBackgroundAvatarDefault": "color-background-avatar-default",
|
|
10321
|
+
"colorTextAvatar": "color-text-avatar",
|
|
10214
10322
|
"colorBorderButtonNormalActive": "color-border-button-normal-active",
|
|
10215
10323
|
"colorBorderButtonNormalDefault": "color-border-button-normal-default",
|
|
10216
10324
|
"colorBorderButtonNormalDisabled": "color-border-button-normal-disabled",
|
|
@@ -10465,6 +10573,8 @@ export var preset = {
|
|
|
10465
10573
|
"motionDurationRefreshOnlyFast": "motion-duration-refresh-only-fast",
|
|
10466
10574
|
"motionDurationRefreshOnlyMedium": "motion-duration-refresh-only-medium",
|
|
10467
10575
|
"motionDurationRefreshOnlySlow": "motion-duration-refresh-only-slow",
|
|
10576
|
+
"motionDurationAvatarGenAiGradient": "motion-duration-avatar-gen-ai-gradient",
|
|
10577
|
+
"motionDurationAvatarLoadingDots": "motion-duration-avatar-loading-dots",
|
|
10468
10578
|
"motionDurationRotate180": "motion-duration-rotate-180",
|
|
10469
10579
|
"motionDurationRotate90": "motion-duration-rotate-90",
|
|
10470
10580
|
"motionDurationShowPaced": "motion-duration-show-paced",
|
|
@@ -10478,6 +10588,7 @@ export var preset = {
|
|
|
10478
10588
|
"motionEasingRefreshOnlyB": "motion-easing-refresh-only-b",
|
|
10479
10589
|
"motionEasingRefreshOnlyC": "motion-easing-refresh-only-c",
|
|
10480
10590
|
"motionEasingRefreshOnlyD": "motion-easing-refresh-only-d",
|
|
10591
|
+
"motionEasingAvatarGenAiGradient": "motion-easing-avatar-gen-ai-gradient",
|
|
10481
10592
|
"motionEasingRotate180": "motion-easing-rotate-180",
|
|
10482
10593
|
"motionEasingRotate90": "motion-easing-rotate-90",
|
|
10483
10594
|
"motionEasingShowPaced": "motion-easing-show-paced",
|
|
@@ -10913,6 +11024,9 @@ export var preset = {
|
|
|
10913
11024
|
"colorBackgroundTilesDisabled": "--color-background-tiles-disabled-0j6ior",
|
|
10914
11025
|
"colorBackgroundToggleCheckedDisabled": "--color-background-toggle-checked-disabled-uqvx2z",
|
|
10915
11026
|
"colorBackgroundToggleDefault": "--color-background-toggle-default-6qtbef",
|
|
11027
|
+
"colorBackgroundAvatarGenAi": "--color-background-avatar-gen-ai-xsgmt7",
|
|
11028
|
+
"colorBackgroundAvatarDefault": "--color-background-avatar-default-s460u2",
|
|
11029
|
+
"colorTextAvatar": "--color-text-avatar-jddpvm",
|
|
10916
11030
|
"colorBorderButtonNormalActive": "--color-border-button-normal-active-tc4102",
|
|
10917
11031
|
"colorBorderButtonNormalDefault": "--color-border-button-normal-default-x52rkp",
|
|
10918
11032
|
"colorBorderButtonNormalDisabled": "--color-border-button-normal-disabled-40wkb4",
|
|
@@ -11167,6 +11281,8 @@ export var preset = {
|
|
|
11167
11281
|
"motionDurationRefreshOnlyFast": "--motion-duration-refresh-only-fast-4jn2d7",
|
|
11168
11282
|
"motionDurationRefreshOnlyMedium": "--motion-duration-refresh-only-medium-nf6485",
|
|
11169
11283
|
"motionDurationRefreshOnlySlow": "--motion-duration-refresh-only-slow-zbvbxt",
|
|
11284
|
+
"motionDurationAvatarGenAiGradient": "--motion-duration-avatar-gen-ai-gradient-xetl2o",
|
|
11285
|
+
"motionDurationAvatarLoadingDots": "--motion-duration-avatar-loading-dots-pe8a3q",
|
|
11170
11286
|
"motionDurationRotate180": "--motion-duration-rotate-180-dpvl4m",
|
|
11171
11287
|
"motionDurationRotate90": "--motion-duration-rotate-90-4ry26y",
|
|
11172
11288
|
"motionDurationShowPaced": "--motion-duration-show-paced-q2lo2h",
|
|
@@ -11180,6 +11296,7 @@ export var preset = {
|
|
|
11180
11296
|
"motionEasingRefreshOnlyB": "--motion-easing-refresh-only-b-ufhmjm",
|
|
11181
11297
|
"motionEasingRefreshOnlyC": "--motion-easing-refresh-only-c-vg1m9h",
|
|
11182
11298
|
"motionEasingRefreshOnlyD": "--motion-easing-refresh-only-d-3kjugn",
|
|
11299
|
+
"motionEasingAvatarGenAiGradient": "--motion-easing-avatar-gen-ai-gradient-tjyrpp",
|
|
11183
11300
|
"motionEasingRotate180": "--motion-easing-rotate-180-e270ko",
|
|
11184
11301
|
"motionEasingRotate90": "--motion-easing-rotate-90-sb4dk7",
|
|
11185
11302
|
"motionEasingShowPaced": "--motion-easing-show-paced-ne2o0s",
|
package/internal/manifest.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/internal/tooltip-do-not-use/index.ts"],"names":[],"mappings":"AAEA,OAAO,0BAA0B,EAAE,EAAE,YAAY,EAAE,MAAM,gCAAgC,CAAC;AAE1F,MAAM,MAAM,oBAAoB,GAAG,YAAY,CAAC;AAChD,eAAe,0BAA0B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/internal/tooltip-do-not-use/index.ts"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,0BAA4C,MAAM,gCAAgC,CAAC;AAG1F,eAAe,0BAA0B,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport InternalTooltip_DO_NOT_USE, { TooltipProps } from '../components/tooltip/index.js';\n\nexport type InternalTooltipProps = TooltipProps;\nexport default InternalTooltip_DO_NOT_USE;\n"]}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
2
|
+
type FunctionComponent<Props> = (props: Props) => JSX.Element;
|
|
3
|
+
export declare function createWidgetizedComponent<Component extends FunctionComponent<any>>(Implementation: Component): (Loader?: Component) => Component;
|
|
3
4
|
export declare function createWidgetizedForwardRef<Props, RefType, Component extends React.ForwardRefExoticComponent<Props & React.RefAttributes<RefType>>>(Implementation: Component): (Loader?: Component) => Component;
|
|
5
|
+
export {};
|
|
4
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/internal/widgets/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/internal/widgets/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,KAAK,iBAAiB,CAAC,KAAK,IAAI,CAAC,KAAK,EAAE,KAAK,KAAK,GAAG,CAAC,OAAO,CAAC;AAE9D,wBAAgB,yBAAyB,CAAC,SAAS,SAAS,iBAAiB,CAAC,GAAG,CAAC,EAAE,cAAc,EAAE,SAAS,aAC1F,SAAS,KAAG,SAAS,CAUvC;AAED,wBAAgB,0BAA0B,CACxC,KAAK,EACL,OAAO,EACP,SAAS,SAAS,KAAK,CAAC,yBAAyB,CAAC,KAAK,GAAG,KAAK,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC,EACvF,cAAc,EAAE,SAAS,aACR,SAAS,KAAG,SAAS,CAUvC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/internal/widgets/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/internal/widgets/index.tsx"],"names":[],"mappings":"AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAK5D,MAAM,UAAU,yBAAyB,CAA2C,cAAyB;IAC3G,OAAO,CAAC,MAAkB,EAAa,EAAE;QACvC,OAAO,CAAC,KAAK,CAAC,EAAE;YACd,MAAM,SAAS,GAAG,gBAAgB,EAAE,CAAC;YACrC,IAAI,SAAS,IAAI,aAAa,CAAC,iBAAiB,CAAC,IAAI,MAAM,EAAE;gBAC3D,OAAO,oBAAC,MAAM,oBAAM,KAAa,EAAI,CAAC;aACvC;YAED,OAAO,oBAAC,cAAc,oBAAM,KAAa,EAAI,CAAC;QAChD,CAAC,CAAc,CAAC;IAClB,CAAC,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,0BAA0B,CAIxC,cAAyB;IACzB,OAAO,CAAC,MAAkB,EAAa,EAAE;QACvC,OAAO,KAAK,CAAC,UAAU,CAAiB,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE;YACrD,MAAM,SAAS,GAAG,gBAAgB,EAAE,CAAC;YACrC,IAAI,SAAS,IAAI,aAAa,CAAC,iBAAiB,CAAC,IAAI,MAAM,EAAE;gBAC3D,OAAO,oBAAC,MAAM,kBAAC,GAAG,EAAE,GAAG,IAAO,KAAa,EAAI,CAAC;aACjD;YAED,OAAO,oBAAC,cAAc,kBAAC,GAAG,EAAE,GAAG,IAAO,KAAa,EAAI,CAAC;QAC1D,CAAC,CAAc,CAAC;IAClB,CAAC,CAAC;AACJ,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React from 'react';\nimport { getGlobalFlag } from '../utils/global-flags';\nimport { useVisualRefresh } from '../hooks/use-visual-mode';\n\n// Built-in React.FunctionComponent has always present `children` property which is not desired\ntype FunctionComponent<Props> = (props: Props) => JSX.Element;\n\nexport function createWidgetizedComponent<Component extends FunctionComponent<any>>(Implementation: Component) {\n return (Loader?: Component): Component => {\n return (props => {\n const isRefresh = useVisualRefresh();\n if (isRefresh && getGlobalFlag('appLayoutWidget') && Loader) {\n return <Loader {...(props as any)} />;\n }\n\n return <Implementation {...(props as any)} />;\n }) as Component;\n };\n}\n\nexport function createWidgetizedForwardRef<\n Props,\n RefType,\n Component extends React.ForwardRefExoticComponent<Props & React.RefAttributes<RefType>>,\n>(Implementation: Component) {\n return (Loader?: Component): Component => {\n return React.forwardRef<RefType, Props>((props, ref) => {\n const isRefresh = useVisualRefresh();\n if (isRefresh && getGlobalFlag('appLayoutWidget') && Loader) {\n return <Loader ref={ref} {...(props as any)} />;\n }\n\n return <Implementation ref={ref} {...(props as any)} />;\n }) as Component;\n };\n}\n"]}
|
package/package.json
CHANGED
|
@@ -9,6 +9,9 @@
|
|
|
9
9
|
"./test-utils/selectors": "./test-utils/selectors/index.js",
|
|
10
10
|
"./interfaces": "./interfaces.js",
|
|
11
11
|
"./contexts/form-field": "./contexts/form-field.js",
|
|
12
|
+
"./internal/tooltip-do-not-use": "./internal/tooltip-do-not-use/index.js",
|
|
13
|
+
"./test-utils/dom/internal/tooltip": "./test-utils/dom/internal/tooltip.js",
|
|
14
|
+
"./test-utils/selectors/internal/tooltip": "./test-utils/selectors/internal/tooltip.js",
|
|
12
15
|
"./alert": "./alert/index.js",
|
|
13
16
|
"./anchor-navigation": "./anchor-navigation/index.js",
|
|
14
17
|
"./annotation-context": "./annotation-context/index.js",
|
|
@@ -117,7 +120,7 @@
|
|
|
117
120
|
"./internal/base-component/index.js",
|
|
118
121
|
"./internal/base-component/styles.css.js"
|
|
119
122
|
],
|
|
120
|
-
"version": "3.0.
|
|
123
|
+
"version": "3.0.663",
|
|
121
124
|
"repository": {
|
|
122
125
|
"type": "git",
|
|
123
126
|
"url": "https://github.com/cloudscape-design/components.git"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"implementation.d.ts","sourceRoot":"","sources":["../../../src/side-navigation/implementation.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAMnD,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAElF,MAAM,MAAM,2BAA2B,GAAG,mBAAmB,GAAG,0BAA0B,CAAC;AAE3F,wBAAgB,4BAA4B,CAAC,EAC3C,MAAM,EACN,UAAU,EACV,KAAU,EACV,QAAQ,EACR,QAAQ,EACR,iBAAiB,EACjB,GAAG,KAAK,EACT,EAAE,2BAA2B,eAmD7B;AAED,eAAO,MAAM,8BAA8B,
|
|
1
|
+
{"version":3,"file":"implementation.d.ts","sourceRoot":"","sources":["../../../src/side-navigation/implementation.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAMnD,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAElF,MAAM,MAAM,2BAA2B,GAAG,mBAAmB,GAAG,0BAA0B,CAAC;AAE3F,wBAAgB,4BAA4B,CAAC,EAC3C,MAAM,EACN,UAAU,EACV,KAAU,EACV,QAAQ,EACR,QAAQ,EACR,iBAAiB,EACjB,GAAG,KAAK,EACT,EAAE,2BAA2B,eAmD7B;AAED,eAAO,MAAM,8BAA8B,mGAA0D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"implementation.js","sourceRoot":"","sources":["../../../src/side-navigation/implementation.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC/D,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO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AAE,iBAAiB;QAC1F,MAAM,IAAI,CACT,oBAAC,MAAM,IAAC,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,eAAe,EAAE,UAAU,EAAE,eAAe,GAAI,CACjH;QACA,KAAK,IAAI,CACR,6BAAK,SAAS,EAAE,MAAM,CAAC,gBAAgB,CAAC;YACtC,oBAAC,mBAAmB,IAClB,OAAO,EAAC,MAAM,EACd,KAAK,EAAE,KAAK,EACZ,UAAU,EAAE,eAAe,EAC3B,UAAU,EAAE,eAAe,EAC3B,UAAU,EAAE,UAAU,GACtB,CACE,CACP,CACG,CACP,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,8BAA8B,GAAG,yBAAyB,CAAC,4BAA4B,CAAC,CAAC","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useMemo, useCallback, useEffect } from 'react';\nimport clsx from 'clsx';\nimport { getBaseProps } from '../internal/base-component';\nimport { fireNonCancelableEvent, fireCancelableEvent } from '../internal/events';\nimport { SideNavigationProps } from './interfaces';\nimport { Header, NavigationItemsList } from './parts';\nimport { generateExpandableItemsMapping, checkDuplicateHrefs } from './util';\nimport styles from './styles.css.js';\nimport { isDevelopment } from '../internal/is-development';\nimport { createWidgetizedComponent } from '../internal/widgets';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\n\nexport type SideNavigationInternalProps = SideNavigationProps & InternalBaseComponentProps;\n\nexport function SideNavigationImplementation({\n header,\n activeHref,\n items = [],\n onFollow,\n onChange,\n __internalRootRef,\n ...props\n}: SideNavigationInternalProps) {\n const baseProps = getBaseProps(props);\n const parentMap = useMemo(() => generateExpandableItemsMapping(items), [items]);\n\n if (isDevelopment) {\n // This code should be wiped in production anyway.\n // eslint-disable-next-line react-hooks/rules-of-hooks\n useEffect(() => checkDuplicateHrefs(items), [items]);\n }\n\n const onChangeHandler = useCallback(\n (item: SideNavigationProps.Section | SideNavigationProps.ExpandableLinkGroup, expanded: boolean) => {\n // generateExpandableItemsMapping walks through the entire tree, so we're certain about getting a value.\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n fireNonCancelableEvent(onChange, { item, expanded: expanded, expandableParents: parentMap.get(item)! });\n },\n [onChange, parentMap]\n );\n\n const onFollowHandler = useCallback(\n (\n item:\n | SideNavigationProps.Link\n | SideNavigationProps.Header\n | SideNavigationProps.LinkGroup\n | SideNavigationProps.ExpandableLinkGroup,\n sourceEvent: React.SyntheticEvent | Event\n ) => {\n fireCancelableEvent(onFollow, item, sourceEvent);\n },\n [onFollow]\n );\n\n return (\n <div {...baseProps} className={clsx(styles.root, baseProps.className)} ref={__internalRootRef}>\n {header && (\n <Header definition={header} activeHref={activeHref} fireChange={onChangeHandler} fireFollow={onFollowHandler} />\n )}\n {items && (\n <div className={styles['list-container']}>\n <NavigationItemsList\n variant=\"root\"\n items={items}\n fireFollow={onFollowHandler}\n fireChange={onChangeHandler}\n activeHref={activeHref}\n />\n </div>\n )}\n </div>\n );\n}\n\nexport const createWidgetizedSideNavigation = createWidgetizedComponent(SideNavigationImplementation);\n"]}
|
package/table/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/table/index.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,mBAAmB,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAM/D,OAAO,EAAE,UAAU,EAAE,CAAC;AACtB,QAAA,MAAM,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/table/index.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,mBAAmB,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAM/D,OAAO,EAAE,UAAU,EAAE,CAAC;AACtB,QAAA,MAAM,KAAK,qBAmDa,CAAC;AAGzB,eAAe,KAAK,CAAC"}
|
package/table/index.js
CHANGED
|
@@ -21,6 +21,8 @@ const Table = React.forwardRef((_a, ref) => {
|
|
|
21
21
|
},
|
|
22
22
|
metadata: {
|
|
23
23
|
expandableRows: !!props.expandableRows,
|
|
24
|
+
inlineEdit: props.columnDefinitions.some(def => !!def.editConfig),
|
|
25
|
+
disabledInlineEdit: props.columnDefinitions.some(def => { var _a; return !!((_a = def.editConfig) === null || _a === void 0 ? void 0 : _a.disabledReason); }),
|
|
24
26
|
},
|
|
25
27
|
});
|
|
26
28
|
const tableProps = Object.assign(Object.assign(Object.assign({ items,
|