@tangible/ui 0.0.17 → 0.0.18

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.
@@ -224,6 +224,17 @@
224
224
  --tui-pager-gap
225
225
  */
226
226
  /* @tui-tokens
227
+ --tui-popover-bg
228
+ --tui-popover-fg
229
+ --tui-popover-radius
230
+ --tui-popover-shadow
231
+ --tui-popover-border
232
+ --tui-popover-z
233
+ --tui-popover-min-width
234
+ --tui-popover-max-width
235
+ --tui-popover-padding
236
+ */
237
+ /* @tui-tokens
227
238
  --tui-radio-accent
228
239
  --tui-radio-size
229
240
  --tui-radio-border
@@ -4095,6 +4106,30 @@
4095
4106
  align-items: center;
4096
4107
  gap: var(--tui-spacing-xs);
4097
4108
  }
4109
+ :where(.tui-interface) .tui-popover {
4110
+ --_bg: var(--tui-popover-bg, var(--tui-color-bg-elevated));
4111
+ --_fg: var(--tui-popover-fg, var(--tui-color-fg));
4112
+ --_radius: var(--tui-popover-radius, var(--tui-radius-sm));
4113
+ --_shadow: var(--tui-popover-shadow, var(--tui-shadow-md));
4114
+ --_z: var(--tui-popover-z, var(--tui-layer-top));
4115
+ --_border: var(--tui-popover-border, var(--tui-color-border));
4116
+ z-index: var(--_z);
4117
+ min-width: var(--tui-popover-min-width, 200px);
4118
+ max-width: var(--tui-popover-max-width, min(360px, 100vw - 32px));
4119
+ padding: var(--tui-popover-padding, var(--tui-spacing-sm, 12px));
4120
+ box-sizing: border-box;
4121
+ pointer-events: auto;
4122
+ background-color: var(--_bg);
4123
+ color: var(--_fg);
4124
+ border-radius: var(--_radius);
4125
+ box-shadow: var(--_shadow);
4126
+ border: 1px solid var(--_border);
4127
+ font-size: var(--tui-typography-size-sm, 14px);
4128
+ line-height: 1.4;
4129
+ }
4130
+ :where(.tui-interface) .tui-popover:focus-visible {
4131
+ outline: none;
4132
+ }
4098
4133
  :where(.tui-interface) .tui-radio-group {
4099
4134
  --_group-gap: var(--tui-radio-group-gap, var(--tui-spacing-xs));
4100
4135
  display: flex;
@@ -224,6 +224,17 @@
224
224
  --tui-pager-gap
225
225
  */
226
226
  /* @tui-tokens
227
+ --tui-popover-bg
228
+ --tui-popover-fg
229
+ --tui-popover-radius
230
+ --tui-popover-shadow
231
+ --tui-popover-border
232
+ --tui-popover-z
233
+ --tui-popover-min-width
234
+ --tui-popover-max-width
235
+ --tui-popover-padding
236
+ */
237
+ /* @tui-tokens
227
238
  --tui-radio-accent
228
239
  --tui-radio-size
229
240
  --tui-radio-border
@@ -4095,6 +4106,30 @@
4095
4106
  align-items: center;
4096
4107
  gap: var(--tui-spacing-xs);
4097
4108
  }
4109
+ :where(.tui-interface) .tui-popover {
4110
+ --_bg: var(--tui-popover-bg, var(--tui-color-bg-elevated));
4111
+ --_fg: var(--tui-popover-fg, var(--tui-color-fg));
4112
+ --_radius: var(--tui-popover-radius, var(--tui-radius-sm));
4113
+ --_shadow: var(--tui-popover-shadow, var(--tui-shadow-md));
4114
+ --_z: var(--tui-popover-z, var(--tui-layer-top));
4115
+ --_border: var(--tui-popover-border, var(--tui-color-border));
4116
+ z-index: var(--_z);
4117
+ min-width: var(--tui-popover-min-width, 200px);
4118
+ max-width: var(--tui-popover-max-width, min(360px, 100vw - 32px));
4119
+ padding: var(--tui-popover-padding, var(--tui-spacing-sm, 12px));
4120
+ box-sizing: border-box;
4121
+ pointer-events: auto;
4122
+ background-color: var(--_bg);
4123
+ color: var(--_fg);
4124
+ border-radius: var(--_radius);
4125
+ box-shadow: var(--_shadow);
4126
+ border: 1px solid var(--_border);
4127
+ font-size: var(--tui-typography-size-sm, 14px);
4128
+ line-height: 1.4;
4129
+ }
4130
+ :where(.tui-interface) .tui-popover:focus-visible {
4131
+ outline: none;
4132
+ }
4098
4133
  :where(.tui-interface) .tui-radio-group {
4099
4134
  --_group-gap: var(--tui-radio-group-gap, var(--tui-spacing-xs));
4100
4135
  display: flex;