@glowhop/styles-tour 1.3.1 → 1.4.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @glowhop/styles-tour
2
2
 
3
+ ## 1.4.0
4
+
5
+ ### Patch Changes
6
+
7
+ - 91b23f1: The default theme no longer pads the Skip button, so its text lines up with the popover content.
8
+ - b4e2dd6: The default theme lays out the popover as a flex column instead of a three-row grid, so the footer sits right under the content when a step has no title, and a popover with children of your own stacks them in order.
9
+
3
10
  ## 1.3.1
4
11
 
5
12
  ### Patch Changes
package/default.css CHANGED
@@ -115,10 +115,10 @@
115
115
  border-radius: var(--glow-tour-radius, 8px);
116
116
  box-shadow: var(--glow-tour-shadow, 0 4px 12px rgb(0 0 0 / 8%));
117
117
  color: var(--glow-tour-color-text, #1f1f23);
118
- display: grid;
118
+ display: flex;
119
+ flex-direction: column;
119
120
  font: inherit;
120
- gap: calc(var(--glow-tour-spacing, 8px) * 1.5);
121
- grid-template-rows: auto minmax(0, 1fr) auto;
121
+ gap: calc(var(--glow-tour-spacing, 8px) * 2);
122
122
  max-height: calc(100dvh - (var(--glow-tour-viewport-gap, 16px) * 2));
123
123
  max-width: calc(100vw - (var(--glow-tour-viewport-gap, 16px) * 2));
124
124
  overflow: visible;
@@ -188,6 +188,7 @@
188
188
  background: transparent;
189
189
  color: var(--glow-tour-color-text-muted, #5f5f66);
190
190
  margin-inline-end: auto;
191
+ padding: 0;
191
192
  }
192
193
 
193
194
  :where([data-glow-tour-root]) [data-glow-tour-cancel-trigger]:hover:not(:disabled) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glowhop/styles-tour",
3
- "version": "1.3.1",
3
+ "version": "1.4.0",
4
4
  "description": "Default CSS theme for GlowTour.js.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/Glowhop/GlowTour.js#readme",