@kushagradhawan/kookie-ui 0.1.105 → 0.1.107
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 +12 -1
- 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/chatbar.css +5 -1
- package/src/components/scroll-area.css +2 -0
- package/src/components/shell.css +12 -0
- package/styles.css +12 -1
package/components.css
CHANGED
|
@@ -13061,6 +13061,7 @@
|
|
|
13061
13061
|
flex-direction: column;
|
|
13062
13062
|
width: 100%;
|
|
13063
13063
|
height: 100%;
|
|
13064
|
+
-webkit-overflow-scrolling: touch;
|
|
13064
13065
|
}
|
|
13065
13066
|
.rt-ScrollAreaViewport:where(:focus-visible) + :where(.rt-ScrollAreaViewportFocusRing) {
|
|
13066
13067
|
position: absolute;
|
|
@@ -17189,6 +17190,8 @@
|
|
|
17189
17190
|
flex-direction: column;
|
|
17190
17191
|
width: 100%;
|
|
17191
17192
|
overflow: hidden;
|
|
17193
|
+
overscroll-behavior: none;
|
|
17194
|
+
position: relative;
|
|
17192
17195
|
}
|
|
17193
17196
|
.rt-ShellRoot:not([style*='height']) {
|
|
17194
17197
|
height: 100vh;
|
|
@@ -17215,6 +17218,7 @@
|
|
|
17215
17218
|
min-height: 0;
|
|
17216
17219
|
overflow: hidden;
|
|
17217
17220
|
position: relative;
|
|
17221
|
+
overscroll-behavior: contain;
|
|
17218
17222
|
}
|
|
17219
17223
|
.rt-ShellLeft {
|
|
17220
17224
|
display: flex;
|
|
@@ -17369,6 +17373,9 @@
|
|
|
17369
17373
|
min-width: 0;
|
|
17370
17374
|
height: 100%;
|
|
17371
17375
|
overflow: auto;
|
|
17376
|
+
-webkit-overflow-scrolling: touch;
|
|
17377
|
+
padding-bottom: env(safe-area-inset-bottom, 0px);
|
|
17378
|
+
overscroll-behavior: contain;
|
|
17372
17379
|
}
|
|
17373
17380
|
.rt-ShellInspector {
|
|
17374
17381
|
display: flex;
|
|
@@ -19969,7 +19976,7 @@
|
|
|
19969
19976
|
min-width: 0;
|
|
19970
19977
|
resize: none;
|
|
19971
19978
|
border: 0;
|
|
19972
|
-
outline:
|
|
19979
|
+
outline: none;
|
|
19973
19980
|
background: transparent;
|
|
19974
19981
|
padding: 0;
|
|
19975
19982
|
margin: 0;
|
|
@@ -19979,6 +19986,10 @@
|
|
|
19979
19986
|
text-align: start;
|
|
19980
19987
|
transition: height 150ms ease-out;
|
|
19981
19988
|
}
|
|
19989
|
+
.rt-ChatbarInput:focus,
|
|
19990
|
+
.rt-ChatbarInput:focus-visible {
|
|
19991
|
+
outline: none;
|
|
19992
|
+
}
|
|
19982
19993
|
.rt-ChatbarBox :where(.rt-ChatbarGrid) {
|
|
19983
19994
|
display: flex;
|
|
19984
19995
|
flex-direction: column;
|
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-06T09:27:24.138Z",
|
|
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-06T09:27:24.144Z",
|
|
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-06T09:27:24.145Z",
|
|
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-06T09:27:24.148Z",
|
|
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-06T09:27:24.138Z",
|
|
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-06T09:27:24.144Z",
|
|
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-06T09:27:24.145Z",
|
|
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-06T09:27:24.147Z",
|
|
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-06T09:27:24.148Z",
|
|
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-06T09:27:24.147Z",
|
|
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-06T09:27:24.148Z",
|
|
325
325
|
"source": "Zod schema"
|
|
326
326
|
}
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
min-width: 0;
|
|
19
19
|
resize: none;
|
|
20
20
|
border: 0;
|
|
21
|
-
outline:
|
|
21
|
+
outline: none;
|
|
22
22
|
background: transparent;
|
|
23
23
|
padding: 0;
|
|
24
24
|
margin: 0;
|
|
@@ -28,6 +28,10 @@
|
|
|
28
28
|
text-align: start;
|
|
29
29
|
transition: height 150ms ease-out;
|
|
30
30
|
}
|
|
31
|
+
.rt-ChatbarInput:focus,
|
|
32
|
+
.rt-ChatbarInput:focus-visible {
|
|
33
|
+
outline: none;
|
|
34
|
+
}
|
|
31
35
|
|
|
32
36
|
/* Main container - flex layout */
|
|
33
37
|
.rt-ChatbarBox :where(.rt-ChatbarGrid) {
|
package/src/components/shell.css
CHANGED
|
@@ -13,6 +13,10 @@
|
|
|
13
13
|
flex-direction: column;
|
|
14
14
|
width: 100%;
|
|
15
15
|
overflow: hidden;
|
|
16
|
+
/* Prevent scroll chaining to parent/body on iOS */
|
|
17
|
+
overscroll-behavior: none;
|
|
18
|
+
/* Ensure Shell is the scroll boundary */
|
|
19
|
+
position: relative;
|
|
16
20
|
}
|
|
17
21
|
|
|
18
22
|
/* Default height when no height prop is provided */
|
|
@@ -46,6 +50,8 @@
|
|
|
46
50
|
min-height: 0;
|
|
47
51
|
overflow: hidden;
|
|
48
52
|
position: relative; /* enable absolute positioning for peek overlays */
|
|
53
|
+
/* Prevent scroll chaining on iOS */
|
|
54
|
+
overscroll-behavior: contain;
|
|
49
55
|
}
|
|
50
56
|
|
|
51
57
|
/* Left container - holds Rail, Panel, or Sidebar */
|
|
@@ -272,6 +278,12 @@
|
|
|
272
278
|
min-width: 0;
|
|
273
279
|
height: 100%;
|
|
274
280
|
overflow: auto;
|
|
281
|
+
/* iOS momentum scrolling */
|
|
282
|
+
-webkit-overflow-scrolling: touch;
|
|
283
|
+
/* iOS safe area support */
|
|
284
|
+
padding-bottom: env(safe-area-inset-bottom, 0px);
|
|
285
|
+
/* Prevent overscroll bounce from triggering parent scroll */
|
|
286
|
+
overscroll-behavior: contain;
|
|
275
287
|
}
|
|
276
288
|
|
|
277
289
|
/* Inspector - right-side panel */
|
package/styles.css
CHANGED
|
@@ -18072,6 +18072,7 @@
|
|
|
18072
18072
|
flex-direction: column;
|
|
18073
18073
|
width: 100%;
|
|
18074
18074
|
height: 100%;
|
|
18075
|
+
-webkit-overflow-scrolling: touch;
|
|
18075
18076
|
}
|
|
18076
18077
|
.rt-ScrollAreaViewport:where(:focus-visible) + :where(.rt-ScrollAreaViewportFocusRing){
|
|
18077
18078
|
position: absolute;
|
|
@@ -22200,6 +22201,8 @@
|
|
|
22200
22201
|
flex-direction: column;
|
|
22201
22202
|
width: 100%;
|
|
22202
22203
|
overflow: hidden;
|
|
22204
|
+
overscroll-behavior: none;
|
|
22205
|
+
position: relative;
|
|
22203
22206
|
}
|
|
22204
22207
|
.rt-ShellRoot:not([style*='height']){
|
|
22205
22208
|
height: 100vh;
|
|
@@ -22226,6 +22229,7 @@
|
|
|
22226
22229
|
min-height: 0;
|
|
22227
22230
|
overflow: hidden;
|
|
22228
22231
|
position: relative;
|
|
22232
|
+
overscroll-behavior: contain;
|
|
22229
22233
|
}
|
|
22230
22234
|
.rt-ShellLeft{
|
|
22231
22235
|
display: flex;
|
|
@@ -22380,6 +22384,9 @@
|
|
|
22380
22384
|
min-width: 0;
|
|
22381
22385
|
height: 100%;
|
|
22382
22386
|
overflow: auto;
|
|
22387
|
+
-webkit-overflow-scrolling: touch;
|
|
22388
|
+
padding-bottom: env(safe-area-inset-bottom, 0px);
|
|
22389
|
+
overscroll-behavior: contain;
|
|
22383
22390
|
}
|
|
22384
22391
|
.rt-ShellInspector{
|
|
22385
22392
|
display: flex;
|
|
@@ -24980,7 +24987,7 @@
|
|
|
24980
24987
|
min-width: 0;
|
|
24981
24988
|
resize: none;
|
|
24982
24989
|
border: 0;
|
|
24983
|
-
outline:
|
|
24990
|
+
outline: none;
|
|
24984
24991
|
background: transparent;
|
|
24985
24992
|
padding: 0;
|
|
24986
24993
|
margin: 0;
|
|
@@ -24990,6 +24997,10 @@
|
|
|
24990
24997
|
text-align: start;
|
|
24991
24998
|
transition: height 150ms ease-out;
|
|
24992
24999
|
}
|
|
25000
|
+
.rt-ChatbarInput:focus,
|
|
25001
|
+
.rt-ChatbarInput:focus-visible{
|
|
25002
|
+
outline: none;
|
|
25003
|
+
}
|
|
24993
25004
|
.rt-ChatbarBox :where(.rt-ChatbarGrid){
|
|
24994
25005
|
display: flex;
|
|
24995
25006
|
flex-direction: column;
|