@kushagradhawan/kookie-ui 0.1.127 → 0.1.128

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
@@ -8674,18 +8674,30 @@
8674
8674
  .rt-DropdownMenuDrillDownRoot:where([data-drill-down-active]) > * {
8675
8675
  display: none !important;
8676
8676
  }
8677
- .rt-DropdownMenuDrillDownRoot:where([data-drill-down-active]) > :where(.rt-DropdownMenuDrillDownPanel) {
8677
+ .rt-DropdownMenuDrillDownRoot:where([data-drill-down-active]) :where(.rt-DropdownMenuDrillDownPanel) {
8678
8678
  display: contents !important;
8679
8679
  }
8680
+ .rt-DropdownMenuDrillDownRoot:where([data-drill-down-active]) > :where(.rt-BaseMenuGroup) {
8681
+ display: contents !important;
8682
+ }
8683
+ .rt-DropdownMenuDrillDownRoot:where([data-drill-down-active]) > :where(.rt-BaseMenuGroup) > :where(*:not(.rt-DropdownMenuDrillDownPanel)) {
8684
+ display: none !important;
8685
+ }
8680
8686
  .rt-DropdownMenuDrillDownPanel {
8681
8687
  display: contents;
8682
8688
  }
8683
8689
  .rt-DropdownMenuDrillDownPanel:where(:not([data-drill-down-active])) > * {
8684
8690
  display: none !important;
8685
8691
  }
8686
- .rt-DropdownMenuDrillDownPanel:where(:not([data-drill-down-active])) > :where(.rt-DropdownMenuDrillDownPanel) {
8692
+ .rt-DropdownMenuDrillDownPanel:where(:not([data-drill-down-active])) :where(.rt-DropdownMenuDrillDownPanel) {
8687
8693
  display: contents !important;
8688
8694
  }
8695
+ .rt-DropdownMenuDrillDownPanel:where(:not([data-drill-down-active])) > :where(.rt-BaseMenuGroup) {
8696
+ display: contents !important;
8697
+ }
8698
+ .rt-DropdownMenuDrillDownPanel:where(:not([data-drill-down-active])) > :where(.rt-BaseMenuGroup) > :where(*:not(.rt-DropdownMenuDrillDownPanel)) {
8699
+ display: none !important;
8700
+ }
8689
8701
  .rt-DropdownMenuDrillDownBackItem {
8690
8702
  display: flex;
8691
8703
  align-items: center;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kushagradhawan/kookie-ui",
3
- "version": "0.1.127",
3
+ "version": "0.1.128",
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-12T19:07:54.808Z",
282
+ "generatedAt": "2026-01-13T06:25:06.869Z",
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-12T19:07:54.814Z",
533
+ "generatedAt": "2026-01-13T06:25:06.875Z",
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-12T19:07:54.815Z",
316
+ "generatedAt": "2026-01-13T06:25:06.876Z",
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-12T19:07:54.818Z",
6
+ "generatedAt": "2026-01-13T06:25:06.879Z",
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-12T19:07:54.808Z",
290
+ "generatedAt": "2026-01-13T06:25:06.869Z",
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-12T19:07:54.814Z",
825
+ "generatedAt": "2026-01-13T06:25:06.875Z",
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-12T19:07:54.815Z",
1143
+ "generatedAt": "2026-01-13T06:25:06.876Z",
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-12T19:07:54.817Z",
1686
+ "generatedAt": "2026-01-13T06:25:06.877Z",
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-12T19:07:54.818Z",
2012
+ "generatedAt": "2026-01-13T06:25:06.878Z",
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-12T19:07:54.817Z",
541
+ "generatedAt": "2026-01-13T06:25:06.877Z",
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-12T19:07:54.818Z",
324
+ "generatedAt": "2026-01-13T06:25:06.878Z",
325
325
  "source": "Zod schema"
326
326
  }
@@ -61,11 +61,21 @@
61
61
  display: none !important;
62
62
  }
63
63
 
64
- /* Keep nested panels visible (they use display: contents) */
65
- .rt-DropdownMenuDrillDownRoot:where([data-drill-down-active]) > :where(.rt-DropdownMenuDrillDownPanel) {
64
+ /* Keep nested panels visible (they use display: contents) - uses descendant selector to work with groups */
65
+ .rt-DropdownMenuDrillDownRoot:where([data-drill-down-active]) :where(.rt-DropdownMenuDrillDownPanel) {
66
66
  display: contents !important;
67
67
  }
68
68
 
69
+ /* Keep root-level groups visible so their children (panels) can be shown */
70
+ .rt-DropdownMenuDrillDownRoot:where([data-drill-down-active]) > :where(.rt-BaseMenuGroup) {
71
+ display: contents !important;
72
+ }
73
+
74
+ /* When the root is hidden, groups must also hide their non-panel children */
75
+ .rt-DropdownMenuDrillDownRoot:where([data-drill-down-active]) > :where(.rt-BaseMenuGroup) > :where(*:not(.rt-DropdownMenuDrillDownPanel)) {
76
+ display: none !important;
77
+ }
78
+
69
79
  /* Submenu panel in drill-down mode */
70
80
  .rt-DropdownMenuDrillDownPanel {
71
81
  display: contents;
@@ -76,11 +86,21 @@
76
86
  display: none !important;
77
87
  }
78
88
 
79
- /* But keep nested panels visible (they use display: contents) */
80
- .rt-DropdownMenuDrillDownPanel:where(:not([data-drill-down-active])) > :where(.rt-DropdownMenuDrillDownPanel) {
89
+ /* But keep nested panels visible (they use display: contents) - uses descendant selector to work with groups */
90
+ .rt-DropdownMenuDrillDownPanel:where(:not([data-drill-down-active])) :where(.rt-DropdownMenuDrillDownPanel) {
81
91
  display: contents !important;
82
92
  }
83
93
 
94
+ /* Keep groups visible so their children (panels) can be shown */
95
+ .rt-DropdownMenuDrillDownPanel:where(:not([data-drill-down-active])) > :where(.rt-BaseMenuGroup) {
96
+ display: contents !important;
97
+ }
98
+
99
+ /* When a panel is inactive, groups must also hide their non-panel children */
100
+ .rt-DropdownMenuDrillDownPanel:where(:not([data-drill-down-active])) > :where(.rt-BaseMenuGroup) > :where(*:not(.rt-DropdownMenuDrillDownPanel)) {
101
+ display: none !important;
102
+ }
103
+
84
104
  /* Back button item */
85
105
  .rt-DropdownMenuDrillDownBackItem {
86
106
  display: flex;
package/styles.css CHANGED
@@ -13706,18 +13706,30 @@
13706
13706
  .rt-DropdownMenuDrillDownRoot:where([data-drill-down-active]) > *{
13707
13707
  display: none !important;
13708
13708
  }
13709
- .rt-DropdownMenuDrillDownRoot:where([data-drill-down-active]) > :where(.rt-DropdownMenuDrillDownPanel){
13709
+ .rt-DropdownMenuDrillDownRoot:where([data-drill-down-active]) :where(.rt-DropdownMenuDrillDownPanel){
13710
13710
  display: contents !important;
13711
13711
  }
13712
+ .rt-DropdownMenuDrillDownRoot:where([data-drill-down-active]) > :where(.rt-BaseMenuGroup){
13713
+ display: contents !important;
13714
+ }
13715
+ .rt-DropdownMenuDrillDownRoot:where([data-drill-down-active]) > :where(.rt-BaseMenuGroup) > :where(*:not(.rt-DropdownMenuDrillDownPanel)){
13716
+ display: none !important;
13717
+ }
13712
13718
  .rt-DropdownMenuDrillDownPanel{
13713
13719
  display: contents;
13714
13720
  }
13715
13721
  .rt-DropdownMenuDrillDownPanel:where(:not([data-drill-down-active])) > *{
13716
13722
  display: none !important;
13717
13723
  }
13718
- .rt-DropdownMenuDrillDownPanel:where(:not([data-drill-down-active])) > :where(.rt-DropdownMenuDrillDownPanel){
13724
+ .rt-DropdownMenuDrillDownPanel:where(:not([data-drill-down-active])) :where(.rt-DropdownMenuDrillDownPanel){
13719
13725
  display: contents !important;
13720
13726
  }
13727
+ .rt-DropdownMenuDrillDownPanel:where(:not([data-drill-down-active])) > :where(.rt-BaseMenuGroup){
13728
+ display: contents !important;
13729
+ }
13730
+ .rt-DropdownMenuDrillDownPanel:where(:not([data-drill-down-active])) > :where(.rt-BaseMenuGroup) > :where(*:not(.rt-DropdownMenuDrillDownPanel)){
13731
+ display: none !important;
13732
+ }
13721
13733
  .rt-DropdownMenuDrillDownBackItem{
13722
13734
  display: flex;
13723
13735
  align-items: center;