@sprucelabs/heartwood-view-controllers 126.12.45 → 126.13.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.
@@ -37,6 +37,13 @@ const cardBodySchema = {
37
37
  type: 'boolean',
38
38
  options: undefined
39
39
  },
40
+ /** Render swipe pagination. If true, will show pagination dots when swiping between sections. Defaults to true when the card's style is "visual". */
41
+ 'shouldRenderSwipePagination': {
42
+ label: 'Render swipe pagination',
43
+ type: 'boolean',
44
+ hint: 'If true, will show pagination dots when swiping between sections. Defaults to true when the card\'s style is "visual".',
45
+ options: undefined
46
+ },
40
47
  /** Swipe break into cards on landscape. */
41
48
  'shouldSwipeBreakIntoCardsOnLandscape': {
42
49
  label: 'Swipe break into cards on landscape',
@@ -8267,6 +8267,8 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
8267
8267
  'swipeController'?: ((controller: HeartwoodTypes.SwipeController) => void) | undefined | null;
8268
8268
  /** Swipe. */
8269
8269
  'shouldEnableSectionSwiping'?: boolean | undefined | null;
8270
+ /** Render swipe pagination. If true, will show pagination dots when swiping between sections. Defaults to true when the card's style is "visual". */
8271
+ 'shouldRenderSwipePagination'?: boolean | undefined | null;
8270
8272
  /** Swipe break into cards on landscape. */
8271
8273
  'shouldSwipeBreakIntoCardsOnLandscape'?: boolean | undefined | null;
8272
8274
  /** Select slide title handler. */
@@ -8312,6 +8314,13 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
8312
8314
  type: 'boolean';
8313
8315
  options: undefined;
8314
8316
  };
8317
+ /** Render swipe pagination. If true, will show pagination dots when swiping between sections. Defaults to true when the card's style is "visual". */
8318
+ 'shouldRenderSwipePagination': {
8319
+ label: 'Render swipe pagination';
8320
+ type: 'boolean';
8321
+ hint: 'If true, will show pagination dots when swiping between sections. Defaults to true when the card\'s style is "visual".';
8322
+ options: undefined;
8323
+ };
8315
8324
  /** Swipe break into cards on landscape. */
8316
8325
  'shouldSwipeBreakIntoCardsOnLandscape': {
8317
8326
  label: 'Swipe break into cards on landscape';
@@ -32,6 +32,13 @@ const cardBodySchema = {
32
32
  type: 'boolean',
33
33
  options: undefined
34
34
  },
35
+ /** Render swipe pagination. If true, will show pagination dots when swiping between sections. Defaults to true when the card's style is "visual". */
36
+ 'shouldRenderSwipePagination': {
37
+ label: 'Render swipe pagination',
38
+ type: 'boolean',
39
+ hint: 'If true, will show pagination dots when swiping between sections. Defaults to true when the card\'s style is "visual".',
40
+ options: undefined
41
+ },
35
42
  /** Swipe break into cards on landscape. */
36
43
  'shouldSwipeBreakIntoCardsOnLandscape': {
37
44
  label: 'Swipe break into cards on landscape',
@@ -8267,6 +8267,8 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
8267
8267
  'swipeController'?: ((controller: HeartwoodTypes.SwipeController) => void) | undefined | null;
8268
8268
  /** Swipe. */
8269
8269
  'shouldEnableSectionSwiping'?: boolean | undefined | null;
8270
+ /** Render swipe pagination. If true, will show pagination dots when swiping between sections. Defaults to true when the card's style is "visual". */
8271
+ 'shouldRenderSwipePagination'?: boolean | undefined | null;
8270
8272
  /** Swipe break into cards on landscape. */
8271
8273
  'shouldSwipeBreakIntoCardsOnLandscape'?: boolean | undefined | null;
8272
8274
  /** Select slide title handler. */
@@ -8312,6 +8314,13 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
8312
8314
  type: 'boolean';
8313
8315
  options: undefined;
8314
8316
  };
8317
+ /** Render swipe pagination. If true, will show pagination dots when swiping between sections. Defaults to true when the card's style is "visual". */
8318
+ 'shouldRenderSwipePagination': {
8319
+ label: 'Render swipe pagination';
8320
+ type: 'boolean';
8321
+ hint: 'If true, will show pagination dots when swiping between sections. Defaults to true when the card\'s style is "visual".';
8322
+ options: undefined;
8323
+ };
8315
8324
  /** Swipe break into cards on landscape. */
8316
8325
  'shouldSwipeBreakIntoCardsOnLandscape': {
8317
8326
  label: 'Swipe break into cards on landscape';
@@ -7264,6 +7264,11 @@ declare const _default: {
7264
7264
  type: "boolean";
7265
7265
  label: string;
7266
7266
  };
7267
+ shouldRenderSwipePagination: {
7268
+ type: "boolean";
7269
+ label: string;
7270
+ hint: string;
7271
+ };
7267
7272
  shouldSwipeBreakIntoCardsOnLandscape: {
7268
7273
  type: "boolean";
7269
7274
  label: string;
@@ -21,6 +21,11 @@ declare const _default: {
21
21
  type: "boolean";
22
22
  label: string;
23
23
  };
24
+ shouldRenderSwipePagination: {
25
+ type: "boolean";
26
+ label: string;
27
+ hint: string;
28
+ };
24
29
  shouldSwipeBreakIntoCardsOnLandscape: {
25
30
  type: "boolean";
26
31
  label: string;
@@ -23,6 +23,11 @@ export default buildSchema({
23
23
  type: 'boolean',
24
24
  label: 'Swipe',
25
25
  },
26
+ shouldRenderSwipePagination: {
27
+ type: 'boolean',
28
+ label: 'Render swipe pagination',
29
+ hint: 'If true, will show pagination dots when swiping between sections. Defaults to true when the card\'s style is "visual".',
30
+ },
26
31
  shouldSwipeBreakIntoCardsOnLandscape: {
27
32
  type: 'boolean',
28
33
  label: 'Swipe break into cards on landscape',
@@ -7306,6 +7306,11 @@ declare const _default: {
7306
7306
  type: "boolean";
7307
7307
  label: string;
7308
7308
  };
7309
+ shouldRenderSwipePagination: {
7310
+ type: "boolean";
7311
+ label: string;
7312
+ hint: string;
7313
+ };
7309
7314
  shouldSwipeBreakIntoCardsOnLandscape: {
7310
7315
  type: "boolean";
7311
7316
  label: string;
@@ -7336,6 +7336,11 @@ declare const _default: {
7336
7336
  type: "boolean";
7337
7337
  label: string;
7338
7338
  };
7339
+ shouldRenderSwipePagination: {
7340
+ type: "boolean";
7341
+ label: string;
7342
+ hint: string;
7343
+ };
7339
7344
  shouldSwipeBreakIntoCardsOnLandscape: {
7340
7345
  type: "boolean";
7341
7346
  label: string;
@@ -20,7 +20,7 @@ export default class ToolBeltViewController extends AbstractViewController<ViewM
20
20
  focusTool(id: string): void;
21
21
  renderTools(): SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ToolBeltTool[];
22
22
  close(): void;
23
- open(_options?: OpenToolBeltOptions): void;
23
+ open(options?: OpenToolBeltOptions): void;
24
24
  render(): SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ToolBelt;
25
25
  }
26
26
  type ViewModel = SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ToolBelt;
@@ -9,6 +9,7 @@ var __rest = (this && this.__rest) || function (s, e) {
9
9
  }
10
10
  return t;
11
11
  };
12
+ /* eslint-disable @typescript-eslint/no-unused-vars */
12
13
  import { assertOptions, SchemaError } from '@sprucelabs/schema';
13
14
  import SpruceError from '../errors/SpruceError.js';
14
15
  import AbstractViewController from './Abstract.vc.js';
@@ -98,7 +99,7 @@ export default class ToolBeltViewController extends AbstractViewController {
98
99
  return tools;
99
100
  }
100
101
  close() { }
101
- open(_options) { }
102
+ open(options) { }
102
103
  render() {
103
104
  return Object.assign(Object.assign({}, this.model), { controller: this, tools: this.renderTools() });
104
105
  }
@@ -7264,6 +7264,11 @@ declare const _default: {
7264
7264
  type: "boolean";
7265
7265
  label: string;
7266
7266
  };
7267
+ shouldRenderSwipePagination: {
7268
+ type: "boolean";
7269
+ label: string;
7270
+ hint: string;
7271
+ };
7267
7272
  shouldSwipeBreakIntoCardsOnLandscape: {
7268
7273
  type: "boolean";
7269
7274
  label: string;
@@ -21,6 +21,11 @@ declare const _default: {
21
21
  type: "boolean";
22
22
  label: string;
23
23
  };
24
+ shouldRenderSwipePagination: {
25
+ type: "boolean";
26
+ label: string;
27
+ hint: string;
28
+ };
24
29
  shouldSwipeBreakIntoCardsOnLandscape: {
25
30
  type: "boolean";
26
31
  label: string;
@@ -28,6 +28,11 @@ exports.default = (0, schema_1.buildSchema)({
28
28
  type: 'boolean',
29
29
  label: 'Swipe',
30
30
  },
31
+ shouldRenderSwipePagination: {
32
+ type: 'boolean',
33
+ label: 'Render swipe pagination',
34
+ hint: 'If true, will show pagination dots when swiping between sections. Defaults to true when the card\'s style is "visual".',
35
+ },
31
36
  shouldSwipeBreakIntoCardsOnLandscape: {
32
37
  type: 'boolean',
33
38
  label: 'Swipe break into cards on landscape',
@@ -7306,6 +7306,11 @@ declare const _default: {
7306
7306
  type: "boolean";
7307
7307
  label: string;
7308
7308
  };
7309
+ shouldRenderSwipePagination: {
7310
+ type: "boolean";
7311
+ label: string;
7312
+ hint: string;
7313
+ };
7309
7314
  shouldSwipeBreakIntoCardsOnLandscape: {
7310
7315
  type: "boolean";
7311
7316
  label: string;
@@ -7336,6 +7336,11 @@ declare const _default: {
7336
7336
  type: "boolean";
7337
7337
  label: string;
7338
7338
  };
7339
+ shouldRenderSwipePagination: {
7340
+ type: "boolean";
7341
+ label: string;
7342
+ hint: string;
7343
+ };
7339
7344
  shouldSwipeBreakIntoCardsOnLandscape: {
7340
7345
  type: "boolean";
7341
7346
  label: string;
@@ -20,7 +20,7 @@ export default class ToolBeltViewController extends AbstractViewController<ViewM
20
20
  focusTool(id: string): void;
21
21
  renderTools(): SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ToolBeltTool[];
22
22
  close(): void;
23
- open(_options?: OpenToolBeltOptions): void;
23
+ open(options?: OpenToolBeltOptions): void;
24
24
  render(): SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ToolBelt;
25
25
  }
26
26
  type ViewModel = SpruceSchemas.HeartwoodViewControllers.v2021_02_11.ToolBelt;
@@ -3,6 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
+ /* eslint-disable @typescript-eslint/no-unused-vars */
6
7
  const schema_1 = require("@sprucelabs/schema");
7
8
  const SpruceError_1 = __importDefault(require("../errors/SpruceError"));
8
9
  const Abstract_vc_1 = __importDefault(require("./Abstract.vc"));
@@ -94,7 +95,7 @@ class ToolBeltViewController extends Abstract_vc_1.default {
94
95
  return tools;
95
96
  }
96
97
  close() { }
97
- open(_options) { }
98
+ open(options) { }
98
99
  render() {
99
100
  return { ...this.model, controller: this, tools: this.renderTools() };
100
101
  }
package/package.json CHANGED
@@ -12,7 +12,7 @@
12
12
  "sideEffects": false,
13
13
  "license": "MIT",
14
14
  "description": "All the power of Heartwood in one, convenient package.",
15
- "version": "126.12.45",
15
+ "version": "126.13.0",
16
16
  "skill": {
17
17
  "namespace": "HeartwoodViewControllers",
18
18
  "commandOverrides": {
@@ -73,21 +73,21 @@
73
73
  "@babel/preset-env": "^7.28.5",
74
74
  "@babel/preset-typescript": "^7.28.5",
75
75
  "@babel/runtime": "^7.28.4",
76
- "@sprucelabs/calendar-utils": "^43.1.75",
76
+ "@sprucelabs/calendar-utils": "^43.1.76",
77
77
  "@sprucelabs/error": "^7.1.39",
78
78
  "@sprucelabs/globby": "^2.0.506",
79
- "@sprucelabs/mercury-core-events": "^27.4.49",
80
- "@sprucelabs/mercury-types": "^48.0.146",
81
- "@sprucelabs/schema": "^32.3.16",
82
- "@sprucelabs/spruce-core-schemas": "^41.3.45",
83
- "@sprucelabs/spruce-event-utils": "^41.0.165",
84
- "@sprucelabs/spruce-skill-utils": "^32.1.20",
79
+ "@sprucelabs/mercury-core-events": "^27.4.51",
80
+ "@sprucelabs/mercury-types": "^48.0.147",
81
+ "@sprucelabs/schema": "^32.3.18",
82
+ "@sprucelabs/spruce-core-schemas": "^41.3.47",
83
+ "@sprucelabs/spruce-event-utils": "^41.0.166",
84
+ "@sprucelabs/spruce-skill-utils": "^32.1.21",
85
85
  "@sprucelabs/test-utils": "^6.0.120",
86
86
  "babel-loader": "^10.0.0",
87
87
  "babel-plugin-module-resolver": "^5.0.2",
88
88
  "dot-prop": "^10.1.0",
89
89
  "dotenv": "^17.2.3",
90
- "esbuild": "^0.25.11",
90
+ "esbuild": "^0.25.12",
91
91
  "object-set": "^1.0.1",
92
92
  "terser-webpack-plugin": "^5.3.14",
93
93
  "uglify-js": "^3.19.3",
@@ -95,16 +95,16 @@
95
95
  },
96
96
  "devDependencies": {
97
97
  "@sprucelabs/esm-postbuild": "^7.0.50",
98
- "@sprucelabs/jest-json-reporter": "^9.0.72",
99
- "@sprucelabs/mercury-client": "^43.1.8",
100
- "@sprucelabs/mercury-event-emitter": "^43.1.8",
98
+ "@sprucelabs/jest-json-reporter": "^9.0.73",
99
+ "@sprucelabs/mercury-client": "^43.1.10",
100
+ "@sprucelabs/mercury-event-emitter": "^43.1.10",
101
101
  "@sprucelabs/resolve-path-aliases": "^3.0.30",
102
102
  "@sprucelabs/semantic-release": "^5.0.2",
103
- "@sprucelabs/test": "^10.0.25",
104
- "@types/node": "^24.9.2",
103
+ "@sprucelabs/test": "^10.0.26",
104
+ "@types/node": "^24.10.0",
105
105
  "@types/terser-webpack-plugin": "^5.2.0",
106
106
  "chokidar-cli": "^3.0.0",
107
- "eslint": "^9.38.0",
107
+ "eslint": "^9.39.1",
108
108
  "eslint-config-spruce": "^11.2.26",
109
109
  "jest": "^30.2.0",
110
110
  "jest-circus": "^30.2.0",