@k8slens/element-components 3.3.1

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.
Files changed (187) hide show
  1. package/README.md +124 -0
  2. package/dist/index.css +3455 -0
  3. package/dist/index.d.ts +71 -0
  4. package/dist/index.d.ts.map +1 -0
  5. package/dist/index.js +4024 -0
  6. package/dist/src/element-components.performance-test.d.ts +2 -0
  7. package/dist/src/element-components.performance-test.d.ts.map +1 -0
  8. package/dist/src/elements/minimal-div.d.ts +30 -0
  9. package/dist/src/elements/minimal-div.d.ts.map +1 -0
  10. package/dist/src/elements.d.ts +3379 -0
  11. package/dist/src/elements.d.ts.map +1 -0
  12. package/dist/src/feature.d.ts +2 -0
  13. package/dist/src/feature.d.ts.map +1 -0
  14. package/dist/src/plugins/_shared/colors.d.ts +2 -0
  15. package/dist/src/plugins/_shared/colors.d.ts.map +1 -0
  16. package/dist/src/plugins/_shared/directions.d.ts +9 -0
  17. package/dist/src/plugins/_shared/directions.d.ts.map +1 -0
  18. package/dist/src/plugins/_shared/sizes.d.ts +14 -0
  19. package/dist/src/plugins/_shared/sizes.d.ts.map +1 -0
  20. package/dist/src/plugins/absolute/absolute.d.ts +10 -0
  21. package/dist/src/plugins/absolute/absolute.d.ts.map +1 -0
  22. package/dist/src/plugins/anchor/anchor.d.ts +56 -0
  23. package/dist/src/plugins/anchor/anchor.d.ts.map +1 -0
  24. package/dist/src/plugins/area/area.d.ts +15 -0
  25. package/dist/src/plugins/area/area.d.ts.map +1 -0
  26. package/dist/src/plugins/area-content/area-content.d.ts +12 -0
  27. package/dist/src/plugins/area-content/area-content.d.ts.map +1 -0
  28. package/dist/src/plugins/background-color/background-color.d.ts +22 -0
  29. package/dist/src/plugins/background-color/background-color.d.ts.map +1 -0
  30. package/dist/src/plugins/block/block.d.ts +9 -0
  31. package/dist/src/plugins/block/block.d.ts.map +1 -0
  32. package/dist/src/plugins/border/border.d.ts +28 -0
  33. package/dist/src/plugins/border/border.d.ts.map +1 -0
  34. package/dist/src/plugins/border/get-corner-styles.d.ts +10 -0
  35. package/dist/src/plugins/border/get-corner-styles.d.ts.map +1 -0
  36. package/dist/src/plugins/border/get-side-styles.d.ts +9 -0
  37. package/dist/src/plugins/border/get-side-styles.d.ts.map +1 -0
  38. package/dist/src/plugins/border/types.d.ts +9 -0
  39. package/dist/src/plugins/border/types.d.ts.map +1 -0
  40. package/dist/src/plugins/box-shadow/box-shadow.d.ts +9 -0
  41. package/dist/src/plugins/box-shadow/box-shadow.d.ts.map +1 -0
  42. package/dist/src/plugins/class-name/class-name.d.ts +9 -0
  43. package/dist/src/plugins/class-name/class-name.d.ts.map +1 -0
  44. package/dist/src/plugins/clickable/clickable.d.ts +33 -0
  45. package/dist/src/plugins/clickable/clickable.d.ts.map +1 -0
  46. package/dist/src/plugins/clickable/is-mac.injectable.d.ts +10 -0
  47. package/dist/src/plugins/clickable/is-mac.injectable.d.ts.map +1 -0
  48. package/dist/src/plugins/clickable/on-right-trigger.injectable.d.ts +2 -0
  49. package/dist/src/plugins/clickable/on-right-trigger.injectable.d.ts.map +1 -0
  50. package/dist/src/plugins/color/color.d.ts +23 -0
  51. package/dist/src/plugins/color/color.d.ts.map +1 -0
  52. package/dist/src/plugins/cursor/cursor.d.ts +10 -0
  53. package/dist/src/plugins/cursor/cursor.d.ts.map +1 -0
  54. package/dist/src/plugins/display-contents/display-contents.d.ts +9 -0
  55. package/dist/src/plugins/display-contents/display-contents.d.ts.map +1 -0
  56. package/dist/src/plugins/draggable-and-droppable/_shared/dragged-item-state.injectable.d.ts +3 -0
  57. package/dist/src/plugins/draggable-and-droppable/_shared/dragged-item-state.injectable.d.ts.map +1 -0
  58. package/dist/src/plugins/draggable-and-droppable/draggable.d.ts +9 -0
  59. package/dist/src/plugins/draggable-and-droppable/draggable.d.ts.map +1 -0
  60. package/dist/src/plugins/draggable-and-droppable/droppable.d.ts +3 -0
  61. package/dist/src/plugins/draggable-and-droppable/droppable.d.ts.map +1 -0
  62. package/dist/src/plugins/draggable-and-droppable/get-draggable-context.d.ts +18 -0
  63. package/dist/src/plugins/draggable-and-droppable/get-draggable-context.d.ts.map +1 -0
  64. package/dist/src/plugins/draggable-and-droppable/item-being-dragged.injectable.d.ts +9 -0
  65. package/dist/src/plugins/draggable-and-droppable/item-being-dragged.injectable.d.ts.map +1 -0
  66. package/dist/src/plugins/draggable-and-droppable/make-sure-drag-and-drop-events-have-time-to-happen/make-sure-drag-and-drop-events-have-time-to-happen.default-override.d.ts +4 -0
  67. package/dist/src/plugins/draggable-and-droppable/make-sure-drag-and-drop-events-have-time-to-happen/make-sure-drag-and-drop-events-have-time-to-happen.default-override.d.ts.map +1 -0
  68. package/dist/src/plugins/draggable-and-droppable/make-sure-drag-and-drop-events-have-time-to-happen/make-sure-drag-and-drop-events-have-time-to-happen.injectable.d.ts +2 -0
  69. package/dist/src/plugins/draggable-and-droppable/make-sure-drag-and-drop-events-have-time-to-happen/make-sure-drag-and-drop-events-have-time-to-happen.injectable.d.ts.map +1 -0
  70. package/dist/src/plugins/drop-down-menu/drop-down-menu.d.ts +20 -0
  71. package/dist/src/plugins/drop-down-menu/drop-down-menu.d.ts.map +1 -0
  72. package/dist/src/plugins/enabled/enabled.d.ts +20 -0
  73. package/dist/src/plugins/enabled/enabled.d.ts.map +1 -0
  74. package/dist/src/plugins/faded/faded.d.ts +13 -0
  75. package/dist/src/plugins/faded/faded.d.ts.map +1 -0
  76. package/dist/src/plugins/flex/flex.d.ts +28 -0
  77. package/dist/src/plugins/flex/flex.d.ts.map +1 -0
  78. package/dist/src/plugins/flex-child/flex-child.d.ts +24 -0
  79. package/dist/src/plugins/flex-child/flex-child.d.ts.map +1 -0
  80. package/dist/src/plugins/floating/floating.d.ts +24 -0
  81. package/dist/src/plugins/floating/floating.d.ts.map +1 -0
  82. package/dist/src/plugins/focusable/_private/_shared/focusable-event.d.ts +7 -0
  83. package/dist/src/plugins/focusable/_private/_shared/focusable-event.d.ts.map +1 -0
  84. package/dist/src/plugins/focusable/_private/handle-blur.d.ts +6 -0
  85. package/dist/src/plugins/focusable/_private/handle-blur.d.ts.map +1 -0
  86. package/dist/src/plugins/focusable/_private/handle-focus.d.ts +6 -0
  87. package/dist/src/plugins/focusable/_private/handle-focus.d.ts.map +1 -0
  88. package/dist/src/plugins/focusable/_private/use-cleanup-on-unmount.d.ts +4 -0
  89. package/dist/src/plugins/focusable/_private/use-cleanup-on-unmount.d.ts.map +1 -0
  90. package/dist/src/plugins/focusable/_private/use-keyboard-navigation.d.ts +8 -0
  91. package/dist/src/plugins/focusable/_private/use-keyboard-navigation.d.ts.map +1 -0
  92. package/dist/src/plugins/focusable/_private/use-programmatic-focusing.d.ts +4 -0
  93. package/dist/src/plugins/focusable/_private/use-programmatic-focusing.d.ts.map +1 -0
  94. package/dist/src/plugins/focusable/_private/use-update-when-props-change.d.ts +4 -0
  95. package/dist/src/plugins/focusable/_private/use-update-when-props-change.d.ts.map +1 -0
  96. package/dist/src/plugins/focusable/_shared/focusable-html-element-ref-set.injectable.d.ts +6 -0
  97. package/dist/src/plugins/focusable/_shared/focusable-html-element-ref-set.injectable.d.ts.map +1 -0
  98. package/dist/src/plugins/focusable/_shared/focusable-item-state.injectable.d.ts +3 -0
  99. package/dist/src/plugins/focusable/_shared/focusable-item-state.injectable.d.ts.map +1 -0
  100. package/dist/src/plugins/focusable/_shared/keyboard-navigation-state.injectable.d.ts +19 -0
  101. package/dist/src/plugins/focusable/_shared/keyboard-navigation-state.injectable.d.ts.map +1 -0
  102. package/dist/src/plugins/focusable/do-focus.injectable.d.ts +8 -0
  103. package/dist/src/plugins/focusable/do-focus.injectable.d.ts.map +1 -0
  104. package/dist/src/plugins/focusable/focusable.d.ts +27 -0
  105. package/dist/src/plugins/focusable/focusable.d.ts.map +1 -0
  106. package/dist/src/plugins/focusable/get-focusable-context.d.ts +33 -0
  107. package/dist/src/plugins/focusable/get-focusable-context.d.ts.map +1 -0
  108. package/dist/src/plugins/focusable/item-being-focused.injectable.d.ts +9 -0
  109. package/dist/src/plugins/focusable/item-being-focused.injectable.d.ts.map +1 -0
  110. package/dist/src/plugins/font/font.d.ts +32 -0
  111. package/dist/src/plugins/font/font.d.ts.map +1 -0
  112. package/dist/src/plugins/gradient/gradient.d.ts +9 -0
  113. package/dist/src/plugins/gradient/gradient.d.ts.map +1 -0
  114. package/dist/src/plugins/grayscale/grayscale.d.ts +14 -0
  115. package/dist/src/plugins/grayscale/grayscale.d.ts.map +1 -0
  116. package/dist/src/plugins/grid/grid.d.ts +19 -0
  117. package/dist/src/plugins/grid/grid.d.ts.map +1 -0
  118. package/dist/src/plugins/height/height.d.ts +15 -0
  119. package/dist/src/plugins/height/height.d.ts.map +1 -0
  120. package/dist/src/plugins/hidden/hidden.d.ts +9 -0
  121. package/dist/src/plugins/hidden/hidden.d.ts.map +1 -0
  122. package/dist/src/plugins/hoverable/computed-now.injectable.d.ts +12 -0
  123. package/dist/src/plugins/hoverable/computed-now.injectable.d.ts.map +1 -0
  124. package/dist/src/plugins/hoverable/hoverable-by-dragging.d.ts +12 -0
  125. package/dist/src/plugins/hoverable/hoverable-by-dragging.d.ts.map +1 -0
  126. package/dist/src/plugins/hoverable/hoverable.d.ts +27 -0
  127. package/dist/src/plugins/hoverable/hoverable.d.ts.map +1 -0
  128. package/dist/src/plugins/hoverable/hovered-item-state.injectable.d.ts +14 -0
  129. package/dist/src/plugins/hoverable/hovered-item-state.injectable.d.ts.map +1 -0
  130. package/dist/src/plugins/hoverable/item-being-hovered.injectable.d.ts +9 -0
  131. package/dist/src/plugins/hoverable/item-being-hovered.injectable.d.ts.map +1 -0
  132. package/dist/src/plugins/hoverable/local-hoverable/_private/context-is-being-hovered.injectable.d.ts +4 -0
  133. package/dist/src/plugins/hoverable/local-hoverable/_private/context-is-being-hovered.injectable.d.ts.map +1 -0
  134. package/dist/src/plugins/hoverable/local-hoverable/local-hoverable.d.ts +7 -0
  135. package/dist/src/plugins/hoverable/local-hoverable/local-hoverable.d.ts.map +1 -0
  136. package/dist/src/plugins/invisible-backdrop/invisible-backdrop.d.ts +9 -0
  137. package/dist/src/plugins/invisible-backdrop/invisible-backdrop.d.ts.map +1 -0
  138. package/dist/src/plugins/margin/margin.d.ts +18 -0
  139. package/dist/src/plugins/margin/margin.d.ts.map +1 -0
  140. package/dist/src/plugins/no-pointer-events/no-pointer-events.d.ts +9 -0
  141. package/dist/src/plugins/no-pointer-events/no-pointer-events.d.ts.map +1 -0
  142. package/dist/src/plugins/offset/offset.d.ts +17 -0
  143. package/dist/src/plugins/offset/offset.d.ts.map +1 -0
  144. package/dist/src/plugins/offset-children/offset-children.d.ts +17 -0
  145. package/dist/src/plugins/offset-children/offset-children.d.ts.map +1 -0
  146. package/dist/src/plugins/on-outside-click/on-outside-click.d.ts +22 -0
  147. package/dist/src/plugins/on-outside-click/on-outside-click.d.ts.map +1 -0
  148. package/dist/src/plugins/outline/outline.d.ts +21 -0
  149. package/dist/src/plugins/outline/outline.d.ts.map +1 -0
  150. package/dist/src/plugins/overflow/overflow.d.ts +18 -0
  151. package/dist/src/plugins/overflow/overflow.d.ts.map +1 -0
  152. package/dist/src/plugins/padding/padding.d.ts +18 -0
  153. package/dist/src/plugins/padding/padding.d.ts.map +1 -0
  154. package/dist/src/plugins/popover/popover.d.ts +28 -0
  155. package/dist/src/plugins/popover/popover.d.ts.map +1 -0
  156. package/dist/src/plugins/ref/ref.d.ts +13 -0
  157. package/dist/src/plugins/ref/ref.d.ts.map +1 -0
  158. package/dist/src/plugins/ref/type-test.d.ts +3 -0
  159. package/dist/src/plugins/ref/type-test.d.ts.map +1 -0
  160. package/dist/src/plugins/relative/relative.d.ts +11 -0
  161. package/dist/src/plugins/relative/relative.d.ts.map +1 -0
  162. package/dist/src/plugins/size/size.d.ts +17 -0
  163. package/dist/src/plugins/size/size.d.ts.map +1 -0
  164. package/dist/src/plugins/style/style.d.ts +6 -0
  165. package/dist/src/plugins/style/style.d.ts.map +1 -0
  166. package/dist/src/plugins/text-align/text-align.d.ts +9 -0
  167. package/dist/src/plugins/text-align/text-align.d.ts.map +1 -0
  168. package/dist/src/plugins/tint/tint.d.ts +19 -0
  169. package/dist/src/plugins/tint/tint.d.ts.map +1 -0
  170. package/dist/src/plugins/tooltip/tooltip-delay/tooltip-delay.default-override.d.ts +4 -0
  171. package/dist/src/plugins/tooltip/tooltip-delay/tooltip-delay.default-override.d.ts.map +1 -0
  172. package/dist/src/plugins/tooltip/tooltip-delay/tooltip-delay.injectable.d.ts +2 -0
  173. package/dist/src/plugins/tooltip/tooltip-delay/tooltip-delay.injectable.d.ts.map +1 -0
  174. package/dist/src/plugins/tooltip/tooltip.d.ts +64 -0
  175. package/dist/src/plugins/tooltip/tooltip.d.ts.map +1 -0
  176. package/dist/src/plugins/transition/transition.d.ts +9 -0
  177. package/dist/src/plugins/transition/transition.d.ts.map +1 -0
  178. package/dist/src/plugins/visually-hidden/visually-hidden.d.ts +9 -0
  179. package/dist/src/plugins/visually-hidden/visually-hidden.d.ts.map +1 -0
  180. package/dist/src/plugins/width/width.d.ts +15 -0
  181. package/dist/src/plugins/width/width.d.ts.map +1 -0
  182. package/dist/src/remove-css-module-clutter.default-override.d.ts +3 -0
  183. package/dist/src/remove-css-module-clutter.default-override.d.ts.map +1 -0
  184. package/dist/src/test-util-runnable.injectable.d.ts +4 -0
  185. package/dist/src/test-util-runnable.injectable.d.ts.map +1 -0
  186. package/dist/tsconfig.tsbuildinfo +1 -0
  187. package/package.json +72 -0
@@ -0,0 +1,7 @@
1
+ import { type MutableRefObject } from "react";
2
+ export declare const useLocalHoverable: <Elem extends HTMLElement>() => {
3
+ ref: import("react").RefObject<Elem | null>;
4
+ context: import("../hoverable").$HoverableProps<MutableRefObject<Elem | null>>;
5
+ componentIsHovered: import("mobx").IComputedValue<boolean>;
6
+ };
7
+ //# sourceMappingURL=local-hoverable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"local-hoverable.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/hoverable/local-hoverable/local-hoverable.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,gBAAgB,EAAmB,MAAM,OAAO,CAAC;AAG/D,eAAO,MAAM,iBAAiB,GAAI,IAAI,SAAS,WAAW;;;;CAUzD,CAAC"}
@@ -0,0 +1,9 @@
1
+ export type InvisibleBackdropPluginProps = {
2
+ $invisibleBackdrop?: boolean;
3
+ };
4
+ export declare const invisibleBackdropPlugin: import("@k8slens/element-component").Plugin<{
5
+ $className?: import("@k8slens/public-utilities").IClassName;
6
+ className?: string;
7
+ $invisibleBackdrop?: boolean;
8
+ }, unknown>;
9
+ //# sourceMappingURL=invisible-backdrop.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"invisible-backdrop.d.ts","sourceRoot":"","sources":["../../../../src/plugins/invisible-backdrop/invisible-backdrop.tsx"],"names":[],"mappings":"AAIA,MAAM,MAAM,4BAA4B,GAAG;IACzC,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,uBAAuB;;;yBAHb,OAAO;WAc5B,CAAC"}
@@ -0,0 +1,18 @@
1
+ import type { TShirtSize } from "../_shared/sizes";
2
+ export type DirectionalMargin = {
3
+ top?: TShirtSize;
4
+ bottom?: TShirtSize;
5
+ left?: TShirtSize;
6
+ right?: TShirtSize;
7
+ horizontal?: TShirtSize;
8
+ vertical?: TShirtSize;
9
+ };
10
+ export type MarginPluginProps = {
11
+ $margin?: boolean | DirectionalMargin | TShirtSize | "auto";
12
+ };
13
+ export declare const marginPlugin: import("@k8slens/element-component").Plugin<{
14
+ $className?: import("@k8slens/public-utilities").IClassName;
15
+ className?: string;
16
+ $margin?: boolean | DirectionalMargin | TShirtSize | "auto";
17
+ }, unknown>;
18
+ //# sourceMappingURL=margin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"margin.d.ts","sourceRoot":"","sources":["../../../../src/plugins/margin/margin.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEnD,MAAM,MAAM,iBAAiB,GAAG;IAC9B,GAAG,CAAC,EAAE,UAAU,CAAC;IACjB,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,QAAQ,CAAC,EAAE,UAAU,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAAE,OAAO,CAAC,EAAE,OAAO,GAAG,iBAAiB,GAAG,UAAU,GAAG,MAAM,CAAA;CAAE,CAAC;AAEhG,eAAO,MAAM,YAAY;;;cAFmB,OAAO,GAAG,iBAAiB,GAAG,UAAU,GAAG,MAAM;WA+B3F,CAAC"}
@@ -0,0 +1,9 @@
1
+ export type NoPointerEventsPluginProps = {
2
+ $noPointerEvents?: boolean;
3
+ };
4
+ export declare const noPointerEventsPlugin: import("@k8slens/element-component").Plugin<{
5
+ $className?: import("@k8slens/public-utilities").IClassName;
6
+ className?: string;
7
+ $noPointerEvents?: boolean;
8
+ }, unknown>;
9
+ //# sourceMappingURL=no-pointer-events.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"no-pointer-events.d.ts","sourceRoot":"","sources":["../../../../src/plugins/no-pointer-events/no-pointer-events.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,0BAA0B,GAAG;IAAE,gBAAgB,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAExE,eAAO,MAAM,qBAAqB;;;uBAF4B,OAAO;WAKlE,CAAC"}
@@ -0,0 +1,17 @@
1
+ import type { Direction } from "../_shared/directions";
2
+ import type { TShirtSize } from "../_shared/sizes";
3
+ export type OffsetPluginProps = {
4
+ $offset?: {
5
+ direction: Direction;
6
+ size: TShirtSize;
7
+ };
8
+ };
9
+ export declare const offsetPlugin: import("@k8slens/element-component").Plugin<{
10
+ $className?: import("@k8slens/public-utilities").IClassName;
11
+ className?: string;
12
+ $offset?: {
13
+ direction: Direction;
14
+ size: TShirtSize;
15
+ };
16
+ }, unknown>;
17
+ //# sourceMappingURL=offset.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"offset.d.ts","sourceRoot":"","sources":["../../../../src/plugins/offset/offset.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEnD,MAAM,MAAM,iBAAiB,GAAG;IAAE,OAAO,CAAC,EAAE;QAAE,SAAS,EAAE,SAAS,CAAC;QAAC,IAAI,EAAE,UAAU,CAAA;KAAE,CAAA;CAAE,CAAC;AAEzF,eAAO,MAAM,YAAY;;;cAFmB;QAAE,SAAS,EAAE,SAAS,CAAC;QAAC,IAAI,EAAE,UAAU,CAAA;KAAE;WAYpF,CAAC"}
@@ -0,0 +1,17 @@
1
+ import type { Direction } from "../_shared/directions";
2
+ import type { TShirtSize } from "../_shared/sizes";
3
+ export type OffsetChildrenPluginProps = {
4
+ $offsetChildren?: {
5
+ direction: Direction;
6
+ size: TShirtSize;
7
+ };
8
+ };
9
+ export declare const offsetChildrenPlugin: import("@k8slens/element-component").Plugin<{
10
+ $className?: import("@k8slens/public-utilities").IClassName;
11
+ className?: string;
12
+ $offsetChildren?: {
13
+ direction: Direction;
14
+ size: TShirtSize;
15
+ };
16
+ }, unknown>;
17
+ //# sourceMappingURL=offset-children.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"offset-children.d.ts","sourceRoot":"","sources":["../../../../src/plugins/offset-children/offset-children.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEnD,MAAM,MAAM,yBAAyB,GAAG;IAAE,eAAe,CAAC,EAAE;QAAE,SAAS,EAAE,SAAS,CAAC;QAAC,IAAI,EAAE,UAAU,CAAA;KAAE,CAAA;CAAE,CAAC;AAEzG,eAAO,MAAM,oBAAoB;;;sBAF2B;QAAE,SAAS,EAAE,SAAS,CAAC;QAAC,IAAI,EAAE,UAAU,CAAA;KAAE;WAepG,CAAC"}
@@ -0,0 +1,22 @@
1
+ import type React from "react";
2
+ export type OnOutsideClickPluginProps = {
3
+ readonly children?: React.ReactNode;
4
+ /**
5
+ * Called when a pointer-down lands outside the element's React tree. The tree includes content
6
+ * the element portals elsewhere, so portaled children count as inside. Caveat: an outside
7
+ * pointer-down whose propagation to the document is stopped natively goes undetected.
8
+ */
9
+ readonly $onOutsideClick?: (event: PointerEvent) => void;
10
+ };
11
+ /**
12
+ * React-tree outside-click detection: a capture-phase handler on the element records the
13
+ * pointer-down events of its own React tree (portals included, since React events propagate
14
+ * through them), and a document-level listener reports every pointer-down it did not record.
15
+ * Returns the props marking the element's tree; give them to `contributeProps` or spread them
16
+ * onto the subtree's root.
17
+ */
18
+ export declare const useOnOutsideClick: (onOutsideClick: (event: PointerEvent) => void) => {
19
+ onPointerDownCapture: (event: React.PointerEvent) => void;
20
+ };
21
+ export declare const onOutsideClickPlugin: import("@k8slens/element-component").Plugin<OnOutsideClickPluginProps, unknown>;
22
+ //# sourceMappingURL=on-outside-click.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"on-outside-click.d.ts","sourceRoot":"","sources":["../../../../src/plugins/on-outside-click/on-outside-click.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,MAAM,MAAM,yBAAyB,GAAG;IACtC,QAAQ,CAAC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAEpC;;;;OAIG;IACH,QAAQ,CAAC,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI,CAAC;CAC1D,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,mBAAoB,CAAC,KAAK,EAAE,YAAY,KAAK,IAAI;kCAoB5B,KAAK,CAAC,YAAY;CAKpE,CAAC;AAcF,eAAO,MAAM,oBAAoB,iFAc/B,CAAC"}
@@ -0,0 +1,21 @@
1
+ import type { Color } from "../_shared/colors";
2
+ import type { Range } from "../_shared/sizes";
3
+ import type { IClassName } from "@k8slens/public-utilities";
4
+ export type OutlineWidth = "zero" | "xxs" | "xs" | "s" | "m" | "l" | "xl" | "xxl" | `${Range<3, 5>}xl`;
5
+ export type $OutlineProps = {
6
+ color?: Color;
7
+ width?: OutlineWidth;
8
+ };
9
+ export type OutlinePluginProps = {
10
+ $outline?: {
11
+ focusVisible?: $OutlineProps;
12
+ };
13
+ };
14
+ export declare const outlinePlugin: import("@k8slens/element-component").Plugin<{
15
+ $className?: IClassName;
16
+ className?: string;
17
+ $outline?: {
18
+ focusVisible?: $OutlineProps;
19
+ };
20
+ }, unknown>;
21
+ //# sourceMappingURL=outline.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"outline.d.ts","sourceRoot":"","sources":["../../../../src/plugins/outline/outline.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AAG9C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAI5D,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,KAAK,GAAG,IAAI,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,GAAG,KAAK,GAAG,GAAG,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC;AAEvG,MAAM,MAAM,aAAa,GAAG;IAAE,KAAK,CAAC,EAAE,KAAK,CAAC;IAAC,KAAK,CAAC,EAAE,YAAY,CAAA;CAAE,CAAC;AAEpE,MAAM,MAAM,kBAAkB,GAAG;IAAE,QAAQ,CAAC,EAAE;QAAE,YAAY,CAAC,EAAE,aAAa,CAAA;KAAE,CAAA;CAAE,CAAC;AAEjF,eAAO,MAAM,aAAa;;;eAFoB;QAAE,YAAY,CAAC,EAAE,aAAa,CAAA;KAAE;WAO5E,CAAC"}
@@ -0,0 +1,18 @@
1
+ export type Overflow = "hidden" | "scroll" | "auto" | "visible";
2
+ export type OverflowPluginProps = {
3
+ $overflow?: Overflow | {
4
+ x?: Overflow;
5
+ y?: Overflow;
6
+ hideScrollbar?: boolean;
7
+ };
8
+ };
9
+ export declare const overflowPlugin: import("@k8slens/element-component").Plugin<{
10
+ $className?: import("@k8slens/public-utilities").IClassName;
11
+ className?: string;
12
+ $overflow?: Overflow | {
13
+ x?: Overflow;
14
+ y?: Overflow;
15
+ hideScrollbar?: boolean;
16
+ };
17
+ }, unknown>;
18
+ //# sourceMappingURL=overflow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"overflow.d.ts","sourceRoot":"","sources":["../../../../src/plugins/overflow/overflow.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,MAAM,GAAG,SAAS,CAAC;AAEhE,MAAM,MAAM,mBAAmB,GAAG;IAAE,SAAS,CAAC,EAAE,QAAQ,GAAG;QAAE,CAAC,CAAC,EAAE,QAAQ,CAAC;QAAC,CAAC,CAAC,EAAE,QAAQ,CAAC;QAAC,aAAa,CAAC,EAAE,OAAO,CAAA;KAAE,CAAA;CAAE,CAAC;AAErH,eAAO,MAAM,cAAc;;;gBAFqB,QAAQ,GAAG;QAAE,CAAC,CAAC,EAAE,QAAQ,CAAC;QAAC,CAAC,CAAC,EAAE,QAAQ,CAAC;QAAC,aAAa,CAAC,EAAE,OAAO,CAAA;KAAE;WA0BhH,CAAC"}
@@ -0,0 +1,18 @@
1
+ import type { TShirtSize } from "../_shared/sizes";
2
+ export type DirectionalPadding = {
3
+ top?: TShirtSize;
4
+ bottom?: TShirtSize;
5
+ left?: TShirtSize;
6
+ right?: TShirtSize;
7
+ horizontal?: TShirtSize;
8
+ vertical?: TShirtSize;
9
+ };
10
+ export type PaddingPluginProps = {
11
+ $padding?: boolean | DirectionalPadding | TShirtSize;
12
+ };
13
+ export declare const paddingPlugin: import("@k8slens/element-component").Plugin<{
14
+ $className?: import("@k8slens/public-utilities").IClassName;
15
+ className?: string;
16
+ $padding?: boolean | DirectionalPadding | TShirtSize;
17
+ }, unknown>;
18
+ //# sourceMappingURL=padding.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"padding.d.ts","sourceRoot":"","sources":["../../../../src/plugins/padding/padding.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEnD,MAAM,MAAM,kBAAkB,GAAG;IAC/B,GAAG,CAAC,EAAE,UAAU,CAAC;IACjB,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,QAAQ,CAAC,EAAE,UAAU,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAAE,QAAQ,CAAC,EAAE,OAAO,GAAG,kBAAkB,GAAG,UAAU,CAAA;CAAE,CAAC;AAE1F,eAAO,MAAM,aAAa;;;eAFoB,OAAO,GAAG,kBAAkB,GAAG,UAAU;WAmCrF,CAAC"}
@@ -0,0 +1,28 @@
1
+ import type React from "react";
2
+ export type PopoverPluginProps = {
3
+ children?: React.ReactNode;
4
+ $popover?: () => React.ReactNode;
5
+ };
6
+ export declare const popoverIsOpenContext: React.Context<boolean>;
7
+ export declare const usePopoverIsOpen: () => boolean;
8
+ export declare const popoverPlugin: import("@k8slens/element-component").Plugin<{
9
+ $className?: import("@k8slens/public-utilities").IClassName;
10
+ className?: string;
11
+ $enabled?: boolean;
12
+ $disabled?: boolean;
13
+ disabled?: undefined;
14
+ $cursor?: import("../cursor/cursor").$CursorProps;
15
+ $onClick?: import("../clickable/clickable").ClickHandler;
16
+ $onOnlyMouseClick?: import("../clickable/clickable").ClickHandler;
17
+ $onDoubleClick?: import("../clickable/clickable").ClickHandler;
18
+ $onRightClick?: import("../clickable/clickable").ClickHandler;
19
+ $onMiddleClick?: import("../clickable/clickable").ClickHandler;
20
+ tabIndex?: number;
21
+ $ref?: import("../ref/ref").$RefProp<any>;
22
+ ref?: import("../ref/ref").RefLike<any>;
23
+ children?: React.ReactNode;
24
+ $popover?: () => React.ReactNode;
25
+ }, unknown>;
26
+ export declare const contextForClosingPopover: React.Context<VoidFunction | undefined>;
27
+ export declare const useClosePopover: () => VoidFunction;
28
+ //# sourceMappingURL=popover.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../../../src/plugins/popover/popover.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,QAAQ,CAAC,EAAE,MAAM,KAAK,CAAC,SAAS,CAAC;CAClC,CAAC;AAEF,eAAO,MAAM,oBAAoB,wBAAuB,CAAC;AAEzD,eAAO,MAAM,gBAAgB,eAAyC,CAAC;AAEvE,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;eARb,KAAK,CAAC,SAAS;eACf,MAAM,KAAK,CAAC,SAAS;WAuChC,CAAC;AA4EH,eAAO,MAAM,wBAAwB,yCAAqD,CAAC;AAE3F,eAAO,MAAM,eAAe,oBAIzB,CAAC"}
@@ -0,0 +1,13 @@
1
+ import type { Plugin } from "@k8slens/element-component";
2
+ import type React from "react";
3
+ type RefCallback<T> = (instance: T | null) => undefined | void | (() => any);
4
+ export type RefLike<T> = RefCallback<T> | React.MutableRefObject<T | null> | React.RefObject<T> | undefined;
5
+ export type $RefProp<T> = RefLike<T> | $RefProp<T>[];
6
+ export type RefPluginProps<T> = {
7
+ $ref?: $RefProp<T>;
8
+ ref?: RefLike<T>;
9
+ };
10
+ export type RefPlugin<T> = Plugin<RefPluginProps<T>, unknown>;
11
+ export declare function refPlugin<T = HTMLElement>(): Plugin<RefPluginProps<T>, unknown>;
12
+ export {};
13
+ //# sourceMappingURL=ref.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ref.d.ts","sourceRoot":"","sources":["../../../../src/plugins/ref/ref.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAIzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,KAAK,WAAW,CAAC,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,GAAG,IAAI,KAAK,SAAS,GAAG,IAAI,GAAG,CAAC,MAAM,GAAG,CAAC,CAAC;AAE7E,MAAM,MAAM,OAAO,CAAC,CAAC,IAAI,WAAW,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,gBAAgB,CAAC,CAAC,GAAG,IAAI,CAAC,GAAG,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC;AAE5G,MAAM,MAAM,QAAQ,CAAC,CAAC,IAAI,OAAO,CAAC,CAAC,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC;AAErD,MAAM,MAAM,cAAc,CAAC,CAAC,IAAI;IAC9B,IAAI,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC;IACnB,GAAG,CAAC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,SAAS,CAAC,CAAC,IAAI,MAAM,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,CAAC;AAE9D,wBAAgB,SAAS,CAAC,CAAC,GAAG,WAAW,wCAoCxC"}
@@ -0,0 +1,3 @@
1
+ export declare const worksWithIComponent: () => void;
2
+ export declare const worksWithButtonComponent: () => void;
3
+ //# sourceMappingURL=type-test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type-test.d.ts","sourceRoot":"","sources":["../../../../src/plugins/ref/type-test.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,mBAAmB,YAK/B,CAAC;AAEF,eAAO,MAAM,wBAAwB,YAKpC,CAAC"}
@@ -0,0 +1,11 @@
1
+ export type RelativePluginProps = {
2
+ $relative?: boolean;
3
+ $fixed?: boolean;
4
+ };
5
+ export declare const relativePlugin: import("@k8slens/element-component").Plugin<{
6
+ $className?: import("@k8slens/public-utilities").IClassName;
7
+ className?: string;
8
+ $relative?: boolean;
9
+ $fixed?: boolean;
10
+ }, unknown>;
11
+ //# sourceMappingURL=relative.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"relative.d.ts","sourceRoot":"","sources":["../../../../src/plugins/relative/relative.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,mBAAmB,GAAG;IAAE,SAAS,CAAC,EAAE,OAAO,CAAC;IAAC,MAAM,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAE5E,eAAO,MAAM,cAAc;;;gBAFqB,OAAO;aAAW,OAAO;WAStE,CAAC"}
@@ -0,0 +1,17 @@
1
+ import type { TShirtSize } from "../_shared/sizes";
2
+ export type $SizeProps = {
3
+ size?: TShirtSize | "full" | "auto";
4
+ min?: TShirtSize | "full";
5
+ max?: TShirtSize | "full";
6
+ };
7
+ export type SizePluginProps = {
8
+ $size?: TShirtSize | "full" | $SizeProps;
9
+ };
10
+ export declare const sizePlugin: import("@k8slens/element-component").Plugin<{
11
+ $className?: import("@k8slens/public-utilities").IClassName;
12
+ className?: string;
13
+ $width?: TShirtSize | "full" | "stretch" | import("../width/width").$WidthProps;
14
+ $height?: TShirtSize | "full" | "auto" | "stretch" | import("../height/height").$HeightProps;
15
+ $size?: TShirtSize | "full" | $SizeProps;
16
+ }, unknown>;
17
+ //# sourceMappingURL=size.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"size.d.ts","sourceRoot":"","sources":["../../../../src/plugins/size/size.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAInD,MAAM,MAAM,UAAU,GAAG;IACvB,IAAI,CAAC,EAAE,UAAU,GAAG,MAAM,GAAG,MAAM,CAAC;IACpC,GAAG,CAAC,EAAE,UAAU,GAAG,MAAM,CAAC;IAC1B,GAAG,CAAC,EAAE,UAAU,GAAG,MAAM,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAAE,KAAK,CAAC,EAAE,UAAU,GAAG,MAAM,GAAG,UAAU,CAAA;CAAE,CAAC;AAE3E,eAAO,MAAM,UAAU;;;;;YAFiB,UAAU,GAAG,MAAM,GAAG,UAAU;WAgBtE,CAAC"}
@@ -0,0 +1,6 @@
1
+ export type StylePluginProps = {
2
+ $style?: React.CSSProperties;
3
+ style?: React.CSSProperties;
4
+ };
5
+ export declare const stylePlugin: import("@k8slens/element-component").Plugin<StylePluginProps, unknown>;
6
+ //# sourceMappingURL=style.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../src/plugins/style/style.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,gBAAgB,GAAG;IAAE,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAAC,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;CAAE,CAAC;AAE7F,eAAO,MAAM,WAAW,wEAUtB,CAAC"}
@@ -0,0 +1,9 @@
1
+ export type TextAlignPluginProps = {
2
+ $textAlign?: "left" | "center" | "right";
3
+ };
4
+ export declare const textAlignPlugin: import("@k8slens/element-component").Plugin<{
5
+ $className?: import("@k8slens/public-utilities").IClassName;
6
+ className?: string;
7
+ $textAlign?: "left" | "center" | "right";
8
+ }, unknown>;
9
+ //# sourceMappingURL=text-align.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"text-align.d.ts","sourceRoot":"","sources":["../../../../src/plugins/text-align/text-align.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,oBAAoB,GAAG;IAAE,UAAU,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAA;CAAE,CAAC;AAEhF,eAAO,MAAM,eAAe;;;iBAFsB,MAAM,GAAG,QAAQ,GAAG,OAAO;WAU3E,CAAC"}
@@ -0,0 +1,19 @@
1
+ import type React from "react";
2
+ export type TintPluginProps = {
3
+ /**
4
+ * Overrides the element's (and its descendants') SVG `fill` to this colour, via a CSS custom
5
+ * property — `stroke` is left untouched, so stroked details survive. Unlike `$grayscale` (which only
6
+ * desaturates) this paints the shape an exact flat colour while respecting transparency, so a
7
+ * fixed-colour brand mark can be tinted (e.g. an AI-tool logo tinted to the cluster colour). Leave
8
+ * unset to render the element's natural colours.
9
+ */
10
+ $tint?: string;
11
+ };
12
+ export declare const tintPlugin: import("@k8slens/element-component").Plugin<{
13
+ $className?: import("@k8slens/public-utilities").IClassName;
14
+ className?: string;
15
+ $style?: React.CSSProperties;
16
+ style?: React.CSSProperties;
17
+ $tint?: string;
18
+ }, unknown>;
19
+ //# sourceMappingURL=tint.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tint.d.ts","sourceRoot":"","sources":["../../../../src/plugins/tint/tint.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,MAAM,MAAM,eAAe,GAAG;IAC5B;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;YAHb,MAAM;WAQb,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { DiContainer } from "@k8slens/injectable";
2
+ export default _default;
3
+ declare function _default(di: DiContainer): void;
4
+ //# sourceMappingURL=tooltip-delay.default-override.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tooltip-delay.default-override.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/tooltip/tooltip-delay/tooltip-delay.default-override.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;;0BAMvC,EAAE,EAAE,WAAW"}
@@ -0,0 +1,2 @@
1
+ export declare const tooltipDelayInjectable: import("@k8slens/injectable").Injectable2<() => number | undefined>;
2
+ //# sourceMappingURL=tooltip-delay.injectable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tooltip-delay.injectable.d.ts","sourceRoot":"","sources":["../../../../../src/plugins/tooltip/tooltip-delay/tooltip-delay.injectable.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,sBAAsB,kDAEV,MAAM,GAAG,SAAS,CACzC,CAAC"}
@@ -0,0 +1,64 @@
1
+ import type React from "react";
2
+ import type { Placement } from "@floating-ui/react-dom";
3
+ import { type MaybeAsyncVoidFunction } from "@k8slens/public-utilities";
4
+ import { type MinimalDivProps } from "../../elements/minimal-div";
5
+ type TooltipContentProps<Props extends object> = {
6
+ /** Plain-text content of the tooltip. Mutually exclusive with `Content`. */
7
+ readonly contentText: string;
8
+ readonly Content?: undefined;
9
+ readonly contentProps?: undefined;
10
+ } | {
11
+ readonly contentText?: undefined;
12
+ /**
13
+ * The component rendered as the content of the tooltip. Must have a stable
14
+ * identity (module scope) — data flows in through `contentProps`, never
15
+ * through closure capture.
16
+ */
17
+ readonly Content: React.ComponentType<Props>;
18
+ /** The props the tooltip passes to `Content` when rendering it. */
19
+ readonly contentProps?: Props;
20
+ };
21
+ export type $TooltipProps<Props extends object = Record<never, never>> = {
22
+ readonly position?: Placement;
23
+ readonly onTooltipShown?: MaybeAsyncVoidFunction;
24
+ } & TooltipContentProps<Props>;
25
+ /**
26
+ * Type-checks the pairing of `Content` and `contentProps` of an object-form
27
+ * `$tooltip`: `contentProps` is required to be the props of `Content`, and it
28
+ * is required to be present when `Content` has required props.
29
+ */
30
+ export declare function getTooltipProps(tooltipProps: $TooltipProps): $TooltipProps<any>;
31
+ export declare function getTooltipProps<Props extends object>(tooltipProps: $TooltipProps<Props> & {
32
+ readonly contentProps: Props;
33
+ }): $TooltipProps<any>;
34
+ export type TooltipPluginProps = {
35
+ /** Nullish means no tooltip, so conditional sources (`string | null`) pass through as-is. */
36
+ $tooltip?: string | $TooltipProps<any> | null;
37
+ };
38
+ /**
39
+ * A tooltip of nothing: the element takes the hover, so no enclosing element shows its tooltip
40
+ * while the pointer is over this one, and shows nothing of its own. Nullish `$tooltip` leaves the
41
+ * enclosing tooltip alone instead — use this where an element must not be described by whatever
42
+ * encloses it, a panel opened from a row with a tooltip being the case that needs it: a tooltip
43
+ * goes into the top layer, so it would paint over what the panel is there for.
44
+ *
45
+ * @example
46
+ * ```tsx
47
+ * <Li $tooltip={suppressTooltip}>
48
+ * <Settings />
49
+ * </Li>
50
+ * ```
51
+ */
52
+ export declare const suppressTooltip: $TooltipProps;
53
+ export declare const StyledTooltipContainer: (props: MinimalDivProps) => import("react/jsx-runtime").JSX.Element;
54
+ export type TooltipPlugin<T extends HTMLElement> = ReturnType<typeof tooltipPlugin<T>>;
55
+ export declare function tooltipPlugin<T extends HTMLElement>(): import("@k8slens/element-component").Plugin<{
56
+ $ref?: import("../ref/ref").$RefProp<T>;
57
+ ref?: import("../ref/ref").RefLike<T>;
58
+ readonly $hoverable?: import("@k8slens/public-utilities").SingleOrMany<import("../hoverable/hoverable").$HoverableProps>;
59
+ onMouseEnter?: React.MouseEventHandler<T> | undefined;
60
+ onMouseLeave?: React.MouseEventHandler<T> | undefined;
61
+ $tooltip?: string | $TooltipProps<any> | null;
62
+ }, unknown>;
63
+ export {};
64
+ //# sourceMappingURL=tooltip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../../src/plugins/tooltip/tooltip.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAIxD,OAAO,EAAQ,KAAK,sBAAsB,EAAE,MAAM,2BAA2B,CAAC;AAC9E,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAG9E,KAAK,mBAAmB,CAAC,KAAK,SAAS,MAAM,IACzC;IACE,4EAA4E;IAC5E,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,OAAO,CAAC,EAAE,SAAS,CAAC;IAC7B,QAAQ,CAAC,YAAY,CAAC,EAAE,SAAS,CAAC;CACnC,GACD;IACE,QAAQ,CAAC,WAAW,CAAC,EAAE,SAAS,CAAC;IACjC;;;;OAIG;IACH,QAAQ,CAAC,OAAO,EAAE,KAAK,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;IAC7C,mEAAmE;IACnE,QAAQ,CAAC,YAAY,CAAC,EAAE,KAAK,CAAC;CAC/B,CAAC;AAEN,MAAM,MAAM,aAAa,CAAC,KAAK,SAAS,MAAM,GAAG,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,IAAI;IACvE,QAAQ,CAAC,QAAQ,CAAC,EAAE,SAAS,CAAC;IAC9B,QAAQ,CAAC,cAAc,CAAC,EAAE,sBAAsB,CAAC;CAClD,GAAG,mBAAmB,CAAC,KAAK,CAAC,CAAC;AAE/B;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,YAAY,EAAE,aAAa,GAAG,aAAa,CAAC,GAAG,CAAC,CAAC;AACjF,wBAAgB,eAAe,CAAC,KAAK,SAAS,MAAM,EAClD,YAAY,EAAE,aAAa,CAAC,KAAK,CAAC,GAAG;IAAE,QAAQ,CAAC,YAAY,EAAE,KAAK,CAAA;CAAE,GACpE,aAAa,CAAC,GAAG,CAAC,CAAC;AAKtB,MAAM,MAAM,kBAAkB,GAAG;IAC/B,6FAA6F;IAC7F,QAAQ,CAAC,EAAE,MAAM,GAAG,aAAa,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC;CAC/C,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,eAAe,EAAE,aAAmC,CAAC;AAIlE,eAAO,MAAM,sBAAsB,UAAW,eAAe,4CAiB5D,CAAC;AAwDF,MAAM,MAAM,aAAa,CAAC,CAAC,SAAS,WAAW,IAAI,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC;AAyFvF,wBAAgB,aAAa,CAAC,CAAC,SAAS,WAAW;;;;;;eAvLtC,MAAM,GAAG,aAAa,CAAC,GAAG,CAAC,GAAG,IAAI;YAmN9C"}
@@ -0,0 +1,9 @@
1
+ export type TransitionPluginProps = {
2
+ $transition?: boolean;
3
+ };
4
+ export declare const transitionPlugin: import("@k8slens/element-component").Plugin<{
5
+ $className?: import("@k8slens/public-utilities").IClassName;
6
+ className?: string;
7
+ $transition?: boolean;
8
+ }, unknown>;
9
+ //# sourceMappingURL=transition.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transition.d.ts","sourceRoot":"","sources":["../../../../src/plugins/transition/transition.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,qBAAqB,GAAG;IAAE,WAAW,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAE9D,eAAO,MAAM,gBAAgB;;;kBAFuB,OAAO;WAKxD,CAAC"}
@@ -0,0 +1,9 @@
1
+ export type VisuallyHiddenPluginProps = {
2
+ $visuallyHidden?: boolean;
3
+ };
4
+ export declare const visuallyHiddenPlugin: import("@k8slens/element-component").Plugin<{
5
+ $className?: import("@k8slens/public-utilities").IClassName;
6
+ className?: string;
7
+ $visuallyHidden?: boolean;
8
+ }, unknown>;
9
+ //# sourceMappingURL=visually-hidden.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"visually-hidden.d.ts","sourceRoot":"","sources":["../../../../src/plugins/visually-hidden/visually-hidden.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,yBAAyB,GAAG;IAAE,eAAe,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAEtE,eAAO,MAAM,oBAAoB;;;sBAF2B,OAAO;WAMhE,CAAC"}
@@ -0,0 +1,15 @@
1
+ import type { TShirtSize } from "../_shared/sizes";
2
+ export type $WidthProps = {
3
+ width?: TShirtSize | "full" | "stretch";
4
+ min?: TShirtSize | "fit";
5
+ max?: TShirtSize | "full" | "content";
6
+ };
7
+ export type WidthPluginProps = {
8
+ $width?: TShirtSize | "full" | "stretch" | $WidthProps;
9
+ };
10
+ export declare const widthPlugin: import("@k8slens/element-component").Plugin<{
11
+ $className?: import("@k8slens/public-utilities").IClassName;
12
+ className?: string;
13
+ $width?: TShirtSize | "full" | "stretch" | $WidthProps;
14
+ }, unknown>;
15
+ //# sourceMappingURL=width.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"width.d.ts","sourceRoot":"","sources":["../../../../src/plugins/width/width.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEnD,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,CAAC,EAAE,UAAU,GAAG,MAAM,GAAG,SAAS,CAAC;IACxC,GAAG,CAAC,EAAE,UAAU,GAAG,KAAK,CAAC;IACzB,GAAG,CAAC,EAAE,UAAU,GAAG,MAAM,GAAG,SAAS,CAAC;CACvC,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAAE,MAAM,CAAC,EAAE,UAAU,GAAG,MAAM,GAAG,SAAS,GAAG,WAAW,CAAA;CAAE,CAAC;AAE1F,eAAO,MAAM,WAAW;;;aAFkB,UAAU,GAAG,MAAM,GAAG,SAAS,GAAG,WAAW;WAerF,CAAC"}
@@ -0,0 +1,3 @@
1
+ export default _default;
2
+ declare function _default(): void;
3
+ //# sourceMappingURL=remove-css-module-clutter.default-override.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"remove-css-module-clutter.default-override.d.ts","sourceRoot":"","sources":["../../src/remove-css-module-clutter.default-override.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export declare const testUtilRunnableInjectable: import("@k8slens/injectable").Injectable2<() => {
2
+ run: (di: any) => undefined;
3
+ }>;
4
+ //# sourceMappingURL=test-util-runnable.injectable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"test-util-runnable.injectable.d.ts","sourceRoot":"","sources":["../../src/test-util-runnable.injectable.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,0BAA0B;;EAGrC,CAAC"}