@robosystems/core 0.17.0 → 0.18.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 +2 -2
- package/auth-components/AppSwitcher.js +2 -3
- package/auth-components/LoginRedirector.js +24 -12
- package/auth-core/client.d.ts +2 -2
- package/auth-core/client.js +4 -4
- package/auth-core/login-home.d.ts +6 -0
- package/auth-core/login-home.js +11 -2
- package/auth-core/sso.d.ts +28 -4
- package/auth-core/sso.js +94 -62
- package/components/EntitySelector.js +1 -1
- package/components/RepositoryGuard.js +1 -1
- package/components/console/ConsoleContent.d.ts +1 -0
- package/components/console/ConsoleContent.js +13 -4
- package/components/report-chat/ReportChat.d.ts +13 -0
- package/components/report-chat/ReportChat.js +1 -1
- package/components/repositories/ActiveSubscriptions.js +1 -1
- package/components/repositories/BrowseRepositories.js +1 -1
- package/components/search/SearchBar.js +1 -1
- package/components/search/SearchContent.js +1 -1
- package/components/search/SearchHitCard.js +1 -1
- package/components/search/SearchPagination.js +1 -1
- package/hooks/use-toast.d.ts +1 -1
- package/hooks/use-toast.js +2 -2
- package/library/components/ElementBrowser.js +1 -1
- package/library/components/ElementDetail.js +1 -1
- package/library/components/LibraryHierarchy.js +1 -1
- package/library/components/TaxonomySidebar.js +1 -1
- package/package.json +2 -2
- package/styles/forms.css +478 -0
- package/styles/palette.css +265 -0
- package/theme/flowbite-theme.d.ts +638 -638
- package/theme/flowbite-theme.js +16 -21
- package/ui/Alert.d.ts +66 -0
- package/ui/Alert.js +24 -0
- package/ui/Badge.d.ts +50 -0
- package/ui/Badge.js +21 -0
- package/ui/Breadcrumb.d.ts +10 -0
- package/ui/Breadcrumb.js +31 -0
- package/ui/Button.d.ts +76 -0
- package/ui/Button.js +26 -0
- package/ui/Card.d.ts +32 -0
- package/ui/Card.js +26 -0
- package/ui/Checkbox.d.ts +33 -0
- package/ui/Checkbox.js +21 -0
- package/ui/Dropdown.d.ts +67 -0
- package/ui/Dropdown.js +134 -0
- package/ui/FileInput.d.ts +23 -0
- package/ui/FileInput.js +21 -0
- package/ui/Floating.d.ts +96 -0
- package/ui/Floating.js +92 -0
- package/ui/HelperText.d.ts +19 -0
- package/ui/HelperText.js +21 -0
- package/ui/Label.d.ts +21 -0
- package/ui/Label.js +21 -0
- package/ui/Modal.d.ts +85 -0
- package/ui/Modal.js +73 -0
- package/ui/Navbar.d.ts +14 -0
- package/ui/Navbar.js +35 -0
- package/ui/Progress.d.ts +40 -0
- package/ui/Progress.js +26 -0
- package/ui/Radio.d.ts +31 -0
- package/ui/Radio.js +21 -0
- package/ui/Select.d.ts +49 -0
- package/ui/Select.js +21 -0
- package/ui/Sidebar.d.ts +114 -0
- package/ui/Sidebar.js +76 -0
- package/ui/Spinner.d.ts +60 -0
- package/ui/Spinner.js +22 -0
- package/ui/Table.d.ts +23 -0
- package/ui/Table.js +57 -0
- package/ui/Tabs.d.ts +78 -0
- package/ui/Tabs.js +64 -0
- package/ui/TextInput.d.ts +58 -0
- package/ui/TextInput.js +21 -0
- package/ui/Textarea.d.ts +22 -0
- package/ui/Textarea.js +21 -0
- package/ui/ThemeModeScript.d.ts +21 -0
- package/ui/ThemeModeScript.js +74 -0
- package/ui/Toast.d.ts +24 -0
- package/ui/Toast.js +58 -0
- package/ui/ToggleSwitch.d.ts +54 -0
- package/ui/ToggleSwitch.js +26 -0
- package/ui/Tooltip.d.ts +3 -0
- package/ui/Tooltip.js +19 -0
- package/ui/cn.d.ts +6 -0
- package/ui/cn.js +19 -0
- package/ui/icons.d.ts +8 -0
- package/ui/icons.js +22 -0
- package/ui/index.d.ts +37 -0
- package/ui/index.js +36 -0
- package/ui/merge-theme.d.ts +15 -0
- package/ui/merge-theme.js +26 -0
- package/ui/theme-defaults.d.ts +821 -0
- package/ui/theme-defaults.js +824 -0
- package/ui/theme-mode.d.ts +15 -0
- package/ui/theme-mode.js +92 -0
- package/ui/types.d.ts +6 -0
- package/ui/types.js +1 -0
- package/ui-components/ConfirmModal.js +1 -1
- package/ui-components/StatCard.js +1 -1
- package/ui-components/api-keys/ApiKeyDisplay.d.ts +0 -1
- package/ui-components/api-keys/ApiKeyDisplay.js +3 -3
- package/ui-components/api-keys/CreateApiKeyModal.d.ts +0 -1
- package/ui-components/api-keys/CreateApiKeyModal.js +4 -4
- package/ui-components/api-keys/SecureApiKeyField.js +1 -1
- package/ui-components/chat/ChatInputArea.js +1 -1
- package/ui-components/chat/ChatMessage.js +1 -1
- package/ui-components/chat/DeepResearchToggle.js +1 -1
- package/ui-components/forms/CategoryInput.js +1 -1
- package/ui-components/forms/SettingsCard.d.ts +0 -1
- package/ui-components/forms/SettingsCard.js +3 -3
- package/ui-components/forms/SettingsFormField.d.ts +0 -1
- package/ui-components/forms/SettingsFormField.js +3 -3
- package/ui-components/forms/StatusAlert.d.ts +0 -1
- package/ui-components/forms/StatusAlert.js +3 -3
- package/ui-components/forms/TagInput.d.ts +1 -1
- package/ui-components/forms/TagInput.js +1 -1
- package/ui-components/layout/CoreNavbar.js +7 -8
- package/ui-components/layout/CoreSidebar.js +12 -13
- package/ui-components/layout/ThemeToggle.js +1 -1
- package/ui-components/settings/GeneralInformationCard.d.ts +0 -1
- package/ui-components/settings/GeneralInformationCard.js +3 -3
- package/ui-components/settings/PasswordInformationCard.d.ts +0 -1
- package/ui-components/settings/PasswordInformationCard.js +4 -4
- package/ui-components/settings/SettingsPageHeader.js +1 -1
- package/ui-components/support/SupportModal.js +1 -1
|
@@ -1,758 +1,758 @@
|
|
|
1
1
|
export declare const customTheme: {
|
|
2
|
-
alert: {
|
|
3
|
-
base:
|
|
4
|
-
borderAccent:
|
|
5
|
-
color: {
|
|
6
|
-
failure:
|
|
7
|
-
success:
|
|
8
|
-
warning:
|
|
9
|
-
info:
|
|
10
|
-
};
|
|
11
|
-
icon:
|
|
12
|
-
rounded:
|
|
13
|
-
wrapper:
|
|
2
|
+
readonly alert: {
|
|
3
|
+
readonly base: "flex flex-col gap-2 rounded-xl p-4 text-sm backdrop-blur-sm";
|
|
4
|
+
readonly borderAccent: "border-l-4";
|
|
5
|
+
readonly color: {
|
|
6
|
+
readonly failure: "border-red-400 bg-red-50 text-red-800 dark:border-red-600 dark:bg-red-900/20 dark:text-red-300";
|
|
7
|
+
readonly success: "border-green-400 bg-green-50 text-green-800 dark:border-green-600 dark:bg-green-900/20 dark:text-green-300";
|
|
8
|
+
readonly warning: "border-amber-400 bg-amber-50 text-amber-800 dark:border-amber-600 dark:bg-amber-900/20 dark:text-amber-300";
|
|
9
|
+
readonly info: "border-primary-400 bg-primary-50 text-primary-800 dark:border-primary-600 dark:bg-primary-900/20 dark:text-primary-300";
|
|
10
|
+
};
|
|
11
|
+
readonly icon: "mr-3 inline h-5 w-5 shrink-0";
|
|
12
|
+
readonly rounded: "rounded-xl";
|
|
13
|
+
readonly wrapper: "flex items-center";
|
|
14
14
|
};
|
|
15
|
-
avatar: {
|
|
16
|
-
root: {
|
|
17
|
-
base:
|
|
18
|
-
bordered:
|
|
19
|
-
rounded:
|
|
20
|
-
color: {
|
|
21
|
-
dark:
|
|
22
|
-
failure:
|
|
23
|
-
gray:
|
|
24
|
-
info:
|
|
25
|
-
light:
|
|
26
|
-
purple:
|
|
27
|
-
success:
|
|
28
|
-
warning:
|
|
29
|
-
pink:
|
|
30
|
-
};
|
|
31
|
-
img: {
|
|
32
|
-
base:
|
|
33
|
-
off:
|
|
34
|
-
on:
|
|
35
|
-
placeholder:
|
|
36
|
-
};
|
|
37
|
-
size: {
|
|
38
|
-
xs:
|
|
39
|
-
sm:
|
|
40
|
-
md:
|
|
41
|
-
lg:
|
|
42
|
-
xl:
|
|
43
|
-
};
|
|
44
|
-
stacked:
|
|
45
|
-
statusPosition: {
|
|
46
|
-
'bottom-left':
|
|
47
|
-
'bottom-center':
|
|
48
|
-
'bottom-right':
|
|
49
|
-
'top-left':
|
|
50
|
-
'top-center':
|
|
51
|
-
'top-right':
|
|
52
|
-
'center-right':
|
|
53
|
-
center:
|
|
54
|
-
'center-left':
|
|
55
|
-
};
|
|
56
|
-
status: {
|
|
57
|
-
away:
|
|
58
|
-
base:
|
|
59
|
-
busy:
|
|
60
|
-
offline:
|
|
61
|
-
online:
|
|
62
|
-
};
|
|
63
|
-
initials: {
|
|
64
|
-
text:
|
|
65
|
-
base:
|
|
66
|
-
};
|
|
67
|
-
};
|
|
68
|
-
group: {
|
|
69
|
-
base:
|
|
70
|
-
};
|
|
71
|
-
groupCounter: {
|
|
72
|
-
base:
|
|
15
|
+
readonly avatar: {
|
|
16
|
+
readonly root: {
|
|
17
|
+
readonly base: "flex items-center justify-center space-x-4";
|
|
18
|
+
readonly bordered: "ring-primary-300 dark:ring-primary-600 ring-2";
|
|
19
|
+
readonly rounded: "rounded-full";
|
|
20
|
+
readonly color: {
|
|
21
|
+
readonly dark: "ring-gray-800 dark:ring-gray-800";
|
|
22
|
+
readonly failure: "ring-red-500 dark:ring-red-700";
|
|
23
|
+
readonly gray: "ring-gray-500 dark:ring-gray-400";
|
|
24
|
+
readonly info: "ring-primary-400 dark:ring-primary-600";
|
|
25
|
+
readonly light: "ring-gray-300 dark:ring-gray-500";
|
|
26
|
+
readonly purple: "ring-purple-500 dark:ring-purple-600";
|
|
27
|
+
readonly success: "ring-green-500 dark:ring-green-600";
|
|
28
|
+
readonly warning: "ring-amber-400 dark:ring-amber-600";
|
|
29
|
+
readonly pink: "ring-pink-500 dark:ring-pink-800";
|
|
30
|
+
};
|
|
31
|
+
readonly img: {
|
|
32
|
+
readonly base: "rounded-full";
|
|
33
|
+
readonly off: "from-primary-100 to-secondary-100 dark:from-primary-900 dark:to-secondary-900 relative overflow-hidden bg-linear-to-br";
|
|
34
|
+
readonly on: "";
|
|
35
|
+
readonly placeholder: "text-primary-400 dark:text-primary-600 absolute -bottom-1 h-auto w-auto";
|
|
36
|
+
};
|
|
37
|
+
readonly size: {
|
|
38
|
+
readonly xs: "h-6 w-6";
|
|
39
|
+
readonly sm: "h-8 w-8";
|
|
40
|
+
readonly md: "h-10 w-10";
|
|
41
|
+
readonly lg: "h-20 w-20";
|
|
42
|
+
readonly xl: "h-36 w-36";
|
|
43
|
+
};
|
|
44
|
+
readonly stacked: "ring-2 ring-white dark:ring-gray-900";
|
|
45
|
+
readonly statusPosition: {
|
|
46
|
+
readonly 'bottom-left': "-bottom-1 -left-1";
|
|
47
|
+
readonly 'bottom-center': "-bottom-1";
|
|
48
|
+
readonly 'bottom-right': "-right-1 -bottom-1";
|
|
49
|
+
readonly 'top-left': "-top-1 -left-1";
|
|
50
|
+
readonly 'top-center': "-top-1";
|
|
51
|
+
readonly 'top-right': "-top-1 -right-1";
|
|
52
|
+
readonly 'center-right': "-right-1";
|
|
53
|
+
readonly center: "";
|
|
54
|
+
readonly 'center-left': "-left-1";
|
|
55
|
+
};
|
|
56
|
+
readonly status: {
|
|
57
|
+
readonly away: "bg-amber-400";
|
|
58
|
+
readonly base: "absolute h-3.5 w-3.5 rounded-full border-2 border-white dark:border-gray-900";
|
|
59
|
+
readonly busy: "bg-red-400";
|
|
60
|
+
readonly offline: "bg-zinc-400";
|
|
61
|
+
readonly online: "bg-green-400";
|
|
62
|
+
};
|
|
63
|
+
readonly initials: {
|
|
64
|
+
readonly text: "text-primary-700 dark:text-primary-300 font-medium";
|
|
65
|
+
readonly base: "from-primary-100 to-secondary-100 dark:from-primary-900 dark:to-secondary-900 relative inline-flex items-center justify-center overflow-hidden rounded-full bg-linear-to-br";
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
readonly group: {
|
|
69
|
+
readonly base: "flex -space-x-4";
|
|
70
|
+
};
|
|
71
|
+
readonly groupCounter: {
|
|
72
|
+
readonly base: "bg-primary-700 hover:bg-primary-600 dark:bg-primary-600 dark:hover:bg-primary-700 relative flex h-10 w-10 items-center justify-center rounded-full text-xs font-medium text-white ring-2 ring-white dark:ring-gray-900";
|
|
73
73
|
};
|
|
74
74
|
};
|
|
75
|
-
badge: {
|
|
76
|
-
root: {
|
|
77
|
-
base:
|
|
78
|
-
color: {
|
|
79
|
-
primary:
|
|
80
|
-
secondary:
|
|
81
|
-
accent:
|
|
82
|
-
failure:
|
|
83
|
-
success:
|
|
84
|
-
warning:
|
|
85
|
-
info:
|
|
86
|
-
};
|
|
87
|
-
size: {
|
|
88
|
-
xs:
|
|
89
|
-
sm:
|
|
90
|
-
};
|
|
91
|
-
};
|
|
92
|
-
icon: {
|
|
93
|
-
off:
|
|
94
|
-
on:
|
|
95
|
-
size: {
|
|
96
|
-
xs:
|
|
97
|
-
sm:
|
|
75
|
+
readonly badge: {
|
|
76
|
+
readonly root: {
|
|
77
|
+
readonly base: "flex h-fit items-center gap-1 font-semibold backdrop-blur-sm";
|
|
78
|
+
readonly color: {
|
|
79
|
+
readonly primary: "bg-primary-100 text-primary-800 dark:bg-primary-900/30 dark:text-primary-300";
|
|
80
|
+
readonly secondary: "bg-secondary-100 text-secondary-800 dark:bg-secondary-900/30 dark:text-secondary-300";
|
|
81
|
+
readonly accent: "bg-accent-100 text-accent-800 dark:bg-accent-900/30 dark:text-accent-300";
|
|
82
|
+
readonly failure: "bg-red-100 text-red-800 dark:bg-red-900/30 dark:text-red-300";
|
|
83
|
+
readonly success: "bg-green-100 text-green-800 dark:bg-green-900/30 dark:text-green-300";
|
|
84
|
+
readonly warning: "bg-amber-100 text-amber-800 dark:bg-amber-900/30 dark:text-amber-300";
|
|
85
|
+
readonly info: "bg-primary-100 text-primary-800 dark:bg-primary-900/30 dark:text-primary-300";
|
|
86
|
+
};
|
|
87
|
+
readonly size: {
|
|
88
|
+
readonly xs: "p-1 text-xs";
|
|
89
|
+
readonly sm: "p-1.5 text-sm";
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
readonly icon: {
|
|
93
|
+
readonly off: "rounded-sm px-2 py-0.5";
|
|
94
|
+
readonly on: "rounded-full p-1.5";
|
|
95
|
+
readonly size: {
|
|
96
|
+
readonly xs: "h-3 w-3";
|
|
97
|
+
readonly sm: "h-3.5 w-3.5";
|
|
98
98
|
};
|
|
99
99
|
};
|
|
100
100
|
};
|
|
101
|
-
breadcrumb: {
|
|
102
|
-
root: {
|
|
103
|
-
base:
|
|
104
|
-
list:
|
|
101
|
+
readonly breadcrumb: {
|
|
102
|
+
readonly root: {
|
|
103
|
+
readonly base: "";
|
|
104
|
+
readonly list: "flex items-center";
|
|
105
105
|
};
|
|
106
|
-
item: {
|
|
107
|
-
base:
|
|
108
|
-
chevron:
|
|
109
|
-
href: {
|
|
110
|
-
off:
|
|
111
|
-
on:
|
|
106
|
+
readonly item: {
|
|
107
|
+
readonly base: "group flex items-center";
|
|
108
|
+
readonly chevron: "mx-1 h-4 w-4 text-gray-400 group-first:hidden md:mx-2";
|
|
109
|
+
readonly href: {
|
|
110
|
+
readonly off: "flex items-center text-sm font-medium text-gray-500 dark:text-gray-400";
|
|
111
|
+
readonly on: "text-primary-700 hover:text-primary-900 dark:text-primary-400 dark:hover:text-primary-300 flex items-center text-sm font-medium";
|
|
112
112
|
};
|
|
113
|
-
icon:
|
|
113
|
+
readonly icon: "mr-2 h-4 w-4";
|
|
114
114
|
};
|
|
115
115
|
};
|
|
116
|
-
button: {
|
|
117
|
-
base:
|
|
118
|
-
fullSized:
|
|
119
|
-
color: {
|
|
120
|
-
primary:
|
|
121
|
-
secondary:
|
|
122
|
-
accent:
|
|
123
|
-
gray:
|
|
124
|
-
light:
|
|
125
|
-
dark:
|
|
126
|
-
failure:
|
|
127
|
-
success:
|
|
128
|
-
warning:
|
|
129
|
-
};
|
|
130
|
-
outlineColor: {
|
|
131
|
-
primary:
|
|
132
|
-
secondary:
|
|
133
|
-
accent:
|
|
134
|
-
gray:
|
|
135
|
-
light:
|
|
136
|
-
dark:
|
|
137
|
-
failure:
|
|
138
|
-
success:
|
|
139
|
-
warning:
|
|
140
|
-
};
|
|
141
|
-
pill:
|
|
142
|
-
size: {
|
|
143
|
-
xs:
|
|
144
|
-
sm:
|
|
145
|
-
md:
|
|
146
|
-
lg:
|
|
147
|
-
xl:
|
|
116
|
+
readonly button: {
|
|
117
|
+
readonly base: "group flex items-center justify-center p-0.5 text-center font-medium transition-all duration-200 focus:z-10 focus:ring-4";
|
|
118
|
+
readonly fullSized: "w-full";
|
|
119
|
+
readonly color: {
|
|
120
|
+
readonly primary: "bg-primary-700 hover:bg-primary-800 focus:ring-primary-300 dark:bg-primary-600 dark:hover:bg-primary-700 dark:focus:ring-primary-800 text-white";
|
|
121
|
+
readonly secondary: "bg-secondary-700 hover:bg-secondary-800 focus:ring-secondary-300 dark:bg-secondary-600 dark:hover:bg-secondary-700 dark:focus:ring-secondary-800 text-white";
|
|
122
|
+
readonly accent: "bg-accent-700 hover:bg-accent-800 focus:ring-accent-300 dark:bg-accent-600 dark:hover:bg-accent-700 dark:focus:ring-accent-800 text-white";
|
|
123
|
+
readonly gray: "bg-zinc-700 text-white hover:bg-zinc-800 focus:ring-gray-300 dark:bg-zinc-600 dark:hover:bg-zinc-700 dark:focus:ring-gray-800";
|
|
124
|
+
readonly light: "bg-zinc-50 text-gray-900 hover:bg-zinc-100 focus:ring-gray-300 dark:bg-zinc-800 dark:text-white dark:hover:bg-zinc-700 dark:focus:ring-gray-800";
|
|
125
|
+
readonly dark: "bg-zinc-900 text-white hover:bg-zinc-950 focus:ring-gray-300 dark:bg-zinc-800 dark:hover:bg-zinc-900 dark:focus:ring-gray-800";
|
|
126
|
+
readonly failure: "bg-red-700 text-white hover:bg-red-800 focus:ring-red-300 dark:bg-red-600 dark:hover:bg-red-700 dark:focus:ring-red-800";
|
|
127
|
+
readonly success: "bg-green-700 text-white hover:bg-green-800 focus:ring-green-300 dark:bg-green-600 dark:hover:bg-green-700 dark:focus:ring-green-800";
|
|
128
|
+
readonly warning: "bg-amber-700 text-white hover:bg-amber-800 focus:ring-amber-300 dark:bg-amber-600 dark:hover:bg-amber-700 dark:focus:ring-amber-800";
|
|
129
|
+
};
|
|
130
|
+
readonly outlineColor: {
|
|
131
|
+
readonly primary: "border-primary-500 text-primary-500 hover:bg-primary-500 focus:ring-primary-300 dark:border-primary-500 dark:text-primary-500 dark:hover:bg-primary-500 dark:focus:ring-primary-800 hover:text-white dark:hover:text-white";
|
|
132
|
+
readonly secondary: "border-secondary-500 text-secondary-500 hover:bg-secondary-500 focus:ring-secondary-300 dark:border-secondary-500 dark:text-secondary-500 dark:hover:bg-secondary-500 dark:focus:ring-secondary-800 hover:text-white dark:hover:text-white";
|
|
133
|
+
readonly accent: "border-accent-500 text-accent-500 hover:bg-accent-500 focus:ring-accent-300 dark:border-accent-500 dark:text-accent-500 dark:hover:bg-accent-500 dark:focus:ring-accent-800 hover:text-white dark:hover:text-white";
|
|
134
|
+
readonly gray: "border-gray-500 text-gray-500 hover:bg-zinc-500 hover:text-white focus:ring-gray-300 dark:border-gray-500 dark:text-gray-500 dark:hover:bg-zinc-500 dark:hover:text-white dark:focus:ring-gray-800";
|
|
135
|
+
readonly light: "border-gray-200 text-gray-900 hover:bg-zinc-100 focus:ring-gray-300 dark:border-gray-600 dark:text-white dark:hover:bg-zinc-700 dark:focus:ring-gray-800";
|
|
136
|
+
readonly dark: "border-gray-900 text-gray-900 hover:bg-zinc-900 hover:text-white focus:ring-gray-300 dark:border-gray-600 dark:text-white dark:hover:bg-zinc-600 dark:hover:text-white dark:focus:ring-gray-800";
|
|
137
|
+
readonly failure: "border-red-500 text-red-500 hover:bg-red-500 hover:text-white focus:ring-red-300 dark:border-red-500 dark:text-red-500 dark:hover:bg-red-500 dark:hover:text-white dark:focus:ring-red-800";
|
|
138
|
+
readonly success: "border-green-500 text-green-500 hover:bg-green-500 hover:text-white focus:ring-green-300 dark:border-green-500 dark:text-green-500 dark:hover:bg-green-500 dark:hover:text-white dark:focus:ring-green-800";
|
|
139
|
+
readonly warning: "border-amber-500 text-amber-500 hover:bg-amber-500 hover:text-white focus:ring-amber-300 dark:border-amber-500 dark:text-amber-500 dark:hover:bg-amber-500 dark:hover:text-white dark:focus:ring-amber-800";
|
|
140
|
+
};
|
|
141
|
+
readonly pill: "rounded-full";
|
|
142
|
+
readonly size: {
|
|
143
|
+
readonly xs: "px-2 py-1 text-xs";
|
|
144
|
+
readonly sm: "px-3 py-1.5 text-sm";
|
|
145
|
+
readonly md: "px-4 py-2 text-sm";
|
|
146
|
+
readonly lg: "px-5 py-2.5 text-base";
|
|
147
|
+
readonly xl: "px-6 py-3 text-base";
|
|
148
148
|
};
|
|
149
149
|
};
|
|
150
|
-
card: {
|
|
151
|
-
root: {
|
|
152
|
-
base:
|
|
153
|
-
children:
|
|
154
|
-
horizontal: {
|
|
155
|
-
off:
|
|
156
|
-
on:
|
|
150
|
+
readonly card: {
|
|
151
|
+
readonly root: {
|
|
152
|
+
readonly base: "flex rounded-lg border border-gray-200 bg-white/80 shadow-lg backdrop-blur-sm transition-shadow duration-300 hover:shadow-xl dark:border-gray-700 dark:bg-zinc-950";
|
|
153
|
+
readonly children: "flex h-full flex-col justify-center gap-4 p-6";
|
|
154
|
+
readonly horizontal: {
|
|
155
|
+
readonly off: "flex-col";
|
|
156
|
+
readonly on: "flex-col md:max-w-xl md:flex-row";
|
|
157
157
|
};
|
|
158
|
-
href:
|
|
158
|
+
readonly href: "hover:bg-zinc-50 dark:hover:bg-zinc-800";
|
|
159
159
|
};
|
|
160
160
|
};
|
|
161
|
-
checkbox: {
|
|
162
|
-
base:
|
|
163
|
-
color: {
|
|
164
|
-
default:
|
|
165
|
-
dark:
|
|
166
|
-
failure:
|
|
167
|
-
gray:
|
|
168
|
-
info:
|
|
169
|
-
light:
|
|
170
|
-
purple:
|
|
171
|
-
success:
|
|
172
|
-
warning:
|
|
173
|
-
blue:
|
|
174
|
-
cyan:
|
|
175
|
-
green:
|
|
176
|
-
indigo:
|
|
177
|
-
lime:
|
|
178
|
-
pink:
|
|
179
|
-
red:
|
|
180
|
-
teal:
|
|
181
|
-
yellow:
|
|
161
|
+
readonly checkbox: {
|
|
162
|
+
readonly base: "focus:ring-primary-500 dark:focus:ring-primary-600 h-4 w-4 rounded-sm border-gray-300 bg-zinc-100 focus:ring-2 dark:border-gray-600 dark:bg-zinc-700 dark:ring-offset-gray-800";
|
|
163
|
+
readonly color: {
|
|
164
|
+
readonly default: "text-primary-600";
|
|
165
|
+
readonly dark: "text-gray-600";
|
|
166
|
+
readonly failure: "text-red-600";
|
|
167
|
+
readonly gray: "text-gray-600";
|
|
168
|
+
readonly info: "text-blue-600";
|
|
169
|
+
readonly light: "text-gray-600";
|
|
170
|
+
readonly purple: "text-purple-600";
|
|
171
|
+
readonly success: "text-green-600";
|
|
172
|
+
readonly warning: "text-amber-600";
|
|
173
|
+
readonly blue: "text-blue-600";
|
|
174
|
+
readonly cyan: "text-cyan-600";
|
|
175
|
+
readonly green: "text-green-600";
|
|
176
|
+
readonly indigo: "text-indigo-600";
|
|
177
|
+
readonly lime: "text-lime-600";
|
|
178
|
+
readonly pink: "text-pink-600";
|
|
179
|
+
readonly red: "text-red-600";
|
|
180
|
+
readonly teal: "text-teal-600";
|
|
181
|
+
readonly yellow: "text-yellow-600";
|
|
182
182
|
};
|
|
183
183
|
};
|
|
184
|
-
drawer: {
|
|
185
|
-
root: {
|
|
186
|
-
base:
|
|
187
|
-
backdrop:
|
|
188
|
-
edge:
|
|
189
|
-
position: {
|
|
190
|
-
top: {
|
|
191
|
-
on:
|
|
192
|
-
off:
|
|
184
|
+
readonly drawer: {
|
|
185
|
+
readonly root: {
|
|
186
|
+
readonly base: "fixed z-40 overflow-y-auto bg-white p-4 transition-transform dark:bg-zinc-900";
|
|
187
|
+
readonly backdrop: "fixed inset-0 z-30 bg-zinc-900/50 backdrop-blur-sm dark:bg-zinc-900/80";
|
|
188
|
+
readonly edge: "bottom-16";
|
|
189
|
+
readonly position: {
|
|
190
|
+
readonly top: {
|
|
191
|
+
readonly on: "top-0 right-0 left-0 w-full transform-none";
|
|
192
|
+
readonly off: "top-0 right-0 left-0 w-full -translate-y-full";
|
|
193
193
|
};
|
|
194
|
-
right: {
|
|
195
|
-
on:
|
|
196
|
-
off:
|
|
194
|
+
readonly right: {
|
|
195
|
+
readonly on: "top-0 right-0 h-screen w-80 transform-none";
|
|
196
|
+
readonly off: "top-0 right-0 h-screen w-80 translate-x-full";
|
|
197
197
|
};
|
|
198
|
-
bottom: {
|
|
199
|
-
on:
|
|
200
|
-
off:
|
|
198
|
+
readonly bottom: {
|
|
199
|
+
readonly on: "right-0 bottom-0 left-0 w-full transform-none";
|
|
200
|
+
readonly off: "right-0 bottom-0 left-0 w-full translate-y-full";
|
|
201
201
|
};
|
|
202
|
-
left: {
|
|
203
|
-
on:
|
|
204
|
-
off:
|
|
202
|
+
readonly left: {
|
|
203
|
+
readonly on: "top-0 left-0 h-screen w-80 transform-none";
|
|
204
|
+
readonly off: "top-0 left-0 h-screen w-80 -translate-x-full";
|
|
205
205
|
};
|
|
206
206
|
};
|
|
207
207
|
};
|
|
208
|
-
header: {
|
|
209
|
-
inner: {
|
|
210
|
-
closeButton:
|
|
211
|
-
closeIcon:
|
|
212
|
-
titleIcon:
|
|
213
|
-
titleText:
|
|
208
|
+
readonly header: {
|
|
209
|
+
readonly inner: {
|
|
210
|
+
readonly closeButton: "absolute end-2.5 top-2.5 flex h-8 w-8 items-center justify-center rounded-lg bg-transparent text-sm text-gray-400 hover:bg-zinc-200 hover:text-gray-900 dark:hover:bg-zinc-800 dark:hover:text-white";
|
|
211
|
+
readonly closeIcon: "h-4 w-4";
|
|
212
|
+
readonly titleIcon: "text-primary-600 dark:text-primary-400 me-2.5 h-5 w-5";
|
|
213
|
+
readonly titleText: "mb-4 inline-flex items-center text-base font-semibold text-gray-900 dark:text-white";
|
|
214
214
|
};
|
|
215
|
-
collapsed: {
|
|
216
|
-
on:
|
|
217
|
-
off:
|
|
215
|
+
readonly collapsed: {
|
|
216
|
+
readonly on: "hidden";
|
|
217
|
+
readonly off: "block";
|
|
218
218
|
};
|
|
219
219
|
};
|
|
220
|
-
items: {
|
|
221
|
-
base:
|
|
220
|
+
readonly items: {
|
|
221
|
+
readonly base: "";
|
|
222
222
|
};
|
|
223
223
|
};
|
|
224
|
-
dropdown: {
|
|
225
|
-
floating: {
|
|
226
|
-
arrow: {
|
|
227
|
-
base:
|
|
228
|
-
style: {
|
|
229
|
-
dark:
|
|
230
|
-
light:
|
|
231
|
-
auto:
|
|
224
|
+
readonly dropdown: {
|
|
225
|
+
readonly floating: {
|
|
226
|
+
readonly arrow: {
|
|
227
|
+
readonly base: "absolute z-10 h-2 w-2 rotate-45";
|
|
228
|
+
readonly style: {
|
|
229
|
+
readonly dark: "bg-zinc-900 dark:bg-zinc-700";
|
|
230
|
+
readonly light: "bg-white";
|
|
231
|
+
readonly auto: "bg-white dark:bg-zinc-700";
|
|
232
232
|
};
|
|
233
|
-
placement:
|
|
234
|
-
};
|
|
235
|
-
animation:
|
|
236
|
-
base:
|
|
237
|
-
content:
|
|
238
|
-
divider:
|
|
239
|
-
header:
|
|
240
|
-
hidden:
|
|
241
|
-
item: {
|
|
242
|
-
container:
|
|
243
|
-
base:
|
|
244
|
-
icon:
|
|
245
|
-
};
|
|
246
|
-
style: {
|
|
247
|
-
dark:
|
|
248
|
-
light:
|
|
249
|
-
auto:
|
|
250
|
-
};
|
|
251
|
-
target:
|
|
252
|
-
};
|
|
253
|
-
content:
|
|
254
|
-
inlineWrapper:
|
|
233
|
+
readonly placement: "-m-1";
|
|
234
|
+
};
|
|
235
|
+
readonly animation: "transition-opacity";
|
|
236
|
+
readonly base: "z-10 w-fit divide-y divide-gray-100 rounded-xl shadow-lg focus:outline-hidden";
|
|
237
|
+
readonly content: "py-1 text-sm text-gray-700 dark:text-gray-200";
|
|
238
|
+
readonly divider: "my-1 h-px bg-zinc-100 dark:bg-zinc-600";
|
|
239
|
+
readonly header: "block px-4 py-2 text-sm text-gray-700 dark:text-gray-200";
|
|
240
|
+
readonly hidden: "invisible opacity-0";
|
|
241
|
+
readonly item: {
|
|
242
|
+
readonly container: "";
|
|
243
|
+
readonly base: "flex cursor-pointer items-center justify-start px-4 py-2 text-sm text-gray-700 hover:bg-zinc-100 dark:text-gray-200 dark:hover:bg-zinc-600";
|
|
244
|
+
readonly icon: "mr-2 h-4 w-4";
|
|
245
|
+
};
|
|
246
|
+
readonly style: {
|
|
247
|
+
readonly dark: "bg-zinc-900 text-white dark:bg-zinc-700";
|
|
248
|
+
readonly light: "border border-gray-200 bg-white text-gray-900";
|
|
249
|
+
readonly auto: "border border-gray-200 bg-white text-gray-900 dark:border-none dark:bg-zinc-700 dark:text-white";
|
|
250
|
+
};
|
|
251
|
+
readonly target: "w-fit";
|
|
252
|
+
};
|
|
253
|
+
readonly content: "py-1";
|
|
254
|
+
readonly inlineWrapper: "flex items-center";
|
|
255
255
|
};
|
|
256
|
-
label: {
|
|
257
|
-
root: {
|
|
258
|
-
base:
|
|
259
|
-
disabled:
|
|
260
|
-
colors: {
|
|
261
|
-
default:
|
|
262
|
-
info:
|
|
263
|
-
failure:
|
|
264
|
-
warning:
|
|
265
|
-
success:
|
|
256
|
+
readonly label: {
|
|
257
|
+
readonly root: {
|
|
258
|
+
readonly base: "text-sm font-medium";
|
|
259
|
+
readonly disabled: "opacity-50";
|
|
260
|
+
readonly colors: {
|
|
261
|
+
readonly default: "text-gray-900 dark:text-white";
|
|
262
|
+
readonly info: "text-primary-500 dark:text-primary-400";
|
|
263
|
+
readonly failure: "text-red-700 dark:text-red-500";
|
|
264
|
+
readonly warning: "text-amber-500 dark:text-amber-400";
|
|
265
|
+
readonly success: "text-green-600 dark:text-green-400";
|
|
266
266
|
};
|
|
267
267
|
};
|
|
268
268
|
};
|
|
269
|
-
modal: {
|
|
270
|
-
root: {
|
|
271
|
-
base:
|
|
272
|
-
show: {
|
|
273
|
-
on:
|
|
274
|
-
off:
|
|
275
|
-
};
|
|
276
|
-
sizes: {
|
|
277
|
-
sm:
|
|
278
|
-
md:
|
|
279
|
-
lg:
|
|
280
|
-
xl:
|
|
281
|
-
'2xl':
|
|
282
|
-
'3xl':
|
|
283
|
-
'4xl':
|
|
284
|
-
'5xl':
|
|
285
|
-
'6xl':
|
|
286
|
-
'7xl':
|
|
287
|
-
};
|
|
288
|
-
positions: {
|
|
289
|
-
'top-left':
|
|
290
|
-
'top-center':
|
|
291
|
-
'top-right':
|
|
292
|
-
'center-left':
|
|
293
|
-
center:
|
|
294
|
-
'center-right':
|
|
295
|
-
'bottom-right':
|
|
296
|
-
'bottom-center':
|
|
297
|
-
'bottom-left':
|
|
298
|
-
};
|
|
299
|
-
};
|
|
300
|
-
content: {
|
|
301
|
-
base:
|
|
302
|
-
inner:
|
|
303
|
-
};
|
|
304
|
-
body: {
|
|
305
|
-
base:
|
|
306
|
-
popup:
|
|
307
|
-
};
|
|
308
|
-
header: {
|
|
309
|
-
base:
|
|
310
|
-
popup:
|
|
311
|
-
title:
|
|
312
|
-
close: {
|
|
313
|
-
base:
|
|
314
|
-
icon:
|
|
315
|
-
};
|
|
316
|
-
};
|
|
317
|
-
footer: {
|
|
318
|
-
base:
|
|
319
|
-
popup:
|
|
269
|
+
readonly modal: {
|
|
270
|
+
readonly root: {
|
|
271
|
+
readonly base: "fixed top-0 right-0 left-0 z-50 h-screen overflow-x-hidden overflow-y-auto md:inset-0 md:h-full";
|
|
272
|
+
readonly show: {
|
|
273
|
+
readonly on: "flex bg-zinc-900/50 backdrop-blur-sm dark:bg-zinc-900/80";
|
|
274
|
+
readonly off: "hidden";
|
|
275
|
+
};
|
|
276
|
+
readonly sizes: {
|
|
277
|
+
readonly sm: "max-w-sm";
|
|
278
|
+
readonly md: "max-w-md";
|
|
279
|
+
readonly lg: "max-w-lg";
|
|
280
|
+
readonly xl: "max-w-xl";
|
|
281
|
+
readonly '2xl': "max-w-2xl";
|
|
282
|
+
readonly '3xl': "max-w-3xl";
|
|
283
|
+
readonly '4xl': "max-w-4xl";
|
|
284
|
+
readonly '5xl': "max-w-5xl";
|
|
285
|
+
readonly '6xl': "max-w-6xl";
|
|
286
|
+
readonly '7xl': "max-w-7xl";
|
|
287
|
+
};
|
|
288
|
+
readonly positions: {
|
|
289
|
+
readonly 'top-left': "items-start justify-start";
|
|
290
|
+
readonly 'top-center': "items-start justify-center";
|
|
291
|
+
readonly 'top-right': "items-start justify-end";
|
|
292
|
+
readonly 'center-left': "items-center justify-start";
|
|
293
|
+
readonly center: "items-center justify-center";
|
|
294
|
+
readonly 'center-right': "items-center justify-end";
|
|
295
|
+
readonly 'bottom-right': "items-end justify-end";
|
|
296
|
+
readonly 'bottom-center': "items-end justify-center";
|
|
297
|
+
readonly 'bottom-left': "items-end justify-start";
|
|
298
|
+
};
|
|
299
|
+
};
|
|
300
|
+
readonly content: {
|
|
301
|
+
readonly base: "relative h-full w-full p-4 md:h-auto";
|
|
302
|
+
readonly inner: "relative flex max-h-[90vh] flex-col rounded-2xl bg-white shadow-2xl dark:bg-zinc-800";
|
|
303
|
+
};
|
|
304
|
+
readonly body: {
|
|
305
|
+
readonly base: "flex-1 overflow-auto p-6";
|
|
306
|
+
readonly popup: "pt-0";
|
|
307
|
+
};
|
|
308
|
+
readonly header: {
|
|
309
|
+
readonly base: "flex items-start justify-between rounded-t-2xl p-5 dark:border-gray-700";
|
|
310
|
+
readonly popup: "border-b-0 p-2";
|
|
311
|
+
readonly title: "text-xl font-semibold text-gray-900 dark:text-white";
|
|
312
|
+
readonly close: {
|
|
313
|
+
readonly base: "ml-auto inline-flex items-center rounded-lg bg-transparent p-1.5 text-sm text-gray-400 hover:bg-zinc-200 hover:text-gray-900 dark:hover:bg-zinc-700 dark:hover:text-white";
|
|
314
|
+
readonly icon: "h-5 w-5";
|
|
315
|
+
};
|
|
316
|
+
};
|
|
317
|
+
readonly footer: {
|
|
318
|
+
readonly base: "flex items-center space-x-2 rounded-b-2xl p-6 dark:border-gray-700";
|
|
319
|
+
readonly popup: "border-t";
|
|
320
320
|
};
|
|
321
321
|
};
|
|
322
|
-
navbar: {
|
|
323
|
-
root: {
|
|
324
|
-
base:
|
|
325
|
-
rounded: {
|
|
326
|
-
on:
|
|
327
|
-
off:
|
|
328
|
-
};
|
|
329
|
-
bordered: {
|
|
330
|
-
on:
|
|
331
|
-
off:
|
|
332
|
-
};
|
|
333
|
-
inner: {
|
|
334
|
-
base:
|
|
335
|
-
fluid: {
|
|
336
|
-
on:
|
|
337
|
-
off:
|
|
322
|
+
readonly navbar: {
|
|
323
|
+
readonly root: {
|
|
324
|
+
readonly base: "border-gray-200 bg-white/90 px-2 py-2.5 backdrop-blur-md sm:px-4 dark:border-gray-700 dark:bg-zinc-900/90";
|
|
325
|
+
readonly rounded: {
|
|
326
|
+
readonly on: "rounded-sm";
|
|
327
|
+
readonly off: "";
|
|
328
|
+
};
|
|
329
|
+
readonly bordered: {
|
|
330
|
+
readonly on: "border";
|
|
331
|
+
readonly off: "";
|
|
332
|
+
};
|
|
333
|
+
readonly inner: {
|
|
334
|
+
readonly base: "mx-auto flex flex-wrap items-center justify-between";
|
|
335
|
+
readonly fluid: {
|
|
336
|
+
readonly on: "";
|
|
337
|
+
readonly off: "container";
|
|
338
338
|
};
|
|
339
339
|
};
|
|
340
340
|
};
|
|
341
|
-
brand: {
|
|
342
|
-
base:
|
|
341
|
+
readonly brand: {
|
|
342
|
+
readonly base: "flex items-center";
|
|
343
343
|
};
|
|
344
|
-
collapse: {
|
|
345
|
-
base:
|
|
346
|
-
list:
|
|
347
|
-
hidden: {
|
|
348
|
-
on:
|
|
349
|
-
off:
|
|
344
|
+
readonly collapse: {
|
|
345
|
+
readonly base: "w-full md:block md:w-auto";
|
|
346
|
+
readonly list: "mt-4 flex flex-col md:mt-0 md:flex-row md:space-x-8 md:text-sm md:font-medium";
|
|
347
|
+
readonly hidden: {
|
|
348
|
+
readonly on: "hidden";
|
|
349
|
+
readonly off: "";
|
|
350
350
|
};
|
|
351
351
|
};
|
|
352
|
-
link: {
|
|
353
|
-
base:
|
|
354
|
-
active: {
|
|
355
|
-
on:
|
|
356
|
-
off:
|
|
352
|
+
readonly link: {
|
|
353
|
+
readonly base: "block py-2 pr-4 pl-3 md:p-0";
|
|
354
|
+
readonly active: {
|
|
355
|
+
readonly on: "bg-primary-700 md:text-primary-700 text-white md:bg-transparent dark:text-white";
|
|
356
|
+
readonly off: "md:hover:text-primary-700 border-b border-gray-100 text-gray-700 hover:bg-zinc-50 md:border-0 md:hover:bg-transparent dark:border-gray-700 dark:text-gray-400 dark:hover:bg-zinc-700 dark:hover:text-white md:dark:hover:bg-transparent md:dark:hover:text-white";
|
|
357
357
|
};
|
|
358
|
-
disabled: {
|
|
359
|
-
on:
|
|
360
|
-
off:
|
|
358
|
+
readonly disabled: {
|
|
359
|
+
readonly on: "text-gray-400 hover:cursor-not-allowed dark:text-gray-600";
|
|
360
|
+
readonly off: "";
|
|
361
361
|
};
|
|
362
362
|
};
|
|
363
|
-
toggle: {
|
|
364
|
-
base:
|
|
365
|
-
icon:
|
|
363
|
+
readonly toggle: {
|
|
364
|
+
readonly base: "inline-flex items-center rounded-lg p-2 text-sm text-gray-500 hover:bg-zinc-100 focus:ring-2 focus:ring-gray-200 focus:outline-hidden md:hidden dark:text-gray-400 dark:hover:bg-zinc-700 dark:focus:ring-gray-600";
|
|
365
|
+
readonly icon: "h-6 w-6 shrink-0";
|
|
366
366
|
};
|
|
367
367
|
};
|
|
368
|
-
progress: {
|
|
369
|
-
base:
|
|
370
|
-
label:
|
|
371
|
-
bar:
|
|
372
|
-
color: {
|
|
373
|
-
dark:
|
|
374
|
-
blue:
|
|
375
|
-
red:
|
|
376
|
-
green:
|
|
377
|
-
yellow:
|
|
378
|
-
indigo:
|
|
379
|
-
purple:
|
|
380
|
-
cyan:
|
|
381
|
-
gray:
|
|
382
|
-
lime:
|
|
383
|
-
pink:
|
|
384
|
-
teal:
|
|
385
|
-
};
|
|
386
|
-
size: {
|
|
387
|
-
sm:
|
|
388
|
-
md:
|
|
389
|
-
lg:
|
|
390
|
-
xl:
|
|
368
|
+
readonly progress: {
|
|
369
|
+
readonly base: "w-full overflow-hidden rounded-full bg-zinc-200 dark:bg-zinc-700";
|
|
370
|
+
readonly label: "mb-1 flex justify-between font-medium dark:text-white";
|
|
371
|
+
readonly bar: "text-primary-100 dark:text-primary-100 rounded-full text-center text-xs leading-none font-medium whitespace-nowrap";
|
|
372
|
+
readonly color: {
|
|
373
|
+
readonly dark: "bg-zinc-600 dark:bg-zinc-300";
|
|
374
|
+
readonly blue: "bg-primary-600";
|
|
375
|
+
readonly red: "bg-red-600 dark:bg-red-500";
|
|
376
|
+
readonly green: "bg-green-600 dark:bg-green-500";
|
|
377
|
+
readonly yellow: "bg-amber-400 dark:bg-amber-500";
|
|
378
|
+
readonly indigo: "bg-indigo-600 dark:bg-indigo-500";
|
|
379
|
+
readonly purple: "bg-purple-600 dark:bg-purple-500";
|
|
380
|
+
readonly cyan: "bg-cyan-600";
|
|
381
|
+
readonly gray: "bg-zinc-500";
|
|
382
|
+
readonly lime: "bg-lime-600";
|
|
383
|
+
readonly pink: "bg-pink-500";
|
|
384
|
+
readonly teal: "bg-teal-600";
|
|
385
|
+
};
|
|
386
|
+
readonly size: {
|
|
387
|
+
readonly sm: "h-1.5";
|
|
388
|
+
readonly md: "h-2.5";
|
|
389
|
+
readonly lg: "h-4";
|
|
390
|
+
readonly xl: "h-6";
|
|
391
391
|
};
|
|
392
392
|
};
|
|
393
|
-
select: {
|
|
394
|
-
base:
|
|
395
|
-
addon:
|
|
396
|
-
field: {
|
|
397
|
-
base:
|
|
398
|
-
icon: {
|
|
399
|
-
base:
|
|
400
|
-
svg:
|
|
401
|
-
};
|
|
402
|
-
select: {
|
|
403
|
-
base:
|
|
404
|
-
withIcon: {
|
|
405
|
-
on:
|
|
406
|
-
off:
|
|
393
|
+
readonly select: {
|
|
394
|
+
readonly base: "flex";
|
|
395
|
+
readonly addon: "inline-flex items-center rounded-l-md border border-r-0 border-gray-300 bg-zinc-50 px-3 text-sm text-gray-500 dark:border-gray-600 dark:bg-zinc-700";
|
|
396
|
+
readonly field: {
|
|
397
|
+
readonly base: "relative w-full";
|
|
398
|
+
readonly icon: {
|
|
399
|
+
readonly base: "pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3";
|
|
400
|
+
readonly svg: "h-5 w-5 text-gray-500 dark:text-gray-400";
|
|
401
|
+
};
|
|
402
|
+
readonly select: {
|
|
403
|
+
readonly base: "block w-full border disabled:cursor-not-allowed disabled:opacity-50";
|
|
404
|
+
readonly withIcon: {
|
|
405
|
+
readonly on: "pl-10";
|
|
406
|
+
readonly off: "";
|
|
407
407
|
};
|
|
408
|
-
withAddon: {
|
|
409
|
-
on:
|
|
410
|
-
off:
|
|
408
|
+
readonly withAddon: {
|
|
409
|
+
readonly on: "rounded-r-lg";
|
|
410
|
+
readonly off: "rounded-lg";
|
|
411
411
|
};
|
|
412
|
-
withShadow: {
|
|
413
|
-
on:
|
|
414
|
-
off:
|
|
412
|
+
readonly withShadow: {
|
|
413
|
+
readonly on: "shadow-xs";
|
|
414
|
+
readonly off: "";
|
|
415
415
|
};
|
|
416
|
-
sizes: {
|
|
417
|
-
sm:
|
|
418
|
-
md:
|
|
419
|
-
lg:
|
|
416
|
+
readonly sizes: {
|
|
417
|
+
readonly sm: "p-2 sm:text-xs";
|
|
418
|
+
readonly md: "p-2.5 text-sm";
|
|
419
|
+
readonly lg: "p-4 sm:text-base";
|
|
420
420
|
};
|
|
421
|
-
colors: {
|
|
422
|
-
gray:
|
|
423
|
-
info:
|
|
424
|
-
failure:
|
|
425
|
-
warning:
|
|
426
|
-
success:
|
|
421
|
+
readonly colors: {
|
|
422
|
+
readonly gray: "focus:border-primary-500 focus:ring-primary-500 dark:focus:border-primary-500 dark:focus:ring-primary-500 border-gray-300 bg-zinc-50 text-gray-900 dark:border-gray-600 dark:bg-zinc-700 dark:text-white dark:placeholder-gray-400";
|
|
423
|
+
readonly info: "border-primary-500 bg-primary-50 text-primary-900 placeholder-primary-700 focus:border-primary-500 focus:ring-primary-500 dark:border-primary-400 dark:bg-primary-100 dark:focus:border-primary-500 dark:focus:ring-primary-500";
|
|
424
|
+
readonly failure: "border-red-500 bg-red-50 text-red-900 placeholder-red-700 focus:border-red-500 focus:ring-red-500 dark:border-red-400 dark:bg-red-100 dark:focus:border-red-500 dark:focus:ring-red-500";
|
|
425
|
+
readonly warning: "border-amber-500 bg-amber-50 text-amber-900 placeholder-amber-700 focus:border-amber-500 focus:ring-amber-500 dark:border-amber-400 dark:bg-amber-100 dark:focus:border-amber-500 dark:focus:ring-amber-500";
|
|
426
|
+
readonly success: "border-green-500 bg-green-50 text-green-900 placeholder-green-700 focus:border-green-500 focus:ring-green-500 dark:border-green-400 dark:bg-green-100 dark:focus:border-green-500 dark:focus:ring-green-500";
|
|
427
427
|
};
|
|
428
428
|
};
|
|
429
429
|
};
|
|
430
430
|
};
|
|
431
|
-
sidebar: {
|
|
432
|
-
root: {
|
|
433
|
-
base:
|
|
434
|
-
collapsed: {
|
|
435
|
-
on:
|
|
436
|
-
off:
|
|
437
|
-
};
|
|
438
|
-
inner:
|
|
439
|
-
};
|
|
440
|
-
collapse: {
|
|
441
|
-
button:
|
|
442
|
-
icon: {
|
|
443
|
-
base:
|
|
444
|
-
open: {
|
|
445
|
-
off:
|
|
446
|
-
on:
|
|
431
|
+
readonly sidebar: {
|
|
432
|
+
readonly root: {
|
|
433
|
+
readonly base: "h-full";
|
|
434
|
+
readonly collapsed: {
|
|
435
|
+
readonly on: "w-16";
|
|
436
|
+
readonly off: "w-64";
|
|
437
|
+
};
|
|
438
|
+
readonly inner: "h-full overflow-x-hidden overflow-y-auto rounded-sm bg-white px-3 py-4 dark:bg-zinc-950";
|
|
439
|
+
};
|
|
440
|
+
readonly collapse: {
|
|
441
|
+
readonly button: "group flex items-center rounded-lg p-2 text-base font-normal transition duration-75 group w-full text-gray-900 hover:bg-zinc-100 dark:text-gray-200 dark:hover:bg-zinc-700/50";
|
|
442
|
+
readonly icon: {
|
|
443
|
+
readonly base: "h-6 w-6 text-gray-500 transition duration-75 group-hover:text-gray-900 dark:text-gray-400 dark:group-hover:text-white";
|
|
444
|
+
readonly open: {
|
|
445
|
+
readonly off: "";
|
|
446
|
+
readonly on: "text-gray-900";
|
|
447
447
|
};
|
|
448
448
|
};
|
|
449
|
-
label: {
|
|
450
|
-
base:
|
|
451
|
-
icon: {
|
|
452
|
-
base:
|
|
453
|
-
open: {
|
|
454
|
-
on:
|
|
455
|
-
off:
|
|
449
|
+
readonly label: {
|
|
450
|
+
readonly base: "ml-3 flex-1 text-left whitespace-nowrap";
|
|
451
|
+
readonly icon: {
|
|
452
|
+
readonly base: "h-6 w-6 transition delay-0 ease-in-out";
|
|
453
|
+
readonly open: {
|
|
454
|
+
readonly on: "rotate-180";
|
|
455
|
+
readonly off: "";
|
|
456
456
|
};
|
|
457
457
|
};
|
|
458
458
|
};
|
|
459
|
-
list:
|
|
459
|
+
readonly list: "space-y-2 py-2";
|
|
460
460
|
};
|
|
461
|
-
cta: {
|
|
462
|
-
base:
|
|
463
|
-
color: {
|
|
464
|
-
blue:
|
|
465
|
-
dark:
|
|
466
|
-
failure:
|
|
467
|
-
gray:
|
|
468
|
-
green:
|
|
469
|
-
light:
|
|
470
|
-
red:
|
|
471
|
-
purple:
|
|
472
|
-
success:
|
|
473
|
-
yellow:
|
|
474
|
-
warning:
|
|
461
|
+
readonly cta: {
|
|
462
|
+
readonly base: "mt-6 rounded-lg bg-zinc-100 p-4 dark:bg-zinc-800";
|
|
463
|
+
readonly color: {
|
|
464
|
+
readonly blue: "bg-blue-50 dark:bg-blue-900/20";
|
|
465
|
+
readonly dark: "bg-zinc-50 dark:bg-zinc-900/20";
|
|
466
|
+
readonly failure: "bg-red-50 dark:bg-red-900/20";
|
|
467
|
+
readonly gray: "bg-zinc-50 dark:bg-zinc-900/20";
|
|
468
|
+
readonly green: "bg-green-50 dark:bg-green-900/20";
|
|
469
|
+
readonly light: "bg-zinc-50 dark:bg-zinc-800/20";
|
|
470
|
+
readonly red: "bg-red-50 dark:bg-red-900/20";
|
|
471
|
+
readonly purple: "bg-purple-50 dark:bg-purple-900/20";
|
|
472
|
+
readonly success: "bg-green-50 dark:bg-green-900/20";
|
|
473
|
+
readonly yellow: "bg-yellow-50 dark:bg-yellow-900/20";
|
|
474
|
+
readonly warning: "bg-amber-50 dark:bg-amber-900/20";
|
|
475
475
|
};
|
|
476
476
|
};
|
|
477
|
-
item: {
|
|
478
|
-
base:
|
|
479
|
-
active:
|
|
480
|
-
collapsed: {
|
|
481
|
-
insideCollapse:
|
|
482
|
-
noIcon:
|
|
477
|
+
readonly item: {
|
|
478
|
+
readonly base: "flex items-center justify-center rounded-lg p-2 text-base font-normal text-gray-900 hover:bg-zinc-100 dark:text-gray-200 dark:hover:bg-zinc-700/50";
|
|
479
|
+
readonly active: "bg-zinc-100 dark:bg-zinc-800 dark:hover:bg-zinc-800 dark:hover:text-white";
|
|
480
|
+
readonly collapsed: {
|
|
481
|
+
readonly insideCollapse: "group w-full pl-8 transition duration-75";
|
|
482
|
+
readonly noIcon: "font-bold";
|
|
483
483
|
};
|
|
484
|
-
content: {
|
|
485
|
-
base:
|
|
484
|
+
readonly content: {
|
|
485
|
+
readonly base: "flex-1 px-3 whitespace-nowrap";
|
|
486
486
|
};
|
|
487
|
-
icon: {
|
|
488
|
-
base:
|
|
489
|
-
active:
|
|
487
|
+
readonly icon: {
|
|
488
|
+
readonly base: "h-6 w-6 shrink-0 text-gray-500 transition duration-75 group-hover:text-gray-900 dark:text-gray-400 dark:group-hover:text-white";
|
|
489
|
+
readonly active: "text-gray-700 dark:text-gray-100";
|
|
490
490
|
};
|
|
491
|
-
label:
|
|
492
|
-
listItem:
|
|
491
|
+
readonly label: "";
|
|
492
|
+
readonly listItem: "";
|
|
493
493
|
};
|
|
494
|
-
items: {
|
|
495
|
-
base:
|
|
494
|
+
readonly items: {
|
|
495
|
+
readonly base: "";
|
|
496
496
|
};
|
|
497
|
-
itemGroup: {
|
|
498
|
-
base:
|
|
497
|
+
readonly itemGroup: {
|
|
498
|
+
readonly base: "mt-4 space-y-2 border-t border-gray-200 pt-4 first:mt-0 first:border-t-0 first:pt-0 dark:border-gray-700";
|
|
499
499
|
};
|
|
500
|
-
logo: {
|
|
501
|
-
base:
|
|
502
|
-
collapsed: {
|
|
503
|
-
on:
|
|
504
|
-
off:
|
|
500
|
+
readonly logo: {
|
|
501
|
+
readonly base: "mb-5 flex items-center pl-2.5";
|
|
502
|
+
readonly collapsed: {
|
|
503
|
+
readonly on: "hidden";
|
|
504
|
+
readonly off: "self-center text-xl font-semibold whitespace-nowrap dark:text-white";
|
|
505
505
|
};
|
|
506
|
-
img:
|
|
506
|
+
readonly img: "mr-3 h-6 sm:h-7";
|
|
507
507
|
};
|
|
508
508
|
};
|
|
509
|
-
spinner: {
|
|
510
|
-
base:
|
|
511
|
-
color: {
|
|
512
|
-
primary:
|
|
513
|
-
secondary:
|
|
514
|
-
accent:
|
|
515
|
-
failure:
|
|
516
|
-
gray:
|
|
517
|
-
info:
|
|
518
|
-
pink:
|
|
519
|
-
purple:
|
|
520
|
-
success:
|
|
521
|
-
warning:
|
|
522
|
-
};
|
|
523
|
-
light: {
|
|
524
|
-
off: {
|
|
525
|
-
base:
|
|
526
|
-
color: {
|
|
527
|
-
failure:
|
|
528
|
-
gray:
|
|
529
|
-
info:
|
|
530
|
-
pink:
|
|
531
|
-
purple:
|
|
532
|
-
success:
|
|
533
|
-
warning:
|
|
509
|
+
readonly spinner: {
|
|
510
|
+
readonly base: "inline animate-spin text-gray-200 dark:text-gray-600";
|
|
511
|
+
readonly color: {
|
|
512
|
+
readonly primary: "fill-primary-600 dark:fill-primary-500";
|
|
513
|
+
readonly secondary: "fill-secondary-600 dark:fill-secondary-500";
|
|
514
|
+
readonly accent: "fill-accent-600 dark:fill-accent-500";
|
|
515
|
+
readonly failure: "fill-red-600 dark:fill-red-500";
|
|
516
|
+
readonly gray: "fill-gray-600 dark:fill-gray-500";
|
|
517
|
+
readonly info: "fill-cyan-600 dark:fill-cyan-500";
|
|
518
|
+
readonly pink: "fill-pink-600 dark:fill-pink-500";
|
|
519
|
+
readonly purple: "fill-purple-600 dark:fill-purple-500";
|
|
520
|
+
readonly success: "fill-green-500 dark:fill-green-400";
|
|
521
|
+
readonly warning: "fill-amber-400 dark:fill-amber-300";
|
|
522
|
+
};
|
|
523
|
+
readonly light: {
|
|
524
|
+
readonly off: {
|
|
525
|
+
readonly base: "text-gray-600 dark:text-gray-400";
|
|
526
|
+
readonly color: {
|
|
527
|
+
readonly failure: "";
|
|
528
|
+
readonly gray: "";
|
|
529
|
+
readonly info: "";
|
|
530
|
+
readonly pink: "";
|
|
531
|
+
readonly purple: "";
|
|
532
|
+
readonly success: "";
|
|
533
|
+
readonly warning: "";
|
|
534
534
|
};
|
|
535
535
|
};
|
|
536
|
-
on: {
|
|
537
|
-
base:
|
|
538
|
-
color: {
|
|
539
|
-
failure:
|
|
540
|
-
gray:
|
|
541
|
-
info:
|
|
542
|
-
pink:
|
|
543
|
-
purple:
|
|
544
|
-
success:
|
|
545
|
-
warning:
|
|
536
|
+
readonly on: {
|
|
537
|
+
readonly base: "";
|
|
538
|
+
readonly color: {
|
|
539
|
+
readonly failure: "text-red-600 dark:text-red-500";
|
|
540
|
+
readonly gray: "dark:text-gray-500";
|
|
541
|
+
readonly info: "text-cyan-600 dark:text-cyan-500";
|
|
542
|
+
readonly pink: "text-pink-600 dark:text-pink-500";
|
|
543
|
+
readonly purple: "text-purple-600 dark:text-purple-500";
|
|
544
|
+
readonly success: "text-green-600 dark:text-green-500";
|
|
545
|
+
readonly warning: "text-amber-600 dark:text-amber-500";
|
|
546
546
|
};
|
|
547
547
|
};
|
|
548
548
|
};
|
|
549
|
-
size: {
|
|
550
|
-
xs:
|
|
551
|
-
sm:
|
|
552
|
-
md:
|
|
553
|
-
lg:
|
|
554
|
-
xl:
|
|
549
|
+
readonly size: {
|
|
550
|
+
readonly xs: "h-3 w-3";
|
|
551
|
+
readonly sm: "h-4 w-4";
|
|
552
|
+
readonly md: "h-6 w-6";
|
|
553
|
+
readonly lg: "h-8 w-8";
|
|
554
|
+
readonly xl: "h-10 w-10";
|
|
555
555
|
};
|
|
556
556
|
};
|
|
557
|
-
table: {
|
|
558
|
-
root: {
|
|
559
|
-
base:
|
|
560
|
-
shadow:
|
|
561
|
-
wrapper:
|
|
557
|
+
readonly table: {
|
|
558
|
+
readonly root: {
|
|
559
|
+
readonly base: "w-full text-left text-sm text-gray-500 dark:text-gray-400";
|
|
560
|
+
readonly shadow: "absolute top-0 left-0 -z-10 h-full w-full rounded-lg bg-white drop-shadow-md dark:bg-zinc-800";
|
|
561
|
+
readonly wrapper: "relative w-fit min-w-full";
|
|
562
562
|
};
|
|
563
|
-
body: {
|
|
564
|
-
base:
|
|
565
|
-
cell: {
|
|
566
|
-
base:
|
|
563
|
+
readonly body: {
|
|
564
|
+
readonly base: "group/body";
|
|
565
|
+
readonly cell: {
|
|
566
|
+
readonly base: "p-4";
|
|
567
567
|
};
|
|
568
568
|
};
|
|
569
|
-
head: {
|
|
570
|
-
base:
|
|
571
|
-
cell: {
|
|
572
|
-
base:
|
|
569
|
+
readonly head: {
|
|
570
|
+
readonly base: "group/head text-xs text-gray-700 uppercase dark:text-gray-400";
|
|
571
|
+
readonly cell: {
|
|
572
|
+
readonly base: "bg-zinc-50 p-4 dark:bg-zinc-700";
|
|
573
573
|
};
|
|
574
574
|
};
|
|
575
|
-
row: {
|
|
576
|
-
base:
|
|
577
|
-
hovered:
|
|
578
|
-
striped:
|
|
575
|
+
readonly row: {
|
|
576
|
+
readonly base: "group/row";
|
|
577
|
+
readonly hovered: "hover:bg-zinc-50 dark:hover:bg-zinc-600";
|
|
578
|
+
readonly striped: "odd:bg-white even:bg-zinc-50 dark:odd:bg-zinc-800 dark:even:bg-zinc-700";
|
|
579
579
|
};
|
|
580
580
|
};
|
|
581
|
-
tabs: {
|
|
582
|
-
base:
|
|
583
|
-
tablist: {
|
|
584
|
-
base:
|
|
585
|
-
variant: {
|
|
586
|
-
default:
|
|
587
|
-
underline:
|
|
588
|
-
pills:
|
|
589
|
-
fullWidth:
|
|
590
|
-
};
|
|
591
|
-
tabitem: {
|
|
592
|
-
base:
|
|
593
|
-
variant: {
|
|
594
|
-
default: {
|
|
595
|
-
base:
|
|
596
|
-
active: {
|
|
597
|
-
on:
|
|
598
|
-
off:
|
|
581
|
+
readonly tabs: {
|
|
582
|
+
readonly base: "flex flex-col gap-2";
|
|
583
|
+
readonly tablist: {
|
|
584
|
+
readonly base: "flex text-center";
|
|
585
|
+
readonly variant: {
|
|
586
|
+
readonly default: "flex-wrap border-b border-gray-200 dark:border-gray-700";
|
|
587
|
+
readonly underline: "-mb-px flex-wrap border-b border-gray-200 dark:border-gray-700";
|
|
588
|
+
readonly pills: "flex-wrap space-x-2 text-sm font-medium text-gray-500 dark:text-gray-400";
|
|
589
|
+
readonly fullWidth: "grid w-full grid-flow-col divide-x divide-gray-200 rounded-none text-sm font-medium shadow dark:divide-gray-700 dark:text-gray-400";
|
|
590
|
+
};
|
|
591
|
+
readonly tabitem: {
|
|
592
|
+
readonly base: "focus:ring-primary-300 mx-1 flex items-center justify-center rounded-t-lg px-4 py-3 text-sm font-medium first:ml-0 focus:ring-4 focus:outline-none disabled:cursor-not-allowed disabled:text-gray-400 disabled:dark:text-gray-500";
|
|
593
|
+
readonly variant: {
|
|
594
|
+
readonly default: {
|
|
595
|
+
readonly base: "rounded-t-lg";
|
|
596
|
+
readonly active: {
|
|
597
|
+
readonly on: "text-primary-600 dark:text-primary-400 bg-white dark:bg-zinc-800";
|
|
598
|
+
readonly off: "text-gray-500 hover:bg-zinc-50 hover:text-gray-600 dark:text-gray-400 dark:hover:bg-zinc-700 dark:hover:text-gray-300";
|
|
599
599
|
};
|
|
600
600
|
};
|
|
601
|
-
underline: {
|
|
602
|
-
base:
|
|
603
|
-
active: {
|
|
604
|
-
on:
|
|
605
|
-
off:
|
|
601
|
+
readonly underline: {
|
|
602
|
+
readonly base: "rounded-t-lg";
|
|
603
|
+
readonly active: {
|
|
604
|
+
readonly on: "active border-primary-600 text-primary-600 dark:border-primary-400 dark:text-primary-400 rounded-t-lg border-b-2";
|
|
605
|
+
readonly off: "border-b-2 border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-600 dark:text-gray-400 dark:hover:text-gray-300";
|
|
606
606
|
};
|
|
607
607
|
};
|
|
608
|
-
pills: {
|
|
609
|
-
base:
|
|
610
|
-
active: {
|
|
611
|
-
on:
|
|
612
|
-
off:
|
|
608
|
+
readonly pills: {
|
|
609
|
+
readonly base: "";
|
|
610
|
+
readonly active: {
|
|
611
|
+
readonly on: "bg-primary-600 rounded-lg text-white";
|
|
612
|
+
readonly off: "rounded-lg hover:bg-zinc-100 hover:text-gray-900 dark:hover:bg-zinc-700 dark:hover:text-white";
|
|
613
613
|
};
|
|
614
614
|
};
|
|
615
|
-
fullWidth: {
|
|
616
|
-
base:
|
|
617
|
-
active: {
|
|
618
|
-
on:
|
|
619
|
-
off:
|
|
615
|
+
readonly fullWidth: {
|
|
616
|
+
readonly base: "ml-0 flex w-full rounded-none first:ml-0";
|
|
617
|
+
readonly active: {
|
|
618
|
+
readonly on: "active rounded-none bg-white p-4 text-gray-900 dark:bg-zinc-700 dark:text-white";
|
|
619
|
+
readonly off: "rounded-none bg-white hover:bg-zinc-50 hover:text-gray-700 dark:bg-zinc-800 dark:hover:bg-zinc-700 dark:hover:text-white";
|
|
620
620
|
};
|
|
621
621
|
};
|
|
622
622
|
};
|
|
623
|
-
icon:
|
|
623
|
+
readonly icon: "mr-2 h-5 w-5";
|
|
624
624
|
};
|
|
625
625
|
};
|
|
626
|
-
tabitemcontainer: {
|
|
627
|
-
base:
|
|
628
|
-
variant: {
|
|
629
|
-
default:
|
|
630
|
-
underline:
|
|
631
|
-
pills:
|
|
632
|
-
fullWidth:
|
|
626
|
+
readonly tabitemcontainer: {
|
|
627
|
+
readonly base: "";
|
|
628
|
+
readonly variant: {
|
|
629
|
+
readonly default: "";
|
|
630
|
+
readonly underline: "";
|
|
631
|
+
readonly pills: "";
|
|
632
|
+
readonly fullWidth: "";
|
|
633
633
|
};
|
|
634
634
|
};
|
|
635
|
-
tabpanel:
|
|
635
|
+
readonly tabpanel: "py-3";
|
|
636
636
|
};
|
|
637
|
-
textarea: {
|
|
638
|
-
base:
|
|
639
|
-
colors: {
|
|
640
|
-
gray:
|
|
641
|
-
info:
|
|
642
|
-
failure:
|
|
643
|
-
warning:
|
|
644
|
-
success:
|
|
645
|
-
};
|
|
646
|
-
withShadow: {
|
|
647
|
-
on:
|
|
648
|
-
off:
|
|
637
|
+
readonly textarea: {
|
|
638
|
+
readonly base: "block w-full rounded-lg border text-sm focus:outline-none focus:ring-1 disabled:cursor-not-allowed disabled:opacity-50 p-4";
|
|
639
|
+
readonly colors: {
|
|
640
|
+
readonly gray: "border-gray-300 bg-gray-50 text-gray-900 dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 focus:border-secondary-500 focus:ring-secondary-500 dark:focus:border-secondary-500 dark:focus:ring-secondary-500 text-base sm:text-sm";
|
|
641
|
+
readonly info: "border-primary-500 bg-primary-50 text-primary-900 placeholder-primary-700 focus:border-primary-500 focus:ring-primary-500 dark:border-primary-400 dark:bg-primary-100 dark:focus:border-primary-500 dark:focus:ring-primary-500";
|
|
642
|
+
readonly failure: "border-red-500 bg-red-50 text-red-900 placeholder-red-700 focus:border-red-500 focus:ring-red-500 dark:border-red-400 dark:bg-red-100 dark:focus:border-red-500 dark:focus:ring-red-500";
|
|
643
|
+
readonly warning: "border-amber-500 bg-amber-50 text-amber-900 placeholder-amber-700 focus:border-amber-500 focus:ring-amber-500 dark:border-amber-400 dark:bg-amber-100 dark:focus:border-amber-500 dark:focus:ring-amber-500";
|
|
644
|
+
readonly success: "border-green-500 bg-green-50 text-green-900 placeholder-green-700 focus:border-green-500 focus:ring-green-500 dark:border-green-400 dark:bg-green-100 dark:focus:border-green-500 dark:focus:ring-green-500";
|
|
645
|
+
};
|
|
646
|
+
readonly withShadow: {
|
|
647
|
+
readonly on: "shadow-xs";
|
|
648
|
+
readonly off: "";
|
|
649
649
|
};
|
|
650
650
|
};
|
|
651
|
-
textInput: {
|
|
652
|
-
addon:
|
|
653
|
-
field: {
|
|
654
|
-
base:
|
|
655
|
-
icon: {
|
|
656
|
-
base:
|
|
657
|
-
svg:
|
|
658
|
-
};
|
|
659
|
-
rightIcon: {
|
|
660
|
-
base:
|
|
661
|
-
svg:
|
|
662
|
-
};
|
|
663
|
-
input: {
|
|
664
|
-
base:
|
|
665
|
-
sizes: {
|
|
666
|
-
sm:
|
|
667
|
-
md:
|
|
668
|
-
lg:
|
|
651
|
+
readonly textInput: {
|
|
652
|
+
readonly addon: "inline-flex items-center rounded-l-md border border-r-0 border-gray-300 bg-zinc-50 px-3 text-sm text-gray-500 dark:border-gray-600 dark:bg-zinc-700";
|
|
653
|
+
readonly field: {
|
|
654
|
+
readonly base: "relative w-full";
|
|
655
|
+
readonly icon: {
|
|
656
|
+
readonly base: "pointer-events-none absolute inset-y-0 left-0 flex items-center pl-3";
|
|
657
|
+
readonly svg: "h-5 w-5 text-gray-500 dark:text-gray-400";
|
|
658
|
+
};
|
|
659
|
+
readonly rightIcon: {
|
|
660
|
+
readonly base: "pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3";
|
|
661
|
+
readonly svg: "h-5 w-5 text-gray-500 dark:text-gray-400";
|
|
662
|
+
};
|
|
663
|
+
readonly input: {
|
|
664
|
+
readonly base: "focus:outline-none focus:ring-1 block w-full border outline-hidden disabled:cursor-not-allowed disabled:opacity-50";
|
|
665
|
+
readonly sizes: {
|
|
666
|
+
readonly sm: "p-2 sm:text-xs";
|
|
667
|
+
readonly md: "p-2.5 sm:text-sm";
|
|
668
|
+
readonly lg: "p-4 sm:text-base";
|
|
669
669
|
};
|
|
670
|
-
colors: {
|
|
671
|
-
gray:
|
|
672
|
-
info:
|
|
673
|
-
failure:
|
|
674
|
-
warning:
|
|
675
|
-
success:
|
|
670
|
+
readonly colors: {
|
|
671
|
+
readonly gray: "focus:border-primary-500 focus:ring-primary-500 dark:focus:border-primary-500 dark:focus:ring-primary-500 border-gray-300 bg-zinc-50 text-gray-900 dark:border-gray-600 dark:bg-zinc-700 dark:text-white dark:placeholder-gray-400";
|
|
672
|
+
readonly info: "border-primary-500 bg-primary-50 text-primary-900 placeholder-primary-700 focus:border-primary-500 focus:ring-primary-500 dark:border-primary-400 dark:bg-primary-100 dark:focus:border-primary-500 dark:focus:ring-primary-500";
|
|
673
|
+
readonly failure: "border-red-500 bg-red-50 text-red-900 placeholder-red-700 focus:border-red-500 focus:ring-red-500 dark:border-red-400 dark:bg-red-100 dark:focus:border-red-500 dark:focus:ring-red-500";
|
|
674
|
+
readonly warning: "border-amber-500 bg-amber-50 text-amber-900 placeholder-amber-700 focus:border-amber-500 focus:ring-amber-500 dark:border-amber-400 dark:bg-amber-100 dark:focus:border-amber-500 dark:focus:ring-amber-500";
|
|
675
|
+
readonly success: "border-green-500 bg-green-50 text-green-900 placeholder-green-700 focus:border-green-500 focus:ring-green-500 dark:border-green-400 dark:bg-green-100 dark:focus:border-green-500 dark:focus:ring-green-500";
|
|
676
676
|
};
|
|
677
|
-
withRightIcon: {
|
|
678
|
-
on:
|
|
679
|
-
off:
|
|
677
|
+
readonly withRightIcon: {
|
|
678
|
+
readonly on: "pr-10";
|
|
679
|
+
readonly off: "";
|
|
680
680
|
};
|
|
681
|
-
withIcon: {
|
|
682
|
-
on:
|
|
683
|
-
off:
|
|
681
|
+
readonly withIcon: {
|
|
682
|
+
readonly on: "pl-10";
|
|
683
|
+
readonly off: "";
|
|
684
684
|
};
|
|
685
|
-
withAddon: {
|
|
686
|
-
on:
|
|
687
|
-
off:
|
|
685
|
+
readonly withAddon: {
|
|
686
|
+
readonly on: "rounded-r-lg";
|
|
687
|
+
readonly off: "rounded-lg";
|
|
688
688
|
};
|
|
689
|
-
withShadow: {
|
|
690
|
-
on:
|
|
691
|
-
off:
|
|
689
|
+
readonly withShadow: {
|
|
690
|
+
readonly on: "shadow-xs";
|
|
691
|
+
readonly off: "";
|
|
692
692
|
};
|
|
693
693
|
};
|
|
694
694
|
};
|
|
695
695
|
};
|
|
696
|
-
toggleSwitch: {
|
|
697
|
-
root: {
|
|
698
|
-
base:
|
|
699
|
-
active: {
|
|
700
|
-
on:
|
|
701
|
-
off:
|
|
702
|
-
};
|
|
703
|
-
label:
|
|
704
|
-
};
|
|
705
|
-
toggle: {
|
|
706
|
-
base:
|
|
707
|
-
checked: {
|
|
708
|
-
on:
|
|
709
|
-
off:
|
|
710
|
-
color: {
|
|
711
|
-
blue:
|
|
712
|
-
dark:
|
|
713
|
-
failure:
|
|
714
|
-
gray:
|
|
715
|
-
green:
|
|
716
|
-
light:
|
|
717
|
-
red:
|
|
718
|
-
purple:
|
|
719
|
-
success:
|
|
720
|
-
yellow:
|
|
721
|
-
warning:
|
|
722
|
-
cyan:
|
|
723
|
-
lime:
|
|
724
|
-
indigo:
|
|
725
|
-
default:
|
|
726
|
-
pink:
|
|
727
|
-
teal:
|
|
696
|
+
readonly toggleSwitch: {
|
|
697
|
+
readonly root: {
|
|
698
|
+
readonly base: "group relative flex items-center rounded-lg";
|
|
699
|
+
readonly active: {
|
|
700
|
+
readonly on: "cursor-pointer";
|
|
701
|
+
readonly off: "cursor-not-allowed opacity-50";
|
|
702
|
+
};
|
|
703
|
+
readonly label: "ml-3 text-sm font-medium text-gray-900 dark:text-gray-300";
|
|
704
|
+
};
|
|
705
|
+
readonly toggle: {
|
|
706
|
+
readonly base: "toggle-bg rounded-full border";
|
|
707
|
+
readonly checked: {
|
|
708
|
+
readonly on: "after:translate-x-full after:border-white";
|
|
709
|
+
readonly off: "border-gray-200 bg-zinc-200 dark:border-gray-600 dark:bg-zinc-700";
|
|
710
|
+
readonly color: {
|
|
711
|
+
readonly blue: "border-primary-600 bg-primary-600";
|
|
712
|
+
readonly dark: "border-gray-900 bg-zinc-800";
|
|
713
|
+
readonly failure: "border-red-700 bg-red-700";
|
|
714
|
+
readonly gray: "border-gray-500 bg-zinc-500";
|
|
715
|
+
readonly green: "border-green-600 bg-green-600";
|
|
716
|
+
readonly light: "border-gray-200 bg-zinc-100";
|
|
717
|
+
readonly red: "border-red-700 bg-red-700";
|
|
718
|
+
readonly purple: "border-purple-700 bg-purple-700";
|
|
719
|
+
readonly success: "border-green-500 bg-green-500";
|
|
720
|
+
readonly yellow: "border-amber-400 bg-amber-400";
|
|
721
|
+
readonly warning: "border-amber-600 bg-amber-600";
|
|
722
|
+
readonly cyan: "border-cyan-500 bg-cyan-500";
|
|
723
|
+
readonly lime: "border-lime-500 bg-lime-500";
|
|
724
|
+
readonly indigo: "border-indigo-500 bg-indigo-500";
|
|
725
|
+
readonly default: "border-primary-600 bg-primary-600";
|
|
726
|
+
readonly pink: "border-pink-600 bg-pink-600";
|
|
727
|
+
readonly teal: "border-teal-600 bg-teal-600";
|
|
728
728
|
};
|
|
729
729
|
};
|
|
730
|
-
sizes: {
|
|
731
|
-
sm:
|
|
732
|
-
md:
|
|
733
|
-
lg:
|
|
730
|
+
readonly sizes: {
|
|
731
|
+
readonly sm: "h-5 w-9 after:absolute after:top-[2px] after:left-[2px] after:h-4 after:w-4";
|
|
732
|
+
readonly md: "h-6 w-11 after:absolute after:top-[2px] after:left-[2px] after:h-5 after:w-5";
|
|
733
|
+
readonly lg: "h-7 w-14 after:absolute after:top-0.5 after:left-[4px] after:h-6 after:w-6";
|
|
734
734
|
};
|
|
735
735
|
};
|
|
736
736
|
};
|
|
737
|
-
tooltip: {
|
|
738
|
-
target:
|
|
739
|
-
animation:
|
|
740
|
-
arrow: {
|
|
741
|
-
base:
|
|
742
|
-
style: {
|
|
743
|
-
dark:
|
|
744
|
-
light:
|
|
745
|
-
auto:
|
|
746
|
-
};
|
|
747
|
-
placement:
|
|
748
|
-
};
|
|
749
|
-
base:
|
|
750
|
-
hidden:
|
|
751
|
-
style: {
|
|
752
|
-
dark:
|
|
753
|
-
light:
|
|
754
|
-
auto:
|
|
755
|
-
};
|
|
756
|
-
content:
|
|
737
|
+
readonly tooltip: {
|
|
738
|
+
readonly target: "w-fit";
|
|
739
|
+
readonly animation: "transition-opacity";
|
|
740
|
+
readonly arrow: {
|
|
741
|
+
readonly base: "absolute z-10 h-2 w-2 rotate-45";
|
|
742
|
+
readonly style: {
|
|
743
|
+
readonly dark: "bg-zinc-900 dark:bg-zinc-700";
|
|
744
|
+
readonly light: "bg-white";
|
|
745
|
+
readonly auto: "bg-white dark:bg-zinc-700";
|
|
746
|
+
};
|
|
747
|
+
readonly placement: "-m-1";
|
|
748
|
+
};
|
|
749
|
+
readonly base: "absolute z-10 inline-block rounded-lg px-3 py-2 text-sm font-medium shadow-xs";
|
|
750
|
+
readonly hidden: "invisible opacity-0";
|
|
751
|
+
readonly style: {
|
|
752
|
+
readonly dark: "bg-zinc-900 text-white dark:bg-zinc-700";
|
|
753
|
+
readonly light: "border border-gray-200 bg-white text-gray-900";
|
|
754
|
+
readonly auto: "border border-gray-200 bg-white text-gray-900 dark:border-none dark:bg-zinc-700 dark:text-white";
|
|
755
|
+
};
|
|
756
|
+
readonly content: "relative z-20";
|
|
757
757
|
};
|
|
758
758
|
};
|