@dreamboard-games/sdk 0.4.0-alpha.2 → 0.4.0-alpha.4

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 (39) hide show
  1. package/REFERENCE.md +33 -22
  2. package/dist/HandView-x8MhbhFl.d.ts +79 -0
  3. package/dist/{ResourceCounter-BuiNstXs.d.ts → ResourceCounter-BFxJknqp.d.ts} +1 -9
  4. package/dist/{ThemeProvider-B1sIoBlX.d.ts → ThemeProvider-DRalAWzY.d.ts} +1 -1
  5. package/dist/authoring/index.js +1 -1
  6. package/dist/{chunk-45FI6XII.js → chunk-E3X552YM.js} +3 -11
  7. package/dist/chunk-E3X552YM.js.map +1 -0
  8. package/dist/{chunk-HWJS3VOJ.js → chunk-LKJLAGND.js} +2 -2
  9. package/dist/{chunk-WOWFONLZ.js → chunk-QOFFRHZR.js} +6 -6
  10. package/dist/chunk-QOFFRHZR.js.map +1 -0
  11. package/dist/{chunk-ZAS2SENW.js → chunk-SUMZ5OEH.js} +2 -2
  12. package/dist/{chunk-ZAS2SENW.js.map → chunk-SUMZ5OEH.js.map} +1 -1
  13. package/dist/{chunk-6JQFGSLD.js → chunk-TTISZQNI.js} +13 -15
  14. package/dist/{chunk-6JQFGSLD.js.map → chunk-TTISZQNI.js.map} +1 -1
  15. package/dist/{chunk-FWVV2X74.js → chunk-XZ667T4K.js} +2 -2
  16. package/dist/{components-BbWPnZCF.d.ts → components-B7hFaEn_.d.ts} +3 -3
  17. package/dist/{hex-board-view-Kz9Q_zsv.d.ts → hex-board-view-BFlWDb9k.d.ts} +116 -1
  18. package/dist/index-gjxQichK.d.ts +192 -0
  19. package/dist/index.js +2 -2
  20. package/dist/package-set.d.ts +2 -2
  21. package/dist/package-set.js +2 -2
  22. package/dist/runtime/primitives.d.ts +20 -23
  23. package/dist/runtime/primitives.js +3 -3
  24. package/dist/runtime/workspace-contract.d.ts +16 -173
  25. package/dist/runtime/workspace-contract.js +4 -4
  26. package/dist/runtime.d.ts +6 -6
  27. package/dist/runtime.js +4 -4
  28. package/dist/ui/components.d.ts +4 -4
  29. package/dist/ui/components.js +1 -3
  30. package/dist/ui/plugin-styles.css +1 -1
  31. package/dist/{ui-contract-CY7cxsCC.d.ts → ui-contract-B4NjRlvC.d.ts} +2 -2
  32. package/dist/ui.d.ts +7 -7
  33. package/dist/ui.js +2 -4
  34. package/package.json +1 -1
  35. package/dist/HandView-PYDmehVD.d.ts +0 -193
  36. package/dist/chunk-45FI6XII.js.map +0 -1
  37. package/dist/chunk-WOWFONLZ.js.map +0 -1
  38. /package/dist/{chunk-HWJS3VOJ.js.map → chunk-LKJLAGND.js.map} +0 -0
  39. /package/dist/{chunk-FWVV2X74.js.map → chunk-XZ667T4K.js.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  GENERATED_AUTHORING_METADATA
3
- } from "./chunk-ZAS2SENW.js";
3
+ } from "./chunk-SUMZ5OEH.js";
4
4
 
5
5
  // src/package-set.ts
6
6
  var DREAMBOARD_SDK_VERSION = GENERATED_AUTHORING_METADATA.sdkVersion;
@@ -18,4 +18,4 @@ export {
18
18
  DREAMBOARD_SDK_PACKAGES,
19
19
  DREAMBOARD_SDK_PACKAGE_SET
20
20
  };
21
- //# sourceMappingURL=chunk-HWJS3VOJ.js.map
21
+ //# sourceMappingURL=chunk-LKJLAGND.js.map
@@ -18,7 +18,7 @@ import {
18
18
  useOverlayInsets,
19
19
  useTheme,
20
20
  useThemeCssVars
21
- } from "./chunk-45FI6XII.js";
21
+ } from "./chunk-E3X552YM.js";
22
22
  import {
23
23
  composeEventHandlers,
24
24
  renderPrimitive
@@ -1653,8 +1653,8 @@ function HandSurfaceView({
1653
1653
  ariaLabel,
1654
1654
  onIntentRouted,
1655
1655
  onSelectionSummary,
1656
- renderSummary,
1657
- renderActions,
1656
+ summarySlot,
1657
+ actionsSlot,
1658
1658
  className
1659
1659
  }) {
1660
1660
  const route = useCardIntentAdapter({ zone, onResult: onIntentRouted });
@@ -1770,8 +1770,8 @@ function HandSurfaceView({
1770
1770
  useEffect(() => {
1771
1771
  onSelectionSummaryRef.current?.(selectionSummary);
1772
1772
  }, [selectionSummary]);
1773
- const summaryContent = renderSummary ? renderSummary(selectionSummary) : null;
1774
- const actionsNode = renderActions ? renderActions(selectionSummary) : null;
1773
+ const summaryContent = summarySlot ? summarySlot(selectionSummary) : null;
1774
+ const actionsNode = actionsSlot ? actionsSlot(selectionSummary) : null;
1775
1775
  const actionsContent = actionsNode !== null && actionsNode !== void 0 ? /* @__PURE__ */ jsx4(
1776
1776
  "div",
1777
1777
  {
@@ -5936,4 +5936,4 @@ export {
5936
5936
  DiceValues,
5937
5937
  Dice
5938
5938
  };
5939
- //# sourceMappingURL=chunk-WOWFONLZ.js.map
5939
+ //# sourceMappingURL=chunk-QOFFRHZR.js.map