@keeper-security/keeper-js-ui 0.25.0 → 0.25.2

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 (35) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +13 -0
  3. package/dist/index.cjs +6 -6
  4. package/dist/index.js +2029 -2025
  5. package/dist/style.css +1 -1
  6. package/dist/types/components/ui/button.d.ts +1 -1
  7. package/dist/types/components/ui/dropdown-menu.d.ts +1 -1
  8. package/dist/types/components/ui/icon.d.ts +8 -2
  9. package/dist/types/components/ui/icon.d.ts.map +1 -1
  10. package/dist/types/components/ui/list.d.ts +1 -1
  11. package/dist/types/components/ui/loader.d.ts +1 -1
  12. package/dist/types/components/ui/typography.d.ts +1 -1
  13. package/dist/types/components/ui/typography.d.ts.map +1 -1
  14. package/dist/types/icons/docker-brand.d.ts +3 -0
  15. package/dist/types/icons/docker-brand.d.ts.map +1 -0
  16. package/dist/types/icons/docker-logo.d.ts.map +1 -1
  17. package/dist/types/icons/folder-share-outline.d.ts.map +1 -1
  18. package/dist/types/icons/index.d.ts +5 -0
  19. package/dist/types/icons/index.d.ts.map +1 -1
  20. package/dist/types/icons/kubernetes-brand.d.ts +3 -0
  21. package/dist/types/icons/kubernetes-brand.d.ts.map +1 -0
  22. package/dist/types/icons/mysql-brand.d.ts +3 -0
  23. package/dist/types/icons/mysql-brand.d.ts.map +1 -0
  24. package/dist/types/icons/mysql-logo.d.ts.map +1 -1
  25. package/dist/types/icons/postgres-brand.d.ts +3 -0
  26. package/dist/types/icons/postgres-brand.d.ts.map +1 -0
  27. package/dist/types/icons/vnc-brand.d.ts +3 -0
  28. package/dist/types/icons/vnc-brand.d.ts.map +1 -0
  29. package/dist/types/lib/utils.d.ts +3 -2
  30. package/dist/types/lib/utils.d.ts.map +1 -1
  31. package/dist/types/tokens/color.d.ts +37 -91
  32. package/dist/types/tokens/color.d.ts.map +1 -1
  33. package/dist/types/tokens/color.fixtures.d.ts +138 -0
  34. package/dist/types/tokens/color.fixtures.d.ts.map +1 -0
  35. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kubernetes-brand.d.ts","sourceRoot":"","sources":["../../src/icons/kubernetes-brand.tsx"],"names":[],"mappings":"AAYA,eAAO,MAAM,mBAAmB,0IAA8C,CAAA;AAC9E,eAAO,MAAM,OAAO,UAAyC,CAAA"}
@@ -0,0 +1,3 @@
1
+ export declare const MysqlBrandIcon: import("react").ForwardRefExoticComponent<import("../components/ui/icon").BrandIconProps & import("react").RefAttributes<SVGSVGElement>>;
2
+ export declare const aliases: string[];
3
+ //# sourceMappingURL=mysql-brand.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mysql-brand.d.ts","sourceRoot":"","sources":["../../src/icons/mysql-brand.tsx"],"names":[],"mappings":"AASA,eAAO,MAAM,cAAc,0IAAyC,CAAA;AACpE,eAAO,MAAM,OAAO,UAcnB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"mysql-logo.d.ts","sourceRoot":"","sources":["../../src/icons/mysql-logo.tsx"],"names":[],"mappings":"AAMA,eAAO,MAAM,aAAa,qIAAwC,CAAA;AAClE,eAAO,MAAM,OAAO,UAYnB,CAAA"}
1
+ {"version":3,"file":"mysql-logo.d.ts","sourceRoot":"","sources":["../../src/icons/mysql-logo.tsx"],"names":[],"mappings":"AAMA,eAAO,MAAM,aAAa,qIAAwC,CAAA;AAClE,eAAO,MAAM,OAAO,UAanB,CAAA"}
@@ -0,0 +1,3 @@
1
+ export declare const PostgresBrandIcon: import("react").ForwardRefExoticComponent<import("../components/ui/icon").BrandIconProps & import("react").RefAttributes<SVGSVGElement>>;
2
+ export declare const aliases: string[];
3
+ //# sourceMappingURL=postgres-brand.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"postgres-brand.d.ts","sourceRoot":"","sources":["../../src/icons/postgres-brand.tsx"],"names":[],"mappings":"AASA,eAAO,MAAM,iBAAiB,0IAA4C,CAAA;AAC1E,eAAO,MAAM,OAAO,UAOnB,CAAA"}
@@ -0,0 +1,3 @@
1
+ export declare const VncBrandIcon: import("react").ForwardRefExoticComponent<import("../components/ui/icon").BrandIconProps & import("react").RefAttributes<SVGSVGElement>>;
2
+ export declare const aliases: string[];
3
+ //# sourceMappingURL=vnc-brand.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"vnc-brand.d.ts","sourceRoot":"","sources":["../../src/icons/vnc-brand.tsx"],"names":[],"mappings":"AASA,eAAO,MAAM,YAAY,0IAAuC,CAAA;AAChE,eAAO,MAAM,OAAO,UAA2B,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import { type ClassValue } from 'clsx';
2
2
  import * as React from 'react';
3
- import { type IconProps } from '../components/ui/icon';
3
+ import { type BrandIconProps, type IconProps } from '../components/ui/icon';
4
4
  import type { GapOptions, MarginOptions, PaddingOptions } from './types';
5
5
  export declare const isDev: boolean;
6
6
  export declare const logger: {
@@ -14,7 +14,8 @@ declare function cn(...inputs: ClassValue[]): string;
14
14
  declare function mergeObjects(target: Record<string, unknown>, source: Record<string, unknown>): {
15
15
  [x: string]: unknown;
16
16
  };
17
- export declare function createIcon(name: `${Capitalize<string>}Icon`, children: React.ReactNode | React.ReactNode[]): React.ForwardRefExoticComponent<IconProps & React.RefAttributes<SVGSVGElement>>;
17
+ type PropsForIcon<Name extends string> = Name extends `${string}BrandIcon` ? BrandIconProps : IconProps;
18
+ export declare function createIcon<Name extends `${Capitalize<string>}Icon`>(name: Name, children: React.ReactNode | React.ReactNode[]): React.ForwardRefExoticComponent<React.PropsWithoutRef<PropsForIcon<Name>> & React.RefAttributes<SVGSVGElement>>;
18
19
  declare function convertToKebabCase(string: string): string;
19
20
  declare function convertToPascalCase(string: string): string;
20
21
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/lib/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAQ,MAAM,MA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HAgB9C;AAED,iBAAS,kBAAkB,CAAC,MAAM,EAAE,MAAM,UASzC;AAED,iBAAS,mBAAmB,CAAC,MAAM,EAAE,MAAM,UAY1C;AAED;;;;;GAKG;AACH,iBAAS,eAAe,CACtB,GAAG,EAAE,MAAM,EACX,MAAM,GAAE,WAAW,GAAG,WAAyB,UAsBhD;AAED,iBAAS,mBAAmB,CAC1B,IAAI,EAAE,mBAAmB,EACzB,QAAQ,EAAE,MAAM,EAChB,MAAM,EAAE,SAAS,GAAG,WAAW,GAAG,WAAW,UAW9C;AAED,iBAAS,OAAO,CAAC,EAAE,SAAS,EAAE,GAAG,EAAE,MAAM,EAAE,EAAE,UAAU;;;;EAStD;AAED,iBAAS,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,aAAa;;;;;;;;EAyB/D;AAED,iBAAS,WAAW,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,cAAc;;;;;;;;EAyBjE;AAED,iBAAS,kBAAkB,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,kBAwBrC;AAED,iBAAS,IAAI,SAEZ;AAMD;;;;GAIG;AAEH,OAAO,EACL,EAAE,EACF,eAAe,EACf,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EACnB,OAAO,EACP,UAAU,EACV,WAAW,EACX,kBAAkB,EAClB,YAAY,EACZ,IAAI,GACL,CAAA"}
@@ -29,58 +29,6 @@ export declare const colorInputToken: {
29
29
  */
30
30
  readonly thumb: "thumb";
31
31
  };
32
- export declare const colorInputTokenFixture: {
33
- /**
34
- * light: #D8D8D8, dark: #565656
35
- */
36
- readonly border: {
37
- readonly light: "#D8D8D8";
38
- readonly dark: "#565656";
39
- };
40
- /**
41
- * light: #D8D8D8, dark: #565656
42
- */
43
- readonly input: {
44
- readonly light: "#D8D8D8";
45
- readonly dark: "#565656";
46
- };
47
- /**
48
- * light: #565656, dark: #B3B3B3
49
- */
50
- readonly label: {
51
- readonly light: "#565656";
52
- readonly dark: "#B3B3B3";
53
- };
54
- /**
55
- * light: #565656, dark: #B3B3B3
56
- */
57
- readonly placeholder: {
58
- readonly light: "#565656";
59
- readonly dark: "#B3B3B3";
60
- };
61
- /**
62
- * light: #054B91, dark: #48B6FF
63
- */
64
- readonly ring: {
65
- readonly light: "#054B91";
66
- readonly dark: "#48B6FF";
67
- };
68
- /**
69
- * light: [rgba(0, 0, 0, 0.5), #808080],
70
- * dark: [rgba(255, 255, 255, 0.5), #808080]
71
- */
72
- readonly scrollbar: {
73
- readonly light: "rgba(0, 0, 0, 0.5)";
74
- readonly dark: "rgba(255, 255, 255, 0.5)";
75
- };
76
- /**
77
- * light: #FFFFFF, dark: #FFFFFF
78
- */
79
- readonly thumb: {
80
- readonly light: "#FFFFFF";
81
- readonly dark: "#FFFFFF";
82
- };
83
- };
84
32
  export type ColorInputToken = keyof typeof colorInputToken;
85
33
  export declare const colorSurfaceToken: {
86
34
  /**
@@ -104,63 +52,61 @@ export declare const colorSurfaceToken: {
104
52
  */
105
53
  readonly destructive: "destructive";
106
54
  };
107
- export declare const colorSurfaceTokenFixture: {
55
+ export type ColorSurfaceTokenKey = keyof typeof colorSurfaceToken;
56
+ export declare const colorTextToken: {
57
+ /**
58
+ * Inherits the color
59
+ */
60
+ readonly current: "current";
61
+ /**
62
+ * light: #000000, dark: #FFFFFF
63
+ */
64
+ readonly primary: "primary";
65
+ /**
66
+ * light: #565656, dark: #B3B3B3
67
+ */
68
+ readonly secondary: "secondary";
69
+ };
70
+ export type ColorTextTokenKey = keyof typeof colorTextToken;
71
+ export declare const colorIconToken: {
72
+ /**
73
+ * Inherits the color
74
+ */
75
+ current: "current";
108
76
  /**
109
77
  * light: #F0F0F0, dark: #404040
110
78
  */
111
- readonly neutral: {
112
- readonly light: "#F0F0F0";
113
- readonly dark: "#404040";
114
- };
79
+ neutral: "neutral";
115
80
  /**
116
81
  * light: #FFC700, dark: #FFC700
117
82
  */
118
- readonly primary: {
119
- readonly light: "#FFC700";
120
- readonly dark: "#FFC700";
121
- };
83
+ primary: "primary";
122
84
  /**
123
85
  * light: #1B74DA, dark: #48B6FF
124
86
  */
125
- readonly secondary: {
126
- readonly light: "#1B74DA";
127
- readonly dark: "#48B6FF";
128
- };
87
+ secondary: "secondary";
129
88
  /**
130
89
  * light: #008A22, dark: #64DC16
131
90
  */
132
- readonly success: {
133
- readonly light: "#008A22";
134
- readonly dark: "#64DC16";
135
- };
91
+ success: "success";
136
92
  /**
137
93
  * light: #CE021B, dark: #FF7361
138
94
  */
139
- readonly destructive: {
140
- readonly light: "#CE021B";
141
- readonly dark: "#FF7361";
142
- };
143
- };
144
- export type ColorSurfaceTokenKey = keyof typeof colorSurfaceToken;
145
- export declare const colorTextToken: {
146
- /**
147
- * Inherits the color
148
- */
149
- readonly current: "current";
150
- /**
151
- * light: #FFFFFF, dark: #000000
152
- */
153
- readonly 'foreground-inverse': "foreground-inverse";
95
+ destructive: "destructive";
154
96
  /**
155
- * light: #FFC700, dark: #FFC700
156
- *
157
- * Currently does not pass contrast ratio of `4.5:1` against white #FFFFFF.
97
+ * light: #000000, dark: #FFFFFF
158
98
  */
159
- readonly primary: "primary";
99
+ 'typography-primary': "primary";
160
100
  /**
161
- * light: #1B74DA, dark: #48B6FF
101
+ * light: #565656, dark: #B3B3B3
162
102
  */
163
- readonly secondary: "secondary";
103
+ 'typography-secondary': "secondary";
104
+ };
105
+ export type ColorIconTokenKey = {
106
+ [K in Exclude<ColorTextTokenKey, 'current'> as `typography-${K}`]: K;
107
+ } & {
108
+ [K in ColorSurfaceTokenKey]: K;
109
+ } & {
110
+ current: 'current';
164
111
  };
165
- export type ColorTextTokenKey = keyof typeof colorTextToken;
166
112
  //# sourceMappingURL=color.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"color.d.ts","sourceRoot":"","sources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,MAAM,MAAM,oBAAoB,GAAG,MAAM,OAAO,iBAAiB,CAAA;AAEjE,eAAO,MAAM,cAAc;IACzB;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;CAEK,CAAA;AAEV,MAAM,MAAM,iBAAiB,GAAG,MAAM,OAAO,cAAc,CAAA;AAE3D,eAAO,MAAM,cAAc;IACzB;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;CAEwB,CAAA;AAE7B,MAAM,MAAM,iBAAiB,GAAG;KAC7B,CAAC,IAAI,OAAO,CAAC,iBAAiB,EAAE,SAAS,CAAC,IAAI,cAAc,CAAC,EAAE,GAAG,CAAC;CACrE,GAAG;KAAG,CAAC,IAAI,oBAAoB,GAAG,CAAC;CAAE,GAAG;IAAE,OAAO,EAAE,SAAS,CAAA;CAAE,CAAA"}
@@ -0,0 +1,138 @@
1
+ export declare const colorInputTokenFixture: {
2
+ /**
3
+ * light: #D8D8D8, dark: #565656
4
+ */
5
+ readonly border: {
6
+ readonly light: "#D8D8D8";
7
+ readonly dark: "#565656";
8
+ };
9
+ /**
10
+ * light: #D8D8D8, dark: #565656
11
+ */
12
+ readonly input: {
13
+ readonly light: "#D8D8D8";
14
+ readonly dark: "#565656";
15
+ };
16
+ /**
17
+ * light: #565656, dark: #B3B3B3
18
+ */
19
+ readonly label: {
20
+ readonly light: "#565656";
21
+ readonly dark: "#B3B3B3";
22
+ };
23
+ /**
24
+ * light: #565656, dark: #B3B3B3
25
+ */
26
+ readonly placeholder: {
27
+ readonly light: "#565656";
28
+ readonly dark: "#B3B3B3";
29
+ };
30
+ /**
31
+ * light: #054B91, dark: #48B6FF
32
+ */
33
+ readonly ring: {
34
+ readonly light: "#054B91";
35
+ readonly dark: "#48B6FF";
36
+ };
37
+ /**
38
+ * light: [rgba(0, 0, 0, 0.5), #808080],
39
+ * dark: [rgba(255, 255, 255, 0.5), #808080]
40
+ */
41
+ readonly scrollbar: {
42
+ readonly light: "rgba(0, 0, 0, 0.5)";
43
+ readonly dark: "rgba(255, 255, 255, 0.5)";
44
+ };
45
+ /**
46
+ * light: #FFFFFF, dark: #FFFFFF
47
+ */
48
+ readonly thumb: {
49
+ readonly light: "#FFFFFF";
50
+ readonly dark: "#FFFFFF";
51
+ };
52
+ };
53
+ export declare const colorSurfaceTokenFixture: {
54
+ /**
55
+ * light: #F0F0F0, dark: #404040
56
+ */
57
+ readonly neutral: {
58
+ readonly light: "#F0F0F0";
59
+ readonly dark: "#404040";
60
+ };
61
+ /**
62
+ * light: #FFC700, dark: #FFC700
63
+ */
64
+ readonly primary: {
65
+ readonly light: "#FFC700";
66
+ readonly dark: "#FFC700";
67
+ };
68
+ /**
69
+ * light: #1B74DA, dark: #48B6FF
70
+ */
71
+ readonly secondary: {
72
+ readonly light: "#1B74DA";
73
+ readonly dark: "#48B6FF";
74
+ };
75
+ /**
76
+ * light: #008A22, dark: #64DC16
77
+ */
78
+ readonly success: {
79
+ readonly light: "#008A22";
80
+ readonly dark: "#64DC16";
81
+ };
82
+ /**
83
+ * light: #CE021B, dark: #FF7361
84
+ */
85
+ readonly destructive: {
86
+ readonly light: "#CE021B";
87
+ readonly dark: "#FF7361";
88
+ };
89
+ };
90
+ export declare const colorTextTokenFixture: {
91
+ readonly current: {
92
+ readonly light: "#949494";
93
+ readonly dark: "#767676";
94
+ };
95
+ readonly primary: {
96
+ readonly light: "#000000";
97
+ readonly dark: "#FFFFFF";
98
+ };
99
+ readonly secondary: {
100
+ readonly light: "#565656";
101
+ readonly dark: "#B3B3B3";
102
+ };
103
+ };
104
+ export declare const colorIconTokenFixture: {
105
+ 'typography-primary': {
106
+ light: "#000000";
107
+ dark: "#FFFFFF";
108
+ };
109
+ 'typography-secondary': {
110
+ light: "#565656";
111
+ dark: "#B3B3B3";
112
+ };
113
+ current: {
114
+ light: "#949494";
115
+ dark: "#767676";
116
+ };
117
+ neutral: {
118
+ readonly light: "#F0F0F0";
119
+ readonly dark: "#404040";
120
+ };
121
+ primary: {
122
+ readonly light: "#FFC700";
123
+ readonly dark: "#FFC700";
124
+ };
125
+ secondary: {
126
+ readonly light: "#1B74DA";
127
+ readonly dark: "#48B6FF";
128
+ };
129
+ success: {
130
+ readonly light: "#008A22";
131
+ readonly dark: "#64DC16";
132
+ };
133
+ destructive: {
134
+ readonly light: "#CE021B";
135
+ readonly dark: "#FF7361";
136
+ };
137
+ };
138
+ //# sourceMappingURL=color.fixtures.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"color.fixtures.d.ts","sourceRoot":"","sources":["../../src/tokens/color.fixtures.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,sBAAsB;IACjC;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;;OAGG;;;;;IAKH;;OAEG;;;;;CAKK,CAAA;AAEV,eAAO,MAAM,wBAAwB;IACnC;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;;;;CAKK,CAAA;AAEV,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;CAIxB,CAAA;AAEV,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAK6C,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keeper-security/keeper-js-ui",
3
- "version": "0.25.0",
3
+ "version": "0.25.2",
4
4
  "type": "module",
5
5
  "description": "React components built for accessibility, consistency, and speed.",
6
6
  "types": "dist/types/index.d.ts",