@onereach/ui-components 2.71.1-beta.2223.0 → 2.71.1-beta.2226.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/dist/bundled/v2/{OrCardCollection-0141a358.js → OrCardCollection-3dee1926.js} +2 -2
- package/dist/bundled/v2/{OrConfirm-057e997e.js → OrConfirm-5fd7f8bb.js} +1 -1
- package/dist/bundled/v2/{OrIconButton-a2ba92df.js → OrIconButton-76043aa4.js} +10 -3
- package/dist/bundled/v2/{OrInlineInput-87589946.js → OrInlineInput-7faf5534.js} +1 -1
- package/dist/bundled/v2/{OrInlineTextarea-21b0e6fc.js → OrInlineTextarea-a9bfe477.js} +1 -1
- package/dist/bundled/v2/{OrInput-82ccfe00.js → OrInput-d4173a5a.js} +1 -1
- package/dist/bundled/v2/{OrModal-af6677fd.js → OrModal-6484c944.js} +1 -1
- package/dist/bundled/v2/{OrNotification-3250f58b.js → OrNotification-35ec61a9.js} +1 -1
- package/dist/bundled/v2/{OrSearch-53470b0e.js → OrSearch-ae350dc7.js} +1 -1
- package/dist/bundled/v2/{OrSelect-02fb39f0.js → OrSelect-e3ee8d12.js} +2 -2
- package/dist/bundled/v2/OrSidebar-c95ef614.js +230 -0
- package/dist/bundled/v2/{OrTag-30fecee5.js → OrTag-b9ace427.js} +1 -1
- package/dist/bundled/v2/components/index.js +13 -13
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +4 -4
- package/dist/bundled/v2/components/or-confirm-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-icon-button-v3/OrIconButton.vue.d.ts +11 -0
- package/dist/bundled/v2/components/or-icon-button-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-inline-input-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-input-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-modal-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-notification-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-search-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-select-v3/index.js +4 -4
- package/dist/bundled/v2/components/or-sidebar-v3/OrSidebar.stories3.d.ts +1 -36
- package/dist/bundled/v2/components/or-sidebar-v3/OrSidebar.vue.d.ts +4 -49
- package/dist/bundled/v2/components/or-sidebar-v3/index.js +1 -13
- package/dist/bundled/v2/components/or-sidebar-v3/styles.d.ts +1 -9
- package/dist/bundled/v2/components/or-tag-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-toast-v3/index.js +2 -2
- package/dist/bundled/v2/index.js +14 -14
- package/dist/bundled/v2/{types-8fe4e345.js → types-7f69189b.js} +1 -1
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-2d78a51a.js → OrCardCollection.vue_vue_type_script_lang-95abfcc1.js} +3 -3
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-9d9a3917.js → OrConfirm.vue_vue_type_script_lang-16dfa0b6.js} +2 -2
- package/dist/bundled/v3/{OrIconButton-cd62526d.js → OrIconButton-50df6117.js} +3 -2
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-aefcf30d.js → OrIconButton.vue_vue_type_script_lang-b1490ad1.js} +9 -3
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-67218502.js → OrInlineInput.vue_vue_type_script_lang-9f237eb5.js} +2 -2
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-a1831ab8.js → OrInlineTextarea.vue_vue_type_script_lang-d9e0eb26.js} +2 -2
- package/dist/bundled/v3/{OrInput-a4f220ed.js → OrInput-a0b9a900.js} +1 -1
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-607d79d4.js → OrInput.vue_vue_type_script_lang-f3ce4d61.js} +2 -2
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-55c864d1.js → OrModal.vue_vue_type_script_lang-e4f57a5e.js} +2 -2
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-c886ae51.js → OrNotification.vue_vue_type_script_lang-f580ebc1.js} +2 -2
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-06f318ca.js → OrSearch.vue_vue_type_script_lang-8c220bb4.js} +2 -2
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-83f15704.js → OrSelect.vue_vue_type_script_lang-3f4e09e9.js} +3 -3
- package/dist/bundled/v3/OrSidebar.vue_vue_type_script_lang-ce0b152c.js +181 -0
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-3e30f662.js → OrTag.vue_vue_type_script_lang-5db8644c.js} +2 -2
- package/dist/bundled/v3/{OrToastContainer-34389303.js → OrToastContainer-c5d7acf8.js} +1 -1
- package/dist/bundled/v3/components/index.js +15 -15
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +6 -6
- package/dist/bundled/v3/components/or-confirm-v3/index.js +5 -5
- package/dist/bundled/v3/components/or-icon-button-v3/OrIconButton.vue.d.ts +11 -0
- package/dist/bundled/v3/components/or-icon-button-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-inline-input-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-input-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-modal-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-notification-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-search-v3/index.js +5 -5
- package/dist/bundled/v3/components/or-select-v3/index.js +6 -6
- package/dist/bundled/v3/components/or-sidebar-v3/OrSidebar.stories3.d.ts +1 -36
- package/dist/bundled/v3/components/or-sidebar-v3/OrSidebar.vue.d.ts +4 -49
- package/dist/bundled/v3/components/or-sidebar-v3/index.js +1 -15
- package/dist/bundled/v3/components/or-sidebar-v3/styles.d.ts +1 -9
- package/dist/bundled/v3/components/or-tag-v3/index.js +3 -3
- package/dist/bundled/v3/components/or-toast-v3/index.js +4 -4
- package/dist/bundled/v3/index.js +31 -47
- package/dist/bundled/v3/{types-f53434f2.js → types-f7b07e1a.js} +2 -2
- package/dist/esm/v2/{OrCardCollection-3c38fc85.js → OrCardCollection-259b2e2b.js} +2 -2
- package/dist/esm/v2/{OrConfirm-047d4086.js → OrConfirm-921dbb5d.js} +1 -1
- package/dist/esm/v2/{OrIconButton-b3779042.js → OrIconButton-3c81fd64.js} +10 -3
- package/dist/esm/v2/{OrInlineInput-10205811.js → OrInlineInput-1ad5ea15.js} +1 -1
- package/dist/esm/v2/{OrInlineTextarea-7658611e.js → OrInlineTextarea-bfe528e7.js} +1 -1
- package/dist/esm/v2/{OrInput-ada3a970.js → OrInput-59cc6981.js} +1 -1
- package/dist/esm/v2/{OrModal-a7719843.js → OrModal-8c6fdab4.js} +1 -1
- package/dist/esm/v2/{OrNotification-8a4830a3.js → OrNotification-c0d70dc7.js} +1 -1
- package/dist/esm/v2/{OrSearch-0f08f2f5.js → OrSearch-ebc3b81c.js} +1 -1
- package/dist/esm/v2/{OrSelect-f8837f5d.js → OrSelect-7317a963.js} +2 -2
- package/dist/esm/v2/OrSidebar-fabc7bc9.js +228 -0
- package/dist/esm/v2/{OrTag-5c404031.js → OrTag-842193c2.js} +1 -1
- package/dist/esm/v2/components/index.js +13 -13
- package/dist/esm/v2/components/or-card-collection-v3/index.js +4 -4
- package/dist/esm/v2/components/or-confirm-v3/index.js +3 -3
- package/dist/esm/v2/components/or-icon-button-v3/OrIconButton.vue.d.ts +11 -0
- package/dist/esm/v2/components/or-icon-button-v3/index.js +1 -1
- package/dist/esm/v2/components/or-inline-input-v3/index.js +2 -2
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +2 -2
- package/dist/esm/v2/components/or-input-v3/index.js +2 -2
- package/dist/esm/v2/components/or-modal-v3/index.js +2 -2
- package/dist/esm/v2/components/or-notification-v3/index.js +2 -2
- package/dist/esm/v2/components/or-search-v3/index.js +3 -3
- package/dist/esm/v2/components/or-select-v3/index.js +4 -4
- package/dist/esm/v2/components/or-sidebar-v3/OrSidebar.stories3.d.ts +1 -36
- package/dist/esm/v2/components/or-sidebar-v3/OrSidebar.vue.d.ts +4 -49
- package/dist/esm/v2/components/or-sidebar-v3/index.js +1 -13
- package/dist/esm/v2/components/or-sidebar-v3/styles.d.ts +1 -9
- package/dist/esm/v2/components/or-tag-v3/index.js +2 -2
- package/dist/esm/v2/components/or-toast-v3/index.js +2 -2
- package/dist/esm/v2/index.js +13 -13
- package/dist/esm/v2/{types-6c742e07.js → types-3ff6f029.js} +1 -1
- package/dist/esm/v3/{OrCardCollection-dbb3e839.js → OrCardCollection-2886a9ca.js} +2 -2
- package/dist/esm/v3/{OrConfirm-fee3c859.js → OrConfirm-1d9bfd2a.js} +1 -1
- package/dist/esm/v3/{OrIconButton-1a89fbf9.js → OrIconButton-7a512558.js} +11 -4
- package/dist/esm/v3/{OrInlineInput-507fc99c.js → OrInlineInput-54c7b053.js} +1 -1
- package/dist/esm/v3/{OrInlineTextarea-53a9e027.js → OrInlineTextarea-5a8fc512.js} +1 -1
- package/dist/esm/v3/{OrInput-9c0426b9.js → OrInput-639352e4.js} +1 -1
- package/dist/esm/v3/{OrModal-7878cc39.js → OrModal-4cd576c7.js} +1 -1
- package/dist/esm/v3/{OrNotification-e1383681.js → OrNotification-cb49acef.js} +1 -1
- package/dist/esm/v3/{OrSearch-9885d178.js → OrSearch-8caf7e53.js} +1 -1
- package/dist/esm/v3/{OrSelect-8fbd88bc.js → OrSelect-3932d4bd.js} +2 -2
- package/dist/esm/v3/OrSidebar-a62972f5.js +206 -0
- package/dist/esm/v3/{OrTag-5d54f37d.js → OrTag-6db3aaf7.js} +1 -1
- package/dist/esm/v3/components/index.js +13 -13
- package/dist/esm/v3/components/or-card-collection-v3/index.js +4 -4
- package/dist/esm/v3/components/or-confirm-v3/index.js +3 -3
- package/dist/esm/v3/components/or-icon-button-v3/OrIconButton.vue.d.ts +11 -0
- package/dist/esm/v3/components/or-icon-button-v3/index.js +1 -1
- package/dist/esm/v3/components/or-inline-input-v3/index.js +2 -2
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +2 -2
- package/dist/esm/v3/components/or-input-v3/index.js +2 -2
- package/dist/esm/v3/components/or-modal-v3/index.js +2 -2
- package/dist/esm/v3/components/or-notification-v3/index.js +2 -2
- package/dist/esm/v3/components/or-search-v3/index.js +3 -3
- package/dist/esm/v3/components/or-select-v3/index.js +4 -4
- package/dist/esm/v3/components/or-sidebar-v3/OrSidebar.stories3.d.ts +1 -36
- package/dist/esm/v3/components/or-sidebar-v3/OrSidebar.vue.d.ts +4 -49
- package/dist/esm/v3/components/or-sidebar-v3/index.js +1 -12
- package/dist/esm/v3/components/or-sidebar-v3/styles.d.ts +1 -9
- package/dist/esm/v3/components/or-tag-v3/index.js +2 -2
- package/dist/esm/v3/components/or-toast-v3/index.js +2 -2
- package/dist/esm/v3/index.js +13 -13
- package/dist/esm/v3/{types-2692e337.js → types-85bee366.js} +1 -1
- package/package.json +1 -1
- package/src/components/or-icon-button-v3/OrIconButton.stories3.ts +4 -0
- package/src/components/or-icon-button-v3/OrIconButton.vue +6 -0
- package/src/components/or-icon-button-v3/styles.ts +13 -0
- package/src/components/or-sidebar-v3/OrSidebar.docs.mdx +0 -6
- package/src/components/or-sidebar-v3/OrSidebar.stories3.ts +12 -253
- package/src/components/or-sidebar-v3/OrSidebar.vue +23 -130
- package/src/components/or-sidebar-v3/styles.ts +9 -164
- package/dist/bundled/v2/OrSidebar-eedd2d6e.js +0 -464
- package/dist/bundled/v2/components/or-sidebar-v3/OrSidebarCollapseButton.stories3.d.ts +0 -12
- package/dist/bundled/v2/components/or-sidebar-v3/OrSidebarCollapseButton.vue.d.ts +0 -53
- package/dist/bundled/v3/OrSidebar.vue_vue_type_script_lang-6dc222bd.js +0 -356
- package/dist/bundled/v3/components/or-sidebar-v3/OrSidebarCollapseButton.stories3.d.ts +0 -12
- package/dist/bundled/v3/components/or-sidebar-v3/OrSidebarCollapseButton.vue.d.ts +0 -53
- package/dist/esm/v2/OrSidebar-e43a6e55.js +0 -461
- package/dist/esm/v2/components/or-sidebar-v3/OrSidebarCollapseButton.stories3.d.ts +0 -12
- package/dist/esm/v2/components/or-sidebar-v3/OrSidebarCollapseButton.vue.d.ts +0 -53
- package/dist/esm/v3/OrSidebar-2abaf7d6.js +0 -396
- package/dist/esm/v3/components/or-sidebar-v3/OrSidebarCollapseButton.stories3.d.ts +0 -12
- package/dist/esm/v3/components/or-sidebar-v3/OrSidebarCollapseButton.vue.d.ts +0 -53
- package/src/components/or-sidebar-v3/OrSidebarCollapseButton.stories3.ts +0 -48
- package/src/components/or-sidebar-v3/OrSidebarCollapseButton.vue +0 -74
|
@@ -4,100 +4,28 @@ export const SidebarRoot: string[] = [
|
|
|
4
4
|
// Position
|
|
5
5
|
'relative',
|
|
6
6
|
|
|
7
|
-
// Layout
|
|
8
|
-
'flex',
|
|
9
|
-
'flex-row',
|
|
10
|
-
'shrink-0',
|
|
11
|
-
|
|
12
|
-
// Box
|
|
13
|
-
'min-w-0',
|
|
14
|
-
'h-auto',
|
|
15
|
-
'p-0',
|
|
16
|
-
|
|
17
|
-
// Theme
|
|
18
|
-
'bg-background',
|
|
19
|
-
'dark:bg-background-dark',
|
|
20
|
-
];
|
|
21
|
-
|
|
22
|
-
export const SidebarBar: string[] = [
|
|
23
|
-
// Position
|
|
24
|
-
'relative',
|
|
25
|
-
|
|
26
7
|
// Layout
|
|
27
8
|
'flex',
|
|
28
9
|
'flex-col',
|
|
29
10
|
'shrink-0',
|
|
30
|
-
'grow',
|
|
31
11
|
|
|
32
12
|
// Box
|
|
33
13
|
'min-h-0',
|
|
34
14
|
'p-0',
|
|
35
|
-
|
|
36
|
-
// Theme
|
|
37
|
-
'text-on-background',
|
|
38
|
-
'dark:text-on-background-dark',
|
|
39
|
-
|
|
40
|
-
// Transition
|
|
41
|
-
'transition-[width]',
|
|
42
15
|
];
|
|
43
16
|
|
|
44
|
-
export const
|
|
45
|
-
// Position
|
|
46
|
-
'relative',
|
|
47
|
-
|
|
48
|
-
// Layout
|
|
49
|
-
'flex',
|
|
50
|
-
'flex-col',
|
|
51
|
-
'shrink-0',
|
|
52
|
-
'grow',
|
|
53
|
-
'overflow-auto',
|
|
54
|
-
'items-center',
|
|
55
|
-
|
|
56
|
-
// Sizing
|
|
57
|
-
'gap-md',
|
|
58
|
-
|
|
59
|
-
// Box
|
|
60
|
-
'min-h-0',
|
|
61
|
-
'min-w-xl',
|
|
62
|
-
'p-[6px]',
|
|
63
|
-
'py-md+',
|
|
64
|
-
|
|
65
|
-
// Theme
|
|
66
|
-
'text-outline',
|
|
67
|
-
'dark:text-outline-dark',
|
|
68
|
-
];
|
|
69
|
-
|
|
70
|
-
export const CollapsibleSidebarToolbar: string[] = [
|
|
71
|
-
'pt-[56px]',
|
|
72
|
-
];
|
|
73
|
-
|
|
74
|
-
export const SidebarSides: Record<OrSidebarPlacement, string[]> = {
|
|
75
|
-
[OrSidebarPlacement.left]: [
|
|
76
|
-
// Borders
|
|
77
|
-
'border-r-[1px]',
|
|
78
|
-
'border-r-solid',
|
|
79
|
-
'border-r-outline-variant dark:border-r-outline-variant-dark',
|
|
80
|
-
],
|
|
81
|
-
[OrSidebarPlacement.right]: [
|
|
82
|
-
// Borders
|
|
83
|
-
'border-l-[1px]',
|
|
84
|
-
'border-l-solid',
|
|
85
|
-
'border-l-outline-variant dark:border-l-outline-variant-dark',
|
|
86
|
-
],
|
|
87
|
-
};
|
|
88
|
-
|
|
89
|
-
export const SidebarToolbarSides: Record<OrSidebarPlacement, string[]> = {
|
|
17
|
+
export const SidebarRootSides: Record<OrSidebarPlacement, string[]> = {
|
|
90
18
|
[OrSidebarPlacement.left]: [
|
|
91
19
|
// Borders
|
|
92
20
|
'border-r-[1px]',
|
|
93
21
|
'border-r-solid',
|
|
94
|
-
'border-r-
|
|
22
|
+
'border-r-secondary dark:border-r-secondary-dark',
|
|
95
23
|
],
|
|
96
24
|
[OrSidebarPlacement.right]: [
|
|
97
25
|
// Borders
|
|
98
26
|
'border-l-[1px]',
|
|
99
27
|
'border-l-solid',
|
|
100
|
-
'border-l-
|
|
28
|
+
'border-l-secondary dark:border-l-secondary-dark',
|
|
101
29
|
],
|
|
102
30
|
};
|
|
103
31
|
|
|
@@ -108,7 +36,7 @@ export const SidebarResize: string[] = [
|
|
|
108
36
|
'z-[1]',
|
|
109
37
|
|
|
110
38
|
// Box
|
|
111
|
-
'w-
|
|
39
|
+
'w-[12px]',
|
|
112
40
|
'h-[100%]',
|
|
113
41
|
|
|
114
42
|
// Cursor
|
|
@@ -122,7 +50,7 @@ export const SidebarResizeSides: Record<OrSidebarPlacement, string[]> = {
|
|
|
122
50
|
|
|
123
51
|
// Borders
|
|
124
52
|
'hover:border-r-2',
|
|
125
|
-
'hover:border-r-primary
|
|
53
|
+
'hover:border-r-primary hover:dark:border-r-primary-dark',
|
|
126
54
|
|
|
127
55
|
// Transition
|
|
128
56
|
'transition-[border-right]',
|
|
@@ -133,42 +61,23 @@ export const SidebarResizeSides: Record<OrSidebarPlacement, string[]> = {
|
|
|
133
61
|
|
|
134
62
|
// Borders
|
|
135
63
|
'hover:border-l-2',
|
|
136
|
-
'hover:border-l-primary
|
|
64
|
+
'hover:border-l-primary hover:dark:border-l-primary-dark',
|
|
137
65
|
|
|
138
66
|
// Transition
|
|
139
67
|
'transition-[border-left]',
|
|
140
68
|
],
|
|
141
69
|
};
|
|
142
70
|
|
|
143
|
-
export const SidebarCollapseButton: string[] = [
|
|
144
|
-
// Position
|
|
145
|
-
'absolute',
|
|
146
|
-
'top-md',
|
|
147
|
-
'inset-y-none',
|
|
148
|
-
'z-[1]',
|
|
149
|
-
];
|
|
150
|
-
|
|
151
|
-
export const SidebarCollapseButtonSides: Record<OrSidebarPlacement, string[]> = {
|
|
152
|
-
[OrSidebarPlacement.left]: [
|
|
153
|
-
// Position
|
|
154
|
-
'-right-[12px]',
|
|
155
|
-
],
|
|
156
|
-
[OrSidebarPlacement.right]: [
|
|
157
|
-
// Position
|
|
158
|
-
'-left-[12px]',
|
|
159
|
-
],
|
|
160
|
-
};
|
|
161
|
-
|
|
162
71
|
export const SidebarResizingSides: Record<OrSidebarPlacement, string[]> = {
|
|
163
72
|
[OrSidebarPlacement.left]: [
|
|
164
73
|
// Borders
|
|
165
74
|
'border-r-2',
|
|
166
|
-
'border-r-primary
|
|
75
|
+
'border-r-primary dark:border-r-primary-dark',
|
|
167
76
|
],
|
|
168
77
|
[OrSidebarPlacement.right]: [
|
|
169
78
|
// Borders
|
|
170
79
|
'border-l-2',
|
|
171
|
-
'border-l-primary
|
|
80
|
+
'border-l-primary dark:border-l-primary-dark',
|
|
172
81
|
],
|
|
173
82
|
};
|
|
174
83
|
|
|
@@ -177,24 +86,14 @@ export const SidebarMain: string[] = [
|
|
|
177
86
|
'flex',
|
|
178
87
|
'flex-col',
|
|
179
88
|
'grow',
|
|
180
|
-
'overflow-x-hidden',
|
|
181
89
|
|
|
182
90
|
// Box
|
|
183
91
|
'min-h-0',
|
|
184
92
|
];
|
|
185
93
|
|
|
186
94
|
export const SidebarHeader: string[] = [
|
|
187
|
-
// Layout
|
|
188
|
-
'shrink-0',
|
|
189
|
-
'overflow-hidden',
|
|
190
|
-
|
|
191
95
|
// Sizing
|
|
192
96
|
'p-md',
|
|
193
|
-
|
|
194
|
-
// Typography
|
|
195
|
-
'typography-headline-2',
|
|
196
|
-
'whitespace-nowrap',
|
|
197
|
-
'text-ellipsis',
|
|
198
97
|
];
|
|
199
98
|
|
|
200
99
|
export const SidebarContent: string[] = [
|
|
@@ -207,65 +106,11 @@ export const SidebarContent: string[] = [
|
|
|
207
106
|
];
|
|
208
107
|
|
|
209
108
|
export const SidebarFooter: string[] = [
|
|
210
|
-
// Layout
|
|
211
|
-
'shrink-0',
|
|
212
|
-
'overflow-x-hidden',
|
|
213
|
-
|
|
214
109
|
// Sizing
|
|
215
110
|
'p-md',
|
|
216
111
|
|
|
217
112
|
// Borders
|
|
218
113
|
'border-t-[1px]',
|
|
219
114
|
'border-t-solid',
|
|
220
|
-
'border-t-
|
|
221
|
-
];
|
|
222
|
-
|
|
223
|
-
export const CollapseButtonContainer: string[] = [
|
|
224
|
-
// Box
|
|
225
|
-
'w-[24px]',
|
|
226
|
-
'h-[24px]',
|
|
227
|
-
'rounded-full',
|
|
228
|
-
|
|
229
|
-
// Theme
|
|
230
|
-
'text-primary dark:text-primary-dark',
|
|
231
|
-
'bg-background dark:bg-background-dark',
|
|
232
|
-
];
|
|
233
|
-
|
|
234
|
-
export const CollapseButton: string[] = [
|
|
235
|
-
// Box
|
|
236
|
-
'w-[24px]',
|
|
237
|
-
'h-[24px]',
|
|
238
|
-
|
|
239
|
-
// Typography
|
|
240
|
-
'!text-[16px]',
|
|
241
|
-
|
|
242
|
-
// Borders
|
|
243
|
-
'!border-[1px]',
|
|
244
|
-
'!border-solid',
|
|
245
|
-
|
|
246
|
-
// Theme
|
|
247
|
-
'!text-primary dark:!text-primary-dark',
|
|
248
|
-
'!bg-background dark:!bg-background-dark',
|
|
249
|
-
'!border-outline-variant dark:!border-outline-variant-dark',
|
|
250
|
-
'!outline-none',
|
|
251
|
-
|
|
252
|
-
// Theme (hover)
|
|
253
|
-
'hover:!text-primary hover:dark:!text-primary-dark',
|
|
254
|
-
'hover:!bg-primary-opacity-0-08 dark:hover:!bg-primary-opacity-0-08-dark',
|
|
255
|
-
'hover:!border-outline dark:hover:!border-outline-dark',
|
|
256
|
-
|
|
257
|
-
// Theme (active)
|
|
258
|
-
'active:!text-primary active:dark:!text-primary-dark',
|
|
259
|
-
'active:!bg-primary-opacity-0-12 dark:active:!bg-primary-opacity-0-12-dark',
|
|
260
|
-
'active:!border-primary dark:active:!border-primary-dark',
|
|
261
|
-
|
|
262
|
-
// Theme (focus)
|
|
263
|
-
'focus:!text-primary focus:dark:!text-primary-dark',
|
|
264
|
-
'focus:!bg-primary-opacity-0-12 dark:focus:!bg-primary-opacity-0-12-dark',
|
|
265
|
-
'focus:!border-outline dark:focus:!border-outline-dark',
|
|
266
|
-
|
|
267
|
-
// Theme (disabled)
|
|
268
|
-
'disabled:!text-on-disabled disabled:dark:!text-on-disabled-dark',
|
|
269
|
-
'disabled:!bg-background disabled:dark:!bg-background-dark',
|
|
270
|
-
'disabled:!border-outline-variant disabled:dark:!border-outline-variant-dark',
|
|
115
|
+
'border-t-secondary dark:border-t-secondary-dark',
|
|
271
116
|
];
|