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,73 +0,0 @@
|
|
|
1
|
-
/* Tables */
|
|
2
|
-
@layer loseta.components {
|
|
3
|
-
.table-container {
|
|
4
|
-
position: relative;
|
|
5
|
-
width: 100%;
|
|
6
|
-
overflow-x: auto;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.table {
|
|
10
|
-
width: 100%;
|
|
11
|
-
caption-side: bottom;
|
|
12
|
-
|
|
13
|
-
thead tr {
|
|
14
|
-
border-bottom-style: solid;
|
|
15
|
-
border-bottom-width: 1px;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
tbody tr:last-child {
|
|
19
|
-
border-style: solid;
|
|
20
|
-
border-width: 0px;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
tfoot {
|
|
24
|
-
border-top-style: solid;
|
|
25
|
-
border-top-width: 1px;
|
|
26
|
-
font-weight: 500;
|
|
27
|
-
|
|
28
|
-
> tr:last-child {
|
|
29
|
-
border-bottom-style: solid;
|
|
30
|
-
border-bottom-width: 0px;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
tr {
|
|
35
|
-
border-bottom-style: solid;
|
|
36
|
-
border-bottom-width: 1px;
|
|
37
|
-
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke;
|
|
38
|
-
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
39
|
-
transition-duration: 150ms;
|
|
40
|
-
|
|
41
|
-
&[aria-selected='true'] {
|
|
42
|
-
background-color: var(--muted);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
th {
|
|
47
|
-
vertical-align: middle;
|
|
48
|
-
font-weight: 500;
|
|
49
|
-
white-space: nowrap;
|
|
50
|
-
|
|
51
|
-
&:has(:is([role='checkbox'], input[type='checkbox'])) {
|
|
52
|
-
padding-inline-end: 0;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
> :is([role='checkbox'], input[type='checkbox']) {
|
|
56
|
-
translate: 0 2px;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
td {
|
|
61
|
-
vertical-align: middle;
|
|
62
|
-
white-space: nowrap;
|
|
63
|
-
|
|
64
|
-
&:has(:is([role='checkbox'], input[type='checkbox'])) {
|
|
65
|
-
padding-inline-end: 0;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
> :is([role='checkbox'], input[type='checkbox']) {
|
|
69
|
-
translate: 0 2px;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
/* Tabs */
|
|
2
|
-
@layer loseta.components {
|
|
3
|
-
.tabs {
|
|
4
|
-
display: flex;
|
|
5
|
-
|
|
6
|
-
&:has(> [role='tablist'][aria-orientation='horizontal']),
|
|
7
|
-
&:not(:has(> [role='tablist'][aria-orientation='vertical'])) {
|
|
8
|
-
flex-direction: column;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
&:has(> [role='tablist'][aria-orientation='vertical']) {
|
|
12
|
-
flex-direction: row;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
> [role='tablist'] {
|
|
16
|
-
display: inline-flex;
|
|
17
|
-
width: fit-content;
|
|
18
|
-
align-items: center;
|
|
19
|
-
justify-content: center;
|
|
20
|
-
color: var(--muted-foreground);
|
|
21
|
-
|
|
22
|
-
&[aria-orientation='vertical'] {
|
|
23
|
-
height: fit-content;
|
|
24
|
-
flex-direction: column;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
> [role='tab'] {
|
|
28
|
-
position: relative;
|
|
29
|
-
display: inline-flex;
|
|
30
|
-
flex: 1;
|
|
31
|
-
align-items: center;
|
|
32
|
-
justify-content: center;
|
|
33
|
-
white-space: nowrap;
|
|
34
|
-
transition-property: all;
|
|
35
|
-
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
36
|
-
transition-duration: 150ms;
|
|
37
|
-
outline-style: none;
|
|
38
|
-
|
|
39
|
-
&:disabled {
|
|
40
|
-
pointer-events: none;
|
|
41
|
-
opacity: 50%;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
&[aria-disabled='true'] {
|
|
45
|
-
pointer-events: none;
|
|
46
|
-
opacity: 50%;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
& svg {
|
|
50
|
-
pointer-events: none;
|
|
51
|
-
flex-shrink: 0;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
> [role='tabpanel'] {
|
|
57
|
-
flex: 1;
|
|
58
|
-
outline-style: none;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/* Textarea */
|
|
2
|
-
@layer loseta.components {
|
|
3
|
-
.textarea {
|
|
4
|
-
display: flex;
|
|
5
|
-
field-sizing: content;
|
|
6
|
-
min-height: 4rem;
|
|
7
|
-
width: 100%;
|
|
8
|
-
min-width: 0;
|
|
9
|
-
outline-style: none;
|
|
10
|
-
|
|
11
|
-
@media (forced-colors: active) {
|
|
12
|
-
outline: 2px solid transparent;
|
|
13
|
-
outline-offset: 2px;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
&::placeholder {
|
|
17
|
-
color: var(--muted-foreground);
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
&:disabled {
|
|
21
|
-
cursor: not-allowed;
|
|
22
|
-
opacity: 50%;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/* Toast */
|
|
2
|
-
@layer loseta.components {
|
|
3
|
-
.toaster {
|
|
4
|
-
position: fixed;
|
|
5
|
-
inset-block-end: 0;
|
|
6
|
-
inset-inline-end: 0;
|
|
7
|
-
z-index: 50;
|
|
8
|
-
display: flex;
|
|
9
|
-
max-width: 100%;
|
|
10
|
-
flex-direction: column-reverse;
|
|
11
|
-
gap: 0.5rem;
|
|
12
|
-
padding: 1rem;
|
|
13
|
-
pointer-events: none;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.toast {
|
|
17
|
-
display: flex;
|
|
18
|
-
width: 22rem;
|
|
19
|
-
max-width: calc(100vw - 2rem);
|
|
20
|
-
align-items: flex-start;
|
|
21
|
-
gap: 0.75rem;
|
|
22
|
-
pointer-events: auto;
|
|
23
|
-
|
|
24
|
-
> section {
|
|
25
|
-
flex: 1 1 auto;
|
|
26
|
-
min-width: 0;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
[data-slot='title'],
|
|
30
|
-
[data-slot='description'] {
|
|
31
|
-
display: block;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
[data-slot='close'] {
|
|
35
|
-
display: inline-flex;
|
|
36
|
-
flex-shrink: 0;
|
|
37
|
-
align-items: center;
|
|
38
|
-
justify-content: center;
|
|
39
|
-
outline-style: none;
|
|
40
|
-
|
|
41
|
-
@media (forced-colors: active) {
|
|
42
|
-
outline: 2px solid transparent;
|
|
43
|
-
outline-offset: 2px;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/* Toggle Group */
|
|
2
|
-
@layer loseta.components {
|
|
3
|
-
.toggle-group {
|
|
4
|
-
isolation: isolate;
|
|
5
|
-
display: flex;
|
|
6
|
-
width: fit-content;
|
|
7
|
-
align-items: center;
|
|
8
|
-
|
|
9
|
-
&[data-orientation='vertical'] {
|
|
10
|
-
flex-direction: column;
|
|
11
|
-
align-items: stretch;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
> .toggle {
|
|
15
|
-
flex-shrink: 0;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
/* A joined group collapses the shared borders, so the focused item has to
|
|
19
|
-
paint above its neighbours or the ring is clipped at the seam. */
|
|
20
|
-
> .toggle:focus-visible {
|
|
21
|
-
position: relative;
|
|
22
|
-
z-index: 1;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/* Toggle */
|
|
2
|
-
@layer loseta.components {
|
|
3
|
-
.toggle {
|
|
4
|
-
display: inline-flex;
|
|
5
|
-
flex-shrink: 0;
|
|
6
|
-
align-items: center;
|
|
7
|
-
justify-content: center;
|
|
8
|
-
white-space: nowrap;
|
|
9
|
-
outline-style: none;
|
|
10
|
-
-webkit-user-select: none;
|
|
11
|
-
user-select: none;
|
|
12
|
-
transition-property: all;
|
|
13
|
-
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
14
|
-
transition-duration: 150ms;
|
|
15
|
-
|
|
16
|
-
@media (forced-colors: active) {
|
|
17
|
-
outline: 2px solid transparent;
|
|
18
|
-
outline-offset: 2px;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&:disabled {
|
|
22
|
-
pointer-events: none;
|
|
23
|
-
opacity: 50%;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
> svg {
|
|
27
|
-
pointer-events: none;
|
|
28
|
-
flex-shrink: 0;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
@@ -1,434 +0,0 @@
|
|
|
1
|
-
/* Tooltip */
|
|
2
|
-
@layer loseta.components {
|
|
3
|
-
.tooltip {
|
|
4
|
-
position: relative;
|
|
5
|
-
display: inline-block;
|
|
6
|
-
|
|
7
|
-
&[data-tooltip]::before,
|
|
8
|
-
& > [data-slot='content'] {
|
|
9
|
-
pointer-events: none;
|
|
10
|
-
visibility: hidden;
|
|
11
|
-
position: absolute;
|
|
12
|
-
z-index: 60;
|
|
13
|
-
inline-size: max-content;
|
|
14
|
-
max-inline-size: 20rem;
|
|
15
|
-
white-space: normal;
|
|
16
|
-
opacity: 0%;
|
|
17
|
-
scale: 95% 95%;
|
|
18
|
-
transition-property: opacity, scale, visibility;
|
|
19
|
-
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
20
|
-
transition-duration: 150ms;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
&[data-tooltip]::before {
|
|
24
|
-
content: attr(data-tooltip);
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&:has(> [data-slot='content'])[data-tooltip]::before {
|
|
28
|
-
content: none;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
&::after {
|
|
32
|
-
pointer-events: none;
|
|
33
|
-
visibility: hidden;
|
|
34
|
-
position: absolute;
|
|
35
|
-
z-index: 60;
|
|
36
|
-
width: 0.625rem;
|
|
37
|
-
height: 0.25rem;
|
|
38
|
-
opacity: 0%;
|
|
39
|
-
scale: 95% 95%;
|
|
40
|
-
transition-property: opacity, scale, visibility;
|
|
41
|
-
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
42
|
-
transition-duration: 150ms;
|
|
43
|
-
-webkit-mask-image: var(--tooltip-tail);
|
|
44
|
-
mask-image: var(--tooltip-tail);
|
|
45
|
-
-webkit-mask-repeat: no-repeat;
|
|
46
|
-
mask-repeat: no-repeat;
|
|
47
|
-
-webkit-mask-position: -1px 0;
|
|
48
|
-
mask-position: -1px 0;
|
|
49
|
-
--tooltip-tail: url("data:image/svg+xml,%3Csvg width='10' height='4' viewBox='0 0 8 4' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.500009 1C3.5 1 3.00001 4 5.00001 4C7 4 6.5 1 9.5 1C10 1 10 0.499897 10 0H0C-1.99338e-08 0.5 0 1 0.500009 1Z' fill='black'/%3E%3C/svg%3E%0A");
|
|
50
|
-
content: '';
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
&:is(
|
|
54
|
-
:has(> [data-slot='content']:not(:empty)),
|
|
55
|
-
:not(:has(> [data-slot='content']))[data-tooltip]:not([data-tooltip=''])
|
|
56
|
-
):is(:hover, :has(:focus-visible)) {
|
|
57
|
-
&::before,
|
|
58
|
-
& > [data-slot='content'] {
|
|
59
|
-
visibility: visible;
|
|
60
|
-
opacity: 100%;
|
|
61
|
-
scale: 100% 100%;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
&::after {
|
|
65
|
-
visibility: visible;
|
|
66
|
-
opacity: 100%;
|
|
67
|
-
scale: 100% 100%;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
&:not([data-side]),
|
|
72
|
-
&[data-side='top'] {
|
|
73
|
-
&::before,
|
|
74
|
-
& > [data-slot='content'] {
|
|
75
|
-
bottom: 100%;
|
|
76
|
-
margin-bottom: 0.375rem;
|
|
77
|
-
transform-origin: bottom;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
&:not([data-align]),
|
|
81
|
-
&[data-align='center'] {
|
|
82
|
-
&::before,
|
|
83
|
-
& > [data-slot='content'] {
|
|
84
|
-
inset-inline-start: 50%;
|
|
85
|
-
translate: -50%;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
&[data-align='start'] {
|
|
90
|
-
&::before,
|
|
91
|
-
& > [data-slot='content'] {
|
|
92
|
-
inset-inline-start: 0;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
&[data-align='end'] {
|
|
97
|
-
&::before,
|
|
98
|
-
& > [data-slot='content'] {
|
|
99
|
-
inset-inline-end: 0;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
&::after {
|
|
104
|
-
bottom: calc(100% + 0.25rem);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
&:not([data-align]),
|
|
108
|
-
&[data-align='center'] {
|
|
109
|
-
&::after {
|
|
110
|
-
inset-inline-start: 50%;
|
|
111
|
-
translate: -50%;
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
&[data-align='start']::after {
|
|
116
|
-
inset-inline-start: max(0.75rem, var(--tooltip-radius, 0px));
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
&[data-align='end']::after {
|
|
120
|
-
inset-inline-end: max(0.75rem, var(--tooltip-radius, 0px));
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
&[data-side='bottom'] {
|
|
125
|
-
&::before,
|
|
126
|
-
& > [data-slot='content'] {
|
|
127
|
-
top: 100%;
|
|
128
|
-
margin-top: 0.375rem;
|
|
129
|
-
transform-origin: top;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
&:not([data-align]),
|
|
133
|
-
&[data-align='center'] {
|
|
134
|
-
&::before,
|
|
135
|
-
& > [data-slot='content'] {
|
|
136
|
-
inset-inline-start: 50%;
|
|
137
|
-
translate: -50%;
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
&[data-align='start'] {
|
|
142
|
-
&::before,
|
|
143
|
-
& > [data-slot='content'] {
|
|
144
|
-
inset-inline-start: 0;
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
&[data-align='end'] {
|
|
149
|
-
&::before,
|
|
150
|
-
& > [data-slot='content'] {
|
|
151
|
-
inset-inline-end: 0;
|
|
152
|
-
}
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
&::after {
|
|
156
|
-
top: calc(100% + 0.25rem);
|
|
157
|
-
rotate: 180deg;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
&:not([data-align]),
|
|
161
|
-
&[data-align='center'] {
|
|
162
|
-
&::after {
|
|
163
|
-
inset-inline-start: 50%;
|
|
164
|
-
translate: -50%;
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
&[data-align='start']::after {
|
|
169
|
-
inset-inline-start: max(0.75rem, var(--tooltip-radius, 0px));
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
&[data-align='end']::after {
|
|
173
|
-
inset-inline-end: max(0.75rem, var(--tooltip-radius, 0px));
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
&[data-side='left'] {
|
|
178
|
-
&::before,
|
|
179
|
-
& > [data-slot='content'] {
|
|
180
|
-
right: 100%;
|
|
181
|
-
margin-right: 0.375rem;
|
|
182
|
-
transform-origin: right;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
&:not([data-align]),
|
|
186
|
-
&[data-align='center'] {
|
|
187
|
-
&::before,
|
|
188
|
-
& > [data-slot='content'] {
|
|
189
|
-
inset-block-start: 50%;
|
|
190
|
-
translate: 0 -50%;
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
&[data-align='start'] {
|
|
195
|
-
&::before,
|
|
196
|
-
& > [data-slot='content'] {
|
|
197
|
-
inset-block-start: 0;
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
&[data-align='end'] {
|
|
202
|
-
&::before,
|
|
203
|
-
& > [data-slot='content'] {
|
|
204
|
-
inset-block-end: 0;
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
&::after {
|
|
209
|
-
right: calc(100% + 1px);
|
|
210
|
-
inset-block-start: 50%;
|
|
211
|
-
translate: 0 -50%;
|
|
212
|
-
rotate: -90deg;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
&[data-align='start']::after {
|
|
216
|
-
inset-block-start: calc(
|
|
217
|
-
max(0.75rem, var(--tooltip-radius, 0px)) + 3px
|
|
218
|
-
);
|
|
219
|
-
inset-block-end: auto;
|
|
220
|
-
translate: 0;
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
&[data-align='end']::after {
|
|
224
|
-
inset-block-start: auto;
|
|
225
|
-
inset-block-end: calc(
|
|
226
|
-
max(0.75rem, var(--tooltip-radius, 0px)) + 3px
|
|
227
|
-
);
|
|
228
|
-
translate: 0;
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
&[data-side='right'] {
|
|
233
|
-
&::before,
|
|
234
|
-
& > [data-slot='content'] {
|
|
235
|
-
left: 100%;
|
|
236
|
-
margin-left: 0.375rem;
|
|
237
|
-
transform-origin: left;
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
&:not([data-align]),
|
|
241
|
-
&[data-align='center'] {
|
|
242
|
-
&::before,
|
|
243
|
-
& > [data-slot='content'] {
|
|
244
|
-
inset-block-start: 50%;
|
|
245
|
-
translate: 0 -50%;
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
&[data-align='start'] {
|
|
250
|
-
&::before,
|
|
251
|
-
& > [data-slot='content'] {
|
|
252
|
-
inset-block-start: 0;
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
&[data-align='end'] {
|
|
257
|
-
&::before,
|
|
258
|
-
& > [data-slot='content'] {
|
|
259
|
-
inset-block-end: 0;
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
&::after {
|
|
264
|
-
left: calc(100% + 1px);
|
|
265
|
-
inset-block-start: 50%;
|
|
266
|
-
translate: 0 -50%;
|
|
267
|
-
rotate: 90deg;
|
|
268
|
-
}
|
|
269
|
-
|
|
270
|
-
&[data-align='start']::after {
|
|
271
|
-
inset-block-start: calc(
|
|
272
|
-
max(0.75rem, var(--tooltip-radius, 0px)) + 3px
|
|
273
|
-
);
|
|
274
|
-
inset-block-end: auto;
|
|
275
|
-
translate: 0;
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
&[data-align='end']::after {
|
|
279
|
-
inset-block-start: auto;
|
|
280
|
-
inset-block-end: calc(
|
|
281
|
-
max(0.75rem, var(--tooltip-radius, 0px)) + 3px
|
|
282
|
-
);
|
|
283
|
-
translate: 0;
|
|
284
|
-
}
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
&[data-side='inline-start'] {
|
|
288
|
-
&::before,
|
|
289
|
-
& > [data-slot='content'] {
|
|
290
|
-
inset-inline-end: 100%;
|
|
291
|
-
margin-inline-end: 0.375rem;
|
|
292
|
-
transform-origin: right;
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
&:not([data-align]),
|
|
296
|
-
&[data-align='center'] {
|
|
297
|
-
&::before,
|
|
298
|
-
& > [data-slot='content'] {
|
|
299
|
-
inset-block-start: 50%;
|
|
300
|
-
translate: 0 -50%;
|
|
301
|
-
}
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
&[data-align='start'] {
|
|
305
|
-
&::before,
|
|
306
|
-
& > [data-slot='content'] {
|
|
307
|
-
inset-block-start: 0;
|
|
308
|
-
}
|
|
309
|
-
}
|
|
310
|
-
|
|
311
|
-
&[data-align='end'] {
|
|
312
|
-
&::before,
|
|
313
|
-
& > [data-slot='content'] {
|
|
314
|
-
inset-block-end: 0;
|
|
315
|
-
}
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
&::after {
|
|
319
|
-
inset-inline-end: calc(100% + 1px);
|
|
320
|
-
inset-block-start: 50%;
|
|
321
|
-
translate: 0 -50%;
|
|
322
|
-
rotate: -90deg;
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
&[data-align='start']::after {
|
|
326
|
-
inset-block-start: calc(
|
|
327
|
-
max(0.75rem, var(--tooltip-radius, 0px)) + 3px
|
|
328
|
-
);
|
|
329
|
-
inset-block-end: auto;
|
|
330
|
-
translate: 0;
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
&[data-align='end']::after {
|
|
334
|
-
inset-block-start: auto;
|
|
335
|
-
inset-block-end: calc(
|
|
336
|
-
max(0.75rem, var(--tooltip-radius, 0px)) + 3px
|
|
337
|
-
);
|
|
338
|
-
translate: 0;
|
|
339
|
-
}
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
&[data-side='inline-start']:dir(rtl) {
|
|
343
|
-
&::before,
|
|
344
|
-
& > [data-slot='content'] {
|
|
345
|
-
transform-origin: left;
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
&::after {
|
|
349
|
-
rotate: 90deg;
|
|
350
|
-
}
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
&[data-side='inline-end'] {
|
|
354
|
-
&::before,
|
|
355
|
-
& > [data-slot='content'] {
|
|
356
|
-
inset-inline-start: 100%;
|
|
357
|
-
margin-inline-start: 0.375rem;
|
|
358
|
-
transform-origin: left;
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
&:not([data-align]),
|
|
362
|
-
&[data-align='center'] {
|
|
363
|
-
&::before,
|
|
364
|
-
& > [data-slot='content'] {
|
|
365
|
-
inset-block-start: 50%;
|
|
366
|
-
translate: 0 -50%;
|
|
367
|
-
}
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
&[data-align='start'] {
|
|
371
|
-
&::before,
|
|
372
|
-
& > [data-slot='content'] {
|
|
373
|
-
inset-block-start: 0;
|
|
374
|
-
}
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
&[data-align='end'] {
|
|
378
|
-
&::before,
|
|
379
|
-
& > [data-slot='content'] {
|
|
380
|
-
inset-block-end: 0;
|
|
381
|
-
}
|
|
382
|
-
}
|
|
383
|
-
|
|
384
|
-
&::after {
|
|
385
|
-
inset-inline-start: calc(100% + 1px);
|
|
386
|
-
inset-block-start: 50%;
|
|
387
|
-
translate: 0 -50%;
|
|
388
|
-
rotate: 90deg;
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
&[data-align='start']::after {
|
|
392
|
-
inset-block-start: calc(
|
|
393
|
-
max(0.75rem, var(--tooltip-radius, 0px)) + 3px
|
|
394
|
-
);
|
|
395
|
-
inset-block-end: auto;
|
|
396
|
-
translate: 0;
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
&[data-align='end']::after {
|
|
400
|
-
inset-block-start: auto;
|
|
401
|
-
inset-block-end: calc(
|
|
402
|
-
max(0.75rem, var(--tooltip-radius, 0px)) + 3px
|
|
403
|
-
);
|
|
404
|
-
translate: 0;
|
|
405
|
-
}
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
&[data-side='inline-end']:dir(rtl) {
|
|
409
|
-
&::before,
|
|
410
|
-
& > [data-slot='content'] {
|
|
411
|
-
transform-origin: right;
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
&::after {
|
|
415
|
-
rotate: -90deg;
|
|
416
|
-
}
|
|
417
|
-
}
|
|
418
|
-
}
|
|
419
|
-
|
|
420
|
-
@media (forced-colors: active) {
|
|
421
|
-
.tooltip[data-tooltip]::before,
|
|
422
|
-
.tooltip > [data-slot='content'] {
|
|
423
|
-
outline: 1px solid;
|
|
424
|
-
}
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
@media (prefers-reduced-motion: reduce) {
|
|
428
|
-
.tooltip[data-tooltip]::before,
|
|
429
|
-
.tooltip > [data-slot='content'],
|
|
430
|
-
.tooltip::after {
|
|
431
|
-
transition-duration: 0s;
|
|
432
|
-
}
|
|
433
|
-
}
|
|
434
|
-
}
|