@citrusworx/juiceui 0.9.3 → 0.9.5

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.
package/dist/index.css CHANGED
@@ -101082,6 +101082,75 @@ nav[type=actions] a:hover {
101082
101082
  transform: translateX(-0.5rem);
101083
101083
  }
101084
101084
 
101085
+ :root,
101086
+ [theme] {
101087
+ --juice-pressable-hover-ring: currentColor;
101088
+ --juice-pressable-pressed-ring: currentColor;
101089
+ --juice-pressable-focus-ring: currentColor;
101090
+ }
101091
+
101092
+ :root {
101093
+ --juice-pressable-radius: 0.375rem;
101094
+ --juice-pressable-duration: var(--juice-motion-duration-fast);
101095
+ --juice-pressable-easing: var(--juice-motion-ease-standard);
101096
+ --juice-pressable-scale: 0.98;
101097
+ }
101098
+
101099
+ [pressable],
101100
+ [theme] [pressable] {
101101
+ cursor: pointer;
101102
+ touch-action: manipulation;
101103
+ -webkit-tap-highlight-color: transparent;
101104
+ -webkit-user-select: none;
101105
+ user-select: none;
101106
+ border-radius: var(--juice-pressable-radius);
101107
+ transition: box-shadow var(--juice-pressable-duration) var(--juice-pressable-easing);
101108
+ }
101109
+
101110
+ @media (hover: hover) {
101111
+ [pressable]:hover:where(:not(:disabled):not([disabled]):not([aria-disabled=true])),
101112
+ [theme] [pressable]:hover:where(:not(:disabled):not([disabled]):not([aria-disabled=true])) {
101113
+ box-shadow: inset 0 0 0 1px var(--juice-pressable-hover-ring);
101114
+ }
101115
+ }
101116
+ [pressable]:is(:active, [pressed]):where(:not(:disabled):not([disabled]):not([aria-disabled=true])),
101117
+ [theme] [pressable]:is(:active, [pressed]):where(:not(:disabled):not([disabled]):not([aria-disabled=true])) {
101118
+ box-shadow: inset 0 0 0 2px var(--juice-pressable-pressed-ring);
101119
+ }
101120
+
101121
+ [pressable]:focus-visible,
101122
+ [theme] [pressable]:focus-visible {
101123
+ outline: 2px solid var(--juice-pressable-focus-ring);
101124
+ outline-offset: 2px;
101125
+ }
101126
+
101127
+ [pressable=scale],
101128
+ [theme] [pressable=scale] {
101129
+ transition: box-shadow var(--juice-pressable-duration) var(--juice-pressable-easing), transform var(--juice-pressable-duration) var(--juice-pressable-easing);
101130
+ }
101131
+
101132
+ [pressable=scale]:is(:active, [pressed]):where(:not(:disabled):not([disabled]):not([aria-disabled=true])),
101133
+ [theme] [pressable=scale]:is(:active, [pressed]):where(:not(:disabled):not([disabled]):not([aria-disabled=true])) {
101134
+ transform: scale(var(--juice-pressable-scale));
101135
+ }
101136
+
101137
+ [pressable]:is(:disabled, [disabled], [aria-disabled=true]),
101138
+ [theme] [pressable]:is(:disabled, [disabled], [aria-disabled=true]) {
101139
+ cursor: default;
101140
+ }
101141
+
101142
+ @media (prefers-reduced-motion: reduce) {
101143
+ [pressable],
101144
+ [theme] [pressable],
101145
+ [pressable=scale],
101146
+ [theme] [pressable=scale] {
101147
+ transition: none;
101148
+ }
101149
+ [pressable=scale]:is(:active, [pressed]),
101150
+ [theme] [pressable=scale]:is(:active, [pressed]) {
101151
+ transform: none;
101152
+ }
101153
+ }
101085
101154
  [pagination],
101086
101155
  [theme] [pagination] {
101087
101156
  display: flex;
@@ -102072,6 +102141,297 @@ button[radio][aria-disabled=true],
102072
102141
  transition: none;
102073
102142
  }
102074
102143
  }
102144
+ @property --juice-touchable-row-ink {
102145
+ syntax: "<color>";
102146
+ inherits: true;
102147
+ initial-value: #000;
102148
+ }
102149
+ :root,
102150
+ [theme] {
102151
+ --juice-touchable-row-ink: currentColor;
102152
+ --juice-touchable-row-divider: color-mix(in srgb, var(--juice-touchable-row-ink) 28%, transparent);
102153
+ --juice-touchable-row-selected: var(--juice-touchable-row-ink);
102154
+ --juice-touchable-row-chevron: var(--juice-touchable-row-ink);
102155
+ --juice-touchable-row-subtitle: var(--juice-touchable-row-ink);
102156
+ }
102157
+
102158
+ :root {
102159
+ --juice-touchable-row-min-height: 44px;
102160
+ --juice-touchable-row-padding: 0.75rem 1rem;
102161
+ --juice-touchable-row-padding-dense: 0.5rem 0.75rem;
102162
+ --juice-touchable-row-gap: 0.75rem;
102163
+ --juice-touchable-row-gap-dense: 0.5rem;
102164
+ --juice-touchable-row-radius: 0.375rem;
102165
+ --juice-touchable-row-selected-width: 3px;
102166
+ --juice-touchable-row-line-clamp: 2;
102167
+ }
102168
+
102169
+ :where(a, button, li, div)[touchable-row],
102170
+ [theme] :where(a, button, li, div)[touchable-row] {
102171
+ display: flex;
102172
+ flex-direction: row;
102173
+ flex-wrap: nowrap;
102174
+ align-items: stretch;
102175
+ justify-content: flex-start;
102176
+ gap: 0;
102177
+ box-sizing: border-box;
102178
+ width: 100%;
102179
+ min-width: 0;
102180
+ max-width: 100%;
102181
+ min-height: var(--juice-touchable-row-min-height);
102182
+ margin: 0;
102183
+ padding: var(--juice-touchable-row-padding);
102184
+ border-style: solid;
102185
+ border-color: transparent;
102186
+ border-block-width: 0;
102187
+ border-inline-end-width: 0;
102188
+ border-inline-start-width: var(--juice-touchable-row-selected-width);
102189
+ background-color: transparent;
102190
+ background-image: none;
102191
+ box-shadow: none;
102192
+ transform: none;
102193
+ color: var(--juice-touchable-row-ink);
102194
+ font: inherit;
102195
+ line-height: inherit;
102196
+ text-align: start;
102197
+ text-decoration: none;
102198
+ appearance: none;
102199
+ -webkit-appearance: none;
102200
+ }
102201
+
102202
+ :where(a, button, li, div)[touchable-row]:not([pressable]),
102203
+ [theme] :where(a, button, li, div)[touchable-row]:not([pressable]) {
102204
+ border-radius: var(--juice-touchable-row-radius);
102205
+ }
102206
+
102207
+ :where(a, button, li, div)[touchable-row~=dense],
102208
+ [theme] :where(a, button, li, div)[touchable-row~=dense] {
102209
+ padding: var(--juice-touchable-row-padding-dense);
102210
+ }
102211
+
102212
+ :where(a, button, li, div)[touchable-row] > [touchable-row-leading],
102213
+ [theme] :where(a, button, li, div)[touchable-row] > [touchable-row-leading] {
102214
+ display: inline-flex;
102215
+ flex: 0 0 auto;
102216
+ align-items: center;
102217
+ align-self: center;
102218
+ justify-content: center;
102219
+ gap: var(--juice-touchable-row-gap);
102220
+ box-sizing: border-box;
102221
+ min-width: 0;
102222
+ margin: 0;
102223
+ margin-inline-end: var(--juice-touchable-row-gap);
102224
+ padding: 0;
102225
+ color: var(--juice-touchable-row-ink);
102226
+ background: transparent;
102227
+ background-image: none;
102228
+ border: none;
102229
+ box-shadow: none;
102230
+ }
102231
+
102232
+ :where(a, button, li, div)[touchable-row~=dense] > [touchable-row-leading],
102233
+ [theme] :where(a, button, li, div)[touchable-row~=dense] > [touchable-row-leading] {
102234
+ gap: var(--juice-touchable-row-gap-dense);
102235
+ margin-inline-end: var(--juice-touchable-row-gap-dense);
102236
+ }
102237
+
102238
+ :where(a, button, li, div)[touchable-row] > [touchable-row-content],
102239
+ [theme] :where(a, button, li, div)[touchable-row] > [touchable-row-content] {
102240
+ display: flex;
102241
+ flex: 1 1 auto;
102242
+ flex-direction: column;
102243
+ align-items: stretch;
102244
+ align-self: stretch;
102245
+ justify-content: center;
102246
+ gap: 0.125rem;
102247
+ box-sizing: border-box;
102248
+ min-width: 0;
102249
+ max-width: 100%;
102250
+ margin: 0;
102251
+ padding: 0;
102252
+ color: var(--juice-touchable-row-ink);
102253
+ background: transparent;
102254
+ background-image: none;
102255
+ border: none;
102256
+ box-shadow: none;
102257
+ }
102258
+
102259
+ :where(a, button, li, div)[touchable-row] > [touchable-row-title],
102260
+ [theme] :where(a, button, li, div)[touchable-row] > [touchable-row-title] {
102261
+ flex: 1 1 auto;
102262
+ align-self: stretch;
102263
+ box-sizing: border-box;
102264
+ min-width: 0;
102265
+ max-width: 100%;
102266
+ margin: 0;
102267
+ padding: 0;
102268
+ color: var(--juice-touchable-row-ink);
102269
+ background: transparent;
102270
+ background-image: none;
102271
+ border: none;
102272
+ box-shadow: none;
102273
+ }
102274
+
102275
+ :where(a, button, li, div)[touchable-row] > [touchable-row-trailing],
102276
+ [theme] :where(a, button, li, div)[touchable-row] > [touchable-row-trailing] {
102277
+ display: inline-flex;
102278
+ flex: 0 0 auto;
102279
+ align-items: center;
102280
+ align-self: stretch;
102281
+ justify-content: flex-end;
102282
+ gap: var(--juice-touchable-row-gap);
102283
+ box-sizing: border-box;
102284
+ min-width: 0;
102285
+ max-width: 100%;
102286
+ margin: 0;
102287
+ padding: 0;
102288
+ padding-inline-start: var(--juice-touchable-row-gap);
102289
+ color: var(--juice-touchable-row-ink);
102290
+ background: transparent;
102291
+ background-image: none;
102292
+ border: none;
102293
+ box-shadow: none;
102294
+ white-space: nowrap;
102295
+ }
102296
+
102297
+ :where(a, button, li, div)[touchable-row~=dense] > [touchable-row-trailing],
102298
+ [theme] :where(a, button, li, div)[touchable-row~=dense] > [touchable-row-trailing] {
102299
+ gap: var(--juice-touchable-row-gap-dense);
102300
+ padding-inline-start: var(--juice-touchable-row-gap-dense);
102301
+ }
102302
+
102303
+ [touchable-row-leading] :is([avatar], [icon]),
102304
+ [touchable-row-trailing] :is([avatar], [icon], [icon-button], [switch], [badge]),
102305
+ [theme] [touchable-row-leading] :is([avatar], [icon]),
102306
+ [theme] [touchable-row-trailing] :is([avatar], [icon], [icon-button], [switch], [badge]) {
102307
+ flex: 0 0 auto;
102308
+ }
102309
+
102310
+ [touchable-row-title],
102311
+ [touchable-row-subtitle],
102312
+ [theme] [touchable-row-title],
102313
+ [theme] [touchable-row-subtitle] {
102314
+ display: block;
102315
+ box-sizing: border-box;
102316
+ min-width: 0;
102317
+ max-width: 100%;
102318
+ margin: 0;
102319
+ overflow: hidden;
102320
+ text-overflow: ellipsis;
102321
+ white-space: nowrap;
102322
+ background: transparent;
102323
+ background-image: none;
102324
+ border: none;
102325
+ box-shadow: none;
102326
+ }
102327
+
102328
+ [touchable-row-title],
102329
+ [theme] [touchable-row-title] {
102330
+ color: var(--juice-touchable-row-ink);
102331
+ font-weight: 600;
102332
+ }
102333
+
102334
+ [touchable-row-subtitle],
102335
+ [theme] [touchable-row-subtitle] {
102336
+ color: var(--juice-touchable-row-subtitle);
102337
+ font-size: 0.875em;
102338
+ font-weight: 400;
102339
+ line-height: 1.35;
102340
+ }
102341
+
102342
+ [touchable-row-title=clamp],
102343
+ [touchable-row-subtitle=clamp],
102344
+ [theme] [touchable-row-title=clamp],
102345
+ [theme] [touchable-row-subtitle=clamp] {
102346
+ display: -webkit-box;
102347
+ white-space: normal;
102348
+ text-overflow: ellipsis;
102349
+ -webkit-box-orient: vertical;
102350
+ -webkit-line-clamp: var(--juice-touchable-row-line-clamp);
102351
+ line-clamp: var(--juice-touchable-row-line-clamp);
102352
+ }
102353
+
102354
+ :where(a, button, li, div)[touchable-row]:not([touchable-row~=undivided]):has(+ :where(a, button, li, div)[touchable-row]:not([touchable-row~=undivided])) > :is([touchable-row-content], [touchable-row-trailing], [touchable-row-title]),
102355
+ [theme] :where(a, button, li, div)[touchable-row]:not([touchable-row~=undivided]):has(+ :where(a, button, li, div)[touchable-row]:not([touchable-row~=undivided])) > :is([touchable-row-content], [touchable-row-trailing], [touchable-row-title]) {
102356
+ border-block-end: 1px solid var(--juice-touchable-row-divider);
102357
+ }
102358
+
102359
+ :where(a, button, li, div)[touchable-row~=chevron]::after,
102360
+ [theme] :where(a, button, li, div)[touchable-row~=chevron]::after {
102361
+ content: "";
102362
+ display: block;
102363
+ flex: 0 0 auto;
102364
+ align-self: center;
102365
+ box-sizing: border-box;
102366
+ width: 0.45rem;
102367
+ height: 0.45rem;
102368
+ margin: 0;
102369
+ margin-inline-start: var(--juice-touchable-row-gap);
102370
+ border-style: solid;
102371
+ border-color: var(--juice-touchable-row-chevron);
102372
+ border-width: 0 2px 2px 0;
102373
+ transform: rotate(-45deg);
102374
+ transform-origin: 50% 50%;
102375
+ }
102376
+
102377
+ :where(a, button, li, div)[touchable-row~=dense][touchable-row~=chevron]::after,
102378
+ [theme] :where(a, button, li, div)[touchable-row~=dense][touchable-row~=chevron]::after {
102379
+ margin-inline-start: var(--juice-touchable-row-gap-dense);
102380
+ }
102381
+
102382
+ :dir(rtl) :where(a, button, li, div)[touchable-row~=chevron]::after,
102383
+ [dir=rtl] :where(a, button, li, div)[touchable-row~=chevron]::after,
102384
+ :dir(rtl) [theme] :where(a, button, li, div)[touchable-row~=chevron]::after,
102385
+ [dir=rtl] [theme] :where(a, button, li, div)[touchable-row~=chevron]::after {
102386
+ border-width: 0 0 2px 2px;
102387
+ transform: rotate(45deg);
102388
+ }
102389
+
102390
+ :where(a, button, li, div)[touchable-row]:is([selected], [aria-selected=true], [aria-current]:not([aria-current=false])),
102391
+ [theme] :where(a, button, li, div)[touchable-row]:is([selected], [aria-selected=true], [aria-current]:not([aria-current=false])) {
102392
+ border-inline-start-color: var(--juice-touchable-row-selected);
102393
+ color: var(--juice-touchable-row-ink);
102394
+ text-decoration: none;
102395
+ }
102396
+
102397
+ :where(a, button, li, div)[touchable-row]:is(:hover, :active, :focus-visible),
102398
+ [theme] :where(a, button, li, div)[touchable-row]:is(:hover, :active, :focus-visible) {
102399
+ color: var(--juice-touchable-row-ink);
102400
+ text-decoration: none;
102401
+ }
102402
+
102403
+ :where(a, button, li, div)[touchable-row]:focus-visible,
102404
+ [theme] :where(a, button, li, div)[touchable-row]:focus-visible {
102405
+ outline: 2px solid currentColor;
102406
+ outline-offset: 2px;
102407
+ }
102408
+
102409
+ :where(a, button, li, div)[touchable-row]:is(:disabled, [disabled], [aria-disabled=true]),
102410
+ [theme] :where(a, button, li, div)[touchable-row]:is(:disabled, [disabled], [aria-disabled=true]) {
102411
+ opacity: 0.5;
102412
+ cursor: default;
102413
+ color: var(--juice-touchable-row-ink);
102414
+ background-color: transparent;
102415
+ background-image: none;
102416
+ text-decoration: none;
102417
+ }
102418
+
102419
+ :where(a, button, li, div)[touchable-row]:is(:disabled, [disabled], [aria-disabled=true]):is(:hover, :active),
102420
+ [theme] :where(a, button, li, div)[touchable-row]:is(:disabled, [disabled], [aria-disabled=true]):is(:hover, :active) {
102421
+ color: var(--juice-touchable-row-ink);
102422
+ background-color: transparent;
102423
+ background-image: none;
102424
+ text-decoration: none;
102425
+ }
102426
+
102427
+ @media (prefers-reduced-motion: reduce) {
102428
+ :where(a, button, li, div)[touchable-row],
102429
+ [theme] :where(a, button, li, div)[touchable-row],
102430
+ :where(a, button, li, div)[touchable-row~=chevron]::after,
102431
+ [theme] :where(a, button, li, div)[touchable-row~=chevron]::after {
102432
+ transition: none;
102433
+ }
102434
+ }
102075
102435
  :root {
102076
102436
  --juice-safe-area-pad: 1rem;
102077
102437
  }
@@ -102126,6 +102486,111 @@ nav[sticky] > [container][safe-area=y],
102126
102486
  box-sizing: border-box;
102127
102487
  }
102128
102488
 
102489
+ @property --juice-keyboard-inset {
102490
+ syntax: "<length>";
102491
+ inherits: true;
102492
+ initial-value: 0px;
102493
+ }
102494
+ :root {
102495
+ --juice-keyboard-inset: 0px;
102496
+ --juice-keyboard-duration: var(--juice-motion-duration-base);
102497
+ --juice-keyboard-easing: var(--juice-motion-ease-enter);
102498
+ }
102499
+
102500
+ @supports (height: env(keyboard-inset-height)) {
102501
+ :root {
102502
+ --juice-keyboard-inset: env(keyboard-inset-height, 0px);
102503
+ }
102504
+ }
102505
+ [keyboard-avoider]:not([keyboard-avoider~=padding]):not([keyboard-avoider~=translate]):not([keyboard-avoider~=footer]),
102506
+ [theme] [keyboard-avoider]:not([keyboard-avoider~=padding]):not([keyboard-avoider~=translate]):not([keyboard-avoider~=footer]),
102507
+ nav[fixed] > [container][keyboard-avoider]:not([keyboard-avoider~=padding]):not([keyboard-avoider~=translate]):not([keyboard-avoider~=footer]),
102508
+ nav[sticky] > [container][keyboard-avoider]:not([keyboard-avoider~=padding]):not([keyboard-avoider~=translate]):not([keyboard-avoider~=footer]),
102509
+ [wizard-header] > [container][keyboard-avoider]:not([keyboard-avoider~=padding]):not([keyboard-avoider~=translate]):not([keyboard-avoider~=footer]) {
102510
+ padding-bottom: var(--juice-keyboard-inset);
102511
+ box-sizing: border-box;
102512
+ }
102513
+
102514
+ [keyboard-avoider~=padding],
102515
+ [theme] [keyboard-avoider~=padding],
102516
+ nav[fixed] > [container][keyboard-avoider~=padding],
102517
+ nav[sticky] > [container][keyboard-avoider~=padding],
102518
+ [wizard-header] > [container][keyboard-avoider~=padding] {
102519
+ padding-bottom: var(--juice-keyboard-inset);
102520
+ box-sizing: border-box;
102521
+ }
102522
+
102523
+ [keyboard-avoider~=translate],
102524
+ [theme] [keyboard-avoider~=translate],
102525
+ nav[fixed] > [container][keyboard-avoider~=translate],
102526
+ nav[sticky] > [container][keyboard-avoider~=translate],
102527
+ [wizard-header] > [container][keyboard-avoider~=translate] {
102528
+ transform: translateY(calc(-1 * var(--juice-keyboard-inset)));
102529
+ transition: transform var(--juice-keyboard-duration) var(--juice-keyboard-easing);
102530
+ }
102531
+
102532
+ [keyboard-avoider~=footer],
102533
+ [theme] [keyboard-avoider~=footer],
102534
+ nav[fixed] > [container][keyboard-avoider~=footer],
102535
+ nav[sticky] > [container][keyboard-avoider~=footer],
102536
+ [wizard-header] > [container][keyboard-avoider~=footer] {
102537
+ position: sticky;
102538
+ bottom: var(--juice-keyboard-inset);
102539
+ }
102540
+
102541
+ nav[fixed][keyboard-avoider~=footer],
102542
+ [theme] nav[fixed][keyboard-avoider~=footer] {
102543
+ bottom: auto;
102544
+ }
102545
+
102546
+ [safe-area]:not([safe-area=top]):not([safe-area=bottom]):not([safe-area=x]):not([safe-area=y])[keyboard-avoider]:not([keyboard-avoider~=padding]):not([keyboard-avoider~=translate]):not([keyboard-avoider~=footer]),
102547
+ [theme] [safe-area]:not([safe-area=top]):not([safe-area=bottom]):not([safe-area=x]):not([safe-area=y])[keyboard-avoider]:not([keyboard-avoider~=padding]):not([keyboard-avoider~=translate]):not([keyboard-avoider~=footer]),
102548
+ nav[fixed] > [container][safe-area]:not([safe-area=top]):not([safe-area=bottom]):not([safe-area=x]):not([safe-area=y])[keyboard-avoider]:not([keyboard-avoider~=padding]):not([keyboard-avoider~=translate]):not([keyboard-avoider~=footer]),
102549
+ nav[sticky] > [container][safe-area]:not([safe-area=top]):not([safe-area=bottom]):not([safe-area=x]):not([safe-area=y])[keyboard-avoider]:not([keyboard-avoider~=padding]):not([keyboard-avoider~=translate]):not([keyboard-avoider~=footer]),
102550
+ [wizard-header] > [container][safe-area]:not([safe-area=top]):not([safe-area=bottom]):not([safe-area=x]):not([safe-area=y])[keyboard-avoider]:not([keyboard-avoider~=padding]):not([keyboard-avoider~=translate]):not([keyboard-avoider~=footer]),
102551
+ [safe-area]:not([safe-area=top]):not([safe-area=bottom]):not([safe-area=x]):not([safe-area=y])[keyboard-avoider~=padding],
102552
+ [theme] [safe-area]:not([safe-area=top]):not([safe-area=bottom]):not([safe-area=x]):not([safe-area=y])[keyboard-avoider~=padding],
102553
+ nav[fixed] > [container][safe-area]:not([safe-area=top]):not([safe-area=bottom]):not([safe-area=x]):not([safe-area=y])[keyboard-avoider~=padding],
102554
+ nav[sticky] > [container][safe-area]:not([safe-area=top]):not([safe-area=bottom]):not([safe-area=x]):not([safe-area=y])[keyboard-avoider~=padding],
102555
+ [wizard-header] > [container][safe-area]:not([safe-area=top]):not([safe-area=bottom]):not([safe-area=x]):not([safe-area=y])[keyboard-avoider~=padding] {
102556
+ padding-bottom: max(var(--juice-safe-area-pad), env(safe-area-inset-bottom, 0px), var(--juice-keyboard-inset));
102557
+ }
102558
+
102559
+ [safe-area=bottom][keyboard-avoider]:not([keyboard-avoider~=padding]):not([keyboard-avoider~=translate]):not([keyboard-avoider~=footer]),
102560
+ [theme] [safe-area=bottom][keyboard-avoider]:not([keyboard-avoider~=padding]):not([keyboard-avoider~=translate]):not([keyboard-avoider~=footer]),
102561
+ nav[fixed] > [container][safe-area=bottom][keyboard-avoider]:not([keyboard-avoider~=padding]):not([keyboard-avoider~=translate]):not([keyboard-avoider~=footer]),
102562
+ nav[sticky] > [container][safe-area=bottom][keyboard-avoider]:not([keyboard-avoider~=padding]):not([keyboard-avoider~=translate]):not([keyboard-avoider~=footer]),
102563
+ [wizard-header] > [container][safe-area=bottom][keyboard-avoider]:not([keyboard-avoider~=padding]):not([keyboard-avoider~=translate]):not([keyboard-avoider~=footer]),
102564
+ [safe-area=bottom][keyboard-avoider~=padding],
102565
+ [theme] [safe-area=bottom][keyboard-avoider~=padding],
102566
+ nav[fixed] > [container][safe-area=bottom][keyboard-avoider~=padding],
102567
+ nav[sticky] > [container][safe-area=bottom][keyboard-avoider~=padding],
102568
+ [wizard-header] > [container][safe-area=bottom][keyboard-avoider~=padding] {
102569
+ padding-bottom: max(var(--juice-safe-area-pad), env(safe-area-inset-bottom, 0px), var(--juice-keyboard-inset));
102570
+ }
102571
+
102572
+ [safe-area=y][keyboard-avoider]:not([keyboard-avoider~=padding]):not([keyboard-avoider~=translate]):not([keyboard-avoider~=footer]),
102573
+ [theme] [safe-area=y][keyboard-avoider]:not([keyboard-avoider~=padding]):not([keyboard-avoider~=translate]):not([keyboard-avoider~=footer]),
102574
+ nav[fixed] > [container][safe-area=y][keyboard-avoider]:not([keyboard-avoider~=padding]):not([keyboard-avoider~=translate]):not([keyboard-avoider~=footer]),
102575
+ nav[sticky] > [container][safe-area=y][keyboard-avoider]:not([keyboard-avoider~=padding]):not([keyboard-avoider~=translate]):not([keyboard-avoider~=footer]),
102576
+ [wizard-header] > [container][safe-area=y][keyboard-avoider]:not([keyboard-avoider~=padding]):not([keyboard-avoider~=translate]):not([keyboard-avoider~=footer]),
102577
+ [safe-area=y][keyboard-avoider~=padding],
102578
+ [theme] [safe-area=y][keyboard-avoider~=padding],
102579
+ nav[fixed] > [container][safe-area=y][keyboard-avoider~=padding],
102580
+ nav[sticky] > [container][safe-area=y][keyboard-avoider~=padding],
102581
+ [wizard-header] > [container][safe-area=y][keyboard-avoider~=padding] {
102582
+ padding-bottom: max(var(--juice-safe-area-pad), env(safe-area-inset-bottom, 0px), var(--juice-keyboard-inset));
102583
+ }
102584
+
102585
+ @media (prefers-reduced-motion: reduce) {
102586
+ [keyboard-avoider~=translate],
102587
+ [theme] [keyboard-avoider~=translate],
102588
+ nav[fixed] > [container][keyboard-avoider~=translate],
102589
+ nav[sticky] > [container][keyboard-avoider~=translate],
102590
+ [wizard-header] > [container][keyboard-avoider~=translate] {
102591
+ transition: none;
102592
+ }
102593
+ }
102129
102594
  [search-panel] {
102130
102595
  max-width: 56rem;
102131
102596
  margin: 0 auto;
package/dist/index.d.ts CHANGED
@@ -55,6 +55,12 @@ export { createAvatar, initAvatar, startAvatarRuntime, stopAvatarRuntime } from
55
55
  export type { AvatarController, AvatarOptions, AvatarState } from "./js/src/avatar/avatar-runtime.js";
56
56
  export { createTable, initTable, startTableRuntime, stopTableRuntime } from "./js/src/table/table-runtime.js";
57
57
  export type { TableController, TableOptions, TableSortDirection, TableState } from "./js/src/table/table-runtime.js";
58
+ export { createPressable, initPressable, startPressableRuntime, stopPressableRuntime } from "./js/src/pressable/pressable-runtime.js";
59
+ export type { PressableController, PressableOptions, PressableState } from "./js/src/pressable/pressable-runtime.js";
60
+ export { createTouchableRow, initTouchableRow, startTouchableRowRuntime, stopTouchableRowRuntime } from "./js/src/touchable-row/touchable-row-runtime.js";
61
+ export type { TouchableRowController, TouchableRowOptions, TouchableRowState } from "./js/src/touchable-row/touchable-row-runtime.js";
62
+ export { createKeyboardAvoider, initKeyboardAvoider, startKeyboardAvoiderRuntime, stopKeyboardAvoiderRuntime } from "./js/src/keyboard-avoider/keyboard-avoider-runtime.js";
63
+ export type { KeyboardAvoiderController, KeyboardAvoiderOptions, KeyboardAvoiderState } from "./js/src/keyboard-avoider/keyboard-avoider-runtime.js";
58
64
  export { prefersReducedMotion, subscribeReducedMotion, createMotionCancelToken, runMotion, createElementMotion } from "./js/src/shared/motion.js";
59
65
  export type { MotionCancelToken, MotionDirection, MotionPlayer, MotionResult, MotionState } from "./js/src/shared/motion.js";
60
66
  export { JUICE_CHANGE_EVENT } from "./js/src/shared/change.js";