@ably/ui 8.7.0-dev.bd84e91 → 8.7.0-dev.bf010f7

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 (112) hide show
  1. package/core/Code/component.css +2 -0
  2. package/core/Code/component.js +1 -1
  3. package/core/Code.jsx +108 -88
  4. package/core/CompanyAutocomplete/component.js +1 -1
  5. package/core/ConnectStateWrapper/component.js +1 -1
  6. package/core/ConnectStateWrapper.jsx +7 -7
  7. package/core/ContactFooter/component.js +1 -1
  8. package/core/ContactFooter.jsx +12 -12
  9. package/core/CookieMessage/component.js +1 -1
  10. package/core/CookieMessage.jsx +10 -10
  11. package/core/CustomerLogos/component.js +1 -1
  12. package/core/CustomerLogos.jsx +7 -7
  13. package/core/DropdownMenu/component.js +1 -1
  14. package/core/DropdownMenu.jsx +11 -11
  15. package/core/FeatureFooter/component.js +1 -1
  16. package/core/FeaturedLink/component.js +1 -1
  17. package/core/FeaturedLink.jsx +10 -10
  18. package/core/Flash/component.js +1 -1
  19. package/core/Flash.jsx +19 -19
  20. package/core/Footer/component.js +1 -1
  21. package/core/Footer.jsx +19 -19
  22. package/core/Icon/component.js +1 -1
  23. package/core/Icon.jsx +7 -7
  24. package/core/Loader/component.js +1 -1
  25. package/core/Loader.jsx +7 -7
  26. package/core/Logo/component.js +1 -1
  27. package/core/Logo.jsx +7 -7
  28. package/core/Meganav/component.css +1 -3
  29. package/core/Meganav/component.js +1 -1
  30. package/core/Meganav.jsx +220 -187
  31. package/core/MeganavBlogPostsList/component.js +1 -1
  32. package/core/MeganavBlogPostsList.jsx +13 -13
  33. package/core/MeganavContentCompany/component.js +1 -1
  34. package/core/MeganavContentCompany.jsx +39 -27
  35. package/core/MeganavContentDevelopers/component.js +1 -1
  36. package/core/MeganavContentDevelopers.jsx +30 -17
  37. package/core/MeganavContentPlatform/component.js +1 -1
  38. package/core/MeganavContentPlatform.jsx +22 -22
  39. package/core/MeganavContentUseCases/component.js +1 -1
  40. package/core/MeganavContentUseCases.jsx +62 -54
  41. package/core/MeganavContentWhyAbly/component.js +22 -0
  42. package/core/MeganavContentWhyAbly.jsx +3279 -0
  43. package/core/MeganavControl/component.js +1 -1
  44. package/core/MeganavControl.jsx +10 -10
  45. package/core/MeganavControlMobileDropdown/component.js +1 -1
  46. package/core/MeganavControlMobileDropdown.jsx +11 -11
  47. package/core/MeganavControlMobilePanelClose/component.js +1 -1
  48. package/core/MeganavControlMobilePanelClose.jsx +10 -10
  49. package/core/MeganavControlMobilePanelOpen/component.js +1 -1
  50. package/core/MeganavControlMobilePanelOpen.jsx +10 -10
  51. package/core/MeganavItemsDesktop/component.js +1 -1
  52. package/core/MeganavItemsDesktop.jsx +16 -16
  53. package/core/MeganavItemsMobile/component.js +1 -1
  54. package/core/MeganavItemsMobile.jsx +39 -39
  55. package/core/MeganavItemsSignedIn/component.js +1 -1
  56. package/core/MeganavItemsSignedIn.jsx +33 -33
  57. package/core/MeganavSearch/component.js +1 -1
  58. package/core/MeganavSearch.jsx +23 -23
  59. package/core/MeganavSearchAutocomplete/component.js +1 -1
  60. package/core/MeganavSearchAutocomplete.jsx +4 -4
  61. package/core/MeganavSearchPanel/component.js +1 -1
  62. package/core/MeganavSearchPanel.jsx +19 -19
  63. package/core/MeganavSearchSuggestions/component.js +1 -1
  64. package/core/MeganavSearchSuggestions.jsx +13 -13
  65. package/core/Notice/component.js +1 -1
  66. package/core/Notice.jsx +30 -30
  67. package/core/Showcase/component.js +1 -1
  68. package/core/Showcase.jsx +1 -1
  69. package/core/SignOutLink/component.js +1 -1
  70. package/core/SignOutLink.jsx +7 -7
  71. package/core/Slider/component.js +1 -1
  72. package/core/Slider.jsx +14 -14
  73. package/core/Uptime/component.js +1 -1
  74. package/core/Uptime.jsx +15 -15
  75. package/core/fonts/jetBrains-mono.css +3 -0
  76. package/core/fonts/manrope.css +3 -0
  77. package/core/scripts.js +1 -1
  78. package/core/sprites.svg +64 -0
  79. package/core/styles.css +86 -70
  80. package/package.json +1 -1
  81. package/reset/scripts.js +1 -1
  82. package/reset/styles.css +1 -11
  83. package/src/core/Footer/component.jsx +1 -1
  84. package/src/core/Meganav/component.css +1 -1
  85. package/src/core/MeganavContentCompany/component.html.erb +9 -0
  86. package/src/core/MeganavContentCompany/component.jsx +9 -0
  87. package/src/core/MeganavContentDevelopers/component.html.erb +9 -2
  88. package/src/core/MeganavContentDevelopers/component.jsx +11 -1
  89. package/src/core/MeganavContentPlatform/component.html.erb +6 -6
  90. package/src/core/MeganavContentPlatform/component.jsx +6 -6
  91. package/src/core/MeganavContentUseCases/component.html.erb +42 -38
  92. package/src/core/MeganavContentUseCases/component.jsx +41 -38
  93. package/src/core/fonts/jetBrains-mono.css +3 -0
  94. package/src/core/fonts/manrope.css +3 -0
  95. package/src/core/icons/icon-display-data-broadcast-col.svg +26 -0
  96. package/src/core/icons/icon-display-data-synchronization-col.svg +14 -0
  97. package/src/core/icons/icon-display-events-col.svg +13 -0
  98. package/src/core/icons/icon-display-kafka-at-the-edge-col.svg +8 -0
  99. package/src/core/icons/icon-display-push-notifications-col.svg +6 -0
  100. package/src/core/icons/icon-tech-apachekafka.svg +3 -0
  101. package/src/core/styles/buttons.css +5 -5
  102. package/src/core/styles/properties.css +37 -29
  103. package/src/core/styles/text.css +44 -30
  104. package/src/core/utils/syntax-highlighter-registry.js +2 -0
  105. package/src/core/utils/syntax-highlighter.css +2 -0
  106. package/src/core/utils/syntax-highlighter.js +5 -0
  107. package/tailwind.config.js +8 -0
  108. package/core/.DS_Store +0 -0
  109. package/core/DropdownMenuPreview/component.js +0 -6
  110. package/core/DropdownMenuPreview.jsx +0 -6
  111. package/src/.DS_Store +0 -0
  112. package/src/core/.DS_Store +0 -0
@@ -1,46 +1,52 @@
1
1
  @layer components {
2
2
  .ui-text-title {
3
- @apply font-sans font-medium text-cool-black;
3
+ @apply font-manrope font-extrabold text-cool-black;
4
4
  @apply text-title-xs xs:text-title xl:text-title-xl;
5
- @apply tracking-tighten-0.01 xs:tracking-tighten-0.015 xl:tracking-tighten-0.02;
5
+ @apply tracking-tighten-0.015 xs:tracking-tighten-0.02 xl:tracking-tighten-0.02;
6
6
  }
7
7
 
8
8
  .ui-text-h1 {
9
- @apply font-sans font-medium text-cool-black;
9
+ @apply font-manrope font-extrabold text-cool-black;
10
10
  @apply text-h1-xs xs:text-h1 xl:text-h1-xl;
11
- @apply tracking-tighten-0.01;
11
+ @apply tracking-tighten-0.0125 xs:tracking-tighten-0.015;
12
12
  }
13
13
 
14
14
  .ui-text-h2 {
15
- @apply font-sans font-medium text-cool-black;
15
+ @apply font-manrope font-extrabold text-cool-black;
16
16
  @apply text-h2-xs xs:text-h2 xl:text-h2-xl;
17
- @apply tracking-tighten-0.005;
17
+ @apply tracking-tighten-0.015 xs:tracking-tighten-0.01;
18
18
  }
19
19
 
20
20
  .ui-text-h3 {
21
- @apply font-sans font-medium text-cool-black;
21
+ @apply font-manrope font-extrabold text-cool-black;
22
22
  @apply text-h3;
23
- @apply tracking-tighten-0.0025;
23
+ @apply tracking-tighten-0.005;
24
24
  }
25
25
 
26
26
  .ui-text-h4 {
27
- @apply font-sans font-medium text-cool-black;
28
- @apply text-h4 uppercase;
29
- @apply tracking-widen-0.1;
27
+ @apply font-manrope font-extrabold text-cool-black;
28
+ @apply text-h4;
29
+ @apply tracking-tighten-0.0015;
30
+ }
31
+
32
+ .ui-text-h5 {
33
+ @apply font-manrope font-extrabold text-cool-black;
34
+ @apply text-h5;
35
+ @apply tracking-tighten-0.0025;
30
36
  }
31
37
 
32
38
  .ui-text-p1 {
33
- @apply font-sans font-light text-charcoal-grey;
39
+ @apply font-manrope font-medium text-charcoal-grey;
34
40
  @apply text-p1;
35
41
  }
36
42
 
37
43
  .ui-text-p2 {
38
- @apply font-sans font-light text-charcoal-grey;
44
+ @apply font-manrope font-medium text-charcoal-grey;
39
45
  @apply text-p2;
40
46
  }
41
47
 
42
48
  .ui-text-p3 {
43
- @apply font-sans font-light text-charcoal-grey;
49
+ @apply font-manrope font-medium text-charcoal-grey;
44
50
  @apply text-p3;
45
51
  }
46
52
 
@@ -51,59 +57,62 @@
51
57
  }
52
58
 
53
59
  .ui-text-quote {
54
- @apply font-sans font-light text-cool-black;
60
+ @apply font-manrope font-normal text-cool-black;
55
61
  @apply text-quote;
56
- @apply tracking-tighten-0.025;
62
+ @apply tracking-tighten-0.0015;
57
63
  }
58
64
 
59
65
  .ui-text-sub-header {
60
- @apply font-sans font-light text-dark-grey;
66
+ @apply font-manrope font-semibold text-dark-grey;
61
67
  @apply text-sub-header-xs xs:text-sub-header;
62
- @apply tracking-tighten-0.025;
63
68
  }
64
69
 
65
70
  .ui-text-overline1 {
66
- @apply font-sans font-medium text-dark-grey uppercase;
71
+ @apply font-mono font-medium text-active-orange uppercase;
67
72
  @apply text-overline1;
68
- @apply tracking-widen-0.15;
73
+ @apply tracking-widen-0.16;
69
74
  }
70
75
 
71
76
  .ui-text-overline2 {
72
- @apply font-sans font-medium text-dark-grey uppercase;
77
+ @apply font-mono font-medium text-active-orange uppercase;
73
78
  @apply text-overline2;
74
- @apply tracking-widen-0.1;
79
+ @apply tracking-widen-0.16;
75
80
  }
76
81
 
77
82
  .ui-text-menu1 {
78
- @apply font-sans font-light text-cool-black;
83
+ @apply font-manrope font-medium text-cool-black;
79
84
  @apply text-menu1;
80
85
  }
81
86
 
82
87
  .ui-text-menu2 {
83
- @apply font-sans font-light text-cool-black;
88
+ @apply font-manrope font-medium text-cool-black;
84
89
  @apply text-menu2;
85
90
  }
86
91
 
87
92
  .ui-text-menu3 {
88
- @apply font-sans font-light text-cool-black;
93
+ @apply font-manrope font-medium text-cool-black;
89
94
  @apply text-menu3;
90
95
  }
91
96
 
92
97
  .ui-text-code {
93
- @apply font-mono font-semibold text-code;
98
+ @apply font-jetbrains_mono font-medium text-code;
99
+ }
100
+
101
+ .ui-text-code2 {
102
+ @apply font-jetbrains_mono font-medium text-code2;
94
103
  }
95
104
 
96
105
  .ui-text-code-inline {
97
- @apply font-mono font-semibold text-code text-charcoal-grey bg-light-grey p-inline-code rounded-sm mx-1;
106
+ @apply font-jetbrains_mono font-medium text-code text-charcoal-grey bg-light-grey p-inline-code rounded-sm mx-1;
98
107
  }
99
108
 
100
109
  .ui-unordered-list {
101
- @apply text-p1 font-light text-cool-black;
110
+ @apply text-p1 font-medium text-cool-black;
102
111
  @apply list-disc ml-32 mb-24;
103
112
  }
104
113
 
105
114
  .ui-ordered-list {
106
- @apply text-p1 font-light text-cool-black;
115
+ @apply text-p1 font-medium text-charcoal-grey;
107
116
  @apply ml-32 mb-24 list-decimal;
108
117
  }
109
118
 
@@ -124,8 +133,13 @@
124
133
  @apply list-square;
125
134
  }
126
135
 
136
+ .ui-ordered-list li,
137
+ .ui-unordered-list li {
138
+ @apply font-medium font-manrope;
139
+ }
140
+
127
141
  .ui-unordered-list-with-emphasis {
128
- @apply text-p1 font-light text-cool-black;
142
+ @apply text-p1 font-medium text-cool-black;
129
143
  @apply list-disc ml-32 mt-32 -mb-12;
130
144
  }
131
145
 
@@ -22,6 +22,7 @@ import php from "highlight.js/lib/languages/php";
22
22
  import python from "highlight.js/lib/languages/python";
23
23
  import ruby from "highlight.js/lib/languages/ruby";
24
24
  import swift from "highlight.js/lib/languages/swift";
25
+ import kotlin from "highlight.js/lib/languages/kotlin";
25
26
  import sql from "highlight.js/lib/languages/sql";
26
27
  import xml from "highlight.js/lib/languages/xml";
27
28
  import yaml from "highlight.js/lib/languages/yaml";
@@ -44,6 +45,7 @@ const registry = [
44
45
  { label: "C++", key: "cpp", module: cpp },
45
46
  { label: "Dart", key: "dart", module: dart },
46
47
  { label: "Swift", key: "swift", module: swift },
48
+ { label: "Kotlin", key: "kotlin", module: kotlin },
47
49
  { label: "Objective C", key: "objectivec", module: objectivec },
48
50
  { label: "Node.js", key: "javascript", module: javascript },
49
51
  { label: "JSON", key: "json", module: json },
@@ -1,5 +1,7 @@
1
1
  @layer base {
2
2
  @import url("https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,600;0,700;1,600;1,700&display=swap");
3
+ @import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@100;200;300;400;500;600;700;800&display=swap");
4
+ @import url("https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&display=swap");
3
5
  }
4
6
 
5
7
  @layer components {
@@ -43,6 +43,11 @@ const languageToHighlightKey = (lang) => {
43
43
  id = "typescript";
44
44
  break;
45
45
 
46
+ case "kotlin":
47
+ case "kt":
48
+ id = "kotlin";
49
+ break;
50
+
46
51
  case "shell":
47
52
  case "fh":
48
53
  case "sh":
@@ -35,6 +35,7 @@ module.exports = {
35
35
  "h2-xs": ["var(--fs-h2-xs)", "var(--lh-tight)"],
36
36
  h3: ["var(--fs-h3)", "var(--lh-tight)"],
37
37
  h4: ["var(--fs-h4)", "var(--lh-tight)"],
38
+ h5: ["var(--fs-h5)", "var(--lh-tight)"],
38
39
  p1: ["var(--fs-p1)", "var(--lh-relaxed)"],
39
40
  p2: ["var(--fs-p2)", "var(--lh-relaxed)"],
40
41
  p3: ["var(--fs-p3)", "var(--lh-relaxed)"],
@@ -53,6 +54,7 @@ module.exports = {
53
54
  menu3: ["var(--fs-menu3)", "var(--lh-snug)"],
54
55
  quote: ["var(--fs-quote)", "var(--lh-relaxed)"],
55
56
  code: ["var(--fs-code)", "var(--lh-dense)"],
57
+ code2: ["var(--fs-code2)", "var(--lh-dense)"],
56
58
  },
57
59
  colors: {
58
60
  transparent: "transparent",
@@ -87,6 +89,8 @@ module.exports = {
87
89
  fontFamily: {
88
90
  sans: ["NEXT Book", "Arial", "Helvetica", "sans-serif"],
89
91
  mono: ["Source Code Pro", "Courier", "monospace"],
92
+ manrope: ["Manrope", "sans-serif"],
93
+ jetbrains_mono: ["JetBrains Mono", "monospace"],
90
94
  },
91
95
  margin: (theme, { negative }) => ({
92
96
  auto: "auto",
@@ -124,6 +128,7 @@ module.exports = {
124
128
  20: "var(--spacing-20)",
125
129
  24: "var(--spacing-24)",
126
130
  32: "var(--spacing-32)",
131
+ 36: "var(--spacing-36)",
127
132
  40: "var(--spacing-40)",
128
133
  48: "var(--spacing-48)",
129
134
  64: "var(--spacing-64)",
@@ -155,11 +160,14 @@ module.exports = {
155
160
  "tighten-0.025": "var(--ls-tighten-0_025)",
156
161
  "tighten-0.02": "var(--ls-tighten-0_02)",
157
162
  "tighten-0.015": "var(--ls-tighten-0_015)",
163
+ "tighten-0.0125": "var(--ls-tighten-0_0125)",
158
164
  "tighten-0.01": "var(--ls-tighten-0_01)",
159
165
  "tighten-0.005": "var(--ls-tighten-0_005)",
160
166
  "tighten-0.0025": "var(--ls-tighten-0_0025)",
167
+ "tighten-0.0015": "var(--ls-tighten-0_0015)",
161
168
  "widen-0.1": "var(--ls-widen-0_1)",
162
169
  "widen-0.15": "var(--ls-widen-0_15)",
170
+ "widen-0.16": "var(--ls-widen-0_16)",
163
171
  },
164
172
  borderRadius: {
165
173
  none: "0",
package/core/.DS_Store DELETED
Binary file
@@ -1,6 +0,0 @@
1
- /******/ (() => { // webpackBootstrap
2
- /******/ "use strict";
3
- /******/
4
- /******/
5
- /******/ })()
6
- ;
@@ -1,6 +0,0 @@
1
- /******/ (() => { // webpackBootstrap
2
- /******/ "use strict";
3
- /******/
4
- /******/
5
- /******/ })()
6
- ;
package/src/.DS_Store DELETED
Binary file
Binary file