astro-tractstack 2.0.46 → 2.0.47

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "astro-tractstack",
3
- "version": "2.0.46",
3
+ "version": "2.0.47",
4
4
  "description": "Astro integration for TractStack - redeeming the web from boring experiences",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -66,7 +66,6 @@ const buttonStyleClasses: ButtonStylePair[] = [
66
66
  textSIZE: ['base'],
67
67
  transition: ['colors'],
68
68
  transitionDURATION: ['200'],
69
- w: ['full'],
70
69
  },
71
70
  {
72
71
  bgCOLOR: ['blue-700'],
@@ -88,7 +87,6 @@ const buttonStyleClasses: ButtonStylePair[] = [
88
87
  textSIZE: ['base'],
89
88
  transition: ['colors'],
90
89
  transitionDURATION: ['200'],
91
- w: ['full'],
92
90
  },
93
91
  {
94
92
  bgCOLOR: ['blue-50'],
@@ -109,7 +107,6 @@ const buttonStyleClasses: ButtonStylePair[] = [
109
107
  textSIZE: ['base'],
110
108
  transition: ['colors'],
111
109
  transitionDURATION: ['200'],
112
- w: ['full'],
113
110
  },
114
111
  {
115
112
  bgCOLOR: ['white'],
@@ -133,7 +130,6 @@ const buttonStyleClasses: ButtonStylePair[] = [
133
130
  textSIZE: ['base'],
134
131
  transition: ['colors'],
135
132
  transitionDURATION: ['200'],
136
- w: ['full'],
137
133
  },
138
134
  {
139
135
  textCOLOR: ['myblack'],
@@ -71,6 +71,10 @@ export const GOTO_TARGETS: GotoTargets = {
71
71
  name: 'Home Page',
72
72
  description: 'Navigate to the home page',
73
73
  },
74
+ sandbox: {
75
+ name: 'Sandbox',
76
+ description: 'Enter the Story Keep',
77
+ },
74
78
  concierge: {
75
79
  name: 'Concierge',
76
80
  subcommands: ['profile'],
@@ -22,6 +22,8 @@ export const preParseAction = (
22
22
  return ``;
23
23
  case `goto`:
24
24
  switch (parameterOne) {
25
+ case `sandbox`:
26
+ return `/sandbox`;
25
27
  case `storykeep`:
26
28
  if (parameterTwo) {
27
29
  switch (parameterTwo) {
@@ -68,14 +70,6 @@ export const preParseAction = (
68
70
  return null;
69
71
  case `url`:
70
72
  return parameterTwo;
71
- case `sandbox`:
72
- if (parameterTwo) {
73
- switch (parameterTwo) {
74
- case `claim`:
75
- return `/sandbox/claim`;
76
- }
77
- }
78
- return ``;
79
73
  default:
80
74
  console.log(`LispActionPayload preParse misfire on goto`, payload);
81
75
  }