@kushagradhawan/kookie-ui 0.1.107 → 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 +8 -0
- 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/sheet.css +12 -0
- package/styles.css +8 -0
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;
|
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-06T09:
|
|
282
|
+
"generatedAt": "2026-01-06T09:52:15.405Z",
|
|
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-06T09:
|
|
533
|
+
"generatedAt": "2026-01-06T09:52:15.411Z",
|
|
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-06T09:
|
|
316
|
+
"generatedAt": "2026-01-06T09:52:15.412Z",
|
|
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-06T09:
|
|
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-06T09:
|
|
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-06T09:
|
|
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-06T09:
|
|
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-06T09:
|
|
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-06T09:
|
|
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-06T09:
|
|
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-06T09:
|
|
324
|
+
"generatedAt": "2026-01-06T09:52:15.415Z",
|
|
325
325
|
"source": "Zod schema"
|
|
326
326
|
}
|
package/src/components/sheet.css
CHANGED
|
@@ -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;
|
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;
|