@openwebf/react-cupertino-ui 0.3.14 → 0.3.16
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.d.mts +193 -137
- package/dist/index.d.ts +193 -137
- package/dist/index.js +112 -90
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +111 -90
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -329,6 +329,198 @@ declare const FlutterCupertinoSwitch: React.ForwardRefExoticComponent<FlutterCup
|
|
|
329
329
|
children?: React.ReactNode;
|
|
330
330
|
} & React.RefAttributes<FlutterCupertinoSwitchElement>>;
|
|
331
331
|
|
|
332
|
+
interface FlutterCupertinoSliderProps {
|
|
333
|
+
/**
|
|
334
|
+
* Current value of the slider.
|
|
335
|
+
* Default: 0.0.
|
|
336
|
+
*/
|
|
337
|
+
val?: number;
|
|
338
|
+
/**
|
|
339
|
+
* Minimum value of the slider range.
|
|
340
|
+
* Default: 0.0.
|
|
341
|
+
*/
|
|
342
|
+
min?: number;
|
|
343
|
+
/**
|
|
344
|
+
* Maximum value of the slider range.
|
|
345
|
+
* Default: 100.0.
|
|
346
|
+
*/
|
|
347
|
+
max?: number;
|
|
348
|
+
/**
|
|
349
|
+
* Number of discrete divisions between min and max.
|
|
350
|
+
* When omitted, the slider is continuous.
|
|
351
|
+
*/
|
|
352
|
+
step?: number;
|
|
353
|
+
/**
|
|
354
|
+
* Whether the slider is disabled.
|
|
355
|
+
* Default: false.
|
|
356
|
+
*/
|
|
357
|
+
disabled?: boolean;
|
|
358
|
+
/**
|
|
359
|
+
* Fired whenever the slider value changes. detail = value.
|
|
360
|
+
*/
|
|
361
|
+
onChange?: (event: CustomEvent<number>) => void;
|
|
362
|
+
/**
|
|
363
|
+
* Fired when the user starts interacting with the slider.
|
|
364
|
+
*/
|
|
365
|
+
onChangestart?: (event: CustomEvent<number>) => void;
|
|
366
|
+
/**
|
|
367
|
+
* Fired when the user stops interacting with the slider.
|
|
368
|
+
*/
|
|
369
|
+
onChangeend?: (event: CustomEvent<number>) => void;
|
|
370
|
+
/**
|
|
371
|
+
* HTML id attribute
|
|
372
|
+
*/
|
|
373
|
+
id?: string;
|
|
374
|
+
/**
|
|
375
|
+
* Additional CSS styles
|
|
376
|
+
*/
|
|
377
|
+
style?: React.CSSProperties;
|
|
378
|
+
/**
|
|
379
|
+
* Children elements
|
|
380
|
+
*/
|
|
381
|
+
children?: React.ReactNode;
|
|
382
|
+
/**
|
|
383
|
+
* Additional CSS class names
|
|
384
|
+
*/
|
|
385
|
+
className?: string;
|
|
386
|
+
}
|
|
387
|
+
/**
|
|
388
|
+
* Element interface with methods accessible via ref
|
|
389
|
+
* @example
|
|
390
|
+
* ```tsx
|
|
391
|
+
* const ref = useRef<FlutterCupertinoSliderElement>(null);
|
|
392
|
+
* // Call methods on the element
|
|
393
|
+
* ref.current?.finishRefresh('success');
|
|
394
|
+
* ```
|
|
395
|
+
*/
|
|
396
|
+
interface FlutterCupertinoSliderElement extends WebFElementWithMethods<{
|
|
397
|
+
/**
|
|
398
|
+
* Get the current value.
|
|
399
|
+
*/
|
|
400
|
+
getValue(): number;
|
|
401
|
+
/**
|
|
402
|
+
* Set the current value (clamped between min and max).
|
|
403
|
+
*/
|
|
404
|
+
setValue(val: number): void;
|
|
405
|
+
}> {
|
|
406
|
+
}
|
|
407
|
+
/**
|
|
408
|
+
* Properties for <flutter-cupertino-slider>
|
|
409
|
+
iOS-style continuous or stepped slider.
|
|
410
|
+
*
|
|
411
|
+
* @example
|
|
412
|
+
* ```tsx
|
|
413
|
+
* const ref = useRef<FlutterCupertinoSliderElement>(null);
|
|
414
|
+
*
|
|
415
|
+
* <FlutterCupertinoSlider
|
|
416
|
+
* ref={ref}
|
|
417
|
+
* // Add props here
|
|
418
|
+
* >
|
|
419
|
+
* Content
|
|
420
|
+
* </FlutterCupertinoSlider>
|
|
421
|
+
*
|
|
422
|
+
* // Call methods on the element
|
|
423
|
+
* ref.current?.finishRefresh('success');
|
|
424
|
+
* ```
|
|
425
|
+
*/
|
|
426
|
+
declare const FlutterCupertinoSlider: React.ForwardRefExoticComponent<FlutterCupertinoSliderProps & {
|
|
427
|
+
className?: string;
|
|
428
|
+
style?: React.CSSProperties;
|
|
429
|
+
children?: React.ReactNode;
|
|
430
|
+
} & React.RefAttributes<FlutterCupertinoSliderElement>>;
|
|
431
|
+
|
|
432
|
+
interface FlutterCupertinoSegmentedTabProps {
|
|
433
|
+
/**
|
|
434
|
+
* Zero-based index of the selected segment.
|
|
435
|
+
* Default: 0.
|
|
436
|
+
*/
|
|
437
|
+
currentIndex?: number;
|
|
438
|
+
/**
|
|
439
|
+
* Fired when the selected segment changes. detail = selected index
|
|
440
|
+
*/
|
|
441
|
+
onChange?: (event: CustomEvent<number>) => void;
|
|
442
|
+
/**
|
|
443
|
+
* HTML id attribute
|
|
444
|
+
*/
|
|
445
|
+
id?: string;
|
|
446
|
+
/**
|
|
447
|
+
* Additional CSS styles
|
|
448
|
+
*/
|
|
449
|
+
style?: React.CSSProperties;
|
|
450
|
+
/**
|
|
451
|
+
* Children elements
|
|
452
|
+
*/
|
|
453
|
+
children?: React.ReactNode;
|
|
454
|
+
/**
|
|
455
|
+
* Additional CSS class names
|
|
456
|
+
*/
|
|
457
|
+
className?: string;
|
|
458
|
+
}
|
|
459
|
+
interface FlutterCupertinoSegmentedTabElement extends WebFElementWithMethods<{}> {
|
|
460
|
+
}
|
|
461
|
+
/**
|
|
462
|
+
* Properties for <flutter-cupertino-segmented-tab>
|
|
463
|
+
Sliding segmented control with tabbed content.
|
|
464
|
+
*
|
|
465
|
+
* @example
|
|
466
|
+
* ```tsx
|
|
467
|
+
*
|
|
468
|
+
* <FlutterCupertinoSegmentedTab
|
|
469
|
+
* // Add props here
|
|
470
|
+
* >
|
|
471
|
+
* Content
|
|
472
|
+
* </FlutterCupertinoSegmentedTab>
|
|
473
|
+
* ```
|
|
474
|
+
*/
|
|
475
|
+
declare const FlutterCupertinoSegmentedTab: React.ForwardRefExoticComponent<FlutterCupertinoSegmentedTabProps & {
|
|
476
|
+
className?: string;
|
|
477
|
+
style?: React.CSSProperties;
|
|
478
|
+
children?: React.ReactNode;
|
|
479
|
+
} & React.RefAttributes<FlutterCupertinoSegmentedTabElement>>;
|
|
480
|
+
interface FlutterCupertinoSegmentedTabItemProps {
|
|
481
|
+
/**
|
|
482
|
+
* Label text shown in the segment.
|
|
483
|
+
*/
|
|
484
|
+
title?: string;
|
|
485
|
+
/**
|
|
486
|
+
* HTML id attribute
|
|
487
|
+
*/
|
|
488
|
+
id?: string;
|
|
489
|
+
/**
|
|
490
|
+
* Additional CSS styles
|
|
491
|
+
*/
|
|
492
|
+
style?: React.CSSProperties;
|
|
493
|
+
/**
|
|
494
|
+
* Children elements
|
|
495
|
+
*/
|
|
496
|
+
children?: React.ReactNode;
|
|
497
|
+
/**
|
|
498
|
+
* Additional CSS class names
|
|
499
|
+
*/
|
|
500
|
+
className?: string;
|
|
501
|
+
}
|
|
502
|
+
interface FlutterCupertinoSegmentedTabItemElement extends WebFElementWithMethods<{}> {
|
|
503
|
+
}
|
|
504
|
+
/**
|
|
505
|
+
* Properties for <flutter-cupertino-segmented-tab-item>
|
|
506
|
+
Child item representing a single segment.
|
|
507
|
+
*
|
|
508
|
+
* @example
|
|
509
|
+
* ```tsx
|
|
510
|
+
*
|
|
511
|
+
* <FlutterCupertinoSegmentedTabItem
|
|
512
|
+
* // Add props here
|
|
513
|
+
* >
|
|
514
|
+
* Content
|
|
515
|
+
* </FlutterCupertinoSegmentedTabItem>
|
|
516
|
+
* ```
|
|
517
|
+
*/
|
|
518
|
+
declare const FlutterCupertinoSegmentedTabItem: React.ForwardRefExoticComponent<FlutterCupertinoSegmentedTabItemProps & {
|
|
519
|
+
className?: string;
|
|
520
|
+
style?: React.CSSProperties;
|
|
521
|
+
children?: React.ReactNode;
|
|
522
|
+
} & React.RefAttributes<FlutterCupertinoSegmentedTabItemElement>>;
|
|
523
|
+
|
|
332
524
|
interface FlutterCupertinoListSectionProps {
|
|
333
525
|
/**
|
|
334
526
|
* Whether to use the inset grouped style (iOS Settings-style sections).
|
|
@@ -2560,142 +2752,6 @@ declare const FlutterCupertinoTextarea: React.ForwardRefExoticComponent<FlutterC
|
|
|
2560
2752
|
children?: React.ReactNode;
|
|
2561
2753
|
} & React.RefAttributes<FlutterCupertinoTextareaElement>>;
|
|
2562
2754
|
|
|
2563
|
-
interface FlutterCupertinoSliderProps {
|
|
2564
|
-
/**
|
|
2565
|
-
* val property
|
|
2566
|
-
* @default undefined
|
|
2567
|
-
*/
|
|
2568
|
-
val?: number;
|
|
2569
|
-
/**
|
|
2570
|
-
* min property
|
|
2571
|
-
* @default undefined
|
|
2572
|
-
*/
|
|
2573
|
-
min?: number;
|
|
2574
|
-
/**
|
|
2575
|
-
* max property
|
|
2576
|
-
* @default undefined
|
|
2577
|
-
*/
|
|
2578
|
-
max?: number;
|
|
2579
|
-
/**
|
|
2580
|
-
* step property
|
|
2581
|
-
* @default undefined
|
|
2582
|
-
*/
|
|
2583
|
-
step?: number;
|
|
2584
|
-
/**
|
|
2585
|
-
* disabled property
|
|
2586
|
-
* @default undefined
|
|
2587
|
-
*/
|
|
2588
|
-
disabled?: boolean;
|
|
2589
|
-
/**
|
|
2590
|
-
* change event handler
|
|
2591
|
-
*/
|
|
2592
|
-
onChange?: (event: CustomEvent<number>) => void;
|
|
2593
|
-
/**
|
|
2594
|
-
* changestart event handler
|
|
2595
|
-
*/
|
|
2596
|
-
onChangestart?: (event: CustomEvent<number>) => void;
|
|
2597
|
-
/**
|
|
2598
|
-
* changeend event handler
|
|
2599
|
-
*/
|
|
2600
|
-
onChangeend?: (event: CustomEvent<number>) => void;
|
|
2601
|
-
/**
|
|
2602
|
-
* HTML id attribute
|
|
2603
|
-
*/
|
|
2604
|
-
id?: string;
|
|
2605
|
-
/**
|
|
2606
|
-
* Additional CSS styles
|
|
2607
|
-
*/
|
|
2608
|
-
style?: React.CSSProperties;
|
|
2609
|
-
/**
|
|
2610
|
-
* Children elements
|
|
2611
|
-
*/
|
|
2612
|
-
children?: React.ReactNode;
|
|
2613
|
-
/**
|
|
2614
|
-
* Additional CSS class names
|
|
2615
|
-
*/
|
|
2616
|
-
className?: string;
|
|
2617
|
-
}
|
|
2618
|
-
/**
|
|
2619
|
-
* Element interface with methods accessible via ref
|
|
2620
|
-
* @example
|
|
2621
|
-
* ```tsx
|
|
2622
|
-
* const ref = useRef<FlutterCupertinoSliderElement>(null);
|
|
2623
|
-
* // Call methods on the element
|
|
2624
|
-
* ref.current?.finishRefresh('success');
|
|
2625
|
-
* ```
|
|
2626
|
-
*/
|
|
2627
|
-
interface FlutterCupertinoSliderElement extends WebFElementWithMethods<{
|
|
2628
|
-
getValue(): number;
|
|
2629
|
-
setValue(val: number): void;
|
|
2630
|
-
}> {
|
|
2631
|
-
}
|
|
2632
|
-
/**
|
|
2633
|
-
* FlutterCupertinoSlider - WebF FlutterCupertinoSlider component
|
|
2634
|
-
*
|
|
2635
|
-
* @example
|
|
2636
|
-
* ```tsx
|
|
2637
|
-
* const ref = useRef<FlutterCupertinoSliderElement>(null);
|
|
2638
|
-
*
|
|
2639
|
-
* <FlutterCupertinoSlider
|
|
2640
|
-
* ref={ref}
|
|
2641
|
-
* // Add props here
|
|
2642
|
-
* >
|
|
2643
|
-
* Content
|
|
2644
|
-
* </FlutterCupertinoSlider>
|
|
2645
|
-
*
|
|
2646
|
-
* // Call methods on the element
|
|
2647
|
-
* ref.current?.finishRefresh('success');
|
|
2648
|
-
* ```
|
|
2649
|
-
*/
|
|
2650
|
-
declare const FlutterCupertinoSlider: React.ForwardRefExoticComponent<FlutterCupertinoSliderProps & {
|
|
2651
|
-
className?: string;
|
|
2652
|
-
style?: React.CSSProperties;
|
|
2653
|
-
children?: React.ReactNode;
|
|
2654
|
-
} & React.RefAttributes<FlutterCupertinoSliderElement>>;
|
|
2655
|
-
|
|
2656
|
-
interface FlutterCupertinoSegmentedTabProps {
|
|
2657
|
-
/**
|
|
2658
|
-
* change event handler
|
|
2659
|
-
*/
|
|
2660
|
-
onChange?: (event: CustomEvent<number>) => void;
|
|
2661
|
-
/**
|
|
2662
|
-
* HTML id attribute
|
|
2663
|
-
*/
|
|
2664
|
-
id?: string;
|
|
2665
|
-
/**
|
|
2666
|
-
* Additional CSS styles
|
|
2667
|
-
*/
|
|
2668
|
-
style?: React.CSSProperties;
|
|
2669
|
-
/**
|
|
2670
|
-
* Children elements
|
|
2671
|
-
*/
|
|
2672
|
-
children?: React.ReactNode;
|
|
2673
|
-
/**
|
|
2674
|
-
* Additional CSS class names
|
|
2675
|
-
*/
|
|
2676
|
-
className?: string;
|
|
2677
|
-
}
|
|
2678
|
-
interface FlutterCupertinoSegmentedTabElement extends WebFElementWithMethods<{}> {
|
|
2679
|
-
}
|
|
2680
|
-
/**
|
|
2681
|
-
* FlutterCupertinoSegmentedTab - WebF FlutterCupertinoSegmentedTab component
|
|
2682
|
-
*
|
|
2683
|
-
* @example
|
|
2684
|
-
* ```tsx
|
|
2685
|
-
*
|
|
2686
|
-
* <FlutterCupertinoSegmentedTab
|
|
2687
|
-
* // Add props here
|
|
2688
|
-
* >
|
|
2689
|
-
* Content
|
|
2690
|
-
* </FlutterCupertinoSegmentedTab>
|
|
2691
|
-
* ```
|
|
2692
|
-
*/
|
|
2693
|
-
declare const FlutterCupertinoSegmentedTab: React.ForwardRefExoticComponent<FlutterCupertinoSegmentedTabProps & {
|
|
2694
|
-
className?: string;
|
|
2695
|
-
style?: React.CSSProperties;
|
|
2696
|
-
children?: React.ReactNode;
|
|
2697
|
-
} & React.RefAttributes<FlutterCupertinoSegmentedTabElement>>;
|
|
2698
|
-
|
|
2699
2755
|
interface FlutterCupertinoSearchInputProps {
|
|
2700
2756
|
/**
|
|
2701
2757
|
* val property
|
|
@@ -3988,4 +4044,4 @@ declare const FlutterCupertinoCheckbox: React.ForwardRefExoticComponent<FlutterC
|
|
|
3988
4044
|
children?: React.ReactNode;
|
|
3989
4045
|
} & React.RefAttributes<FlutterCupertinoCheckboxElement>>;
|
|
3990
4046
|
|
|
3991
|
-
export { CupertinoColors, CupertinoIcons, FlutterCupertinoActionSheet, type FlutterCupertinoActionSheetElement, FlutterCupertinoAlert, type FlutterCupertinoAlertElement, FlutterCupertinoButton, type FlutterCupertinoButtonElement, FlutterCupertinoCheckbox, type FlutterCupertinoCheckboxElement, FlutterCupertinoContextMenu, type FlutterCupertinoContextMenuElement, FlutterCupertinoDatePicker, type FlutterCupertinoDatePickerElement, FlutterCupertinoFormRow, type FlutterCupertinoFormRowElement, FlutterCupertinoFormRowError, type FlutterCupertinoFormRowErrorElement, FlutterCupertinoFormRowHelper, type FlutterCupertinoFormRowHelperElement, FlutterCupertinoFormRowPrefix, type FlutterCupertinoFormRowPrefixElement, FlutterCupertinoFormSection, type FlutterCupertinoFormSectionElement, FlutterCupertinoFormSectionFooter, type FlutterCupertinoFormSectionFooterElement, FlutterCupertinoFormSectionHeader, type FlutterCupertinoFormSectionHeaderElement, FlutterCupertinoIcon, type FlutterCupertinoIconElement, FlutterCupertinoInput, type FlutterCupertinoInputElement, FlutterCupertinoInputPrefix, type FlutterCupertinoInputPrefixElement, FlutterCupertinoInputSuffix, type FlutterCupertinoInputSuffixElement, FlutterCupertinoListSection, type FlutterCupertinoListSectionElement, FlutterCupertinoListSectionFooter, type FlutterCupertinoListSectionFooterElement, FlutterCupertinoListSectionHeader, type FlutterCupertinoListSectionHeaderElement, FlutterCupertinoListTile, FlutterCupertinoListTileAdditionalInfo, type FlutterCupertinoListTileAdditionalInfoElement, type FlutterCupertinoListTileElement, FlutterCupertinoListTileLeading, type FlutterCupertinoListTileLeadingElement, FlutterCupertinoListTileSubtitle, type FlutterCupertinoListTileSubtitleElement, FlutterCupertinoListTileTrailing, type FlutterCupertinoListTileTrailingElement, FlutterCupertinoLoading, type FlutterCupertinoLoadingElement, FlutterCupertinoModalPopup, type FlutterCupertinoModalPopupElement, FlutterCupertinoPicker, type FlutterCupertinoPickerElement, FlutterCupertinoPickerItem, type FlutterCupertinoPickerItemElement, FlutterCupertinoRadio, type FlutterCupertinoRadioElement, FlutterCupertinoSearchInput, type FlutterCupertinoSearchInputElement, FlutterCupertinoSegmentedTab, type FlutterCupertinoSegmentedTabElement, FlutterCupertinoSlider, type FlutterCupertinoSliderElement, FlutterCupertinoSwitch, type FlutterCupertinoSwitchElement, FlutterCupertinoTabBar, type FlutterCupertinoTabBarElement, FlutterCupertinoTabBarItem, type FlutterCupertinoTabBarItemElement, FlutterCupertinoTabScaffold, type FlutterCupertinoTabScaffoldElement, FlutterCupertinoTabScaffoldTab, type FlutterCupertinoTabScaffoldTabElement, FlutterCupertinoTabView, type FlutterCupertinoTabViewElement, FlutterCupertinoTextarea, type FlutterCupertinoTextareaElement, FlutterCupertinoTimerPicker, type FlutterCupertinoTimerPickerElement, FlutterCupertinoToast, type FlutterCupertinoToastElement };
|
|
4047
|
+
export { CupertinoColors, CupertinoIcons, FlutterCupertinoActionSheet, type FlutterCupertinoActionSheetElement, FlutterCupertinoAlert, type FlutterCupertinoAlertElement, FlutterCupertinoButton, type FlutterCupertinoButtonElement, FlutterCupertinoCheckbox, type FlutterCupertinoCheckboxElement, FlutterCupertinoContextMenu, type FlutterCupertinoContextMenuElement, FlutterCupertinoDatePicker, type FlutterCupertinoDatePickerElement, FlutterCupertinoFormRow, type FlutterCupertinoFormRowElement, FlutterCupertinoFormRowError, type FlutterCupertinoFormRowErrorElement, FlutterCupertinoFormRowHelper, type FlutterCupertinoFormRowHelperElement, FlutterCupertinoFormRowPrefix, type FlutterCupertinoFormRowPrefixElement, FlutterCupertinoFormSection, type FlutterCupertinoFormSectionElement, FlutterCupertinoFormSectionFooter, type FlutterCupertinoFormSectionFooterElement, FlutterCupertinoFormSectionHeader, type FlutterCupertinoFormSectionHeaderElement, FlutterCupertinoIcon, type FlutterCupertinoIconElement, FlutterCupertinoInput, type FlutterCupertinoInputElement, FlutterCupertinoInputPrefix, type FlutterCupertinoInputPrefixElement, FlutterCupertinoInputSuffix, type FlutterCupertinoInputSuffixElement, FlutterCupertinoListSection, type FlutterCupertinoListSectionElement, FlutterCupertinoListSectionFooter, type FlutterCupertinoListSectionFooterElement, FlutterCupertinoListSectionHeader, type FlutterCupertinoListSectionHeaderElement, FlutterCupertinoListTile, FlutterCupertinoListTileAdditionalInfo, type FlutterCupertinoListTileAdditionalInfoElement, type FlutterCupertinoListTileElement, FlutterCupertinoListTileLeading, type FlutterCupertinoListTileLeadingElement, FlutterCupertinoListTileSubtitle, type FlutterCupertinoListTileSubtitleElement, FlutterCupertinoListTileTrailing, type FlutterCupertinoListTileTrailingElement, FlutterCupertinoLoading, type FlutterCupertinoLoadingElement, FlutterCupertinoModalPopup, type FlutterCupertinoModalPopupElement, FlutterCupertinoPicker, type FlutterCupertinoPickerElement, FlutterCupertinoPickerItem, type FlutterCupertinoPickerItemElement, FlutterCupertinoRadio, type FlutterCupertinoRadioElement, FlutterCupertinoSearchInput, type FlutterCupertinoSearchInputElement, FlutterCupertinoSegmentedTab, type FlutterCupertinoSegmentedTabElement, FlutterCupertinoSegmentedTabItem, type FlutterCupertinoSegmentedTabItemElement, FlutterCupertinoSlider, type FlutterCupertinoSliderElement, FlutterCupertinoSwitch, type FlutterCupertinoSwitchElement, FlutterCupertinoTabBar, type FlutterCupertinoTabBarElement, FlutterCupertinoTabBarItem, type FlutterCupertinoTabBarItemElement, FlutterCupertinoTabScaffold, type FlutterCupertinoTabScaffoldElement, FlutterCupertinoTabScaffoldTab, type FlutterCupertinoTabScaffoldTabElement, FlutterCupertinoTabView, type FlutterCupertinoTabViewElement, FlutterCupertinoTextarea, type FlutterCupertinoTextareaElement, FlutterCupertinoTimerPicker, type FlutterCupertinoTimerPickerElement, FlutterCupertinoToast, type FlutterCupertinoToastElement };
|
package/dist/index.d.ts
CHANGED
|
@@ -329,6 +329,198 @@ declare const FlutterCupertinoSwitch: React.ForwardRefExoticComponent<FlutterCup
|
|
|
329
329
|
children?: React.ReactNode;
|
|
330
330
|
} & React.RefAttributes<FlutterCupertinoSwitchElement>>;
|
|
331
331
|
|
|
332
|
+
interface FlutterCupertinoSliderProps {
|
|
333
|
+
/**
|
|
334
|
+
* Current value of the slider.
|
|
335
|
+
* Default: 0.0.
|
|
336
|
+
*/
|
|
337
|
+
val?: number;
|
|
338
|
+
/**
|
|
339
|
+
* Minimum value of the slider range.
|
|
340
|
+
* Default: 0.0.
|
|
341
|
+
*/
|
|
342
|
+
min?: number;
|
|
343
|
+
/**
|
|
344
|
+
* Maximum value of the slider range.
|
|
345
|
+
* Default: 100.0.
|
|
346
|
+
*/
|
|
347
|
+
max?: number;
|
|
348
|
+
/**
|
|
349
|
+
* Number of discrete divisions between min and max.
|
|
350
|
+
* When omitted, the slider is continuous.
|
|
351
|
+
*/
|
|
352
|
+
step?: number;
|
|
353
|
+
/**
|
|
354
|
+
* Whether the slider is disabled.
|
|
355
|
+
* Default: false.
|
|
356
|
+
*/
|
|
357
|
+
disabled?: boolean;
|
|
358
|
+
/**
|
|
359
|
+
* Fired whenever the slider value changes. detail = value.
|
|
360
|
+
*/
|
|
361
|
+
onChange?: (event: CustomEvent<number>) => void;
|
|
362
|
+
/**
|
|
363
|
+
* Fired when the user starts interacting with the slider.
|
|
364
|
+
*/
|
|
365
|
+
onChangestart?: (event: CustomEvent<number>) => void;
|
|
366
|
+
/**
|
|
367
|
+
* Fired when the user stops interacting with the slider.
|
|
368
|
+
*/
|
|
369
|
+
onChangeend?: (event: CustomEvent<number>) => void;
|
|
370
|
+
/**
|
|
371
|
+
* HTML id attribute
|
|
372
|
+
*/
|
|
373
|
+
id?: string;
|
|
374
|
+
/**
|
|
375
|
+
* Additional CSS styles
|
|
376
|
+
*/
|
|
377
|
+
style?: React.CSSProperties;
|
|
378
|
+
/**
|
|
379
|
+
* Children elements
|
|
380
|
+
*/
|
|
381
|
+
children?: React.ReactNode;
|
|
382
|
+
/**
|
|
383
|
+
* Additional CSS class names
|
|
384
|
+
*/
|
|
385
|
+
className?: string;
|
|
386
|
+
}
|
|
387
|
+
/**
|
|
388
|
+
* Element interface with methods accessible via ref
|
|
389
|
+
* @example
|
|
390
|
+
* ```tsx
|
|
391
|
+
* const ref = useRef<FlutterCupertinoSliderElement>(null);
|
|
392
|
+
* // Call methods on the element
|
|
393
|
+
* ref.current?.finishRefresh('success');
|
|
394
|
+
* ```
|
|
395
|
+
*/
|
|
396
|
+
interface FlutterCupertinoSliderElement extends WebFElementWithMethods<{
|
|
397
|
+
/**
|
|
398
|
+
* Get the current value.
|
|
399
|
+
*/
|
|
400
|
+
getValue(): number;
|
|
401
|
+
/**
|
|
402
|
+
* Set the current value (clamped between min and max).
|
|
403
|
+
*/
|
|
404
|
+
setValue(val: number): void;
|
|
405
|
+
}> {
|
|
406
|
+
}
|
|
407
|
+
/**
|
|
408
|
+
* Properties for <flutter-cupertino-slider>
|
|
409
|
+
iOS-style continuous or stepped slider.
|
|
410
|
+
*
|
|
411
|
+
* @example
|
|
412
|
+
* ```tsx
|
|
413
|
+
* const ref = useRef<FlutterCupertinoSliderElement>(null);
|
|
414
|
+
*
|
|
415
|
+
* <FlutterCupertinoSlider
|
|
416
|
+
* ref={ref}
|
|
417
|
+
* // Add props here
|
|
418
|
+
* >
|
|
419
|
+
* Content
|
|
420
|
+
* </FlutterCupertinoSlider>
|
|
421
|
+
*
|
|
422
|
+
* // Call methods on the element
|
|
423
|
+
* ref.current?.finishRefresh('success');
|
|
424
|
+
* ```
|
|
425
|
+
*/
|
|
426
|
+
declare const FlutterCupertinoSlider: React.ForwardRefExoticComponent<FlutterCupertinoSliderProps & {
|
|
427
|
+
className?: string;
|
|
428
|
+
style?: React.CSSProperties;
|
|
429
|
+
children?: React.ReactNode;
|
|
430
|
+
} & React.RefAttributes<FlutterCupertinoSliderElement>>;
|
|
431
|
+
|
|
432
|
+
interface FlutterCupertinoSegmentedTabProps {
|
|
433
|
+
/**
|
|
434
|
+
* Zero-based index of the selected segment.
|
|
435
|
+
* Default: 0.
|
|
436
|
+
*/
|
|
437
|
+
currentIndex?: number;
|
|
438
|
+
/**
|
|
439
|
+
* Fired when the selected segment changes. detail = selected index
|
|
440
|
+
*/
|
|
441
|
+
onChange?: (event: CustomEvent<number>) => void;
|
|
442
|
+
/**
|
|
443
|
+
* HTML id attribute
|
|
444
|
+
*/
|
|
445
|
+
id?: string;
|
|
446
|
+
/**
|
|
447
|
+
* Additional CSS styles
|
|
448
|
+
*/
|
|
449
|
+
style?: React.CSSProperties;
|
|
450
|
+
/**
|
|
451
|
+
* Children elements
|
|
452
|
+
*/
|
|
453
|
+
children?: React.ReactNode;
|
|
454
|
+
/**
|
|
455
|
+
* Additional CSS class names
|
|
456
|
+
*/
|
|
457
|
+
className?: string;
|
|
458
|
+
}
|
|
459
|
+
interface FlutterCupertinoSegmentedTabElement extends WebFElementWithMethods<{}> {
|
|
460
|
+
}
|
|
461
|
+
/**
|
|
462
|
+
* Properties for <flutter-cupertino-segmented-tab>
|
|
463
|
+
Sliding segmented control with tabbed content.
|
|
464
|
+
*
|
|
465
|
+
* @example
|
|
466
|
+
* ```tsx
|
|
467
|
+
*
|
|
468
|
+
* <FlutterCupertinoSegmentedTab
|
|
469
|
+
* // Add props here
|
|
470
|
+
* >
|
|
471
|
+
* Content
|
|
472
|
+
* </FlutterCupertinoSegmentedTab>
|
|
473
|
+
* ```
|
|
474
|
+
*/
|
|
475
|
+
declare const FlutterCupertinoSegmentedTab: React.ForwardRefExoticComponent<FlutterCupertinoSegmentedTabProps & {
|
|
476
|
+
className?: string;
|
|
477
|
+
style?: React.CSSProperties;
|
|
478
|
+
children?: React.ReactNode;
|
|
479
|
+
} & React.RefAttributes<FlutterCupertinoSegmentedTabElement>>;
|
|
480
|
+
interface FlutterCupertinoSegmentedTabItemProps {
|
|
481
|
+
/**
|
|
482
|
+
* Label text shown in the segment.
|
|
483
|
+
*/
|
|
484
|
+
title?: string;
|
|
485
|
+
/**
|
|
486
|
+
* HTML id attribute
|
|
487
|
+
*/
|
|
488
|
+
id?: string;
|
|
489
|
+
/**
|
|
490
|
+
* Additional CSS styles
|
|
491
|
+
*/
|
|
492
|
+
style?: React.CSSProperties;
|
|
493
|
+
/**
|
|
494
|
+
* Children elements
|
|
495
|
+
*/
|
|
496
|
+
children?: React.ReactNode;
|
|
497
|
+
/**
|
|
498
|
+
* Additional CSS class names
|
|
499
|
+
*/
|
|
500
|
+
className?: string;
|
|
501
|
+
}
|
|
502
|
+
interface FlutterCupertinoSegmentedTabItemElement extends WebFElementWithMethods<{}> {
|
|
503
|
+
}
|
|
504
|
+
/**
|
|
505
|
+
* Properties for <flutter-cupertino-segmented-tab-item>
|
|
506
|
+
Child item representing a single segment.
|
|
507
|
+
*
|
|
508
|
+
* @example
|
|
509
|
+
* ```tsx
|
|
510
|
+
*
|
|
511
|
+
* <FlutterCupertinoSegmentedTabItem
|
|
512
|
+
* // Add props here
|
|
513
|
+
* >
|
|
514
|
+
* Content
|
|
515
|
+
* </FlutterCupertinoSegmentedTabItem>
|
|
516
|
+
* ```
|
|
517
|
+
*/
|
|
518
|
+
declare const FlutterCupertinoSegmentedTabItem: React.ForwardRefExoticComponent<FlutterCupertinoSegmentedTabItemProps & {
|
|
519
|
+
className?: string;
|
|
520
|
+
style?: React.CSSProperties;
|
|
521
|
+
children?: React.ReactNode;
|
|
522
|
+
} & React.RefAttributes<FlutterCupertinoSegmentedTabItemElement>>;
|
|
523
|
+
|
|
332
524
|
interface FlutterCupertinoListSectionProps {
|
|
333
525
|
/**
|
|
334
526
|
* Whether to use the inset grouped style (iOS Settings-style sections).
|
|
@@ -2560,142 +2752,6 @@ declare const FlutterCupertinoTextarea: React.ForwardRefExoticComponent<FlutterC
|
|
|
2560
2752
|
children?: React.ReactNode;
|
|
2561
2753
|
} & React.RefAttributes<FlutterCupertinoTextareaElement>>;
|
|
2562
2754
|
|
|
2563
|
-
interface FlutterCupertinoSliderProps {
|
|
2564
|
-
/**
|
|
2565
|
-
* val property
|
|
2566
|
-
* @default undefined
|
|
2567
|
-
*/
|
|
2568
|
-
val?: number;
|
|
2569
|
-
/**
|
|
2570
|
-
* min property
|
|
2571
|
-
* @default undefined
|
|
2572
|
-
*/
|
|
2573
|
-
min?: number;
|
|
2574
|
-
/**
|
|
2575
|
-
* max property
|
|
2576
|
-
* @default undefined
|
|
2577
|
-
*/
|
|
2578
|
-
max?: number;
|
|
2579
|
-
/**
|
|
2580
|
-
* step property
|
|
2581
|
-
* @default undefined
|
|
2582
|
-
*/
|
|
2583
|
-
step?: number;
|
|
2584
|
-
/**
|
|
2585
|
-
* disabled property
|
|
2586
|
-
* @default undefined
|
|
2587
|
-
*/
|
|
2588
|
-
disabled?: boolean;
|
|
2589
|
-
/**
|
|
2590
|
-
* change event handler
|
|
2591
|
-
*/
|
|
2592
|
-
onChange?: (event: CustomEvent<number>) => void;
|
|
2593
|
-
/**
|
|
2594
|
-
* changestart event handler
|
|
2595
|
-
*/
|
|
2596
|
-
onChangestart?: (event: CustomEvent<number>) => void;
|
|
2597
|
-
/**
|
|
2598
|
-
* changeend event handler
|
|
2599
|
-
*/
|
|
2600
|
-
onChangeend?: (event: CustomEvent<number>) => void;
|
|
2601
|
-
/**
|
|
2602
|
-
* HTML id attribute
|
|
2603
|
-
*/
|
|
2604
|
-
id?: string;
|
|
2605
|
-
/**
|
|
2606
|
-
* Additional CSS styles
|
|
2607
|
-
*/
|
|
2608
|
-
style?: React.CSSProperties;
|
|
2609
|
-
/**
|
|
2610
|
-
* Children elements
|
|
2611
|
-
*/
|
|
2612
|
-
children?: React.ReactNode;
|
|
2613
|
-
/**
|
|
2614
|
-
* Additional CSS class names
|
|
2615
|
-
*/
|
|
2616
|
-
className?: string;
|
|
2617
|
-
}
|
|
2618
|
-
/**
|
|
2619
|
-
* Element interface with methods accessible via ref
|
|
2620
|
-
* @example
|
|
2621
|
-
* ```tsx
|
|
2622
|
-
* const ref = useRef<FlutterCupertinoSliderElement>(null);
|
|
2623
|
-
* // Call methods on the element
|
|
2624
|
-
* ref.current?.finishRefresh('success');
|
|
2625
|
-
* ```
|
|
2626
|
-
*/
|
|
2627
|
-
interface FlutterCupertinoSliderElement extends WebFElementWithMethods<{
|
|
2628
|
-
getValue(): number;
|
|
2629
|
-
setValue(val: number): void;
|
|
2630
|
-
}> {
|
|
2631
|
-
}
|
|
2632
|
-
/**
|
|
2633
|
-
* FlutterCupertinoSlider - WebF FlutterCupertinoSlider component
|
|
2634
|
-
*
|
|
2635
|
-
* @example
|
|
2636
|
-
* ```tsx
|
|
2637
|
-
* const ref = useRef<FlutterCupertinoSliderElement>(null);
|
|
2638
|
-
*
|
|
2639
|
-
* <FlutterCupertinoSlider
|
|
2640
|
-
* ref={ref}
|
|
2641
|
-
* // Add props here
|
|
2642
|
-
* >
|
|
2643
|
-
* Content
|
|
2644
|
-
* </FlutterCupertinoSlider>
|
|
2645
|
-
*
|
|
2646
|
-
* // Call methods on the element
|
|
2647
|
-
* ref.current?.finishRefresh('success');
|
|
2648
|
-
* ```
|
|
2649
|
-
*/
|
|
2650
|
-
declare const FlutterCupertinoSlider: React.ForwardRefExoticComponent<FlutterCupertinoSliderProps & {
|
|
2651
|
-
className?: string;
|
|
2652
|
-
style?: React.CSSProperties;
|
|
2653
|
-
children?: React.ReactNode;
|
|
2654
|
-
} & React.RefAttributes<FlutterCupertinoSliderElement>>;
|
|
2655
|
-
|
|
2656
|
-
interface FlutterCupertinoSegmentedTabProps {
|
|
2657
|
-
/**
|
|
2658
|
-
* change event handler
|
|
2659
|
-
*/
|
|
2660
|
-
onChange?: (event: CustomEvent<number>) => void;
|
|
2661
|
-
/**
|
|
2662
|
-
* HTML id attribute
|
|
2663
|
-
*/
|
|
2664
|
-
id?: string;
|
|
2665
|
-
/**
|
|
2666
|
-
* Additional CSS styles
|
|
2667
|
-
*/
|
|
2668
|
-
style?: React.CSSProperties;
|
|
2669
|
-
/**
|
|
2670
|
-
* Children elements
|
|
2671
|
-
*/
|
|
2672
|
-
children?: React.ReactNode;
|
|
2673
|
-
/**
|
|
2674
|
-
* Additional CSS class names
|
|
2675
|
-
*/
|
|
2676
|
-
className?: string;
|
|
2677
|
-
}
|
|
2678
|
-
interface FlutterCupertinoSegmentedTabElement extends WebFElementWithMethods<{}> {
|
|
2679
|
-
}
|
|
2680
|
-
/**
|
|
2681
|
-
* FlutterCupertinoSegmentedTab - WebF FlutterCupertinoSegmentedTab component
|
|
2682
|
-
*
|
|
2683
|
-
* @example
|
|
2684
|
-
* ```tsx
|
|
2685
|
-
*
|
|
2686
|
-
* <FlutterCupertinoSegmentedTab
|
|
2687
|
-
* // Add props here
|
|
2688
|
-
* >
|
|
2689
|
-
* Content
|
|
2690
|
-
* </FlutterCupertinoSegmentedTab>
|
|
2691
|
-
* ```
|
|
2692
|
-
*/
|
|
2693
|
-
declare const FlutterCupertinoSegmentedTab: React.ForwardRefExoticComponent<FlutterCupertinoSegmentedTabProps & {
|
|
2694
|
-
className?: string;
|
|
2695
|
-
style?: React.CSSProperties;
|
|
2696
|
-
children?: React.ReactNode;
|
|
2697
|
-
} & React.RefAttributes<FlutterCupertinoSegmentedTabElement>>;
|
|
2698
|
-
|
|
2699
2755
|
interface FlutterCupertinoSearchInputProps {
|
|
2700
2756
|
/**
|
|
2701
2757
|
* val property
|
|
@@ -3988,4 +4044,4 @@ declare const FlutterCupertinoCheckbox: React.ForwardRefExoticComponent<FlutterC
|
|
|
3988
4044
|
children?: React.ReactNode;
|
|
3989
4045
|
} & React.RefAttributes<FlutterCupertinoCheckboxElement>>;
|
|
3990
4046
|
|
|
3991
|
-
export { CupertinoColors, CupertinoIcons, FlutterCupertinoActionSheet, type FlutterCupertinoActionSheetElement, FlutterCupertinoAlert, type FlutterCupertinoAlertElement, FlutterCupertinoButton, type FlutterCupertinoButtonElement, FlutterCupertinoCheckbox, type FlutterCupertinoCheckboxElement, FlutterCupertinoContextMenu, type FlutterCupertinoContextMenuElement, FlutterCupertinoDatePicker, type FlutterCupertinoDatePickerElement, FlutterCupertinoFormRow, type FlutterCupertinoFormRowElement, FlutterCupertinoFormRowError, type FlutterCupertinoFormRowErrorElement, FlutterCupertinoFormRowHelper, type FlutterCupertinoFormRowHelperElement, FlutterCupertinoFormRowPrefix, type FlutterCupertinoFormRowPrefixElement, FlutterCupertinoFormSection, type FlutterCupertinoFormSectionElement, FlutterCupertinoFormSectionFooter, type FlutterCupertinoFormSectionFooterElement, FlutterCupertinoFormSectionHeader, type FlutterCupertinoFormSectionHeaderElement, FlutterCupertinoIcon, type FlutterCupertinoIconElement, FlutterCupertinoInput, type FlutterCupertinoInputElement, FlutterCupertinoInputPrefix, type FlutterCupertinoInputPrefixElement, FlutterCupertinoInputSuffix, type FlutterCupertinoInputSuffixElement, FlutterCupertinoListSection, type FlutterCupertinoListSectionElement, FlutterCupertinoListSectionFooter, type FlutterCupertinoListSectionFooterElement, FlutterCupertinoListSectionHeader, type FlutterCupertinoListSectionHeaderElement, FlutterCupertinoListTile, FlutterCupertinoListTileAdditionalInfo, type FlutterCupertinoListTileAdditionalInfoElement, type FlutterCupertinoListTileElement, FlutterCupertinoListTileLeading, type FlutterCupertinoListTileLeadingElement, FlutterCupertinoListTileSubtitle, type FlutterCupertinoListTileSubtitleElement, FlutterCupertinoListTileTrailing, type FlutterCupertinoListTileTrailingElement, FlutterCupertinoLoading, type FlutterCupertinoLoadingElement, FlutterCupertinoModalPopup, type FlutterCupertinoModalPopupElement, FlutterCupertinoPicker, type FlutterCupertinoPickerElement, FlutterCupertinoPickerItem, type FlutterCupertinoPickerItemElement, FlutterCupertinoRadio, type FlutterCupertinoRadioElement, FlutterCupertinoSearchInput, type FlutterCupertinoSearchInputElement, FlutterCupertinoSegmentedTab, type FlutterCupertinoSegmentedTabElement, FlutterCupertinoSlider, type FlutterCupertinoSliderElement, FlutterCupertinoSwitch, type FlutterCupertinoSwitchElement, FlutterCupertinoTabBar, type FlutterCupertinoTabBarElement, FlutterCupertinoTabBarItem, type FlutterCupertinoTabBarItemElement, FlutterCupertinoTabScaffold, type FlutterCupertinoTabScaffoldElement, FlutterCupertinoTabScaffoldTab, type FlutterCupertinoTabScaffoldTabElement, FlutterCupertinoTabView, type FlutterCupertinoTabViewElement, FlutterCupertinoTextarea, type FlutterCupertinoTextareaElement, FlutterCupertinoTimerPicker, type FlutterCupertinoTimerPickerElement, FlutterCupertinoToast, type FlutterCupertinoToastElement };
|
|
4047
|
+
export { CupertinoColors, CupertinoIcons, FlutterCupertinoActionSheet, type FlutterCupertinoActionSheetElement, FlutterCupertinoAlert, type FlutterCupertinoAlertElement, FlutterCupertinoButton, type FlutterCupertinoButtonElement, FlutterCupertinoCheckbox, type FlutterCupertinoCheckboxElement, FlutterCupertinoContextMenu, type FlutterCupertinoContextMenuElement, FlutterCupertinoDatePicker, type FlutterCupertinoDatePickerElement, FlutterCupertinoFormRow, type FlutterCupertinoFormRowElement, FlutterCupertinoFormRowError, type FlutterCupertinoFormRowErrorElement, FlutterCupertinoFormRowHelper, type FlutterCupertinoFormRowHelperElement, FlutterCupertinoFormRowPrefix, type FlutterCupertinoFormRowPrefixElement, FlutterCupertinoFormSection, type FlutterCupertinoFormSectionElement, FlutterCupertinoFormSectionFooter, type FlutterCupertinoFormSectionFooterElement, FlutterCupertinoFormSectionHeader, type FlutterCupertinoFormSectionHeaderElement, FlutterCupertinoIcon, type FlutterCupertinoIconElement, FlutterCupertinoInput, type FlutterCupertinoInputElement, FlutterCupertinoInputPrefix, type FlutterCupertinoInputPrefixElement, FlutterCupertinoInputSuffix, type FlutterCupertinoInputSuffixElement, FlutterCupertinoListSection, type FlutterCupertinoListSectionElement, FlutterCupertinoListSectionFooter, type FlutterCupertinoListSectionFooterElement, FlutterCupertinoListSectionHeader, type FlutterCupertinoListSectionHeaderElement, FlutterCupertinoListTile, FlutterCupertinoListTileAdditionalInfo, type FlutterCupertinoListTileAdditionalInfoElement, type FlutterCupertinoListTileElement, FlutterCupertinoListTileLeading, type FlutterCupertinoListTileLeadingElement, FlutterCupertinoListTileSubtitle, type FlutterCupertinoListTileSubtitleElement, FlutterCupertinoListTileTrailing, type FlutterCupertinoListTileTrailingElement, FlutterCupertinoLoading, type FlutterCupertinoLoadingElement, FlutterCupertinoModalPopup, type FlutterCupertinoModalPopupElement, FlutterCupertinoPicker, type FlutterCupertinoPickerElement, FlutterCupertinoPickerItem, type FlutterCupertinoPickerItemElement, FlutterCupertinoRadio, type FlutterCupertinoRadioElement, FlutterCupertinoSearchInput, type FlutterCupertinoSearchInputElement, FlutterCupertinoSegmentedTab, type FlutterCupertinoSegmentedTabElement, FlutterCupertinoSegmentedTabItem, type FlutterCupertinoSegmentedTabItemElement, FlutterCupertinoSlider, type FlutterCupertinoSliderElement, FlutterCupertinoSwitch, type FlutterCupertinoSwitchElement, FlutterCupertinoTabBar, type FlutterCupertinoTabBarElement, FlutterCupertinoTabBarItem, type FlutterCupertinoTabBarItemElement, FlutterCupertinoTabScaffold, type FlutterCupertinoTabScaffoldElement, FlutterCupertinoTabScaffoldTab, type FlutterCupertinoTabScaffoldTabElement, FlutterCupertinoTabView, type FlutterCupertinoTabViewElement, FlutterCupertinoTextarea, type FlutterCupertinoTextareaElement, FlutterCupertinoTimerPicker, type FlutterCupertinoTimerPickerElement, FlutterCupertinoToast, type FlutterCupertinoToastElement };
|