loseta 0.11.0 → 0.12.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.
Files changed (66) hide show
  1. package/package.json +1 -1
  2. package/registry/examples/sidebar.html +1 -1
  3. package/registry/registry.json +388 -10
  4. package/registry/styles/luma/accordion.css +59 -0
  5. package/registry/styles/luma/breadcrumb.css +61 -0
  6. package/registry/styles/luma/collapsible.css +50 -0
  7. package/registry/styles/luma/input-group.css +86 -0
  8. package/registry/styles/luma/input-otp.css +51 -0
  9. package/registry/styles/luma/pagination.css +46 -0
  10. package/registry/styles/luma/scroll-area.css +30 -0
  11. package/registry/styles/luma/sidebar.css +98 -0
  12. package/registry/styles/luma/slider.css +15 -0
  13. package/registry/styles/lyra/accordion.css +59 -0
  14. package/registry/styles/lyra/breadcrumb.css +61 -0
  15. package/registry/styles/lyra/collapsible.css +50 -0
  16. package/registry/styles/lyra/input-group.css +86 -0
  17. package/registry/styles/lyra/input-otp.css +51 -0
  18. package/registry/styles/lyra/pagination.css +46 -0
  19. package/registry/styles/lyra/scroll-area.css +30 -0
  20. package/registry/styles/lyra/sidebar.css +98 -0
  21. package/registry/styles/lyra/slider.css +15 -0
  22. package/registry/styles/maia/accordion.css +59 -0
  23. package/registry/styles/maia/breadcrumb.css +61 -0
  24. package/registry/styles/maia/collapsible.css +50 -0
  25. package/registry/styles/maia/input-group.css +86 -0
  26. package/registry/styles/maia/input-otp.css +51 -0
  27. package/registry/styles/maia/pagination.css +46 -0
  28. package/registry/styles/maia/scroll-area.css +30 -0
  29. package/registry/styles/maia/sidebar.css +98 -0
  30. package/registry/styles/maia/slider.css +15 -0
  31. package/registry/styles/mira/accordion.css +59 -0
  32. package/registry/styles/mira/breadcrumb.css +61 -0
  33. package/registry/styles/mira/collapsible.css +50 -0
  34. package/registry/styles/mira/input-group.css +86 -0
  35. package/registry/styles/mira/input-otp.css +51 -0
  36. package/registry/styles/mira/pagination.css +46 -0
  37. package/registry/styles/mira/scroll-area.css +30 -0
  38. package/registry/styles/mira/sidebar.css +98 -0
  39. package/registry/styles/mira/slider.css +15 -0
  40. package/registry/styles/rhea/accordion.css +59 -0
  41. package/registry/styles/rhea/breadcrumb.css +61 -0
  42. package/registry/styles/rhea/collapsible.css +50 -0
  43. package/registry/styles/rhea/input-group.css +86 -0
  44. package/registry/styles/rhea/input-otp.css +51 -0
  45. package/registry/styles/rhea/pagination.css +46 -0
  46. package/registry/styles/rhea/scroll-area.css +30 -0
  47. package/registry/styles/rhea/sidebar.css +98 -0
  48. package/registry/styles/rhea/slider.css +15 -0
  49. package/registry/styles/sera/accordion.css +59 -0
  50. package/registry/styles/sera/breadcrumb.css +61 -0
  51. package/registry/styles/sera/collapsible.css +50 -0
  52. package/registry/styles/sera/input-group.css +87 -0
  53. package/registry/styles/sera/input-otp.css +52 -0
  54. package/registry/styles/sera/pagination.css +46 -0
  55. package/registry/styles/sera/scroll-area.css +30 -0
  56. package/registry/styles/sera/sidebar.css +100 -0
  57. package/registry/styles/sera/slider.css +15 -0
  58. package/registry/styles/vega/accordion.css +59 -0
  59. package/registry/styles/vega/breadcrumb.css +61 -0
  60. package/registry/styles/vega/collapsible.css +50 -0
  61. package/registry/styles/vega/input-group.css +86 -0
  62. package/registry/styles/vega/input-otp.css +51 -0
  63. package/registry/styles/vega/pagination.css +46 -0
  64. package/registry/styles/vega/scroll-area.css +30 -0
  65. package/registry/styles/vega/sidebar.css +98 -0
  66. package/registry/styles/vega/slider.css +15 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "loseta",
3
- "version": "0.11.0",
3
+ "version": "0.12.0",
4
4
  "description": "Native CSS component scaffolds with the shadcn feel.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -26,6 +26,6 @@
26
26
  </nav>
27
27
  </section>
28
28
  <footer>
29
- <span>v0.11.0</span>
29
+ <span>v0.12.0</span>
30
30
  </footer>
31
31
  </aside>
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "./schema.json",
3
3
  "name": "loseta",
4
- "version": "0.11.0",
4
+ "version": "0.12.0",
5
5
  "styles": [
6
6
  {
7
7
  "name": "nova",
@@ -2182,7 +2182,7 @@
2182
2182
  {
2183
2183
  "name": "accordion",
2184
2184
  "type": "component",
2185
- "status": "experimental",
2185
+ "status": "stable",
2186
2186
  "title": "Accordion",
2187
2187
  "description": "Displays a vertically stacked set of interactive headings that reveal content.",
2188
2188
  "docs": "/docs/components/accordion",
@@ -2203,6 +2203,48 @@
2203
2203
  "target": "styles/nova/accordion.css",
2204
2204
  "role": "style",
2205
2205
  "layer": "loseta.style"
2206
+ },
2207
+ {
2208
+ "path": "styles/vega/accordion.css",
2209
+ "target": "styles/vega/accordion.css",
2210
+ "role": "style",
2211
+ "layer": "loseta.style"
2212
+ },
2213
+ {
2214
+ "path": "styles/maia/accordion.css",
2215
+ "target": "styles/maia/accordion.css",
2216
+ "role": "style",
2217
+ "layer": "loseta.style"
2218
+ },
2219
+ {
2220
+ "path": "styles/lyra/accordion.css",
2221
+ "target": "styles/lyra/accordion.css",
2222
+ "role": "style",
2223
+ "layer": "loseta.style"
2224
+ },
2225
+ {
2226
+ "path": "styles/mira/accordion.css",
2227
+ "target": "styles/mira/accordion.css",
2228
+ "role": "style",
2229
+ "layer": "loseta.style"
2230
+ },
2231
+ {
2232
+ "path": "styles/luma/accordion.css",
2233
+ "target": "styles/luma/accordion.css",
2234
+ "role": "style",
2235
+ "layer": "loseta.style"
2236
+ },
2237
+ {
2238
+ "path": "styles/sera/accordion.css",
2239
+ "target": "styles/sera/accordion.css",
2240
+ "role": "style",
2241
+ "layer": "loseta.style"
2242
+ },
2243
+ {
2244
+ "path": "styles/rhea/accordion.css",
2245
+ "target": "styles/rhea/accordion.css",
2246
+ "role": "style",
2247
+ "layer": "loseta.style"
2206
2248
  }
2207
2249
  ],
2208
2250
  "examples": [
@@ -2357,7 +2399,7 @@
2357
2399
  {
2358
2400
  "name": "breadcrumb",
2359
2401
  "type": "component",
2360
- "status": "experimental",
2402
+ "status": "stable",
2361
2403
  "title": "Breadcrumb",
2362
2404
  "description": "Displays the path to the current resource using a hierarchy of links.",
2363
2405
  "docs": "/docs/components/breadcrumb",
@@ -2380,6 +2422,48 @@
2380
2422
  "target": "styles/nova/breadcrumb.css",
2381
2423
  "role": "style",
2382
2424
  "layer": "loseta.style"
2425
+ },
2426
+ {
2427
+ "path": "styles/vega/breadcrumb.css",
2428
+ "target": "styles/vega/breadcrumb.css",
2429
+ "role": "style",
2430
+ "layer": "loseta.style"
2431
+ },
2432
+ {
2433
+ "path": "styles/maia/breadcrumb.css",
2434
+ "target": "styles/maia/breadcrumb.css",
2435
+ "role": "style",
2436
+ "layer": "loseta.style"
2437
+ },
2438
+ {
2439
+ "path": "styles/lyra/breadcrumb.css",
2440
+ "target": "styles/lyra/breadcrumb.css",
2441
+ "role": "style",
2442
+ "layer": "loseta.style"
2443
+ },
2444
+ {
2445
+ "path": "styles/mira/breadcrumb.css",
2446
+ "target": "styles/mira/breadcrumb.css",
2447
+ "role": "style",
2448
+ "layer": "loseta.style"
2449
+ },
2450
+ {
2451
+ "path": "styles/luma/breadcrumb.css",
2452
+ "target": "styles/luma/breadcrumb.css",
2453
+ "role": "style",
2454
+ "layer": "loseta.style"
2455
+ },
2456
+ {
2457
+ "path": "styles/sera/breadcrumb.css",
2458
+ "target": "styles/sera/breadcrumb.css",
2459
+ "role": "style",
2460
+ "layer": "loseta.style"
2461
+ },
2462
+ {
2463
+ "path": "styles/rhea/breadcrumb.css",
2464
+ "target": "styles/rhea/breadcrumb.css",
2465
+ "role": "style",
2466
+ "layer": "loseta.style"
2383
2467
  }
2384
2468
  ],
2385
2469
  "examples": [
@@ -2389,7 +2473,7 @@
2389
2473
  {
2390
2474
  "name": "pagination",
2391
2475
  "type": "component",
2392
- "status": "experimental",
2476
+ "status": "stable",
2393
2477
  "title": "Pagination",
2394
2478
  "description": "Displays navigation for paged content.",
2395
2479
  "docs": "/docs/components/pagination",
@@ -2412,6 +2496,48 @@
2412
2496
  "target": "styles/nova/pagination.css",
2413
2497
  "role": "style",
2414
2498
  "layer": "loseta.style"
2499
+ },
2500
+ {
2501
+ "path": "styles/vega/pagination.css",
2502
+ "target": "styles/vega/pagination.css",
2503
+ "role": "style",
2504
+ "layer": "loseta.style"
2505
+ },
2506
+ {
2507
+ "path": "styles/maia/pagination.css",
2508
+ "target": "styles/maia/pagination.css",
2509
+ "role": "style",
2510
+ "layer": "loseta.style"
2511
+ },
2512
+ {
2513
+ "path": "styles/lyra/pagination.css",
2514
+ "target": "styles/lyra/pagination.css",
2515
+ "role": "style",
2516
+ "layer": "loseta.style"
2517
+ },
2518
+ {
2519
+ "path": "styles/mira/pagination.css",
2520
+ "target": "styles/mira/pagination.css",
2521
+ "role": "style",
2522
+ "layer": "loseta.style"
2523
+ },
2524
+ {
2525
+ "path": "styles/luma/pagination.css",
2526
+ "target": "styles/luma/pagination.css",
2527
+ "role": "style",
2528
+ "layer": "loseta.style"
2529
+ },
2530
+ {
2531
+ "path": "styles/sera/pagination.css",
2532
+ "target": "styles/sera/pagination.css",
2533
+ "role": "style",
2534
+ "layer": "loseta.style"
2535
+ },
2536
+ {
2537
+ "path": "styles/rhea/pagination.css",
2538
+ "target": "styles/rhea/pagination.css",
2539
+ "role": "style",
2540
+ "layer": "loseta.style"
2415
2541
  }
2416
2542
  ],
2417
2543
  "examples": [
@@ -2980,7 +3106,7 @@
2980
3106
  {
2981
3107
  "name": "collapsible",
2982
3108
  "type": "component",
2983
- "status": "experimental",
3109
+ "status": "stable",
2984
3110
  "title": "Collapsible",
2985
3111
  "description": "A native disclosure that reveals or hides content.",
2986
3112
  "docs": "/docs/components/collapsible",
@@ -3001,6 +3127,48 @@
3001
3127
  "target": "styles/nova/collapsible.css",
3002
3128
  "role": "style",
3003
3129
  "layer": "loseta.style"
3130
+ },
3131
+ {
3132
+ "path": "styles/vega/collapsible.css",
3133
+ "target": "styles/vega/collapsible.css",
3134
+ "role": "style",
3135
+ "layer": "loseta.style"
3136
+ },
3137
+ {
3138
+ "path": "styles/maia/collapsible.css",
3139
+ "target": "styles/maia/collapsible.css",
3140
+ "role": "style",
3141
+ "layer": "loseta.style"
3142
+ },
3143
+ {
3144
+ "path": "styles/lyra/collapsible.css",
3145
+ "target": "styles/lyra/collapsible.css",
3146
+ "role": "style",
3147
+ "layer": "loseta.style"
3148
+ },
3149
+ {
3150
+ "path": "styles/mira/collapsible.css",
3151
+ "target": "styles/mira/collapsible.css",
3152
+ "role": "style",
3153
+ "layer": "loseta.style"
3154
+ },
3155
+ {
3156
+ "path": "styles/luma/collapsible.css",
3157
+ "target": "styles/luma/collapsible.css",
3158
+ "role": "style",
3159
+ "layer": "loseta.style"
3160
+ },
3161
+ {
3162
+ "path": "styles/sera/collapsible.css",
3163
+ "target": "styles/sera/collapsible.css",
3164
+ "role": "style",
3165
+ "layer": "loseta.style"
3166
+ },
3167
+ {
3168
+ "path": "styles/rhea/collapsible.css",
3169
+ "target": "styles/rhea/collapsible.css",
3170
+ "role": "style",
3171
+ "layer": "loseta.style"
3004
3172
  }
3005
3173
  ],
3006
3174
  "examples": [
@@ -3010,7 +3178,7 @@
3010
3178
  {
3011
3179
  "name": "input-group",
3012
3180
  "type": "component",
3013
- "status": "experimental",
3181
+ "status": "stable",
3014
3182
  "title": "Input Group",
3015
3183
  "description": "Composes inputs, textareas and addons into one control surface.",
3016
3184
  "docs": "/docs/components/input-group",
@@ -3035,6 +3203,48 @@
3035
3203
  "target": "styles/nova/input-group.css",
3036
3204
  "role": "style",
3037
3205
  "layer": "loseta.style"
3206
+ },
3207
+ {
3208
+ "path": "styles/vega/input-group.css",
3209
+ "target": "styles/vega/input-group.css",
3210
+ "role": "style",
3211
+ "layer": "loseta.style"
3212
+ },
3213
+ {
3214
+ "path": "styles/maia/input-group.css",
3215
+ "target": "styles/maia/input-group.css",
3216
+ "role": "style",
3217
+ "layer": "loseta.style"
3218
+ },
3219
+ {
3220
+ "path": "styles/lyra/input-group.css",
3221
+ "target": "styles/lyra/input-group.css",
3222
+ "role": "style",
3223
+ "layer": "loseta.style"
3224
+ },
3225
+ {
3226
+ "path": "styles/mira/input-group.css",
3227
+ "target": "styles/mira/input-group.css",
3228
+ "role": "style",
3229
+ "layer": "loseta.style"
3230
+ },
3231
+ {
3232
+ "path": "styles/luma/input-group.css",
3233
+ "target": "styles/luma/input-group.css",
3234
+ "role": "style",
3235
+ "layer": "loseta.style"
3236
+ },
3237
+ {
3238
+ "path": "styles/sera/input-group.css",
3239
+ "target": "styles/sera/input-group.css",
3240
+ "role": "style",
3241
+ "layer": "loseta.style"
3242
+ },
3243
+ {
3244
+ "path": "styles/rhea/input-group.css",
3245
+ "target": "styles/rhea/input-group.css",
3246
+ "role": "style",
3247
+ "layer": "loseta.style"
3038
3248
  }
3039
3249
  ],
3040
3250
  "examples": [
@@ -3044,7 +3254,7 @@
3044
3254
  {
3045
3255
  "name": "input-otp",
3046
3256
  "type": "component",
3047
- "status": "experimental",
3257
+ "status": "stable",
3048
3258
  "title": "Input OTP",
3049
3259
  "description": "A single native input for one-time codes.",
3050
3260
  "docs": "/docs/components/input-otp",
@@ -3065,6 +3275,48 @@
3065
3275
  "target": "styles/nova/input-otp.css",
3066
3276
  "role": "style",
3067
3277
  "layer": "loseta.style"
3278
+ },
3279
+ {
3280
+ "path": "styles/vega/input-otp.css",
3281
+ "target": "styles/vega/input-otp.css",
3282
+ "role": "style",
3283
+ "layer": "loseta.style"
3284
+ },
3285
+ {
3286
+ "path": "styles/maia/input-otp.css",
3287
+ "target": "styles/maia/input-otp.css",
3288
+ "role": "style",
3289
+ "layer": "loseta.style"
3290
+ },
3291
+ {
3292
+ "path": "styles/lyra/input-otp.css",
3293
+ "target": "styles/lyra/input-otp.css",
3294
+ "role": "style",
3295
+ "layer": "loseta.style"
3296
+ },
3297
+ {
3298
+ "path": "styles/mira/input-otp.css",
3299
+ "target": "styles/mira/input-otp.css",
3300
+ "role": "style",
3301
+ "layer": "loseta.style"
3302
+ },
3303
+ {
3304
+ "path": "styles/luma/input-otp.css",
3305
+ "target": "styles/luma/input-otp.css",
3306
+ "role": "style",
3307
+ "layer": "loseta.style"
3308
+ },
3309
+ {
3310
+ "path": "styles/sera/input-otp.css",
3311
+ "target": "styles/sera/input-otp.css",
3312
+ "role": "style",
3313
+ "layer": "loseta.style"
3314
+ },
3315
+ {
3316
+ "path": "styles/rhea/input-otp.css",
3317
+ "target": "styles/rhea/input-otp.css",
3318
+ "role": "style",
3319
+ "layer": "loseta.style"
3068
3320
  }
3069
3321
  ],
3070
3322
  "examples": [
@@ -3074,7 +3326,7 @@
3074
3326
  {
3075
3327
  "name": "scroll-area",
3076
3328
  "type": "component",
3077
- "status": "experimental",
3329
+ "status": "stable",
3078
3330
  "title": "Scroll Area",
3079
3331
  "description": "A scroll container with native styled scrollbars.",
3080
3332
  "docs": "/docs/components/scroll-area",
@@ -3095,6 +3347,48 @@
3095
3347
  "target": "styles/nova/scroll-area.css",
3096
3348
  "role": "style",
3097
3349
  "layer": "loseta.style"
3350
+ },
3351
+ {
3352
+ "path": "styles/vega/scroll-area.css",
3353
+ "target": "styles/vega/scroll-area.css",
3354
+ "role": "style",
3355
+ "layer": "loseta.style"
3356
+ },
3357
+ {
3358
+ "path": "styles/maia/scroll-area.css",
3359
+ "target": "styles/maia/scroll-area.css",
3360
+ "role": "style",
3361
+ "layer": "loseta.style"
3362
+ },
3363
+ {
3364
+ "path": "styles/lyra/scroll-area.css",
3365
+ "target": "styles/lyra/scroll-area.css",
3366
+ "role": "style",
3367
+ "layer": "loseta.style"
3368
+ },
3369
+ {
3370
+ "path": "styles/mira/scroll-area.css",
3371
+ "target": "styles/mira/scroll-area.css",
3372
+ "role": "style",
3373
+ "layer": "loseta.style"
3374
+ },
3375
+ {
3376
+ "path": "styles/luma/scroll-area.css",
3377
+ "target": "styles/luma/scroll-area.css",
3378
+ "role": "style",
3379
+ "layer": "loseta.style"
3380
+ },
3381
+ {
3382
+ "path": "styles/sera/scroll-area.css",
3383
+ "target": "styles/sera/scroll-area.css",
3384
+ "role": "style",
3385
+ "layer": "loseta.style"
3386
+ },
3387
+ {
3388
+ "path": "styles/rhea/scroll-area.css",
3389
+ "target": "styles/rhea/scroll-area.css",
3390
+ "role": "style",
3391
+ "layer": "loseta.style"
3098
3392
  }
3099
3393
  ],
3100
3394
  "examples": [
@@ -3104,7 +3398,7 @@
3104
3398
  {
3105
3399
  "name": "slider",
3106
3400
  "type": "component",
3107
- "status": "experimental",
3401
+ "status": "stable",
3108
3402
  "title": "Slider",
3109
3403
  "description": "A native range input for selecting a value from a range.",
3110
3404
  "docs": "/docs/components/slider",
@@ -3125,6 +3419,48 @@
3125
3419
  "target": "styles/nova/slider.css",
3126
3420
  "role": "style",
3127
3421
  "layer": "loseta.style"
3422
+ },
3423
+ {
3424
+ "path": "styles/vega/slider.css",
3425
+ "target": "styles/vega/slider.css",
3426
+ "role": "style",
3427
+ "layer": "loseta.style"
3428
+ },
3429
+ {
3430
+ "path": "styles/maia/slider.css",
3431
+ "target": "styles/maia/slider.css",
3432
+ "role": "style",
3433
+ "layer": "loseta.style"
3434
+ },
3435
+ {
3436
+ "path": "styles/lyra/slider.css",
3437
+ "target": "styles/lyra/slider.css",
3438
+ "role": "style",
3439
+ "layer": "loseta.style"
3440
+ },
3441
+ {
3442
+ "path": "styles/mira/slider.css",
3443
+ "target": "styles/mira/slider.css",
3444
+ "role": "style",
3445
+ "layer": "loseta.style"
3446
+ },
3447
+ {
3448
+ "path": "styles/luma/slider.css",
3449
+ "target": "styles/luma/slider.css",
3450
+ "role": "style",
3451
+ "layer": "loseta.style"
3452
+ },
3453
+ {
3454
+ "path": "styles/sera/slider.css",
3455
+ "target": "styles/sera/slider.css",
3456
+ "role": "style",
3457
+ "layer": "loseta.style"
3458
+ },
3459
+ {
3460
+ "path": "styles/rhea/slider.css",
3461
+ "target": "styles/rhea/slider.css",
3462
+ "role": "style",
3463
+ "layer": "loseta.style"
3128
3464
  }
3129
3465
  ],
3130
3466
  "examples": [
@@ -3363,7 +3699,7 @@
3363
3699
  {
3364
3700
  "name": "sidebar",
3365
3701
  "type": "component",
3366
- "status": "experimental",
3702
+ "status": "stable",
3367
3703
  "title": "Sidebar",
3368
3704
  "description": "A composed sidebar shell for navigation and footer content.",
3369
3705
  "docs": "/docs/components/sidebar",
@@ -3388,6 +3724,48 @@
3388
3724
  "target": "styles/nova/sidebar.css",
3389
3725
  "role": "style",
3390
3726
  "layer": "loseta.style"
3727
+ },
3728
+ {
3729
+ "path": "styles/vega/sidebar.css",
3730
+ "target": "styles/vega/sidebar.css",
3731
+ "role": "style",
3732
+ "layer": "loseta.style"
3733
+ },
3734
+ {
3735
+ "path": "styles/maia/sidebar.css",
3736
+ "target": "styles/maia/sidebar.css",
3737
+ "role": "style",
3738
+ "layer": "loseta.style"
3739
+ },
3740
+ {
3741
+ "path": "styles/lyra/sidebar.css",
3742
+ "target": "styles/lyra/sidebar.css",
3743
+ "role": "style",
3744
+ "layer": "loseta.style"
3745
+ },
3746
+ {
3747
+ "path": "styles/mira/sidebar.css",
3748
+ "target": "styles/mira/sidebar.css",
3749
+ "role": "style",
3750
+ "layer": "loseta.style"
3751
+ },
3752
+ {
3753
+ "path": "styles/luma/sidebar.css",
3754
+ "target": "styles/luma/sidebar.css",
3755
+ "role": "style",
3756
+ "layer": "loseta.style"
3757
+ },
3758
+ {
3759
+ "path": "styles/sera/sidebar.css",
3760
+ "target": "styles/sera/sidebar.css",
3761
+ "role": "style",
3762
+ "layer": "loseta.style"
3763
+ },
3764
+ {
3765
+ "path": "styles/rhea/sidebar.css",
3766
+ "target": "styles/rhea/sidebar.css",
3767
+ "role": "style",
3768
+ "layer": "loseta.style"
3391
3769
  }
3392
3770
  ],
3393
3771
  "examples": [
@@ -0,0 +1,59 @@
1
+ /* Accordion */
2
+ @layer loseta.style {
3
+ .accordion > details {
4
+ &:not(:last-child) {
5
+ border-bottom-style: solid;
6
+ border-bottom-width: 1px;
7
+ border-bottom-color: var(--border);
8
+ }
9
+
10
+ &::details-content {
11
+ opacity: 0%;
12
+ transition-property: block-size, opacity;
13
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
14
+ transition-duration: 150ms;
15
+ transition-behavior: allow-discrete;
16
+ }
17
+
18
+ &[open]::details-content {
19
+ opacity: 100%;
20
+ }
21
+
22
+ > summary {
23
+ border-style: solid;
24
+ border-width: 1px;
25
+ border-color: transparent;
26
+ border-radius: var(--radius-full);
27
+ padding-block: 0.75rem;
28
+ text-align: start;
29
+ font-size: var(--text-sm);
30
+ line-height: var(--text-sm--line-height);
31
+ font-weight: 500;
32
+ transition-property: border-color, box-shadow, text-decoration-color;
33
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
34
+ transition-duration: 150ms;
35
+
36
+ &:hover {
37
+ text-decoration-line: underline;
38
+ }
39
+
40
+ &:focus-visible {
41
+ border-color: var(--ring);
42
+ box-shadow: 0 0 0 3px color-mix(in oklab, var(--ring) 50%, transparent);
43
+ }
44
+
45
+ > svg:last-child {
46
+ margin-inline-start: auto;
47
+ width: 1rem;
48
+ height: 1rem;
49
+ color: var(--muted-foreground);
50
+ }
51
+ }
52
+
53
+ > :not(summary) {
54
+ padding-block-end: 0.75rem;
55
+ font-size: var(--text-sm);
56
+ line-height: var(--text-sm--line-height);
57
+ }
58
+ }
59
+ }
@@ -0,0 +1,61 @@
1
+ /* Breadcrumb */
2
+ @layer loseta.style {
3
+ .breadcrumb {
4
+ > ol {
5
+ gap: 0.5rem;
6
+ font-size: var(--text-sm);
7
+ line-height: var(--text-sm--line-height);
8
+ color: var(--muted-foreground);
9
+ }
10
+
11
+ li {
12
+ gap: 0.25rem;
13
+ }
14
+
15
+ :is(a, button) {
16
+ border-radius: var(--radius-md);
17
+ transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke;
18
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
19
+ transition-duration: 150ms;
20
+
21
+ &:hover {
22
+ color: var(--foreground);
23
+ }
24
+
25
+ &:focus-visible {
26
+ border-color: var(--ring);
27
+ box-shadow: 0 0 0 3px color-mix(in oklab, var(--ring) 50%, transparent);
28
+ }
29
+ }
30
+
31
+ [aria-current='page'] {
32
+ font-weight: 500;
33
+ color: var(--foreground);
34
+ }
35
+
36
+ li[aria-hidden='true'] > svg {
37
+ width: 0.875rem;
38
+ height: 0.875rem;
39
+ }
40
+
41
+ li > span[aria-hidden='true'] {
42
+ width: 1.25rem;
43
+ height: 1.25rem;
44
+
45
+ > svg {
46
+ width: 1rem;
47
+ height: 1rem;
48
+ }
49
+ }
50
+
51
+ [data-slot='ellipsis'] {
52
+ width: 1.25rem;
53
+ height: 1.25rem;
54
+
55
+ > svg {
56
+ width: 1rem;
57
+ height: 1rem;
58
+ }
59
+ }
60
+ }
61
+ }