@kushagradhawan/kookie-ui 0.1.102 → 0.1.104
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/components.css +64 -4
- package/package.json +1 -1
- package/schemas/base-button.json +1 -1
- package/schemas/button.json +1 -1
- package/schemas/icon-button.json +1 -1
- package/schemas/index.json +6 -6
- package/schemas/toggle-button.json +1 -1
- package/schemas/toggle-icon-button.json +1 -1
- package/src/components/_internal/base-menu.css +0 -6
- package/src/components/chatbar.css +13 -0
- package/styles.css +64 -4
package/components.css
CHANGED
|
@@ -7057,10 +7057,6 @@
|
|
|
7057
7057
|
user-select: none;
|
|
7058
7058
|
cursor: var(--cursor-menu-item);
|
|
7059
7059
|
}
|
|
7060
|
-
.rt-BaseMenuItem:where(:focus-visible) {
|
|
7061
|
-
outline: 2px solid var(--focus-8);
|
|
7062
|
-
outline-offset: -2px;
|
|
7063
|
-
}
|
|
7064
7060
|
@media (prefers-reduced-motion: reduce) {
|
|
7065
7061
|
.rt-BaseMenuItem {
|
|
7066
7062
|
transition: none;
|
|
@@ -20405,6 +20401,70 @@
|
|
|
20405
20401
|
min-height: 80px;
|
|
20406
20402
|
}
|
|
20407
20403
|
}
|
|
20404
|
+
.rt-ChatbarRoot:where([data-state='closed'].rt-r-size-1) .rt-ChatbarBox {
|
|
20405
|
+
border-radius: min(var(--radius-5), calc(var(--radius-1) + var(--space-1)));
|
|
20406
|
+
}
|
|
20407
|
+
.rt-ChatbarRoot:where([data-state='closed'].rt-r-size-2) .rt-ChatbarBox {
|
|
20408
|
+
border-radius: min(var(--radius-6), calc(var(--radius-2) + var(--space-2)));
|
|
20409
|
+
}
|
|
20410
|
+
.rt-ChatbarRoot:where([data-state='closed'].rt-r-size-3) .rt-ChatbarBox {
|
|
20411
|
+
border-radius: min(var(--radius-6), calc(var(--radius-2) + var(--space-2)));
|
|
20412
|
+
}
|
|
20413
|
+
@media (min-width: 520px) {
|
|
20414
|
+
.rt-ChatbarRoot:where([data-state='closed'].xs\:rt-r-size-1) .rt-ChatbarBox {
|
|
20415
|
+
border-radius: min(var(--radius-5), calc(var(--radius-1) + var(--space-1)));
|
|
20416
|
+
}
|
|
20417
|
+
.rt-ChatbarRoot:where([data-state='closed'].xs\:rt-r-size-2) .rt-ChatbarBox {
|
|
20418
|
+
border-radius: min(var(--radius-6), calc(var(--radius-2) + var(--space-2)));
|
|
20419
|
+
}
|
|
20420
|
+
.rt-ChatbarRoot:where([data-state='closed'].xs\:rt-r-size-3) .rt-ChatbarBox {
|
|
20421
|
+
border-radius: min(var(--radius-6), calc(var(--radius-2) + var(--space-2)));
|
|
20422
|
+
}
|
|
20423
|
+
}
|
|
20424
|
+
@media (min-width: 768px) {
|
|
20425
|
+
.rt-ChatbarRoot:where([data-state='closed'].sm\:rt-r-size-1) .rt-ChatbarBox {
|
|
20426
|
+
border-radius: min(var(--radius-5), calc(var(--radius-1) + var(--space-1)));
|
|
20427
|
+
}
|
|
20428
|
+
.rt-ChatbarRoot:where([data-state='closed'].sm\:rt-r-size-2) .rt-ChatbarBox {
|
|
20429
|
+
border-radius: min(var(--radius-6), calc(var(--radius-2) + var(--space-2)));
|
|
20430
|
+
}
|
|
20431
|
+
.rt-ChatbarRoot:where([data-state='closed'].sm\:rt-r-size-3) .rt-ChatbarBox {
|
|
20432
|
+
border-radius: min(var(--radius-6), calc(var(--radius-2) + var(--space-2)));
|
|
20433
|
+
}
|
|
20434
|
+
}
|
|
20435
|
+
@media (min-width: 1024px) {
|
|
20436
|
+
.rt-ChatbarRoot:where([data-state='closed'].md\:rt-r-size-1) .rt-ChatbarBox {
|
|
20437
|
+
border-radius: min(var(--radius-5), calc(var(--radius-1) + var(--space-1)));
|
|
20438
|
+
}
|
|
20439
|
+
.rt-ChatbarRoot:where([data-state='closed'].md\:rt-r-size-2) .rt-ChatbarBox {
|
|
20440
|
+
border-radius: min(var(--radius-6), calc(var(--radius-2) + var(--space-2)));
|
|
20441
|
+
}
|
|
20442
|
+
.rt-ChatbarRoot:where([data-state='closed'].md\:rt-r-size-3) .rt-ChatbarBox {
|
|
20443
|
+
border-radius: min(var(--radius-6), calc(var(--radius-2) + var(--space-2)));
|
|
20444
|
+
}
|
|
20445
|
+
}
|
|
20446
|
+
@media (min-width: 1280px) {
|
|
20447
|
+
.rt-ChatbarRoot:where([data-state='closed'].lg\:rt-r-size-1) .rt-ChatbarBox {
|
|
20448
|
+
border-radius: min(var(--radius-5), calc(var(--radius-1) + var(--space-1)));
|
|
20449
|
+
}
|
|
20450
|
+
.rt-ChatbarRoot:where([data-state='closed'].lg\:rt-r-size-2) .rt-ChatbarBox {
|
|
20451
|
+
border-radius: min(var(--radius-6), calc(var(--radius-2) + var(--space-2)));
|
|
20452
|
+
}
|
|
20453
|
+
.rt-ChatbarRoot:where([data-state='closed'].lg\:rt-r-size-3) .rt-ChatbarBox {
|
|
20454
|
+
border-radius: min(var(--radius-6), calc(var(--radius-2) + var(--space-2)));
|
|
20455
|
+
}
|
|
20456
|
+
}
|
|
20457
|
+
@media (min-width: 1640px) {
|
|
20458
|
+
.rt-ChatbarRoot:where([data-state='closed'].xl\:rt-r-size-1) .rt-ChatbarBox {
|
|
20459
|
+
border-radius: min(var(--radius-5), calc(var(--radius-1) + var(--space-1)));
|
|
20460
|
+
}
|
|
20461
|
+
.rt-ChatbarRoot:where([data-state='closed'].xl\:rt-r-size-2) .rt-ChatbarBox {
|
|
20462
|
+
border-radius: min(var(--radius-6), calc(var(--radius-2) + var(--space-2)));
|
|
20463
|
+
}
|
|
20464
|
+
.rt-ChatbarRoot:where([data-state='closed'].xl\:rt-r-size-3) .rt-ChatbarBox {
|
|
20465
|
+
border-radius: min(var(--radius-6), calc(var(--radius-2) + var(--space-2)));
|
|
20466
|
+
}
|
|
20467
|
+
}
|
|
20408
20468
|
.rt-ChatbarBox:where(.rt-variant-outline) {
|
|
20409
20469
|
--text-area-selection-color: var(--focus-a5);
|
|
20410
20470
|
--text-area-focus-color: var(--focus-9);
|
package/package.json
CHANGED
package/schemas/base-button.json
CHANGED
|
@@ -279,6 +279,6 @@
|
|
|
279
279
|
"title": "Base-button Component Props",
|
|
280
280
|
"description": "Props schema for the base-button component in Kookie UI",
|
|
281
281
|
"version": "1.0.0",
|
|
282
|
-
"generatedAt": "2026-01-
|
|
282
|
+
"generatedAt": "2026-01-05T18:44:44.223Z",
|
|
283
283
|
"source": "Zod schema"
|
|
284
284
|
}
|
package/schemas/button.json
CHANGED
|
@@ -530,6 +530,6 @@
|
|
|
530
530
|
"title": "Button Component Props",
|
|
531
531
|
"description": "Props schema for the button component in Kookie UI",
|
|
532
532
|
"version": "1.0.0",
|
|
533
|
-
"generatedAt": "2026-01-
|
|
533
|
+
"generatedAt": "2026-01-05T18:44:44.229Z",
|
|
534
534
|
"source": "Zod schema"
|
|
535
535
|
}
|
package/schemas/icon-button.json
CHANGED
|
@@ -313,6 +313,6 @@
|
|
|
313
313
|
"title": "Icon-button Component Props",
|
|
314
314
|
"description": "Props schema for the icon-button component in Kookie UI",
|
|
315
315
|
"version": "1.0.0",
|
|
316
|
-
"generatedAt": "2026-01-
|
|
316
|
+
"generatedAt": "2026-01-05T18:44:44.230Z",
|
|
317
317
|
"source": "Zod schema"
|
|
318
318
|
}
|
package/schemas/index.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"title": "Kookie UI Button Components",
|
|
4
4
|
"description": "Complete JSON Schema collection for all button components in Kookie UI",
|
|
5
5
|
"version": "1.0.0",
|
|
6
|
-
"generatedAt": "2026-01-
|
|
6
|
+
"generatedAt": "2026-01-05T18:44:44.233Z",
|
|
7
7
|
"source": "Zod schemas",
|
|
8
8
|
"components": {
|
|
9
9
|
"base-button": {
|
|
@@ -287,7 +287,7 @@
|
|
|
287
287
|
"title": "Base-button Component Props",
|
|
288
288
|
"description": "Props schema for the base-button component in Kookie UI",
|
|
289
289
|
"version": "1.0.0",
|
|
290
|
-
"generatedAt": "2026-01-
|
|
290
|
+
"generatedAt": "2026-01-05T18:44:44.223Z",
|
|
291
291
|
"source": "Zod schema"
|
|
292
292
|
},
|
|
293
293
|
"button": {
|
|
@@ -822,7 +822,7 @@
|
|
|
822
822
|
"title": "Button Component Props",
|
|
823
823
|
"description": "Props schema for the button component in Kookie UI",
|
|
824
824
|
"version": "1.0.0",
|
|
825
|
-
"generatedAt": "2026-01-
|
|
825
|
+
"generatedAt": "2026-01-05T18:44:44.229Z",
|
|
826
826
|
"source": "Zod schema"
|
|
827
827
|
},
|
|
828
828
|
"icon-button": {
|
|
@@ -1140,7 +1140,7 @@
|
|
|
1140
1140
|
"title": "Icon-button Component Props",
|
|
1141
1141
|
"description": "Props schema for the icon-button component in Kookie UI",
|
|
1142
1142
|
"version": "1.0.0",
|
|
1143
|
-
"generatedAt": "2026-01-
|
|
1143
|
+
"generatedAt": "2026-01-05T18:44:44.230Z",
|
|
1144
1144
|
"source": "Zod schema"
|
|
1145
1145
|
},
|
|
1146
1146
|
"toggle-button": {
|
|
@@ -1683,7 +1683,7 @@
|
|
|
1683
1683
|
"title": "Toggle-button Component Props",
|
|
1684
1684
|
"description": "Props schema for the toggle-button component in Kookie UI",
|
|
1685
1685
|
"version": "1.0.0",
|
|
1686
|
-
"generatedAt": "2026-01-
|
|
1686
|
+
"generatedAt": "2026-01-05T18:44:44.232Z",
|
|
1687
1687
|
"source": "Zod schema"
|
|
1688
1688
|
},
|
|
1689
1689
|
"toggle-icon-button": {
|
|
@@ -2009,7 +2009,7 @@
|
|
|
2009
2009
|
"title": "Toggle-icon-button Component Props",
|
|
2010
2010
|
"description": "Props schema for the toggle-icon-button component in Kookie UI",
|
|
2011
2011
|
"version": "1.0.0",
|
|
2012
|
-
"generatedAt": "2026-01-
|
|
2012
|
+
"generatedAt": "2026-01-05T18:44:44.233Z",
|
|
2013
2013
|
"source": "Zod schema"
|
|
2014
2014
|
}
|
|
2015
2015
|
}
|
|
@@ -538,6 +538,6 @@
|
|
|
538
538
|
"title": "Toggle-button Component Props",
|
|
539
539
|
"description": "Props schema for the toggle-button component in Kookie UI",
|
|
540
540
|
"version": "1.0.0",
|
|
541
|
-
"generatedAt": "2026-01-
|
|
541
|
+
"generatedAt": "2026-01-05T18:44:44.232Z",
|
|
542
542
|
"source": "Zod schema"
|
|
543
543
|
}
|
|
@@ -321,6 +321,6 @@
|
|
|
321
321
|
"title": "Toggle-icon-button Component Props",
|
|
322
322
|
"description": "Props schema for the toggle-icon-button component in Kookie UI",
|
|
323
323
|
"version": "1.0.0",
|
|
324
|
-
"generatedAt": "2026-01-
|
|
324
|
+
"generatedAt": "2026-01-05T18:44:44.233Z",
|
|
325
325
|
"source": "Zod schema"
|
|
326
326
|
}
|
|
@@ -79,12 +79,6 @@
|
|
|
79
79
|
cursor: default;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
/* Focus-visible support */
|
|
83
|
-
&:where(:focus-visible) {
|
|
84
|
-
outline: 2px solid var(--focus-8);
|
|
85
|
-
outline-offset: -2px;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
82
|
/* Enhanced reduced motion support */
|
|
89
83
|
@media (prefers-reduced-motion: reduce) {
|
|
90
84
|
transition: none;
|
|
@@ -215,6 +215,19 @@
|
|
|
215
215
|
}
|
|
216
216
|
}
|
|
217
217
|
|
|
218
|
+
/* Reduced radius when collapsed (scale down by 1) */
|
|
219
|
+
@breakpoints {
|
|
220
|
+
.rt-ChatbarRoot:where([data-state='closed'].rt-r-size-1) .rt-ChatbarBox {
|
|
221
|
+
border-radius: min(var(--radius-5), calc(var(--radius-1) + var(--space-1)));
|
|
222
|
+
}
|
|
223
|
+
.rt-ChatbarRoot:where([data-state='closed'].rt-r-size-2) .rt-ChatbarBox {
|
|
224
|
+
border-radius: min(var(--radius-6), calc(var(--radius-2) + var(--space-2)));
|
|
225
|
+
}
|
|
226
|
+
.rt-ChatbarRoot:where([data-state='closed'].rt-r-size-3) .rt-ChatbarBox {
|
|
227
|
+
border-radius: min(var(--radius-6), calc(var(--radius-2) + var(--space-2)));
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
|
|
218
231
|
/* Variants copied from TextArea */
|
|
219
232
|
/* outline */
|
|
220
233
|
.rt-ChatbarBox:where(.rt-variant-outline) {
|
package/styles.css
CHANGED
|
@@ -12068,10 +12068,6 @@
|
|
|
12068
12068
|
user-select: none;
|
|
12069
12069
|
cursor: var(--cursor-menu-item);
|
|
12070
12070
|
}
|
|
12071
|
-
.rt-BaseMenuItem:where(:focus-visible){
|
|
12072
|
-
outline: 2px solid var(--focus-8);
|
|
12073
|
-
outline-offset: -2px;
|
|
12074
|
-
}
|
|
12075
12071
|
@media (prefers-reduced-motion: reduce) {
|
|
12076
12072
|
.rt-BaseMenuItem{
|
|
12077
12073
|
transition: none;
|
|
@@ -25416,6 +25412,70 @@
|
|
|
25416
25412
|
min-height: 80px;
|
|
25417
25413
|
}
|
|
25418
25414
|
}
|
|
25415
|
+
.rt-ChatbarRoot:where([data-state='closed'].rt-r-size-1) .rt-ChatbarBox{
|
|
25416
|
+
border-radius: min(var(--radius-5), calc(var(--radius-1) + var(--space-1)));
|
|
25417
|
+
}
|
|
25418
|
+
.rt-ChatbarRoot:where([data-state='closed'].rt-r-size-2) .rt-ChatbarBox{
|
|
25419
|
+
border-radius: min(var(--radius-6), calc(var(--radius-2) + var(--space-2)));
|
|
25420
|
+
}
|
|
25421
|
+
.rt-ChatbarRoot:where([data-state='closed'].rt-r-size-3) .rt-ChatbarBox{
|
|
25422
|
+
border-radius: min(var(--radius-6), calc(var(--radius-2) + var(--space-2)));
|
|
25423
|
+
}
|
|
25424
|
+
@media (min-width: 520px){
|
|
25425
|
+
.rt-ChatbarRoot:where([data-state='closed'].xs\:rt-r-size-1) .rt-ChatbarBox{
|
|
25426
|
+
border-radius: min(var(--radius-5), calc(var(--radius-1) + var(--space-1)));
|
|
25427
|
+
}
|
|
25428
|
+
.rt-ChatbarRoot:where([data-state='closed'].xs\:rt-r-size-2) .rt-ChatbarBox{
|
|
25429
|
+
border-radius: min(var(--radius-6), calc(var(--radius-2) + var(--space-2)));
|
|
25430
|
+
}
|
|
25431
|
+
.rt-ChatbarRoot:where([data-state='closed'].xs\:rt-r-size-3) .rt-ChatbarBox{
|
|
25432
|
+
border-radius: min(var(--radius-6), calc(var(--radius-2) + var(--space-2)));
|
|
25433
|
+
}
|
|
25434
|
+
}
|
|
25435
|
+
@media (min-width: 768px){
|
|
25436
|
+
.rt-ChatbarRoot:where([data-state='closed'].sm\:rt-r-size-1) .rt-ChatbarBox{
|
|
25437
|
+
border-radius: min(var(--radius-5), calc(var(--radius-1) + var(--space-1)));
|
|
25438
|
+
}
|
|
25439
|
+
.rt-ChatbarRoot:where([data-state='closed'].sm\:rt-r-size-2) .rt-ChatbarBox{
|
|
25440
|
+
border-radius: min(var(--radius-6), calc(var(--radius-2) + var(--space-2)));
|
|
25441
|
+
}
|
|
25442
|
+
.rt-ChatbarRoot:where([data-state='closed'].sm\:rt-r-size-3) .rt-ChatbarBox{
|
|
25443
|
+
border-radius: min(var(--radius-6), calc(var(--radius-2) + var(--space-2)));
|
|
25444
|
+
}
|
|
25445
|
+
}
|
|
25446
|
+
@media (min-width: 1024px){
|
|
25447
|
+
.rt-ChatbarRoot:where([data-state='closed'].md\:rt-r-size-1) .rt-ChatbarBox{
|
|
25448
|
+
border-radius: min(var(--radius-5), calc(var(--radius-1) + var(--space-1)));
|
|
25449
|
+
}
|
|
25450
|
+
.rt-ChatbarRoot:where([data-state='closed'].md\:rt-r-size-2) .rt-ChatbarBox{
|
|
25451
|
+
border-radius: min(var(--radius-6), calc(var(--radius-2) + var(--space-2)));
|
|
25452
|
+
}
|
|
25453
|
+
.rt-ChatbarRoot:where([data-state='closed'].md\:rt-r-size-3) .rt-ChatbarBox{
|
|
25454
|
+
border-radius: min(var(--radius-6), calc(var(--radius-2) + var(--space-2)));
|
|
25455
|
+
}
|
|
25456
|
+
}
|
|
25457
|
+
@media (min-width: 1280px){
|
|
25458
|
+
.rt-ChatbarRoot:where([data-state='closed'].lg\:rt-r-size-1) .rt-ChatbarBox{
|
|
25459
|
+
border-radius: min(var(--radius-5), calc(var(--radius-1) + var(--space-1)));
|
|
25460
|
+
}
|
|
25461
|
+
.rt-ChatbarRoot:where([data-state='closed'].lg\:rt-r-size-2) .rt-ChatbarBox{
|
|
25462
|
+
border-radius: min(var(--radius-6), calc(var(--radius-2) + var(--space-2)));
|
|
25463
|
+
}
|
|
25464
|
+
.rt-ChatbarRoot:where([data-state='closed'].lg\:rt-r-size-3) .rt-ChatbarBox{
|
|
25465
|
+
border-radius: min(var(--radius-6), calc(var(--radius-2) + var(--space-2)));
|
|
25466
|
+
}
|
|
25467
|
+
}
|
|
25468
|
+
@media (min-width: 1640px){
|
|
25469
|
+
.rt-ChatbarRoot:where([data-state='closed'].xl\:rt-r-size-1) .rt-ChatbarBox{
|
|
25470
|
+
border-radius: min(var(--radius-5), calc(var(--radius-1) + var(--space-1)));
|
|
25471
|
+
}
|
|
25472
|
+
.rt-ChatbarRoot:where([data-state='closed'].xl\:rt-r-size-2) .rt-ChatbarBox{
|
|
25473
|
+
border-radius: min(var(--radius-6), calc(var(--radius-2) + var(--space-2)));
|
|
25474
|
+
}
|
|
25475
|
+
.rt-ChatbarRoot:where([data-state='closed'].xl\:rt-r-size-3) .rt-ChatbarBox{
|
|
25476
|
+
border-radius: min(var(--radius-6), calc(var(--radius-2) + var(--space-2)));
|
|
25477
|
+
}
|
|
25478
|
+
}
|
|
25419
25479
|
.rt-ChatbarBox:where(.rt-variant-outline){
|
|
25420
25480
|
--text-area-selection-color: var(--focus-a5);
|
|
25421
25481
|
--text-area-focus-color: var(--focus-9);
|