loseta 0.18.0 → 0.20.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.
- package/README.md +86 -18
- package/dist/cli.js +3 -4
- package/dist/cli.js.map +1 -1
- package/dist/command-context.d.ts +20 -0
- package/dist/command-context.js +26 -0
- package/dist/command-context.js.map +1 -0
- package/dist/command-errors.d.ts +2 -0
- package/dist/command-errors.js +42 -0
- package/dist/command-errors.js.map +1 -0
- package/dist/commands/add.d.ts +8 -0
- package/dist/commands/add.js +189 -61
- package/dist/commands/add.js.map +1 -1
- package/dist/commands/init.d.ts +8 -0
- package/dist/commands/init.js +70 -27
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/list.d.ts +8 -0
- package/dist/commands/list.js +42 -3
- package/dist/commands/list.js.map +1 -1
- package/dist/commands/style.d.ts +10 -1
- package/dist/commands/style.js +58 -10
- package/dist/commands/style.js.map +1 -1
- package/dist/constants.d.ts +9 -0
- package/dist/constants.js +10 -0
- package/dist/constants.js.map +1 -0
- package/dist/fetch.d.ts +28 -0
- package/dist/fetch.js +135 -0
- package/dist/fetch.js.map +1 -0
- package/dist/imports.d.ts +6 -6
- package/dist/imports.js +42 -32
- package/dist/imports.js.map +1 -1
- package/dist/install.d.ts +17 -14
- package/dist/install.js +67 -41
- package/dist/install.js.map +1 -1
- package/dist/local-registry.d.ts +20 -0
- package/dist/local-registry.js +58 -0
- package/dist/local-registry.js.map +1 -0
- package/dist/manifest.d.ts +1 -1
- package/dist/manifest.js +14 -2
- package/dist/manifest.js.map +1 -1
- package/dist/package-info.d.ts +2 -0
- package/dist/package-info.js +5 -0
- package/dist/package-info.js.map +1 -0
- package/dist/payload.d.ts +31 -0
- package/dist/payload.js +155 -0
- package/dist/payload.js.map +1 -0
- package/dist/registry-url.d.ts +14 -0
- package/dist/registry-url.js +63 -0
- package/dist/registry-url.js.map +1 -0
- package/dist/remote-registry.d.ts +36 -0
- package/dist/remote-registry.js +232 -0
- package/dist/remote-registry.js.map +1 -0
- package/dist/resolve.d.ts +23 -0
- package/dist/resolve.js +106 -0
- package/dist/resolve.js.map +1 -0
- package/{registry/schema.json → dist/schema-catalog.json} +31 -9
- package/dist/schema-item.json +119 -0
- package/dist/source-types.d.ts +15 -0
- package/dist/source-types.js +2 -0
- package/dist/source-types.js.map +1 -0
- package/dist/style-switch.d.ts +4 -1
- package/dist/style-switch.js +12 -2
- package/dist/style-switch.js.map +1 -1
- package/dist/types.d.ts +55 -3
- package/dist/validate-content.d.ts +20 -0
- package/dist/validate-content.js +385 -0
- package/dist/validate-content.js.map +1 -0
- package/dist/validation-rules.json +121 -0
- package/dist/version.d.ts +6 -0
- package/dist/version.js +26 -0
- package/dist/version.js.map +1 -0
- package/package.json +4 -4
- package/registry/base.css +0 -20
- package/registry/behaviors/code-block.js +0 -106
- package/registry/behaviors/combobox.js +0 -237
- package/registry/behaviors/command.js +0 -105
- package/registry/behaviors/core.js +0 -302
- package/registry/behaviors/dialog.js +0 -97
- package/registry/behaviors/listbox.js +0 -135
- package/registry/behaviors/menu.js +0 -586
- package/registry/behaviors/popover.js +0 -127
- package/registry/behaviors/select.js +0 -196
- package/registry/behaviors/tabs.js +0 -95
- package/registry/behaviors/toast.js +0 -137
- package/registry/components/accordion.css +0 -65
- package/registry/components/alert-dialog.css +0 -104
- package/registry/components/alert.css +0 -41
- package/registry/components/aspect-ratio.css +0 -25
- package/registry/components/attachment.css +0 -84
- package/registry/components/avatar.css +0 -63
- package/registry/components/badge.css +0 -22
- package/registry/components/breadcrumb.css +0 -65
- package/registry/components/bubble.css +0 -92
- package/registry/components/button-group.css +0 -98
- package/registry/components/button.css +0 -32
- package/registry/components/calendar.css +0 -96
- package/registry/components/card.css +0 -51
- package/registry/components/carousel.css +0 -95
- package/registry/components/chart.css +0 -65
- package/registry/components/checkbox.css +0 -39
- package/registry/components/code-block.css +0 -192
- package/registry/components/collapsible.css +0 -57
- package/registry/components/combobox.css +0 -42
- package/registry/components/command.css +0 -27
- package/registry/components/context-menu.css +0 -37
- package/registry/components/dialog.css +0 -87
- package/registry/components/drawer.css +0 -30
- package/registry/components/dropdown-menu.css +0 -14
- package/registry/components/empty.css +0 -66
- package/registry/components/field.css +0 -169
- package/registry/components/hover-card.css +0 -18
- package/registry/components/input-group.css +0 -56
- package/registry/components/input-otp.css +0 -119
- package/registry/components/input.css +0 -31
- package/registry/components/item.css +0 -102
- package/registry/components/kbd.css +0 -19
- package/registry/components/label.css +0 -31
- package/registry/components/marker.css +0 -47
- package/registry/components/menubar.css +0 -52
- package/registry/components/message-scroller.css +0 -56
- package/registry/components/message.css +0 -61
- package/registry/components/native-select.css +0 -27
- package/registry/components/navigation-menu.css +0 -52
- package/registry/components/pagination.css +0 -49
- package/registry/components/popover.css +0 -7
- package/registry/components/progress.css +0 -13
- package/registry/components/questionnaire.css +0 -92
- package/registry/components/radio.css +0 -40
- package/registry/components/resizable.css +0 -51
- package/registry/components/scroll-area.css +0 -16
- package/registry/components/select.css +0 -50
- package/registry/components/separator.css +0 -12
- package/registry/components/sheet.css +0 -31
- package/registry/components/sidebar.css +0 -107
- package/registry/components/skeleton.css +0 -11
- package/registry/components/slider.css +0 -13
- package/registry/components/spinner.css +0 -8
- package/registry/components/switch.css +0 -41
- package/registry/components/table.css +0 -73
- package/registry/components/tabs.css +0 -61
- package/registry/components/textarea.css +0 -25
- package/registry/components/toast.css +0 -47
- package/registry/components/toggle-group.css +0 -25
- package/registry/components/toggle.css +0 -31
- package/registry/components/tooltip.css +0 -434
- package/registry/components/trace.css +0 -78
- package/registry/examples/accordion.html +0 -56
- package/registry/examples/alert-dialog.html +0 -146
- package/registry/examples/alert.html +0 -62
- package/registry/examples/aspect-ratio.html +0 -14
- package/registry/examples/attachment.html +0 -53
- package/registry/examples/avatar.html +0 -66
- package/registry/examples/badge.html +0 -49
- package/registry/examples/breadcrumb.html +0 -103
- package/registry/examples/bubble.html +0 -26
- package/registry/examples/button-group.html +0 -141
- package/registry/examples/button.html +0 -66
- package/registry/examples/calendar.html +0 -696
- package/registry/examples/card.html +0 -204
- package/registry/examples/carousel.html +0 -49
- package/registry/examples/chart.html +0 -39
- package/registry/examples/checkbox.html +0 -111
- package/registry/examples/code-block.html +0 -84
- package/registry/examples/collapsible.html +0 -22
- package/registry/examples/combobox.html +0 -43
- package/registry/examples/command.html +0 -365
- package/registry/examples/context-menu.html +0 -179
- package/registry/examples/dialog.html +0 -187
- package/registry/examples/drawer.html +0 -234
- package/registry/examples/dropdown-menu.html +0 -272
- package/registry/examples/empty.html +0 -117
- package/registry/examples/field.html +0 -247
- package/registry/examples/hover-card.html +0 -13
- package/registry/examples/input-group.html +0 -110
- package/registry/examples/input-otp.html +0 -182
- package/registry/examples/input.html +0 -80
- package/registry/examples/item.html +0 -32
- package/registry/examples/kbd.html +0 -94
- package/registry/examples/label.html +0 -5
- package/registry/examples/marker.html +0 -20
- package/registry/examples/menubar.html +0 -372
- package/registry/examples/message-scroller.html +0 -54
- package/registry/examples/message.html +0 -47
- package/registry/examples/native-select.html +0 -91
- package/registry/examples/navigation-menu.html +0 -207
- package/registry/examples/pagination.html +0 -39
- package/registry/examples/popover.html +0 -163
- package/registry/examples/progress.html +0 -68
- package/registry/examples/questionnaire.html +0 -99
- package/registry/examples/radio.html +0 -127
- package/registry/examples/resizable.html +0 -34
- package/registry/examples/scroll-area.html +0 -34
- package/registry/examples/select.html +0 -250
- package/registry/examples/separator.html +0 -18
- package/registry/examples/sheet.html +0 -240
- package/registry/examples/sidebar.html +0 -407
- package/registry/examples/skeleton.html +0 -6
- package/registry/examples/slider.html +0 -56
- package/registry/examples/spinner.html +0 -15
- package/registry/examples/switch.html +0 -73
- package/registry/examples/table.html +0 -218
- package/registry/examples/tabs.html +0 -27
- package/registry/examples/textarea.html +0 -36
- package/registry/examples/toast.html +0 -28
- package/registry/examples/toggle-group.html +0 -73
- package/registry/examples/toggle.html +0 -40
- package/registry/examples/tooltip.html +0 -106
- package/registry/examples/trace.html +0 -54
- package/registry/primitives/dialog-shell.css +0 -129
- package/registry/primitives/listbox.css +0 -82
- package/registry/primitives/menu.css +0 -109
- package/registry/primitives/popover.css +0 -162
- package/registry/registry.json +0 -5265
- package/registry/reset.css +0 -400
- package/registry/styles/luma/accordion.css +0 -59
- package/registry/styles/luma/alert-dialog.css +0 -82
- package/registry/styles/luma/alert.css +0 -98
- package/registry/styles/luma/aspect-ratio.css +0 -6
- package/registry/styles/luma/attachment.css +0 -176
- package/registry/styles/luma/avatar.css +0 -132
- package/registry/styles/luma/badge.css +0 -112
- package/registry/styles/luma/breadcrumb.css +0 -62
- package/registry/styles/luma/bubble.css +0 -147
- package/registry/styles/luma/button-group.css +0 -63
- package/registry/styles/luma/button.css +0 -222
- package/registry/styles/luma/calendar.css +0 -140
- package/registry/styles/luma/card.css +0 -82
- package/registry/styles/luma/carousel.css +0 -63
- package/registry/styles/luma/chart.css +0 -51
- package/registry/styles/luma/checkbox.css +0 -58
- package/registry/styles/luma/code-block.css +0 -186
- package/registry/styles/luma/collapsible.css +0 -50
- package/registry/styles/luma/combobox.css +0 -59
- package/registry/styles/luma/command.css +0 -27
- package/registry/styles/luma/context-menu.css +0 -19
- package/registry/styles/luma/dialog.css +0 -64
- package/registry/styles/luma/drawer.css +0 -68
- package/registry/styles/luma/dropdown-menu.css +0 -8
- package/registry/styles/luma/empty.css +0 -52
- package/registry/styles/luma/field.css +0 -120
- package/registry/styles/luma/hover-card.css +0 -22
- package/registry/styles/luma/input-group.css +0 -98
- package/registry/styles/luma/input-otp.css +0 -102
- package/registry/styles/luma/input.css +0 -61
- package/registry/styles/luma/item.css +0 -133
- package/registry/styles/luma/kbd.css +0 -22
- package/registry/styles/luma/label.css +0 -74
- package/registry/styles/luma/marker.css +0 -35
- package/registry/styles/luma/menubar.css +0 -48
- package/registry/styles/luma/message-scroller.css +0 -47
- package/registry/styles/luma/message.css +0 -39
- package/registry/styles/luma/native-select.css +0 -80
- package/registry/styles/luma/navigation-menu.css +0 -90
- package/registry/styles/luma/pagination.css +0 -46
- package/registry/styles/luma/popover.css +0 -25
- package/registry/styles/luma/primitives/dialog-shell.css +0 -19
- package/registry/styles/luma/primitives/listbox.css +0 -79
- package/registry/styles/luma/primitives/menu.css +0 -108
- package/registry/styles/luma/primitives/popover.css +0 -16
- package/registry/styles/luma/progress.css +0 -92
- package/registry/styles/luma/questionnaire.css +0 -141
- package/registry/styles/luma/radio.css +0 -48
- package/registry/styles/luma/resizable.css +0 -34
- package/registry/styles/luma/scroll-area.css +0 -30
- package/registry/styles/luma/select.css +0 -80
- package/registry/styles/luma/separator.css +0 -14
- package/registry/styles/luma/sheet.css +0 -74
- package/registry/styles/luma/sidebar.css +0 -211
- package/registry/styles/luma/skeleton.css +0 -7
- package/registry/styles/luma/slider.css +0 -15
- package/registry/styles/luma/spinner.css +0 -35
- package/registry/styles/luma/switch.css +0 -110
- package/registry/styles/luma/table.css +0 -91
- package/registry/styles/luma/tabs.css +0 -133
- package/registry/styles/luma/textarea.css +0 -53
- package/registry/styles/luma/toast.css +0 -62
- package/registry/styles/luma/toggle-group.css +0 -59
- package/registry/styles/luma/toggle.css +0 -128
- package/registry/styles/luma/tooltip.css +0 -35
- package/registry/styles/luma/trace.css +0 -85
- package/registry/styles/lyra/accordion.css +0 -59
- package/registry/styles/lyra/alert-dialog.css +0 -82
- package/registry/styles/lyra/alert.css +0 -98
- package/registry/styles/lyra/aspect-ratio.css +0 -6
- package/registry/styles/lyra/attachment.css +0 -176
- package/registry/styles/lyra/avatar.css +0 -132
- package/registry/styles/lyra/badge.css +0 -112
- package/registry/styles/lyra/breadcrumb.css +0 -62
- package/registry/styles/lyra/bubble.css +0 -147
- package/registry/styles/lyra/button-group.css +0 -62
- package/registry/styles/lyra/button.css +0 -221
- package/registry/styles/lyra/calendar.css +0 -140
- package/registry/styles/lyra/card.css +0 -81
- package/registry/styles/lyra/carousel.css +0 -63
- package/registry/styles/lyra/chart.css +0 -51
- package/registry/styles/lyra/checkbox.css +0 -58
- package/registry/styles/lyra/code-block.css +0 -186
- package/registry/styles/lyra/collapsible.css +0 -50
- package/registry/styles/lyra/combobox.css +0 -59
- package/registry/styles/lyra/command.css +0 -27
- package/registry/styles/lyra/context-menu.css +0 -19
- package/registry/styles/lyra/dialog.css +0 -64
- package/registry/styles/lyra/drawer.css +0 -68
- package/registry/styles/lyra/dropdown-menu.css +0 -8
- package/registry/styles/lyra/empty.css +0 -52
- package/registry/styles/lyra/field.css +0 -120
- package/registry/styles/lyra/hover-card.css +0 -22
- package/registry/styles/lyra/input-group.css +0 -98
- package/registry/styles/lyra/input-otp.css +0 -102
- package/registry/styles/lyra/input.css +0 -62
- package/registry/styles/lyra/item.css +0 -133
- package/registry/styles/lyra/kbd.css +0 -22
- package/registry/styles/lyra/label.css +0 -74
- package/registry/styles/lyra/marker.css +0 -35
- package/registry/styles/lyra/menubar.css +0 -48
- package/registry/styles/lyra/message-scroller.css +0 -47
- package/registry/styles/lyra/message.css +0 -39
- package/registry/styles/lyra/native-select.css +0 -79
- package/registry/styles/lyra/navigation-menu.css +0 -90
- package/registry/styles/lyra/pagination.css +0 -46
- package/registry/styles/lyra/popover.css +0 -25
- package/registry/styles/lyra/primitives/dialog-shell.css +0 -19
- package/registry/styles/lyra/primitives/listbox.css +0 -79
- package/registry/styles/lyra/primitives/menu.css +0 -108
- package/registry/styles/lyra/primitives/popover.css +0 -16
- package/registry/styles/lyra/progress.css +0 -92
- package/registry/styles/lyra/questionnaire.css +0 -141
- package/registry/styles/lyra/radio.css +0 -48
- package/registry/styles/lyra/resizable.css +0 -34
- package/registry/styles/lyra/scroll-area.css +0 -30
- package/registry/styles/lyra/select.css +0 -80
- package/registry/styles/lyra/separator.css +0 -14
- package/registry/styles/lyra/sheet.css +0 -74
- package/registry/styles/lyra/sidebar.css +0 -211
- package/registry/styles/lyra/skeleton.css +0 -7
- package/registry/styles/lyra/slider.css +0 -15
- package/registry/styles/lyra/spinner.css +0 -35
- package/registry/styles/lyra/switch.css +0 -110
- package/registry/styles/lyra/table.css +0 -91
- package/registry/styles/lyra/tabs.css +0 -133
- package/registry/styles/lyra/textarea.css +0 -53
- package/registry/styles/lyra/toast.css +0 -62
- package/registry/styles/lyra/toggle-group.css +0 -48
- package/registry/styles/lyra/toggle.css +0 -126
- package/registry/styles/lyra/tooltip.css +0 -35
- package/registry/styles/lyra/trace.css +0 -85
- package/registry/styles/maia/accordion.css +0 -59
- package/registry/styles/maia/alert-dialog.css +0 -82
- package/registry/styles/maia/alert.css +0 -98
- package/registry/styles/maia/aspect-ratio.css +0 -6
- package/registry/styles/maia/attachment.css +0 -176
- package/registry/styles/maia/avatar.css +0 -132
- package/registry/styles/maia/badge.css +0 -113
- package/registry/styles/maia/breadcrumb.css +0 -62
- package/registry/styles/maia/bubble.css +0 -147
- package/registry/styles/maia/button-group.css +0 -63
- package/registry/styles/maia/button.css +0 -222
- package/registry/styles/maia/calendar.css +0 -140
- package/registry/styles/maia/card.css +0 -81
- package/registry/styles/maia/carousel.css +0 -63
- package/registry/styles/maia/chart.css +0 -51
- package/registry/styles/maia/checkbox.css +0 -58
- package/registry/styles/maia/code-block.css +0 -186
- package/registry/styles/maia/collapsible.css +0 -50
- package/registry/styles/maia/combobox.css +0 -59
- package/registry/styles/maia/command.css +0 -27
- package/registry/styles/maia/context-menu.css +0 -19
- package/registry/styles/maia/dialog.css +0 -64
- package/registry/styles/maia/drawer.css +0 -68
- package/registry/styles/maia/dropdown-menu.css +0 -8
- package/registry/styles/maia/empty.css +0 -52
- package/registry/styles/maia/field.css +0 -120
- package/registry/styles/maia/hover-card.css +0 -22
- package/registry/styles/maia/input-group.css +0 -98
- package/registry/styles/maia/input-otp.css +0 -102
- package/registry/styles/maia/input.css +0 -61
- package/registry/styles/maia/item.css +0 -133
- package/registry/styles/maia/kbd.css +0 -22
- package/registry/styles/maia/label.css +0 -74
- package/registry/styles/maia/marker.css +0 -35
- package/registry/styles/maia/menubar.css +0 -48
- package/registry/styles/maia/message-scroller.css +0 -47
- package/registry/styles/maia/message.css +0 -39
- package/registry/styles/maia/native-select.css +0 -80
- package/registry/styles/maia/navigation-menu.css +0 -90
- package/registry/styles/maia/pagination.css +0 -46
- package/registry/styles/maia/popover.css +0 -25
- package/registry/styles/maia/primitives/dialog-shell.css +0 -19
- package/registry/styles/maia/primitives/listbox.css +0 -79
- package/registry/styles/maia/primitives/menu.css +0 -108
- package/registry/styles/maia/primitives/popover.css +0 -16
- package/registry/styles/maia/progress.css +0 -92
- package/registry/styles/maia/questionnaire.css +0 -141
- package/registry/styles/maia/radio.css +0 -48
- package/registry/styles/maia/resizable.css +0 -34
- package/registry/styles/maia/scroll-area.css +0 -30
- package/registry/styles/maia/select.css +0 -80
- package/registry/styles/maia/separator.css +0 -14
- package/registry/styles/maia/sheet.css +0 -74
- package/registry/styles/maia/sidebar.css +0 -211
- package/registry/styles/maia/skeleton.css +0 -7
- package/registry/styles/maia/slider.css +0 -15
- package/registry/styles/maia/spinner.css +0 -35
- package/registry/styles/maia/switch.css +0 -110
- package/registry/styles/maia/table.css +0 -91
- package/registry/styles/maia/tabs.css +0 -133
- package/registry/styles/maia/textarea.css +0 -53
- package/registry/styles/maia/toast.css +0 -62
- package/registry/styles/maia/toggle-group.css +0 -59
- package/registry/styles/maia/toggle.css +0 -128
- package/registry/styles/maia/tooltip.css +0 -35
- package/registry/styles/maia/trace.css +0 -85
- package/registry/styles/mira/accordion.css +0 -59
- package/registry/styles/mira/alert-dialog.css +0 -82
- package/registry/styles/mira/alert.css +0 -98
- package/registry/styles/mira/aspect-ratio.css +0 -6
- package/registry/styles/mira/attachment.css +0 -176
- package/registry/styles/mira/avatar.css +0 -132
- package/registry/styles/mira/badge.css +0 -116
- package/registry/styles/mira/breadcrumb.css +0 -62
- package/registry/styles/mira/bubble.css +0 -147
- package/registry/styles/mira/button-group.css +0 -63
- package/registry/styles/mira/button.css +0 -222
- package/registry/styles/mira/calendar.css +0 -140
- package/registry/styles/mira/card.css +0 -81
- package/registry/styles/mira/carousel.css +0 -63
- package/registry/styles/mira/chart.css +0 -51
- package/registry/styles/mira/checkbox.css +0 -58
- package/registry/styles/mira/code-block.css +0 -186
- package/registry/styles/mira/collapsible.css +0 -50
- package/registry/styles/mira/combobox.css +0 -59
- package/registry/styles/mira/command.css +0 -27
- package/registry/styles/mira/context-menu.css +0 -19
- package/registry/styles/mira/dialog.css +0 -64
- package/registry/styles/mira/drawer.css +0 -68
- package/registry/styles/mira/dropdown-menu.css +0 -8
- package/registry/styles/mira/empty.css +0 -52
- package/registry/styles/mira/field.css +0 -120
- package/registry/styles/mira/hover-card.css +0 -22
- package/registry/styles/mira/input-group.css +0 -98
- package/registry/styles/mira/input-otp.css +0 -102
- package/registry/styles/mira/input.css +0 -62
- package/registry/styles/mira/item.css +0 -133
- package/registry/styles/mira/kbd.css +0 -22
- package/registry/styles/mira/label.css +0 -74
- package/registry/styles/mira/marker.css +0 -35
- package/registry/styles/mira/menubar.css +0 -48
- package/registry/styles/mira/message-scroller.css +0 -47
- package/registry/styles/mira/message.css +0 -39
- package/registry/styles/mira/native-select.css +0 -80
- package/registry/styles/mira/navigation-menu.css +0 -90
- package/registry/styles/mira/pagination.css +0 -46
- package/registry/styles/mira/popover.css +0 -25
- package/registry/styles/mira/primitives/dialog-shell.css +0 -19
- package/registry/styles/mira/primitives/listbox.css +0 -79
- package/registry/styles/mira/primitives/menu.css +0 -109
- package/registry/styles/mira/primitives/popover.css +0 -16
- package/registry/styles/mira/progress.css +0 -92
- package/registry/styles/mira/questionnaire.css +0 -141
- package/registry/styles/mira/radio.css +0 -48
- package/registry/styles/mira/resizable.css +0 -34
- package/registry/styles/mira/scroll-area.css +0 -30
- package/registry/styles/mira/select.css +0 -80
- package/registry/styles/mira/separator.css +0 -14
- package/registry/styles/mira/sheet.css +0 -74
- package/registry/styles/mira/sidebar.css +0 -211
- package/registry/styles/mira/skeleton.css +0 -7
- package/registry/styles/mira/slider.css +0 -15
- package/registry/styles/mira/spinner.css +0 -35
- package/registry/styles/mira/switch.css +0 -110
- package/registry/styles/mira/table.css +0 -91
- package/registry/styles/mira/tabs.css +0 -133
- package/registry/styles/mira/textarea.css +0 -53
- package/registry/styles/mira/toast.css +0 -62
- package/registry/styles/mira/toggle-group.css +0 -59
- package/registry/styles/mira/toggle.css +0 -128
- package/registry/styles/mira/tooltip.css +0 -35
- package/registry/styles/mira/trace.css +0 -85
- package/registry/styles/nova/accordion.css +0 -59
- package/registry/styles/nova/alert-dialog.css +0 -82
- package/registry/styles/nova/alert.css +0 -98
- package/registry/styles/nova/aspect-ratio.css +0 -6
- package/registry/styles/nova/attachment.css +0 -176
- package/registry/styles/nova/avatar.css +0 -132
- package/registry/styles/nova/badge.css +0 -112
- package/registry/styles/nova/breadcrumb.css +0 -62
- package/registry/styles/nova/bubble.css +0 -147
- package/registry/styles/nova/button-group.css +0 -62
- package/registry/styles/nova/button.css +0 -221
- package/registry/styles/nova/calendar.css +0 -140
- package/registry/styles/nova/card.css +0 -84
- package/registry/styles/nova/carousel.css +0 -55
- package/registry/styles/nova/chart.css +0 -42
- package/registry/styles/nova/checkbox.css +0 -58
- package/registry/styles/nova/code-block.css +0 -186
- package/registry/styles/nova/collapsible.css +0 -50
- package/registry/styles/nova/combobox.css +0 -59
- package/registry/styles/nova/command.css +0 -27
- package/registry/styles/nova/context-menu.css +0 -19
- package/registry/styles/nova/dialog.css +0 -64
- package/registry/styles/nova/drawer.css +0 -68
- package/registry/styles/nova/dropdown-menu.css +0 -8
- package/registry/styles/nova/empty.css +0 -52
- package/registry/styles/nova/field.css +0 -120
- package/registry/styles/nova/hover-card.css +0 -22
- package/registry/styles/nova/input-group.css +0 -98
- package/registry/styles/nova/input-otp.css +0 -102
- package/registry/styles/nova/input.css +0 -61
- package/registry/styles/nova/item.css +0 -133
- package/registry/styles/nova/kbd.css +0 -22
- package/registry/styles/nova/label.css +0 -74
- package/registry/styles/nova/marker.css +0 -35
- package/registry/styles/nova/menubar.css +0 -48
- package/registry/styles/nova/message-scroller.css +0 -47
- package/registry/styles/nova/message.css +0 -39
- package/registry/styles/nova/native-select.css +0 -82
- package/registry/styles/nova/navigation-menu.css +0 -90
- package/registry/styles/nova/pagination.css +0 -46
- package/registry/styles/nova/popover.css +0 -25
- package/registry/styles/nova/primitives/dialog-shell.css +0 -23
- package/registry/styles/nova/primitives/listbox.css +0 -79
- package/registry/styles/nova/primitives/menu.css +0 -108
- package/registry/styles/nova/primitives/popover.css +0 -16
- package/registry/styles/nova/progress.css +0 -92
- package/registry/styles/nova/questionnaire.css +0 -141
- package/registry/styles/nova/radio.css +0 -48
- package/registry/styles/nova/resizable.css +0 -33
- package/registry/styles/nova/scroll-area.css +0 -30
- package/registry/styles/nova/select.css +0 -80
- package/registry/styles/nova/separator.css +0 -14
- package/registry/styles/nova/sheet.css +0 -74
- package/registry/styles/nova/sidebar.css +0 -211
- package/registry/styles/nova/skeleton.css +0 -7
- package/registry/styles/nova/slider.css +0 -15
- package/registry/styles/nova/spinner.css +0 -35
- package/registry/styles/nova/switch.css +0 -110
- package/registry/styles/nova/table.css +0 -91
- package/registry/styles/nova/tabs.css +0 -133
- package/registry/styles/nova/textarea.css +0 -53
- package/registry/styles/nova/toast.css +0 -62
- package/registry/styles/nova/toggle-group.css +0 -48
- package/registry/styles/nova/toggle.css +0 -124
- package/registry/styles/nova/tooltip.css +0 -35
- package/registry/styles/nova/trace.css +0 -85
- package/registry/styles/rhea/accordion.css +0 -59
- package/registry/styles/rhea/alert-dialog.css +0 -82
- package/registry/styles/rhea/alert.css +0 -98
- package/registry/styles/rhea/aspect-ratio.css +0 -6
- package/registry/styles/rhea/attachment.css +0 -176
- package/registry/styles/rhea/avatar.css +0 -132
- package/registry/styles/rhea/badge.css +0 -112
- package/registry/styles/rhea/breadcrumb.css +0 -62
- package/registry/styles/rhea/bubble.css +0 -147
- package/registry/styles/rhea/button-group.css +0 -63
- package/registry/styles/rhea/button.css +0 -222
- package/registry/styles/rhea/calendar.css +0 -140
- package/registry/styles/rhea/card.css +0 -82
- package/registry/styles/rhea/carousel.css +0 -63
- package/registry/styles/rhea/chart.css +0 -51
- package/registry/styles/rhea/checkbox.css +0 -58
- package/registry/styles/rhea/code-block.css +0 -186
- package/registry/styles/rhea/collapsible.css +0 -50
- package/registry/styles/rhea/combobox.css +0 -59
- package/registry/styles/rhea/command.css +0 -27
- package/registry/styles/rhea/context-menu.css +0 -19
- package/registry/styles/rhea/dialog.css +0 -64
- package/registry/styles/rhea/drawer.css +0 -68
- package/registry/styles/rhea/dropdown-menu.css +0 -8
- package/registry/styles/rhea/empty.css +0 -52
- package/registry/styles/rhea/field.css +0 -120
- package/registry/styles/rhea/hover-card.css +0 -22
- package/registry/styles/rhea/input-group.css +0 -98
- package/registry/styles/rhea/input-otp.css +0 -102
- package/registry/styles/rhea/input.css +0 -61
- package/registry/styles/rhea/item.css +0 -133
- package/registry/styles/rhea/kbd.css +0 -22
- package/registry/styles/rhea/label.css +0 -74
- package/registry/styles/rhea/marker.css +0 -35
- package/registry/styles/rhea/menubar.css +0 -48
- package/registry/styles/rhea/message-scroller.css +0 -47
- package/registry/styles/rhea/message.css +0 -39
- package/registry/styles/rhea/native-select.css +0 -80
- package/registry/styles/rhea/navigation-menu.css +0 -90
- package/registry/styles/rhea/pagination.css +0 -46
- package/registry/styles/rhea/popover.css +0 -25
- package/registry/styles/rhea/primitives/dialog-shell.css +0 -19
- package/registry/styles/rhea/primitives/listbox.css +0 -79
- package/registry/styles/rhea/primitives/menu.css +0 -109
- package/registry/styles/rhea/primitives/popover.css +0 -16
- package/registry/styles/rhea/progress.css +0 -92
- package/registry/styles/rhea/questionnaire.css +0 -141
- package/registry/styles/rhea/radio.css +0 -48
- package/registry/styles/rhea/resizable.css +0 -34
- package/registry/styles/rhea/scroll-area.css +0 -30
- package/registry/styles/rhea/select.css +0 -80
- package/registry/styles/rhea/separator.css +0 -14
- package/registry/styles/rhea/sheet.css +0 -74
- package/registry/styles/rhea/sidebar.css +0 -211
- package/registry/styles/rhea/skeleton.css +0 -7
- package/registry/styles/rhea/slider.css +0 -15
- package/registry/styles/rhea/spinner.css +0 -35
- package/registry/styles/rhea/switch.css +0 -110
- package/registry/styles/rhea/table.css +0 -91
- package/registry/styles/rhea/tabs.css +0 -133
- package/registry/styles/rhea/textarea.css +0 -53
- package/registry/styles/rhea/toast.css +0 -62
- package/registry/styles/rhea/toggle-group.css +0 -59
- package/registry/styles/rhea/toggle.css +0 -128
- package/registry/styles/rhea/tooltip.css +0 -35
- package/registry/styles/rhea/trace.css +0 -85
- package/registry/styles/sera/accordion.css +0 -59
- package/registry/styles/sera/alert-dialog.css +0 -84
- package/registry/styles/sera/alert.css +0 -98
- package/registry/styles/sera/aspect-ratio.css +0 -6
- package/registry/styles/sera/attachment.css +0 -176
- package/registry/styles/sera/avatar.css +0 -132
- package/registry/styles/sera/badge.css +0 -143
- package/registry/styles/sera/breadcrumb.css +0 -62
- package/registry/styles/sera/bubble.css +0 -147
- package/registry/styles/sera/button-group.css +0 -63
- package/registry/styles/sera/button.css +0 -222
- package/registry/styles/sera/calendar.css +0 -148
- package/registry/styles/sera/card.css +0 -84
- package/registry/styles/sera/carousel.css +0 -63
- package/registry/styles/sera/chart.css +0 -51
- package/registry/styles/sera/checkbox.css +0 -58
- package/registry/styles/sera/code-block.css +0 -186
- package/registry/styles/sera/collapsible.css +0 -50
- package/registry/styles/sera/combobox.css +0 -60
- package/registry/styles/sera/command.css +0 -27
- package/registry/styles/sera/context-menu.css +0 -19
- package/registry/styles/sera/dialog.css +0 -67
- package/registry/styles/sera/drawer.css +0 -70
- package/registry/styles/sera/dropdown-menu.css +0 -8
- package/registry/styles/sera/empty.css +0 -52
- package/registry/styles/sera/field.css +0 -120
- package/registry/styles/sera/hover-card.css +0 -22
- package/registry/styles/sera/input-group.css +0 -99
- package/registry/styles/sera/input-otp.css +0 -103
- package/registry/styles/sera/input.css +0 -62
- package/registry/styles/sera/item.css +0 -133
- package/registry/styles/sera/kbd.css +0 -22
- package/registry/styles/sera/label.css +0 -74
- package/registry/styles/sera/marker.css +0 -35
- package/registry/styles/sera/menubar.css +0 -48
- package/registry/styles/sera/message-scroller.css +0 -47
- package/registry/styles/sera/message.css +0 -39
- package/registry/styles/sera/native-select.css +0 -81
- package/registry/styles/sera/navigation-menu.css +0 -90
- package/registry/styles/sera/pagination.css +0 -46
- package/registry/styles/sera/popover.css +0 -25
- package/registry/styles/sera/primitives/dialog-shell.css +0 -19
- package/registry/styles/sera/primitives/listbox.css +0 -79
- package/registry/styles/sera/primitives/menu.css +0 -108
- package/registry/styles/sera/primitives/popover.css +0 -16
- package/registry/styles/sera/progress.css +0 -92
- package/registry/styles/sera/questionnaire.css +0 -147
- package/registry/styles/sera/radio.css +0 -48
- package/registry/styles/sera/resizable.css +0 -34
- package/registry/styles/sera/scroll-area.css +0 -30
- package/registry/styles/sera/select.css +0 -81
- package/registry/styles/sera/separator.css +0 -14
- package/registry/styles/sera/sheet.css +0 -76
- package/registry/styles/sera/sidebar.css +0 -217
- package/registry/styles/sera/skeleton.css +0 -7
- package/registry/styles/sera/slider.css +0 -15
- package/registry/styles/sera/spinner.css +0 -35
- package/registry/styles/sera/switch.css +0 -111
- package/registry/styles/sera/table.css +0 -92
- package/registry/styles/sera/tabs.css +0 -133
- package/registry/styles/sera/textarea.css +0 -54
- package/registry/styles/sera/toast.css +0 -64
- package/registry/styles/sera/toggle-group.css +0 -58
- package/registry/styles/sera/toggle.css +0 -128
- package/registry/styles/sera/tooltip.css +0 -35
- package/registry/styles/sera/trace.css +0 -87
- package/registry/styles/vega/accordion.css +0 -59
- package/registry/styles/vega/alert-dialog.css +0 -82
- package/registry/styles/vega/alert.css +0 -98
- package/registry/styles/vega/aspect-ratio.css +0 -6
- package/registry/styles/vega/attachment.css +0 -176
- package/registry/styles/vega/avatar.css +0 -132
- package/registry/styles/vega/badge.css +0 -112
- package/registry/styles/vega/breadcrumb.css +0 -62
- package/registry/styles/vega/bubble.css +0 -147
- package/registry/styles/vega/button-group.css +0 -63
- package/registry/styles/vega/button.css +0 -222
- package/registry/styles/vega/calendar.css +0 -140
- package/registry/styles/vega/card.css +0 -82
- package/registry/styles/vega/carousel.css +0 -63
- package/registry/styles/vega/chart.css +0 -51
- package/registry/styles/vega/checkbox.css +0 -59
- package/registry/styles/vega/code-block.css +0 -186
- package/registry/styles/vega/collapsible.css +0 -50
- package/registry/styles/vega/combobox.css +0 -59
- package/registry/styles/vega/command.css +0 -27
- package/registry/styles/vega/context-menu.css +0 -19
- package/registry/styles/vega/dialog.css +0 -64
- package/registry/styles/vega/drawer.css +0 -68
- package/registry/styles/vega/dropdown-menu.css +0 -8
- package/registry/styles/vega/empty.css +0 -52
- package/registry/styles/vega/field.css +0 -120
- package/registry/styles/vega/hover-card.css +0 -22
- package/registry/styles/vega/input-group.css +0 -98
- package/registry/styles/vega/input-otp.css +0 -102
- package/registry/styles/vega/input.css +0 -62
- package/registry/styles/vega/item.css +0 -133
- package/registry/styles/vega/kbd.css +0 -22
- package/registry/styles/vega/label.css +0 -74
- package/registry/styles/vega/marker.css +0 -35
- package/registry/styles/vega/menubar.css +0 -48
- package/registry/styles/vega/message-scroller.css +0 -47
- package/registry/styles/vega/message.css +0 -39
- package/registry/styles/vega/native-select.css +0 -81
- package/registry/styles/vega/navigation-menu.css +0 -90
- package/registry/styles/vega/pagination.css +0 -46
- package/registry/styles/vega/popover.css +0 -25
- package/registry/styles/vega/primitives/dialog-shell.css +0 -19
- package/registry/styles/vega/primitives/listbox.css +0 -79
- package/registry/styles/vega/primitives/menu.css +0 -108
- package/registry/styles/vega/primitives/popover.css +0 -16
- package/registry/styles/vega/progress.css +0 -92
- package/registry/styles/vega/questionnaire.css +0 -141
- package/registry/styles/vega/radio.css +0 -48
- package/registry/styles/vega/resizable.css +0 -34
- package/registry/styles/vega/scroll-area.css +0 -30
- package/registry/styles/vega/select.css +0 -80
- package/registry/styles/vega/separator.css +0 -14
- package/registry/styles/vega/sheet.css +0 -74
- package/registry/styles/vega/sidebar.css +0 -211
- package/registry/styles/vega/skeleton.css +0 -7
- package/registry/styles/vega/slider.css +0 -15
- package/registry/styles/vega/spinner.css +0 -35
- package/registry/styles/vega/switch.css +0 -111
- package/registry/styles/vega/table.css +0 -91
- package/registry/styles/vega/tabs.css +0 -133
- package/registry/styles/vega/textarea.css +0 -54
- package/registry/styles/vega/toast.css +0 -62
- package/registry/styles/vega/toggle-group.css +0 -59
- package/registry/styles/vega/toggle.css +0 -128
- package/registry/styles/vega/tooltip.css +0 -35
- package/registry/styles/vega/trace.css +0 -85
- package/registry/tokens.css +0 -125
- package/registry/utilities.css +0 -14
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
/* Textarea */
|
|
2
|
-
@layer loseta.style {
|
|
3
|
-
.textarea {
|
|
4
|
-
border-radius: var(--radius-2xl);
|
|
5
|
-
border-style: solid;
|
|
6
|
-
border-width: 1px;
|
|
7
|
-
border-color: var(--input);
|
|
8
|
-
background-color: light-dark(
|
|
9
|
-
transparent,
|
|
10
|
-
color-mix(in oklab, var(--input) 30%, transparent)
|
|
11
|
-
);
|
|
12
|
-
padding-inline: 0.625rem;
|
|
13
|
-
padding-block: 0.5rem;
|
|
14
|
-
font-size: var(--text-base);
|
|
15
|
-
line-height: 1.5;
|
|
16
|
-
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke;
|
|
17
|
-
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
18
|
-
transition-duration: 150ms;
|
|
19
|
-
|
|
20
|
-
&::selection {
|
|
21
|
-
background-color: var(--primary);
|
|
22
|
-
color: var(--primary-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
|
-
&:disabled {
|
|
31
|
-
background-color: light-dark(
|
|
32
|
-
color-mix(in oklab, var(--input) 50%, transparent),
|
|
33
|
-
color-mix(in oklab, var(--input) 80%, transparent)
|
|
34
|
-
);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
&[aria-invalid='true'] {
|
|
38
|
-
border-color: light-dark(
|
|
39
|
-
var(--destructive),
|
|
40
|
-
color-mix(in oklab, var(--destructive) 50%, transparent)
|
|
41
|
-
);
|
|
42
|
-
box-shadow: 0 0 0 3px light-dark(
|
|
43
|
-
color-mix(in oklab, var(--destructive) 20%, transparent),
|
|
44
|
-
color-mix(in oklab, var(--destructive) 40%, transparent)
|
|
45
|
-
);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
@media (width >= 48rem) {
|
|
49
|
-
font-size: var(--text-sm);
|
|
50
|
-
line-height: var(--text-sm--line-height);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
/* Toast */
|
|
2
|
-
@layer loseta.style {
|
|
3
|
-
.toast {
|
|
4
|
-
border-style: solid;
|
|
5
|
-
border-width: 1px;
|
|
6
|
-
border-color: var(--border);
|
|
7
|
-
border-radius: var(--radius-2xl);
|
|
8
|
-
background-color: var(--popover);
|
|
9
|
-
padding: 1rem 1.25rem;
|
|
10
|
-
color: var(--popover-foreground);
|
|
11
|
-
box-shadow: var(--shadow-xl);
|
|
12
|
-
font-size: var(--text-sm);
|
|
13
|
-
line-height: var(--text-sm--line-height);
|
|
14
|
-
|
|
15
|
-
[data-slot='title'] {
|
|
16
|
-
font-weight: 500;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
[data-slot='description'] {
|
|
20
|
-
color: var(--muted-foreground);
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
[data-slot='close'] {
|
|
24
|
-
width: 1.5rem;
|
|
25
|
-
height: 1.5rem;
|
|
26
|
-
border-radius: var(--radius-2xl);
|
|
27
|
-
color: var(--muted-foreground);
|
|
28
|
-
|
|
29
|
-
&:hover {
|
|
30
|
-
background-color: var(--muted);
|
|
31
|
-
color: var(--foreground);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
&:focus-visible {
|
|
35
|
-
box-shadow: 0 0 0 3px color-mix(in oklab, var(--ring) 50%, transparent);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
&[data-variant='destructive'] {
|
|
40
|
-
border-color: light-dark(
|
|
41
|
-
color-mix(in oklab, var(--destructive) 40%, transparent),
|
|
42
|
-
color-mix(in oklab, var(--destructive) 50%, transparent)
|
|
43
|
-
);
|
|
44
|
-
background-color: light-dark(
|
|
45
|
-
color-mix(in oklab, var(--destructive) 10%, transparent),
|
|
46
|
-
color-mix(in oklab, var(--destructive) 20%, transparent)
|
|
47
|
-
);
|
|
48
|
-
color: var(--destructive);
|
|
49
|
-
|
|
50
|
-
[data-slot='description'] {
|
|
51
|
-
color: light-dark(
|
|
52
|
-
color-mix(in oklab, var(--destructive) 80%, var(--foreground)),
|
|
53
|
-
var(--destructive)
|
|
54
|
-
);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
[data-slot='close'] {
|
|
58
|
-
color: var(--destructive);
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
/* Toggle Group */
|
|
2
|
-
@layer loseta.style {
|
|
3
|
-
.toggle-group {
|
|
4
|
-
gap: 0.25rem;
|
|
5
|
-
|
|
6
|
-
&[data-spacing='joined'] {
|
|
7
|
-
gap: 0;
|
|
8
|
-
|
|
9
|
-
> .toggle {
|
|
10
|
-
border-radius: 0;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
/* Joined outline controls share one shadow on the group instead of an
|
|
15
|
-
edge on every item. */
|
|
16
|
-
&[data-spacing='joined'][data-variant='outline'] {
|
|
17
|
-
border-radius: var(--radius-2xl);
|
|
18
|
-
box-shadow: var(--shadow-xs);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&[data-spacing='joined'] > .toggle:not(:focus-visible) {
|
|
22
|
-
box-shadow: none;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.toggle-group[data-spacing='joined']:not([data-orientation='vertical'])
|
|
27
|
-
> .toggle:not(:first-child) {
|
|
28
|
-
border-inline-start-width: 0;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.toggle-group[data-spacing='joined'][data-orientation='vertical']
|
|
32
|
-
> .toggle:not(:first-child) {
|
|
33
|
-
border-block-start-width: 0;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.toggle-group[data-spacing='joined']:not([data-orientation='vertical'])
|
|
37
|
-
> .toggle:first-child {
|
|
38
|
-
border-start-start-radius: var(--radius-2xl);
|
|
39
|
-
border-end-start-radius: var(--radius-2xl);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.toggle-group[data-spacing='joined']:not([data-orientation='vertical'])
|
|
43
|
-
> .toggle:last-child {
|
|
44
|
-
border-start-end-radius: var(--radius-2xl);
|
|
45
|
-
border-end-end-radius: var(--radius-2xl);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.toggle-group[data-spacing='joined'][data-orientation='vertical']
|
|
49
|
-
> .toggle:first-child {
|
|
50
|
-
border-start-start-radius: var(--radius-2xl);
|
|
51
|
-
border-start-end-radius: var(--radius-2xl);
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.toggle-group[data-spacing='joined'][data-orientation='vertical']
|
|
55
|
-
> .toggle:last-child {
|
|
56
|
-
border-end-start-radius: var(--radius-2xl);
|
|
57
|
-
border-end-end-radius: var(--radius-2xl);
|
|
58
|
-
}
|
|
59
|
-
}
|
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
/* Toggle */
|
|
2
|
-
@layer loseta.style {
|
|
3
|
-
.toggle {
|
|
4
|
-
block-size: 2rem;
|
|
5
|
-
min-inline-size: 2rem;
|
|
6
|
-
gap: 0.375rem;
|
|
7
|
-
border-style: solid;
|
|
8
|
-
border-width: 1px;
|
|
9
|
-
border-color: transparent;
|
|
10
|
-
border-radius: var(--radius-2xl);
|
|
11
|
-
background-color: transparent;
|
|
12
|
-
padding-inline: 0.625rem;
|
|
13
|
-
color: inherit;
|
|
14
|
-
font-size: var(--text-sm);
|
|
15
|
-
line-height: var(--text-sm--line-height);
|
|
16
|
-
font-weight: 500;
|
|
17
|
-
|
|
18
|
-
> svg {
|
|
19
|
-
width: 1rem;
|
|
20
|
-
height: 1rem;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
&:hover {
|
|
24
|
-
background-color: var(--muted);
|
|
25
|
-
color: var(--muted-foreground);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
&[aria-pressed='true'] {
|
|
29
|
-
background-color: var(--accent);
|
|
30
|
-
color: var(--accent-foreground);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
&[aria-pressed='true']:hover {
|
|
34
|
-
background-color: var(--accent);
|
|
35
|
-
color: var(--accent-foreground);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
&:focus-visible {
|
|
39
|
-
border-color: var(--ring);
|
|
40
|
-
box-shadow: 0 0 0 3px color-mix(in oklab, var(--ring) 50%, transparent);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
&[aria-invalid='true'] {
|
|
44
|
-
border-color: light-dark(
|
|
45
|
-
var(--destructive),
|
|
46
|
-
color-mix(in oklab, var(--destructive) 50%, transparent)
|
|
47
|
-
);
|
|
48
|
-
box-shadow: 0 0 0 3px light-dark(
|
|
49
|
-
color-mix(in oklab, var(--destructive) 20%, transparent),
|
|
50
|
-
color-mix(in oklab, var(--destructive) 40%, transparent)
|
|
51
|
-
);
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
&[data-size='sm'] {
|
|
55
|
-
block-size: 1.75rem;
|
|
56
|
-
min-inline-size: 1.75rem;
|
|
57
|
-
border-radius: var(--radius-2xl);
|
|
58
|
-
padding-inline: 0.5rem;
|
|
59
|
-
font-size: var(--text-sm);
|
|
60
|
-
line-height: var(--text-sm--line-height);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
&[data-size='lg'] {
|
|
64
|
-
block-size: 2.25rem;
|
|
65
|
-
min-inline-size: 2.25rem;
|
|
66
|
-
border-radius: var(--radius-2xl);
|
|
67
|
-
padding-inline: 0.75rem;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
&[data-variant='outline'] {
|
|
71
|
-
border-color: light-dark(var(--border), var(--input));
|
|
72
|
-
background-color: light-dark(
|
|
73
|
-
var(--background),
|
|
74
|
-
color-mix(in oklab, var(--input) 30%, transparent)
|
|
75
|
-
);
|
|
76
|
-
box-shadow: var(--shadow-xs);
|
|
77
|
-
|
|
78
|
-
&:hover {
|
|
79
|
-
background-color: var(--accent);
|
|
80
|
-
color: var(--accent-foreground);
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
&[data-variant='outline'][aria-pressed='true'] {
|
|
85
|
-
background-color: var(--accent);
|
|
86
|
-
color: var(--accent-foreground);
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.toggle:where(.toggle-group[data-size='sm'] > .toggle:not([data-size])) {
|
|
91
|
-
block-size: 1.75rem;
|
|
92
|
-
min-inline-size: 1.75rem;
|
|
93
|
-
border-radius: var(--radius-2xl);
|
|
94
|
-
padding-inline: 0.5rem;
|
|
95
|
-
font-size: var(--text-sm);
|
|
96
|
-
line-height: var(--text-sm--line-height);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.toggle:where(.toggle-group[data-size='lg'] > .toggle:not([data-size])) {
|
|
100
|
-
block-size: 2.25rem;
|
|
101
|
-
min-inline-size: 2.25rem;
|
|
102
|
-
border-radius: var(--radius-2xl);
|
|
103
|
-
padding-inline: 0.75rem;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.toggle:where(.toggle-group[data-variant='outline'] > .toggle:not([data-variant])) {
|
|
107
|
-
border-color: light-dark(var(--border), var(--input));
|
|
108
|
-
background-color: light-dark(
|
|
109
|
-
var(--background),
|
|
110
|
-
color-mix(in oklab, var(--input) 30%, transparent)
|
|
111
|
-
);
|
|
112
|
-
box-shadow: var(--shadow-xs);
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
.toggle:where(
|
|
116
|
-
.toggle-group[data-variant='outline'] > .toggle:not([data-variant])
|
|
117
|
-
):hover {
|
|
118
|
-
background-color: var(--accent);
|
|
119
|
-
color: var(--accent-foreground);
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
.toggle:where(
|
|
123
|
-
.toggle-group[data-variant='outline'] > .toggle:not([data-variant])
|
|
124
|
-
)[aria-pressed='true'] {
|
|
125
|
-
background-color: var(--accent);
|
|
126
|
-
color: var(--accent-foreground);
|
|
127
|
-
}
|
|
128
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/* Tooltip */
|
|
2
|
-
@layer loseta.style {
|
|
3
|
-
.tooltip {
|
|
4
|
-
--tooltip-radius: var(--radius-xl);
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.tooltip[data-tooltip]::before,
|
|
8
|
-
.tooltip > [data-slot='content'] {
|
|
9
|
-
display: inline-flex;
|
|
10
|
-
align-items: center;
|
|
11
|
-
gap: 0.375rem;
|
|
12
|
-
border-radius: var(--tooltip-radius);
|
|
13
|
-
background-color: var(--foreground);
|
|
14
|
-
padding-inline: 0.75rem;
|
|
15
|
-
padding-block: 0.375rem;
|
|
16
|
-
font-size: var(--text-xs);
|
|
17
|
-
line-height: var(--text-xs--line-height);
|
|
18
|
-
color: var(--background);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.tooltip::after {
|
|
22
|
-
background-color: var(--foreground);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.tooltip > [data-slot='content'] .kbd {
|
|
26
|
-
background-color: color-mix(in oklab, var(--background) 20%, transparent);
|
|
27
|
-
color: var(--background);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
@media (forced-colors: active) {
|
|
31
|
-
.tooltip::after {
|
|
32
|
-
background-color: CanvasText;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
/* Trace */
|
|
2
|
-
@layer loseta.style {
|
|
3
|
-
.trace {
|
|
4
|
-
border-block-end-style: solid;
|
|
5
|
-
border-block-end-width: 1px;
|
|
6
|
-
border-block-end-color: var(--border);
|
|
7
|
-
|
|
8
|
-
> summary {
|
|
9
|
-
padding-block: 0.5rem;
|
|
10
|
-
color: var(--muted-foreground);
|
|
11
|
-
font-size: var(--text-sm);
|
|
12
|
-
line-height: var(--text-sm--line-height);
|
|
13
|
-
transition-property: color;
|
|
14
|
-
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
15
|
-
transition-duration: 150ms;
|
|
16
|
-
|
|
17
|
-
&:hover {
|
|
18
|
-
color: var(--foreground);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&:focus-visible {
|
|
22
|
-
border-radius: var(--radius-xl);
|
|
23
|
-
box-shadow: 0 0 0 3px color-mix(in oklab, var(--ring) 50%, transparent);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
&::after {
|
|
27
|
-
border-color: currentColor;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
> [data-slot='icon'] > svg {
|
|
31
|
-
width: 1rem;
|
|
32
|
-
height: 1rem;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
> [data-slot='title'] {
|
|
36
|
-
color: var(--foreground);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
> [data-slot='status'] {
|
|
40
|
-
border-radius: var(--radius-2xl);
|
|
41
|
-
background-color: var(--muted);
|
|
42
|
-
padding-inline: 0.375rem;
|
|
43
|
-
padding-block: 0.125rem;
|
|
44
|
-
color: var(--foreground);
|
|
45
|
-
font-size: var(--text-xs);
|
|
46
|
-
line-height: var(--text-xs--line-height);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
> [data-slot='status'][data-variant='error'] {
|
|
50
|
-
background-color: light-dark(
|
|
51
|
-
color-mix(in oklab, var(--destructive) 10%, transparent),
|
|
52
|
-
color-mix(in oklab, var(--destructive) 20%, transparent)
|
|
53
|
-
);
|
|
54
|
-
color: var(--destructive);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
> [data-slot='status'][data-variant='success'] {
|
|
58
|
-
background-color: color-mix(in oklab, var(--primary) 10%, transparent);
|
|
59
|
-
color: var(--foreground);
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
> [data-slot='body'] {
|
|
64
|
-
padding-block-end: 0.5rem;
|
|
65
|
-
padding-inline-start: 1.5rem;
|
|
66
|
-
color: var(--muted-foreground);
|
|
67
|
-
font-size: var(--text-sm);
|
|
68
|
-
line-height: var(--text-sm--line-height);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
[data-slot='source'] {
|
|
72
|
-
color: var(--foreground);
|
|
73
|
-
text-decoration-line: underline;
|
|
74
|
-
text-underline-offset: 3px;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
[data-slot='source']:hover {
|
|
78
|
-
color: var(--primary);
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.trace {
|
|
82
|
-
border-block-end-color: color-mix(in oklab, var(--border) 70%, transparent);
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
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, content-visibility, 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: 0;
|
|
27
|
-
padding-block: 0.875rem;
|
|
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.875rem;
|
|
55
|
-
font-size: var(--text-sm);
|
|
56
|
-
line-height: var(--text-sm--line-height);
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
/* Alert Dialog */
|
|
2
|
-
@layer loseta.style {
|
|
3
|
-
.alert-dialog > * {
|
|
4
|
-
display: grid;
|
|
5
|
-
max-width: 20rem;
|
|
6
|
-
gap: 1.5rem;
|
|
7
|
-
border-radius: 0;
|
|
8
|
-
background-color: var(--popover);
|
|
9
|
-
padding: 1.5rem;
|
|
10
|
-
color: var(--popover-foreground);
|
|
11
|
-
box-shadow: var(--shadow-md), 0 0 0 1px color-mix(in oklab, var(--foreground) 10%, transparent);
|
|
12
|
-
transition-duration: 100ms;
|
|
13
|
-
|
|
14
|
-
@media (width >= 40rem) {
|
|
15
|
-
max-width: 28rem;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.alert-dialog:is([data-size='sm']) > *,
|
|
20
|
-
.alert-dialog > [data-size='sm'] {
|
|
21
|
-
@media (width >= 40rem) {
|
|
22
|
-
max-width: 20rem;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.alert-dialog > * > header {
|
|
27
|
-
column-gap: 1.5rem;
|
|
28
|
-
row-gap: 0.375rem;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.alert-dialog > * > header > figure {
|
|
32
|
-
margin-bottom: 0.5rem;
|
|
33
|
-
display: inline-flex;
|
|
34
|
-
width: 4rem;
|
|
35
|
-
height: 4rem;
|
|
36
|
-
align-items: center;
|
|
37
|
-
justify-content: center;
|
|
38
|
-
border-radius: 0;
|
|
39
|
-
background-color: var(--muted);
|
|
40
|
-
|
|
41
|
-
> svg {
|
|
42
|
-
width: var(--icon-size, 2rem);
|
|
43
|
-
height: var(--icon-size, 2rem);
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.alert-dialog > * > header > figure[data-variant='destructive'] {
|
|
48
|
-
background-color: light-dark(
|
|
49
|
-
color-mix(in oklab, var(--destructive) 10%, transparent),
|
|
50
|
-
color-mix(in oklab, var(--destructive) 20%, transparent)
|
|
51
|
-
);
|
|
52
|
-
color: var(--destructive);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.alert-dialog > * > header > h2,
|
|
56
|
-
.alert-dialog > * > [data-slot='title'] {
|
|
57
|
-
font-size: var(--text-lg);
|
|
58
|
-
line-height: 1.5;
|
|
59
|
-
font-weight: 600;
|
|
60
|
-
text-transform: uppercase;
|
|
61
|
-
letter-spacing: 0.05em;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.alert-dialog > * > header > p,
|
|
65
|
-
.alert-dialog > * > [data-slot='description'] {
|
|
66
|
-
font-size: var(--text-sm);
|
|
67
|
-
line-height: var(--text-sm--line-height);
|
|
68
|
-
text-wrap: balance;
|
|
69
|
-
color: var(--muted-foreground);
|
|
70
|
-
|
|
71
|
-
@media (width >= 48rem) {
|
|
72
|
-
text-wrap: pretty;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
& a {
|
|
76
|
-
text-decoration-line: underline;
|
|
77
|
-
text-underline-offset: 3px;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
& a:hover {
|
|
81
|
-
color: var(--foreground);
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
/* Alert */
|
|
2
|
-
@layer loseta.style {
|
|
3
|
-
.alert {
|
|
4
|
-
background-color: var(--card);
|
|
5
|
-
color: var(--card-foreground);
|
|
6
|
-
display: grid;
|
|
7
|
-
gap: 0.25rem;
|
|
8
|
-
border-radius: 0;
|
|
9
|
-
border-style: solid;
|
|
10
|
-
border-width: 1px;
|
|
11
|
-
border-color: var(--border);
|
|
12
|
-
padding-inline: 1rem;
|
|
13
|
-
padding-block: 0.75rem;
|
|
14
|
-
text-align: start;
|
|
15
|
-
font-size: var(--text-sm);
|
|
16
|
-
line-height: var(--text-sm--line-height);
|
|
17
|
-
|
|
18
|
-
&:has(> footer) {
|
|
19
|
-
padding-inline-end: 4.5rem;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
&:has(> svg) {
|
|
23
|
-
grid-template-columns: auto 1fr;
|
|
24
|
-
column-gap: 0.625rem;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
> svg {
|
|
28
|
-
grid-row: span 2 / span 2;
|
|
29
|
-
width: var(--icon-size, 1rem);
|
|
30
|
-
height: var(--icon-size, 1rem);
|
|
31
|
-
translate: 0 0.125rem;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
&[data-variant='destructive'] {
|
|
35
|
-
background-color: var(--card);
|
|
36
|
-
color: var(--destructive);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
> :is(h2, h3, h4, h5, h6, strong, [data-slot='title']),
|
|
40
|
-
&[data-variant='destructive'] > :is(h2, h3, h4, h5, h6, strong, [data-slot='title']) {
|
|
41
|
-
font-weight: 500;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
&:has(> svg) > :is(h2, h3, h4, h5, h6, strong, [data-slot='title']) {
|
|
45
|
-
grid-column-start: 2;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
> section {
|
|
49
|
-
font-size: var(--text-sm);
|
|
50
|
-
line-height: var(--text-sm--line-height);
|
|
51
|
-
text-wrap: balance;
|
|
52
|
-
color: var(--muted-foreground);
|
|
53
|
-
|
|
54
|
-
@media (width >= 48rem) {
|
|
55
|
-
text-wrap: pretty;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
> [data-slot='description'] {
|
|
60
|
-
font-size: var(--text-sm);
|
|
61
|
-
line-height: var(--text-sm--line-height);
|
|
62
|
-
text-wrap: balance;
|
|
63
|
-
color: var(--muted-foreground);
|
|
64
|
-
|
|
65
|
-
@media (width >= 48rem) {
|
|
66
|
-
text-wrap: pretty;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
&[data-variant='destructive'] > section {
|
|
71
|
-
font-size: var(--text-sm);
|
|
72
|
-
line-height: var(--text-sm--line-height);
|
|
73
|
-
text-wrap: balance;
|
|
74
|
-
color: color-mix(in oklab, var(--destructive) 90%, transparent);
|
|
75
|
-
|
|
76
|
-
@media (width >= 48rem) {
|
|
77
|
-
text-wrap: pretty;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
&[data-variant='destructive'] > [data-slot='description'] {
|
|
82
|
-
font-size: var(--text-sm);
|
|
83
|
-
line-height: var(--text-sm--line-height);
|
|
84
|
-
text-wrap: balance;
|
|
85
|
-
color: color-mix(in oklab, var(--destructive) 90%, transparent);
|
|
86
|
-
|
|
87
|
-
@media (width >= 48rem) {
|
|
88
|
-
text-wrap: pretty;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
> footer,
|
|
93
|
-
&[data-variant='destructive'] > footer {
|
|
94
|
-
inset-inline-end: 0.75rem;
|
|
95
|
-
top: 0.625rem;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
}
|