@revikornmann/muka-ui 0.43.0 → 0.43.1

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.
@@ -2257,13 +2257,13 @@ body {
2257
2257
  --emptystate-container-padding-md: 2rem;
2258
2258
  --emptystate-container-padding-lg: 3rem;
2259
2259
  --emptystate-container-gap: 1rem;
2260
- --emptystate-container-maxWidth: 24rem;
2260
+ --emptystate-container-maxWidth: 40rem;
2261
2261
  --emptystate-icon-size-sm: 2rem;
2262
2262
  --emptystate-icon-size-md: 3rem;
2263
2263
  --emptystate-icon-size-lg: 4rem;
2264
2264
  --emptystate-icon-color: #606060;
2265
2265
  --emptystate-title-color: #eeeeee;
2266
- --emptystate-description-color: #606060;
2266
+ --emptystate-description-color: #eeeeee;
2267
2267
  --emptystate-actions-gap: 0.75rem;
2268
2268
  --emptystate-actions-marginTop: 1rem;
2269
2269
  --documentviewer-container-background: #111111;
@@ -2975,6 +2975,169 @@ body {
2975
2975
  }
2976
2976
 
2977
2977
 
2978
+ /* Toggle */
2979
+ /* Toggle Component Styles - Using Muka Design Tokens */
2980
+
2981
+ /* Wrapper container */
2982
+ .muka-toggle {
2983
+ display: flex;
2984
+ align-items: center;
2985
+ gap: var(--spacing-2);
2986
+ position: relative;
2987
+ padding: var(--spacing-4) 0;
2988
+ }
2989
+
2990
+ .muka-toggle--with-caption {
2991
+ padding: var(--spacing-5) 0;
2992
+ }
2993
+
2994
+ .muka-toggle--disabled {
2995
+ opacity: 0.6;
2996
+ }
2997
+
2998
+ /* Icon */
2999
+ .muka-toggle__icon {
3000
+ display: flex;
3001
+ align-items: center;
3002
+ justify-content: center;
3003
+ flex-shrink: 0;
3004
+ width: var(--icon-size-default);
3005
+ height: var(--icon-size-default);
3006
+ color: var(--color-text-default-default);
3007
+ }
3008
+
3009
+ .muka-toggle__icon svg {
3010
+ width: 100%;
3011
+ height: 100%;
3012
+ }
3013
+
3014
+ /* Content area (label + caption) */
3015
+ .muka-toggle__content {
3016
+ display: flex;
3017
+ flex-direction: column;
3018
+ flex: 1;
3019
+ min-width: 0;
3020
+ gap: var(--spacing-1);
3021
+ }
3022
+
3023
+ /* Label */
3024
+ .muka-toggle__label {
3025
+ font-family: var(--text-label-lg-regular-fontFamily);
3026
+ font-weight: var(--text-label-lg-regular-fontWeight);
3027
+ font-size: var(--text-label-lg-regular-fontSize);
3028
+ line-height: var(--text-label-lg-regular-lineHeight);
3029
+ color: var(--color-text-default-default);
3030
+ cursor: pointer;
3031
+ }
3032
+
3033
+ .muka-toggle--with-caption .muka-toggle__label {
3034
+ font-family: var(--text-label-lg-semibold-fontFamily);
3035
+ font-weight: var(--text-label-lg-semibold-fontWeight);
3036
+ font-size: var(--text-label-lg-semibold-fontSize);
3037
+ line-height: var(--text-label-lg-semibold-lineHeight);
3038
+ }
3039
+
3040
+ .muka-toggle--disabled .muka-toggle__label {
3041
+ color: var(--color-text-subtle-default);
3042
+ cursor: not-allowed;
3043
+ }
3044
+
3045
+ /* Caption */
3046
+ .muka-toggle__caption {
3047
+ font-family: var(--text-body-base-regular-fontFamily);
3048
+ font-weight: var(--text-body-base-regular-fontWeight);
3049
+ font-size: var(--text-body-base-regular-fontSize);
3050
+ line-height: var(--text-body-base-regular-lineHeight);
3051
+ color: var(--color-text-subtle-default);
3052
+ }
3053
+
3054
+ /* Switch container */
3055
+ .muka-toggle__switch {
3056
+ position: relative;
3057
+ display: inline-flex;
3058
+ flex-shrink: 0;
3059
+ cursor: pointer;
3060
+ }
3061
+
3062
+ .muka-toggle--disabled .muka-toggle__switch {
3063
+ cursor: not-allowed;
3064
+ }
3065
+
3066
+ /* Hidden native input */
3067
+ .muka-toggle__input {
3068
+ position: absolute;
3069
+ width: 1px;
3070
+ height: 1px;
3071
+ padding: 0;
3072
+ margin: -1px;
3073
+ overflow: hidden;
3074
+ clip: rect(0, 0, 0, 0);
3075
+ white-space: nowrap;
3076
+ border: 0;
3077
+ }
3078
+
3079
+ /* Track (background pill) */
3080
+ .muka-toggle__track {
3081
+ display: flex;
3082
+ align-items: center;
3083
+ width: var(--toggle-track-width);
3084
+ height: var(--toggle-track-height);
3085
+ border-radius: var(--toggle-track-radius);
3086
+ background-color: var(--toggle-track-color-off);
3087
+ transition: background-color 0.2s ease;
3088
+ box-shadow: inset 0 1px 4px 0 rgba(0, 0, 0, 0.16);
3089
+ position: relative;
3090
+ }
3091
+
3092
+ /* Knob (sliding circle) */
3093
+ .muka-toggle__knob {
3094
+ position: absolute;
3095
+ width: var(--toggle-knob-size);
3096
+ height: var(--toggle-knob-size);
3097
+ border-radius: var(--border-radius-full);
3098
+ background-color: var(--toggle-knob-color-default);
3099
+ box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1);
3100
+ left: var(--toggle-knob-offset);
3101
+ transition: left 0.2s ease, transform 0.2s ease;
3102
+ }
3103
+
3104
+ /* Focus state */
3105
+ .muka-toggle__input:focus-visible + .muka-toggle__track {
3106
+ outline: 2px solid var(--color-border-focus);
3107
+ outline-offset: 2px;
3108
+ }
3109
+
3110
+ /* Checked (on) state */
3111
+ .muka-toggle__input:checked + .muka-toggle__track {
3112
+ background-color: var(--toggle-track-color-on);
3113
+ }
3114
+
3115
+ .muka-toggle__input:checked + .muka-toggle__track .muka-toggle__knob {
3116
+ left: calc(var(--toggle-track-width) - var(--toggle-knob-size) - var(--toggle-knob-offset));
3117
+ }
3118
+
3119
+ /* Disabled state */
3120
+ .muka-toggle--disabled .muka-toggle__track {
3121
+ background-color: var(--toggle-track-color-disabled);
3122
+ box-shadow: none;
3123
+ }
3124
+
3125
+ .muka-toggle--disabled .muka-toggle__knob {
3126
+ background-color: var(--toggle-knob-color-disabled);
3127
+ box-shadow: none;
3128
+ }
3129
+
3130
+ /* Divider */
3131
+ .muka-toggle__divider {
3132
+ position: absolute;
3133
+ bottom: 0;
3134
+ left: 0;
3135
+ right: 0;
3136
+ height: 1px;
3137
+ background-color: var(--color-border-muted);
3138
+ }
3139
+
3140
+
2978
3141
  /* Toast */
2979
3142
  /* Toast Component Styles - Using Muka Design Tokens */
2980
3143
 
@@ -4147,220 +4310,57 @@ body {
4147
4310
  }
4148
4311
 
4149
4312
 
4150
- /* Toggle */
4151
- /* Toggle Component Styles - Using Muka Design Tokens */
4152
-
4153
- /* Wrapper container */
4154
- .muka-toggle {
4155
- display: flex;
4156
- align-items: center;
4157
- gap: var(--spacing-2);
4158
- position: relative;
4159
- padding: var(--spacing-4) 0;
4160
- }
4313
+ /* Table */
4314
+ /* Table Component Styles - Using Muka Design Tokens */
4161
4315
 
4162
- .muka-toggle--with-caption {
4163
- padding: var(--spacing-5) 0;
4164
- }
4316
+ /* ========================================
4317
+ TABLE WRAPPER (Responsive)
4318
+ ======================================== */
4165
4319
 
4166
- .muka-toggle--disabled {
4167
- opacity: 0.6;
4320
+ .muka-table-wrapper {
4321
+ width: 100%;
4322
+ overflow-x: auto;
4323
+ -webkit-overflow-scrolling: touch;
4168
4324
  }
4169
4325
 
4170
- /* Icon */
4171
- .muka-toggle__icon {
4172
- display: flex;
4173
- align-items: center;
4174
- justify-content: center;
4175
- flex-shrink: 0;
4176
- width: var(--icon-size-default);
4177
- height: var(--icon-size-default);
4178
- color: var(--color-text-default-default);
4179
- }
4326
+ /* ========================================
4327
+ TABLE BASE
4328
+ ======================================== */
4180
4329
 
4181
- .muka-toggle__icon svg {
4330
+ .muka-table {
4182
4331
  width: 100%;
4183
- height: 100%;
4332
+ border-collapse: collapse;
4333
+ border-spacing: 0;
4334
+ font-family: var(--text-body-base-regular-fontFamily);
4335
+ font-size: var(--text-body-base-regular-fontSize);
4336
+ font-weight: var(--text-body-base-regular-fontWeight);
4337
+ line-height: var(--text-body-base-regular-lineHeight);
4338
+ color: var(--color-text-default-default);
4339
+ background-color: var(--color-surface-level3);
4184
4340
  }
4185
4341
 
4186
- /* Content area (label + caption) */
4187
- .muka-toggle__content {
4188
- display: flex;
4189
- flex-direction: column;
4190
- flex: 1;
4191
- min-width: 0;
4192
- gap: var(--spacing-1);
4342
+ .muka-table--fixed {
4343
+ table-layout: fixed;
4193
4344
  }
4194
4345
 
4195
- /* Label */
4196
- .muka-toggle__label {
4197
- font-family: var(--text-label-lg-regular-fontFamily);
4198
- font-weight: var(--text-label-lg-regular-fontWeight);
4199
- font-size: var(--text-label-lg-regular-fontSize);
4200
- line-height: var(--text-label-lg-regular-lineHeight);
4346
+ .muka-table__caption {
4347
+ padding: var(--spacing-3);
4348
+ font-weight: var(--text-label-md-semibold-fontWeight);
4349
+ text-align: left;
4201
4350
  color: var(--color-text-default-default);
4202
- cursor: pointer;
4351
+ caption-side: top;
4203
4352
  }
4204
4353
 
4205
- .muka-toggle--with-caption .muka-toggle__label {
4206
- font-family: var(--text-label-lg-semibold-fontFamily);
4207
- font-weight: var(--text-label-lg-semibold-fontWeight);
4208
- font-size: var(--text-label-lg-semibold-fontSize);
4209
- line-height: var(--text-label-lg-semibold-lineHeight);
4210
- }
4354
+ /* ========================================
4355
+ TABLE HEAD
4356
+ ======================================== */
4211
4357
 
4212
- .muka-toggle--disabled .muka-toggle__label {
4213
- color: var(--color-text-subtle-default);
4214
- cursor: not-allowed;
4358
+ .muka-table__head {
4359
+ border-bottom: var(--border-width-regular) solid var(--color-border-default);
4215
4360
  }
4216
4361
 
4217
- /* Caption */
4218
- .muka-toggle__caption {
4219
- font-family: var(--text-body-base-regular-fontFamily);
4220
- font-weight: var(--text-body-base-regular-fontWeight);
4221
- font-size: var(--text-body-base-regular-fontSize);
4222
- line-height: var(--text-body-base-regular-lineHeight);
4223
- color: var(--color-text-subtle-default);
4224
- }
4225
-
4226
- /* Switch container */
4227
- .muka-toggle__switch {
4228
- position: relative;
4229
- display: inline-flex;
4230
- flex-shrink: 0;
4231
- cursor: pointer;
4232
- }
4233
-
4234
- .muka-toggle--disabled .muka-toggle__switch {
4235
- cursor: not-allowed;
4236
- }
4237
-
4238
- /* Hidden native input */
4239
- .muka-toggle__input {
4240
- position: absolute;
4241
- width: 1px;
4242
- height: 1px;
4243
- padding: 0;
4244
- margin: -1px;
4245
- overflow: hidden;
4246
- clip: rect(0, 0, 0, 0);
4247
- white-space: nowrap;
4248
- border: 0;
4249
- }
4250
-
4251
- /* Track (background pill) */
4252
- .muka-toggle__track {
4253
- display: flex;
4254
- align-items: center;
4255
- width: var(--toggle-track-width);
4256
- height: var(--toggle-track-height);
4257
- border-radius: var(--toggle-track-radius);
4258
- background-color: var(--toggle-track-color-off);
4259
- transition: background-color 0.2s ease;
4260
- box-shadow: inset 0 1px 4px 0 rgba(0, 0, 0, 0.16);
4261
- position: relative;
4262
- }
4263
-
4264
- /* Knob (sliding circle) */
4265
- .muka-toggle__knob {
4266
- position: absolute;
4267
- width: var(--toggle-knob-size);
4268
- height: var(--toggle-knob-size);
4269
- border-radius: var(--border-radius-full);
4270
- background-color: var(--toggle-knob-color-default);
4271
- box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1);
4272
- left: var(--toggle-knob-offset);
4273
- transition: left 0.2s ease, transform 0.2s ease;
4274
- }
4275
-
4276
- /* Focus state */
4277
- .muka-toggle__input:focus-visible + .muka-toggle__track {
4278
- outline: 2px solid var(--color-border-focus);
4279
- outline-offset: 2px;
4280
- }
4281
-
4282
- /* Checked (on) state */
4283
- .muka-toggle__input:checked + .muka-toggle__track {
4284
- background-color: var(--toggle-track-color-on);
4285
- }
4286
-
4287
- .muka-toggle__input:checked + .muka-toggle__track .muka-toggle__knob {
4288
- left: calc(var(--toggle-track-width) - var(--toggle-knob-size) - var(--toggle-knob-offset));
4289
- }
4290
-
4291
- /* Disabled state */
4292
- .muka-toggle--disabled .muka-toggle__track {
4293
- background-color: var(--toggle-track-color-disabled);
4294
- box-shadow: none;
4295
- }
4296
-
4297
- .muka-toggle--disabled .muka-toggle__knob {
4298
- background-color: var(--toggle-knob-color-disabled);
4299
- box-shadow: none;
4300
- }
4301
-
4302
- /* Divider */
4303
- .muka-toggle__divider {
4304
- position: absolute;
4305
- bottom: 0;
4306
- left: 0;
4307
- right: 0;
4308
- height: 1px;
4309
- background-color: var(--color-border-muted);
4310
- }
4311
-
4312
-
4313
- /* Table */
4314
- /* Table Component Styles - Using Muka Design Tokens */
4315
-
4316
- /* ========================================
4317
- TABLE WRAPPER (Responsive)
4318
- ======================================== */
4319
-
4320
- .muka-table-wrapper {
4321
- width: 100%;
4322
- overflow-x: auto;
4323
- -webkit-overflow-scrolling: touch;
4324
- }
4325
-
4326
- /* ========================================
4327
- TABLE BASE
4328
- ======================================== */
4329
-
4330
- .muka-table {
4331
- width: 100%;
4332
- border-collapse: collapse;
4333
- border-spacing: 0;
4334
- font-family: var(--text-body-base-regular-fontFamily);
4335
- font-size: var(--text-body-base-regular-fontSize);
4336
- font-weight: var(--text-body-base-regular-fontWeight);
4337
- line-height: var(--text-body-base-regular-lineHeight);
4338
- color: var(--color-text-default-default);
4339
- background-color: var(--color-surface-level3);
4340
- }
4341
-
4342
- .muka-table--fixed {
4343
- table-layout: fixed;
4344
- }
4345
-
4346
- .muka-table__caption {
4347
- padding: var(--spacing-3);
4348
- font-weight: var(--text-label-md-semibold-fontWeight);
4349
- text-align: left;
4350
- color: var(--color-text-default-default);
4351
- caption-side: top;
4352
- }
4353
-
4354
- /* ========================================
4355
- TABLE HEAD
4356
- ======================================== */
4357
-
4358
- .muka-table__head {
4359
- border-bottom: var(--border-width-regular) solid var(--color-border-default);
4360
- }
4361
-
4362
- .muka-table__head .muka-table__row {
4363
- background-color: var(--color-surface-level0);
4362
+ .muka-table__head .muka-table__row {
4363
+ background-color: var(--color-surface-level0);
4364
4364
  }
4365
4365
 
4366
4366
  /* Plain (MUK-103): no tint; small subtle capitals under a section heading. */
@@ -15853,72 +15853,6 @@ button.muka-chat-photo-grid__tile:focus-visible {
15853
15853
  }
15854
15854
 
15855
15855
 
15856
- /* Autocomplete */
15857
- /* Autocomplete — Figma Input Autocomplete (Input field + single-line suggestion Menu).
15858
- The field reuses the Input styles (.muka-input*); only the menu wiring lives here. */
15859
-
15860
- .muka-autocomplete {
15861
- min-width: 200px;
15862
- }
15863
-
15864
- /* Covers the field's outer edge so the menu matches its full width. The menu
15865
- is only open while focused, when the field has the bold border. */
15866
- .muka-autocomplete__menu-anchor {
15867
- position: absolute;
15868
- inset: calc(-1 * var(--border-width-bold));
15869
- z-index: 0;
15870
- margin: 0;
15871
- padding: 0;
15872
- border: none;
15873
- background: transparent;
15874
- pointer-events: none;
15875
- opacity: 0;
15876
- }
15877
-
15878
- /* Keep the field content above the invisible anchor. */
15879
- .muka-autocomplete__field > :not(.muka-autocomplete__menu-anchor) {
15880
- position: relative;
15881
- z-index: 1;
15882
- }
15883
-
15884
- /* Figma: the menu is as wide as the field (never below the menu min-width token). */
15885
- .muka-autocomplete__menu {
15886
- width: var(--radix-dropdown-menu-trigger-width);
15887
- max-width: calc(100vw - 2rem);
15888
- }
15889
-
15890
- /* Suggestions are single-line; long labels truncate. */
15891
- .muka-autocomplete__menu .muka-menu__item-label {
15892
- overflow: hidden;
15893
- text-overflow: ellipsis;
15894
- }
15895
-
15896
- /* Loading and empty rows: menu-row geometry, not selectable. */
15897
- .muka-autocomplete__status {
15898
- display: flex;
15899
- align-items: center;
15900
- gap: var(--menu-item-gap);
15901
- min-height: var(--menu-item-height);
15902
- padding: var(--menu-item-padding-y) var(--menu-item-padding-x);
15903
- color: var(--color-text-subtle-default);
15904
- font-family: var(--text-label-md-regular-fontFamily);
15905
- font-size: var(--text-label-md-regular-fontSize);
15906
- font-weight: var(--text-label-md-regular-fontWeight);
15907
- line-height: var(--text-label-md-regular-lineHeight);
15908
- }
15909
-
15910
- .muka-autocomplete__footer {
15911
- flex-shrink: 0;
15912
- padding: var(--spacing-2) var(--spacing-3);
15913
- border-top: var(--border-width-regular) solid var(--color-border-default);
15914
- color: var(--color-text-subtle-default);
15915
- font-family: var(--text-label-sm-regular-fontFamily);
15916
- font-size: var(--text-label-sm-regular-fontSize);
15917
- font-weight: var(--text-label-sm-regular-fontWeight);
15918
- line-height: var(--text-label-sm-regular-lineHeight);
15919
- }
15920
-
15921
-
15922
15856
  /* Avatar */
15923
15857
  /* Avatar Component Styles - Using Muka Design Tokens */
15924
15858
 
@@ -16271,6 +16205,168 @@ button.muka-chat-photo-grid__tile:focus-visible {
16271
16205
  }
16272
16206
 
16273
16207
 
16208
+ /* Autocomplete */
16209
+ /* Autocomplete — Figma Input Autocomplete (Input field + single-line suggestion Menu).
16210
+ The field reuses the Input styles (.muka-input*); only the menu wiring lives here. */
16211
+
16212
+ .muka-autocomplete {
16213
+ min-width: 200px;
16214
+ }
16215
+
16216
+ /* Covers the field's outer edge so the menu matches its full width. The menu
16217
+ is only open while focused, when the field has the bold border. */
16218
+ .muka-autocomplete__menu-anchor {
16219
+ position: absolute;
16220
+ inset: calc(-1 * var(--border-width-bold));
16221
+ z-index: 0;
16222
+ margin: 0;
16223
+ padding: 0;
16224
+ border: none;
16225
+ background: transparent;
16226
+ pointer-events: none;
16227
+ opacity: 0;
16228
+ }
16229
+
16230
+ /* Keep the field content above the invisible anchor. */
16231
+ .muka-autocomplete__field > :not(.muka-autocomplete__menu-anchor) {
16232
+ position: relative;
16233
+ z-index: 1;
16234
+ }
16235
+
16236
+ /* Figma: the menu is as wide as the field (never below the menu min-width token). */
16237
+ .muka-autocomplete__menu {
16238
+ width: var(--radix-dropdown-menu-trigger-width);
16239
+ max-width: calc(100vw - 2rem);
16240
+ }
16241
+
16242
+ /* Suggestions are single-line; long labels truncate. */
16243
+ .muka-autocomplete__menu .muka-menu__item-label {
16244
+ overflow: hidden;
16245
+ text-overflow: ellipsis;
16246
+ }
16247
+
16248
+ /* Loading and empty rows: menu-row geometry, not selectable. */
16249
+ .muka-autocomplete__status {
16250
+ display: flex;
16251
+ align-items: center;
16252
+ gap: var(--menu-item-gap);
16253
+ min-height: var(--menu-item-height);
16254
+ padding: var(--menu-item-padding-y) var(--menu-item-padding-x);
16255
+ color: var(--color-text-subtle-default);
16256
+ font-family: var(--text-label-md-regular-fontFamily);
16257
+ font-size: var(--text-label-md-regular-fontSize);
16258
+ font-weight: var(--text-label-md-regular-fontWeight);
16259
+ line-height: var(--text-label-md-regular-lineHeight);
16260
+ }
16261
+
16262
+ .muka-autocomplete__footer {
16263
+ flex-shrink: 0;
16264
+ padding: var(--spacing-2) var(--spacing-3);
16265
+ border-top: var(--border-width-regular) solid var(--color-border-default);
16266
+ color: var(--color-text-subtle-default);
16267
+ font-family: var(--text-label-sm-regular-fontFamily);
16268
+ font-size: var(--text-label-sm-regular-fontSize);
16269
+ font-weight: var(--text-label-sm-regular-fontWeight);
16270
+ line-height: var(--text-label-sm-regular-lineHeight);
16271
+ }
16272
+
16273
+
16274
+ /* AppShell */
16275
+ /* AppShell Component Styles */
16276
+
16277
+ /*
16278
+ * Layout wrapper for a persistent left navigation rail + main view area, with an
16279
+ * optional full-width top app bar. The rail itself is styled by the BottomBar
16280
+ * `desktopAs="sidebar"` rules (fixed 240px left rail at ≥1024px); AppShell shows/
16281
+ * hides the sidebar + app-bar slots and offsets the main area to match. Both
16282
+ * appear at the large tier — responsively (no `size`, scoped with
16283
+ * `:not([data-size])`) or forced via `[data-size="lg"]`.
16284
+ */
16285
+ .muka-app-shell {
16286
+ position: relative;
16287
+ /* Reserved width for the rail; matches BottomBar's desktop-sidebar width. */
16288
+ --app-shell-sidebar-width: 240px;
16289
+ /* Height of the optional top app bar. */
16290
+ --app-shell-appbar-height: 64px;
16291
+ }
16292
+
16293
+ /* Sidebar slot: hidden below the large tier (per-view nav handles small/medium). */
16294
+ .muka-app-shell__sidebar {
16295
+ display: none;
16296
+ }
16297
+
16298
+ .muka-app-shell__main {
16299
+ min-height: 100dvh;
16300
+ }
16301
+
16302
+ /*
16303
+ * App bar: full-width top strip. Intrinsic styling lives here (harmless while
16304
+ * hidden); it is revealed only at the large tier. Sits above the sidebar rail.
16305
+ */
16306
+ .muka-app-shell__appbar {
16307
+ display: none;
16308
+ align-items: center;
16309
+ justify-content: space-between;
16310
+ gap: var(--spacing-4);
16311
+ position: fixed;
16312
+ top: 0;
16313
+ left: 0;
16314
+ right: 0;
16315
+ height: var(--app-shell-appbar-height);
16316
+ padding-inline: var(--spacing-4);
16317
+ background-color: var(--color-surface-level3);
16318
+ border-bottom: var(--border-width-regular) solid var(--color-border-default);
16319
+ z-index: 11; /* above the sidebar rail (z-index 10) */
16320
+ }
16321
+
16322
+ /* ─── Large tier (responsive) ─── */
16323
+ @media (min-width: 1024px) {
16324
+ .muka-app-shell:not([data-size]) .muka-app-shell__sidebar {
16325
+ display: block;
16326
+ }
16327
+ .muka-app-shell:not([data-size]) .muka-app-shell__main {
16328
+ padding-left: var(--app-shell-sidebar-width);
16329
+ }
16330
+ .muka-app-shell:not([data-size]) .muka-app-shell__appbar {
16331
+ display: flex;
16332
+ }
16333
+ /* When an app bar is present, drop the rail + content below it so nothing overlaps. */
16334
+ .muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-app-shell__main {
16335
+ padding-top: var(--app-shell-appbar-height);
16336
+ }
16337
+ .muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-bottombar--desktop-sidebar {
16338
+ top: var(--app-shell-appbar-height);
16339
+ height: calc(100vh - var(--app-shell-appbar-height));
16340
+ }
16341
+ .muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-view,
16342
+ .muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-nav-transition {
16343
+ height: calc(100dvh - var(--app-shell-appbar-height));
16344
+ }
16345
+ }
16346
+
16347
+ /* ─── Large tier (forced via size="lg") ─── */
16348
+ .muka-app-shell[data-size='lg'] .muka-app-shell__sidebar {
16349
+ display: block;
16350
+ }
16351
+ .muka-app-shell[data-size='lg'] .muka-app-shell__main {
16352
+ padding-left: var(--app-shell-sidebar-width);
16353
+ }
16354
+ .muka-app-shell[data-size='lg'] .muka-app-shell__appbar {
16355
+ display: flex;
16356
+ }
16357
+ .muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-app-shell__main {
16358
+ padding-top: var(--app-shell-appbar-height);
16359
+ }
16360
+ .muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-bottombar--desktop-sidebar {
16361
+ top: var(--app-shell-appbar-height);
16362
+ height: calc(100vh - var(--app-shell-appbar-height));
16363
+ }
16364
+ .muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-view,
16365
+ .muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-nav-transition {
16366
+ height: calc(100dvh - var(--app-shell-appbar-height));
16367
+ }
16368
+
16369
+
16274
16370
  /* Alert */
16275
16371
  /* Alert Component Styles - Using Muka Design Tokens */
16276
16372
 
@@ -16482,102 +16578,6 @@ button.muka-chat-photo-grid__tile:focus-visible {
16482
16578
  }
16483
16579
 
16484
16580
 
16485
- /* AppShell */
16486
- /* AppShell Component Styles */
16487
-
16488
- /*
16489
- * Layout wrapper for a persistent left navigation rail + main view area, with an
16490
- * optional full-width top app bar. The rail itself is styled by the BottomBar
16491
- * `desktopAs="sidebar"` rules (fixed 240px left rail at ≥1024px); AppShell shows/
16492
- * hides the sidebar + app-bar slots and offsets the main area to match. Both
16493
- * appear at the large tier — responsively (no `size`, scoped with
16494
- * `:not([data-size])`) or forced via `[data-size="lg"]`.
16495
- */
16496
- .muka-app-shell {
16497
- position: relative;
16498
- /* Reserved width for the rail; matches BottomBar's desktop-sidebar width. */
16499
- --app-shell-sidebar-width: 240px;
16500
- /* Height of the optional top app bar. */
16501
- --app-shell-appbar-height: 64px;
16502
- }
16503
-
16504
- /* Sidebar slot: hidden below the large tier (per-view nav handles small/medium). */
16505
- .muka-app-shell__sidebar {
16506
- display: none;
16507
- }
16508
-
16509
- .muka-app-shell__main {
16510
- min-height: 100dvh;
16511
- }
16512
-
16513
- /*
16514
- * App bar: full-width top strip. Intrinsic styling lives here (harmless while
16515
- * hidden); it is revealed only at the large tier. Sits above the sidebar rail.
16516
- */
16517
- .muka-app-shell__appbar {
16518
- display: none;
16519
- align-items: center;
16520
- justify-content: space-between;
16521
- gap: var(--spacing-4);
16522
- position: fixed;
16523
- top: 0;
16524
- left: 0;
16525
- right: 0;
16526
- height: var(--app-shell-appbar-height);
16527
- padding-inline: var(--spacing-4);
16528
- background-color: var(--color-surface-level3);
16529
- border-bottom: var(--border-width-regular) solid var(--color-border-default);
16530
- z-index: 11; /* above the sidebar rail (z-index 10) */
16531
- }
16532
-
16533
- /* ─── Large tier (responsive) ─── */
16534
- @media (min-width: 1024px) {
16535
- .muka-app-shell:not([data-size]) .muka-app-shell__sidebar {
16536
- display: block;
16537
- }
16538
- .muka-app-shell:not([data-size]) .muka-app-shell__main {
16539
- padding-left: var(--app-shell-sidebar-width);
16540
- }
16541
- .muka-app-shell:not([data-size]) .muka-app-shell__appbar {
16542
- display: flex;
16543
- }
16544
- /* When an app bar is present, drop the rail + content below it so nothing overlaps. */
16545
- .muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-app-shell__main {
16546
- padding-top: var(--app-shell-appbar-height);
16547
- }
16548
- .muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-bottombar--desktop-sidebar {
16549
- top: var(--app-shell-appbar-height);
16550
- height: calc(100vh - var(--app-shell-appbar-height));
16551
- }
16552
- .muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-view,
16553
- .muka-app-shell:not([data-size]):has(.muka-app-shell__appbar) .muka-nav-transition {
16554
- height: calc(100dvh - var(--app-shell-appbar-height));
16555
- }
16556
- }
16557
-
16558
- /* ─── Large tier (forced via size="lg") ─── */
16559
- .muka-app-shell[data-size='lg'] .muka-app-shell__sidebar {
16560
- display: block;
16561
- }
16562
- .muka-app-shell[data-size='lg'] .muka-app-shell__main {
16563
- padding-left: var(--app-shell-sidebar-width);
16564
- }
16565
- .muka-app-shell[data-size='lg'] .muka-app-shell__appbar {
16566
- display: flex;
16567
- }
16568
- .muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-app-shell__main {
16569
- padding-top: var(--app-shell-appbar-height);
16570
- }
16571
- .muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-bottombar--desktop-sidebar {
16572
- top: var(--app-shell-appbar-height);
16573
- height: calc(100vh - var(--app-shell-appbar-height));
16574
- }
16575
- .muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-view,
16576
- .muka-app-shell[data-size='lg']:has(.muka-app-shell__appbar) .muka-nav-transition {
16577
- height: calc(100dvh - var(--app-shell-appbar-height));
16578
- }
16579
-
16580
-
16581
16581
  /* AgentTaskList */
16582
16582
  /* AgentTaskList Component Styles */
16583
16583