@haklex/rich-compose 0.34.0 → 0.36.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.
@@ -3488,8 +3488,12 @@
3488
3488
  figure.rich-image {
3489
3489
  width: var(--rich-image-display-width, auto);
3490
3490
  max-width: 100%;
3491
+ max-height: var(--rich-image-display-height, none);
3491
3492
  margin-inline: auto;
3492
3493
  }
3494
+ figure.rich-image[data-display="fixed-height"] {
3495
+ width: auto;
3496
+ }
3493
3497
  figure.rich-image[data-layout="align-left"] {
3494
3498
  margin-left: 0;
3495
3499
  margin-right: auto;
@@ -3510,6 +3514,15 @@ figure.rich-image[data-layout="float-right"] {
3510
3514
  width: var(--rich-image-display-width, 42%);
3511
3515
  margin: 0.125rem 0 0.875rem 1.25rem;
3512
3516
  }
3517
+ figure.rich-image[data-display="fixed-height"][data-layout="float-left"], figure.rich-image[data-display="fixed-height"][data-layout="float-right"] {
3518
+ width: auto;
3519
+ }
3520
+ figure.rich-image[data-display="fixed-height"] img {
3521
+ width: auto;
3522
+ height: auto;
3523
+ max-width: 100%;
3524
+ max-height: var(--rich-image-display-height);
3525
+ }
3513
3526
  .rich-image-wrapper[data-layout="float-left"] {
3514
3527
  float: left;
3515
3528
  width: 42%;
@@ -7453,6 +7466,7 @@ figure.rich-image[data-layout="float-right"] {
7453
7466
  text-align: center;
7454
7467
  width: var(--rich-image-display-width, auto);
7455
7468
  max-width: 100%;
7469
+ max-height: var(--rich-image-display-height, none);
7456
7470
  }
7457
7471
  .yvdzu0[data-layout="align-left"] {
7458
7472
  margin-left: 0;
@@ -7474,6 +7488,12 @@ figure.rich-image[data-layout="float-right"] {
7474
7488
  width: var(--rich-image-display-width, 42%);
7475
7489
  margin: 0.125rem 0 0.875rem 1.25rem;
7476
7490
  }
7491
+ .yvdzu0[data-display="fixed-height"] {
7492
+ width: auto;
7493
+ }
7494
+ .yvdzu0[data-layout="float-left"][data-display="fixed-height"], .yvdzu0[data-layout="float-right"][data-display="fixed-height"] {
7495
+ width: auto;
7496
+ }
7477
7497
  .rich-image-wrapper[data-layout^="float"] .yvdzu0 {
7478
7498
  float: none;
7479
7499
  width: auto;
@@ -7529,6 +7549,17 @@ figure.rich-image[data-layout="float-right"] {
7529
7549
  .yvdzua:hover {
7530
7550
  transform: none;
7531
7551
  }
7552
+ .yvdzu0[data-display="fixed-height"] .yvdzu3 {
7553
+ width: auto;
7554
+ height: auto;
7555
+ max-width: 100%;
7556
+ max-height: var(--rich-image-display-height);
7557
+ }
7558
+ .yvdzu0[data-display="fixed-height"] .yvdzu8 {
7559
+ width: auto;
7560
+ max-width: 100%;
7561
+ max-height: var(--rich-image-display-height);
7562
+ }
7532
7563
  .yvdzuc {
7533
7564
  position: absolute;
7534
7565
  width: 1.65rem;
@@ -7818,13 +7849,39 @@ figure.rich-image[data-layout="float-right"] {
7818
7849
  width: fit-content;
7819
7850
  }
7820
7851
  .yvdzu14 {
7852
+ display: flex;
7853
+ flex-direction: column;
7854
+ align-items: stretch;
7855
+ gap: 2px;
7856
+ padding: 4px;
7857
+ font-family: var(--rc-font-family);
7858
+ z-index: 30;
7859
+ }
7860
+ .yvdzu14.yvdzu14 {
7861
+ width: 272px;
7862
+ }
7863
+ .yvdzu15 {
7864
+ display: flex;
7865
+ align-items: center;
7866
+ gap: 4px;
7867
+ min-height: 26px;
7868
+ }
7869
+ .yvdzu16 {
7870
+ display: flex;
7871
+ align-items: center;
7872
+ flex-shrink: 0;
7873
+ gap: 6px;
7874
+ margin-left: auto;
7875
+ padding-left: 8px;
7876
+ }
7877
+ .yvdzu17 {
7821
7878
  position: relative;
7822
7879
  display: flex;
7823
7880
  align-items: center;
7824
- width: 132px;
7881
+ flex: 1;
7825
7882
  height: 24px;
7826
7883
  }
7827
- .yvdzu15 {
7884
+ .yvdzu18 {
7828
7885
  appearance: none;
7829
7886
  width: 100%;
7830
7887
  height: 24px;
@@ -7832,12 +7889,12 @@ figure.rich-image[data-layout="float-right"] {
7832
7889
  background: transparent;
7833
7890
  cursor: pointer;
7834
7891
  }
7835
- .yvdzu15::-webkit-slider-runnable-track {
7892
+ .yvdzu18::-webkit-slider-runnable-track {
7836
7893
  height: 3px;
7837
7894
  border-radius: 9999px;
7838
7895
  background: linear-gradient(to right, var(--rc-text-secondary) var(--fill), var(--rc-fill) var(--fill));
7839
7896
  }
7840
- .yvdzu15::-webkit-slider-thumb {
7897
+ .yvdzu18::-webkit-slider-thumb {
7841
7898
  appearance: none;
7842
7899
  width: 12px;
7843
7900
  height: 12px;
@@ -7848,12 +7905,12 @@ figure.rich-image[data-layout="float-right"] {
7848
7905
  cursor: ew-resize;
7849
7906
  margin-top: -4.5px;
7850
7907
  }
7851
- .yvdzu15::-moz-range-track {
7908
+ .yvdzu18::-moz-range-track {
7852
7909
  height: 3px;
7853
7910
  border-radius: 9999px;
7854
7911
  background: linear-gradient(to right, var(--rc-text-secondary) var(--fill), var(--rc-fill) var(--fill));
7855
7912
  }
7856
- .yvdzu15::-moz-range-thumb {
7913
+ .yvdzu18::-moz-range-thumb {
7857
7914
  appearance: none;
7858
7915
  width: 12px;
7859
7916
  height: 12px;
@@ -7863,7 +7920,7 @@ figure.rich-image[data-layout="float-right"] {
7863
7920
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
7864
7921
  cursor: ew-resize;
7865
7922
  }
7866
- .yvdzu16 {
7923
+ .yvdzu19 {
7867
7924
  position: absolute;
7868
7925
  top: 50%;
7869
7926
  width: 3px;
@@ -7873,14 +7930,42 @@ figure.rich-image[data-layout="float-right"] {
7873
7930
  transform: translate(-50%, -50%);
7874
7931
  pointer-events: none;
7875
7932
  }
7876
- .yvdzu17 {
7877
- min-width: 34px;
7933
+ .yvdzu1a {
7934
+ box-sizing: border-box;
7935
+ width: 52px;
7936
+ height: 26px;
7937
+ display: inline-flex;
7938
+ align-items: center;
7939
+ justify-content: center;
7940
+ border: 1px solid var(--rc-border);
7941
+ border-radius: 6px;
7942
+ background-color: var(--rc-bg-secondary);
7943
+ color: var(--rc-text);
7944
+ font-size: var(--rc-font-size-xs);
7945
+ font-variant-numeric: tabular-nums;
7946
+ text-align: center;
7947
+ line-height: 24px;
7948
+ overflow: hidden;
7949
+ }
7950
+ .yvdzu1b {
7951
+ appearance: none;
7952
+ -moz-appearance: textfield;
7953
+ padding: 0;
7954
+ outline: none;
7955
+ min-width: 0;
7956
+ }
7957
+ .yvdzu1b:focus {
7958
+ border-color: var(--rc-text-secondary);
7959
+ }
7960
+ .yvdzu1c {
7961
+ box-sizing: border-box;
7962
+ width: 48px;
7878
7963
  text-align: right;
7879
7964
  font-size: var(--rc-font-size-xs);
7880
7965
  font-variant-numeric: tabular-nums;
7881
- color: var(--rc-text-secondary);
7966
+ color: var(--rc-text-tertiary);
7882
7967
  }
7883
- .yvdzu18 {
7968
+ .yvdzu1d {
7884
7969
  display: inline-flex;
7885
7970
  align-items: center;
7886
7971
  justify-content: center;
@@ -7895,11 +7980,11 @@ figure.rich-image[data-layout="float-right"] {
7895
7980
  cursor: pointer;
7896
7981
  transition: background-color 0.15s ease, color 0.15s ease;
7897
7982
  }
7898
- .yvdzu18:hover {
7983
+ .yvdzu1d:hover {
7899
7984
  color: var(--rc-text);
7900
7985
  background-color: var(--rc-fill-secondary);
7901
7986
  }
7902
- .yvdzu19 {
7987
+ .yvdzu1e {
7903
7988
  color: var(--rc-text);
7904
7989
  background-color: var(--rc-fill-secondary);
7905
7990
  }