astro-tractstack 2.0.0-rc.6 → 2.0.0-rc.7

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.0-rc.6",
3
+ "version": "2.0.0-rc.7",
4
4
  "description": "Astro integration for TractStack - redeeming the web from boring experiences",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -176,7 +176,7 @@ const createdDate = created ? new Date(created) : new Date();
176
176
  >
177
177
  Tract Stack</a
178
178
  >
179
- &ndash; no-code community engine from{` `}
179
+ &ndash; the &#8220;free web press&#8221; by{` `}
180
180
  <a
181
181
  href="https://atriskmedia.com/?utm_source=tractstack&utm_medium=www&utm_campaign=community"
182
182
  class="font-bold underline hover:text-black"
@@ -493,7 +493,7 @@ const AddPaneNewPanel = ({
493
493
  <Switch.HiddenInput />
494
494
  <div className="flex h-6 items-center">
495
495
  <Switch.Label className="px-4 text-sm text-gray-700">
496
- Use odd variant
496
+ Toggle subtle variation (great for stacking content)
497
497
  </Switch.Label>
498
498
  </div>
499
499
  </Switch.Root>
@@ -291,11 +291,13 @@ export default function RegistrationForm({
291
291
  value={state.email}
292
292
  onChange={(value) => updateField('email', value)}
293
293
  type="email"
294
- placeholder="john@example.com"
294
+ placeholder="susie@amazing.com"
295
295
  error={errors.email}
296
296
  />
297
297
  <p className="mt-1 text-sm text-gray-500">
298
- You'll receive an activation email at this address
298
+ {isInitMode
299
+ ? `Used for password reset, etc.`
300
+ : `You'll receive an activation email at this address`}
299
301
  </p>
300
302
  </div>
301
303
 
@@ -168,7 +168,13 @@ for (const [key, value] of Astro.url.searchParams) {
168
168
  <StoryKeepToolMode isContext={false} client:only="react" />
169
169
 
170
170
  <!-- Main Content Area -->
171
- <main id="mainContent" class="relative flex-1">
171
+ <main
172
+ id="mainContent"
173
+ class="relative flex-1"
174
+ style={{
175
+ paddingBottom: 'var(--bottom-right-controls-bottom-offset, 16px)',
176
+ }}
177
+ >
172
178
  <div class="bg-myblue/20 bg-mylightgrey h-full p-1.5">
173
179
  <div
174
180
  class="h-fit min-h-screen"
@@ -159,7 +159,13 @@ for (const [key, value] of Astro.url.searchParams) {
159
159
  <StoryKeepToolMode isContext={true} client:only="react" />
160
160
 
161
161
  <!-- Main Content Area -->
162
- <main id="mainContent" class="relative flex-1">
162
+ <main
163
+ id="mainContent"
164
+ class="relative flex-1"
165
+ style={{
166
+ paddingBottom: 'var(--bottom-right-controls-bottom-offset, 16px)',
167
+ }}
168
+ >
163
169
  <div class="bg-myblue/20 bg-mylightgrey h-full p-1.5">
164
170
  <div
165
171
  class="h-fit min-h-screen"
@@ -359,6 +359,7 @@ export function getJustCopyDesign(
359
359
  baseClasses[2].mobile.textWRAP = 'pretty';
360
360
  baseClasses[2].mobile.maxW = '3xl';
361
361
  if (bordered) {
362
+ baseClasses[2].mobile.rounded = 'lg';
362
363
  baseClasses[2].mobile.bgCOLOR = getColor(
363
364
  {
364
365
  light: useOdd ? 'brand-2' : 'white',
@@ -383,6 +384,7 @@ export function getJustCopyDesign(
383
384
  baseClasses[2].mobile.textALIGN = 'center';
384
385
  baseClasses[2].mobile.textWRAP = 'balance';
385
386
  if (bordered) {
387
+ baseClasses[2].mobile.rounded = 'lg';
386
388
  baseClasses[2].mobile.bgCOLOR = getColor(
387
389
  {
388
390
  light: useOdd ? 'brand-2' : 'white',
@@ -405,6 +407,7 @@ export function getJustCopyDesign(
405
407
  baseClasses[2].mobile.textALIGN = 'left';
406
408
  baseClasses[2].mobile.textWRAP = 'pretty';
407
409
  if (bordered) {
410
+ baseClasses[2].mobile.rounded = 'lg';
408
411
  baseClasses[2].mobile.bgCOLOR = getColor(
409
412
  {
410
413
  light: useOdd ? 'brand-2' : 'white',
@@ -503,6 +506,7 @@ export function getSubTitleDesign(
503
506
  baseClasses[2].mobile.textWRAP = 'pretty';
504
507
  baseClasses[2].mobile.maxW = '3xl';
505
508
  if (bordered) {
509
+ baseClasses[2].mobile.rounded = 'lg';
506
510
  baseClasses[2].mobile.bgCOLOR = getColor(
507
511
  {
508
512
  light: useOdd ? 'brand-2' : 'white',
@@ -552,6 +556,7 @@ export function getSubTitleDesign(
552
556
  baseClasses[2].mobile.textALIGN = 'center';
553
557
  baseClasses[2].mobile.textWRAP = 'balance';
554
558
  if (bordered) {
559
+ baseClasses[2].mobile.rounded = 'lg';
555
560
  baseClasses[2].mobile.bgCOLOR = getColor(
556
561
  {
557
562
  light: useOdd ? 'brand-2' : 'white',
@@ -647,6 +652,7 @@ export function getSubTitleDesign(
647
652
  baseClasses[2].mobile.textALIGN = 'center';
648
653
  baseClasses[2].mobile.textWRAP = 'balance';
649
654
  if (bordered) {
655
+ baseClasses[2].mobile.rounded = 'lg';
650
656
  baseClasses[2].mobile.bgCOLOR = getColor(
651
657
  {
652
658
  light: useOdd ? 'brand-2' : 'white',
@@ -741,6 +747,7 @@ export function getSubTitleDesign(
741
747
  baseClasses[2].mobile.textALIGN = 'left';
742
748
  baseClasses[2].mobile.textWRAP = 'pretty';
743
749
  if (bordered) {
750
+ baseClasses[2].mobile.rounded = 'lg';
744
751
  baseClasses[2].mobile.bgCOLOR = getColor(
745
752
  {
746
753
  light: useOdd ? 'brand-2' : 'white',
@@ -986,6 +993,7 @@ export const getIntroDesign = (
986
993
  (parentClasses[2].mobile.textALIGN = 'center');
987
994
  parentClasses[2].mobile.textWRAP = 'balance';
988
995
  if (bordered) {
996
+ parentClasses[2].mobile.rounded = 'lg';
989
997
  parentClasses[2].mobile.bgCOLOR = getColor(
990
998
  {
991
999
  light: useOdd ? 'brand-2' : 'white',