@ropav/styles 0.4.0 → 0.5.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 +10 -5
- package/dist/components/accordion.css +5 -5
- package/dist/components/alert-dialog.css +1 -1
- package/dist/components/alert.css +1 -1
- package/dist/components/autocomplete/autocomplete.styles.d.ts +33 -0
- package/dist/components/autocomplete/autocomplete.styles.d.ts.map +1 -1
- package/dist/components/autocomplete/autocomplete.styles.js +12 -0
- package/dist/components/autocomplete.css +31 -3
- package/dist/components/button-group.css +6 -6
- package/dist/components/button.css +7 -11
- package/dist/components/calendar-year-picker.css +1 -1
- package/dist/components/card.css +1 -1
- package/dist/components/color-input-group/color-input-group.styles.d.ts +27 -0
- package/dist/components/color-input-group/color-input-group.styles.d.ts.map +1 -1
- package/dist/components/color-input-group/color-input-group.styles.js +6 -0
- package/dist/components/color-input-group.css +21 -1
- package/dist/components/combo-box/combo-box.styles.d.ts +27 -0
- package/dist/components/combo-box/combo-box.styles.d.ts.map +1 -1
- package/dist/components/combo-box/combo-box.styles.js +17 -7
- package/dist/components/combo-box.css +21 -1
- package/dist/components/date-input-group/date-input-group.styles.d.ts +27 -0
- package/dist/components/date-input-group/date-input-group.styles.d.ts.map +1 -1
- package/dist/components/date-input-group/date-input-group.styles.js +6 -0
- package/dist/components/date-input-group.css +21 -1
- package/dist/components/dropdown.css +1 -1
- package/dist/components/index.css +4 -0
- package/dist/components/index.d.ts +4 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/input/input.styles.d.ts +15 -0
- package/dist/components/input/input.styles.d.ts.map +1 -1
- package/dist/components/input/input.styles.js +6 -0
- package/dist/components/input-group/input-group.styles.d.ts +27 -0
- package/dist/components/input-group/input-group.styles.d.ts.map +1 -1
- package/dist/components/input-group/input-group.styles.js +6 -0
- package/dist/components/input-group.css +23 -1
- package/dist/components/input.css +13 -1
- package/dist/components/list-box/list-box.styles.d.ts +15 -0
- package/dist/components/list-box/list-box.styles.d.ts.map +1 -1
- package/dist/components/list-box/list-box.styles.js +15 -5
- package/dist/components/list-box-item.css +4 -2
- package/dist/components/list-box.css +19 -0
- package/dist/components/menu/menu.styles.d.ts +19 -1
- package/dist/components/menu/menu.styles.d.ts.map +1 -1
- package/dist/components/menu/menu.styles.js +9 -1
- package/dist/components/menu.css +19 -0
- package/dist/components/modal.css +1 -1
- package/dist/components/number-field/number-field.styles.d.ts +27 -0
- package/dist/components/number-field/number-field.styles.d.ts.map +1 -1
- package/dist/components/number-field/number-field.styles.js +6 -0
- package/dist/components/number-field.css +60 -1
- package/dist/components/pagination.css +6 -6
- package/dist/components/popover.css +15 -1
- package/dist/components/search-field/search-field.styles.d.ts +27 -0
- package/dist/components/search-field/search-field.styles.d.ts.map +1 -1
- package/dist/components/search-field/search-field.styles.js +6 -0
- package/dist/components/search-field.css +25 -1
- package/dist/components/segmented-control/index.d.ts +2 -0
- package/dist/components/segmented-control/index.d.ts.map +1 -0
- package/dist/components/segmented-control/index.js +2 -0
- package/dist/components/segmented-control/segmented-control.styles.d.ts +73 -0
- package/dist/components/segmented-control/segmented-control.styles.d.ts.map +1 -0
- package/dist/components/segmented-control/segmented-control.styles.js +27 -0
- package/dist/components/segmented-control.css +193 -0
- package/dist/components/select/select.styles.d.ts +33 -0
- package/dist/components/select/select.styles.d.ts.map +1 -1
- package/dist/components/select/select.styles.js +12 -0
- package/dist/components/select.css +31 -3
- package/dist/components/sidebar/index.d.ts +2 -0
- package/dist/components/sidebar/index.d.ts.map +1 -0
- package/dist/components/sidebar/index.js +2 -0
- package/dist/components/sidebar/sidebar.styles.d.ts +190 -0
- package/dist/components/sidebar/sidebar.styles.d.ts.map +1 -0
- package/dist/components/sidebar/sidebar.styles.js +52 -0
- package/dist/components/sidebar.css +510 -0
- package/dist/components/splitter/index.d.ts +2 -0
- package/dist/components/splitter/index.d.ts.map +1 -0
- package/dist/components/splitter/index.js +2 -0
- package/dist/components/splitter/splitter.styles.d.ts +61 -0
- package/dist/components/splitter/splitter.styles.d.ts.map +1 -0
- package/dist/components/splitter/splitter.styles.js +26 -0
- package/dist/components/splitter.css +241 -0
- package/dist/components/table.css +3 -3
- package/dist/components/tabs.css +2 -2
- package/dist/components/textarea/textarea.styles.d.ts +15 -0
- package/dist/components/textarea/textarea.styles.d.ts.map +1 -1
- package/dist/components/textarea/textarea.styles.js +6 -0
- package/dist/components/textarea.css +13 -1
- package/dist/components/toast.css +1 -1
- package/dist/components/toggle-button-group.css +7 -7
- package/dist/components/toggle-button.css +7 -11
- package/dist/components/toolbar.css +1 -1
- package/dist/components/tooltip.css +15 -2
- package/dist/components/virtualizer/index.d.ts +2 -0
- package/dist/components/virtualizer/index.d.ts.map +1 -0
- package/dist/components/virtualizer/index.js +2 -0
- package/dist/components/virtualizer/virtualizer.styles.d.ts +44 -0
- package/dist/components/virtualizer/virtualizer.styles.d.ts.map +1 -0
- package/dist/components/virtualizer/virtualizer.styles.js +15 -0
- package/dist/components/virtualizer.css +64 -0
- package/dist/index.js +5 -1
- package/dist/ropav.min.css +2 -2
- package/dist/themes/airbnb.css +5 -0
- package/dist/themes/all.css +1 -0
- package/dist/themes/coinbase.css +5 -0
- package/dist/themes/default.css +16 -4
- package/dist/themes/discord.css +5 -0
- package/dist/themes/hero.css +262 -0
- package/dist/themes/lavender.css +5 -0
- package/dist/themes/mint.css +5 -0
- package/dist/themes/netflix.css +5 -0
- package/dist/themes/rabbit.css +5 -0
- package/dist/themes/shared/theme.css +19 -2
- package/dist/themes/sky.css +5 -0
- package/dist/themes/spotify.css +5 -0
- package/dist/themes/uber.css +5 -0
- package/dist/utilities/index.css +27 -0
- package/package.json +1 -1
- package/src/components/autocomplete/autocomplete.styles.ts +12 -0
- package/src/components/color-input-group/color-input-group.styles.ts +10 -0
- package/src/components/combo-box/combo-box.styles.ts +12 -0
- package/src/components/date-input-group/date-input-group.styles.ts +10 -0
- package/src/components/index.ts +4 -0
- package/src/components/input/input.styles.ts +6 -0
- package/src/components/input-group/input-group.styles.ts +10 -0
- package/src/components/list-box/list-box.styles.ts +6 -0
- package/src/components/menu/menu.styles.ts +10 -0
- package/src/components/number-field/number-field.styles.ts +10 -0
- package/src/components/search-field/search-field.styles.ts +10 -0
- package/src/components/segmented-control/index.ts +1 -0
- package/src/components/segmented-control/segmented-control.styles.ts +37 -0
- package/src/components/select/select.styles.ts +12 -0
- package/src/components/sidebar/index.ts +1 -0
- package/src/components/sidebar/sidebar.styles.ts +94 -0
- package/src/components/splitter/index.ts +1 -0
- package/src/components/splitter/splitter.styles.ts +44 -0
- package/src/components/textarea/textarea.styles.ts +6 -0
- package/src/components/virtualizer/index.ts +1 -0
- package/src/components/virtualizer/virtualizer.styles.ts +15 -0
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
import type { VariantProps } from "tailwind-variants";
|
|
2
|
+
export declare const sidebarVariants: import("tailwind-variants").TVReturnType<{
|
|
3
|
+
collapsible: {
|
|
4
|
+
icon: {
|
|
5
|
+
panel: string;
|
|
6
|
+
};
|
|
7
|
+
none: {
|
|
8
|
+
panel: string;
|
|
9
|
+
};
|
|
10
|
+
offcanvas: {
|
|
11
|
+
panel: string;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
inDrawer: {
|
|
15
|
+
true: {
|
|
16
|
+
panel: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
isCollapsible: {
|
|
20
|
+
true: {
|
|
21
|
+
subMenu: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
isResizable: {
|
|
25
|
+
true: {
|
|
26
|
+
rail: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
isSub: {
|
|
30
|
+
true: {
|
|
31
|
+
item: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
side: {
|
|
35
|
+
left: {
|
|
36
|
+
base: string;
|
|
37
|
+
panel: string;
|
|
38
|
+
};
|
|
39
|
+
right: {
|
|
40
|
+
base: string;
|
|
41
|
+
panel: string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
}, {
|
|
45
|
+
base: string;
|
|
46
|
+
content: string;
|
|
47
|
+
footer: string;
|
|
48
|
+
group: string;
|
|
49
|
+
groupLabel: string;
|
|
50
|
+
header: string;
|
|
51
|
+
inset: string;
|
|
52
|
+
item: string;
|
|
53
|
+
itemIcon: string;
|
|
54
|
+
itemIndicator: string;
|
|
55
|
+
itemLabel: string;
|
|
56
|
+
itemTooltip: string;
|
|
57
|
+
itemTrailing: string;
|
|
58
|
+
panel: string;
|
|
59
|
+
rail: string;
|
|
60
|
+
railTarget: string;
|
|
61
|
+
separator: string;
|
|
62
|
+
subMenu: string;
|
|
63
|
+
trigger: string;
|
|
64
|
+
}, undefined, {
|
|
65
|
+
collapsible: {
|
|
66
|
+
icon: {
|
|
67
|
+
panel: string;
|
|
68
|
+
};
|
|
69
|
+
none: {
|
|
70
|
+
panel: string;
|
|
71
|
+
};
|
|
72
|
+
offcanvas: {
|
|
73
|
+
panel: string;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
inDrawer: {
|
|
77
|
+
true: {
|
|
78
|
+
panel: string;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
isCollapsible: {
|
|
82
|
+
true: {
|
|
83
|
+
subMenu: string;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
isResizable: {
|
|
87
|
+
true: {
|
|
88
|
+
rail: string;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
isSub: {
|
|
92
|
+
true: {
|
|
93
|
+
item: string;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
side: {
|
|
97
|
+
left: {
|
|
98
|
+
base: string;
|
|
99
|
+
panel: string;
|
|
100
|
+
};
|
|
101
|
+
right: {
|
|
102
|
+
base: string;
|
|
103
|
+
panel: string;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
}, {
|
|
107
|
+
base: string;
|
|
108
|
+
content: string;
|
|
109
|
+
footer: string;
|
|
110
|
+
group: string;
|
|
111
|
+
groupLabel: string;
|
|
112
|
+
header: string;
|
|
113
|
+
inset: string;
|
|
114
|
+
item: string;
|
|
115
|
+
itemIcon: string;
|
|
116
|
+
itemIndicator: string;
|
|
117
|
+
itemLabel: string;
|
|
118
|
+
itemTooltip: string;
|
|
119
|
+
itemTrailing: string;
|
|
120
|
+
panel: string;
|
|
121
|
+
rail: string;
|
|
122
|
+
railTarget: string;
|
|
123
|
+
separator: string;
|
|
124
|
+
subMenu: string;
|
|
125
|
+
trigger: string;
|
|
126
|
+
}, import("tailwind-variants").TVReturnTypeLike<{
|
|
127
|
+
collapsible: {
|
|
128
|
+
icon: {
|
|
129
|
+
panel: string;
|
|
130
|
+
};
|
|
131
|
+
none: {
|
|
132
|
+
panel: string;
|
|
133
|
+
};
|
|
134
|
+
offcanvas: {
|
|
135
|
+
panel: string;
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
inDrawer: {
|
|
139
|
+
true: {
|
|
140
|
+
panel: string;
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
isCollapsible: {
|
|
144
|
+
true: {
|
|
145
|
+
subMenu: string;
|
|
146
|
+
};
|
|
147
|
+
};
|
|
148
|
+
isResizable: {
|
|
149
|
+
true: {
|
|
150
|
+
rail: string;
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
isSub: {
|
|
154
|
+
true: {
|
|
155
|
+
item: string;
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
side: {
|
|
159
|
+
left: {
|
|
160
|
+
base: string;
|
|
161
|
+
panel: string;
|
|
162
|
+
};
|
|
163
|
+
right: {
|
|
164
|
+
base: string;
|
|
165
|
+
panel: string;
|
|
166
|
+
};
|
|
167
|
+
};
|
|
168
|
+
}, {
|
|
169
|
+
base: string;
|
|
170
|
+
content: string;
|
|
171
|
+
footer: string;
|
|
172
|
+
group: string;
|
|
173
|
+
groupLabel: string;
|
|
174
|
+
header: string;
|
|
175
|
+
inset: string;
|
|
176
|
+
item: string;
|
|
177
|
+
itemIcon: string;
|
|
178
|
+
itemIndicator: string;
|
|
179
|
+
itemLabel: string;
|
|
180
|
+
itemTooltip: string;
|
|
181
|
+
itemTrailing: string;
|
|
182
|
+
panel: string;
|
|
183
|
+
rail: string;
|
|
184
|
+
railTarget: string;
|
|
185
|
+
separator: string;
|
|
186
|
+
subMenu: string;
|
|
187
|
+
trigger: string;
|
|
188
|
+
}>>;
|
|
189
|
+
export type SidebarVariants = VariantProps<typeof sidebarVariants>;
|
|
190
|
+
//# sourceMappingURL=sidebar.styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sidebar.styles.d.ts","sourceRoot":"","sources":["../../../src/components/sidebar/sidebar.styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AActD,eAAO,MAAM,eAAe;;QA4BtB,IAAI;YACF,KAAK;;QAEP,IAAI;YACF,KAAK;;QAEP,SAAS;YACP,KAAK;;;;QAMP,IAAI;YACF,KAAK;;;;QAMP,IAAI;YACF,OAAO;;;;QAMT,IAAI;YACF,IAAI;;;;QAMN,IAAI;YACF,IAAI;;;;QAIN,IAAI;YACF,IAAI;YACJ,KAAK;;QAEP,KAAK;YACH,IAAI;YACJ,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAIX,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,YAAY,CAAC,OAAO,eAAe,CAAC,CAAC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { tv } from "tailwind-variants";
|
|
2
|
+
//#region src/components/sidebar/sidebar.styles.ts
|
|
3
|
+
const sidebarVariants = tv({
|
|
4
|
+
defaultVariants: {
|
|
5
|
+
collapsible: "icon",
|
|
6
|
+
side: "left"
|
|
7
|
+
},
|
|
8
|
+
slots: {
|
|
9
|
+
base: "sidebar",
|
|
10
|
+
content: "sidebar__content",
|
|
11
|
+
footer: "sidebar__footer",
|
|
12
|
+
group: "sidebar__group",
|
|
13
|
+
groupLabel: "sidebar__group-label",
|
|
14
|
+
header: "sidebar__header",
|
|
15
|
+
inset: "sidebar__inset",
|
|
16
|
+
item: "sidebar__item",
|
|
17
|
+
itemIcon: "sidebar__item-icon",
|
|
18
|
+
itemIndicator: "sidebar__item-indicator",
|
|
19
|
+
itemLabel: "sidebar__item-label",
|
|
20
|
+
itemTooltip: "sidebar__item-tooltip",
|
|
21
|
+
itemTrailing: "sidebar__item-trailing",
|
|
22
|
+
panel: "sidebar__panel",
|
|
23
|
+
rail: "sidebar__rail",
|
|
24
|
+
railTarget: "sidebar__rail-target",
|
|
25
|
+
separator: "sidebar__separator",
|
|
26
|
+
subMenu: "sidebar__sub-menu",
|
|
27
|
+
trigger: "sidebar__trigger"
|
|
28
|
+
},
|
|
29
|
+
variants: {
|
|
30
|
+
collapsible: {
|
|
31
|
+
icon: { panel: "sidebar__panel--icon" },
|
|
32
|
+
none: { panel: "sidebar__panel--none" },
|
|
33
|
+
offcanvas: { panel: "sidebar__panel--offcanvas" }
|
|
34
|
+
},
|
|
35
|
+
inDrawer: { true: { panel: "sidebar__panel--drawer" } },
|
|
36
|
+
isCollapsible: { true: { subMenu: "sidebar__sub-menu--collapsible" } },
|
|
37
|
+
isResizable: { true: { rail: "sidebar__rail--resizable" } },
|
|
38
|
+
isSub: { true: { item: "sidebar__item--sub" } },
|
|
39
|
+
side: {
|
|
40
|
+
left: {
|
|
41
|
+
base: "sidebar--left",
|
|
42
|
+
panel: "sidebar__panel--left"
|
|
43
|
+
},
|
|
44
|
+
right: {
|
|
45
|
+
base: "sidebar--right",
|
|
46
|
+
panel: "sidebar__panel--right"
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
//#endregion
|
|
52
|
+
export { sidebarVariants };
|