yummy-guide-generic-administrate 0.8.12 → 0.8.13

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5ba6a92509f2b98a13491fb25f85808f471dc3ffaf53d5c3d4a4d5c1b06da3b3
4
- data.tar.gz: 3990affb7c42115e6a7c07f987d895c2bd2ddfc5f82be2e79c71eb1d3a34854e
3
+ metadata.gz: f39b663ae3463f915b180637532395e54c341dafac50ad331dbb600ab7e275ab
4
+ data.tar.gz: c690e6ccabd5efdb8a31b74b8c6b3ff0cebe8c54e694bba11725c663108ed84d
5
5
  SHA512:
6
- metadata.gz: e1000b82bf41b9b4169a30b049d4e53faa1f3fcd3e0c7643619682cb6bbc03fdab1a077637f233545299e18c6e639f838677205a5a3b70ec3f7a4830e8a34403
7
- data.tar.gz: 4f0abf3d64dedab0a39a3a51964cca2d98d8703e2fa2dcd98e7bd4368503534ce5b1330ac2463f8fdb901658cafb72cfcce383fd430d49d89e9e4a2b7736a922
6
+ metadata.gz: ff05d854eaa89f3110eec3936ea31ee769c14a6787ca3dad63070957b38ebc9e185a9a36536f7fcfe86bba2525e15d3ea9929caf16416534b609ab371be07238
7
+ data.tar.gz: 436be499cc212d05255da8a299ca251a50390199ba73bcd9de6c560e614e3d173df728dd9910e27a25c430fed4e729f190ed74187fda3047e1b45ae3446aa93f
@@ -382,6 +382,21 @@ body {
382
382
  margin-left: auto;
383
383
  }
384
384
 
385
+ td.cell-data > .admin-copy-cell {
386
+ box-sizing: border-box;
387
+ width: 100%;
388
+ min-width: 0;
389
+ max-width: 100%;
390
+ }
391
+
392
+ td.cell-data > .admin-copy-cell > .admin-copy-cell__content {
393
+ min-width: 0;
394
+ flex: 1 1 auto;
395
+ white-space: inherit;
396
+ overflow-wrap: anywhere;
397
+ word-break: break-word;
398
+ }
399
+
385
400
  .attribute-data .admin-copy-cell {
386
401
  display: inline-flex;
387
402
  width: auto;
@@ -2,6 +2,6 @@
2
2
 
3
3
  module YummyGuide
4
4
  module Administrate
5
- VERSION = "0.8.12"
5
+ VERSION = "0.8.13"
6
6
  end
7
7
  end
@@ -416,12 +416,17 @@ RSpec.describe "column resizer assets" do
416
416
  expect(javascript_source).not_to include("initializeAdjustedColumnWidths")
417
417
  end
418
418
 
419
- # 未調整のコピーセルは内容とコピーアイコンを1行で収める幅を自然幅として使うことを確認する
420
- it "keeps copy cells on one line until a column width is adjusted" do
419
+ # 未調整のコピーセルもテーブルセル幅の中で縮み、必要に応じて折り返されることを静的に確認する
420
+ it "allows table copy cells to wrap before a column width is adjusted" do
421
421
  expect(components_source).to include("display: inline-flex")
422
- expect(components_source).to include("width: max-content")
423
- expect(components_source).to include("min-width: max-content")
424
- expect(components_source).to include("white-space: nowrap")
422
+ expect(components_source).to include("td.cell-data > .admin-copy-cell")
423
+ expect(components_source).to include("width: 100%;")
424
+ expect(components_source).to include("min-width: 0;")
425
+ expect(components_source).to include("max-width: 100%;")
426
+ expect(components_source).to include("td.cell-data > .admin-copy-cell > .admin-copy-cell__content")
427
+ expect(components_source).to include("white-space: inherit;")
428
+ expect(components_source).to include("overflow-wrap: anywhere;")
429
+ expect(components_source).to include("word-break: break-word;")
425
430
  expect(components_source).to include("--admin-copy-cell-width-offset: 1.85rem")
426
431
  expect(stylesheet_source).to include("> .admin-copy-cell")
427
432
  expect(stylesheet_source).to include("width: 100% !important")
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yummy-guide-generic-administrate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.12
4
+ version: 0.8.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - akatsuki-kk
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-06-19 00:00:00.000000000 Z
11
+ date: 2026-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: administrate