@ably/ui 8.7.0-dev.cbc127e → 8.7.0-dev.cf2bf50
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/.DS_Store +0 -0
- package/core/Footer.jsx +14 -19
- package/core/Meganav/component.css +41 -17
- package/core/Meganav/component.json +1 -1
- package/core/Meganav.jsx +395 -137
- package/core/MeganavContentDevelopers.jsx +366 -83
- package/core/MeganavContentPlatform.jsx +12 -36
- package/core/MeganavContentProducts/component.js +1 -0
- package/core/MeganavContentProducts.jsx +333 -0
- package/core/MeganavContentUseCases.jsx +4 -4
- package/core/MeganavItemsDesktop.jsx +2 -2
- package/core/MeganavItemsMobile.jsx +1 -1
- package/core/images/best-support-2023.svg +1 -0
- package/core/images/fastest-implementation-2023.svg +1 -0
- package/core/images/high-performer-2023.svg +1 -0
- package/core/images/highest-user-adoption-2023.svg +1 -0
- package/core/sprites.svg +29 -0
- package/package.json +3 -3
- package/src/.DS_Store +0 -0
- package/src/core/.DS_Store +0 -0
- package/src/core/Footer/component.html.erb +7 -12
- package/src/core/Footer/component.jsx +9 -17
- package/src/core/HeadwayWidget/HeadwayWidget.jsx +234 -0
- package/src/core/HeadwayWidget/index.js +5 -0
- package/src/core/Meganav/component.css +41 -17
- package/src/core/Meganav/component.json +1 -1
- package/src/core/Meganav/component.jsx +2 -2
- package/src/core/Meganav/component.rb +4 -4
- package/src/core/MeganavContentDevelopers/component.html.erb +9 -0
- package/src/core/MeganavContentDevelopers/component.jsx +139 -125
- package/src/core/{MeganavContentPlatform → MeganavContentProducts}/component.html.erb +15 -33
- package/src/core/{MeganavContentPlatform → MeganavContentProducts}/component.jsx +18 -39
- package/src/core/{MeganavContentPlatform → MeganavContentProducts}/component.rb +1 -1
- package/src/core/MeganavContentUseCases/component.html.erb +4 -4
- package/src/core/MeganavContentUseCases/component.jsx +4 -4
- package/src/core/MeganavItemsDesktop/component.jsx +1 -1
- package/src/core/MeganavItemsDesktop/component.rb +1 -1
- package/src/core/core.rb +8 -4
- package/src/core/icons/icon-display-asset-tracking-col.svg +18 -0
- package/src/core/icons/icon-display-examples-col.svg +11 -0
- package/src/core/icons/icon-social-x.svg +3 -0
- package/src/core/images/best-support-2023.svg +1 -0
- package/src/core/images/fastest-implementation-2023.svg +1 -0
- package/src/core/images/high-performer-2023.svg +1 -0
- package/src/core/images/highest-user-adoption-2023.svg +1 -0
- /package/src/core/{MeganavContentPlatform → MeganavContentProducts}/component.js +0 -0
package/core/.DS_Store
ADDED
|
Binary file
|
package/core/Footer.jsx
CHANGED
|
@@ -211,7 +211,7 @@ function Footer(_ref) {
|
|
|
211
211
|
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement("li", {
|
|
212
212
|
className: "p-menu-row-snug"
|
|
213
213
|
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement("a", {
|
|
214
|
-
href: absUrl("/
|
|
214
|
+
href: absUrl("/solutions/channels"),
|
|
215
215
|
className: "ui-footer-menu-row-link"
|
|
216
216
|
}, "Pub/sub messaging")), /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement("li", {
|
|
217
217
|
className: "p-menu-row-snug"
|
|
@@ -228,12 +228,7 @@ function Footer(_ref) {
|
|
|
228
228
|
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement("a", {
|
|
229
229
|
href: absUrl("/protocols"),
|
|
230
230
|
className: "ui-footer-menu-row-link"
|
|
231
|
-
}, "Multiple protocol messaging")), /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement("
|
|
232
|
-
className: "p-menu-row-snug"
|
|
233
|
-
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement("a", {
|
|
234
|
-
href: absUrl("/hub"),
|
|
235
|
-
className: "ui-footer-menu-row-link"
|
|
236
|
-
}, "Streaming data sources")))), /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement("div", {
|
|
231
|
+
}, "Multiple protocol messaging")))), /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement("div", {
|
|
237
232
|
className: "col-span-full xs:col-span-3 md:col-span-1"
|
|
238
233
|
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement("h2", {
|
|
239
234
|
className: "ui-footer-col-title"
|
|
@@ -269,11 +264,6 @@ function Footer(_ref) {
|
|
|
269
264
|
className: "ui-footer-menu-row-link"
|
|
270
265
|
}, "Healthcare")), /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement("li", {
|
|
271
266
|
className: "p-menu-row-snug"
|
|
272
|
-
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement("a", {
|
|
273
|
-
href: absUrl("/hub"),
|
|
274
|
-
className: "ui-footer-menu-row-link"
|
|
275
|
-
}, "Streaming data sources")), /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement("li", {
|
|
276
|
-
className: "p-menu-row-snug"
|
|
277
267
|
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement("a", {
|
|
278
268
|
href: absUrl("/solutions/ecommerce-and-retail"),
|
|
279
269
|
className: "ui-footer-menu-row-link"
|
|
@@ -428,9 +418,9 @@ function Footer(_ref) {
|
|
|
428
418
|
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement("a", {
|
|
429
419
|
className: "h-24 pr-24 text-cool-black hover:text-icon-twitter",
|
|
430
420
|
href: "https://twitter.com/ablyrealtime",
|
|
431
|
-
title: "Ably on
|
|
421
|
+
title: "Ably on X"
|
|
432
422
|
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement(component["default"], {
|
|
433
|
-
name: "
|
|
423
|
+
name: "icon-social-x",
|
|
434
424
|
size: "1.5rem"
|
|
435
425
|
})), /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement("a", {
|
|
436
426
|
className: "h-24 pr-24 text-cool-black hover:text-icon-linkedin",
|
|
@@ -496,15 +486,19 @@ function Footer(_ref) {
|
|
|
496
486
|
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement("img", {
|
|
497
487
|
className: "mr-24 h-80",
|
|
498
488
|
src: paths.highestUserAdoption,
|
|
499
|
-
alt: "Highest User Adoption
|
|
489
|
+
alt: "Highest User Adoption 2023"
|
|
490
|
+
}), /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement("img", {
|
|
491
|
+
className: "mr-24 h-80",
|
|
492
|
+
src: paths.bestSupport,
|
|
493
|
+
alt: "Best Support 2023"
|
|
500
494
|
}), /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement("img", {
|
|
501
495
|
className: "mr-24 h-80",
|
|
502
|
-
src: paths.
|
|
503
|
-
alt: "
|
|
496
|
+
src: paths.fastestImplementation,
|
|
497
|
+
alt: "Fastest Implementation 2023"
|
|
504
498
|
}), /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement("img", {
|
|
505
499
|
className: "mr-24 h-80",
|
|
506
500
|
src: paths.highestPerformer,
|
|
507
|
-
alt: "High Performer
|
|
501
|
+
alt: "High Performer 2023"
|
|
508
502
|
}))), /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement("div", {
|
|
509
503
|
className: "max-w-screen-xl ui-grid-px mx-auto"
|
|
510
504
|
}, /*#__PURE__*/external_commonjs_react_commonjs2_react_default().createElement("hr", {
|
|
@@ -580,7 +574,8 @@ Footer.propTypes = {
|
|
|
580
574
|
ablyStack: (external_commonjs_prop_types_commonjs2_prop_types_default()).string,
|
|
581
575
|
highestPerformer: (external_commonjs_prop_types_commonjs2_prop_types_default()).string,
|
|
582
576
|
highestUserAdoption: (external_commonjs_prop_types_commonjs2_prop_types_default()).string,
|
|
583
|
-
|
|
577
|
+
bestSupport: (external_commonjs_prop_types_commonjs2_prop_types_default()).string,
|
|
578
|
+
fastestImplementation: (external_commonjs_prop_types_commonjs2_prop_types_default()).string
|
|
584
579
|
}),
|
|
585
580
|
urlBase: (external_commonjs_prop_types_commonjs2_prop_types_default()).string
|
|
586
581
|
};
|
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
z-index: var(--stacking-context-page-meganav);
|
|
8
8
|
|
|
9
9
|
@apply fixed top-0 w-full;
|
|
10
|
-
@apply
|
|
10
|
+
@apply font-sans antialiased transition-colors;
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
.ui-meganav {
|
|
14
14
|
height: var(--ui-meganav-height);
|
|
15
15
|
|
|
16
|
-
@apply flex justify-between
|
|
16
|
+
@apply flex items-center justify-between max-w-screen-xl mx-auto;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
.ui-meganav-panel,
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
z-index: var(--stacking-context-meganav-dropdown);
|
|
23
23
|
|
|
24
24
|
@apply absolute left-0 right-0;
|
|
25
|
-
@apply border-mid-grey
|
|
25
|
+
@apply border-t border-mid-grey shadow-container;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
.ui-meganav-panel {
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
/* Prevents momentum-based scrolling https://devdocs.io/css/-webkit-overflow-scrolling */
|
|
36
36
|
-webkit-overflow-scrolling: auto;
|
|
37
37
|
|
|
38
|
-
@apply bg-white
|
|
39
|
-
@apply border-mid-grey
|
|
40
|
-
@apply fixed
|
|
38
|
+
@apply pt-16 bg-white border-0;
|
|
39
|
+
@apply border-t border-mid-grey shadow-container;
|
|
40
|
+
@apply fixed left-0 right-0 overflow-y-auto top-64;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
.ui-meganav-panel-account {
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
.ui-meganav-link {
|
|
54
|
-
@apply
|
|
55
|
-
@apply mr-12 lg:mr-24
|
|
54
|
+
@apply block font-medium text-menu2;
|
|
55
|
+
@apply px-0 py-20 mr-12 lg:mr-24;
|
|
56
56
|
@apply hover:text-gui-hover focus:text-gui-focus focus:outline-none;
|
|
57
57
|
@apply transition-colors;
|
|
58
58
|
}
|
|
@@ -62,18 +62,18 @@
|
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
.ui-meganav-mobile-link {
|
|
65
|
-
@apply p-menu-row
|
|
66
|
-
@apply
|
|
65
|
+
@apply relative p-menu-row -left-8 w-extend-8;
|
|
66
|
+
@apply block font-medium text-left text-menu2 text-cool-black;
|
|
67
67
|
@apply flex items-center;
|
|
68
68
|
@apply focus:text-gui-focus focus:outline-none;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
.ui-meganav-account-link {
|
|
72
|
-
@apply block px-8 py-8 hover:bg-light-grey hover:text-gui-hover
|
|
72
|
+
@apply relative block px-8 py-8 font-light rounded hover:bg-light-grey hover:text-gui-hover -left-8 text-menu3 w-extend-8;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
.ui-meganav-content {
|
|
76
|
-
@apply max-w-screen-xl py-24 lg:py-32
|
|
76
|
+
@apply max-w-screen-xl py-24 mx-auto lg:py-32;
|
|
77
77
|
@apply grid grid-cols-1;
|
|
78
78
|
@apply px-24 md:px-32 lg:px-32 xl:px-64;
|
|
79
79
|
}
|
|
@@ -81,27 +81,27 @@
|
|
|
81
81
|
/* This is implemented not as padding so we can change the color of just this space, while keeping the grid
|
|
82
82
|
as close to the designs as possible */
|
|
83
83
|
.ui-meganav-content-spacer {
|
|
84
|
-
@apply hidden md:block md:w-32 lg:w-32 xl:w-64
|
|
84
|
+
@apply self-stretch flex-grow-0 flex-shrink-0 hidden md:block md:w-32 lg:w-32 xl:w-64;
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
.ui-meganav-media {
|
|
88
|
-
@apply block px-8 py-8 hover:bg-light-grey
|
|
88
|
+
@apply relative block px-8 py-8 rounded hover:bg-light-grey -left-8 w-extend-8;
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
.ui-meganav-media-with-image {
|
|
92
92
|
grid-template-columns: max-content 1fr;
|
|
93
93
|
grid-template-rows: min-content 1fr;
|
|
94
94
|
|
|
95
|
-
@apply block px-8 py-8 hover:bg-light-grey
|
|
95
|
+
@apply relative block px-8 py-8 rounded hover:bg-light-grey -left-8 w-extend-8;
|
|
96
96
|
@apply grid gap-x-16;
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
.ui-meganav-media-heading {
|
|
100
|
-
@apply text-menu3 text-cool-black
|
|
100
|
+
@apply font-medium text-menu3 text-cool-black group-hover:text-gui-hover group-focus:text-gui-focus;
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
.ui-meganav-media-copy {
|
|
104
|
-
@apply text-p3 text-dark-grey
|
|
104
|
+
@apply font-light text-p3 text-dark-grey;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
.ui-meganav-overline {
|
|
@@ -113,3 +113,27 @@
|
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
+
.HW_badge {
|
|
117
|
+
width: 1.25rem !important;
|
|
118
|
+
height: 1.25rem !important;
|
|
119
|
+
display: flex !important;
|
|
120
|
+
justify-content: center !important;
|
|
121
|
+
align-items: center !important;
|
|
122
|
+
font-size: 14px !important;
|
|
123
|
+
top: 2px !important;
|
|
124
|
+
left: 20px !important;
|
|
125
|
+
transition: none !important;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.HW_animated {
|
|
129
|
+
animation: none !important;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.invisible .HW_badge {
|
|
133
|
+
visibility: hidden !important;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.invisible .HW_frame {
|
|
137
|
+
visibility: hidden !important;
|
|
138
|
+
}
|
|
139
|
+
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
"panels": [
|
|
32
|
-
{ "label": "
|
|
32
|
+
{ "label": "Products", "shortLabel": "Products", "id": "products-panel", "component": "MeganavContentProducts" },
|
|
33
33
|
{ "label": "Solutions", "shortLabel": "Solutions", "id": "use-cases-panel", "component": "MeganavContentUseCases" },
|
|
34
34
|
{ "label": "Company", "shortLabel": "Company", "id": "company-panel", "component": "MeganavContentCompany" },
|
|
35
35
|
{ "label": "Developers", "shortLabel": "Developers", "id": "developers-panel", "component": "MeganavContentDevelopers" }
|