@payabli/component-contracts 0.1.1 → 0.1.2

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/dist/index.js CHANGED
@@ -1592,7 +1592,7 @@ const appearanceSchema = object({
1592
1592
  */
1593
1593
  labelStyle: optional(_enum(['above', 'floating', 'outlined'])
1594
1594
  .check(describe('Where a field label sits. above: over the input. floating: inside the field, lifts to the top of the box. outlined: inside the field, lifts onto the border. Defaults to above.'))),
1595
- mode: optional(_enum(['light', 'dark', 'system'])
1595
+ colorScheme: optional(_enum(['light', 'dark', 'system'])
1596
1596
  .check(describe('Color scheme. system follows the buyer device setting.'))),
1597
1597
  tokens: optional(record$1(string(), string())
1598
1598
  .check(describe('CSS custom properties the component honors, for example --primary and --background.'))),
@@ -29,7 +29,7 @@ export declare const appearanceSchema: z.ZodMiniObject<{
29
29
  floating: "floating";
30
30
  outlined: "outlined";
31
31
  }>>;
32
- mode: z.ZodMiniOptional<z.ZodMiniEnum<{
32
+ colorScheme: z.ZodMiniOptional<z.ZodMiniEnum<{
33
33
  light: "light";
34
34
  dark: "dark";
35
35
  system: "system";
@@ -116,7 +116,7 @@ export declare const outboundMessages: {
116
116
  floating: "floating";
117
117
  outlined: "outlined";
118
118
  }>>;
119
- mode: z.ZodMiniOptional<z.ZodMiniEnum<{
119
+ colorScheme: z.ZodMiniOptional<z.ZodMiniEnum<{
120
120
  light: "light";
121
121
  dark: "dark";
122
122
  system: "system";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@payabli/component-contracts",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Wire schemas, component registry, and partner-facing types shared by the Payabli embedded components SDK and payhub.",
5
5
  "private": false,
6
6
  "license": "UNLICENSED",