@wordpress/block-library 9.40.2-next.v.202602271551.0 → 9.41.0

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.
Files changed (89) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/build/button/block.json +11 -3
  3. package/build/button/deprecated.cjs +246 -13
  4. package/build/button/deprecated.cjs.map +2 -2
  5. package/build/button/edit.cjs +45 -58
  6. package/build/button/edit.cjs.map +3 -3
  7. package/build/button/save.cjs +3 -7
  8. package/build/button/save.cjs.map +2 -2
  9. package/build/button/utils.cjs +59 -0
  10. package/build/button/utils.cjs.map +7 -0
  11. package/build/image/image.cjs +1 -1
  12. package/build/image/image.cjs.map +2 -2
  13. package/build/navigation-link/shared/use-link-preview.cjs +2 -2
  14. package/build/navigation-link/shared/use-link-preview.cjs.map +2 -2
  15. package/build/playlist/edit.cjs +43 -136
  16. package/build/playlist/edit.cjs.map +3 -3
  17. package/build/playlist/view.cjs +56 -38
  18. package/build/playlist/view.cjs.map +2 -2
  19. package/build/playlist-track/edit.cjs +0 -1
  20. package/build/playlist-track/edit.cjs.map +2 -2
  21. package/build/post-title/block.json +3 -0
  22. package/build/post-title/edit.cjs +2 -2
  23. package/build/post-title/edit.cjs.map +2 -2
  24. package/build/utils/waveform-player.cjs +68 -0
  25. package/build/utils/waveform-player.cjs.map +7 -0
  26. package/build/utils/waveform-utils.cjs +171 -0
  27. package/build/utils/waveform-utils.cjs.map +7 -0
  28. package/build-module/button/block.json +11 -3
  29. package/build-module/button/deprecated.mjs +246 -13
  30. package/build-module/button/deprecated.mjs.map +2 -2
  31. package/build-module/button/edit.mjs +47 -63
  32. package/build-module/button/edit.mjs.map +2 -2
  33. package/build-module/button/save.mjs +3 -7
  34. package/build-module/button/save.mjs.map +2 -2
  35. package/build-module/button/utils.mjs +33 -0
  36. package/build-module/button/utils.mjs.map +7 -0
  37. package/build-module/image/image.mjs +1 -1
  38. package/build-module/image/image.mjs.map +2 -2
  39. package/build-module/navigation-link/shared/use-link-preview.mjs +2 -2
  40. package/build-module/navigation-link/shared/use-link-preview.mjs.map +2 -2
  41. package/build-module/playlist/edit.mjs +41 -139
  42. package/build-module/playlist/edit.mjs.map +2 -2
  43. package/build-module/playlist/view.mjs +56 -38
  44. package/build-module/playlist/view.mjs.map +2 -2
  45. package/build-module/playlist-track/edit.mjs +0 -1
  46. package/build-module/playlist-track/edit.mjs.map +2 -2
  47. package/build-module/post-title/block.json +3 -0
  48. package/build-module/post-title/edit.mjs +2 -2
  49. package/build-module/post-title/edit.mjs.map +2 -2
  50. package/build-module/utils/waveform-player.mjs +43 -0
  51. package/build-module/utils/waveform-player.mjs.map +7 -0
  52. package/build-module/utils/waveform-utils.mjs +131 -0
  53. package/build-module/utils/waveform-utils.mjs.map +7 -0
  54. package/build-style/button/style-rtl.css +6 -0
  55. package/build-style/button/style.css +6 -0
  56. package/build-style/editor-rtl.css +3 -3
  57. package/build-style/editor.css +3 -3
  58. package/build-style/playlist/editor-rtl.css +3 -3
  59. package/build-style/playlist/editor.css +3 -3
  60. package/build-style/playlist/style-rtl.css +351 -17
  61. package/build-style/playlist/style.css +351 -17
  62. package/build-style/style-rtl.css +357 -17
  63. package/build-style/style.css +357 -17
  64. package/package.json +39 -38
  65. package/src/button/block.json +11 -3
  66. package/src/button/deprecated.js +254 -16
  67. package/src/button/edit.js +50 -61
  68. package/src/button/index.php +68 -0
  69. package/src/button/save.js +2 -8
  70. package/src/button/style.scss +49 -7
  71. package/src/button/test/utils.js +84 -0
  72. package/src/button/utils.js +42 -0
  73. package/src/image/image.js +14 -15
  74. package/src/image/index.php +3 -1
  75. package/src/navigation-link/shared/test/use-link-preview.test.js +9 -0
  76. package/src/navigation-link/shared/use-link-preview.js +6 -9
  77. package/src/playlist/edit.js +60 -154
  78. package/src/playlist/editor.scss +3 -3
  79. package/src/playlist/index.php +15 -40
  80. package/src/playlist/style.scss +34 -27
  81. package/src/playlist/test/edit.js +137 -0
  82. package/src/playlist/view.js +97 -40
  83. package/src/playlist-track/edit.js +0 -1
  84. package/src/post-title/block.json +3 -0
  85. package/src/post-title/edit.js +4 -2
  86. package/src/search/index.php +1 -1
  87. package/src/utils/test/waveform-utils.js +328 -0
  88. package/src/utils/waveform-player.js +77 -0
  89. package/src/utils/waveform-utils.js +232 -0
@@ -246,6 +246,9 @@
246
246
  .wp-block-buttons > .wp-block-button.has-custom-font-size .wp-block-button__link {
247
247
  font-size: inherit;
248
248
  }
249
+ .wp-block-buttons > .wp-block-button[class*=wp-block-button__width] {
250
+ width: calc(var(--wp--block-button--width) * 1% - var(--wp--style--block-gap, 0.5em) * (1 - var(--wp--block-button--width) / 100));
251
+ }
249
252
  .wp-block-buttons > .wp-block-button.wp-block-button__width-25 {
250
253
  width: calc(25% - var(--wp--style--block-gap, 0.5em) * 0.75);
251
254
  }
@@ -260,6 +263,9 @@
260
263
  flex-basis: 100%;
261
264
  }
262
265
 
266
+ .wp-block-buttons.is-vertical > .wp-block-button[class*=wp-block-button__width] {
267
+ width: calc(var(--wp--block-button--width) * 1%);
268
+ }
263
269
  .wp-block-buttons.is-vertical > .wp-block-button.wp-block-button__width-25 {
264
270
  width: 25%;
265
271
  }
@@ -3181,29 +3187,367 @@ p.has-text-align-left[style*="writing-mode:vertical-lr"] {
3181
3187
  rotate: 180deg;
3182
3188
  }
3183
3189
 
3184
- .wp-block-playlist .wp-block-playlist__current-item {
3190
+ .waveform-player {
3191
+ font-family: inherit;
3192
+ color: inherit;
3193
+ line-height: 1.4;
3194
+ }
3195
+
3196
+ .waveform-player * {
3197
+ box-sizing: border-box;
3198
+ }
3199
+
3200
+ .waveform-body {
3201
+ display: flex;
3202
+ flex-direction: column;
3203
+ gap: 8px;
3204
+ }
3205
+
3206
+ .waveform-track {
3185
3207
  display: flex;
3186
3208
  align-items: center;
3187
- gap: var(--wp--preset--spacing--40, 1.5em);
3188
- align-self: stretch;
3189
- padding-bottom: var(--wp--preset--spacing--30, 1em);
3190
- margin-bottom: var(--wp--preset--spacing--30, 1em);
3209
+ gap: 12px;
3210
+ position: relative;
3191
3211
  }
3192
- .wp-block-playlist .wp-block-playlist__current-item div {
3212
+
3213
+ .waveform-btn {
3214
+ width: 36px;
3215
+ height: 36px;
3216
+ min-width: 36px;
3217
+ border-radius: 50%;
3218
+ border: 2px solid currentColor;
3219
+ background: transparent;
3220
+ color: inherit;
3221
+ cursor: pointer;
3222
+ display: flex;
3223
+ align-items: center;
3224
+ justify-content: center;
3225
+ transition: all 0.2s ease;
3226
+ padding: 0;
3227
+ opacity: 0.9;
3228
+ flex-shrink: 0;
3229
+ }
3230
+
3231
+ .waveform-btn:hover:not(:disabled) {
3232
+ opacity: 1;
3233
+ transform: scale(1.05);
3234
+ }
3235
+
3236
+ .waveform-btn:disabled {
3237
+ cursor: not-allowed;
3238
+ opacity: 0.3;
3239
+ }
3240
+
3241
+ .waveform-btn > * {
3242
+ display: flex;
3243
+ align-items: center;
3244
+ justify-content: center;
3245
+ width: 100%;
3246
+ height: 100%;
3247
+ }
3248
+
3249
+ .waveform-btn svg {
3250
+ width: 16px;
3251
+ height: 16px;
3252
+ fill: currentColor;
3253
+ display: block;
3254
+ }
3255
+
3256
+ .waveform-icon-play svg {
3257
+ margin-left: 1px;
3258
+ }
3259
+
3260
+ .waveform-container {
3261
+ flex: 1;
3262
+ position: relative;
3263
+ min-height: 60px;
3264
+ cursor: pointer;
3265
+ min-width: 0;
3266
+ width: 100%;
3267
+ }
3268
+
3269
+ .waveform-container canvas {
3270
+ display: block;
3271
+ width: 100%;
3272
+ height: 100%;
3273
+ max-width: 100%;
3274
+ transition: opacity 0.3s ease;
3275
+ position: relative;
3276
+ z-index: 1;
3277
+ }
3278
+
3279
+ .waveform-info {
3280
+ display: flex;
3281
+ align-items: center;
3282
+ gap: 8px;
3283
+ font-size: 13px;
3284
+ min-height: 20px;
3285
+ }
3286
+
3287
+ .waveform-text {
3288
+ flex: 1;
3193
3289
  display: flex;
3194
3290
  flex-direction: column;
3291
+ gap: 2px;
3292
+ min-width: 0;
3293
+ }
3294
+
3295
+ .waveform-title {
3296
+ white-space: nowrap;
3297
+ overflow: hidden;
3298
+ text-overflow: ellipsis;
3299
+ font-weight: 500;
3300
+ }
3301
+
3302
+ .waveform-subtitle {
3303
+ font-size: 11px;
3304
+ white-space: nowrap;
3305
+ overflow: hidden;
3306
+ text-overflow: ellipsis;
3307
+ }
3308
+
3309
+ .waveform-time {
3310
+ font-size: 11px;
3311
+ white-space: nowrap;
3312
+ flex-shrink: 0;
3313
+ }
3314
+
3315
+ .waveform-bpm {
3316
+ font-size: 11px;
3317
+ white-space: nowrap;
3318
+ flex-shrink: 0;
3319
+ display: inline-flex;
3320
+ align-items: center;
3321
+ gap: 4px;
3322
+ }
3323
+
3324
+ .waveform-loading {
3325
+ position: absolute;
3326
+ inset: 0;
3327
+ background: rgba(0, 0, 0, 0.1019607843);
3328
+ z-index: 10;
3329
+ }
3330
+
3331
+ .waveform-error {
3332
+ position: absolute;
3333
+ inset: 0;
3334
+ display: flex;
3335
+ align-items: center;
3336
+ justify-content: center;
3337
+ background: rgba(0, 0, 0, 0.2);
3338
+ z-index: 10;
3339
+ }
3340
+
3341
+ .waveform-error-text {
3342
+ font-size: 12px;
3343
+ opacity: 0.7;
3344
+ text-align: center;
3345
+ padding: 0 20px;
3346
+ }
3347
+
3348
+ .waveform-markers {
3349
+ position: absolute;
3350
+ inset: 0;
3351
+ pointer-events: none;
3352
+ z-index: 5;
3353
+ }
3354
+
3355
+ .waveform-marker {
3356
+ position: absolute;
3357
+ top: 0;
3358
+ width: 2px;
3359
+ height: 100%;
3360
+ background: rgba(255, 255, 255, 0.5019607843);
3361
+ border: none;
3362
+ padding: 0;
3363
+ cursor: pointer;
3364
+ pointer-events: all;
3365
+ transition: all 0.2s;
3366
+ }
3367
+
3368
+ .waveform-marker:hover {
3369
+ width: 4px;
3370
+ z-index: 20;
3371
+ }
3372
+
3373
+ .waveform-marker-tooltip {
3374
+ position: absolute;
3375
+ bottom: calc(100% + 4px);
3376
+ left: 50%;
3377
+ transform: translate(-50%);
3378
+ background: rgba(0, 0, 0, 0.9019607843);
3379
+ color: #fff;
3380
+ padding: 4px 8px;
3381
+ border-radius: 4px;
3382
+ font-size: 11px;
3383
+ white-space: nowrap;
3384
+ pointer-events: none;
3385
+ opacity: 0;
3386
+ transition: opacity 0.2s;
3387
+ z-index: 1000;
3388
+ }
3389
+
3390
+ .waveform-marker:hover .waveform-marker-tooltip {
3391
+ opacity: 1;
3392
+ }
3393
+
3394
+ .waveform-btn:focus-visible {
3395
+ outline: 2px solid currentColor;
3396
+ outline-offset: 2px;
3397
+ }
3398
+
3399
+ .waveform-marker:focus-visible {
3400
+ outline: 2px solid currentColor;
3401
+ outline-offset: 1px;
3402
+ width: 4px;
3403
+ }
3404
+
3405
+ .waveform-speed {
3406
+ position: relative;
3407
+ flex-shrink: 0;
3408
+ }
3409
+
3410
+ .speed-btn {
3411
+ background: transparent;
3412
+ border: 1px solid rgba(255, 255, 255, 0.2);
3413
+ border-radius: 4px;
3414
+ padding: 4px 8px;
3415
+ color: inherit;
3416
+ font-size: 11px;
3417
+ cursor: pointer;
3418
+ transition: all 0.2s;
3419
+ min-width: 40px;
3420
+ }
3421
+
3422
+ .speed-btn:hover {
3423
+ background: rgba(255, 255, 255, 0.0509803922);
3424
+ border-color: rgba(255, 255, 255, 0.3019607843);
3425
+ }
3426
+
3427
+ .speed-value {
3428
+ font-weight: 600;
3429
+ }
3430
+
3431
+ .speed-menu {
3432
+ position: absolute;
3433
+ bottom: 100%;
3434
+ right: 0;
3435
+ margin-bottom: 4px;
3436
+ background: rgba(0, 0, 0, 0.9490196078);
3437
+ border: 1px solid rgba(255, 255, 255, 0.2);
3438
+ border-radius: 6px;
3439
+ padding: 4px;
3440
+ z-index: 100;
3441
+ min-width: 60px;
3442
+ }
3443
+
3444
+ .speed-option {
3445
+ display: block;
3446
+ width: 100%;
3447
+ background: transparent;
3448
+ border: none;
3449
+ color: rgba(255, 255, 255, 0.7019607843);
3450
+ padding: 6px 12px;
3451
+ font-size: 12px;
3452
+ cursor: pointer;
3453
+ transition: all 0.2s;
3454
+ text-align: left;
3455
+ border-radius: 4px;
3456
+ }
3457
+
3458
+ .speed-option:hover {
3459
+ background: rgba(255, 255, 255, 0.1019607843);
3460
+ color: #fff;
3461
+ }
3462
+
3463
+ .speed-option.active {
3464
+ background: rgba(168, 85, 247, 0.2);
3465
+ color: #a855f7;
3466
+ font-weight: 600;
3467
+ }
3468
+
3469
+ .waveform-player.waveform-focused {
3470
+ outline: 2px solid rgba(168, 85, 247, 0.5);
3471
+ outline-offset: 2px;
3472
+ border-radius: 4px;
3473
+ }
3474
+
3475
+ .waveform-player:focus {
3476
+ outline: none;
3477
+ }
3478
+
3479
+ .waveform-player:focus-visible {
3480
+ outline: 1px solid rgba(168, 85, 247, 0.3);
3481
+ outline-offset: 1px;
3482
+ }
3483
+
3484
+ .waveform-player.waveform-focused {
3485
+ outline: none;
3486
+ }
3487
+
3488
+ .waveform-track.waveform-align-top {
3195
3489
  align-items: flex-start;
3196
- gap: var(--wp--preset--spacing--20, 0.5em);
3197
3490
  }
3198
- .wp-block-playlist .wp-block-playlist__current-item .wp-block-playlist__current-item-artist-album {
3199
- flex-direction: row;
3491
+
3492
+ .waveform-track.waveform-align-top .waveform-btn {
3493
+ margin-top: 5px;
3200
3494
  }
3201
- .wp-block-playlist .wp-block-playlist__current-item .wp-block-playlist__item-title {
3202
- word-break: break-all;
3495
+
3496
+ .waveform-track.waveform-align-center {
3497
+ align-items: center;
3498
+ }
3499
+
3500
+ .waveform-track.waveform-align-bottom {
3501
+ align-items: flex-end;
3502
+ }
3503
+
3504
+ .waveform-track.waveform-align-bottom .waveform-btn {
3505
+ margin-bottom: 5px;
3506
+ }
3507
+
3508
+ @media (max-width: 480px) {
3509
+ .waveform-btn {
3510
+ width: 32px;
3511
+ height: 32px;
3512
+ min-width: 32px;
3513
+ }
3514
+ .waveform-container {
3515
+ min-height: 50px;
3516
+ }
3517
+ .waveform-info {
3518
+ font-size: 12px;
3519
+ }
3520
+ .waveform-subtitle, .waveform-time, .waveform-bpm {
3521
+ font-size: 10px;
3522
+ }
3203
3523
  }
3204
- .wp-block-playlist audio {
3524
+ .wp-block-playlist .wp-block-playlist__waveform-player {
3205
3525
  width: 100%;
3206
- margin-top: var(--wp--preset--spacing--20, 0.625em);
3526
+ margin: var(--wp--preset--spacing--20, 0.625em) 0;
3527
+ position: relative;
3528
+ }
3529
+ .wp-block-playlist .waveform-track {
3530
+ height: 100px;
3531
+ gap: 0;
3532
+ }
3533
+ .wp-block-playlist .waveform-btn {
3534
+ border-radius: 0;
3535
+ border-end-start-radius: 0.125rem;
3536
+ border-start-start-radius: 0.125rem;
3537
+ width: 100px;
3538
+ height: 100px;
3539
+ min-width: 100px;
3540
+ background: currentColor;
3541
+ margin: 0;
3542
+ }
3543
+ .wp-block-playlist .waveform-btn:hover:not(:disabled) {
3544
+ transform: none;
3545
+ }
3546
+ .wp-block-playlist .waveform-track.waveform-align-bottom .waveform-btn {
3547
+ margin-bottom: 0;
3548
+ }
3549
+ .wp-block-playlist .waveform-subtitle {
3550
+ opacity: 0.7;
3207
3551
  }
3208
3552
  .wp-block-playlist .wp-block-playlist__tracklist {
3209
3553
  margin: 0;
@@ -3219,10 +3563,6 @@ p.has-text-align-left[style*="writing-mode:vertical-lr"] {
3219
3563
  .wp-block-playlist .wp-block-playlist__tracklist.wp-block-playlist__tracklist-show-numbers {
3220
3564
  counter-reset: playlist-track;
3221
3565
  }
3222
- .wp-block-playlist li.block-list-appender.block-list-appender {
3223
- position: initial;
3224
- margin-top: var(--wp--preset--spacing--30, 1em);
3225
- }
3226
3566
 
3227
3567
  .wp-block-playlist-track:has([aria-current=true]) {
3228
3568
  background-color: color-mix(in srgb, currentColor 10%, transparent);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/block-library",
3
- "version": "9.40.2-next.v.202602271551.0+464abe399",
3
+ "version": "9.41.0",
4
4
  "description": "Block library for the WordPress editor.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -94,42 +94,43 @@
94
94
  "build-module/*/init.mjs"
95
95
  ],
96
96
  "dependencies": {
97
- "@wordpress/a11y": "^4.40.1-next.v.202602271551.0+464abe399",
98
- "@wordpress/api-fetch": "^7.40.1-next.v.202602271551.0+464abe399",
99
- "@wordpress/autop": "^4.40.1-next.v.202602271551.0+464abe399",
100
- "@wordpress/base-styles": "^6.16.1-next.v.202602271551.0+464abe399",
101
- "@wordpress/blob": "^4.40.1-next.v.202602271551.0+464abe399",
102
- "@wordpress/block-editor": "^15.13.2-next.v.202602271551.0+464abe399",
103
- "@wordpress/blocks": "^15.13.1-next.v.202602271551.0+464abe399",
104
- "@wordpress/components": "^32.3.1-next.v.202602271551.0+464abe399",
105
- "@wordpress/compose": "^7.40.1-next.v.202602271551.0+464abe399",
106
- "@wordpress/core-data": "^7.40.2-next.v.202602271551.0+464abe399",
107
- "@wordpress/data": "^10.40.1-next.v.202602271551.0+464abe399",
108
- "@wordpress/date": "^5.40.1-next.v.202602271551.0+464abe399",
109
- "@wordpress/deprecated": "^4.40.1-next.v.202602271551.0+464abe399",
110
- "@wordpress/dom": "^4.40.1-next.v.202602271551.0+464abe399",
111
- "@wordpress/element": "^6.40.1-next.v.202602271551.0+464abe399",
112
- "@wordpress/escape-html": "^3.40.1-next.v.202602271551.0+464abe399",
113
- "@wordpress/hooks": "^4.40.1-next.v.202602271551.0+464abe399",
114
- "@wordpress/html-entities": "^4.40.1-next.v.202602271551.0+464abe399",
115
- "@wordpress/i18n": "^6.13.1-next.v.202602271551.0+464abe399",
116
- "@wordpress/icons": "^11.7.1-next.v.202602271551.0+464abe399",
117
- "@wordpress/interactivity": "^6.40.1-next.v.202602271551.0+464abe399",
118
- "@wordpress/interactivity-router": "^2.40.1-next.v.202602271551.0+464abe399",
119
- "@wordpress/keyboard-shortcuts": "^5.40.1-next.v.202602271551.0+464abe399",
120
- "@wordpress/keycodes": "^4.40.1-next.v.202602271551.0+464abe399",
121
- "@wordpress/latex-to-mathml": "^1.8.1-next.v.202602271551.0+464abe399",
122
- "@wordpress/notices": "^5.40.1-next.v.202602271551.0+464abe399",
123
- "@wordpress/patterns": "^2.40.2-next.v.202602271551.0+464abe399",
124
- "@wordpress/primitives": "^4.40.1-next.v.202602271551.0+464abe399",
125
- "@wordpress/private-apis": "^1.40.1-next.v.202602271551.0+464abe399",
126
- "@wordpress/reusable-blocks": "^5.40.2-next.v.202602271551.0+464abe399",
127
- "@wordpress/rich-text": "^7.40.1-next.v.202602271551.0+464abe399",
128
- "@wordpress/server-side-render": "^6.16.1-next.v.202602271551.0+464abe399",
129
- "@wordpress/upload-media": "^0.25.2-next.v.202602271551.0+464abe399",
130
- "@wordpress/url": "^4.40.1-next.v.202602271551.0+464abe399",
131
- "@wordpress/viewport": "^6.40.1-next.v.202602271551.0+464abe399",
132
- "@wordpress/wordcount": "^4.40.1-next.v.202602271551.0+464abe399",
97
+ "@arraypress/waveform-player": "1.2.1",
98
+ "@wordpress/a11y": "^4.41.0",
99
+ "@wordpress/api-fetch": "^7.41.0",
100
+ "@wordpress/autop": "^4.41.0",
101
+ "@wordpress/base-styles": "^6.17.0",
102
+ "@wordpress/blob": "^4.41.0",
103
+ "@wordpress/block-editor": "^15.14.0",
104
+ "@wordpress/blocks": "^15.14.0",
105
+ "@wordpress/components": "^32.3.0",
106
+ "@wordpress/compose": "^7.41.0",
107
+ "@wordpress/core-data": "^7.41.0",
108
+ "@wordpress/data": "^10.41.0",
109
+ "@wordpress/date": "^5.41.0",
110
+ "@wordpress/deprecated": "^4.41.0",
111
+ "@wordpress/dom": "^4.41.0",
112
+ "@wordpress/element": "^6.41.0",
113
+ "@wordpress/escape-html": "^3.41.0",
114
+ "@wordpress/hooks": "^4.41.0",
115
+ "@wordpress/html-entities": "^4.41.0",
116
+ "@wordpress/i18n": "^6.14.0",
117
+ "@wordpress/icons": "^11.8.0",
118
+ "@wordpress/interactivity": "^6.41.0",
119
+ "@wordpress/interactivity-router": "^2.41.0",
120
+ "@wordpress/keyboard-shortcuts": "^5.41.0",
121
+ "@wordpress/keycodes": "^4.41.0",
122
+ "@wordpress/latex-to-mathml": "^1.9.0",
123
+ "@wordpress/notices": "^5.41.0",
124
+ "@wordpress/patterns": "^2.41.0",
125
+ "@wordpress/primitives": "^4.41.0",
126
+ "@wordpress/private-apis": "^1.41.0",
127
+ "@wordpress/reusable-blocks": "^5.41.0",
128
+ "@wordpress/rich-text": "^7.41.0",
129
+ "@wordpress/server-side-render": "^6.17.0",
130
+ "@wordpress/upload-media": "^0.26.0",
131
+ "@wordpress/url": "^4.41.0",
132
+ "@wordpress/viewport": "^6.41.0",
133
+ "@wordpress/wordcount": "^4.41.0",
133
134
  "change-case": "^4.1.2",
134
135
  "clsx": "^2.1.1",
135
136
  "colord": "^2.7.0",
@@ -150,5 +151,5 @@
150
151
  "publishConfig": {
151
152
  "access": "public"
152
153
  },
153
- "gitHead": "95aa7055a5757219e2d96a91efc69f7dd1b2d4c3"
154
+ "gitHead": "8bfc179b9aed74c0a6dd6e8edf7a49e40e4f87cc"
154
155
  }
@@ -63,9 +63,6 @@
63
63
  },
64
64
  "gradient": {
65
65
  "type": "string"
66
- },
67
- "width": {
68
- "type": "number"
69
66
  }
70
67
  },
71
68
  "supports": {
@@ -81,6 +78,13 @@
81
78
  "text": true
82
79
  }
83
80
  },
81
+ "dimensions": {
82
+ "width": true,
83
+ "__experimentalSkipSerialization": [ "width" ],
84
+ "__experimentalDefaultControls": {
85
+ "width": true
86
+ }
87
+ },
84
88
  "typography": {
85
89
  "__experimentalSkipSerialization": [
86
90
  "fontSize",
@@ -145,6 +149,10 @@
145
149
  "root": ".wp-block-button .wp-block-button__link",
146
150
  "typography": {
147
151
  "writingMode": ".wp-block-button"
152
+ },
153
+ "dimensions": {
154
+ "root": ".wp-block-button",
155
+ "width": ".wp-block-button"
148
156
  }
149
157
  }
150
158
  }