@formkit/pro 0.127.2 → 0.127.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.
package/index.d.ts CHANGED
@@ -177,7 +177,7 @@ export declare function createBaseSections(createSection: SectionFactory): {
177
177
  outer: FormKitProSection<true>;
178
178
  wrapper: FormKitProSection<false>;
179
179
  inner: FormKitProSection<false>;
180
- icon: (sectionKey: string, el?: string | undefined) => () => FormKitSchemaExtendableSection;
180
+ icon: (sectionKey: string, el?: string) => () => FormKitSchemaExtendableSection;
181
181
  label: FormKitProSection<false>;
182
182
  prefix: FormKitProSection<false>;
183
183
  suffix: FormKitProSection<false>;
@@ -1754,9 +1754,9 @@ declare module '@formkit/inputs' {
1754
1754
  type: 'togglebuttons'
1755
1755
  onValue?: any
1756
1756
  offValue?: any
1757
- value?:
1758
- | (Props['onValue'] extends AllReals ? Props['onValue'] : true)
1759
- | (Props['offValue'] extends AllReals ? Props['offValue'] : false)
1757
+ value?: Props['multiple'] extends Yes
1758
+ ? OptionsProValue<Props['options']>[]
1759
+ : OptionsProValue<Props['options']>
1760
1760
  options?: FormKitProOptionsProp
1761
1761
  label?: string
1762
1762
  enforced?: Bool