@cloudscape-design/components 3.0.700 → 3.0.702
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/button/interfaces.d.ts +39 -37
- package/button/interfaces.d.ts.map +1 -1
- package/button/interfaces.js.map +1 -1
- package/code-editor/resizable-box/styles.css.js +3 -3
- package/code-editor/resizable-box/styles.scoped.css +93 -5
- package/code-editor/resizable-box/styles.selectors.js +3 -3
- 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/base-component/styles.scoped.css +20 -0
- package/internal/environment.js +1 -1
- package/internal/environment.json +1 -1
- package/internal/generated/styles/tokens.d.ts +4 -0
- package/internal/generated/styles/tokens.js +4 -0
- package/internal/generated/theming/index.cjs +132 -0
- package/internal/generated/theming/index.cjs.d.ts +32 -0
- package/internal/generated/theming/index.d.ts +32 -0
- package/internal/generated/theming/index.js +132 -0
- package/internal/manifest.json +1 -1
- package/package.json +2 -1
- package/select/parts/filter.d.ts +1 -1
- package/test-utils/dom/index.d.ts +3 -0
- package/test-utils/dom/index.js +9 -1
- package/test-utils/dom/index.js.map +1 -1
- package/test-utils/dom/toggle-button/index.d.ts +5 -0
- package/test-utils/dom/toggle-button/index.js +25 -0
- package/test-utils/dom/toggle-button/index.js.map +1 -0
- package/test-utils/selectors/index.d.ts +3 -0
- package/test-utils/selectors/index.js +9 -1
- package/test-utils/selectors/index.js.map +1 -1
- package/test-utils/selectors/toggle-button/index.d.ts +5 -0
- package/test-utils/selectors/toggle-button/index.js +12 -0
- package/test-utils/selectors/toggle-button/index.js.map +1 -0
- package/test-utils/tsconfig.tsbuildinfo +1 -1
- package/toggle-button/index.d.ts +6 -0
- package/toggle-button/index.d.ts.map +1 -0
- package/toggle-button/index.js +19 -0
- package/toggle-button/index.js.map +1 -0
- package/toggle-button/interfaces.d.ts +78 -0
- package/toggle-button/interfaces.d.ts.map +1 -0
- package/toggle-button/interfaces.js +2 -0
- package/toggle-button/interfaces.js.map +1 -0
- package/toggle-button/internal.d.ts +5 -0
- package/toggle-button/internal.d.ts.map +1 -0
- package/toggle-button/internal.js +31 -0
- package/toggle-button/internal.js.map +1 -0
- package/toggle-button/styles.css.js +8 -0
- package/toggle-button/styles.scoped.css +19 -0
- package/toggle-button/styles.selectors.js +9 -0
- package/toggle-button/util.d.ts +2 -0
- package/toggle-button/util.d.ts.map +1 -0
- package/toggle-button/util.js +9 -0
- package/toggle-button/util.js.map +1 -0
|
@@ -773,6 +773,10 @@ export var preset = {
|
|
|
773
773
|
"light": "{colorBlue100}",
|
|
774
774
|
"dark": "{colorGrey750}"
|
|
775
775
|
},
|
|
776
|
+
"colorBackgroundToggleButtonNormalPressed": {
|
|
777
|
+
"light": "{colorBlue200}",
|
|
778
|
+
"dark": "{colorGrey650}"
|
|
779
|
+
},
|
|
776
780
|
"colorBackgroundButtonPrimaryActive": {
|
|
777
781
|
"light": "{colorBlue800}",
|
|
778
782
|
"dark": "{colorBlue500}"
|
|
@@ -1069,6 +1073,10 @@ export var preset = {
|
|
|
1069
1073
|
"light": "{colorBlue600}",
|
|
1070
1074
|
"dark": "{colorBlue500}"
|
|
1071
1075
|
},
|
|
1076
|
+
"colorBorderToggleButtonNormalPressed": {
|
|
1077
|
+
"light": "{colorBlue600}",
|
|
1078
|
+
"dark": "{colorBlue500}"
|
|
1079
|
+
},
|
|
1072
1080
|
"colorBorderButtonNormalDisabled": {
|
|
1073
1081
|
"light": "{colorGrey400}",
|
|
1074
1082
|
"dark": "{colorGrey550}"
|
|
@@ -1361,6 +1369,10 @@ export var preset = {
|
|
|
1361
1369
|
"light": "{colorBlue800}",
|
|
1362
1370
|
"dark": "{colorBlue400}"
|
|
1363
1371
|
},
|
|
1372
|
+
"colorTextToggleButtonNormalPressed": {
|
|
1373
|
+
"light": "{colorBlue800}",
|
|
1374
|
+
"dark": "{colorBlue400}"
|
|
1375
|
+
},
|
|
1364
1376
|
"colorTextButtonNormalDefault": {
|
|
1365
1377
|
"light": "{colorBlue600}",
|
|
1366
1378
|
"dark": "{colorBlue500}"
|
|
@@ -1569,6 +1581,10 @@ export var preset = {
|
|
|
1569
1581
|
"light": "{colorGrey900}",
|
|
1570
1582
|
"dark": "{colorGrey100}"
|
|
1571
1583
|
},
|
|
1584
|
+
"colorTextToggleButtonIconPressed": {
|
|
1585
|
+
"light": "{colorGrey900}",
|
|
1586
|
+
"dark": "{colorGrey100}"
|
|
1587
|
+
},
|
|
1572
1588
|
"colorTextInteractiveInvertedDefault": {
|
|
1573
1589
|
"light": "{colorGrey300}",
|
|
1574
1590
|
"dark": "{colorGrey300}"
|
|
@@ -2931,6 +2947,10 @@ export var preset = {
|
|
|
2931
2947
|
"light": "{colorGrey750}",
|
|
2932
2948
|
"dark": "{colorGrey750}"
|
|
2933
2949
|
},
|
|
2950
|
+
"colorBackgroundToggleButtonNormalPressed": {
|
|
2951
|
+
"light": "{colorGrey650}",
|
|
2952
|
+
"dark": "{colorGrey650}"
|
|
2953
|
+
},
|
|
2934
2954
|
"colorBackgroundButtonPrimaryActive": {
|
|
2935
2955
|
"light": "{colorBlue500}",
|
|
2936
2956
|
"dark": "{colorBlue500}"
|
|
@@ -3227,6 +3247,10 @@ export var preset = {
|
|
|
3227
3247
|
"light": "{colorBlue500}",
|
|
3228
3248
|
"dark": "{colorBlue500}"
|
|
3229
3249
|
},
|
|
3250
|
+
"colorBorderToggleButtonNormalPressed": {
|
|
3251
|
+
"light": "{colorBlue500}",
|
|
3252
|
+
"dark": "{colorBlue500}"
|
|
3253
|
+
},
|
|
3230
3254
|
"colorBorderButtonNormalDisabled": {
|
|
3231
3255
|
"light": "{colorGrey550}",
|
|
3232
3256
|
"dark": "{colorGrey550}"
|
|
@@ -3519,6 +3543,10 @@ export var preset = {
|
|
|
3519
3543
|
"light": "{colorBlue400}",
|
|
3520
3544
|
"dark": "{colorBlue400}"
|
|
3521
3545
|
},
|
|
3546
|
+
"colorTextToggleButtonNormalPressed": {
|
|
3547
|
+
"light": "{colorBlue400}",
|
|
3548
|
+
"dark": "{colorBlue400}"
|
|
3549
|
+
},
|
|
3522
3550
|
"colorTextButtonNormalDefault": {
|
|
3523
3551
|
"light": "{colorBlue500}",
|
|
3524
3552
|
"dark": "{colorBlue500}"
|
|
@@ -3727,6 +3755,10 @@ export var preset = {
|
|
|
3727
3755
|
"light": "{colorGrey100}",
|
|
3728
3756
|
"dark": "{colorGrey100}"
|
|
3729
3757
|
},
|
|
3758
|
+
"colorTextToggleButtonIconPressed": {
|
|
3759
|
+
"light": "{colorGrey100}",
|
|
3760
|
+
"dark": "{colorGrey100}"
|
|
3761
|
+
},
|
|
3730
3762
|
"colorTextInteractiveInvertedDefault": {
|
|
3731
3763
|
"light": "{colorGrey300}",
|
|
3732
3764
|
"dark": "{colorGrey300}"
|
|
@@ -4009,6 +4041,10 @@ export var preset = {
|
|
|
4009
4041
|
"light": "{colorGrey750}",
|
|
4010
4042
|
"dark": "{colorGrey750}"
|
|
4011
4043
|
},
|
|
4044
|
+
"colorBackgroundToggleButtonNormalPressed": {
|
|
4045
|
+
"light": "{colorGrey650}",
|
|
4046
|
+
"dark": "{colorGrey650}"
|
|
4047
|
+
},
|
|
4012
4048
|
"colorBackgroundButtonPrimaryActive": {
|
|
4013
4049
|
"light": "{colorBlue500}",
|
|
4014
4050
|
"dark": "{colorBlue500}"
|
|
@@ -4305,6 +4341,10 @@ export var preset = {
|
|
|
4305
4341
|
"light": "{colorBlue500}",
|
|
4306
4342
|
"dark": "{colorBlue500}"
|
|
4307
4343
|
},
|
|
4344
|
+
"colorBorderToggleButtonNormalPressed": {
|
|
4345
|
+
"light": "{colorBlue500}",
|
|
4346
|
+
"dark": "{colorBlue500}"
|
|
4347
|
+
},
|
|
4308
4348
|
"colorBorderButtonNormalDisabled": {
|
|
4309
4349
|
"light": "{colorGrey550}",
|
|
4310
4350
|
"dark": "{colorGrey550}"
|
|
@@ -4597,6 +4637,10 @@ export var preset = {
|
|
|
4597
4637
|
"light": "{colorBlue400}",
|
|
4598
4638
|
"dark": "{colorBlue400}"
|
|
4599
4639
|
},
|
|
4640
|
+
"colorTextToggleButtonNormalPressed": {
|
|
4641
|
+
"light": "{colorBlue400}",
|
|
4642
|
+
"dark": "{colorBlue400}"
|
|
4643
|
+
},
|
|
4600
4644
|
"colorTextButtonNormalDefault": {
|
|
4601
4645
|
"light": "{colorBlue500}",
|
|
4602
4646
|
"dark": "{colorBlue500}"
|
|
@@ -4805,6 +4849,10 @@ export var preset = {
|
|
|
4805
4849
|
"light": "{colorGrey100}",
|
|
4806
4850
|
"dark": "{colorGrey100}"
|
|
4807
4851
|
},
|
|
4852
|
+
"colorTextToggleButtonIconPressed": {
|
|
4853
|
+
"light": "{colorGrey100}",
|
|
4854
|
+
"dark": "{colorGrey100}"
|
|
4855
|
+
},
|
|
4808
4856
|
"colorTextInteractiveInvertedDefault": {
|
|
4809
4857
|
"light": "{colorGrey300}",
|
|
4810
4858
|
"dark": "{colorGrey300}"
|
|
@@ -5019,6 +5067,10 @@ export var preset = {
|
|
|
5019
5067
|
"light": "rgba(0, 7, 22, 0.15)",
|
|
5020
5068
|
"dark": "rgba(0, 7, 22, 0.15)"
|
|
5021
5069
|
},
|
|
5070
|
+
"colorBackgroundToggleButtonNormalPressed": {
|
|
5071
|
+
"light": "{colorBlue200}",
|
|
5072
|
+
"dark": "{colorGrey650}"
|
|
5073
|
+
},
|
|
5022
5074
|
"colorBackgroundButtonPrimaryActive": {
|
|
5023
5075
|
"light": "{colorBlue800}",
|
|
5024
5076
|
"dark": "{colorBlue500}"
|
|
@@ -5315,6 +5367,10 @@ export var preset = {
|
|
|
5315
5367
|
"light": "{colorGrey100}",
|
|
5316
5368
|
"dark": "{colorGrey100}"
|
|
5317
5369
|
},
|
|
5370
|
+
"colorBorderToggleButtonNormalPressed": {
|
|
5371
|
+
"light": "{colorBlue600}",
|
|
5372
|
+
"dark": "{colorBlue500}"
|
|
5373
|
+
},
|
|
5318
5374
|
"colorBorderButtonNormalDisabled": {
|
|
5319
5375
|
"light": "{colorGrey400}",
|
|
5320
5376
|
"dark": "{colorGrey550}"
|
|
@@ -5607,6 +5663,10 @@ export var preset = {
|
|
|
5607
5663
|
"light": "{colorWhite}",
|
|
5608
5664
|
"dark": "{colorWhite}"
|
|
5609
5665
|
},
|
|
5666
|
+
"colorTextToggleButtonNormalPressed": {
|
|
5667
|
+
"light": "{colorBlue800}",
|
|
5668
|
+
"dark": "{colorBlue400}"
|
|
5669
|
+
},
|
|
5610
5670
|
"colorTextButtonNormalDefault": {
|
|
5611
5671
|
"light": "{colorGrey100}",
|
|
5612
5672
|
"dark": "{colorGrey100}"
|
|
@@ -5815,6 +5875,10 @@ export var preset = {
|
|
|
5815
5875
|
"light": "{colorGrey900}",
|
|
5816
5876
|
"dark": "{colorGrey100}"
|
|
5817
5877
|
},
|
|
5878
|
+
"colorTextToggleButtonIconPressed": {
|
|
5879
|
+
"light": "{colorGrey900}",
|
|
5880
|
+
"dark": "{colorGrey100}"
|
|
5881
|
+
},
|
|
5818
5882
|
"colorTextInteractiveInvertedDefault": {
|
|
5819
5883
|
"light": "{colorGrey300}",
|
|
5820
5884
|
"dark": "{colorGrey300}"
|
|
@@ -6029,6 +6093,10 @@ export var preset = {
|
|
|
6029
6093
|
"light": "rgba(0, 7, 22, 0.05)",
|
|
6030
6094
|
"dark": "rgba(0, 7, 22, 0.05)"
|
|
6031
6095
|
},
|
|
6096
|
+
"colorBackgroundToggleButtonNormalPressed": {
|
|
6097
|
+
"light": "{colorBlue200}",
|
|
6098
|
+
"dark": "{colorGrey650}"
|
|
6099
|
+
},
|
|
6032
6100
|
"colorBackgroundButtonPrimaryActive": {
|
|
6033
6101
|
"light": "{colorBlue800}",
|
|
6034
6102
|
"dark": "{colorBlue500}"
|
|
@@ -6325,6 +6393,10 @@ export var preset = {
|
|
|
6325
6393
|
"light": "{colorTextButtonNormalDefault}",
|
|
6326
6394
|
"dark": "{colorTextButtonNormalDefault}"
|
|
6327
6395
|
},
|
|
6396
|
+
"colorBorderToggleButtonNormalPressed": {
|
|
6397
|
+
"light": "{colorBlue600}",
|
|
6398
|
+
"dark": "{colorBlue500}"
|
|
6399
|
+
},
|
|
6328
6400
|
"colorBorderButtonNormalDisabled": {
|
|
6329
6401
|
"light": "{colorGrey400}",
|
|
6330
6402
|
"dark": "{colorGrey550}"
|
|
@@ -6617,6 +6689,10 @@ export var preset = {
|
|
|
6617
6689
|
"light": "{colorTextButtonNormalHover}",
|
|
6618
6690
|
"dark": "{colorTextButtonNormalHover}"
|
|
6619
6691
|
},
|
|
6692
|
+
"colorTextToggleButtonNormalPressed": {
|
|
6693
|
+
"light": "{colorBlue800}",
|
|
6694
|
+
"dark": "{colorBlue400}"
|
|
6695
|
+
},
|
|
6620
6696
|
"colorTextButtonNormalDefault": {
|
|
6621
6697
|
"light": "{colorGrey600}",
|
|
6622
6698
|
"dark": "{colorGrey600}"
|
|
@@ -6825,6 +6901,10 @@ export var preset = {
|
|
|
6825
6901
|
"light": "{colorGrey900}",
|
|
6826
6902
|
"dark": "{colorGrey100}"
|
|
6827
6903
|
},
|
|
6904
|
+
"colorTextToggleButtonIconPressed": {
|
|
6905
|
+
"light": "{colorGrey900}",
|
|
6906
|
+
"dark": "{colorGrey100}"
|
|
6907
|
+
},
|
|
6828
6908
|
"colorTextInteractiveInvertedDefault": {
|
|
6829
6909
|
"light": "{colorGrey600}",
|
|
6830
6910
|
"dark": "{colorGrey600}"
|
|
@@ -7039,6 +7119,10 @@ export var preset = {
|
|
|
7039
7119
|
"light": "rgba(0, 7, 22, 0.05)",
|
|
7040
7120
|
"dark": "rgba(255, 255, 255, 0.1)"
|
|
7041
7121
|
},
|
|
7122
|
+
"colorBackgroundToggleButtonNormalPressed": {
|
|
7123
|
+
"light": "{colorBlue200}",
|
|
7124
|
+
"dark": "{colorGrey650}"
|
|
7125
|
+
},
|
|
7042
7126
|
"colorBackgroundButtonPrimaryActive": {
|
|
7043
7127
|
"light": "{colorBlue800}",
|
|
7044
7128
|
"dark": "{colorBlue500}"
|
|
@@ -7335,6 +7419,10 @@ export var preset = {
|
|
|
7335
7419
|
"light": "{colorTextButtonNormalDefault}",
|
|
7336
7420
|
"dark": "{colorTextButtonNormalDefault}"
|
|
7337
7421
|
},
|
|
7422
|
+
"colorBorderToggleButtonNormalPressed": {
|
|
7423
|
+
"light": "{colorBlue600}",
|
|
7424
|
+
"dark": "{colorBlue500}"
|
|
7425
|
+
},
|
|
7338
7426
|
"colorBorderButtonNormalDisabled": {
|
|
7339
7427
|
"light": "{colorGrey400}",
|
|
7340
7428
|
"dark": "{colorGrey550}"
|
|
@@ -7627,6 +7715,10 @@ export var preset = {
|
|
|
7627
7715
|
"light": "{colorTextButtonNormalHover}",
|
|
7628
7716
|
"dark": "{colorTextButtonNormalHover}"
|
|
7629
7717
|
},
|
|
7718
|
+
"colorTextToggleButtonNormalPressed": {
|
|
7719
|
+
"light": "{colorBlue800}",
|
|
7720
|
+
"dark": "{colorBlue400}"
|
|
7721
|
+
},
|
|
7630
7722
|
"colorTextButtonNormalDefault": {
|
|
7631
7723
|
"light": "{colorGrey600}",
|
|
7632
7724
|
"dark": "{colorGrey300}"
|
|
@@ -7835,6 +7927,10 @@ export var preset = {
|
|
|
7835
7927
|
"light": "{colorGrey900}",
|
|
7836
7928
|
"dark": "{colorGrey100}"
|
|
7837
7929
|
},
|
|
7930
|
+
"colorTextToggleButtonIconPressed": {
|
|
7931
|
+
"light": "{colorGrey900}",
|
|
7932
|
+
"dark": "{colorGrey100}"
|
|
7933
|
+
},
|
|
7838
7934
|
"colorTextInteractiveInvertedDefault": {
|
|
7839
7935
|
"light": "{colorGrey300}",
|
|
7840
7936
|
"dark": "{colorGrey300}"
|
|
@@ -8051,6 +8147,10 @@ export var preset = {
|
|
|
8051
8147
|
"light": "rgba(255, 255, 255, 0.1)",
|
|
8052
8148
|
"dark": "rgba(255, 255, 255, 0.1)"
|
|
8053
8149
|
},
|
|
8150
|
+
"colorBackgroundToggleButtonNormalPressed": {
|
|
8151
|
+
"light": "{colorGrey650}",
|
|
8152
|
+
"dark": "{colorGrey650}"
|
|
8153
|
+
},
|
|
8054
8154
|
"colorBackgroundButtonPrimaryActive": {
|
|
8055
8155
|
"light": "{colorBlue500}",
|
|
8056
8156
|
"dark": "{colorBlue500}"
|
|
@@ -8347,6 +8447,10 @@ export var preset = {
|
|
|
8347
8447
|
"light": "{colorTextButtonNormalDefault}",
|
|
8348
8448
|
"dark": "{colorTextButtonNormalDefault}"
|
|
8349
8449
|
},
|
|
8450
|
+
"colorBorderToggleButtonNormalPressed": {
|
|
8451
|
+
"light": "{colorBlue500}",
|
|
8452
|
+
"dark": "{colorBlue500}"
|
|
8453
|
+
},
|
|
8350
8454
|
"colorBorderButtonNormalDisabled": {
|
|
8351
8455
|
"light": "{colorGrey550}",
|
|
8352
8456
|
"dark": "{colorGrey550}"
|
|
@@ -8639,6 +8743,10 @@ export var preset = {
|
|
|
8639
8743
|
"light": "{colorTextButtonNormalHover}",
|
|
8640
8744
|
"dark": "{colorTextButtonNormalHover}"
|
|
8641
8745
|
},
|
|
8746
|
+
"colorTextToggleButtonNormalPressed": {
|
|
8747
|
+
"light": "{colorBlue400}",
|
|
8748
|
+
"dark": "{colorBlue400}"
|
|
8749
|
+
},
|
|
8642
8750
|
"colorTextButtonNormalDefault": {
|
|
8643
8751
|
"light": "{colorGrey300}",
|
|
8644
8752
|
"dark": "{colorGrey300}"
|
|
@@ -8847,6 +8955,10 @@ export var preset = {
|
|
|
8847
8955
|
"light": "{colorGrey100}",
|
|
8848
8956
|
"dark": "{colorGrey100}"
|
|
8849
8957
|
},
|
|
8958
|
+
"colorTextToggleButtonIconPressed": {
|
|
8959
|
+
"light": "{colorGrey100}",
|
|
8960
|
+
"dark": "{colorGrey100}"
|
|
8961
|
+
},
|
|
8850
8962
|
"colorTextInteractiveInvertedDefault": {
|
|
8851
8963
|
"light": "{colorGrey300}",
|
|
8852
8964
|
"dark": "{colorGrey300}"
|
|
@@ -9165,6 +9277,7 @@ export var preset = {
|
|
|
9165
9277
|
"colorBackgroundButtonNormalDefault": "color",
|
|
9166
9278
|
"colorBackgroundButtonNormalDisabled": "color",
|
|
9167
9279
|
"colorBackgroundButtonNormalHover": "color",
|
|
9280
|
+
"colorBackgroundToggleButtonNormalPressed": "color",
|
|
9168
9281
|
"colorBackgroundButtonPrimaryActive": "color",
|
|
9169
9282
|
"colorBackgroundButtonPrimaryDefault": "color",
|
|
9170
9283
|
"colorBackgroundButtonPrimaryDisabled": "color",
|
|
@@ -9239,6 +9352,7 @@ export var preset = {
|
|
|
9239
9352
|
"colorBackgroundLoadingBarGenAi": "color",
|
|
9240
9353
|
"colorBorderButtonNormalActive": "color",
|
|
9241
9354
|
"colorBorderButtonNormalDefault": "color",
|
|
9355
|
+
"colorBorderToggleButtonNormalPressed": "color",
|
|
9242
9356
|
"colorBorderButtonNormalDisabled": "color",
|
|
9243
9357
|
"colorTextButtonNormalDisabled": "color",
|
|
9244
9358
|
"colorBorderButtonNormalHover": "color",
|
|
@@ -9312,6 +9426,7 @@ export var preset = {
|
|
|
9312
9426
|
"colorTextButtonInlineIconDisabled": "color",
|
|
9313
9427
|
"colorTextButtonInlineIconHover": "color",
|
|
9314
9428
|
"colorTextButtonNormalActive": "color",
|
|
9429
|
+
"colorTextToggleButtonNormalPressed": "color",
|
|
9315
9430
|
"colorTextButtonNormalDefault": "color",
|
|
9316
9431
|
"colorTextButtonNormalHover": "color",
|
|
9317
9432
|
"colorTextLinkButtonNormalDefault": "color",
|
|
@@ -9364,6 +9479,7 @@ export var preset = {
|
|
|
9364
9479
|
"colorTextInteractiveDefault": "color",
|
|
9365
9480
|
"colorTextInteractiveDisabled": "color",
|
|
9366
9481
|
"colorTextInteractiveHover": "color",
|
|
9482
|
+
"colorTextToggleButtonIconPressed": "color",
|
|
9367
9483
|
"colorTextInteractiveInvertedDefault": "color",
|
|
9368
9484
|
"colorTextInteractiveInvertedHover": "color",
|
|
9369
9485
|
"colorTextInverted": "color",
|
|
@@ -9634,6 +9750,7 @@ export var preset = {
|
|
|
9634
9750
|
"colorBackgroundButtonNormalDefault",
|
|
9635
9751
|
"colorBackgroundButtonNormalDisabled",
|
|
9636
9752
|
"colorBackgroundButtonNormalHover",
|
|
9753
|
+
"colorBackgroundToggleButtonNormalPressed",
|
|
9637
9754
|
"colorBackgroundButtonPrimaryActive",
|
|
9638
9755
|
"colorBackgroundButtonPrimaryDefault",
|
|
9639
9756
|
"colorBackgroundButtonPrimaryDisabled",
|
|
@@ -9675,6 +9792,7 @@ export var preset = {
|
|
|
9675
9792
|
"colorBackgroundToggleCheckedDisabled",
|
|
9676
9793
|
"colorBorderButtonNormalActive",
|
|
9677
9794
|
"colorBorderButtonNormalDefault",
|
|
9795
|
+
"colorBorderToggleButtonNormalPressed",
|
|
9678
9796
|
"colorBorderButtonNormalDisabled",
|
|
9679
9797
|
"colorTextButtonNormalDisabled",
|
|
9680
9798
|
"colorBorderButtonNormalHover",
|
|
@@ -9707,6 +9825,7 @@ export var preset = {
|
|
|
9707
9825
|
"colorTextBreadcrumbCurrent",
|
|
9708
9826
|
"colorTextBreadcrumbIcon",
|
|
9709
9827
|
"colorTextButtonNormalActive",
|
|
9828
|
+
"colorTextToggleButtonNormalPressed",
|
|
9710
9829
|
"colorTextButtonNormalDefault",
|
|
9711
9830
|
"colorTextButtonNormalHover",
|
|
9712
9831
|
"colorTextLinkButtonNormalDefault",
|
|
@@ -9734,6 +9853,7 @@ export var preset = {
|
|
|
9734
9853
|
"colorTextInteractiveDefault",
|
|
9735
9854
|
"colorTextInteractiveDisabled",
|
|
9736
9855
|
"colorTextInteractiveHover",
|
|
9856
|
+
"colorTextToggleButtonIconPressed",
|
|
9737
9857
|
"colorTextInteractiveInvertedDefault",
|
|
9738
9858
|
"colorTextInteractiveInvertedHover",
|
|
9739
9859
|
"colorTextLabel",
|
|
@@ -9952,6 +10072,7 @@ export var preset = {
|
|
|
9952
10072
|
"colorBackgroundButtonNormalDefault",
|
|
9953
10073
|
"colorBackgroundButtonNormalDisabled",
|
|
9954
10074
|
"colorBackgroundButtonNormalHover",
|
|
10075
|
+
"colorBackgroundToggleButtonNormalPressed",
|
|
9955
10076
|
"colorBackgroundButtonPrimaryActive",
|
|
9956
10077
|
"colorBackgroundButtonPrimaryDefault",
|
|
9957
10078
|
"colorBackgroundButtonPrimaryDisabled",
|
|
@@ -9997,6 +10118,7 @@ export var preset = {
|
|
|
9997
10118
|
"colorBackgroundLoadingBarGenAi",
|
|
9998
10119
|
"colorBorderButtonNormalActive",
|
|
9999
10120
|
"colorBorderButtonNormalDefault",
|
|
10121
|
+
"colorBorderToggleButtonNormalPressed",
|
|
10000
10122
|
"colorBorderButtonNormalDisabled",
|
|
10001
10123
|
"colorTextButtonNormalDisabled",
|
|
10002
10124
|
"colorBorderButtonNormalHover",
|
|
@@ -10029,6 +10151,7 @@ export var preset = {
|
|
|
10029
10151
|
"colorTextBreadcrumbCurrent",
|
|
10030
10152
|
"colorTextBreadcrumbIcon",
|
|
10031
10153
|
"colorTextButtonNormalActive",
|
|
10154
|
+
"colorTextToggleButtonNormalPressed",
|
|
10032
10155
|
"colorTextButtonNormalDefault",
|
|
10033
10156
|
"colorTextButtonNormalHover",
|
|
10034
10157
|
"colorTextButtonPrimaryActive",
|
|
@@ -10054,6 +10177,7 @@ export var preset = {
|
|
|
10054
10177
|
"colorTextInteractiveDefault",
|
|
10055
10178
|
"colorTextInteractiveDisabled",
|
|
10056
10179
|
"colorTextInteractiveHover",
|
|
10180
|
+
"colorTextToggleButtonIconPressed",
|
|
10057
10181
|
"colorTextInteractiveInvertedDefault",
|
|
10058
10182
|
"colorTextInteractiveInvertedHover",
|
|
10059
10183
|
"colorTextLabel",
|
|
@@ -10376,6 +10500,7 @@ export var preset = {
|
|
|
10376
10500
|
"colorBackgroundButtonNormalDefault": "color-background-button-normal-default",
|
|
10377
10501
|
"colorBackgroundButtonNormalDisabled": "color-background-button-normal-disabled",
|
|
10378
10502
|
"colorBackgroundButtonNormalHover": "color-background-button-normal-hover",
|
|
10503
|
+
"colorBackgroundToggleButtonNormalPressed": "color-background-toggle-button-normal-pressed",
|
|
10379
10504
|
"colorBackgroundButtonPrimaryActive": "color-background-button-primary-active",
|
|
10380
10505
|
"colorBackgroundButtonPrimaryDefault": "color-background-button-primary-default",
|
|
10381
10506
|
"colorBackgroundButtonPrimaryDisabled": "color-background-button-primary-disabled",
|
|
@@ -10450,6 +10575,7 @@ export var preset = {
|
|
|
10450
10575
|
"colorBackgroundLoadingBarGenAi": "color-background-loading-bar-gen-ai",
|
|
10451
10576
|
"colorBorderButtonNormalActive": "color-border-button-normal-active",
|
|
10452
10577
|
"colorBorderButtonNormalDefault": "color-border-button-normal-default",
|
|
10578
|
+
"colorBorderToggleButtonNormalPressed": "color-border-toggle-button-normal-pressed",
|
|
10453
10579
|
"colorBorderButtonNormalDisabled": "color-border-button-normal-disabled",
|
|
10454
10580
|
"colorTextButtonNormalDisabled": "color-text-button-normal-disabled",
|
|
10455
10581
|
"colorBorderButtonNormalHover": "color-border-button-normal-hover",
|
|
@@ -10523,6 +10649,7 @@ export var preset = {
|
|
|
10523
10649
|
"colorTextButtonInlineIconDisabled": "color-text-button-inline-icon-disabled",
|
|
10524
10650
|
"colorTextButtonInlineIconHover": "color-text-button-inline-icon-hover",
|
|
10525
10651
|
"colorTextButtonNormalActive": "color-text-button-normal-active",
|
|
10652
|
+
"colorTextToggleButtonNormalPressed": "color-text-toggle-button-normal-pressed",
|
|
10526
10653
|
"colorTextButtonNormalDefault": "color-text-button-normal-default",
|
|
10527
10654
|
"colorTextButtonNormalHover": "color-text-button-normal-hover",
|
|
10528
10655
|
"colorTextLinkButtonNormalDefault": "color-text-link-button-normal-default",
|
|
@@ -10575,6 +10702,7 @@ export var preset = {
|
|
|
10575
10702
|
"colorTextInteractiveDefault": "color-text-interactive-default",
|
|
10576
10703
|
"colorTextInteractiveDisabled": "color-text-interactive-disabled",
|
|
10577
10704
|
"colorTextInteractiveHover": "color-text-interactive-hover",
|
|
10705
|
+
"colorTextToggleButtonIconPressed": "color-text-toggle-button-icon-pressed",
|
|
10578
10706
|
"colorTextInteractiveInvertedDefault": "color-text-interactive-inverted-default",
|
|
10579
10707
|
"colorTextInteractiveInvertedHover": "color-text-interactive-inverted-hover",
|
|
10580
10708
|
"colorTextInverted": "color-text-inverted",
|
|
@@ -11088,6 +11216,7 @@ export var preset = {
|
|
|
11088
11216
|
"colorBackgroundButtonNormalDefault": "--color-background-button-normal-default-klhbuw",
|
|
11089
11217
|
"colorBackgroundButtonNormalDisabled": "--color-background-button-normal-disabled-3ksod4",
|
|
11090
11218
|
"colorBackgroundButtonNormalHover": "--color-background-button-normal-hover-imnrq7",
|
|
11219
|
+
"colorBackgroundToggleButtonNormalPressed": "--color-background-toggle-button-normal-pressed-488zeb",
|
|
11091
11220
|
"colorBackgroundButtonPrimaryActive": "--color-background-button-primary-active-1ucrg4",
|
|
11092
11221
|
"colorBackgroundButtonPrimaryDefault": "--color-background-button-primary-default-jrg2xu",
|
|
11093
11222
|
"colorBackgroundButtonPrimaryDisabled": "--color-background-button-primary-disabled-yblour",
|
|
@@ -11162,6 +11291,7 @@ export var preset = {
|
|
|
11162
11291
|
"colorBackgroundLoadingBarGenAi": "--color-background-loading-bar-gen-ai-7qfi9s",
|
|
11163
11292
|
"colorBorderButtonNormalActive": "--color-border-button-normal-active-tc4102",
|
|
11164
11293
|
"colorBorderButtonNormalDefault": "--color-border-button-normal-default-x52rkp",
|
|
11294
|
+
"colorBorderToggleButtonNormalPressed": "--color-border-toggle-button-normal-pressed-s1n6l1",
|
|
11165
11295
|
"colorBorderButtonNormalDisabled": "--color-border-button-normal-disabled-40wkb4",
|
|
11166
11296
|
"colorTextButtonNormalDisabled": "--color-text-button-normal-disabled-h3ul0e",
|
|
11167
11297
|
"colorBorderButtonNormalHover": "--color-border-button-normal-hover-qs1x3s",
|
|
@@ -11235,6 +11365,7 @@ export var preset = {
|
|
|
11235
11365
|
"colorTextButtonInlineIconDisabled": "--color-text-button-inline-icon-disabled-mz5gmn",
|
|
11236
11366
|
"colorTextButtonInlineIconHover": "--color-text-button-inline-icon-hover-my2daf",
|
|
11237
11367
|
"colorTextButtonNormalActive": "--color-text-button-normal-active-4it2mv",
|
|
11368
|
+
"colorTextToggleButtonNormalPressed": "--color-text-toggle-button-normal-pressed-arj8xm",
|
|
11238
11369
|
"colorTextButtonNormalDefault": "--color-text-button-normal-default-mo7k6u",
|
|
11239
11370
|
"colorTextButtonNormalHover": "--color-text-button-normal-hover-04pe0y",
|
|
11240
11371
|
"colorTextLinkButtonNormalDefault": "--color-text-link-button-normal-default-px6yl8",
|
|
@@ -11287,6 +11418,7 @@ export var preset = {
|
|
|
11287
11418
|
"colorTextInteractiveDefault": "--color-text-interactive-default-lnx6lk",
|
|
11288
11419
|
"colorTextInteractiveDisabled": "--color-text-interactive-disabled-z7a3t4",
|
|
11289
11420
|
"colorTextInteractiveHover": "--color-text-interactive-hover-mj8add",
|
|
11421
|
+
"colorTextToggleButtonIconPressed": "--color-text-toggle-button-icon-pressed-q09b5b",
|
|
11290
11422
|
"colorTextInteractiveInvertedDefault": "--color-text-interactive-inverted-default-yhw7hw",
|
|
11291
11423
|
"colorTextInteractiveInvertedHover": "--color-text-interactive-inverted-hover-zzkght",
|
|
11292
11424
|
"colorTextInverted": "--color-text-inverted-70cpkk",
|
package/internal/manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -80,6 +80,7 @@
|
|
|
80
80
|
"./tiles": "./tiles/index.js",
|
|
81
81
|
"./time-input": "./time-input/index.js",
|
|
82
82
|
"./toggle": "./toggle/index.js",
|
|
83
|
+
"./toggle-button": "./toggle-button/index.js",
|
|
83
84
|
"./token-group": "./token-group/index.js",
|
|
84
85
|
"./top-navigation": "./top-navigation/index.js",
|
|
85
86
|
"./tutorial-panel": "./tutorial-panel/index.js",
|
|
@@ -124,7 +125,7 @@
|
|
|
124
125
|
"./internal/base-component/index.js",
|
|
125
126
|
"./internal/base-component/styles.css.js"
|
|
126
127
|
],
|
|
127
|
-
"version": "3.0.
|
|
128
|
+
"version": "3.0.702",
|
|
128
129
|
"repository": {
|
|
129
130
|
"type": "git",
|
|
130
131
|
"url": "https://github.com/cloudscape-design/components.git"
|
package/select/parts/filter.d.ts
CHANGED
|
@@ -5,6 +5,6 @@ export interface FilterProps extends InternalInputProps {
|
|
|
5
5
|
ref?: React.Ref<HTMLInputElement>;
|
|
6
6
|
filteringType: SelectProps.FilteringType;
|
|
7
7
|
}
|
|
8
|
-
declare const Filter: React.ForwardRefExoticComponent<Pick<FilterProps, "disabled" | "autoComplete" | "autoFocus" | "name" | "className" | "id" | "placeholder" | "inputMode" | "type" | "readOnly" | "step" | "value" | "onFocus" | "onBlur" | "onChange" | "onKeyDown" | "onKeyUp" | "warning" | "
|
|
8
|
+
declare const Filter: React.ForwardRefExoticComponent<Pick<FilterProps, "disabled" | "autoComplete" | "autoFocus" | "name" | "className" | "id" | "placeholder" | "inputMode" | "type" | "readOnly" | "step" | "value" | "onFocus" | "onBlur" | "onChange" | "onKeyDown" | "onKeyUp" | "warning" | "clearAriaLabel" | "ariaLabelledby" | "ariaLabel" | "ariaDescribedby" | "__nativeAttributes" | "__internalRootRef" | "invalid" | "controlId" | "filteringType" | "ariaRequired" | "disableBrowserAutocorrect" | "spellcheck" | "__leftIcon" | "__leftIconVariant" | "__onLeftIconClick" | "__rightIcon" | "__onRightIconClick" | "__noBorderRadius" | "__onDelayedInput" | "__onBlurWithDetail" | "__inheritFormFieldProps"> & React.RefAttributes<HTMLInputElement>>;
|
|
9
9
|
export default Filter;
|
|
10
10
|
//# sourceMappingURL=filter.d.ts.map
|
|
@@ -136,6 +136,8 @@ import TimeInputWrapper from './time-input';
|
|
|
136
136
|
export { TimeInputWrapper };
|
|
137
137
|
import ToggleWrapper from './toggle';
|
|
138
138
|
export { ToggleWrapper };
|
|
139
|
+
import ToggleButtonWrapper from './toggle-button';
|
|
140
|
+
export { ToggleButtonWrapper };
|
|
139
141
|
import TokenGroupWrapper from './token-group';
|
|
140
142
|
export { TokenGroupWrapper };
|
|
141
143
|
import TopNavigationWrapper from './top-navigation';
|
|
@@ -214,6 +216,7 @@ declare module '@cloudscape-design/test-utils-core/dist/dom' {
|
|
|
214
216
|
findTiles(selector?: string): TilesWrapper | null;
|
|
215
217
|
findTimeInput(selector?: string): TimeInputWrapper | null;
|
|
216
218
|
findToggle(selector?: string): ToggleWrapper | null;
|
|
219
|
+
findToggleButton(selector?: string): ToggleButtonWrapper | null;
|
|
217
220
|
findTokenGroup(selector?: string): TokenGroupWrapper | null;
|
|
218
221
|
findTopNavigation(selector?: string): TopNavigationWrapper | null;
|
|
219
222
|
findTutorialPanel(selector?: string): TutorialPanelWrapper | null;
|
package/test-utils/dom/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PropertyFilterWrapper = exports.PromptInputWrapper = exports.ProgressBarWrapper = exports.PopoverWrapper = exports.PieChartWrapper = exports.PaginationWrapper = exports.MultiselectWrapper = exports.ModalWrapper = exports.MixedLineBarChartWrapper = exports.LinkWrapper = exports.LineChartWrapper = exports.KeyValuePairsWrapper = exports.InputWrapper = exports.IconWrapper = exports.HotspotWrapper = exports.HelpPanelWrapper = exports.HeaderWrapper = exports.GridWrapper = exports.FormFieldWrapper = exports.FormWrapper = exports.FlashbarWrapper = exports.FileUploadWrapper = exports.ExpandableSectionWrapper = exports.DrawerWrapper = exports.DateRangePickerWrapper = exports.DatePickerWrapper = exports.DateInputWrapper = exports.CopyToClipboardWrapper = exports.ContentLayoutWrapper = exports.ContainerWrapper = exports.ColumnLayoutWrapper = exports.CollectionPreferencesWrapper = exports.CodeEditorWrapper = exports.CheckboxWrapper = exports.CardsWrapper = exports.CalendarWrapper = exports.ButtonDropdownWrapper = exports.ButtonWrapper = exports.BreadcrumbGroupWrapper = exports.BoxWrapper = exports.BarChartWrapper = exports.BadgeWrapper = exports.AutosuggestWrapper = exports.AttributeEditorWrapper = exports.AreaChartWrapper = exports.AppLayoutWrapper = exports.AnnotationWrapper = exports.AnchorNavigationWrapper = exports.AlertWrapper = exports.ElementWrapper = void 0;
|
|
4
|
-
exports.WizardWrapper = exports.TutorialPanelWrapper = exports.TopNavigationWrapper = exports.TokenGroupWrapper = exports.ToggleWrapper = exports.TimeInputWrapper = exports.TilesWrapper = exports.TextareaWrapper = exports.TextFilterWrapper = exports.TextContentWrapper = exports.TagEditorWrapper = exports.TabsWrapper = exports.TableWrapper = exports.StatusIndicatorWrapper = exports.SplitPanelWrapper = exports.SpinnerWrapper = exports.SpaceBetweenWrapper = exports.SliderWrapper = exports.SideNavigationWrapper = exports.SelectWrapper = exports.SegmentedControlWrapper = exports.S3ResourceSelectorWrapper = exports.RadioGroupWrapper = void 0;
|
|
4
|
+
exports.WizardWrapper = exports.TutorialPanelWrapper = exports.TopNavigationWrapper = exports.TokenGroupWrapper = exports.ToggleButtonWrapper = exports.ToggleWrapper = exports.TimeInputWrapper = exports.TilesWrapper = exports.TextareaWrapper = exports.TextFilterWrapper = exports.TextContentWrapper = exports.TagEditorWrapper = exports.TabsWrapper = exports.TableWrapper = exports.StatusIndicatorWrapper = exports.SplitPanelWrapper = exports.SpinnerWrapper = exports.SpaceBetweenWrapper = exports.SliderWrapper = exports.SideNavigationWrapper = exports.SelectWrapper = exports.SegmentedControlWrapper = exports.S3ResourceSelectorWrapper = exports.RadioGroupWrapper = void 0;
|
|
5
5
|
const dom_1 = require("@cloudscape-design/test-utils-core/dom");
|
|
6
6
|
Object.defineProperty(exports, "ElementWrapper", { enumerable: true, get: function () { return dom_1.ElementWrapper; } });
|
|
7
7
|
const utils_1 = require("@cloudscape-design/test-utils-core/utils");
|
|
@@ -141,6 +141,8 @@ const time_input_1 = require("./time-input");
|
|
|
141
141
|
exports.TimeInputWrapper = time_input_1.default;
|
|
142
142
|
const toggle_1 = require("./toggle");
|
|
143
143
|
exports.ToggleWrapper = toggle_1.default;
|
|
144
|
+
const toggle_button_1 = require("./toggle-button");
|
|
145
|
+
exports.ToggleButtonWrapper = toggle_button_1.default;
|
|
144
146
|
const token_group_1 = require("./token-group");
|
|
145
147
|
exports.TokenGroupWrapper = token_group_1.default;
|
|
146
148
|
const top_navigation_1 = require("./top-navigation");
|
|
@@ -557,6 +559,12 @@ dom_1.ElementWrapper.prototype.findToggle = function (selector) {
|
|
|
557
559
|
// https://github.com/microsoft/TypeScript/issues/29132
|
|
558
560
|
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, toggle_1.default);
|
|
559
561
|
};
|
|
562
|
+
dom_1.ElementWrapper.prototype.findToggleButton = function (selector) {
|
|
563
|
+
const rootSelector = `.${toggle_button_1.default.rootSelector}`;
|
|
564
|
+
// casting to 'any' is needed to avoid this issue with generics
|
|
565
|
+
// https://github.com/microsoft/TypeScript/issues/29132
|
|
566
|
+
return this.findComponent(selector ? (0, utils_1.appendSelector)(selector, rootSelector) : rootSelector, toggle_button_1.default);
|
|
567
|
+
};
|
|
560
568
|
dom_1.ElementWrapper.prototype.findTokenGroup = function (selector) {
|
|
561
569
|
const rootSelector = `.${token_group_1.default.rootSelector}`;
|
|
562
570
|
// casting to 'any' is needed to avoid this issue with generics
|