loseta 0.13.0 → 0.14.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 (60) hide show
  1. package/package.json +1 -1
  2. package/registry/examples/sidebar.html +1 -1
  3. package/registry/registry.json +345 -9
  4. package/registry/styles/luma/calendar.css +78 -0
  5. package/registry/styles/luma/carousel.css +63 -0
  6. package/registry/styles/luma/chart.css +51 -0
  7. package/registry/styles/luma/combobox.css +59 -0
  8. package/registry/styles/luma/command.css +21 -0
  9. package/registry/styles/luma/primitives/listbox.css +71 -0
  10. package/registry/styles/luma/resizable.css +34 -0
  11. package/registry/styles/luma/select.css +75 -0
  12. package/registry/styles/lyra/calendar.css +78 -0
  13. package/registry/styles/lyra/carousel.css +63 -0
  14. package/registry/styles/lyra/chart.css +51 -0
  15. package/registry/styles/lyra/combobox.css +59 -0
  16. package/registry/styles/lyra/command.css +21 -0
  17. package/registry/styles/lyra/primitives/listbox.css +71 -0
  18. package/registry/styles/lyra/resizable.css +34 -0
  19. package/registry/styles/lyra/select.css +75 -0
  20. package/registry/styles/maia/calendar.css +78 -0
  21. package/registry/styles/maia/carousel.css +63 -0
  22. package/registry/styles/maia/chart.css +51 -0
  23. package/registry/styles/maia/combobox.css +59 -0
  24. package/registry/styles/maia/command.css +21 -0
  25. package/registry/styles/maia/primitives/listbox.css +71 -0
  26. package/registry/styles/maia/resizable.css +34 -0
  27. package/registry/styles/maia/select.css +75 -0
  28. package/registry/styles/mira/calendar.css +78 -0
  29. package/registry/styles/mira/carousel.css +63 -0
  30. package/registry/styles/mira/chart.css +51 -0
  31. package/registry/styles/mira/combobox.css +59 -0
  32. package/registry/styles/mira/command.css +21 -0
  33. package/registry/styles/mira/primitives/listbox.css +71 -0
  34. package/registry/styles/mira/resizable.css +34 -0
  35. package/registry/styles/mira/select.css +75 -0
  36. package/registry/styles/nova/select.css +4 -0
  37. package/registry/styles/rhea/calendar.css +78 -0
  38. package/registry/styles/rhea/carousel.css +63 -0
  39. package/registry/styles/rhea/chart.css +51 -0
  40. package/registry/styles/rhea/combobox.css +59 -0
  41. package/registry/styles/rhea/command.css +21 -0
  42. package/registry/styles/rhea/primitives/listbox.css +71 -0
  43. package/registry/styles/rhea/resizable.css +34 -0
  44. package/registry/styles/rhea/select.css +75 -0
  45. package/registry/styles/sera/calendar.css +82 -0
  46. package/registry/styles/sera/carousel.css +63 -0
  47. package/registry/styles/sera/chart.css +51 -0
  48. package/registry/styles/sera/combobox.css +60 -0
  49. package/registry/styles/sera/command.css +21 -0
  50. package/registry/styles/sera/primitives/listbox.css +71 -0
  51. package/registry/styles/sera/resizable.css +34 -0
  52. package/registry/styles/sera/select.css +76 -0
  53. package/registry/styles/vega/calendar.css +78 -0
  54. package/registry/styles/vega/carousel.css +63 -0
  55. package/registry/styles/vega/chart.css +51 -0
  56. package/registry/styles/vega/combobox.css +59 -0
  57. package/registry/styles/vega/command.css +21 -0
  58. package/registry/styles/vega/primitives/listbox.css +71 -0
  59. package/registry/styles/vega/resizable.css +34 -0
  60. package/registry/styles/vega/select.css +75 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "loseta",
3
- "version": "0.13.0",
3
+ "version": "0.14.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.13.0</span>
29
+ <span>v0.14.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.13.0",
4
+ "version": "0.14.0",
5
5
  "styles": [
6
6
  {
7
7
  "name": "nova",
@@ -247,7 +247,7 @@
247
247
  {
248
248
  "name": "listbox",
249
249
  "type": "primitive",
250
- "status": "experimental",
250
+ "status": "stable",
251
251
  "title": "Listbox primitive",
252
252
  "description": "Shared listbox option, group, empty and indicator rules used by select, combobox and command.",
253
253
  "root": [
@@ -265,6 +265,48 @@
265
265
  "target": "styles/nova/primitives/listbox.css",
266
266
  "role": "style",
267
267
  "layer": "loseta.style"
268
+ },
269
+ {
270
+ "path": "styles/vega/primitives/listbox.css",
271
+ "target": "styles/vega/primitives/listbox.css",
272
+ "role": "style",
273
+ "layer": "loseta.style"
274
+ },
275
+ {
276
+ "path": "styles/maia/primitives/listbox.css",
277
+ "target": "styles/maia/primitives/listbox.css",
278
+ "role": "style",
279
+ "layer": "loseta.style"
280
+ },
281
+ {
282
+ "path": "styles/lyra/primitives/listbox.css",
283
+ "target": "styles/lyra/primitives/listbox.css",
284
+ "role": "style",
285
+ "layer": "loseta.style"
286
+ },
287
+ {
288
+ "path": "styles/mira/primitives/listbox.css",
289
+ "target": "styles/mira/primitives/listbox.css",
290
+ "role": "style",
291
+ "layer": "loseta.style"
292
+ },
293
+ {
294
+ "path": "styles/luma/primitives/listbox.css",
295
+ "target": "styles/luma/primitives/listbox.css",
296
+ "role": "style",
297
+ "layer": "loseta.style"
298
+ },
299
+ {
300
+ "path": "styles/sera/primitives/listbox.css",
301
+ "target": "styles/sera/primitives/listbox.css",
302
+ "role": "style",
303
+ "layer": "loseta.style"
304
+ },
305
+ {
306
+ "path": "styles/rhea/primitives/listbox.css",
307
+ "target": "styles/rhea/primitives/listbox.css",
308
+ "role": "style",
309
+ "layer": "loseta.style"
268
310
  }
269
311
  ]
270
312
  },
@@ -3722,7 +3764,7 @@
3722
3764
  {
3723
3765
  "name": "select",
3724
3766
  "type": "component",
3725
- "status": "experimental",
3767
+ "status": "stable",
3726
3768
  "title": "Select",
3727
3769
  "description": "A custom single-select listbox with a button trigger.",
3728
3770
  "docs": "/docs/components/select",
@@ -3746,6 +3788,48 @@
3746
3788
  "target": "styles/nova/select.css",
3747
3789
  "role": "style",
3748
3790
  "layer": "loseta.style"
3791
+ },
3792
+ {
3793
+ "path": "styles/vega/select.css",
3794
+ "target": "styles/vega/select.css",
3795
+ "role": "style",
3796
+ "layer": "loseta.style"
3797
+ },
3798
+ {
3799
+ "path": "styles/maia/select.css",
3800
+ "target": "styles/maia/select.css",
3801
+ "role": "style",
3802
+ "layer": "loseta.style"
3803
+ },
3804
+ {
3805
+ "path": "styles/lyra/select.css",
3806
+ "target": "styles/lyra/select.css",
3807
+ "role": "style",
3808
+ "layer": "loseta.style"
3809
+ },
3810
+ {
3811
+ "path": "styles/mira/select.css",
3812
+ "target": "styles/mira/select.css",
3813
+ "role": "style",
3814
+ "layer": "loseta.style"
3815
+ },
3816
+ {
3817
+ "path": "styles/luma/select.css",
3818
+ "target": "styles/luma/select.css",
3819
+ "role": "style",
3820
+ "layer": "loseta.style"
3821
+ },
3822
+ {
3823
+ "path": "styles/sera/select.css",
3824
+ "target": "styles/sera/select.css",
3825
+ "role": "style",
3826
+ "layer": "loseta.style"
3827
+ },
3828
+ {
3829
+ "path": "styles/rhea/select.css",
3830
+ "target": "styles/rhea/select.css",
3831
+ "role": "style",
3832
+ "layer": "loseta.style"
3749
3833
  }
3750
3834
  ],
3751
3835
  "examples": [
@@ -3755,7 +3839,7 @@
3755
3839
  {
3756
3840
  "name": "combobox",
3757
3841
  "type": "component",
3758
- "status": "experimental",
3842
+ "status": "stable",
3759
3843
  "title": "Combobox",
3760
3844
  "description": "A text input combined with a listbox of options.",
3761
3845
  "docs": "/docs/components/combobox",
@@ -3781,6 +3865,48 @@
3781
3865
  "target": "styles/nova/combobox.css",
3782
3866
  "role": "style",
3783
3867
  "layer": "loseta.style"
3868
+ },
3869
+ {
3870
+ "path": "styles/vega/combobox.css",
3871
+ "target": "styles/vega/combobox.css",
3872
+ "role": "style",
3873
+ "layer": "loseta.style"
3874
+ },
3875
+ {
3876
+ "path": "styles/maia/combobox.css",
3877
+ "target": "styles/maia/combobox.css",
3878
+ "role": "style",
3879
+ "layer": "loseta.style"
3880
+ },
3881
+ {
3882
+ "path": "styles/lyra/combobox.css",
3883
+ "target": "styles/lyra/combobox.css",
3884
+ "role": "style",
3885
+ "layer": "loseta.style"
3886
+ },
3887
+ {
3888
+ "path": "styles/mira/combobox.css",
3889
+ "target": "styles/mira/combobox.css",
3890
+ "role": "style",
3891
+ "layer": "loseta.style"
3892
+ },
3893
+ {
3894
+ "path": "styles/luma/combobox.css",
3895
+ "target": "styles/luma/combobox.css",
3896
+ "role": "style",
3897
+ "layer": "loseta.style"
3898
+ },
3899
+ {
3900
+ "path": "styles/sera/combobox.css",
3901
+ "target": "styles/sera/combobox.css",
3902
+ "role": "style",
3903
+ "layer": "loseta.style"
3904
+ },
3905
+ {
3906
+ "path": "styles/rhea/combobox.css",
3907
+ "target": "styles/rhea/combobox.css",
3908
+ "role": "style",
3909
+ "layer": "loseta.style"
3784
3910
  }
3785
3911
  ],
3786
3912
  "examples": [
@@ -3790,7 +3916,7 @@
3790
3916
  {
3791
3917
  "name": "command",
3792
3918
  "type": "component",
3793
- "status": "experimental",
3919
+ "status": "stable",
3794
3920
  "title": "Command",
3795
3921
  "description": "A searchable command list for palettes and dialogs.",
3796
3922
  "docs": "/docs/components/command",
@@ -3818,6 +3944,48 @@
3818
3944
  "target": "styles/nova/command.css",
3819
3945
  "role": "style",
3820
3946
  "layer": "loseta.style"
3947
+ },
3948
+ {
3949
+ "path": "styles/vega/command.css",
3950
+ "target": "styles/vega/command.css",
3951
+ "role": "style",
3952
+ "layer": "loseta.style"
3953
+ },
3954
+ {
3955
+ "path": "styles/maia/command.css",
3956
+ "target": "styles/maia/command.css",
3957
+ "role": "style",
3958
+ "layer": "loseta.style"
3959
+ },
3960
+ {
3961
+ "path": "styles/lyra/command.css",
3962
+ "target": "styles/lyra/command.css",
3963
+ "role": "style",
3964
+ "layer": "loseta.style"
3965
+ },
3966
+ {
3967
+ "path": "styles/mira/command.css",
3968
+ "target": "styles/mira/command.css",
3969
+ "role": "style",
3970
+ "layer": "loseta.style"
3971
+ },
3972
+ {
3973
+ "path": "styles/luma/command.css",
3974
+ "target": "styles/luma/command.css",
3975
+ "role": "style",
3976
+ "layer": "loseta.style"
3977
+ },
3978
+ {
3979
+ "path": "styles/sera/command.css",
3980
+ "target": "styles/sera/command.css",
3981
+ "role": "style",
3982
+ "layer": "loseta.style"
3983
+ },
3984
+ {
3985
+ "path": "styles/rhea/command.css",
3986
+ "target": "styles/rhea/command.css",
3987
+ "role": "style",
3988
+ "layer": "loseta.style"
3821
3989
  }
3822
3990
  ],
3823
3991
  "examples": [
@@ -3827,7 +3995,7 @@
3827
3995
  {
3828
3996
  "name": "calendar",
3829
3997
  "type": "component",
3830
- "status": "experimental",
3998
+ "status": "stable",
3831
3999
  "title": "Calendar",
3832
4000
  "description": "A native month grid for date selection.",
3833
4001
  "docs": "/docs/components/calendar",
@@ -3848,6 +4016,48 @@
3848
4016
  "target": "styles/nova/calendar.css",
3849
4017
  "role": "style",
3850
4018
  "layer": "loseta.style"
4019
+ },
4020
+ {
4021
+ "path": "styles/vega/calendar.css",
4022
+ "target": "styles/vega/calendar.css",
4023
+ "role": "style",
4024
+ "layer": "loseta.style"
4025
+ },
4026
+ {
4027
+ "path": "styles/maia/calendar.css",
4028
+ "target": "styles/maia/calendar.css",
4029
+ "role": "style",
4030
+ "layer": "loseta.style"
4031
+ },
4032
+ {
4033
+ "path": "styles/lyra/calendar.css",
4034
+ "target": "styles/lyra/calendar.css",
4035
+ "role": "style",
4036
+ "layer": "loseta.style"
4037
+ },
4038
+ {
4039
+ "path": "styles/mira/calendar.css",
4040
+ "target": "styles/mira/calendar.css",
4041
+ "role": "style",
4042
+ "layer": "loseta.style"
4043
+ },
4044
+ {
4045
+ "path": "styles/luma/calendar.css",
4046
+ "target": "styles/luma/calendar.css",
4047
+ "role": "style",
4048
+ "layer": "loseta.style"
4049
+ },
4050
+ {
4051
+ "path": "styles/sera/calendar.css",
4052
+ "target": "styles/sera/calendar.css",
4053
+ "role": "style",
4054
+ "layer": "loseta.style"
4055
+ },
4056
+ {
4057
+ "path": "styles/rhea/calendar.css",
4058
+ "target": "styles/rhea/calendar.css",
4059
+ "role": "style",
4060
+ "layer": "loseta.style"
3851
4061
  }
3852
4062
  ],
3853
4063
  "examples": [
@@ -3857,7 +4067,7 @@
3857
4067
  {
3858
4068
  "name": "carousel",
3859
4069
  "type": "component",
3860
- "status": "experimental",
4070
+ "status": "stable",
3861
4071
  "title": "Carousel",
3862
4072
  "description": "A scroll-snap carousel with controls and indicators.",
3863
4073
  "docs": "/docs/components/carousel",
@@ -3880,6 +4090,48 @@
3880
4090
  "target": "styles/nova/carousel.css",
3881
4091
  "role": "style",
3882
4092
  "layer": "loseta.style"
4093
+ },
4094
+ {
4095
+ "path": "styles/vega/carousel.css",
4096
+ "target": "styles/vega/carousel.css",
4097
+ "role": "style",
4098
+ "layer": "loseta.style"
4099
+ },
4100
+ {
4101
+ "path": "styles/maia/carousel.css",
4102
+ "target": "styles/maia/carousel.css",
4103
+ "role": "style",
4104
+ "layer": "loseta.style"
4105
+ },
4106
+ {
4107
+ "path": "styles/lyra/carousel.css",
4108
+ "target": "styles/lyra/carousel.css",
4109
+ "role": "style",
4110
+ "layer": "loseta.style"
4111
+ },
4112
+ {
4113
+ "path": "styles/mira/carousel.css",
4114
+ "target": "styles/mira/carousel.css",
4115
+ "role": "style",
4116
+ "layer": "loseta.style"
4117
+ },
4118
+ {
4119
+ "path": "styles/luma/carousel.css",
4120
+ "target": "styles/luma/carousel.css",
4121
+ "role": "style",
4122
+ "layer": "loseta.style"
4123
+ },
4124
+ {
4125
+ "path": "styles/sera/carousel.css",
4126
+ "target": "styles/sera/carousel.css",
4127
+ "role": "style",
4128
+ "layer": "loseta.style"
4129
+ },
4130
+ {
4131
+ "path": "styles/rhea/carousel.css",
4132
+ "target": "styles/rhea/carousel.css",
4133
+ "role": "style",
4134
+ "layer": "loseta.style"
3883
4135
  }
3884
4136
  ],
3885
4137
  "examples": [
@@ -3889,7 +4141,7 @@
3889
4141
  {
3890
4142
  "name": "chart",
3891
4143
  "type": "component",
3892
- "status": "experimental",
4144
+ "status": "stable",
3893
4145
  "title": "Chart",
3894
4146
  "description": "Chart chrome for legends and tooltips with series color tokens.",
3895
4147
  "docs": "/docs/components/chart",
@@ -3912,6 +4164,48 @@
3912
4164
  "target": "styles/nova/chart.css",
3913
4165
  "role": "style",
3914
4166
  "layer": "loseta.style"
4167
+ },
4168
+ {
4169
+ "path": "styles/vega/chart.css",
4170
+ "target": "styles/vega/chart.css",
4171
+ "role": "style",
4172
+ "layer": "loseta.style"
4173
+ },
4174
+ {
4175
+ "path": "styles/maia/chart.css",
4176
+ "target": "styles/maia/chart.css",
4177
+ "role": "style",
4178
+ "layer": "loseta.style"
4179
+ },
4180
+ {
4181
+ "path": "styles/lyra/chart.css",
4182
+ "target": "styles/lyra/chart.css",
4183
+ "role": "style",
4184
+ "layer": "loseta.style"
4185
+ },
4186
+ {
4187
+ "path": "styles/mira/chart.css",
4188
+ "target": "styles/mira/chart.css",
4189
+ "role": "style",
4190
+ "layer": "loseta.style"
4191
+ },
4192
+ {
4193
+ "path": "styles/luma/chart.css",
4194
+ "target": "styles/luma/chart.css",
4195
+ "role": "style",
4196
+ "layer": "loseta.style"
4197
+ },
4198
+ {
4199
+ "path": "styles/sera/chart.css",
4200
+ "target": "styles/sera/chart.css",
4201
+ "role": "style",
4202
+ "layer": "loseta.style"
4203
+ },
4204
+ {
4205
+ "path": "styles/rhea/chart.css",
4206
+ "target": "styles/rhea/chart.css",
4207
+ "role": "style",
4208
+ "layer": "loseta.style"
3915
4209
  }
3916
4210
  ],
3917
4211
  "examples": [
@@ -3921,7 +4215,7 @@
3921
4215
  {
3922
4216
  "name": "resizable",
3923
4217
  "type": "component",
3924
- "status": "experimental",
4218
+ "status": "stable",
3925
4219
  "title": "Resizable",
3926
4220
  "description": "A flex layout with draggable separator handles.",
3927
4221
  "docs": "/docs/components/resizable",
@@ -3942,6 +4236,48 @@
3942
4236
  "target": "styles/nova/resizable.css",
3943
4237
  "role": "style",
3944
4238
  "layer": "loseta.style"
4239
+ },
4240
+ {
4241
+ "path": "styles/vega/resizable.css",
4242
+ "target": "styles/vega/resizable.css",
4243
+ "role": "style",
4244
+ "layer": "loseta.style"
4245
+ },
4246
+ {
4247
+ "path": "styles/maia/resizable.css",
4248
+ "target": "styles/maia/resizable.css",
4249
+ "role": "style",
4250
+ "layer": "loseta.style"
4251
+ },
4252
+ {
4253
+ "path": "styles/lyra/resizable.css",
4254
+ "target": "styles/lyra/resizable.css",
4255
+ "role": "style",
4256
+ "layer": "loseta.style"
4257
+ },
4258
+ {
4259
+ "path": "styles/mira/resizable.css",
4260
+ "target": "styles/mira/resizable.css",
4261
+ "role": "style",
4262
+ "layer": "loseta.style"
4263
+ },
4264
+ {
4265
+ "path": "styles/luma/resizable.css",
4266
+ "target": "styles/luma/resizable.css",
4267
+ "role": "style",
4268
+ "layer": "loseta.style"
4269
+ },
4270
+ {
4271
+ "path": "styles/sera/resizable.css",
4272
+ "target": "styles/sera/resizable.css",
4273
+ "role": "style",
4274
+ "layer": "loseta.style"
4275
+ },
4276
+ {
4277
+ "path": "styles/rhea/resizable.css",
4278
+ "target": "styles/rhea/resizable.css",
4279
+ "role": "style",
4280
+ "layer": "loseta.style"
3945
4281
  }
3946
4282
  ],
3947
4283
  "examples": [
@@ -0,0 +1,78 @@
1
+ /* Calendar */
2
+ @layer loseta.style {
3
+ .calendar {
4
+ width: 18rem;
5
+ gap: 0.75rem;
6
+
7
+ > header {
8
+ gap: 0.75rem;
9
+ }
10
+
11
+ > header > button {
12
+ width: 2rem;
13
+ height: 2rem;
14
+ border-radius: var(--radius-full);
15
+ color: var(--muted-foreground);
16
+
17
+ &:hover {
18
+ background-color: var(--muted);
19
+ color: var(--foreground);
20
+ }
21
+
22
+ &:focus-visible {
23
+ box-shadow: 0 0 0 3px color-mix(in oklab, var(--ring) 50%, transparent);
24
+ }
25
+
26
+ > svg {
27
+ width: 1rem;
28
+ height: 1rem;
29
+ }
30
+ }
31
+
32
+ [data-slot='title'] {
33
+ font-size: var(--text-sm);
34
+ line-height: var(--text-sm--line-height);
35
+ font-weight: 500;
36
+ }
37
+
38
+ th {
39
+ padding-block: 0.25rem;
40
+ font-size: var(--text-xs);
41
+ line-height: var(--text-xs--line-height);
42
+ color: var(--muted-foreground);
43
+ }
44
+
45
+ td > button {
46
+ width: 2.25rem;
47
+ height: 2.25rem;
48
+ border-radius: var(--radius-full);
49
+ font-size: var(--text-sm);
50
+ line-height: var(--text-sm--line-height);
51
+ transition-property: color, background-color, box-shadow;
52
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
53
+ transition-duration: 150ms;
54
+
55
+ &:hover {
56
+ background-color: var(--muted);
57
+ }
58
+
59
+ &:focus-visible {
60
+ box-shadow: 0 0 0 3px color-mix(in oklab, var(--ring) 50%, transparent);
61
+ }
62
+
63
+ &[aria-disabled='true'] {
64
+ opacity: 50%;
65
+ color: var(--muted-foreground);
66
+ }
67
+ }
68
+
69
+ td[aria-selected='true'] > button {
70
+ background-color: var(--primary);
71
+ color: var(--primary-foreground);
72
+ }
73
+
74
+ td > button[aria-current='date'] {
75
+ box-shadow: inset 0 0 0 1px var(--ring);
76
+ }
77
+ }
78
+ }
@@ -0,0 +1,63 @@
1
+ /* Carousel */
2
+ @layer loseta.style {
3
+ .carousel {
4
+ gap: 1rem;
5
+
6
+ .carousel-viewport {
7
+ border-radius: var(--radius-4xl);
8
+ }
9
+
10
+ .carousel-button {
11
+ width: 2.25rem;
12
+ height: 2.25rem;
13
+ border-style: solid;
14
+ border-width: 1px;
15
+ border-color: var(--border);
16
+ border-radius: var(--radius-full);
17
+ color: var(--muted-foreground);
18
+ transition-property: color, background-color, border-color, box-shadow;
19
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
20
+ transition-duration: 150ms;
21
+
22
+ &:hover {
23
+ background-color: var(--muted);
24
+ color: var(--foreground);
25
+ }
26
+
27
+ &:focus-visible {
28
+ border-color: var(--ring);
29
+ box-shadow: 0 0 0 3px color-mix(in oklab, var(--ring) 50%, transparent);
30
+ }
31
+
32
+ > svg {
33
+ width: 1rem;
34
+ height: 1rem;
35
+ }
36
+ }
37
+
38
+ .carousel-indicator {
39
+ color: var(--muted-foreground);
40
+ transition-property: color;
41
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
42
+ transition-duration: 150ms;
43
+
44
+ &::before {
45
+ width: 0.625rem;
46
+ height: 0.625rem;
47
+ border-radius: var(--radius-full);
48
+ }
49
+
50
+ &:hover {
51
+ color: var(--foreground);
52
+ }
53
+
54
+ &:focus-visible {
55
+ box-shadow: 0 0 0 3px color-mix(in oklab, var(--ring) 50%, transparent);
56
+ }
57
+
58
+ &[aria-current='true'] {
59
+ color: var(--primary);
60
+ }
61
+ }
62
+ }
63
+ }
@@ -0,0 +1,51 @@
1
+ /* Chart */
2
+ @layer loseta.style {
3
+ .chart {
4
+ gap: 1rem;
5
+
6
+ > [data-slot='plot'] {
7
+ aspect-ratio: 16 / 9;
8
+ }
9
+
10
+ > [data-slot='legend'] {
11
+ gap: 1rem;
12
+ font-size: var(--text-xs);
13
+ line-height: var(--text-xs--line-height);
14
+ color: var(--muted-foreground);
15
+ }
16
+
17
+ [data-slot='legend-item'] {
18
+ color: var(--muted-foreground);
19
+ }
20
+
21
+ [data-slot='swatch'] {
22
+ width: 0.625rem;
23
+ height: 0.625rem;
24
+ border-radius: var(--radius-full);
25
+ }
26
+
27
+ [data-slot='tooltip'] {
28
+ display: flex;
29
+ flex-direction: column;
30
+ gap: 0.125rem;
31
+ border-style: solid;
32
+ border-width: 1px;
33
+ border-color: var(--border);
34
+ border-radius: var(--radius-2xl);
35
+ background-color: var(--popover);
36
+ padding: 0.5rem 0.75rem;
37
+ color: var(--popover-foreground);
38
+ box-shadow: var(--shadow-lg);
39
+ font-size: var(--text-xs);
40
+ line-height: var(--text-xs--line-height);
41
+
42
+ [data-slot='title'] {
43
+ font-weight: 500;
44
+ }
45
+
46
+ [data-slot='description'] {
47
+ color: var(--muted-foreground);
48
+ }
49
+ }
50
+ }
51
+ }