@rokkit/themes 1.0.0-next.100 → 1.0.0-next.105
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/package.json +9 -23
- package/src/base/alert.css +17 -17
- package/src/base/atoms.css +23 -22
- package/src/base/carousel.css +11 -11
- package/src/base/core.css +23 -31
- package/src/base/layout.css +5 -5
- package/src/base/molecules.css +35 -35
- package/src/base/organisms.css +13 -13
- package/src/base/scrollbar.css +1 -1
- package/src/base/table.css +8 -8
- package/src/base/tree.css +8 -8
- package/src/index.js +1 -1
- package/src/markdown.css +11 -11
- package/src/material/base.css +3 -3
- package/src/material/form.css +4 -4
- package/src/material/input.css +28 -28
- package/src/material/list.css +42 -42
- package/src/minimal/base.css +3 -3
- package/src/minimal/form.css +34 -34
- package/src/minimal/input.css +19 -19
- package/src/minimal/list.css +60 -60
- package/src/minimal/tabs.css +24 -24
- package/src/rokkit/alert.css +2 -2
- package/src/rokkit/atoms.css +12 -12
- package/src/rokkit/carousel.css +12 -12
- package/src/rokkit/input.css +20 -20
- package/src/rokkit/layout.css +8 -8
- package/src/rokkit/molecules.css +46 -46
- package/src/rokkit/organisms.css +118 -118
- package/src/rokkit/table.css +9 -9
- package/src/rokkit/toggle.css +9 -9
- package/LICENSE +0 -21
package/src/rokkit/organisms.css
CHANGED
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
/*
|
|
2
|
-
.rokkit virtual-list-contents {
|
|
1
|
+
/* rkt-list styles */
|
|
2
|
+
.rokkit rkt-virtual-list-contents {
|
|
3
3
|
@apply flex flex-col;
|
|
4
4
|
@apply gap-1px bg-neutral-inset;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
-
.rokkit list {
|
|
7
|
+
.rokkit rkt-list {
|
|
8
8
|
@apply gap-1px bg-neutral-subtle;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
.rokkit list > item,
|
|
12
|
-
.rokkit virtual-list-contents > virtual-list-item,
|
|
13
|
-
.rokkit accordion div summary {
|
|
14
|
-
@apply
|
|
11
|
+
.rokkit rkt-list > rkt-item,
|
|
12
|
+
.rokkit rkt-virtual-list-contents > rkt-virtual-list-item,
|
|
13
|
+
.rokkit rkt-accordion div summary {
|
|
14
|
+
@apply bg-neutral-base min-h-10 px-4 leading-10 text-neutral-800;
|
|
15
15
|
}
|
|
16
|
-
.rokkit accordion > div > summary {
|
|
17
|
-
@apply
|
|
16
|
+
.rokkit rkt-accordion > div > summary {
|
|
17
|
+
@apply bg-gradient from-neutral-subtle to-neutral-muted rounded pr-2;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
/* Remove default details marker from summary */
|
|
21
|
-
.rokkit accordion > div > summary::-webkit-details-marker {
|
|
21
|
+
.rokkit rkt-accordion > div > summary::-webkit-details-marker {
|
|
22
22
|
display: none;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
/* Nested
|
|
26
|
-
.rokkit :not(accordion > div) > list {
|
|
27
|
-
@apply rounded
|
|
25
|
+
/* Nested rkt-list and Tree styles */
|
|
26
|
+
.rokkit :not(accordion > div) > rkt-list {
|
|
27
|
+
@apply overflow-y-scroll rounded border border-neutral-400 shadow;
|
|
28
28
|
}
|
|
29
|
-
.rokkit :not(accordion > div) > list item {
|
|
30
|
-
@apply
|
|
29
|
+
.rokkit :not(accordion > div) > rkt-list rkt-item {
|
|
30
|
+
@apply first:rounded-t last:rounded-b;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
.rokkit accordion list item {
|
|
34
|
-
@apply last:rounded-b
|
|
33
|
+
.rokkit rkt-accordion rkt-list rkt-item {
|
|
34
|
+
@apply gap-2 last:rounded-b;
|
|
35
35
|
}
|
|
36
|
-
.rokkit accordion list item > a {
|
|
36
|
+
.rokkit rkt-accordion rkt-list rkt-item > a {
|
|
37
37
|
@apply gap-2;
|
|
38
38
|
}
|
|
39
|
-
.rokkit accordion list {
|
|
39
|
+
.rokkit rkt-accordion rkt-list {
|
|
40
40
|
@apply rounded-b;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
.rokkit accordion .is-expanded list {
|
|
44
|
-
@apply -mt-10 pt-10
|
|
43
|
+
.rokkit rkt-accordion .is-expanded rkt-list {
|
|
44
|
+
@apply -mt-10 rounded-t pt-10;
|
|
45
45
|
}
|
|
46
46
|
/* Styles for 'tabs' class */
|
|
47
47
|
.rokkit tabs {
|
|
48
|
-
@apply border-
|
|
48
|
+
@apply border-neutral-muted gap-1 border-b-2 px-1;
|
|
49
49
|
}
|
|
50
50
|
.rokkit tabs.is-below {
|
|
51
51
|
@apply border-b-0 border-t-2;
|
|
52
52
|
}
|
|
53
53
|
.rokkit tabs:focus-within {
|
|
54
|
-
@apply outline-none
|
|
54
|
+
@apply border-secondary outline-none;
|
|
55
55
|
}
|
|
56
56
|
.rokkit tabs .tab {
|
|
57
|
-
@apply
|
|
57
|
+
@apply bg-neutral-base flex-shrink-0 cursor-pointer items-center gap-3 rounded-t px-3 leading-9;
|
|
58
58
|
}
|
|
59
59
|
.rokkit tabs.is-below .tab {
|
|
60
60
|
@apply rounded-b rounded-t-none;
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
@apply bg-neutral-muted;
|
|
67
67
|
}
|
|
68
68
|
.rokkit tabs:focus-within .tab[aria-selected='true'] {
|
|
69
|
-
@apply bg-gradient-to-b
|
|
69
|
+
@apply from-primary to-secondary bg-gradient-to-b text-white;
|
|
70
70
|
}
|
|
71
71
|
.rokkit tabs.is-below:focus-within .tab[aria-selected='true'] {
|
|
72
72
|
@apply bg-gradient-to-t;
|
|
@@ -75,21 +75,21 @@
|
|
|
75
75
|
/* Styles for 'button' and 'button-group' classes */
|
|
76
76
|
.rokkit button,
|
|
77
77
|
.rokkit .button {
|
|
78
|
-
@apply flex min-h-9 items-center rounded-full px-6
|
|
78
|
+
@apply bg-neutral-muted flex min-h-9 cursor-pointer items-center gap-3 rounded-full px-6 uppercase text-neutral-700;
|
|
79
79
|
animation: button-pop var(--animation-btn, 0.25s) ease-out;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
.rokkit button.is-primary,
|
|
83
83
|
.rokkit .button.is-primary {
|
|
84
|
-
@apply bg-gradient-to-r
|
|
84
|
+
@apply from-primary to-secondary bg-gradient-to-r text-white;
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
.rokkit button-group {
|
|
88
|
-
@apply flex items-center justify-center
|
|
88
|
+
@apply gap-1px m-auto flex items-center justify-center py-1;
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
.rokkit button-group button {
|
|
92
|
-
@apply flex px-2 pt-0.5 uppercase
|
|
92
|
+
@apply flex rounded-none px-2 pt-0.5 uppercase focus:outline-none;
|
|
93
93
|
}
|
|
94
94
|
.rokkit button-group button:first-child {
|
|
95
95
|
@apply rounded-l-full pl-3;
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
.rokkit button-group button.active {
|
|
102
|
-
@apply bg-gradient-to-r
|
|
102
|
+
@apply from-primary to-secondary bg-gradient-to-r text-white;
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
/* Input and Drop-down styles */
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
.rokkit :not(field) > input-select {
|
|
123
|
-
@apply bg-neutral-base border
|
|
123
|
+
@apply bg-neutral-base border-neutral-muted p-2px border;
|
|
124
124
|
}
|
|
125
125
|
.rokkit :not(field) > input-select > selected-item {
|
|
126
126
|
@apply bg-neutral-subtle;
|
|
@@ -128,44 +128,44 @@
|
|
|
128
128
|
.rokkit :not(field) > input-select:focus-within,
|
|
129
129
|
.rokkit drop-down:focus-within > button {
|
|
130
130
|
/* @apply p-2px; */
|
|
131
|
-
@apply
|
|
132
|
-
@apply bg-gradient-to-r
|
|
131
|
+
@apply border-none outline-none;
|
|
132
|
+
@apply from-primary to-secondary bg-gradient-to-r text-white;
|
|
133
133
|
}
|
|
134
134
|
/* .rokkit :not(field) > input-select:focus-within > selected-item,
|
|
135
135
|
.rokkit drop-down:focus-within > button > span {
|
|
136
136
|
@apply bg-neutral-muted outline-none min-h-10;
|
|
137
137
|
} */
|
|
138
138
|
|
|
139
|
-
/* Hover and
|
|
140
|
-
/* .rokkit input-select:hover > icon,
|
|
141
|
-
.rokkit drop-down:hover > icon {
|
|
139
|
+
/* Hover and rkt-icon styles */
|
|
140
|
+
/* .rokkit input-select:hover > rkt-icon,
|
|
141
|
+
.rokkit drop-down:hover > rkt-icon {
|
|
142
142
|
@apply border-neutral;
|
|
143
143
|
} */
|
|
144
144
|
|
|
145
145
|
/* Scroll styles */
|
|
146
146
|
.rokkit input-select scroll,
|
|
147
|
-
.rokkit input-select virtual-list {
|
|
148
|
-
@apply my-1 shadow-lg
|
|
147
|
+
.rokkit input-select rkt-virtual-list {
|
|
148
|
+
@apply my-1 rounded shadow-lg;
|
|
149
149
|
}
|
|
150
150
|
|
|
151
151
|
/* .rokkit input-select > selected-item > items {
|
|
152
152
|
@apply flex-grow flex-wrap gap-2;
|
|
153
153
|
} */
|
|
154
154
|
|
|
155
|
-
/*
|
|
156
|
-
.rokkit accordion {
|
|
155
|
+
/* rkt-accordion styles */
|
|
156
|
+
.rokkit rkt-accordion {
|
|
157
157
|
@apply flex-grow gap-1 overflow-y-scroll;
|
|
158
158
|
}
|
|
159
|
-
.rokkit accordion > div {
|
|
160
|
-
@apply rounded shadow
|
|
159
|
+
.rokkit rkt-accordion > div {
|
|
160
|
+
@apply relative rounded shadow;
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
-
/* Nested
|
|
164
|
-
.rokkit nested-list {
|
|
163
|
+
/* Nested rkt-list and rkt-node styles */
|
|
164
|
+
.rokkit rkt-nested-list {
|
|
165
165
|
@apply text-neutral-800;
|
|
166
166
|
}
|
|
167
|
-
.rokkit nested-list node > div {
|
|
168
|
-
@apply px-2
|
|
167
|
+
.rokkit rkt-nested-list rkt-node > div {
|
|
168
|
+
@apply h-8 px-2;
|
|
169
169
|
}
|
|
170
170
|
|
|
171
171
|
/* Tree styles */
|
|
@@ -173,143 +173,143 @@
|
|
|
173
173
|
@apply rounded;
|
|
174
174
|
}
|
|
175
175
|
|
|
176
|
-
/* Focus styles for Nested
|
|
177
|
-
.rokkit nested-list,
|
|
178
|
-
.rokkit nested-list:focus-within,
|
|
176
|
+
/* Focus styles for Nested rkt-list, Tree, and rkt-accordion */
|
|
177
|
+
.rokkit rkt-nested-list,
|
|
178
|
+
.rokkit rkt-nested-list:focus-within,
|
|
179
179
|
.rokkit tree:focus-within {
|
|
180
|
-
@apply outline-none
|
|
180
|
+
@apply rounded outline-none;
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
-
.rokkit accordion,
|
|
184
|
-
.rokkit list,
|
|
185
|
-
.rokkit virtual-list-viewport {
|
|
183
|
+
.rokkit rkt-accordion,
|
|
184
|
+
.rokkit rkt-list,
|
|
185
|
+
.rokkit rkt-virtual-list-viewport {
|
|
186
186
|
@apply rounded;
|
|
187
187
|
}
|
|
188
188
|
|
|
189
189
|
/* Remove outline from focused elements */
|
|
190
|
-
.rokkit accordion:focus-within list,
|
|
191
|
-
.rokkit drop-down:focus-within list,
|
|
192
|
-
.rokkit input-select:focus-within list,
|
|
193
|
-
.rokkit input-select:focus-within virtual-list-viewport {
|
|
190
|
+
.rokkit rkt-accordion:focus-within rkt-list,
|
|
191
|
+
.rokkit drop-down:focus-within rkt-list,
|
|
192
|
+
.rokkit input-select:focus-within rkt-list,
|
|
193
|
+
.rokkit input-select:focus-within rkt-virtual-list-viewport {
|
|
194
194
|
@apply outline-none focus:outline-none;
|
|
195
195
|
}
|
|
196
196
|
|
|
197
|
-
/* Focus and Hover styles for
|
|
198
|
-
.rokkit list:focus {
|
|
199
|
-
@apply outline outline
|
|
197
|
+
/* Focus and Hover styles for rkt-list and rkt-node */
|
|
198
|
+
.rokkit rkt-list:focus {
|
|
199
|
+
@apply outline-secondary outline;
|
|
200
200
|
}
|
|
201
|
-
/* .rokkit list item.is-hovering, */
|
|
202
|
-
/* .rokkit virtual-list item.is-hovering, */
|
|
203
|
-
.rokkit list item:hover,
|
|
204
|
-
.rokkit virtual-list-contents virtual-list-item:hover,
|
|
205
|
-
.rokkit node > div:hover {
|
|
201
|
+
/* .rokkit rkt-list rkt-item.is-hovering, */
|
|
202
|
+
/* .rokkit rkt-virtual-list rkt-item.is-hovering, */
|
|
203
|
+
.rokkit rkt-list rkt-item:hover,
|
|
204
|
+
.rokkit rkt-virtual-list-contents rkt-virtual-list-item:hover,
|
|
205
|
+
.rokkit rkt-node > div:hover {
|
|
206
206
|
@apply bg-neutral-subtle;
|
|
207
207
|
}
|
|
208
208
|
|
|
209
|
-
/* Selected and Hover styles for
|
|
210
|
-
.rokkit list item[aria-selected='true'] > a {
|
|
209
|
+
/* Selected and Hover styles for rkt-list and rkt-node */
|
|
210
|
+
.rokkit rkt-list rkt-item[aria-selected='true'] > a {
|
|
211
211
|
@apply text-white;
|
|
212
212
|
}
|
|
213
|
-
.rokkit virtual-list-item[aria-current='true'] {
|
|
213
|
+
.rokkit rkt-virtual-list-item[aria-current='true'] {
|
|
214
214
|
@apply bg-neutral-inset text-secondary;
|
|
215
215
|
}
|
|
216
216
|
|
|
217
|
-
/* Expanded and Selected styles for
|
|
218
|
-
.rokkit accordion .is-expanded summary {
|
|
219
|
-
@apply border-
|
|
217
|
+
/* Expanded and Selected styles for rkt-accordion */
|
|
218
|
+
.rokkit rkt-accordion .is-expanded summary {
|
|
219
|
+
@apply border-neutral-muted z-1 sticky top-0 rounded-b-none border-b;
|
|
220
220
|
}
|
|
221
221
|
|
|
222
|
-
.rokkit accordion [aria-selected='true'] summary {
|
|
222
|
+
.rokkit rkt-accordion [aria-selected='true'] summary {
|
|
223
223
|
@apply bg-neutral-subtle;
|
|
224
224
|
}
|
|
225
|
-
.rokkit accordion:focus-within [aria-selected='true'] summary {
|
|
226
|
-
@apply
|
|
225
|
+
.rokkit rkt-accordion:focus-within [aria-selected='true'] summary {
|
|
226
|
+
@apply from-primary to-secondary bg-gradient-to-r text-white outline-none;
|
|
227
227
|
}
|
|
228
228
|
|
|
229
|
-
/* Border styles for
|
|
230
|
-
.rokkit accordion > div {
|
|
231
|
-
@apply border
|
|
229
|
+
/* Border styles for rkt-accordion */
|
|
230
|
+
.rokkit rkt-accordion > div {
|
|
231
|
+
@apply border-neutral-muted border;
|
|
232
232
|
}
|
|
233
233
|
|
|
234
234
|
/* Folder Tree styles */
|
|
235
235
|
.rokkit .folder-tree {
|
|
236
236
|
@apply bg-neutral-inset h-full;
|
|
237
237
|
}
|
|
238
|
-
.rokkit .folder-tree nested-list {
|
|
238
|
+
.rokkit .folder-tree rkt-nested-list {
|
|
239
239
|
@apply bg-neutral-inset h-full;
|
|
240
240
|
}
|
|
241
|
-
.rokkit node > div > item {
|
|
241
|
+
.rokkit rkt-node > div > rkt-item {
|
|
242
242
|
@apply px-1;
|
|
243
243
|
}
|
|
244
|
-
.rokkit node > div > span {
|
|
244
|
+
.rokkit rkt-node > div > span {
|
|
245
245
|
@apply flex-shrink-0;
|
|
246
246
|
}
|
|
247
|
-
.rokkit node > div > span > i {
|
|
247
|
+
.rokkit rkt-node > div > span > i {
|
|
248
248
|
@apply border-neutral-muted;
|
|
249
249
|
}
|
|
250
|
-
.rokkit node > div > icon > i {
|
|
250
|
+
.rokkit rkt-node > div > rkt-icon > i {
|
|
251
251
|
@apply text-neutral-elevated;
|
|
252
252
|
}
|
|
253
253
|
|
|
254
254
|
/* Toggle Switch styles */
|
|
255
|
-
.rokkit toggle
|
|
256
|
-
@apply min-w-12 rounded-full
|
|
257
|
-
@apply bg-neutral-subtle border
|
|
258
|
-
@apply leading-loose
|
|
255
|
+
.rokkit rkt-toggle {
|
|
256
|
+
@apply mx-auto min-w-12 rounded-full;
|
|
257
|
+
@apply bg-neutral-subtle border-neutral-muted border;
|
|
258
|
+
@apply p-2px leading-loose;
|
|
259
259
|
}
|
|
260
|
-
.rokkit toggle
|
|
261
|
-
@apply outline outline
|
|
260
|
+
.rokkit rkt-toggle:focus-within {
|
|
261
|
+
@apply outline-secondary outline;
|
|
262
262
|
}
|
|
263
|
-
.rokkit toggle-
|
|
264
|
-
@apply items-center justify-center px-3
|
|
265
|
-
@apply min-
|
|
263
|
+
.rokkit rkt-toggle rkt-item {
|
|
264
|
+
@apply items-center justify-center gap-1 px-3 py-0 leading-loose;
|
|
265
|
+
@apply min-h-6 min-w-6 cursor-pointer rounded-full;
|
|
266
266
|
}
|
|
267
|
-
.rokkit toggle-
|
|
267
|
+
.rokkit rkt-toggle rkt-item > rkt-icon > i {
|
|
268
268
|
@apply text-lg;
|
|
269
269
|
}
|
|
270
270
|
|
|
271
|
-
.rokkit toggle-
|
|
272
|
-
@apply
|
|
271
|
+
.rokkit rkt-toggle rkt-item[aria-selected='true'] {
|
|
272
|
+
@apply from-neutral-muted to-neutral-muted bg-gradient-to-r;
|
|
273
273
|
}
|
|
274
274
|
|
|
275
|
-
.rokkit toggle
|
|
276
|
-
@apply
|
|
275
|
+
.rokkit rkt-toggle.compact > rkt-item {
|
|
276
|
+
@apply gap-0 px-0;
|
|
277
277
|
}
|
|
278
|
-
.rokkit virtual-list-viewport {
|
|
279
|
-
@apply border box-content border
|
|
278
|
+
.rokkit rkt-virtual-list-viewport {
|
|
279
|
+
@apply border-neutral-inset box-content border;
|
|
280
280
|
}
|
|
281
|
-
.rokkit virtual-list-viewport:focus-within {
|
|
281
|
+
.rokkit rkt-virtual-list-viewport:focus-within {
|
|
282
282
|
@apply outline-none;
|
|
283
283
|
}
|
|
284
|
-
.rokkit virtual-list {
|
|
285
|
-
@apply p-2px
|
|
284
|
+
.rokkit rkt-virtual-list {
|
|
285
|
+
@apply p-2px border-neutral-muted rounded border from-transparent to-transparent;
|
|
286
286
|
}
|
|
287
|
-
.rokkit virtual-list:focus-within {
|
|
288
|
-
@apply bg-gradient-to-r
|
|
287
|
+
.rokkit rkt-virtual-list:focus-within {
|
|
288
|
+
@apply from-primary to-secondary bg-gradient-to-r;
|
|
289
289
|
}
|
|
290
290
|
|
|
291
|
-
.rokkit list item[aria-selected='true'],
|
|
292
|
-
.rokkit virtual-list-contents virtual-list-item[aria-selected='true'],
|
|
293
|
-
.rokkit node[aria-selected='true'] > div {
|
|
294
|
-
@apply
|
|
291
|
+
.rokkit rkt-list rkt-item[aria-selected='true'],
|
|
292
|
+
.rokkit rkt-virtual-list-contents rkt-virtual-list-item[aria-selected='true'],
|
|
293
|
+
.rokkit rkt-node[aria-selected='true'] > div {
|
|
294
|
+
@apply from-neutral-subtle to-neutral-subtle bg-gradient-to-r text-neutral-800;
|
|
295
295
|
}
|
|
296
|
-
/* Focus and Hover styles for Toggle Switch,
|
|
297
|
-
.rokkit toggle
|
|
298
|
-
.rokkit list:focus-within item[aria-selected='true'],
|
|
299
|
-
.rokkit virtual-list-viewport:focus-within virtual-list-item[aria-selected='true'],
|
|
300
|
-
.rokkit tree:focus-within node[aria-selected='true'] > div,
|
|
301
|
-
.rokkit nested-list:focus-within node[aria-selected='true'] > div {
|
|
302
|
-
@apply bg-gradient-to-r
|
|
296
|
+
/* Focus and Hover styles for Toggle Switch, rkt-list, Tree, and Nested rkt-list */
|
|
297
|
+
.rokkit rkt-toggle:focus-within rkt-item[aria-selected='true'],
|
|
298
|
+
.rokkit rkt-list:focus-within rkt-item[aria-selected='true'],
|
|
299
|
+
.rokkit rkt-virtual-list-viewport:focus-within rkt-virtual-list-item[aria-selected='true'],
|
|
300
|
+
.rokkit tree:focus-within rkt-node[aria-selected='true'] > div,
|
|
301
|
+
.rokkit rkt-nested-list:focus-within rkt-node[aria-selected='true'] > div {
|
|
302
|
+
@apply from-primary to-secondary bg-gradient-to-r text-white;
|
|
303
303
|
@apply hover:from-secondary hover:to-primary;
|
|
304
304
|
}
|
|
305
305
|
|
|
306
|
-
.rokkit toggle
|
|
307
|
-
@apply bg-neutral-muted text-neutral-500
|
|
306
|
+
.rokkit rkt-toggle[aria-disabled='true'] {
|
|
307
|
+
@apply bg-neutral-muted cursor-not-allowed text-neutral-500;
|
|
308
308
|
}
|
|
309
|
-
.rokkit input-select > selected-item > items {
|
|
309
|
+
.rokkit rkt-input-select > rkt-selected-item > rkt-items {
|
|
310
310
|
@apply flex-grow flex-wrap gap-2;
|
|
311
311
|
}
|
|
312
312
|
|
|
313
|
-
.rokkit container:focus-within {
|
|
313
|
+
.rokkit rkt-container:focus-within {
|
|
314
314
|
@apply outline-none;
|
|
315
315
|
}
|
package/src/rokkit/table.css
CHANGED
|
@@ -21,17 +21,17 @@ th[data-sortable='true']:hover icon {
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
table {
|
|
24
|
-
@apply w-full text-sm text-
|
|
24
|
+
@apply w-full text-left text-sm text-neutral-700 rtl:text-right;
|
|
25
25
|
}
|
|
26
26
|
table > thead {
|
|
27
|
-
@apply table-header-group text-xs uppercase
|
|
27
|
+
@apply table-header-group bg-neutral-400 text-xs uppercase;
|
|
28
28
|
}
|
|
29
29
|
table > caption {
|
|
30
|
-
@apply table-caption p-5 text-sm font-normal text-
|
|
30
|
+
@apply bg-neutral-subtle table-caption p-5 text-left text-sm font-normal text-neutral-600 rtl:text-right;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
table > tbody > tr {
|
|
34
|
-
@apply
|
|
34
|
+
@apply border-neutral-base bg-neutral-subtle table-row border-b;
|
|
35
35
|
}
|
|
36
36
|
table.striped > tbody > tr:nth-child(even) {
|
|
37
37
|
@apply bg-neutral-inset;
|
|
@@ -43,15 +43,15 @@ table > tfoot > tr {
|
|
|
43
43
|
@apply table-row font-semibold text-neutral-800;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
table-wrapper {
|
|
46
|
+
rkt-table-wrapper {
|
|
47
47
|
@apply shadow-md sm:rounded-lg;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
td cell.cell-type-integer p,
|
|
51
|
-
td cell.cell-type-number p {
|
|
52
|
-
@apply text-right
|
|
50
|
+
td rkt-cell.cell-type-integer p,
|
|
51
|
+
td rkt-cell.cell-type-number p {
|
|
52
|
+
@apply w-full text-right;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
td cell item {
|
|
55
|
+
td rkt-cell rkt-item {
|
|
56
56
|
@apply flex w-full;
|
|
57
57
|
}
|
package/src/rokkit/toggle.css
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
.rokkit toggle {
|
|
2
|
-
@apply flex flex-row items-center gap-3
|
|
3
|
-
@apply rounded-md border
|
|
1
|
+
.rokkit rkt-toggle {
|
|
2
|
+
@apply flex cursor-pointer flex-row items-center gap-3;
|
|
3
|
+
@apply border-neutral-muted rounded-md border p-2;
|
|
4
4
|
}
|
|
5
5
|
|
|
6
|
-
.rokkit toggle:hover > icon {
|
|
6
|
+
.rokkit rkt-toggle:hover > rkt-icon {
|
|
7
7
|
@apply text-secondary;
|
|
8
8
|
}
|
|
9
|
-
.rokkit toggle:focus-within {
|
|
10
|
-
@apply outline-none ring-2
|
|
9
|
+
.rokkit rkt-toggle:focus-within {
|
|
10
|
+
@apply ring-primary-500 outline-none ring-2;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
.rokkit toggle.minimal {
|
|
14
|
-
@apply py-0
|
|
13
|
+
.rokkit rkt-toggle.minimal {
|
|
14
|
+
@apply border-none py-0 focus-within:ring-0;
|
|
15
15
|
}
|
|
16
|
-
.rokkit toggle.minimal icon > i {
|
|
16
|
+
.rokkit rkt-toggle.minimal rkt-icon > i {
|
|
17
17
|
@apply h-4;
|
|
18
18
|
}
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2022 Jerry Thomas
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|