@opencode-ai/ui 0.0.0-beta-202606251302
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/LICENSE +21 -0
- package/package.json +110 -0
- package/src/assets/audio/alert-01.aac +0 -0
- package/src/assets/audio/alert-01.mp3 +0 -0
- package/src/assets/audio/alert-02.aac +0 -0
- package/src/assets/audio/alert-02.mp3 +0 -0
- package/src/assets/audio/alert-03.aac +0 -0
- package/src/assets/audio/alert-03.mp3 +0 -0
- package/src/assets/audio/alert-04.aac +0 -0
- package/src/assets/audio/alert-04.mp3 +0 -0
- package/src/assets/audio/alert-05.aac +0 -0
- package/src/assets/audio/alert-05.mp3 +0 -0
- package/src/assets/audio/alert-06.aac +0 -0
- package/src/assets/audio/alert-06.mp3 +0 -0
- package/src/assets/audio/alert-07.aac +0 -0
- package/src/assets/audio/alert-07.mp3 +0 -0
- package/src/assets/audio/alert-08.aac +0 -0
- package/src/assets/audio/alert-08.mp3 +0 -0
- package/src/assets/audio/alert-09.aac +0 -0
- package/src/assets/audio/alert-09.mp3 +0 -0
- package/src/assets/audio/alert-10.aac +0 -0
- package/src/assets/audio/alert-10.mp3 +0 -0
- package/src/assets/audio/bip-bop-01.aac +0 -0
- package/src/assets/audio/bip-bop-01.mp3 +0 -0
- package/src/assets/audio/bip-bop-02.aac +0 -0
- package/src/assets/audio/bip-bop-02.mp3 +0 -0
- package/src/assets/audio/bip-bop-03.aac +0 -0
- package/src/assets/audio/bip-bop-03.mp3 +0 -0
- package/src/assets/audio/bip-bop-04.aac +0 -0
- package/src/assets/audio/bip-bop-04.mp3 +0 -0
- package/src/assets/audio/bip-bop-05.aac +0 -0
- package/src/assets/audio/bip-bop-05.mp3 +0 -0
- package/src/assets/audio/bip-bop-06.aac +0 -0
- package/src/assets/audio/bip-bop-06.mp3 +0 -0
- package/src/assets/audio/bip-bop-07.aac +0 -0
- package/src/assets/audio/bip-bop-07.mp3 +0 -0
- package/src/assets/audio/bip-bop-08.aac +0 -0
- package/src/assets/audio/bip-bop-08.mp3 +0 -0
- package/src/assets/audio/bip-bop-09.aac +0 -0
- package/src/assets/audio/bip-bop-09.mp3 +0 -0
- package/src/assets/audio/bip-bop-10.aac +0 -0
- package/src/assets/audio/bip-bop-10.mp3 +0 -0
- package/src/assets/audio/nope-01.aac +0 -0
- package/src/assets/audio/nope-01.mp3 +0 -0
- package/src/assets/audio/nope-02.aac +0 -0
- package/src/assets/audio/nope-02.mp3 +0 -0
- package/src/assets/audio/nope-03.aac +0 -0
- package/src/assets/audio/nope-03.mp3 +0 -0
- package/src/assets/audio/nope-04.aac +0 -0
- package/src/assets/audio/nope-04.mp3 +0 -0
- package/src/assets/audio/nope-05.aac +0 -0
- package/src/assets/audio/nope-05.mp3 +0 -0
- package/src/assets/audio/nope-06.aac +0 -0
- package/src/assets/audio/nope-06.mp3 +0 -0
- package/src/assets/audio/nope-07.aac +0 -0
- package/src/assets/audio/nope-07.mp3 +0 -0
- package/src/assets/audio/nope-08.aac +0 -0
- package/src/assets/audio/nope-08.mp3 +0 -0
- package/src/assets/audio/nope-09.aac +0 -0
- package/src/assets/audio/nope-09.mp3 +0 -0
- package/src/assets/audio/nope-10.aac +0 -0
- package/src/assets/audio/nope-10.mp3 +0 -0
- package/src/assets/audio/nope-11.aac +0 -0
- package/src/assets/audio/nope-11.mp3 +0 -0
- package/src/assets/audio/nope-12.aac +0 -0
- package/src/assets/audio/nope-12.mp3 +0 -0
- package/src/assets/audio/staplebops-01.aac +0 -0
- package/src/assets/audio/staplebops-01.mp3 +0 -0
- package/src/assets/audio/staplebops-02.aac +0 -0
- package/src/assets/audio/staplebops-02.mp3 +0 -0
- package/src/assets/audio/staplebops-03.aac +0 -0
- package/src/assets/audio/staplebops-03.mp3 +0 -0
- package/src/assets/audio/staplebops-04.aac +0 -0
- package/src/assets/audio/staplebops-04.mp3 +0 -0
- package/src/assets/audio/staplebops-05.aac +0 -0
- package/src/assets/audio/staplebops-05.mp3 +0 -0
- package/src/assets/audio/staplebops-06.aac +0 -0
- package/src/assets/audio/staplebops-06.mp3 +0 -0
- package/src/assets/audio/staplebops-07.aac +0 -0
- package/src/assets/audio/staplebops-07.mp3 +0 -0
- package/src/assets/audio/yup-01.aac +0 -0
- package/src/assets/audio/yup-01.mp3 +0 -0
- package/src/assets/audio/yup-02.aac +0 -0
- package/src/assets/audio/yup-02.mp3 +0 -0
- package/src/assets/audio/yup-03.aac +0 -0
- package/src/assets/audio/yup-03.mp3 +0 -0
- package/src/assets/audio/yup-04.aac +0 -0
- package/src/assets/audio/yup-04.mp3 +0 -0
- package/src/assets/audio/yup-05.aac +0 -0
- package/src/assets/audio/yup-05.mp3 +0 -0
- package/src/assets/audio/yup-06.aac +0 -0
- package/src/assets/audio/yup-06.mp3 +0 -0
- package/src/assets/fonts/Inter.ttf +0 -0
- package/src/assets/fonts/JetBrainsMonoNerdFontMono-Regular.woff2 +0 -0
- package/src/assets/icons/app/android-studio.svg +369 -0
- package/src/assets/icons/app/antigravity.svg +97 -0
- package/src/assets/icons/app/cursor.svg +16 -0
- package/src/assets/icons/app/file-explorer.svg +20 -0
- package/src/assets/icons/app/finder.png +0 -0
- package/src/assets/icons/app/ghostty.svg +13 -0
- package/src/assets/icons/app/iterm2.svg +13 -0
- package/src/assets/icons/app/powershell.svg +14 -0
- package/src/assets/icons/app/sublimetext.svg +17 -0
- package/src/assets/icons/app/terminal.png +0 -0
- package/src/assets/icons/app/textmate.png +0 -0
- package/src/assets/icons/app/vscode.svg +39 -0
- package/src/assets/icons/app/warp.png +0 -0
- package/src/assets/icons/app/xcode.png +0 -0
- package/src/assets/icons/app/zed-dark.svg +15 -0
- package/src/assets/icons/app/zed.svg +15 -0
- package/src/components/accordion.css +123 -0
- package/src/components/accordion.tsx +92 -0
- package/src/components/animated-number.css +75 -0
- package/src/components/animated-number.tsx +109 -0
- package/src/components/app-icon.css +5 -0
- package/src/components/app-icon.tsx +85 -0
- package/src/components/app-icons/sprite.svg +114 -0
- package/src/components/app-icons/types.ts +21 -0
- package/src/components/avatar.css +49 -0
- package/src/components/avatar.tsx +55 -0
- package/src/components/button.css +194 -0
- package/src/components/button.tsx +33 -0
- package/src/components/card.css +94 -0
- package/src/components/card.tsx +123 -0
- package/src/components/checkbox.css +131 -0
- package/src/components/checkbox.tsx +43 -0
- package/src/components/collapsible.css +148 -0
- package/src/components/collapsible.tsx +48 -0
- package/src/components/context-menu.css +134 -0
- package/src/components/context-menu.tsx +308 -0
- package/src/components/dialog.css +181 -0
- package/src/components/dialog.tsx +72 -0
- package/src/components/diff-changes.css +42 -0
- package/src/components/diff-changes.tsx +115 -0
- package/src/components/dock-surface.css +23 -0
- package/src/components/dock-surface.tsx +54 -0
- package/src/components/dropdown-menu.css +135 -0
- package/src/components/dropdown-menu.tsx +308 -0
- package/src/components/favicon.tsx +13 -0
- package/src/components/file-icon.css +26 -0
- package/src/components/file-icon.tsx +588 -0
- package/src/components/file-icons/sprite.svg +11707 -0
- package/src/components/file-icons/types.ts +1095 -0
- package/src/components/font.tsx +1 -0
- package/src/components/hover-card.css +61 -0
- package/src/components/hover-card.tsx +32 -0
- package/src/components/icon-button.css +181 -0
- package/src/components/icon-button.tsx +29 -0
- package/src/components/icon.css +34 -0
- package/src/components/icon.tsx +169 -0
- package/src/components/image-preview.css +63 -0
- package/src/components/image-preview.tsx +32 -0
- package/src/components/inline-input.css +17 -0
- package/src/components/inline-input.tsx +22 -0
- package/src/components/keybind.css +18 -0
- package/src/components/keybind.tsx +20 -0
- package/src/components/list.css +331 -0
- package/src/components/list.tsx +394 -0
- package/src/components/logo.css +4 -0
- package/src/components/logo.tsx +62 -0
- package/src/components/motion-spring.tsx +58 -0
- package/src/components/popover.css +98 -0
- package/src/components/popover.tsx +153 -0
- package/src/components/progress-circle.css +12 -0
- package/src/components/progress-circle.tsx +57 -0
- package/src/components/progress.css +63 -0
- package/src/components/progress.tsx +39 -0
- package/src/components/provider-icon.css +5 -0
- package/src/components/provider-icon.tsx +25 -0
- package/src/components/provider-icons/sprite.svg +1135 -0
- package/src/components/provider-icons/types.ts +105 -0
- package/src/components/radio-group.css +187 -0
- package/src/components/radio-group.tsx +83 -0
- package/src/components/resize-handle.css +58 -0
- package/src/components/resize-handle.tsx +82 -0
- package/src/components/scroll-view.css +66 -0
- package/src/components/scroll-view.tsx +250 -0
- package/src/components/select.css +202 -0
- package/src/components/select.tsx +174 -0
- package/src/components/spinner.css +6 -0
- package/src/components/spinner.tsx +52 -0
- package/src/components/sticky-accordion-header.css +6 -0
- package/src/components/sticky-accordion-header.tsx +18 -0
- package/src/components/switch.css +132 -0
- package/src/components/switch.tsx +29 -0
- package/src/components/tabs.css +635 -0
- package/src/components/tabs.tsx +125 -0
- package/src/components/tag.css +37 -0
- package/src/components/tag.tsx +22 -0
- package/src/components/text-field.css +134 -0
- package/src/components/text-field.tsx +128 -0
- package/src/components/text-reveal.css +150 -0
- package/src/components/text-reveal.tsx +143 -0
- package/src/components/text-shimmer.css +119 -0
- package/src/components/text-shimmer.tsx +62 -0
- package/src/components/text-strikethrough.css +27 -0
- package/src/components/text-strikethrough.tsx +84 -0
- package/src/components/toast.css +236 -0
- package/src/components/toast.tsx +185 -0
- package/src/components/tooltip.css +74 -0
- package/src/components/tooltip.tsx +161 -0
- package/src/components/typewriter.css +14 -0
- package/src/components/typewriter.tsx +55 -0
- package/src/context/dialog.tsx +197 -0
- package/src/context/file.tsx +10 -0
- package/src/context/helper.tsx +38 -0
- package/src/context/i18n.tsx +38 -0
- package/src/context/index.ts +4 -0
- package/src/context/marked.tsx +522 -0
- package/src/context/worker-pool.tsx +20 -0
- package/src/custom-elements.d.ts +17 -0
- package/src/hooks/create-auto-scroll.tsx +237 -0
- package/src/hooks/index.ts +2 -0
- package/src/hooks/use-filtered-list.tsx +134 -0
- package/src/i18n/ar.ts +168 -0
- package/src/i18n/br.ts +168 -0
- package/src/i18n/bs.ts +172 -0
- package/src/i18n/da.ts +167 -0
- package/src/i18n/de.ts +173 -0
- package/src/i18n/en.ts +176 -0
- package/src/i18n/es.ts +168 -0
- package/src/i18n/fr.ts +168 -0
- package/src/i18n/ja.ts +167 -0
- package/src/i18n/ko.ts +168 -0
- package/src/i18n/no.ts +171 -0
- package/src/i18n/pl.ts +167 -0
- package/src/i18n/ru.ts +167 -0
- package/src/i18n/th.ts +169 -0
- package/src/i18n/tr.ts +174 -0
- package/src/i18n/uk.ts +167 -0
- package/src/i18n/zh.ts +171 -0
- package/src/i18n/zht.ts +171 -0
- package/src/storybook/fixtures.ts +51 -0
- package/src/storybook/scaffold.tsx +62 -0
- package/src/styles/animations.css +141 -0
- package/src/styles/base.css +404 -0
- package/src/styles/colors.css +772 -0
- package/src/styles/index.css +53 -0
- package/src/styles/tailwind/colors.css +285 -0
- package/src/styles/tailwind/index.css +78 -0
- package/src/styles/tailwind/utilities.css +131 -0
- package/src/styles/theme.css +609 -0
- package/src/styles/utilities.css +118 -0
- package/src/theme/color.ts +299 -0
- package/src/theme/context.tsx +370 -0
- package/src/theme/default-themes.ts +116 -0
- package/src/theme/index.ts +78 -0
- package/src/theme/loader.ts +112 -0
- package/src/theme/resolve.ts +540 -0
- package/src/theme/themes/amoled.json +49 -0
- package/src/theme/themes/aura.json +51 -0
- package/src/theme/themes/ayu.json +51 -0
- package/src/theme/themes/carbonfox.json +53 -0
- package/src/theme/themes/catppuccin-frappe.json +85 -0
- package/src/theme/themes/catppuccin-macchiato.json +85 -0
- package/src/theme/themes/catppuccin.json +45 -0
- package/src/theme/themes/cobalt2.json +87 -0
- package/src/theme/themes/cursor.json +91 -0
- package/src/theme/themes/dracula.json +49 -0
- package/src/theme/themes/everforest.json +89 -0
- package/src/theme/themes/flexoki.json +86 -0
- package/src/theme/themes/github.json +85 -0
- package/src/theme/themes/gruvbox.json +45 -0
- package/src/theme/themes/kanagawa.json +89 -0
- package/src/theme/themes/lucent-orng.json +87 -0
- package/src/theme/themes/material.json +87 -0
- package/src/theme/themes/matrix.json +113 -0
- package/src/theme/themes/mercury.json +86 -0
- package/src/theme/themes/monokai.json +49 -0
- package/src/theme/themes/nightowl.json +46 -0
- package/src/theme/themes/nord.json +46 -0
- package/src/theme/themes/oc-2.json +468 -0
- package/src/theme/themes/one-dark.json +89 -0
- package/src/theme/themes/onedarkpro.json +45 -0
- package/src/theme/themes/opencode.json +89 -0
- package/src/theme/themes/orng.json +87 -0
- package/src/theme/themes/osaka-jade.json +88 -0
- package/src/theme/themes/palenight.json +85 -0
- package/src/theme/themes/rosepine.json +85 -0
- package/src/theme/themes/shadesofpurple.json +51 -0
- package/src/theme/themes/solarized.json +49 -0
- package/src/theme/themes/synthwave84.json +87 -0
- package/src/theme/themes/tokyonight.json +47 -0
- package/src/theme/themes/vercel.json +90 -0
- package/src/theme/themes/vesper.json +51 -0
- package/src/theme/themes/zenburn.json +87 -0
- package/src/theme/types.ts +75 -0
- package/src/theme/v2/avatar.ts +48 -0
- package/src/theme/v2/default-primitives.ts +114 -0
- package/src/theme/v2/foreground.ts +60 -0
- package/src/theme/v2/mapping.ts +138 -0
- package/src/theme/v2/resolve.ts +153 -0
- package/src/v2/components/accordion-v2.css +139 -0
- package/src/v2/components/accordion-v2.tsx +86 -0
- package/src/v2/components/avatar-v2.css +70 -0
- package/src/v2/components/avatar-v2.tsx +59 -0
- package/src/v2/components/badge-v2.css +27 -0
- package/src/v2/components/badge-v2.tsx +20 -0
- package/src/v2/components/button-v2.css +186 -0
- package/src/v2/components/button-v2.tsx +35 -0
- package/src/v2/components/checkbox-v2.css +184 -0
- package/src/v2/components/checkbox-v2.tsx +65 -0
- package/src/v2/components/dialog-v2.css +150 -0
- package/src/v2/components/dialog-v2.tsx +93 -0
- package/src/v2/components/diff-changes-v2.css +24 -0
- package/src/v2/components/diff-changes-v2.tsx +28 -0
- package/src/v2/components/field-v2.css +94 -0
- package/src/v2/components/field-v2.tsx +265 -0
- package/src/v2/components/icon-button-v2.css +155 -0
- package/src/v2/components/icon-button-v2.tsx +37 -0
- package/src/v2/components/icon.tsx +129 -0
- package/src/v2/components/inline-input-v2.css +218 -0
- package/src/v2/components/inline-input-v2.tsx +90 -0
- package/src/v2/components/keybind-v2.css +76 -0
- package/src/v2/components/keybind-v2.tsx +30 -0
- package/src/v2/components/line-comment-v2.css +204 -0
- package/src/v2/components/line-comment-v2.tsx +155 -0
- package/src/v2/components/menu-v2.css +190 -0
- package/src/v2/components/menu-v2.tsx +225 -0
- package/src/v2/components/project-avatar-v2.css +126 -0
- package/src/v2/components/project-avatar-v2.tsx +64 -0
- package/src/v2/components/radio-v2.css +202 -0
- package/src/v2/components/radio-v2.tsx +72 -0
- package/src/v2/components/segmented-control-v2.css +80 -0
- package/src/v2/components/segmented-control-v2.tsx +208 -0
- package/src/v2/components/select-v2.css +285 -0
- package/src/v2/components/select-v2.tsx +208 -0
- package/src/v2/components/switch-v2.css +154 -0
- package/src/v2/components/switch-v2.tsx +28 -0
- package/src/v2/components/tab-state-indicator.tsx +37 -0
- package/src/v2/components/tabs-v2.css +225 -0
- package/src/v2/components/tabs-v2.tsx +147 -0
- package/src/v2/components/text-input-v2.css +145 -0
- package/src/v2/components/text-input-v2.tsx +67 -0
- package/src/v2/components/text-shimmer-v2.css +125 -0
- package/src/v2/components/text-shimmer-v2.tsx +63 -0
- package/src/v2/components/textarea-v2.css +78 -0
- package/src/v2/components/textarea-v2.tsx +31 -0
- package/src/v2/components/toast-v2.css +215 -0
- package/src/v2/components/toast-v2.tsx +144 -0
- package/src/v2/components/tooltip-v2.css +53 -0
- package/src/v2/components/tooltip-v2.tsx +146 -0
- package/src/v2/components/wordmark-v2.tsx +92 -0
- package/src/v2/styles/colors.css +172 -0
- package/src/v2/styles/tailwind.css +2 -0
- package/src/v2/styles/theme.css +441 -0
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { Tabs as Kobalte } from "@kobalte/core/tabs"
|
|
2
|
+
import { Show, splitProps, type JSX } from "solid-js"
|
|
3
|
+
import type { ComponentProps, ParentProps, Component } from "solid-js"
|
|
4
|
+
|
|
5
|
+
export interface TabsProps extends ComponentProps<typeof Kobalte> {
|
|
6
|
+
variant?: "normal" | "alt" | "pill" | "settings"
|
|
7
|
+
orientation?: "horizontal" | "vertical"
|
|
8
|
+
}
|
|
9
|
+
export interface TabsListProps extends ComponentProps<typeof Kobalte.List> {}
|
|
10
|
+
export interface TabsTriggerProps extends ComponentProps<typeof Kobalte.Trigger> {
|
|
11
|
+
classes?: {
|
|
12
|
+
button?: string
|
|
13
|
+
}
|
|
14
|
+
hideCloseButton?: boolean
|
|
15
|
+
closeButton?: JSX.Element
|
|
16
|
+
onMiddleClick?: () => void
|
|
17
|
+
}
|
|
18
|
+
export interface TabsContentProps extends ComponentProps<typeof Kobalte.Content> {}
|
|
19
|
+
|
|
20
|
+
function TabsRoot(props: TabsProps) {
|
|
21
|
+
const [split, rest] = splitProps(props, ["class", "classList", "variant", "orientation"])
|
|
22
|
+
return (
|
|
23
|
+
<Kobalte
|
|
24
|
+
{...rest}
|
|
25
|
+
orientation={split.orientation}
|
|
26
|
+
data-component="tabs"
|
|
27
|
+
data-variant={split.variant || "normal"}
|
|
28
|
+
data-orientation={split.orientation || "horizontal"}
|
|
29
|
+
classList={{
|
|
30
|
+
...split.classList,
|
|
31
|
+
[split.class ?? ""]: !!split.class,
|
|
32
|
+
}}
|
|
33
|
+
/>
|
|
34
|
+
)
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
function TabsList(props: TabsListProps) {
|
|
38
|
+
const [split, rest] = splitProps(props, ["class", "classList"])
|
|
39
|
+
return (
|
|
40
|
+
<Kobalte.List
|
|
41
|
+
{...rest}
|
|
42
|
+
data-slot="tabs-list"
|
|
43
|
+
classList={{
|
|
44
|
+
...split.classList,
|
|
45
|
+
[split.class ?? ""]: !!split.class,
|
|
46
|
+
}}
|
|
47
|
+
/>
|
|
48
|
+
)
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
function TabsTrigger(props: ParentProps<TabsTriggerProps>) {
|
|
52
|
+
const [split, rest] = splitProps(props, [
|
|
53
|
+
"class",
|
|
54
|
+
"classList",
|
|
55
|
+
"classes",
|
|
56
|
+
"children",
|
|
57
|
+
"closeButton",
|
|
58
|
+
"hideCloseButton",
|
|
59
|
+
"onMiddleClick",
|
|
60
|
+
])
|
|
61
|
+
return (
|
|
62
|
+
<div
|
|
63
|
+
data-slot="tabs-trigger-wrapper"
|
|
64
|
+
data-value={props.value}
|
|
65
|
+
classList={{
|
|
66
|
+
...split.classList,
|
|
67
|
+
[split.class ?? ""]: !!split.class,
|
|
68
|
+
}}
|
|
69
|
+
onMouseDown={(e) => {
|
|
70
|
+
if (e.button === 1 && split.onMiddleClick) {
|
|
71
|
+
e.preventDefault()
|
|
72
|
+
}
|
|
73
|
+
}}
|
|
74
|
+
onAuxClick={(e) => {
|
|
75
|
+
if (e.button === 1 && split.onMiddleClick) {
|
|
76
|
+
e.preventDefault()
|
|
77
|
+
split.onMiddleClick()
|
|
78
|
+
}
|
|
79
|
+
}}
|
|
80
|
+
>
|
|
81
|
+
<Kobalte.Trigger
|
|
82
|
+
{...rest}
|
|
83
|
+
data-slot="tabs-trigger"
|
|
84
|
+
data-value={props.value}
|
|
85
|
+
classList={{ [split.classes?.button ?? ""]: split.classes?.button }}
|
|
86
|
+
>
|
|
87
|
+
{split.children}
|
|
88
|
+
</Kobalte.Trigger>
|
|
89
|
+
<Show when={split.closeButton}>
|
|
90
|
+
{(closeButton) => (
|
|
91
|
+
<div data-slot="tabs-trigger-close-button" data-hidden={split.hideCloseButton}>
|
|
92
|
+
{closeButton()}
|
|
93
|
+
</div>
|
|
94
|
+
)}
|
|
95
|
+
</Show>
|
|
96
|
+
</div>
|
|
97
|
+
)
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
function TabsContent(props: ParentProps<TabsContentProps>) {
|
|
101
|
+
const [split, rest] = splitProps(props, ["class", "classList", "children"])
|
|
102
|
+
return (
|
|
103
|
+
<Kobalte.Content
|
|
104
|
+
{...rest}
|
|
105
|
+
data-slot="tabs-content"
|
|
106
|
+
classList={{
|
|
107
|
+
...split.classList,
|
|
108
|
+
[split.class ?? ""]: !!split.class,
|
|
109
|
+
}}
|
|
110
|
+
>
|
|
111
|
+
{split.children}
|
|
112
|
+
</Kobalte.Content>
|
|
113
|
+
)
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
const TabsSectionTitle: Component<ParentProps> = (props) => {
|
|
117
|
+
return <div data-slot="tabs-section-title">{props.children}</div>
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
export const Tabs = Object.assign(TabsRoot, {
|
|
121
|
+
List: TabsList,
|
|
122
|
+
Trigger: TabsTrigger,
|
|
123
|
+
Content: TabsContent,
|
|
124
|
+
SectionTitle: TabsSectionTitle,
|
|
125
|
+
})
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
[data-component="tag"] {
|
|
2
|
+
display: inline-flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
justify-content: center;
|
|
5
|
+
user-select: none;
|
|
6
|
+
|
|
7
|
+
border-radius: var(--radius-xs);
|
|
8
|
+
border: 0.5px solid var(--border-weak-base);
|
|
9
|
+
background: var(--surface-raised-base);
|
|
10
|
+
color: var(--text-base);
|
|
11
|
+
|
|
12
|
+
&[data-size="normal"] {
|
|
13
|
+
height: 18px;
|
|
14
|
+
padding: 0 6px;
|
|
15
|
+
|
|
16
|
+
/* text-12-medium */
|
|
17
|
+
font-family: var(--font-family-sans);
|
|
18
|
+
font-size: var(--font-size-small);
|
|
19
|
+
font-style: normal;
|
|
20
|
+
font-weight: var(--font-weight-medium);
|
|
21
|
+
line-height: var(--line-height-large); /* 166.667% */
|
|
22
|
+
letter-spacing: var(--letter-spacing-normal);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&[data-size="large"] {
|
|
26
|
+
height: 22px;
|
|
27
|
+
padding: 0 8px;
|
|
28
|
+
|
|
29
|
+
/* text-14-medium */
|
|
30
|
+
font-family: var(--font-family-sans);
|
|
31
|
+
font-size: 14px;
|
|
32
|
+
font-style: normal;
|
|
33
|
+
font-weight: var(--font-weight-medium);
|
|
34
|
+
line-height: var(--line-height-large); /* 142.857% */
|
|
35
|
+
letter-spacing: var(--letter-spacing-normal);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { type ComponentProps, splitProps } from "solid-js"
|
|
2
|
+
|
|
3
|
+
export interface TagProps extends ComponentProps<"span"> {
|
|
4
|
+
size?: "normal" | "large"
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export function Tag(props: TagProps) {
|
|
8
|
+
const [split, rest] = splitProps(props, ["size", "class", "classList", "children"])
|
|
9
|
+
return (
|
|
10
|
+
<span
|
|
11
|
+
{...rest}
|
|
12
|
+
data-component="tag"
|
|
13
|
+
data-size={split.size || "normal"}
|
|
14
|
+
classList={{
|
|
15
|
+
...split.classList,
|
|
16
|
+
[split.class ?? ""]: !!split.class,
|
|
17
|
+
}}
|
|
18
|
+
>
|
|
19
|
+
{split.children}
|
|
20
|
+
</span>
|
|
21
|
+
)
|
|
22
|
+
}
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
[data-component="input"] {
|
|
2
|
+
width: 100%;
|
|
3
|
+
|
|
4
|
+
[data-slot="input-input"] {
|
|
5
|
+
width: 100%;
|
|
6
|
+
color: var(--text-strong);
|
|
7
|
+
|
|
8
|
+
/* text-14-regular */
|
|
9
|
+
font-family: var(--font-family-sans);
|
|
10
|
+
font-size: 14px;
|
|
11
|
+
font-style: normal;
|
|
12
|
+
font-weight: var(--font-weight-regular);
|
|
13
|
+
line-height: var(--line-height-large); /* 142.857% */
|
|
14
|
+
letter-spacing: var(--letter-spacing-normal);
|
|
15
|
+
|
|
16
|
+
&:focus {
|
|
17
|
+
outline: none;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&::placeholder {
|
|
21
|
+
color: var(--text-weak);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&[data-variant="normal"] {
|
|
26
|
+
display: flex;
|
|
27
|
+
flex-direction: column;
|
|
28
|
+
align-items: flex-start;
|
|
29
|
+
gap: 8px;
|
|
30
|
+
|
|
31
|
+
[data-slot="input-label"] {
|
|
32
|
+
color: var(--text-weak);
|
|
33
|
+
|
|
34
|
+
/* text-12-medium */
|
|
35
|
+
font-family: var(--font-family-sans);
|
|
36
|
+
font-size: var(--font-size-small);
|
|
37
|
+
font-style: normal;
|
|
38
|
+
font-weight: var(--font-weight-medium);
|
|
39
|
+
line-height: 18px; /* 150% */
|
|
40
|
+
letter-spacing: var(--letter-spacing-normal);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
[data-slot="input-wrapper"] {
|
|
44
|
+
display: flex;
|
|
45
|
+
align-items: start;
|
|
46
|
+
justify-content: space-between;
|
|
47
|
+
width: 100%;
|
|
48
|
+
padding-right: 4px;
|
|
49
|
+
|
|
50
|
+
border-radius: var(--radius-md);
|
|
51
|
+
border: 1px solid var(--border-weak-base);
|
|
52
|
+
background: var(--input-base);
|
|
53
|
+
|
|
54
|
+
&:focus-within:not(:has([data-readonly])) {
|
|
55
|
+
border-color: transparent;
|
|
56
|
+
/* border/shadow-xs/select */
|
|
57
|
+
box-shadow:
|
|
58
|
+
0 0 0 3px var(--border-weak-selected),
|
|
59
|
+
0 0 0 1px var(--border-selected),
|
|
60
|
+
0 1px 2px -1px rgba(19, 16, 16, 0.25),
|
|
61
|
+
0 1px 2px 0 rgba(19, 16, 16, 0.08),
|
|
62
|
+
0 1px 3px 0 rgba(19, 16, 16, 0.12);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&:has([data-invalid]) {
|
|
66
|
+
background: var(--surface-critical-weak);
|
|
67
|
+
border: 1px solid var(--border-critical-selected);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
&:not(:has([data-slot="input-copy-button"])) {
|
|
71
|
+
padding-right: 0;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
[data-slot="input-input"] {
|
|
76
|
+
color: var(--text-strong);
|
|
77
|
+
|
|
78
|
+
display: flex;
|
|
79
|
+
height: 32px;
|
|
80
|
+
padding: 2px 12px;
|
|
81
|
+
align-items: center;
|
|
82
|
+
flex: 1;
|
|
83
|
+
min-width: 0;
|
|
84
|
+
|
|
85
|
+
background: transparent;
|
|
86
|
+
border: none;
|
|
87
|
+
|
|
88
|
+
/* text-14-regular */
|
|
89
|
+
font-family: var(--font-family-sans);
|
|
90
|
+
font-size: 14px;
|
|
91
|
+
font-style: normal;
|
|
92
|
+
font-weight: var(--font-weight-regular);
|
|
93
|
+
line-height: var(--line-height-large); /* 142.857% */
|
|
94
|
+
letter-spacing: var(--letter-spacing-normal);
|
|
95
|
+
|
|
96
|
+
&:focus {
|
|
97
|
+
outline: none;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
&::placeholder {
|
|
101
|
+
color: var(--text-weak);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
textarea[data-slot="input-input"] {
|
|
106
|
+
height: auto;
|
|
107
|
+
min-height: 32px;
|
|
108
|
+
padding: 6px 12px;
|
|
109
|
+
resize: none;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
[data-slot="input-copy-button"] {
|
|
113
|
+
flex-shrink: 0;
|
|
114
|
+
margin-top: 4px;
|
|
115
|
+
color: var(--icon-base);
|
|
116
|
+
|
|
117
|
+
&:hover {
|
|
118
|
+
color: var(--icon-strong-base);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
[data-slot="input-error"] {
|
|
123
|
+
color: var(--text-on-critical-base);
|
|
124
|
+
|
|
125
|
+
/* text-12-medium */
|
|
126
|
+
font-family: var(--font-family-sans);
|
|
127
|
+
font-size: var(--font-size-small);
|
|
128
|
+
font-style: normal;
|
|
129
|
+
font-weight: var(--font-weight-medium);
|
|
130
|
+
line-height: 18px; /* 150% */
|
|
131
|
+
letter-spacing: var(--letter-spacing-normal);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import { TextField as Kobalte } from "@kobalte/core/text-field"
|
|
2
|
+
import { createSignal, Show, splitProps } from "solid-js"
|
|
3
|
+
import type { ComponentProps } from "solid-js"
|
|
4
|
+
import { useI18n } from "../context/i18n"
|
|
5
|
+
import { IconButton } from "./icon-button"
|
|
6
|
+
import { Tooltip } from "./tooltip"
|
|
7
|
+
|
|
8
|
+
export interface TextFieldProps
|
|
9
|
+
extends ComponentProps<typeof Kobalte.Input>,
|
|
10
|
+
Partial<
|
|
11
|
+
Pick<
|
|
12
|
+
ComponentProps<typeof Kobalte>,
|
|
13
|
+
| "name"
|
|
14
|
+
| "defaultValue"
|
|
15
|
+
| "value"
|
|
16
|
+
| "onChange"
|
|
17
|
+
| "onKeyDown"
|
|
18
|
+
| "validationState"
|
|
19
|
+
| "required"
|
|
20
|
+
| "disabled"
|
|
21
|
+
| "readOnly"
|
|
22
|
+
>
|
|
23
|
+
> {
|
|
24
|
+
label?: string
|
|
25
|
+
hideLabel?: boolean
|
|
26
|
+
description?: string
|
|
27
|
+
error?: string
|
|
28
|
+
variant?: "normal" | "ghost"
|
|
29
|
+
copyable?: boolean
|
|
30
|
+
copyKind?: "clipboard" | "link"
|
|
31
|
+
multiline?: boolean
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export function TextField(props: TextFieldProps) {
|
|
35
|
+
const i18n = useI18n()
|
|
36
|
+
const [local, others] = splitProps(props, [
|
|
37
|
+
"name",
|
|
38
|
+
"defaultValue",
|
|
39
|
+
"value",
|
|
40
|
+
"onChange",
|
|
41
|
+
"onKeyDown",
|
|
42
|
+
"validationState",
|
|
43
|
+
"required",
|
|
44
|
+
"disabled",
|
|
45
|
+
"readOnly",
|
|
46
|
+
"class",
|
|
47
|
+
"label",
|
|
48
|
+
"hideLabel",
|
|
49
|
+
"description",
|
|
50
|
+
"error",
|
|
51
|
+
"variant",
|
|
52
|
+
"copyable",
|
|
53
|
+
"copyKind",
|
|
54
|
+
"multiline",
|
|
55
|
+
])
|
|
56
|
+
const [copied, setCopied] = createSignal(false)
|
|
57
|
+
|
|
58
|
+
const label = () => {
|
|
59
|
+
if (copied()) return i18n.t("ui.textField.copied")
|
|
60
|
+
if (local.copyKind === "link") return i18n.t("ui.textField.copyLink")
|
|
61
|
+
return i18n.t("ui.textField.copyToClipboard")
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
const icon = () => {
|
|
65
|
+
if (copied()) return "check"
|
|
66
|
+
if (local.copyKind === "link") return "link"
|
|
67
|
+
return "copy"
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
async function handleCopy() {
|
|
71
|
+
const value = local.value ?? local.defaultValue ?? ""
|
|
72
|
+
await navigator.clipboard.writeText(value)
|
|
73
|
+
setCopied(true)
|
|
74
|
+
setTimeout(() => setCopied(false), 2000)
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
function handleClick() {
|
|
78
|
+
if (local.copyable) void handleCopy()
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
return (
|
|
82
|
+
<Kobalte
|
|
83
|
+
data-component="input"
|
|
84
|
+
data-variant={local.variant || "normal"}
|
|
85
|
+
name={local.name}
|
|
86
|
+
defaultValue={local.defaultValue}
|
|
87
|
+
value={local.value}
|
|
88
|
+
onChange={local.onChange}
|
|
89
|
+
onKeyDown={local.onKeyDown}
|
|
90
|
+
onClick={handleClick}
|
|
91
|
+
required={local.required}
|
|
92
|
+
disabled={local.disabled}
|
|
93
|
+
readOnly={local.readOnly}
|
|
94
|
+
validationState={local.validationState}
|
|
95
|
+
>
|
|
96
|
+
<Show when={local.label}>
|
|
97
|
+
<Kobalte.Label data-slot="input-label" classList={{ "sr-only": local.hideLabel }}>
|
|
98
|
+
{local.label}
|
|
99
|
+
</Kobalte.Label>
|
|
100
|
+
</Show>
|
|
101
|
+
<div data-slot="input-wrapper">
|
|
102
|
+
<Show
|
|
103
|
+
when={local.multiline}
|
|
104
|
+
fallback={<Kobalte.Input {...others} data-slot="input-input" class={local.class} />}
|
|
105
|
+
>
|
|
106
|
+
<Kobalte.TextArea {...others} autoResize data-slot="input-input" class={local.class} />
|
|
107
|
+
</Show>
|
|
108
|
+
<Show when={local.copyable}>
|
|
109
|
+
<Tooltip value={label()} placement="top" gutter={4} forceOpen={copied()} skipDelayDuration={0}>
|
|
110
|
+
<IconButton
|
|
111
|
+
type="button"
|
|
112
|
+
icon={icon()}
|
|
113
|
+
variant="ghost"
|
|
114
|
+
onClick={handleCopy}
|
|
115
|
+
tabIndex={-1}
|
|
116
|
+
data-slot="input-copy-button"
|
|
117
|
+
aria-label={label()}
|
|
118
|
+
/>
|
|
119
|
+
</Tooltip>
|
|
120
|
+
</Show>
|
|
121
|
+
</div>
|
|
122
|
+
<Show when={local.description}>
|
|
123
|
+
<Kobalte.Description data-slot="input-description">{local.description}</Kobalte.Description>
|
|
124
|
+
</Show>
|
|
125
|
+
<Kobalte.ErrorMessage data-slot="input-error">{local.error}</Kobalte.ErrorMessage>
|
|
126
|
+
</Kobalte>
|
|
127
|
+
)
|
|
128
|
+
}
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* TextReveal — mask-position wipe animation
|
|
3
|
+
*
|
|
4
|
+
* Instead of sliding text through a fixed mask (odometer style),
|
|
5
|
+
* the mask itself sweeps across each span to reveal/hide text.
|
|
6
|
+
*
|
|
7
|
+
* Direction: top-to-bottom. New text drops in from above, old text exits downward.
|
|
8
|
+
*
|
|
9
|
+
* Entering: gradient reveals top-to-bottom (top of text appears first).
|
|
10
|
+
* gradient(to bottom, white 33%, transparent 33%+edge)
|
|
11
|
+
* pos 0 100% = transparent covers element = hidden
|
|
12
|
+
* pos 0 0% = white covers element = visible
|
|
13
|
+
*
|
|
14
|
+
* Leaving: gradient hides top-to-bottom (top of text disappears first).
|
|
15
|
+
* gradient(to top, white 33%, transparent 33%+edge)
|
|
16
|
+
* pos 0 100% = white covers element = visible
|
|
17
|
+
* pos 0 0% = transparent covers element = hidden
|
|
18
|
+
*
|
|
19
|
+
* Both transition from 0 100% (swap) → 0 0% (settled).
|
|
20
|
+
*/
|
|
21
|
+
|
|
22
|
+
[data-component="text-reveal"] {
|
|
23
|
+
--_edge: var(--text-reveal-edge, 17%);
|
|
24
|
+
--_dur: var(--text-reveal-duration, 450ms);
|
|
25
|
+
--_spring: var(--text-reveal-spring, cubic-bezier(0.34, 1.08, 0.64, 1));
|
|
26
|
+
--_spring-soft: var(--text-reveal-spring-soft, cubic-bezier(0.34, 1, 0.64, 1));
|
|
27
|
+
--_travel: var(--text-reveal-travel, 0px);
|
|
28
|
+
|
|
29
|
+
display: inline-flex;
|
|
30
|
+
align-items: center;
|
|
31
|
+
min-width: 0;
|
|
32
|
+
overflow: visible;
|
|
33
|
+
|
|
34
|
+
[data-slot="text-reveal-track"] {
|
|
35
|
+
display: grid;
|
|
36
|
+
min-height: 20px;
|
|
37
|
+
line-height: 20px;
|
|
38
|
+
justify-items: start;
|
|
39
|
+
align-items: center;
|
|
40
|
+
overflow: visible;
|
|
41
|
+
transition: width var(--_dur) var(--_spring-soft);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
[data-slot="text-reveal-entering"],
|
|
45
|
+
[data-slot="text-reveal-leaving"] {
|
|
46
|
+
grid-area: 1 / 1;
|
|
47
|
+
line-height: 20px;
|
|
48
|
+
white-space: nowrap;
|
|
49
|
+
justify-self: start;
|
|
50
|
+
text-align: start;
|
|
51
|
+
mask-size: 100% 300%;
|
|
52
|
+
-webkit-mask-size: 100% 300%;
|
|
53
|
+
mask-repeat: no-repeat;
|
|
54
|
+
-webkit-mask-repeat: no-repeat;
|
|
55
|
+
transition-duration: var(--_dur);
|
|
56
|
+
transition-timing-function: var(--_spring);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/* ── entering: reveal top-to-bottom ──
|
|
60
|
+
* Gradient(to top): white at bottom, transparent at top of mask.
|
|
61
|
+
* Settled pos 0 100% = white covers element = visible
|
|
62
|
+
* Swap pos 0 0% = transparent covers = hidden
|
|
63
|
+
* Slides from above: translateY(-travel) → translateY(0)
|
|
64
|
+
*/
|
|
65
|
+
[data-slot="text-reveal-entering"] {
|
|
66
|
+
mask-image: linear-gradient(to top, white 33%, transparent calc(33% + var(--_edge)));
|
|
67
|
+
-webkit-mask-image: linear-gradient(to top, white 33%, transparent calc(33% + var(--_edge)));
|
|
68
|
+
mask-position: 0 100%;
|
|
69
|
+
-webkit-mask-position: 0 100%;
|
|
70
|
+
transition-property:
|
|
71
|
+
mask-position,
|
|
72
|
+
-webkit-mask-position,
|
|
73
|
+
transform;
|
|
74
|
+
transform: translateY(0);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/* ── leaving: hide top-to-bottom + slide downward ──
|
|
78
|
+
* Gradient(to bottom): white at top, transparent at bottom of mask.
|
|
79
|
+
* Swap pos 0 0% = white covers element = visible
|
|
80
|
+
* Settled pos 0 100% = transparent covers = hidden
|
|
81
|
+
* Slides down: translateY(0) → translateY(travel)
|
|
82
|
+
*/
|
|
83
|
+
[data-slot="text-reveal-leaving"] {
|
|
84
|
+
mask-image: linear-gradient(to bottom, white 33%, transparent calc(33% + var(--_edge)));
|
|
85
|
+
-webkit-mask-image: linear-gradient(to bottom, white 33%, transparent calc(33% + var(--_edge)));
|
|
86
|
+
mask-position: 0 100%;
|
|
87
|
+
-webkit-mask-position: 0 100%;
|
|
88
|
+
transition-property:
|
|
89
|
+
mask-position,
|
|
90
|
+
-webkit-mask-position,
|
|
91
|
+
transform;
|
|
92
|
+
transform: translateY(var(--_travel));
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/* ── swapping: instant reset ──
|
|
96
|
+
* Snap entering to hidden (above), leaving to visible (center).
|
|
97
|
+
*/
|
|
98
|
+
&[data-swapping="true"] [data-slot="text-reveal-entering"] {
|
|
99
|
+
mask-position: 0 0%;
|
|
100
|
+
-webkit-mask-position: 0 0%;
|
|
101
|
+
transform: translateY(calc(var(--_travel) * -1));
|
|
102
|
+
transition-duration: 0ms !important;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
&[data-swapping="true"] [data-slot="text-reveal-leaving"] {
|
|
106
|
+
mask-position: 0 0%;
|
|
107
|
+
-webkit-mask-position: 0 0%;
|
|
108
|
+
transform: translateY(0);
|
|
109
|
+
transition-duration: 0ms !important;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
/* ── not ready: kill all transitions ── */
|
|
113
|
+
&[data-ready="false"] [data-slot="text-reveal-track"] {
|
|
114
|
+
transition-duration: 0ms !important;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
&[data-ready="false"] [data-slot="text-reveal-entering"],
|
|
118
|
+
&[data-ready="false"] [data-slot="text-reveal-leaving"] {
|
|
119
|
+
transition-duration: 0ms !important;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
&[data-truncate="true"] {
|
|
123
|
+
width: 100%;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
&[data-truncate="true"] [data-slot="text-reveal-track"] {
|
|
127
|
+
width: 100%;
|
|
128
|
+
min-width: 0;
|
|
129
|
+
overflow: hidden;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
&[data-truncate="true"] [data-slot="text-reveal-entering"],
|
|
133
|
+
&[data-truncate="true"] [data-slot="text-reveal-leaving"] {
|
|
134
|
+
min-width: 0;
|
|
135
|
+
width: 100%;
|
|
136
|
+
overflow: hidden;
|
|
137
|
+
text-overflow: ellipsis;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
@media (prefers-reduced-motion: reduce) {
|
|
142
|
+
[data-component="text-reveal"] [data-slot="text-reveal-track"] {
|
|
143
|
+
transition-duration: 0ms !important;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
[data-component="text-reveal"] [data-slot="text-reveal-entering"],
|
|
147
|
+
[data-component="text-reveal"] [data-slot="text-reveal-leaving"] {
|
|
148
|
+
transition-duration: 0ms !important;
|
|
149
|
+
}
|
|
150
|
+
}
|