@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.
- package/core/Code/component.css +2 -0
- package/core/Code/component.js +1 -1
- package/core/Code.jsx +108 -88
- package/core/CompanyAutocomplete/component.js +1 -1
- package/core/ConnectStateWrapper/component.js +1 -1
- package/core/ConnectStateWrapper.jsx +7 -7
- package/core/ContactFooter/component.js +1 -1
- package/core/ContactFooter.jsx +12 -12
- package/core/CookieMessage/component.js +1 -1
- package/core/CookieMessage.jsx +10 -10
- package/core/CustomerLogos/component.js +1 -1
- package/core/CustomerLogos.jsx +7 -7
- package/core/DropdownMenu/component.js +1 -1
- package/core/DropdownMenu.jsx +11 -11
- package/core/FeatureFooter/component.js +1 -1
- package/core/FeaturedLink/component.js +1 -1
- package/core/FeaturedLink.jsx +10 -10
- package/core/Flash/component.js +1 -1
- package/core/Flash.jsx +19 -19
- package/core/Footer/component.js +1 -1
- package/core/Footer.jsx +19 -19
- package/core/Icon/component.js +1 -1
- package/core/Icon.jsx +7 -7
- package/core/Loader/component.js +1 -1
- package/core/Loader.jsx +7 -7
- package/core/Logo/component.js +1 -1
- package/core/Logo.jsx +7 -7
- package/core/Meganav/component.css +1 -3
- package/core/Meganav/component.js +1 -1
- package/core/Meganav.jsx +220 -187
- package/core/MeganavBlogPostsList/component.js +1 -1
- package/core/MeganavBlogPostsList.jsx +13 -13
- package/core/MeganavContentCompany/component.js +1 -1
- package/core/MeganavContentCompany.jsx +39 -27
- package/core/MeganavContentDevelopers/component.js +1 -1
- package/core/MeganavContentDevelopers.jsx +30 -17
- package/core/MeganavContentPlatform/component.js +1 -1
- package/core/MeganavContentPlatform.jsx +22 -22
- package/core/MeganavContentUseCases/component.js +1 -1
- package/core/MeganavContentUseCases.jsx +62 -54
- package/core/MeganavContentWhyAbly/component.js +22 -0
- package/core/MeganavContentWhyAbly.jsx +3279 -0
- package/core/MeganavControl/component.js +1 -1
- package/core/MeganavControl.jsx +10 -10
- package/core/MeganavControlMobileDropdown/component.js +1 -1
- package/core/MeganavControlMobileDropdown.jsx +11 -11
- package/core/MeganavControlMobilePanelClose/component.js +1 -1
- package/core/MeganavControlMobilePanelClose.jsx +10 -10
- package/core/MeganavControlMobilePanelOpen/component.js +1 -1
- package/core/MeganavControlMobilePanelOpen.jsx +10 -10
- package/core/MeganavItemsDesktop/component.js +1 -1
- package/core/MeganavItemsDesktop.jsx +16 -16
- package/core/MeganavItemsMobile/component.js +1 -1
- package/core/MeganavItemsMobile.jsx +39 -39
- package/core/MeganavItemsSignedIn/component.js +1 -1
- package/core/MeganavItemsSignedIn.jsx +33 -33
- package/core/MeganavSearch/component.js +1 -1
- package/core/MeganavSearch.jsx +23 -23
- package/core/MeganavSearchAutocomplete/component.js +1 -1
- package/core/MeganavSearchAutocomplete.jsx +4 -4
- package/core/MeganavSearchPanel/component.js +1 -1
- package/core/MeganavSearchPanel.jsx +19 -19
- package/core/MeganavSearchSuggestions/component.js +1 -1
- package/core/MeganavSearchSuggestions.jsx +13 -13
- package/core/Notice/component.js +1 -1
- package/core/Notice.jsx +30 -30
- package/core/Showcase/component.js +1 -1
- package/core/Showcase.jsx +1 -1
- package/core/SignOutLink/component.js +1 -1
- package/core/SignOutLink.jsx +7 -7
- package/core/Slider/component.js +1 -1
- package/core/Slider.jsx +14 -14
- package/core/Uptime/component.js +1 -1
- package/core/Uptime.jsx +15 -15
- package/core/fonts/jetBrains-mono.css +3 -0
- package/core/fonts/manrope.css +3 -0
- package/core/scripts.js +1 -1
- package/core/sprites.svg +64 -0
- package/core/styles.css +86 -70
- package/package.json +1 -1
- package/reset/scripts.js +1 -1
- package/reset/styles.css +1 -11
- package/src/core/Footer/component.jsx +1 -1
- package/src/core/Meganav/component.css +1 -1
- package/src/core/MeganavContentCompany/component.html.erb +9 -0
- package/src/core/MeganavContentCompany/component.jsx +9 -0
- package/src/core/MeganavContentDevelopers/component.html.erb +9 -2
- package/src/core/MeganavContentDevelopers/component.jsx +11 -1
- package/src/core/MeganavContentPlatform/component.html.erb +6 -6
- package/src/core/MeganavContentPlatform/component.jsx +6 -6
- package/src/core/MeganavContentUseCases/component.html.erb +42 -38
- package/src/core/MeganavContentUseCases/component.jsx +41 -38
- package/src/core/fonts/jetBrains-mono.css +3 -0
- package/src/core/fonts/manrope.css +3 -0
- package/src/core/icons/icon-display-data-broadcast-col.svg +26 -0
- package/src/core/icons/icon-display-data-synchronization-col.svg +14 -0
- package/src/core/icons/icon-display-events-col.svg +13 -0
- package/src/core/icons/icon-display-kafka-at-the-edge-col.svg +8 -0
- package/src/core/icons/icon-display-push-notifications-col.svg +6 -0
- package/src/core/icons/icon-tech-apachekafka.svg +3 -0
- package/src/core/styles/buttons.css +5 -5
- package/src/core/styles/properties.css +37 -29
- package/src/core/styles/text.css +44 -30
- package/src/core/utils/syntax-highlighter-registry.js +2 -0
- package/src/core/utils/syntax-highlighter.css +2 -0
- package/src/core/utils/syntax-highlighter.js +5 -0
- package/tailwind.config.js +8 -0
- package/core/.DS_Store +0 -0
- package/core/DropdownMenuPreview/component.js +0 -6
- package/core/DropdownMenuPreview.jsx +0 -6
- package/src/.DS_Store +0 -0
- package/src/core/.DS_Store +0 -0
package/src/core/styles/text.css
CHANGED
|
@@ -1,46 +1,52 @@
|
|
|
1
1
|
@layer components {
|
|
2
2
|
.ui-text-title {
|
|
3
|
-
@apply font-
|
|
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.
|
|
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-
|
|
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.
|
|
11
|
+
@apply tracking-tighten-0.0125 xs:tracking-tighten-0.015;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
.ui-text-h2 {
|
|
15
|
-
@apply font-
|
|
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.
|
|
17
|
+
@apply tracking-tighten-0.015 xs:tracking-tighten-0.01;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.ui-text-h3 {
|
|
21
|
-
@apply font-
|
|
21
|
+
@apply font-manrope font-extrabold text-cool-black;
|
|
22
22
|
@apply text-h3;
|
|
23
|
-
@apply tracking-tighten-0.
|
|
23
|
+
@apply tracking-tighten-0.005;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
.ui-text-h4 {
|
|
27
|
-
@apply font-
|
|
28
|
-
@apply text-h4
|
|
29
|
-
@apply tracking-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
60
|
+
@apply font-manrope font-normal text-cool-black;
|
|
55
61
|
@apply text-quote;
|
|
56
|
-
@apply tracking-tighten-0.
|
|
62
|
+
@apply tracking-tighten-0.0015;
|
|
57
63
|
}
|
|
58
64
|
|
|
59
65
|
.ui-text-sub-header {
|
|
60
|
-
@apply font-
|
|
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-
|
|
71
|
+
@apply font-mono font-medium text-active-orange uppercase;
|
|
67
72
|
@apply text-overline1;
|
|
68
|
-
@apply tracking-widen-0.
|
|
73
|
+
@apply tracking-widen-0.16;
|
|
69
74
|
}
|
|
70
75
|
|
|
71
76
|
.ui-text-overline2 {
|
|
72
|
-
@apply font-
|
|
77
|
+
@apply font-mono font-medium text-active-orange uppercase;
|
|
73
78
|
@apply text-overline2;
|
|
74
|
-
@apply tracking-widen-0.
|
|
79
|
+
@apply tracking-widen-0.16;
|
|
75
80
|
}
|
|
76
81
|
|
|
77
82
|
.ui-text-menu1 {
|
|
78
|
-
@apply font-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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 {
|
package/tailwind.config.js
CHANGED
|
@@ -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
|
package/src/.DS_Store
DELETED
|
Binary file
|
package/src/core/.DS_Store
DELETED
|
Binary file
|