@kushagradhawan/kookie-ui 0.1.105 → 0.1.108

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 CHANGED
@@ -12948,12 +12948,19 @@
12948
12948
  border-radius: 0 !important;
12949
12949
  will-change: transform;
12950
12950
  }
12951
+ @supports (height: 100dvh) {
12952
+ :where(.rt-SheetContent) {
12953
+ height: 100dvh;
12954
+ max-height: 100dvh;
12955
+ }
12956
+ }
12951
12957
  :where(.rt-SheetContent[data-side='start']) {
12952
12958
  inset-block: 0 !important;
12953
12959
  inset-inline-start: 0 !important;
12954
12960
  margin: 0 !important;
12955
12961
  border-start-start-radius: 0;
12956
12962
  border-end-start-radius: 0;
12963
+ padding-bottom: env(safe-area-inset-bottom, 0px);
12957
12964
  }
12958
12965
  :where(.rt-SheetContent[data-side='end']) {
12959
12966
  inset-block: 0 !important;
@@ -12961,6 +12968,7 @@
12961
12968
  margin: 0 !important;
12962
12969
  border-start-end-radius: 0;
12963
12970
  border-end-end-radius: 0;
12971
+ padding-bottom: env(safe-area-inset-bottom, 0px);
12964
12972
  }
12965
12973
  :where(.rt-SheetContent[data-side='top']) {
12966
12974
  inset-block-start: 0 !important;
@@ -13061,6 +13069,7 @@
13061
13069
  flex-direction: column;
13062
13070
  width: 100%;
13063
13071
  height: 100%;
13072
+ -webkit-overflow-scrolling: touch;
13064
13073
  }
13065
13074
  .rt-ScrollAreaViewport:where(:focus-visible) + :where(.rt-ScrollAreaViewportFocusRing) {
13066
13075
  position: absolute;
@@ -17189,6 +17198,8 @@
17189
17198
  flex-direction: column;
17190
17199
  width: 100%;
17191
17200
  overflow: hidden;
17201
+ overscroll-behavior: none;
17202
+ position: relative;
17192
17203
  }
17193
17204
  .rt-ShellRoot:not([style*='height']) {
17194
17205
  height: 100vh;
@@ -17215,6 +17226,7 @@
17215
17226
  min-height: 0;
17216
17227
  overflow: hidden;
17217
17228
  position: relative;
17229
+ overscroll-behavior: contain;
17218
17230
  }
17219
17231
  .rt-ShellLeft {
17220
17232
  display: flex;
@@ -17369,6 +17381,9 @@
17369
17381
  min-width: 0;
17370
17382
  height: 100%;
17371
17383
  overflow: auto;
17384
+ -webkit-overflow-scrolling: touch;
17385
+ padding-bottom: env(safe-area-inset-bottom, 0px);
17386
+ overscroll-behavior: contain;
17372
17387
  }
17373
17388
  .rt-ShellInspector {
17374
17389
  display: flex;
@@ -19969,7 +19984,7 @@
19969
19984
  min-width: 0;
19970
19985
  resize: none;
19971
19986
  border: 0;
19972
- outline: 0;
19987
+ outline: none;
19973
19988
  background: transparent;
19974
19989
  padding: 0;
19975
19990
  margin: 0;
@@ -19979,6 +19994,10 @@
19979
19994
  text-align: start;
19980
19995
  transition: height 150ms ease-out;
19981
19996
  }
19997
+ .rt-ChatbarInput:focus,
19998
+ .rt-ChatbarInput:focus-visible {
19999
+ outline: none;
20000
+ }
19982
20001
  .rt-ChatbarBox :where(.rt-ChatbarGrid) {
19983
20002
  display: flex;
19984
20003
  flex-direction: column;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kushagradhawan/kookie-ui",
3
- "version": "0.1.105",
3
+ "version": "0.1.108",
4
4
  "description": "A modern React component library with beautiful design tokens, flexible theming, and comprehensive documentation",
5
5
  "keywords": [
6
6
  "react",
@@ -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-05T19:36:34.470Z",
282
+ "generatedAt": "2026-01-06T09:52:15.405Z",
283
283
  "source": "Zod schema"
284
284
  }
@@ -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-05T19:36:34.477Z",
533
+ "generatedAt": "2026-01-06T09:52:15.411Z",
534
534
  "source": "Zod schema"
535
535
  }
@@ -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-05T19:36:34.477Z",
316
+ "generatedAt": "2026-01-06T09:52:15.412Z",
317
317
  "source": "Zod schema"
318
318
  }
@@ -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-05T19:36:34.480Z",
6
+ "generatedAt": "2026-01-06T09:52:15.415Z",
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-05T19:36:34.470Z",
290
+ "generatedAt": "2026-01-06T09:52:15.405Z",
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-05T19:36:34.477Z",
825
+ "generatedAt": "2026-01-06T09:52:15.411Z",
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-05T19:36:34.477Z",
1143
+ "generatedAt": "2026-01-06T09:52:15.412Z",
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-05T19:36:34.479Z",
1686
+ "generatedAt": "2026-01-06T09:52:15.414Z",
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-05T19:36:34.480Z",
2012
+ "generatedAt": "2026-01-06T09:52:15.415Z",
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-05T19:36:34.479Z",
541
+ "generatedAt": "2026-01-06T09:52:15.414Z",
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-05T19:36:34.480Z",
324
+ "generatedAt": "2026-01-06T09:52:15.415Z",
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: 0;
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) {
@@ -22,6 +22,8 @@
22
22
  flex-direction: column;
23
23
  width: 100%;
24
24
  height: 100%;
25
+ /* iOS momentum scrolling */
26
+ -webkit-overflow-scrolling: touch;
25
27
 
26
28
  &:where(:focus-visible) + :where(.rt-ScrollAreaViewportFocusRing) {
27
29
  position: absolute;
@@ -10,6 +10,14 @@
10
10
  will-change: transform;
11
11
  }
12
12
 
13
+ /* iOS dynamic viewport height - accounts for browser chrome */
14
+ @supports (height: 100dvh) {
15
+ :where(.rt-SheetContent) {
16
+ height: 100dvh;
17
+ max-height: 100dvh;
18
+ }
19
+ }
20
+
13
21
  /* Logical side anchoring (RTL-aware via logical inset) */
14
22
  :where(.rt-SheetContent[data-side='start']) {
15
23
  inset-block: 0 !important;
@@ -17,6 +25,8 @@
17
25
  margin: 0 !important;
18
26
  border-start-start-radius: 0;
19
27
  border-end-start-radius: 0;
28
+ /* iOS safe area for home indicator */
29
+ padding-bottom: env(safe-area-inset-bottom, 0px);
20
30
  }
21
31
  :where(.rt-SheetContent[data-side='end']) {
22
32
  inset-block: 0 !important;
@@ -24,6 +34,8 @@
24
34
  margin: 0 !important;
25
35
  border-start-end-radius: 0;
26
36
  border-end-end-radius: 0;
37
+ /* iOS safe area for home indicator */
38
+ padding-bottom: env(safe-area-inset-bottom, 0px);
27
39
  }
28
40
  :where(.rt-SheetContent[data-side='top']) {
29
41
  inset-block-start: 0 !important;
@@ -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
@@ -17959,12 +17959,19 @@
17959
17959
  border-radius: 0 !important;
17960
17960
  will-change: transform;
17961
17961
  }
17962
+ @supports (height: 100dvh) {
17963
+ :where(.rt-SheetContent){
17964
+ height: 100dvh;
17965
+ max-height: 100dvh;
17966
+ }
17967
+ }
17962
17968
  :where(.rt-SheetContent[data-side='start']){
17963
17969
  inset-block: 0 !important;
17964
17970
  inset-inline-start: 0 !important;
17965
17971
  margin: 0 !important;
17966
17972
  border-start-start-radius: 0;
17967
17973
  border-end-start-radius: 0;
17974
+ padding-bottom: env(safe-area-inset-bottom, 0px);
17968
17975
  }
17969
17976
  :where(.rt-SheetContent[data-side='end']){
17970
17977
  inset-block: 0 !important;
@@ -17972,6 +17979,7 @@
17972
17979
  margin: 0 !important;
17973
17980
  border-start-end-radius: 0;
17974
17981
  border-end-end-radius: 0;
17982
+ padding-bottom: env(safe-area-inset-bottom, 0px);
17975
17983
  }
17976
17984
  :where(.rt-SheetContent[data-side='top']){
17977
17985
  inset-block-start: 0 !important;
@@ -18072,6 +18080,7 @@
18072
18080
  flex-direction: column;
18073
18081
  width: 100%;
18074
18082
  height: 100%;
18083
+ -webkit-overflow-scrolling: touch;
18075
18084
  }
18076
18085
  .rt-ScrollAreaViewport:where(:focus-visible) + :where(.rt-ScrollAreaViewportFocusRing){
18077
18086
  position: absolute;
@@ -22200,6 +22209,8 @@
22200
22209
  flex-direction: column;
22201
22210
  width: 100%;
22202
22211
  overflow: hidden;
22212
+ overscroll-behavior: none;
22213
+ position: relative;
22203
22214
  }
22204
22215
  .rt-ShellRoot:not([style*='height']){
22205
22216
  height: 100vh;
@@ -22226,6 +22237,7 @@
22226
22237
  min-height: 0;
22227
22238
  overflow: hidden;
22228
22239
  position: relative;
22240
+ overscroll-behavior: contain;
22229
22241
  }
22230
22242
  .rt-ShellLeft{
22231
22243
  display: flex;
@@ -22380,6 +22392,9 @@
22380
22392
  min-width: 0;
22381
22393
  height: 100%;
22382
22394
  overflow: auto;
22395
+ -webkit-overflow-scrolling: touch;
22396
+ padding-bottom: env(safe-area-inset-bottom, 0px);
22397
+ overscroll-behavior: contain;
22383
22398
  }
22384
22399
  .rt-ShellInspector{
22385
22400
  display: flex;
@@ -24980,7 +24995,7 @@
24980
24995
  min-width: 0;
24981
24996
  resize: none;
24982
24997
  border: 0;
24983
- outline: 0;
24998
+ outline: none;
24984
24999
  background: transparent;
24985
25000
  padding: 0;
24986
25001
  margin: 0;
@@ -24990,6 +25005,10 @@
24990
25005
  text-align: start;
24991
25006
  transition: height 150ms ease-out;
24992
25007
  }
25008
+ .rt-ChatbarInput:focus,
25009
+ .rt-ChatbarInput:focus-visible{
25010
+ outline: none;
25011
+ }
24993
25012
  .rt-ChatbarBox :where(.rt-ChatbarGrid){
24994
25013
  display: flex;
24995
25014
  flex-direction: column;