@k8slens/element-components 3.4.0 → 3.5.0

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.
@@ -1,9 +1,5 @@
1
1
  import type React from "react";
2
2
  export declare const sharedPlugins: (import("@k8slens/element-component").Plugin<import("..").DroppablePluginProps, unknown> | import("@k8slens/element-component").Plugin<import("./plugins/on-outside-click/on-outside-click").OnOutsideClickPluginProps, unknown> | import("@k8slens/element-component").Plugin<{
3
- $className?: import("@k8slens/public-utilities").IClassName;
4
- className?: string;
5
- $block?: boolean | "inline";
6
- }, unknown> | import("@k8slens/element-component").Plugin<{
7
3
  $className?: import("@k8slens/public-utilities").IClassName;
8
4
  className?: string;
9
5
  $cursor?: import("./plugins/cursor/cursor").$CursorProps;
@@ -113,6 +109,10 @@ export declare const sharedPlugins: (import("@k8slens/element-component").Plugin
113
109
  $className?: import("@k8slens/public-utilities").IClassName;
114
110
  className?: string;
115
111
  $grid?: import("./plugins/grid/grid").GridProps;
112
+ }, unknown> | import("@k8slens/element-component").Plugin<{
113
+ $className?: import("@k8slens/public-utilities").IClassName;
114
+ className?: string;
115
+ $block?: boolean | "inline";
116
116
  }, unknown> | import("@k8slens/element-component").Plugin<{
117
117
  $className?: import("@k8slens/public-utilities").IClassName;
118
118
  className?: string;
@@ -862,9 +862,9 @@ export declare const ClickableDiv: import("@k8slens/element-component").ElementC
862
862
  };
863
863
  readonly $anchor?: boolean;
864
864
  readonly $anchoredAt?: import("./plugins/anchor/anchor").AnchoredAt;
865
+ readonly children?: React.ReactNode;
865
866
  readonly $onOutsideClick?: (event: PointerEvent) => void;
866
- children?: React.ReactNode;
867
- readonly tabIndex?: number;
867
+ tabIndex?: number;
868
868
  readonly $dropDownMenu?: import("@k8slens/drop-down-menu-contracts").DropDownMenuSpec;
869
869
  $textAlign?: "left" | "center" | "right";
870
870
  $ref?: ((import("./plugins/ref/ref").$RefProp<any>[] | React.MutableRefObject<any> | ((instance: any) => undefined | void | (() => any)) | React.RefObject<any>) & (import("./plugins/ref/ref").$RefProp<HTMLDivElement>[] | React.MutableRefObject<HTMLDivElement | null> | ((instance: HTMLDivElement | null) => undefined | void | (() => any)) | React.RefObject<HTMLDivElement>)) | undefined;
@@ -1151,9 +1151,9 @@ export declare const Button: import("@k8slens/element-component").ElementCompone
1151
1151
  };
1152
1152
  readonly $anchor?: boolean;
1153
1153
  readonly $anchoredAt?: import("./plugins/anchor/anchor").AnchoredAt;
1154
+ readonly children?: React.ReactNode;
1154
1155
  readonly $onOutsideClick?: (event: PointerEvent) => void;
1155
- children?: React.ReactNode;
1156
- readonly tabIndex?: number;
1156
+ tabIndex?: number;
1157
1157
  readonly $dropDownMenu?: import("@k8slens/drop-down-menu-contracts").DropDownMenuSpec;
1158
1158
  $textAlign?: "left" | "center" | "right";
1159
1159
  $ref?: ((import("./plugins/ref/ref").$RefProp<any>[] | React.MutableRefObject<any> | ((instance: any) => undefined | void | (() => any)) | React.RefObject<any>) & (import("./plugins/ref/ref").$RefProp<HTMLButtonElement>[] | React.MutableRefObject<HTMLButtonElement | null> | ((instance: HTMLButtonElement | null) => undefined | void | (() => any)) | React.RefObject<HTMLButtonElement>)) | undefined;
@@ -2462,9 +2462,9 @@ export declare const ClickableLi: import("@k8slens/element-component").ElementCo
2462
2462
  };
2463
2463
  readonly $anchor?: boolean;
2464
2464
  readonly $anchoredAt?: import("./plugins/anchor/anchor").AnchoredAt;
2465
+ readonly children?: React.ReactNode;
2465
2466
  readonly $onOutsideClick?: (event: PointerEvent) => void;
2466
- children?: React.ReactNode;
2467
- readonly tabIndex?: number;
2467
+ tabIndex?: number;
2468
2468
  readonly $dropDownMenu?: import("@k8slens/drop-down-menu-contracts").DropDownMenuSpec;
2469
2469
  $textAlign?: "left" | "center" | "right";
2470
2470
  $ref?: ((import("./plugins/ref/ref").$RefProp<any>[] | React.MutableRefObject<any> | ((instance: any) => undefined | void | (() => any)) | React.RefObject<any>) & (import("./plugins/ref/ref").$RefProp<HTMLLIElement>[] | React.MutableRefObject<HTMLLIElement | null> | ((instance: HTMLLIElement | null) => undefined | void | (() => any)) | React.RefObject<HTMLLIElement>)) | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"anchor.d.ts","sourceRoot":"","sources":["../../../../src/plugins/anchor/anchor.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,KAAK,UAAU,EAAsB,MAAM,kBAAkB,CAAC;AASvE;;;;;;GAMG;AACH,MAAM,MAAM,cAAc,GACtB,KAAK,GACL,QAAQ,GACR,MAAM,GACN,OAAO,GACP,eAAe,GACf,gBAAgB,GAChB,kBAAkB,GAClB,mBAAmB,GACnB,eAAe,GACf,kBAAkB,GAClB,gBAAgB,GAChB,mBAAmB,CAAC;AAExB;;;GAGG;AACH,MAAM,MAAM,UAAU,GAClB,cAAc,GACd;IACE,QAAQ,CAAC,QAAQ,EAAE,cAAc,CAAC;IAElC,oEAAoE;IACpE,QAAQ,CAAC,GAAG,CAAC,EAAE,UAAU,CAAC;IAE1B,0DAA0D;IAC1D,QAAQ,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC;CAC7B,CAAC;AAIN,MAAM,MAAM,iBAAiB,GAAG;IAC9B,QAAQ,CAAC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAEpC;;;OAGG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC;IAE3B;;;;;;OAMG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,UAAU,CAAC;CACnC,CAAC;AAuHF,eAAO,MAAM,YAAY;;;;;;;;;;;;;wBAvIH,KAAK,CAAC,SAAS;uBAMhB,OAAO;2BASH,UAAU;WAqKjC,CAAC"}
1
+ {"version":3,"file":"anchor.d.ts","sourceRoot":"","sources":["../../../../src/plugins/anchor/anchor.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,KAAK,UAAU,EAAsB,MAAM,kBAAkB,CAAC;AASvE;;;;;;GAMG;AACH,MAAM,MAAM,cAAc,GACtB,KAAK,GACL,QAAQ,GACR,MAAM,GACN,OAAO,GACP,eAAe,GACf,gBAAgB,GAChB,kBAAkB,GAClB,mBAAmB,GACnB,eAAe,GACf,kBAAkB,GAClB,gBAAgB,GAChB,mBAAmB,CAAC;AAExB;;;GAGG;AACH,MAAM,MAAM,UAAU,GAClB,cAAc,GACd;IACE,QAAQ,CAAC,QAAQ,EAAE,cAAc,CAAC;IAElC,oEAAoE;IACpE,QAAQ,CAAC,GAAG,CAAC,EAAE,UAAU,CAAC;IAE1B,0DAA0D;IAC1D,QAAQ,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC;CAC7B,CAAC;AAIN,MAAM,MAAM,iBAAiB,GAAG;IAC9B,QAAQ,CAAC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAEpC;;;OAGG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC;IAE3B;;;;;;OAMG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,UAAU,CAAC;CACnC,CAAC;AAqJF,eAAO,MAAM,YAAY;;;;;;;;;;;;;wBArKH,KAAK,CAAC,SAAS;uBAMhB,OAAO;2BASH,UAAU;WAmMjC,CAAC"}
@@ -16,5 +16,15 @@ export type DropDownMenuPluginProps = {
16
16
  */
17
17
  readonly $dropDownMenu?: DropDownMenuSpec;
18
18
  };
19
- export declare const dropDownMenuPlugin: import("@k8slens/element-component").Plugin<DropDownMenuPluginProps, unknown>;
19
+ export declare const dropDownMenuPlugin: import("@k8slens/element-component").Plugin<{
20
+ $className?: import("@k8slens/public-utilities").IClassName;
21
+ className?: string;
22
+ $enabled?: boolean;
23
+ $disabled?: boolean;
24
+ disabled?: undefined;
25
+ $cursor?: import("../cursor/cursor").$CursorProps;
26
+ readonly children?: React.ReactNode;
27
+ readonly tabIndex?: number;
28
+ readonly $dropDownMenu?: DropDownMenuSpec;
29
+ }, unknown>;
20
30
  //# sourceMappingURL=drop-down-menu.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"drop-down-menu.d.ts","sourceRoot":"","sources":["../../../../src/plugins/drop-down-menu/drop-down-menu.tsx"],"names":[],"mappings":"AACA,OAAO,EAAgB,KAAK,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AAGxF,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,MAAM,MAAM,uBAAuB,GAAG;IACpC,QAAQ,CAAC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACpC,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAE3B;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,aAAa,CAAC,EAAE,gBAAgB,CAAC;CAC3C,CAAC;AA8HF,eAAO,MAAM,kBAAkB,+EAiB7B,CAAC"}
1
+ {"version":3,"file":"drop-down-menu.d.ts","sourceRoot":"","sources":["../../../../src/plugins/drop-down-menu/drop-down-menu.tsx"],"names":[],"mappings":"AACA,OAAO,EAAgB,KAAK,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AAGxF,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,MAAM,MAAM,uBAAuB,GAAG;IACpC,QAAQ,CAAC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACpC,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAE3B;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,aAAa,CAAC,EAAE,gBAAgB,CAAC;CAC3C,CAAC;AA8HF,eAAO,MAAM,kBAAkB;;;;;;;wBA7IT,KAAK,CAAC,SAAS;wBACf,MAAM;6BAaD,gBAAgB;WAgK1C,CAAC"}