@bedard/hexboard 0.0.6 → 0.0.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/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # 0.0.7
2
+
3
+ - Export `defaultOptions` constant and `HexboardOptions` type
4
+
1
5
  # 0.0.6
2
6
 
3
7
  - Replaced CC-licensed piece artwork with simple letter representations. Custom piece assets can be provided via the `pieces` prop
package/dist/index.d.ts CHANGED
@@ -97,10 +97,12 @@ declare type __VLS_WithTemplateSlots<T, S> = T & {
97
97
  /** cancel promotion and restore original selection */
98
98
  declare function cancelPromotion(): void;
99
99
 
100
+ export declare const defaultOptions: HexboardOptions;
101
+
100
102
  export declare const Hexboard: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
101
103
 
102
104
  /** hexboard options */
103
- declare interface HexboardOptions {
105
+ export declare interface HexboardOptions {
104
106
  /** position colors */
105
107
  colors: [string, string, string];
106
108
  /** color of highlighted position */
package/dist/index.js CHANGED
@@ -989,5 +989,6 @@ const Wo = {
989
989
  }
990
990
  });
991
991
  export {
992
- Go as Hexboard
992
+ Go as Hexboard,
993
+ So as defaultOptions
993
994
  };
package/package.json CHANGED
@@ -58,5 +58,5 @@
58
58
  "license": "MIT",
59
59
  "type": "module",
60
60
  "types": "dist/index.d.ts",
61
- "version": "0.0.6"
61
+ "version": "0.0.7"
62
62
  }
package/src/lib/index.ts CHANGED
@@ -1 +1,3 @@
1
+ export { defaultOptions } from './components/hexboard/constants'
1
2
  export { default as Hexboard } from './components/hexboard/Hexboard.vue'
3
+ export type { HexboardOptions } from './components/hexboard/types'