@cuby-ui/core 0.0.13 → 0.0.16

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 (85) hide show
  1. package/components/alert/alert.component.d.ts +13 -0
  2. package/components/alert/alert.interfaces.d.ts +9 -0
  3. package/components/alert/alert.module.d.ts +11 -0
  4. package/components/alert/alert.service.d.ts +7 -0
  5. package/components/alert/alert.tokens.d.ts +15 -0
  6. package/components/alert/alert.types.d.ts +3 -0
  7. package/components/alert/alerts.component.d.ts +17 -0
  8. package/components/alert/index.d.ts +8 -0
  9. package/components/button/button.component.d.ts +3 -2
  10. package/components/button/button.options.d.ts +1 -1
  11. package/components/context-menu/context-menu.component.d.ts +1 -1
  12. package/components/dialog/dialog.component.d.ts +12 -0
  13. package/components/dialog/dialog.interfaces.d.ts +3 -0
  14. package/components/dialog/dialog.module.d.ts +10 -0
  15. package/components/dialog/dialog.service.d.ts +7 -0
  16. package/components/dialog/dialog.tokens.d.ts +8 -0
  17. package/components/dialog/dialogs.component.d.ts +16 -0
  18. package/components/dialog/index.d.ts +4 -0
  19. package/components/editor/editor.component.d.ts +43 -0
  20. package/components/editor/editor.module.d.ts +7 -0
  21. package/components/editor/index.d.ts +2 -0
  22. package/components/hint/hint.component.d.ts +1 -1
  23. package/components/icon-button/icon-button.component.d.ts +1 -1
  24. package/components/index.d.ts +4 -0
  25. package/components/input-number/input-number.component.d.ts +4 -4
  26. package/components/input-password/input-password.component.d.ts +3 -3
  27. package/components/input-text/input-text.component.d.ts +4 -4
  28. package/components/notification/index.d.ts +3 -0
  29. package/components/notification/notification.component.d.ts +13 -0
  30. package/components/notification/notification.module.d.ts +10 -0
  31. package/components/notification/notification.options.d.ts +13 -0
  32. package/components/svg/svg.component.d.ts +1 -1
  33. package/directives/text-field-controller/text-field-icon-left.directive.d.ts +1 -1
  34. package/esm2020/components/alert/alert.component.mjs +36 -0
  35. package/esm2020/components/alert/alert.interfaces.mjs +2 -0
  36. package/esm2020/components/alert/alert.module.mjs +36 -0
  37. package/esm2020/components/alert/alert.service.mjs +17 -0
  38. package/esm2020/components/alert/alert.tokens.mjs +19 -0
  39. package/esm2020/components/alert/alert.types.mjs +2 -0
  40. package/esm2020/components/alert/alerts.component.mjs +36 -0
  41. package/esm2020/components/alert/index.mjs +9 -0
  42. package/esm2020/components/button/button.component.mjs +1 -1
  43. package/esm2020/components/button/button.options.mjs +1 -1
  44. package/esm2020/components/button-group/button-group.component.mjs +2 -2
  45. package/esm2020/components/context-menu/context-menu.component.mjs +3 -3
  46. package/esm2020/components/dialog/dialog.component.mjs +29 -0
  47. package/esm2020/components/dialog/dialog.interfaces.mjs +2 -0
  48. package/esm2020/components/dialog/dialog.module.mjs +33 -0
  49. package/esm2020/components/dialog/dialog.service.mjs +17 -0
  50. package/esm2020/components/dialog/dialog.tokens.mjs +10 -0
  51. package/esm2020/components/dialog/dialogs.component.mjs +32 -0
  52. package/esm2020/components/dialog/index.mjs +5 -0
  53. package/esm2020/components/editor/editor.component.mjs +169 -0
  54. package/esm2020/components/editor/editor.module.mjs +16 -0
  55. package/esm2020/components/editor/index.mjs +3 -0
  56. package/esm2020/components/hint/hint.component.mjs +1 -1
  57. package/esm2020/components/icon-button/icon-button.component.mjs +1 -1
  58. package/esm2020/components/index.mjs +5 -1
  59. package/esm2020/components/input-number/input-number.component.mjs +7 -11
  60. package/esm2020/components/input-password/input-password.component.mjs +7 -11
  61. package/esm2020/components/input-text/input-text.component.mjs +7 -11
  62. package/esm2020/components/notification/index.mjs +4 -0
  63. package/esm2020/components/notification/notification.component.mjs +51 -0
  64. package/esm2020/components/notification/notification.module.mjs +28 -0
  65. package/esm2020/components/notification/notification.options.mjs +6 -0
  66. package/esm2020/components/svg/svg.component.mjs +1 -1
  67. package/esm2020/directives/text-field-controller/text-field-icon-left.directive.mjs +1 -1
  68. package/esm2020/interfaces/context-menu-item.mjs +1 -1
  69. package/esm2020/types/index.mjs +4 -1
  70. package/esm2020/types/position.mjs +2 -0
  71. package/esm2020/types/resizing.mjs +2 -0
  72. package/esm2020/types/status.mjs +2 -0
  73. package/fesm2015/cuby-ui-core.mjs +554 -110
  74. package/fesm2015/cuby-ui-core.mjs.map +1 -1
  75. package/fesm2020/cuby-ui-core.mjs +556 -110
  76. package/fesm2020/cuby-ui-core.mjs.map +1 -1
  77. package/interfaces/context-menu-item.d.ts +1 -1
  78. package/package.json +3 -3
  79. package/styles/mixins/inputs.scss +7 -0
  80. package/styles/theme.scss +18 -1
  81. package/styles/variables/colors.scss +16 -0
  82. package/types/index.d.ts +3 -0
  83. package/types/position.d.ts +2 -0
  84. package/types/resizing.d.ts +2 -0
  85. package/types/status.d.ts +1 -0
package/styles/theme.scss CHANGED
@@ -1,3 +1,5 @@
1
+ @import 'quill/dist/quill.snow.css';
2
+
1
3
  :root {
2
4
  --cui-main-font: Inter, sans-serif;
3
5
 
@@ -12,20 +14,30 @@
12
14
  --cui-gray-600: #4B5563;
13
15
  --cui-gray-900: #111827;
14
16
 
17
+ --dark-gray-30: #2B2D31;
18
+
15
19
  --cui-cyan-800: #297F7E;
16
20
  --cui-cyan-900: #1A6B6A;
17
21
 
18
22
  --cui-green-600: #17C174;
19
23
  --cui-green-700: #039855;
24
+ --cui-green-900: #004627;
25
+
26
+ --cui-yellow-400: #FDB022;
27
+ --cui-yellow-900: #533600;
20
28
 
21
29
  --cui-red-500: #D92D20;
22
30
  --cui-red-600: #B82E2E;
31
+ --cui-red-900: #520909;
23
32
 
33
+ --cui-light-blue-50: #F0F9FF;
24
34
  --cui-light-blue-500: #2EABFF;
25
35
  --cui-light-blue-600: #0099FF;
26
36
 
37
+ --cui-blue-500: #4190FF;
27
38
  --cui-blue-600: #1570EF;
28
- --cui-blue-900: #00429D;
39
+ --cui-blue-800: #00429D;
40
+ --cui-blue-900: #002B67;
29
41
 
30
42
  --cui-base-0: var(--cui-gray-0);
31
43
  --cui-base-10: var(--cui-gray-10);
@@ -43,10 +55,15 @@
43
55
 
44
56
  --cui-success-600: var(--cui-green-600);
45
57
  --cui-success-700: var(--cui-green-700);
58
+ --cui-success-900: var(--cui-green-900);
46
59
 
47
60
  --cui-error-500: var(--cui-red-500);
48
61
  --cui-error-600: var(--cui-red-600);
62
+ --cui-error-900: var(--cui-red-900);
49
63
 
64
+ --cui-info-50: var(--cui-light-blue-50);
65
+ --cui-info-500: var(--cui-blue-500);
50
66
  --cui-info-600: var(--cui-blue-600);
67
+ --cui-info-800: var(--cui-blue-800);
51
68
  --cui-info-900: var(--cui-blue-900);
52
69
  }
@@ -9,19 +9,29 @@ $cui-gray-500: var(--cui-gray-500);
9
9
  $cui-gray-600: var(--cui-gray-600);
10
10
  $cui-gray-900: var(--cui-gray-900);
11
11
 
12
+ $cui-dark-gray-30: var(--dark-gray-30);
13
+
12
14
  $cui-cyan-800: var(--cui-cyan-800);
13
15
  $cui-cyan-900: var(--cui-cyan-900);
14
16
 
15
17
  $cui-green-600: var(--cui-green-600);
16
18
  $cui-green-700: var(--cui-green-700);
19
+ $cui-green-900: var(--cui-green-900);
20
+
21
+ $cui-yellow-400: var(--cui-yellow-400);
22
+ $cui-yellow-900: var(--cui-yellow-900);
17
23
 
18
24
  $cui-red-500: var(--cui-red-500);
19
25
  $cui-red-600: var(--cui-red-600);
26
+ $cui-red-900: var(--cui-red-900);
20
27
 
28
+ $cui-light-blue-50 : var(--cui-light-blue-50);
21
29
  $cui-light-blue-500: var(--cui-light-blue-500);
22
30
  $cui-light-blue-600: var(--cui-light-blue-600);
23
31
 
32
+ $cui-blue-500: var(--cui-blue-500);
24
33
  $cui-blue-600: var(--cui-blue-600);
34
+ $cui-blue-800: var(--cui-blue-800);
25
35
  $cui-blue-900: var(--cui-blue-900);
26
36
 
27
37
  $cui-base-0: var(--cui-base-0);
@@ -40,9 +50,15 @@ $cui-accent-900: var(--cui-accent-900);
40
50
 
41
51
  $cui-success-600: var(--cui-success-600);
42
52
  $cui-success-700: var(--cui-success-700);
53
+ $cui-success-900: var(--cui-success-900);
43
54
 
44
55
  $cui-error-500: var(--cui-error-500);
45
56
  $cui-error-600: var(--cui-error-600);
57
+ $cui-error-900 : var(--cui-error-900);
46
58
 
59
+ $cui-info-50 : var(--cui-info-50);
60
+ $cui-info-500: var(--cui-info-500);
47
61
  $cui-info-600: var(--cui-info-600);
62
+ $cui-info-800: var(--cui-info-800);
48
63
  $cui-info-900: var(--cui-info-900);
64
+
package/types/index.d.ts CHANGED
@@ -1,4 +1,7 @@
1
1
  export * from './appearance';
2
2
  export * from './hint-type';
3
+ export * from './position';
4
+ export * from './resizing';
3
5
  export * from './shape';
4
6
  export * from './size';
7
+ export * from './status';
@@ -0,0 +1,2 @@
1
+ export type CuiPositionCenter = 'center';
2
+ export type CuiPositionRight = 'right';
@@ -0,0 +1,2 @@
1
+ export type CuiResizingHug = 'hug';
2
+ export type CuiResizingFixed = 'fixed';
@@ -0,0 +1 @@
1
+ export type CuiStatus = 'success' | 'info' | 'alert' | 'error';