@gooddata/sdk-ui-kit 10.6.0-alpha.2 → 10.6.0-alpha.20

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 (68) hide show
  1. package/esm/AddButton/AddButton.d.ts +18 -0
  2. package/esm/AddButton/AddButton.d.ts.map +1 -0
  3. package/esm/AddButton/AddButton.js +30 -0
  4. package/esm/AddButton/AddButton.js.map +1 -0
  5. package/esm/AddButton/index.d.ts +2 -0
  6. package/esm/AddButton/index.d.ts.map +1 -0
  7. package/esm/AddButton/index.js +3 -0
  8. package/esm/AddButton/index.js.map +1 -0
  9. package/esm/Datepicker/Datepicker.js +1 -1
  10. package/esm/Datepicker/Datepicker.js.map +1 -1
  11. package/esm/Dialog/ContentDivider.d.ts +3 -1
  12. package/esm/Dialog/ContentDivider.d.ts.map +1 -1
  13. package/esm/Dialog/ContentDivider.js +4 -3
  14. package/esm/Dialog/ContentDivider.js.map +1 -1
  15. package/esm/Dialog/DialogList/index.d.ts +0 -1
  16. package/esm/Dialog/DialogList/index.d.ts.map +1 -1
  17. package/esm/Dialog/DialogList/index.js +1 -2
  18. package/esm/Dialog/DialogList/index.js.map +1 -1
  19. package/esm/Icon/Icon.d.ts.map +1 -1
  20. package/esm/Icon/Icon.js +2 -0
  21. package/esm/Icon/Icon.js.map +1 -1
  22. package/esm/Icon/icons/Schedule.d.ts +7 -0
  23. package/esm/Icon/icons/Schedule.d.ts.map +1 -0
  24. package/esm/Icon/icons/Schedule.js +10 -0
  25. package/esm/Icon/icons/Schedule.js.map +1 -0
  26. package/esm/RecurrenceForm/DateTime.d.ts.map +1 -1
  27. package/esm/RecurrenceForm/DateTime.js +4 -3
  28. package/esm/RecurrenceForm/DateTime.js.map +1 -1
  29. package/esm/RecurrenceForm/Recurrence.d.ts +3 -1
  30. package/esm/RecurrenceForm/Recurrence.d.ts.map +1 -1
  31. package/esm/RecurrenceForm/Recurrence.js +4 -3
  32. package/esm/RecurrenceForm/Recurrence.js.map +1 -1
  33. package/esm/RecurrenceForm/RecurrenceForm.d.ts +1 -0
  34. package/esm/RecurrenceForm/RecurrenceForm.d.ts.map +1 -1
  35. package/esm/RecurrenceForm/RecurrenceForm.js +4 -4
  36. package/esm/RecurrenceForm/RecurrenceForm.js.map +1 -1
  37. package/esm/RecurrenceForm/RepeatTypeSelect.d.ts +1 -0
  38. package/esm/RecurrenceForm/RepeatTypeSelect.d.ts.map +1 -1
  39. package/esm/RecurrenceForm/RepeatTypeSelect.js +7 -6
  40. package/esm/RecurrenceForm/RepeatTypeSelect.js.map +1 -1
  41. package/esm/RecurrenceForm/constants.d.ts +6 -1
  42. package/esm/RecurrenceForm/constants.d.ts.map +1 -1
  43. package/esm/RecurrenceForm/constants.js +6 -1
  44. package/esm/RecurrenceForm/constants.js.map +1 -1
  45. package/esm/RecurrenceForm/utils.d.ts +1 -1
  46. package/esm/RecurrenceForm/utils.d.ts.map +1 -1
  47. package/esm/RecurrenceForm/utils.js +2 -2
  48. package/esm/RecurrenceForm/utils.js.map +1 -1
  49. package/esm/RecurrenceForm/utils.test.js +28 -27
  50. package/esm/RecurrenceForm/utils.test.js.map +1 -1
  51. package/esm/index.d.ts +1 -0
  52. package/esm/index.d.ts.map +1 -1
  53. package/esm/index.js +1 -0
  54. package/esm/index.js.map +1 -1
  55. package/esm/sdk-ui-kit.d.ts +21 -1
  56. package/package.json +8 -8
  57. package/styles/css/dialogList.css +1 -0
  58. package/styles/css/dialogList.css.map +1 -1
  59. package/styles/css/main.css +32 -5
  60. package/styles/css/main.css.map +1 -1
  61. package/styles/css/recurrenceForm.css +31 -5
  62. package/styles/css/recurrenceForm.css.map +1 -1
  63. package/styles/scss/dialogList.scss +2 -1
  64. package/styles/scss/recurrenceForm.scss +39 -5
  65. package/esm/Dialog/DialogList/ContentDivider.d.ts +0 -6
  66. package/esm/Dialog/DialogList/ContentDivider.d.ts.map +0 -1
  67. package/esm/Dialog/DialogList/ContentDivider.js +0 -10
  68. package/esm/Dialog/DialogList/ContentDivider.js.map +0 -1
@@ -1,4 +1,4 @@
1
- // (C) 2022 GoodData Corporation
1
+ // (C) 2022-2024 GoodData Corporation
2
2
 
3
3
  @use "variables";
4
4
 
@@ -202,4 +202,5 @@
202
202
  border-top: 1px solid variables.$gd-border-color;
203
203
  height: 0;
204
204
  margin-top: 10px;
205
+ margin-bottom: 5px;
205
206
  }
@@ -1,5 +1,7 @@
1
1
  // (C) 2024 GoodData Corporation
2
2
 
3
+ @use "variables";
4
+
3
5
  $input-height: 28px;
4
6
  $input-width: 128px;
5
7
 
@@ -7,12 +9,21 @@ $input-width: 128px;
7
9
  display: flex;
8
10
  flex-direction: column;
9
11
 
12
+ .gd-input-component {
13
+ margin-bottom: 20px;
14
+
15
+ label {
16
+ min-width: 100px;
17
+ }
18
+ }
19
+
10
20
  .gd-recurrence-form-datetime {
11
21
  display: flex;
12
22
  flex-direction: row;
23
+ align-items: center;
13
24
 
14
- > :not(:first-child),
15
- > :not(:last-child) {
25
+ > :not(:first-of-type),
26
+ > :not(:last-of-type) {
16
27
  margin-right: 10px;
17
28
  }
18
29
 
@@ -37,12 +48,19 @@ $input-width: 128px;
37
48
  }
38
49
  }
39
50
 
51
+ .gd-recurrence-form-datetime-inner,
52
+ .gd-recurrence-form-repeat-inner {
53
+ display: flex;
54
+ gap: 10px;
55
+ }
56
+
40
57
  .gd-recurrence-form-repeat {
41
58
  display: flex;
42
59
  flex-direction: row;
60
+ align-items: center;
43
61
 
44
- > :not(:first-child),
45
- > :not(:last-child) {
62
+ > :not(:first-of-type),
63
+ > :not(:last-of-type) {
46
64
  margin-right: 10px;
47
65
  }
48
66
 
@@ -55,9 +73,25 @@ $input-width: 128px;
55
73
 
56
74
  .gd-recurrence-form-cron {
57
75
  input {
58
- width: $input-width;
76
+ max-width: $input-width;
59
77
  height: $input-height;
60
78
  }
61
79
  }
62
80
  }
81
+
82
+ @media #{variables.$small-only} {
83
+ .gd-recurrence-form-datetime,
84
+ .gd-recurrence-form-repeat {
85
+ display: block;
86
+ }
87
+
88
+ .gd-label {
89
+ display: block;
90
+ margin-bottom: 7px;
91
+ }
92
+
93
+ .gd-recurrence-form-datetime-timezone {
94
+ margin-top: 10px;
95
+ }
96
+ }
63
97
  }
@@ -1,6 +0,0 @@
1
- import React from "react";
2
- /**
3
- * @internal
4
- */
5
- export declare const ContentDivider: React.VFC;
6
- //# sourceMappingURL=ContentDivider.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ContentDivider.d.ts","sourceRoot":"","sources":["../../../src/Dialog/DialogList/ContentDivider.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B;;GAEG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,GAMlC,CAAC"}
@@ -1,10 +0,0 @@
1
- // (C) 2022 GoodData Corporation
2
- import React from "react";
3
- /**
4
- * @internal
5
- */
6
- export const ContentDivider = () => {
7
- return (React.createElement("div", null,
8
- React.createElement("div", { className: "gd-content-divider" })));
9
- };
10
- //# sourceMappingURL=ContentDivider.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ContentDivider.js","sourceRoot":"","sources":["../../../src/Dialog/DialogList/ContentDivider.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAEhC,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B;;GAEG;AACH,MAAM,CAAC,MAAM,cAAc,GAAc,GAAG,EAAE;IAC1C,OAAO,CACH;QACI,6BAAK,SAAS,EAAC,oBAAoB,GAAG,CACpC,CACT,CAAC;AACN,CAAC,CAAC"}