@tangible/ui 0.2.19 → 0.2.20

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.
@@ -227,6 +227,7 @@
227
227
  --tui-modal-radius
228
228
  --tui-modal-padding
229
229
  --tui-modal-shadow
230
+ --tui-modal-foot-gap
230
231
  */
231
232
  /* @tui-tokens
232
233
  --tui-move-handle-size
@@ -5065,9 +5066,22 @@
5065
5066
  padding-inline-end: calc(var(--_padding) + var(--tui-spacing-xl));
5066
5067
  }
5067
5068
  .tui-modal__dialog .tui-modal__foot {
5069
+ --_foot-gap: var(--tui-modal-foot-gap, var(--tui-spacing-sm));
5070
+ --_foot-justify: flex-end;
5068
5071
  padding-block: var(--_padding);
5069
5072
  padding-inline: var(--_padding);
5070
5073
  width: 100%;
5074
+ display: flex;
5075
+ flex-wrap: wrap;
5076
+ align-items: center;
5077
+ justify-content: var(--_foot-justify);
5078
+ gap: var(--_foot-gap);
5079
+ }
5080
+ .tui-modal__dialog .tui-modal__foot[data-justify=start] {
5081
+ --_foot-justify: flex-start;
5082
+ }
5083
+ .tui-modal__dialog .tui-modal__foot[data-justify=between] > :first-child {
5084
+ margin-inline-end: auto;
5071
5085
  }
5072
5086
  .tui-modal__dialog.is-size-sm {
5073
5087
  --_max: var(--tui-modal-max, 480px);
@@ -5261,27 +5275,27 @@
5261
5275
  .tui-interface .tui-move-handle__center {
5262
5276
  position: relative;
5263
5277
  }
5264
- .tui-interface .tui-move-handle.has-index .tui-move-handle__index {
5278
+ .tui-interface .tui-move-handle.has-index:not(.is-arrows) .tui-move-handle__index {
5265
5279
  opacity: 1;
5266
5280
  }
5267
- .tui-interface .tui-move-handle.has-index .tui-move-handle__handle {
5281
+ .tui-interface .tui-move-handle.has-index:not(.is-arrows) .tui-move-handle__handle {
5268
5282
  position: absolute;
5269
5283
  opacity: 0;
5270
5284
  pointer-events: none;
5271
5285
  }
5272
- .tui-interface .tui-move-handle.has-index:hover .tui-move-handle__index, .tui-interface .tui-move-handle.has-index:focus-within .tui-move-handle__index {
5286
+ .tui-interface .tui-move-handle.has-index:not(.is-arrows):hover .tui-move-handle__index, .tui-interface .tui-move-handle.has-index:not(.is-arrows):focus-within .tui-move-handle__index {
5273
5287
  display: none;
5274
5288
  }
5275
- .tui-interface .tui-move-handle.has-index:hover .tui-move-handle__handle, .tui-interface .tui-move-handle.has-index:focus-within .tui-move-handle__handle {
5289
+ .tui-interface .tui-move-handle.has-index:not(.is-arrows):hover .tui-move-handle__handle, .tui-interface .tui-move-handle.has-index:not(.is-arrows):focus-within .tui-move-handle__handle {
5276
5290
  position: static;
5277
5291
  opacity: 1;
5278
5292
  pointer-events: auto;
5279
5293
  }
5280
5294
  @media (hover: none) {
5281
- .tui-interface .tui-move-handle.has-index .tui-move-handle__index {
5295
+ .tui-interface .tui-move-handle.has-index:not(.is-arrows) .tui-move-handle__index {
5282
5296
  display: none;
5283
5297
  }
5284
- .tui-interface .tui-move-handle.has-index .tui-move-handle__handle {
5298
+ .tui-interface .tui-move-handle.has-index:not(.is-arrows) .tui-move-handle__handle {
5285
5299
  position: static;
5286
5300
  opacity: 1;
5287
5301
  pointer-events: auto;
@@ -5293,11 +5307,15 @@
5293
5307
  .tui-interface .tui-move-handle.is-locked {
5294
5308
  pointer-events: none;
5295
5309
  }
5296
- .tui-interface .tui-move-handle.is-arrows {
5310
+ .tui-interface .tui-move-handle.is-arrows:focus-visible {
5311
+ outline: var(--tui-focus-ring-width) solid var(--tui-focus-ring-color);
5312
+ outline-offset: var(--tui-focus-ring-offset);
5313
+ }
5314
+ .tui-interface .tui-move-handle.is-arrows:not(.has-index) {
5297
5315
  min-height: calc(2 * 16px);
5298
5316
  }
5299
- .tui-interface .tui-move-handle.is-arrows .tui-move-handle__up,
5300
- .tui-interface .tui-move-handle.is-arrows .tui-move-handle__down {
5317
+ .tui-interface .tui-move-handle.is-arrows:not(.has-index) .tui-move-handle__up,
5318
+ .tui-interface .tui-move-handle.is-arrows:not(.has-index) .tui-move-handle__down {
5301
5319
  flex: 1;
5302
5320
  min-height: 16px;
5303
5321
  }
@@ -227,6 +227,7 @@
227
227
  --tui-modal-radius
228
228
  --tui-modal-padding
229
229
  --tui-modal-shadow
230
+ --tui-modal-foot-gap
230
231
  */
231
232
  /* @tui-tokens
232
233
  --tui-move-handle-size
@@ -5065,9 +5066,22 @@
5065
5066
  padding-inline-end: calc(var(--_padding) + var(--tui-spacing-xl));
5066
5067
  }
5067
5068
  .tui-modal__dialog .tui-modal__foot {
5069
+ --_foot-gap: var(--tui-modal-foot-gap, var(--tui-spacing-sm));
5070
+ --_foot-justify: flex-end;
5068
5071
  padding-block: var(--_padding);
5069
5072
  padding-inline: var(--_padding);
5070
5073
  width: 100%;
5074
+ display: flex;
5075
+ flex-wrap: wrap;
5076
+ align-items: center;
5077
+ justify-content: var(--_foot-justify);
5078
+ gap: var(--_foot-gap);
5079
+ }
5080
+ .tui-modal__dialog .tui-modal__foot[data-justify=start] {
5081
+ --_foot-justify: flex-start;
5082
+ }
5083
+ .tui-modal__dialog .tui-modal__foot[data-justify=between] > :first-child {
5084
+ margin-inline-end: auto;
5071
5085
  }
5072
5086
  .tui-modal__dialog.is-size-sm {
5073
5087
  --_max: var(--tui-modal-max, 480px);
@@ -5261,27 +5275,27 @@
5261
5275
  .tui-interface .tui-move-handle__center {
5262
5276
  position: relative;
5263
5277
  }
5264
- .tui-interface .tui-move-handle.has-index .tui-move-handle__index {
5278
+ .tui-interface .tui-move-handle.has-index:not(.is-arrows) .tui-move-handle__index {
5265
5279
  opacity: 1;
5266
5280
  }
5267
- .tui-interface .tui-move-handle.has-index .tui-move-handle__handle {
5281
+ .tui-interface .tui-move-handle.has-index:not(.is-arrows) .tui-move-handle__handle {
5268
5282
  position: absolute;
5269
5283
  opacity: 0;
5270
5284
  pointer-events: none;
5271
5285
  }
5272
- .tui-interface .tui-move-handle.has-index:hover .tui-move-handle__index, .tui-interface .tui-move-handle.has-index:focus-within .tui-move-handle__index {
5286
+ .tui-interface .tui-move-handle.has-index:not(.is-arrows):hover .tui-move-handle__index, .tui-interface .tui-move-handle.has-index:not(.is-arrows):focus-within .tui-move-handle__index {
5273
5287
  display: none;
5274
5288
  }
5275
- .tui-interface .tui-move-handle.has-index:hover .tui-move-handle__handle, .tui-interface .tui-move-handle.has-index:focus-within .tui-move-handle__handle {
5289
+ .tui-interface .tui-move-handle.has-index:not(.is-arrows):hover .tui-move-handle__handle, .tui-interface .tui-move-handle.has-index:not(.is-arrows):focus-within .tui-move-handle__handle {
5276
5290
  position: static;
5277
5291
  opacity: 1;
5278
5292
  pointer-events: auto;
5279
5293
  }
5280
5294
  @media (hover: none) {
5281
- .tui-interface .tui-move-handle.has-index .tui-move-handle__index {
5295
+ .tui-interface .tui-move-handle.has-index:not(.is-arrows) .tui-move-handle__index {
5282
5296
  display: none;
5283
5297
  }
5284
- .tui-interface .tui-move-handle.has-index .tui-move-handle__handle {
5298
+ .tui-interface .tui-move-handle.has-index:not(.is-arrows) .tui-move-handle__handle {
5285
5299
  position: static;
5286
5300
  opacity: 1;
5287
5301
  pointer-events: auto;
@@ -5293,11 +5307,15 @@
5293
5307
  .tui-interface .tui-move-handle.is-locked {
5294
5308
  pointer-events: none;
5295
5309
  }
5296
- .tui-interface .tui-move-handle.is-arrows {
5310
+ .tui-interface .tui-move-handle.is-arrows:focus-visible {
5311
+ outline: var(--tui-focus-ring-width) solid var(--tui-focus-ring-color);
5312
+ outline-offset: var(--tui-focus-ring-offset);
5313
+ }
5314
+ .tui-interface .tui-move-handle.is-arrows:not(.has-index) {
5297
5315
  min-height: calc(2 * 16px);
5298
5316
  }
5299
- .tui-interface .tui-move-handle.is-arrows .tui-move-handle__up,
5300
- .tui-interface .tui-move-handle.is-arrows .tui-move-handle__down {
5317
+ .tui-interface .tui-move-handle.is-arrows:not(.has-index) .tui-move-handle__up,
5318
+ .tui-interface .tui-move-handle.is-arrows:not(.has-index) .tui-move-handle__down {
5301
5319
  flex: 1;
5302
5320
  min-height: 16px;
5303
5321
  }