tera-system-ui 0.0.91 → 0.1.1
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/dist/components/accordion/components/AccordionContent.svelte.d.ts +1 -0
- package/dist/components/accordion/components/AccordionItem.svelte.d.ts +1 -0
- package/dist/components/accordion/components/AccordionTrigger.svelte.d.ts +5 -3
- package/dist/components/accordion/index.d.ts +6 -0
- package/dist/components/accordion/index.js +2 -2
- package/dist/components/avatar/Avatar.svelte.d.ts +1 -0
- package/dist/components/brand-logo/BrandLogo.svelte.d.ts +1 -0
- package/dist/components/button/Button.svelte.d.ts +4 -2
- package/dist/components/checkbox/Checkbox.svelte +2 -2
- package/dist/components/checkbox/Checkbox.svelte.d.ts +1 -0
- package/dist/components/combobox/Combobox.svelte.d.ts +1 -0
- package/dist/components/command/command.scss +31 -15
- package/dist/components/command/components/Command.svelte.d.ts +1 -0
- package/dist/components/command/components/CommandEmpty.svelte.d.ts +1 -0
- package/dist/components/command/components/CommandGroup.svelte.d.ts +1 -0
- package/dist/components/command/components/CommandInput.svelte.d.ts +6 -5
- package/dist/components/command/components/CommandItem.svelte.d.ts +1 -0
- package/dist/components/command/components/CommandList.svelte.d.ts +4 -3
- package/dist/components/command/components/CommandLoading.svelte.d.ts +1 -0
- package/dist/components/command/components/CommandSeparator.svelte.d.ts +1 -0
- package/dist/components/dialog/Dialog.svelte.d.ts +1 -0
- package/dist/components/dialog/dialog.scss +13 -6
- package/dist/components/dropdown-menu/components/DropdownMenu.svelte.d.ts +1 -0
- package/dist/components/dropdown-menu/components/DropdownMenuGroup.svelte.d.ts +4 -3
- package/dist/components/dropdown-menu/components/DropdownMenuHeader.svelte.d.ts +4 -3
- package/dist/components/dropdown-menu/components/DropdownMenuItem.svelte.d.ts +1 -0
- package/dist/components/dropdown-menu/components/DropdownMenuSeparator.svelte.d.ts +4 -3
- package/dist/components/header/Header.svelte.d.ts +1 -0
- package/dist/components/header/header.scss +3 -3
- package/dist/components/icons/IconArrowBigRightFilled.svelte +2 -1
- package/dist/components/icons/IconArrowBigRightFilled.svelte.d.ts +2 -1
- package/dist/components/icons/IconBook.svelte.d.ts +1 -0
- package/dist/components/icons/IconBookmarkPlus.svelte.d.ts +1 -0
- package/dist/components/icons/IconCalculator.svelte.d.ts +1 -0
- package/dist/components/icons/IconCheck.svelte.d.ts +1 -0
- package/dist/components/icons/IconChevronDown.svelte.d.ts +1 -0
- package/dist/components/icons/IconCoin.svelte.d.ts +1 -0
- package/dist/components/icons/IconCoinConvert.svelte.d.ts +1 -0
- package/dist/components/icons/IconCopy.svelte.d.ts +1 -0
- package/dist/components/icons/IconCopyCheckFilled.svelte.d.ts +1 -0
- package/dist/components/icons/IconHamburger.svelte.d.ts +1 -0
- package/dist/components/icons/IconLanguage.svelte.d.ts +1 -0
- package/dist/components/icons/IconLoader2.svelte.d.ts +1 -0
- package/dist/components/icons/IconLogout.svelte.d.ts +1 -0
- package/dist/components/icons/IconMoon.svelte.d.ts +1 -0
- package/dist/components/icons/IconPointFilled.svelte.d.ts +1 -0
- package/dist/components/icons/IconSearch.svelte.d.ts +1 -0
- package/dist/components/icons/IconSettings.svelte.d.ts +1 -0
- package/dist/components/icons/IconSun.svelte.d.ts +1 -0
- package/dist/components/icons/IconSwitchHorizontal.svelte.d.ts +1 -0
- package/dist/components/icons/IconSwitchVertical.svelte.d.ts +1 -0
- package/dist/components/icons/IconTransform.svelte.d.ts +1 -0
- package/dist/components/icons/IconX.svelte.d.ts +1 -0
- package/dist/components/input/Input.svelte.d.ts +1 -0
- package/dist/components/label/Label.svelte.d.ts +1 -0
- package/dist/components/language-picker-button/LanguagePickerButton.svelte +4 -7
- package/dist/components/language-picker-button/LanguagePickerButton.svelte.d.ts +4 -2
- package/dist/components/light-dark-toggle/LightDarkToggle.svelte.d.ts +1 -0
- package/dist/components/popover/Popover.svelte.d.ts +1 -0
- package/dist/components/popover-responsive/PopoverResponsive.svelte.d.ts +4 -2
- package/dist/components/select/Select.svelte.d.ts +1 -0
- package/dist/components/select/select.scss +2 -1
- package/dist/components/side-navigation/SideNavigation.svelte.d.ts +1 -0
- package/dist/components/side-navigation/SideNavigationItem.svelte.d.ts +5 -4
- package/dist/components/side-navigation/SideNavigationLayout.svelte.d.ts +3 -2
- package/dist/components/side-navigation/sidenav.scss +15 -12
- package/dist/components/slider/Slider.svelte +2 -53
- package/dist/components/slider/Slider.svelte.d.ts +1 -0
- package/dist/components/star-rating/StarRating.svelte +18 -22
- package/dist/components/star-rating/StarRating.svelte.d.ts +1 -0
- package/dist/components/switch/Switch.svelte.d.ts +1 -0
- package/dist/components/tabs/components/Tabs.svelte.d.ts +1 -0
- package/dist/components/tabs/components/TabsContent.svelte +4 -4
- package/dist/components/tabs/components/TabsContent.svelte.d.ts +5 -4
- package/dist/components/tabs/components/TabsItem.svelte +2 -3
- package/dist/components/tabs/components/TabsItem.svelte.d.ts +5 -4
- package/dist/components/tabs/components/TabsList.svelte.d.ts +4 -3
- package/dist/components/tera-ui-context/TeraUiContext.svelte.d.ts +1 -0
- package/dist/components/text-area/TextArea.svelte.d.ts +1 -0
- package/dist/components/user-avatar-with-menu/UserAvatarWithMenu.svelte +1 -1
- package/dist/components/user-avatar-with-menu/UserAvatarWithMenu.svelte.d.ts +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/themes/tera-ui-base.css +320 -135
- package/dist/themes/tw-preset.cjs +2 -13
- package/dist/themes/tw-preset.d.cts +1 -14
- package/package.json +33 -33
- package/dist/components/icons/package.json +0 -14
- package/dist/components/icons/update-icon-import.d.ts +0 -1
- package/dist/components/icons/update-icon-import.js +0 -30
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { Accordion as AccordionPrimitive } from "bits-ui";
|
|
2
2
|
declare const AccordionContent: import("svelte").Component<Omit<AccordionPrimitive.ContentProps, "child">, {}, "ref">;
|
|
3
|
+
type AccordionContent = ReturnType<typeof AccordionContent>;
|
|
3
4
|
export default AccordionContent;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import { Accordion as AccordionPrimitive } from "bits-ui";
|
|
2
|
-
|
|
1
|
+
import { Accordion as AccordionPrimitive, type WithoutChild } from "bits-ui";
|
|
2
|
+
type $$ComponentProps = WithoutChild<AccordionPrimitive.TriggerProps> & {
|
|
3
3
|
level?: AccordionPrimitive.HeaderProps["level"];
|
|
4
|
-
}
|
|
4
|
+
};
|
|
5
|
+
declare const AccordionTrigger: import("svelte").Component<$$ComponentProps, {}, "ref">;
|
|
6
|
+
type AccordionTrigger = ReturnType<typeof AccordionTrigger>;
|
|
5
7
|
export default AccordionTrigger;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Accordion as AccordionPrimitive } from "bits-ui";
|
|
2
|
+
declare const Root: import("svelte").Component<AccordionPrimitive.RootProps, {}, "value" | "ref">;
|
|
3
|
+
export { Root as Accordion };
|
|
4
|
+
export { default as AccordionItem } from "./components/AccordionItem.svelte";
|
|
5
|
+
export { default as AccordionContent } from "./components/AccordionContent.svelte";
|
|
6
|
+
export { default as AccordionTrigger } from "./components/AccordionTrigger.svelte";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Accordion as AccordionPrimitive } from "bits-ui";
|
|
2
|
-
const
|
|
3
|
-
export { Accordion };
|
|
2
|
+
const Root = AccordionPrimitive.Root;
|
|
3
|
+
export { Root as Accordion };
|
|
4
4
|
export { default as AccordionItem } from "./components/AccordionItem.svelte";
|
|
5
5
|
export { default as AccordionContent } from "./components/AccordionContent.svelte";
|
|
6
6
|
export { default as AccordionTrigger } from "./components/AccordionTrigger.svelte";
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { type ButtonProps } from "./Button";
|
|
2
|
-
|
|
2
|
+
type $$ComponentProps = ButtonProps & {
|
|
3
3
|
ref: HTMLButtonElement;
|
|
4
|
-
}
|
|
4
|
+
};
|
|
5
|
+
declare const Button: import("svelte").Component<$$ComponentProps, {}, "ref">;
|
|
6
|
+
type Button = ReturnType<typeof Button>;
|
|
5
7
|
export default Button;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { Checkbox as CheckboxPrimitive, type WithoutChildrenOrChild } from "bits-ui";
|
|
3
3
|
import { cn } from "../../utils";
|
|
4
|
-
import IconCheck from "@tabler/icons-svelte/icons/check"
|
|
5
|
-
import IconMinus from "@tabler/icons-svelte/icons/minus"
|
|
4
|
+
import IconCheck from "@tabler/icons-svelte/icons/check"
|
|
5
|
+
import IconMinus from "@tabler/icons-svelte/icons/minus"
|
|
6
6
|
|
|
7
7
|
let {
|
|
8
8
|
ref = $bindable(null),
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { Checkbox as CheckboxPrimitive } from "bits-ui";
|
|
2
2
|
declare const Checkbox: import("svelte").Component<Omit<Omit<CheckboxPrimitive.RootProps, "child">, "children">, {}, "ref" | "checked" | "indeterminate">;
|
|
3
|
+
type Checkbox = ReturnType<typeof Checkbox>;
|
|
3
4
|
export default Checkbox;
|
|
@@ -1,34 +1,41 @@
|
|
|
1
|
+
@reference "../../themes/tera-ui-base.css";
|
|
2
|
+
|
|
1
3
|
[data-cmdk-root] {
|
|
2
4
|
transition: transform 100ms ease;
|
|
3
|
-
|
|
5
|
+
max-width: var(--spacing-screen-md);
|
|
6
|
+
width: 100%;
|
|
7
|
+
overflow: hidden;
|
|
4
8
|
}
|
|
5
9
|
|
|
6
|
-
//[data-cmdk-input] {
|
|
7
|
-
// @apply border-b border-b-neutral-token-5 rounded-none text-sm;
|
|
8
|
-
//}
|
|
9
|
-
|
|
10
10
|
[data-cmdk-item] {
|
|
11
11
|
content-visibility: auto;
|
|
12
12
|
|
|
13
13
|
cursor: pointer;
|
|
14
|
-
|
|
14
|
+
border-radius: var(--radius-sm);
|
|
15
|
+
display: flex;
|
|
16
|
+
align-items: center;
|
|
17
|
+
gap: --spacing(2);
|
|
18
|
+
padding-inline: --spacing(2);
|
|
19
|
+
padding-block: --spacing(2.5);
|
|
20
|
+
color: var(--color-neutral-token-10);
|
|
15
21
|
user-select: none;
|
|
16
22
|
will-change: background, color;
|
|
17
23
|
transition: all 150ms ease;
|
|
18
24
|
transition-property: none;
|
|
19
25
|
|
|
20
26
|
&[data-selected='true'] {
|
|
21
|
-
|
|
27
|
+
background: var(--color-neutral-token-4);
|
|
28
|
+
color: var(--color-neutral-token-13);
|
|
22
29
|
}
|
|
23
30
|
|
|
24
31
|
&[data-disabled='true'] {
|
|
25
|
-
|
|
32
|
+
color: var(--color-neutral-token-7);
|
|
26
33
|
cursor: not-allowed;
|
|
27
34
|
}
|
|
28
35
|
|
|
29
36
|
&:active {
|
|
30
37
|
transition-property: background;
|
|
31
|
-
|
|
38
|
+
background: var(--color-neutral-token-5);
|
|
32
39
|
}
|
|
33
40
|
|
|
34
41
|
//& + [data-cmdk-item] {
|
|
@@ -48,26 +55,35 @@
|
|
|
48
55
|
overscroll-behavior: contain;
|
|
49
56
|
transition: 100ms ease;
|
|
50
57
|
transition-property: height;
|
|
51
|
-
|
|
52
|
-
|
|
58
|
+
margin-block: --spacing(2);
|
|
59
|
+
padding-inline: --spacing(2);
|
|
53
60
|
}
|
|
54
61
|
|
|
55
62
|
[data-cmdk-separator] {
|
|
56
63
|
height: 1px;
|
|
57
64
|
width: 100%;
|
|
58
65
|
margin: 4px 0;
|
|
59
|
-
|
|
66
|
+
background: var(--color-neutral-token-5);
|
|
60
67
|
}
|
|
61
68
|
|
|
62
69
|
*:not([hidden]) + [data-cmdk-group] {
|
|
63
|
-
|
|
70
|
+
margin-top: --spacing(2);
|
|
64
71
|
}
|
|
65
72
|
|
|
66
73
|
[data-cmdk-group-heading] {
|
|
67
74
|
user-select: none;
|
|
68
|
-
|
|
75
|
+
font-size: var(--text-xs);
|
|
76
|
+
color: var(--color-neutral-token-9);
|
|
77
|
+
display: flex;
|
|
78
|
+
padding-block: --spacing(1);
|
|
79
|
+
padding-inline: --spacing(2);
|
|
69
80
|
}
|
|
70
81
|
|
|
71
82
|
[data-cmdk-empty] {
|
|
72
|
-
|
|
83
|
+
display: grid;
|
|
84
|
+
place-content: center;
|
|
85
|
+
font-size: var(--text-sm);
|
|
86
|
+
color: var(--color-neutral-token-8);
|
|
87
|
+
height: --spacing(12);
|
|
88
|
+
white-space: pre-wrap;
|
|
73
89
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} & import("svelte/elements.js").HTMLInputAttributes & {
|
|
1
|
+
import type { InputProps } from '../types.js';
|
|
2
|
+
type $$Props = InputProps;
|
|
3
|
+
type $$ComponentProps = $$Props & {
|
|
5
4
|
el?: HTMLElement;
|
|
6
|
-
}
|
|
5
|
+
};
|
|
6
|
+
declare const CommandInput: import("svelte").Component<$$ComponentProps, {}, "value">;
|
|
7
|
+
type CommandInput = ReturnType<typeof CommandInput>;
|
|
7
8
|
export default CommandInput;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
declare const CommandList: import("svelte").Component<{
|
|
2
|
-
children:
|
|
3
|
-
el:
|
|
4
|
-
} & Record<string,
|
|
2
|
+
children: any;
|
|
3
|
+
el: any;
|
|
4
|
+
} & Record<string, any>, {}, "">;
|
|
5
|
+
type CommandList = ReturnType<typeof CommandList>;
|
|
5
6
|
export default CommandList;
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
@reference "../../themes/tera-ui-base.css";
|
|
2
|
+
|
|
3
|
+
|
|
1
4
|
.dialog-box {
|
|
2
5
|
max-height: min(calc(100svh - 1rem), 55rem);
|
|
3
6
|
overflow-y: auto;
|
|
@@ -5,8 +8,11 @@
|
|
|
5
8
|
display: grid;
|
|
6
9
|
grid-template-rows: auto 1fr auto;
|
|
7
10
|
width: 100%;
|
|
8
|
-
|
|
9
|
-
|
|
11
|
+
background: var(--color-neutral-token-1);
|
|
12
|
+
position: relative;
|
|
13
|
+
top: 0;
|
|
14
|
+
left: 0;
|
|
15
|
+
bottom: 0;
|
|
10
16
|
main {
|
|
11
17
|
overflow: auto;
|
|
12
18
|
}
|
|
@@ -42,7 +48,7 @@ dialog {
|
|
|
42
48
|
&[size="full"] {
|
|
43
49
|
width: 100vw;
|
|
44
50
|
max-width: 100vw;
|
|
45
|
-
|
|
51
|
+
border-radius: 0;
|
|
46
52
|
}
|
|
47
53
|
&[size="auto"] {
|
|
48
54
|
width: fit-content;
|
|
@@ -52,13 +58,13 @@ dialog {
|
|
|
52
58
|
}
|
|
53
59
|
|
|
54
60
|
dialog[open] {
|
|
55
|
-
|
|
61
|
+
display: inline-flex;
|
|
56
62
|
}
|
|
57
63
|
|
|
58
64
|
dialog {
|
|
59
65
|
--transition-duration: 0.2s;
|
|
60
66
|
transform: translateY(0px);
|
|
61
|
-
|
|
67
|
+
margin: auto;
|
|
62
68
|
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
|
|
63
69
|
|
|
64
70
|
&[data-position="top"] {
|
|
@@ -175,6 +181,7 @@ dialog {
|
|
|
175
181
|
}
|
|
176
182
|
|
|
177
183
|
dialog::backdrop {
|
|
178
|
-
|
|
184
|
+
backdrop-filter: blur(0.2rem);
|
|
185
|
+
background: --alpha(var(--color-neutral-token-13) / 20%);
|
|
179
186
|
transition: opacity var(--transition-duration) ease-out;
|
|
180
187
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
declare const DropdownMenuGroup: import("svelte").Component<{
|
|
2
|
-
children:
|
|
3
|
-
class:
|
|
4
|
-
} & Record<string,
|
|
2
|
+
children: any;
|
|
3
|
+
class: any;
|
|
4
|
+
} & Record<string, any>, {}, "">;
|
|
5
|
+
type DropdownMenuGroup = ReturnType<typeof DropdownMenuGroup>;
|
|
5
6
|
export default DropdownMenuGroup;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
declare const DropdownMenuHeader: import("svelte").Component<{
|
|
2
|
-
children:
|
|
3
|
-
class:
|
|
4
|
-
} & Record<string,
|
|
2
|
+
children: any;
|
|
3
|
+
class: any;
|
|
4
|
+
} & Record<string, any>, {}, "">;
|
|
5
|
+
type DropdownMenuHeader = ReturnType<typeof DropdownMenuHeader>;
|
|
5
6
|
export default DropdownMenuHeader;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
declare const DropdownMenuSeparator: import("svelte").Component<{
|
|
2
|
-
children:
|
|
3
|
-
class:
|
|
4
|
-
} & Record<string,
|
|
2
|
+
children: any;
|
|
3
|
+
class: any;
|
|
4
|
+
} & Record<string, any>, {}, "">;
|
|
5
|
+
type DropdownMenuSeparator = ReturnType<typeof DropdownMenuSeparator>;
|
|
5
6
|
export default DropdownMenuSeparator;
|
|
@@ -2,19 +2,19 @@
|
|
|
2
2
|
container-type: inline-size;
|
|
3
3
|
|
|
4
4
|
[data-name="brand-logo"] {
|
|
5
|
-
|
|
5
|
+
height: var(--spacing-icon-lg);
|
|
6
6
|
}
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
@container (min-width: theme(
|
|
10
|
+
@container (min-width: theme(--breakpoint-md)) {
|
|
11
11
|
#header-container {
|
|
12
12
|
header {
|
|
13
13
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
[data-name="brand-logo"] {
|
|
17
|
-
|
|
17
|
+
height: var(--spacing-icon-xl);
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import {type IconsProps, styles} from "./Icons";
|
|
3
|
-
import IconArrowBigRightFilled from "@tabler/icons-svelte/icons/arrow-big-
|
|
3
|
+
import IconArrowBigRightFilled from "@tabler/icons-svelte/icons/arrow-big-down-filled";
|
|
4
|
+
|
|
4
5
|
|
|
5
6
|
let {children, ...props}: IconsProps = $props();
|
|
6
7
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type IconsProps } from "./Icons";
|
|
2
|
-
import IconArrowBigRightFilled from "@tabler/icons-svelte/icons/arrow-big-
|
|
2
|
+
import IconArrowBigRightFilled from "@tabler/icons-svelte/icons/arrow-big-down-filled";
|
|
3
3
|
declare const IconArrowBigRightFilled: import("svelte").Component<IconsProps, {}, "">;
|
|
4
|
+
type IconArrowBigRightFilled = ReturnType<typeof IconArrowBigRightFilled>;
|
|
4
5
|
export default IconArrowBigRightFilled;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type IconsProps } from "./Icons";
|
|
2
2
|
import IconBookmarkPlus from "@tabler/icons-svelte/icons/bookmark-plus";
|
|
3
3
|
declare const IconBookmarkPlus: import("svelte").Component<IconsProps, {}, "">;
|
|
4
|
+
type IconBookmarkPlus = ReturnType<typeof IconBookmarkPlus>;
|
|
4
5
|
export default IconBookmarkPlus;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type IconsProps } from "./Icons";
|
|
2
2
|
import IconCalculator from "@tabler/icons-svelte/icons/calculator";
|
|
3
3
|
declare const IconCalculator: import("svelte").Component<IconsProps, {}, "">;
|
|
4
|
+
type IconCalculator = ReturnType<typeof IconCalculator>;
|
|
4
5
|
export default IconCalculator;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type IconsProps } from "./Icons";
|
|
2
2
|
import IconChevronDown from "@tabler/icons-svelte/icons/chevron-down";
|
|
3
3
|
declare const IconChevronDown: import("svelte").Component<IconsProps, {}, "">;
|
|
4
|
+
type IconChevronDown = ReturnType<typeof IconChevronDown>;
|
|
4
5
|
export default IconChevronDown;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type IconsProps } from "./Icons";
|
|
2
2
|
import IconCopyCheckFilled from "@tabler/icons-svelte/icons/copy-check-filled";
|
|
3
3
|
declare const IconCopyCheckFilled: import("svelte").Component<IconsProps, {}, "">;
|
|
4
|
+
type IconCopyCheckFilled = ReturnType<typeof IconCopyCheckFilled>;
|
|
4
5
|
export default IconCopyCheckFilled;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type IconsProps } from "./Icons";
|
|
2
2
|
import IconLanguage from "@tabler/icons-svelte/icons/language";
|
|
3
3
|
declare const IconLanguage: import("svelte").Component<IconsProps, {}, "">;
|
|
4
|
+
type IconLanguage = ReturnType<typeof IconLanguage>;
|
|
4
5
|
export default IconLanguage;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type IconsProps } from "./Icons";
|
|
2
2
|
import IconPointFilled from "@tabler/icons-svelte/icons/point-filled";
|
|
3
3
|
declare const IconPointFilled: import("svelte").Component<IconsProps, {}, "">;
|
|
4
|
+
type IconPointFilled = ReturnType<typeof IconPointFilled>;
|
|
4
5
|
export default IconPointFilled;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type IconsProps } from "./Icons";
|
|
2
2
|
import IconSettings from "@tabler/icons-svelte/icons/settings";
|
|
3
3
|
declare const IconSettings: import("svelte").Component<IconsProps, {}, "">;
|
|
4
|
+
type IconSettings = ReturnType<typeof IconSettings>;
|
|
4
5
|
export default IconSettings;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type IconsProps } from "./Icons";
|
|
2
2
|
import IconSwitchHorizontal from "@tabler/icons-svelte/icons/switch-horizontal";
|
|
3
3
|
declare const IconSwitchHorizontal: import("svelte").Component<IconsProps, {}, "">;
|
|
4
|
+
type IconSwitchHorizontal = ReturnType<typeof IconSwitchHorizontal>;
|
|
4
5
|
export default IconSwitchHorizontal;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type IconsProps } from "./Icons";
|
|
2
2
|
import IconSwitchVertical from "@tabler/icons-svelte/icons/switch-vertical";
|
|
3
3
|
declare const IconSwitchVertical: import("svelte").Component<IconsProps, {}, "">;
|
|
4
|
+
type IconSwitchVertical = ReturnType<typeof IconSwitchVertical>;
|
|
4
5
|
export default IconSwitchVertical;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type IconsProps } from "./Icons";
|
|
2
2
|
import IconTransform from "@tabler/icons-svelte/icons/transform";
|
|
3
3
|
declare const IconTransform: import("svelte").Component<IconsProps, {}, "">;
|
|
4
|
+
type IconTransform = ReturnType<typeof IconTransform>;
|
|
4
5
|
export default IconTransform;
|
|
@@ -82,19 +82,16 @@
|
|
|
82
82
|
opacity: 0;
|
|
83
83
|
}
|
|
84
84
|
button:hover {
|
|
85
|
-
--
|
|
86
|
-
background-color: hsl(var(--tw---token-color-neutral-token-4) / var(--tw-bg-opacity, 1)) ;
|
|
85
|
+
background: var(--color-neutral-token-4);
|
|
87
86
|
}
|
|
88
87
|
button[data-selected] {
|
|
89
|
-
--
|
|
90
|
-
|
|
91
|
-
--tw-text-opacity: 1;
|
|
92
|
-
color: hsl(var(--tw---token-color-neutral-token-1) / var(--tw-text-opacity, 1)) ;
|
|
88
|
+
background: var(--color-neutral-token-11);
|
|
89
|
+
color: var(--color-neutral-token-1);
|
|
93
90
|
}
|
|
94
91
|
button[data-selected] .check {
|
|
95
92
|
opacity: 1;
|
|
96
93
|
}
|
|
97
94
|
|
|
98
95
|
.flag-img {
|
|
99
|
-
border-radius:
|
|
96
|
+
border-radius: var(--radius-full);
|
|
100
97
|
}</style>
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { type LanguagePickerButtonProps } from "./LanguagePickerButton";
|
|
2
|
-
|
|
2
|
+
type $$ComponentProps = LanguagePickerButtonProps & {
|
|
3
3
|
onLangSelect: (langCode: string) => void;
|
|
4
|
-
}
|
|
4
|
+
};
|
|
5
|
+
declare const LanguagePickerButton: import("svelte").Component<$$ComponentProps, {}, "open">;
|
|
6
|
+
type LanguagePickerButton = ReturnType<typeof LanguagePickerButton>;
|
|
5
7
|
export default LanguagePickerButton;
|