@ably/ui 11.7.1-dev.d65c98c → 12.0.0

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 (47) hide show
  1. package/core/ContactFooter.jsx +8 -8
  2. package/core/DropdownMenu.jsx +1 -1
  3. package/core/FeaturedLink/component.js +1 -1
  4. package/core/FeaturedLink.jsx +8 -4
  5. package/core/Flash/component.css +0 -4
  6. package/core/Flash.jsx +1 -1
  7. package/core/Footer.jsx +2 -2
  8. package/core/Meganav/component.css +1 -1
  9. package/core/Meganav.jsx +12 -8
  10. package/core/MeganavBlogPostsList.jsx +8 -4
  11. package/core/MeganavContentCompany.jsx +8 -4
  12. package/core/MeganavContentProducts.jsx +9 -5
  13. package/core/MeganavItemsMobile.jsx +8 -4
  14. package/core/MeganavItemsSignedIn.jsx +8 -4
  15. package/core/MeganavSearch.jsx +8 -4
  16. package/core/MeganavSearchPanel.jsx +8 -4
  17. package/core/MeganavSearchSuggestions.jsx +8 -4
  18. package/core/Notice/component.js +1 -1
  19. package/core/Notice.jsx +3 -3
  20. package/core/Uptime/component.css +1 -1
  21. package/core/Uptime.jsx +9 -5
  22. package/core/styles.css +20 -37
  23. package/package.json +1 -1
  24. package/src/core/ContactFooter/component.html.erb +8 -8
  25. package/src/core/ContactFooter/component.jsx +8 -8
  26. package/src/core/DropdownMenu/component.jsx +1 -1
  27. package/src/core/FeatureFooter/component.html.erb +6 -6
  28. package/src/core/FeaturedLink/component.html.erb +3 -3
  29. package/src/core/FeaturedLink/component.js +0 -1
  30. package/src/core/FeaturedLink/component.jsx +27 -10
  31. package/src/core/Flash/component.css +0 -4
  32. package/src/core/Flash/component.jsx +1 -1
  33. package/src/core/Footer/component.html.erb +2 -2
  34. package/src/core/Footer/component.jsx +2 -2
  35. package/src/core/Meganav/component.css +1 -1
  36. package/src/core/MeganavContentProducts/component.html.erb +1 -1
  37. package/src/core/MeganavContentProducts/component.jsx +1 -1
  38. package/src/core/Notice/component.html.erb +2 -2
  39. package/src/core/Notice/component.jsx +2 -2
  40. package/src/core/Showcase/component.html.erb +7 -7
  41. package/src/core/Uptime/component.css +1 -1
  42. package/src/core/Uptime/component.jsx +1 -4
  43. package/src/core/styles/text.css +19 -36
  44. package/src/core/styles.components.css +1 -1
  45. package/tailwind.config.js +2 -2
  46. package/core/FeaturedLink/component.css +0 -7
  47. package/src/core/FeaturedLink/component.css +0 -6
@@ -95,25 +95,32 @@
95
95
  }
96
96
 
97
97
  .ui-text-code {
98
- @apply font-mono font-medium text-code;
98
+ @apply font-mono font-normal text-code;
99
99
  }
100
100
 
101
101
  .ui-text-code2 {
102
- @apply font-mono font-medium text-code2;
102
+ @apply font-mono font-normal text-code2;
103
103
  }
104
104
 
105
105
  .ui-text-code-inline {
106
- @apply font-mono font-medium text-code text-charcoal-grey bg-light-grey p-inline-code rounded-sm mx-1;
106
+ @apply font-mono font-normal text-code text-charcoal-grey bg-light-grey p-inline-code rounded-sm mx-1;
107
107
  }
108
108
 
109
109
  .ui-unordered-list {
110
- @apply text-p1 font-medium text-cool-black;
111
- @apply list-disc ml-32 my-16;
110
+ @apply text-p1 font-medium text-charcoal-grey;
111
+ @apply ml-32 my-16;
112
+ @apply list-disc;
112
113
  }
113
114
 
114
115
  .ui-ordered-list {
115
116
  @apply text-p1 font-medium text-charcoal-grey;
116
- @apply ml-32 my-16 list-decimal;
117
+ @apply ml-32 my-16;
118
+ @apply list-decimal;
119
+ }
120
+
121
+ .ui-ordered-list li,
122
+ .ui-unordered-list li {
123
+ @apply mb-8;
117
124
  }
118
125
 
119
126
  .ui-unordered-list li > *:last-of-type:not(ul):not(ol),
@@ -122,11 +129,11 @@
122
129
  }
123
130
 
124
131
  .ui-unordered-list ul {
125
- @apply ml-24 mt-16 list-circle;
132
+ @apply ml-24 my-8 list-circle;
126
133
  }
127
134
 
128
135
  .ui-ordered-list ol {
129
- @apply ml-24 mt-16 list-decimal;
136
+ @apply ml-24 my-16 list-decimal;
130
137
  }
131
138
 
132
139
  .ui-unordered-list ul ul {
@@ -137,34 +144,6 @@
137
144
  @apply my-8;
138
145
  }
139
146
 
140
- .ui-ordered-list li,
141
- .ui-unordered-list li {
142
- @apply font-medium font-sans tracking-widen-0;
143
- line-height: var(--lh-extra-relaxed);
144
- }
145
-
146
- .ui-unordered-list-with-emphasis {
147
- @apply text-p1 font-medium text-cool-black;
148
- @apply list-disc ml-32 mt-32 -mb-12;
149
- }
150
-
151
- .ui-unordered-list-with-emphasis li div {
152
- @apply relative -top-12;
153
- }
154
-
155
- .ui-unordered-list-with-emphasis li div > strong {
156
- @apply block;
157
- }
158
-
159
- .ui-unordered-list-with-emphasis ul {
160
- margin-top: calc(var(--spacing-16) + var(--spacing-8));
161
- @apply ml-24 list-circle;
162
- }
163
-
164
- .ui-unordered-list-with-emphasis ul ul {
165
- @apply list-square;
166
- }
167
-
168
147
  .ui-link {
169
148
  @apply text-gui-default;
170
149
  @apply hover:text-gui-hover active:text-gui-active disabled:text-gui-unavailable;
@@ -177,4 +156,8 @@
177
156
  @apply focus:text-charcoal-grey focus:outline-gui-focus-neutral;
178
157
  @apply underline;
179
158
  }
159
+
160
+ .ui-figcaption {
161
+ @apply font-mono text-p3 text-neutral-800;
162
+ }
180
163
  }
@@ -5,7 +5,7 @@
5
5
 
6
6
  @layer components {
7
7
  .ui-input {
8
- @apply text-p2 font-light bg-light-grey rounded p-input w-full leading-none appearance-none border border-mid-grey transition-input;
8
+ @apply text-p2 font-medium bg-light-grey rounded p-input w-full leading-none appearance-none border border-mid-grey transition-input;
9
9
  @apply hover:bg-white hover:shadow-input hover:border-transparent;
10
10
  @apply focus:bg-white focus:shadow-input focus:border-transparent focus:outline-gui-focus;
11
11
  @apply max-w-screen-sm;
@@ -136,6 +136,7 @@ module.exports = {
136
136
  "gui-blue-hover-dark": "var(--color-gui-blue-hover-dark)",
137
137
  "gui-blue-active-dark": "var(--color-gui-blue-active-dark)",
138
138
  "gui-blue-focus": "var(--color-gui-blue-focus)",
139
+ "gui-blue-visited": "var(--color-gui-blue-focus)",
139
140
  "gui-unavailable": "var(--color-gui-unavailable)",
140
141
  "gui-success-green": "var(--color-gui-success-green)",
141
142
  "gui-error-red": "var(--color-gui-error-red)",
@@ -353,8 +354,7 @@ module.exports = {
353
354
  backgroundImage: ["hover", "active", "focus"],
354
355
  filter: ["hover"],
355
356
  cursor: ["disabled"],
356
- inset: ['group-hover']
357
-
357
+ inset: ["group-hover"],
358
358
  },
359
359
  },
360
360
  corePlugins: {
@@ -1,7 +0,0 @@
1
- @layer components {
2
- .ui-featured-link {
3
- @apply font-sans font-bold block;
4
- @apply text-neutral-500 hover:text-gui-hover focus:text-gui-focus focus:outline-gui-focus;
5
- }
6
- }
7
-
@@ -1,6 +0,0 @@
1
- @layer components {
2
- .ui-featured-link {
3
- @apply font-sans font-bold block;
4
- @apply text-neutral-500 hover:text-gui-hover focus:text-gui-focus focus:outline-gui-focus;
5
- }
6
- }