@openwebf/react-cupertino-ui 0.3.21 → 0.3.22
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 +97 -73
- package/dist/index.d.ts +97 -73
- package/dist/index.js +70 -64
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +70 -64
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -532,6 +532,103 @@ declare const FlutterCupertinoSlider: React.ForwardRefExoticComponent<FlutterCup
|
|
|
532
532
|
children?: React.ReactNode;
|
|
533
533
|
} & React.RefAttributes<FlutterCupertinoSliderElement>>;
|
|
534
534
|
|
|
535
|
+
interface FlutterCupertinoRadioProps {
|
|
536
|
+
/**
|
|
537
|
+
* Value represented by this radio button.
|
|
538
|
+
* When it matches `group-value`, the radio is selected.
|
|
539
|
+
*/
|
|
540
|
+
val?: string;
|
|
541
|
+
/**
|
|
542
|
+
* Currently selected value for the radio group.
|
|
543
|
+
* When equal to `val`, this radio appears selected.
|
|
544
|
+
*/
|
|
545
|
+
groupValue?: string;
|
|
546
|
+
/**
|
|
547
|
+
* Whether the radio is disabled.
|
|
548
|
+
* When true, the control is non-interactive and dimmed.
|
|
549
|
+
*/
|
|
550
|
+
disabled?: boolean;
|
|
551
|
+
/**
|
|
552
|
+
* Whether this radio can be toggled off by tapping it again when selected.
|
|
553
|
+
* When true, on change the group value may be cleared.
|
|
554
|
+
* Default: false.
|
|
555
|
+
*/
|
|
556
|
+
toggleable?: boolean;
|
|
557
|
+
/**
|
|
558
|
+
* When true, renders in a checkmark style instead of the default radio style.
|
|
559
|
+
* Default: false.
|
|
560
|
+
*/
|
|
561
|
+
useCheckmarkStyle?: boolean;
|
|
562
|
+
/**
|
|
563
|
+
* Color used when this radio is selected.
|
|
564
|
+
* Hex string '#RRGGBB' or '#AARRGGBB', or any CSS color supported by WebF.
|
|
565
|
+
*/
|
|
566
|
+
activeColor?: string;
|
|
567
|
+
/**
|
|
568
|
+
* Color used when this radio is not selected.
|
|
569
|
+
* Hex string '#RRGGBB' or '#AARRGGBB', or any CSS color supported by WebF.
|
|
570
|
+
*/
|
|
571
|
+
inactiveColor?: string;
|
|
572
|
+
/**
|
|
573
|
+
* Inner fill color when selected.
|
|
574
|
+
* Hex string '#RRGGBB' or '#AARRGGBB', or any CSS color supported by WebF.
|
|
575
|
+
*/
|
|
576
|
+
fillColor?: string;
|
|
577
|
+
/**
|
|
578
|
+
* Focus highlight color.
|
|
579
|
+
* Hex string '#RRGGBB' or '#AARRGGBB', or any CSS color supported by WebF.
|
|
580
|
+
*/
|
|
581
|
+
focusColor?: string;
|
|
582
|
+
/**
|
|
583
|
+
* Whether this radio should focus itself if nothing else is focused.
|
|
584
|
+
* Default: false.
|
|
585
|
+
*/
|
|
586
|
+
autofocus?: boolean;
|
|
587
|
+
/**
|
|
588
|
+
* Fired when this radio is selected or deselected.
|
|
589
|
+
* detail = the new group value (string); when `toggleable` is true and
|
|
590
|
+
* the selection is cleared, detail is the empty string ''.
|
|
591
|
+
*/
|
|
592
|
+
onChange?: (event: CustomEvent<string>) => void;
|
|
593
|
+
/**
|
|
594
|
+
* HTML id attribute
|
|
595
|
+
*/
|
|
596
|
+
id?: string;
|
|
597
|
+
/**
|
|
598
|
+
* Additional CSS styles
|
|
599
|
+
*/
|
|
600
|
+
style?: React.CSSProperties;
|
|
601
|
+
/**
|
|
602
|
+
* Children elements
|
|
603
|
+
*/
|
|
604
|
+
children?: React.ReactNode;
|
|
605
|
+
/**
|
|
606
|
+
* Additional CSS class names
|
|
607
|
+
*/
|
|
608
|
+
className?: string;
|
|
609
|
+
}
|
|
610
|
+
interface FlutterCupertinoRadioElement extends WebFElementWithMethods<{}> {
|
|
611
|
+
}
|
|
612
|
+
/**
|
|
613
|
+
* Properties for <flutter-cupertino-radio>
|
|
614
|
+
macOS-style radio button.
|
|
615
|
+
*
|
|
616
|
+
* @example
|
|
617
|
+
* ```tsx
|
|
618
|
+
*
|
|
619
|
+
* <FlutterCupertinoRadio
|
|
620
|
+
* // Add props here
|
|
621
|
+
* >
|
|
622
|
+
* Content
|
|
623
|
+
* </FlutterCupertinoRadio>
|
|
624
|
+
* ```
|
|
625
|
+
*/
|
|
626
|
+
declare const FlutterCupertinoRadio: React.ForwardRefExoticComponent<FlutterCupertinoRadioProps & {
|
|
627
|
+
className?: string;
|
|
628
|
+
style?: React.CSSProperties;
|
|
629
|
+
children?: React.ReactNode;
|
|
630
|
+
} & React.RefAttributes<FlutterCupertinoRadioElement>>;
|
|
631
|
+
|
|
535
632
|
interface FlutterCupertinoListSectionProps {
|
|
536
633
|
/**
|
|
537
634
|
* Whether to use the inset grouped style (iOS Settings-style sections).
|
|
@@ -3072,79 +3169,6 @@ declare const FlutterCupertinoSearchInput: React.ForwardRefExoticComponent<Flutt
|
|
|
3072
3169
|
children?: React.ReactNode;
|
|
3073
3170
|
} & React.RefAttributes<FlutterCupertinoSearchInputElement>>;
|
|
3074
3171
|
|
|
3075
|
-
interface FlutterCupertinoRadioProps {
|
|
3076
|
-
/**
|
|
3077
|
-
* val property
|
|
3078
|
-
* @default undefined
|
|
3079
|
-
*/
|
|
3080
|
-
val?: string;
|
|
3081
|
-
/**
|
|
3082
|
-
* groupValue property
|
|
3083
|
-
* @default undefined
|
|
3084
|
-
*/
|
|
3085
|
-
groupValue?: string;
|
|
3086
|
-
/**
|
|
3087
|
-
* useCheckmarkStyle property
|
|
3088
|
-
* @default undefined
|
|
3089
|
-
*/
|
|
3090
|
-
useCheckmarkStyle?: boolean;
|
|
3091
|
-
/**
|
|
3092
|
-
* disabled property
|
|
3093
|
-
* @default undefined
|
|
3094
|
-
*/
|
|
3095
|
-
disabled?: boolean;
|
|
3096
|
-
/**
|
|
3097
|
-
* activeColor property
|
|
3098
|
-
* @default undefined
|
|
3099
|
-
*/
|
|
3100
|
-
activeColor?: string;
|
|
3101
|
-
/**
|
|
3102
|
-
* focusColor property
|
|
3103
|
-
* @default undefined
|
|
3104
|
-
*/
|
|
3105
|
-
focusColor?: string;
|
|
3106
|
-
/**
|
|
3107
|
-
* change event handler
|
|
3108
|
-
*/
|
|
3109
|
-
onChange?: (event: CustomEvent<string>) => void;
|
|
3110
|
-
/**
|
|
3111
|
-
* HTML id attribute
|
|
3112
|
-
*/
|
|
3113
|
-
id?: string;
|
|
3114
|
-
/**
|
|
3115
|
-
* Additional CSS styles
|
|
3116
|
-
*/
|
|
3117
|
-
style?: React.CSSProperties;
|
|
3118
|
-
/**
|
|
3119
|
-
* Children elements
|
|
3120
|
-
*/
|
|
3121
|
-
children?: React.ReactNode;
|
|
3122
|
-
/**
|
|
3123
|
-
* Additional CSS class names
|
|
3124
|
-
*/
|
|
3125
|
-
className?: string;
|
|
3126
|
-
}
|
|
3127
|
-
interface FlutterCupertinoRadioElement extends WebFElementWithMethods<{}> {
|
|
3128
|
-
}
|
|
3129
|
-
/**
|
|
3130
|
-
* FlutterCupertinoRadio - WebF FlutterCupertinoRadio component
|
|
3131
|
-
*
|
|
3132
|
-
* @example
|
|
3133
|
-
* ```tsx
|
|
3134
|
-
*
|
|
3135
|
-
* <FlutterCupertinoRadio
|
|
3136
|
-
* // Add props here
|
|
3137
|
-
* >
|
|
3138
|
-
* Content
|
|
3139
|
-
* </FlutterCupertinoRadio>
|
|
3140
|
-
* ```
|
|
3141
|
-
*/
|
|
3142
|
-
declare const FlutterCupertinoRadio: React.ForwardRefExoticComponent<FlutterCupertinoRadioProps & {
|
|
3143
|
-
className?: string;
|
|
3144
|
-
style?: React.CSSProperties;
|
|
3145
|
-
children?: React.ReactNode;
|
|
3146
|
-
} & React.RefAttributes<FlutterCupertinoRadioElement>>;
|
|
3147
|
-
|
|
3148
3172
|
interface FlutterCupertinoPickerProps {
|
|
3149
3173
|
/**
|
|
3150
3174
|
* height property
|
package/dist/index.d.ts
CHANGED
|
@@ -532,6 +532,103 @@ declare const FlutterCupertinoSlider: React.ForwardRefExoticComponent<FlutterCup
|
|
|
532
532
|
children?: React.ReactNode;
|
|
533
533
|
} & React.RefAttributes<FlutterCupertinoSliderElement>>;
|
|
534
534
|
|
|
535
|
+
interface FlutterCupertinoRadioProps {
|
|
536
|
+
/**
|
|
537
|
+
* Value represented by this radio button.
|
|
538
|
+
* When it matches `group-value`, the radio is selected.
|
|
539
|
+
*/
|
|
540
|
+
val?: string;
|
|
541
|
+
/**
|
|
542
|
+
* Currently selected value for the radio group.
|
|
543
|
+
* When equal to `val`, this radio appears selected.
|
|
544
|
+
*/
|
|
545
|
+
groupValue?: string;
|
|
546
|
+
/**
|
|
547
|
+
* Whether the radio is disabled.
|
|
548
|
+
* When true, the control is non-interactive and dimmed.
|
|
549
|
+
*/
|
|
550
|
+
disabled?: boolean;
|
|
551
|
+
/**
|
|
552
|
+
* Whether this radio can be toggled off by tapping it again when selected.
|
|
553
|
+
* When true, on change the group value may be cleared.
|
|
554
|
+
* Default: false.
|
|
555
|
+
*/
|
|
556
|
+
toggleable?: boolean;
|
|
557
|
+
/**
|
|
558
|
+
* When true, renders in a checkmark style instead of the default radio style.
|
|
559
|
+
* Default: false.
|
|
560
|
+
*/
|
|
561
|
+
useCheckmarkStyle?: boolean;
|
|
562
|
+
/**
|
|
563
|
+
* Color used when this radio is selected.
|
|
564
|
+
* Hex string '#RRGGBB' or '#AARRGGBB', or any CSS color supported by WebF.
|
|
565
|
+
*/
|
|
566
|
+
activeColor?: string;
|
|
567
|
+
/**
|
|
568
|
+
* Color used when this radio is not selected.
|
|
569
|
+
* Hex string '#RRGGBB' or '#AARRGGBB', or any CSS color supported by WebF.
|
|
570
|
+
*/
|
|
571
|
+
inactiveColor?: string;
|
|
572
|
+
/**
|
|
573
|
+
* Inner fill color when selected.
|
|
574
|
+
* Hex string '#RRGGBB' or '#AARRGGBB', or any CSS color supported by WebF.
|
|
575
|
+
*/
|
|
576
|
+
fillColor?: string;
|
|
577
|
+
/**
|
|
578
|
+
* Focus highlight color.
|
|
579
|
+
* Hex string '#RRGGBB' or '#AARRGGBB', or any CSS color supported by WebF.
|
|
580
|
+
*/
|
|
581
|
+
focusColor?: string;
|
|
582
|
+
/**
|
|
583
|
+
* Whether this radio should focus itself if nothing else is focused.
|
|
584
|
+
* Default: false.
|
|
585
|
+
*/
|
|
586
|
+
autofocus?: boolean;
|
|
587
|
+
/**
|
|
588
|
+
* Fired when this radio is selected or deselected.
|
|
589
|
+
* detail = the new group value (string); when `toggleable` is true and
|
|
590
|
+
* the selection is cleared, detail is the empty string ''.
|
|
591
|
+
*/
|
|
592
|
+
onChange?: (event: CustomEvent<string>) => void;
|
|
593
|
+
/**
|
|
594
|
+
* HTML id attribute
|
|
595
|
+
*/
|
|
596
|
+
id?: string;
|
|
597
|
+
/**
|
|
598
|
+
* Additional CSS styles
|
|
599
|
+
*/
|
|
600
|
+
style?: React.CSSProperties;
|
|
601
|
+
/**
|
|
602
|
+
* Children elements
|
|
603
|
+
*/
|
|
604
|
+
children?: React.ReactNode;
|
|
605
|
+
/**
|
|
606
|
+
* Additional CSS class names
|
|
607
|
+
*/
|
|
608
|
+
className?: string;
|
|
609
|
+
}
|
|
610
|
+
interface FlutterCupertinoRadioElement extends WebFElementWithMethods<{}> {
|
|
611
|
+
}
|
|
612
|
+
/**
|
|
613
|
+
* Properties for <flutter-cupertino-radio>
|
|
614
|
+
macOS-style radio button.
|
|
615
|
+
*
|
|
616
|
+
* @example
|
|
617
|
+
* ```tsx
|
|
618
|
+
*
|
|
619
|
+
* <FlutterCupertinoRadio
|
|
620
|
+
* // Add props here
|
|
621
|
+
* >
|
|
622
|
+
* Content
|
|
623
|
+
* </FlutterCupertinoRadio>
|
|
624
|
+
* ```
|
|
625
|
+
*/
|
|
626
|
+
declare const FlutterCupertinoRadio: React.ForwardRefExoticComponent<FlutterCupertinoRadioProps & {
|
|
627
|
+
className?: string;
|
|
628
|
+
style?: React.CSSProperties;
|
|
629
|
+
children?: React.ReactNode;
|
|
630
|
+
} & React.RefAttributes<FlutterCupertinoRadioElement>>;
|
|
631
|
+
|
|
535
632
|
interface FlutterCupertinoListSectionProps {
|
|
536
633
|
/**
|
|
537
634
|
* Whether to use the inset grouped style (iOS Settings-style sections).
|
|
@@ -3072,79 +3169,6 @@ declare const FlutterCupertinoSearchInput: React.ForwardRefExoticComponent<Flutt
|
|
|
3072
3169
|
children?: React.ReactNode;
|
|
3073
3170
|
} & React.RefAttributes<FlutterCupertinoSearchInputElement>>;
|
|
3074
3171
|
|
|
3075
|
-
interface FlutterCupertinoRadioProps {
|
|
3076
|
-
/**
|
|
3077
|
-
* val property
|
|
3078
|
-
* @default undefined
|
|
3079
|
-
*/
|
|
3080
|
-
val?: string;
|
|
3081
|
-
/**
|
|
3082
|
-
* groupValue property
|
|
3083
|
-
* @default undefined
|
|
3084
|
-
*/
|
|
3085
|
-
groupValue?: string;
|
|
3086
|
-
/**
|
|
3087
|
-
* useCheckmarkStyle property
|
|
3088
|
-
* @default undefined
|
|
3089
|
-
*/
|
|
3090
|
-
useCheckmarkStyle?: boolean;
|
|
3091
|
-
/**
|
|
3092
|
-
* disabled property
|
|
3093
|
-
* @default undefined
|
|
3094
|
-
*/
|
|
3095
|
-
disabled?: boolean;
|
|
3096
|
-
/**
|
|
3097
|
-
* activeColor property
|
|
3098
|
-
* @default undefined
|
|
3099
|
-
*/
|
|
3100
|
-
activeColor?: string;
|
|
3101
|
-
/**
|
|
3102
|
-
* focusColor property
|
|
3103
|
-
* @default undefined
|
|
3104
|
-
*/
|
|
3105
|
-
focusColor?: string;
|
|
3106
|
-
/**
|
|
3107
|
-
* change event handler
|
|
3108
|
-
*/
|
|
3109
|
-
onChange?: (event: CustomEvent<string>) => void;
|
|
3110
|
-
/**
|
|
3111
|
-
* HTML id attribute
|
|
3112
|
-
*/
|
|
3113
|
-
id?: string;
|
|
3114
|
-
/**
|
|
3115
|
-
* Additional CSS styles
|
|
3116
|
-
*/
|
|
3117
|
-
style?: React.CSSProperties;
|
|
3118
|
-
/**
|
|
3119
|
-
* Children elements
|
|
3120
|
-
*/
|
|
3121
|
-
children?: React.ReactNode;
|
|
3122
|
-
/**
|
|
3123
|
-
* Additional CSS class names
|
|
3124
|
-
*/
|
|
3125
|
-
className?: string;
|
|
3126
|
-
}
|
|
3127
|
-
interface FlutterCupertinoRadioElement extends WebFElementWithMethods<{}> {
|
|
3128
|
-
}
|
|
3129
|
-
/**
|
|
3130
|
-
* FlutterCupertinoRadio - WebF FlutterCupertinoRadio component
|
|
3131
|
-
*
|
|
3132
|
-
* @example
|
|
3133
|
-
* ```tsx
|
|
3134
|
-
*
|
|
3135
|
-
* <FlutterCupertinoRadio
|
|
3136
|
-
* // Add props here
|
|
3137
|
-
* >
|
|
3138
|
-
* Content
|
|
3139
|
-
* </FlutterCupertinoRadio>
|
|
3140
|
-
* ```
|
|
3141
|
-
*/
|
|
3142
|
-
declare const FlutterCupertinoRadio: React.ForwardRefExoticComponent<FlutterCupertinoRadioProps & {
|
|
3143
|
-
className?: string;
|
|
3144
|
-
style?: React.CSSProperties;
|
|
3145
|
-
children?: React.ReactNode;
|
|
3146
|
-
} & React.RefAttributes<FlutterCupertinoRadioElement>>;
|
|
3147
|
-
|
|
3148
3172
|
interface FlutterCupertinoPickerProps {
|
|
3149
3173
|
/**
|
|
3150
3174
|
* height property
|
package/dist/index.js
CHANGED
|
@@ -325,9 +325,52 @@ var FlutterCupertinoSlider = (0, import_react_core_ui7.createWebFComponent)({
|
|
|
325
325
|
}
|
|
326
326
|
});
|
|
327
327
|
|
|
328
|
-
// src/lib/src/
|
|
328
|
+
// src/lib/src/radio.tsx
|
|
329
329
|
var import_react_core_ui8 = require("@openwebf/react-core-ui");
|
|
330
|
-
var
|
|
330
|
+
var FlutterCupertinoRadio = (0, import_react_core_ui8.createWebFComponent)({
|
|
331
|
+
tagName: "flutter-cupertino-radio",
|
|
332
|
+
displayName: "FlutterCupertinoRadio",
|
|
333
|
+
// Map props to attributes
|
|
334
|
+
attributeProps: [
|
|
335
|
+
"val",
|
|
336
|
+
"groupValue",
|
|
337
|
+
"disabled",
|
|
338
|
+
"toggleable",
|
|
339
|
+
"useCheckmarkStyle",
|
|
340
|
+
"activeColor",
|
|
341
|
+
"inactiveColor",
|
|
342
|
+
"fillColor",
|
|
343
|
+
"focusColor",
|
|
344
|
+
"autofocus"
|
|
345
|
+
],
|
|
346
|
+
// Convert prop names to attribute names if needed
|
|
347
|
+
attributeMap: {
|
|
348
|
+
groupValue: "group-value",
|
|
349
|
+
useCheckmarkStyle: "use-checkmark-style",
|
|
350
|
+
activeColor: "active-color",
|
|
351
|
+
inactiveColor: "inactive-color",
|
|
352
|
+
fillColor: "fill-color",
|
|
353
|
+
focusColor: "focus-color"
|
|
354
|
+
},
|
|
355
|
+
// Event handlers
|
|
356
|
+
events: [
|
|
357
|
+
{
|
|
358
|
+
propName: "onChange",
|
|
359
|
+
eventName: "change",
|
|
360
|
+
handler: (callback) => (event) => {
|
|
361
|
+
callback(event);
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
],
|
|
365
|
+
// Default prop values
|
|
366
|
+
defaultProps: {
|
|
367
|
+
// Add default values here
|
|
368
|
+
}
|
|
369
|
+
});
|
|
370
|
+
|
|
371
|
+
// src/lib/src/list_section.tsx
|
|
372
|
+
var import_react_core_ui9 = require("@openwebf/react-core-ui");
|
|
373
|
+
var FlutterCupertinoListSection = (0, import_react_core_ui9.createWebFComponent)({
|
|
331
374
|
tagName: "flutter-cupertino-list-section",
|
|
332
375
|
displayName: "FlutterCupertinoListSection",
|
|
333
376
|
// Map props to attributes
|
|
@@ -345,7 +388,7 @@ var FlutterCupertinoListSection = (0, import_react_core_ui8.createWebFComponent)
|
|
|
345
388
|
// Add default values here
|
|
346
389
|
}
|
|
347
390
|
});
|
|
348
|
-
var FlutterCupertinoListSectionHeader = (0,
|
|
391
|
+
var FlutterCupertinoListSectionHeader = (0, import_react_core_ui9.createWebFComponent)({
|
|
349
392
|
tagName: "flutter-cupertino-list-section-header",
|
|
350
393
|
displayName: "FlutterCupertinoListSectionHeader",
|
|
351
394
|
// Map props to attributes
|
|
@@ -359,7 +402,7 @@ var FlutterCupertinoListSectionHeader = (0, import_react_core_ui8.createWebFComp
|
|
|
359
402
|
// Add default values here
|
|
360
403
|
}
|
|
361
404
|
});
|
|
362
|
-
var FlutterCupertinoListSectionFooter = (0,
|
|
405
|
+
var FlutterCupertinoListSectionFooter = (0, import_react_core_ui9.createWebFComponent)({
|
|
363
406
|
tagName: "flutter-cupertino-list-section-footer",
|
|
364
407
|
displayName: "FlutterCupertinoListSectionFooter",
|
|
365
408
|
// Map props to attributes
|
|
@@ -375,8 +418,8 @@ var FlutterCupertinoListSectionFooter = (0, import_react_core_ui8.createWebFComp
|
|
|
375
418
|
});
|
|
376
419
|
|
|
377
420
|
// src/lib/src/icon.tsx
|
|
378
|
-
var
|
|
379
|
-
var FlutterCupertinoIcon = (0,
|
|
421
|
+
var import_react_core_ui10 = require("@openwebf/react-core-ui");
|
|
422
|
+
var FlutterCupertinoIcon = (0, import_react_core_ui10.createWebFComponent)({
|
|
380
423
|
tagName: "flutter-cupertino-icon",
|
|
381
424
|
displayName: "FlutterCupertinoIcon",
|
|
382
425
|
// Map props to attributes
|
|
@@ -393,8 +436,8 @@ var FlutterCupertinoIcon = (0, import_react_core_ui9.createWebFComponent)({
|
|
|
393
436
|
});
|
|
394
437
|
|
|
395
438
|
// src/lib/src/context-menu.tsx
|
|
396
|
-
var
|
|
397
|
-
var FlutterCupertinoContextMenu = (0,
|
|
439
|
+
var import_react_core_ui11 = require("@openwebf/react-core-ui");
|
|
440
|
+
var FlutterCupertinoContextMenu = (0, import_react_core_ui11.createWebFComponent)({
|
|
398
441
|
tagName: "flutter-cupertino-context-menu",
|
|
399
442
|
displayName: "FlutterCupertinoContextMenu",
|
|
400
443
|
// Map props to attributes
|
|
@@ -422,8 +465,8 @@ var FlutterCupertinoContextMenu = (0, import_react_core_ui10.createWebFComponent
|
|
|
422
465
|
});
|
|
423
466
|
|
|
424
467
|
// src/lib/src/checkbox.tsx
|
|
425
|
-
var
|
|
426
|
-
var FlutterCupertinoCheckbox = (0,
|
|
468
|
+
var import_react_core_ui12 = require("@openwebf/react-core-ui");
|
|
469
|
+
var FlutterCupertinoCheckbox = (0, import_react_core_ui12.createWebFComponent)({
|
|
427
470
|
tagName: "flutter-cupertino-checkbox",
|
|
428
471
|
displayName: "FlutterCupertinoCheckbox",
|
|
429
472
|
// Map props to attributes
|
|
@@ -472,8 +515,8 @@ var FlutterCupertinoCheckbox = (0, import_react_core_ui11.createWebFComponent)({
|
|
|
472
515
|
});
|
|
473
516
|
|
|
474
517
|
// src/lib/src/button.tsx
|
|
475
|
-
var
|
|
476
|
-
var FlutterCupertinoButton = (0,
|
|
518
|
+
var import_react_core_ui13 = require("@openwebf/react-core-ui");
|
|
519
|
+
var FlutterCupertinoButton = (0, import_react_core_ui13.createWebFComponent)({
|
|
477
520
|
tagName: "flutter-cupertino-button",
|
|
478
521
|
displayName: "FlutterCupertinoButton",
|
|
479
522
|
// Map props to attributes
|
|
@@ -506,8 +549,8 @@ var FlutterCupertinoButton = (0, import_react_core_ui12.createWebFComponent)({
|
|
|
506
549
|
});
|
|
507
550
|
|
|
508
551
|
// src/lib/src/alert.tsx
|
|
509
|
-
var
|
|
510
|
-
var FlutterCupertinoAlert = (0,
|
|
552
|
+
var import_react_core_ui14 = require("@openwebf/react-core-ui");
|
|
553
|
+
var FlutterCupertinoAlert = (0, import_react_core_ui14.createWebFComponent)({
|
|
511
554
|
tagName: "flutter-cupertino-alert",
|
|
512
555
|
displayName: "FlutterCupertinoAlert",
|
|
513
556
|
// Map props to attributes
|
|
@@ -558,8 +601,8 @@ var FlutterCupertinoAlert = (0, import_react_core_ui13.createWebFComponent)({
|
|
|
558
601
|
});
|
|
559
602
|
|
|
560
603
|
// src/lib/src/action-sheet.tsx
|
|
561
|
-
var
|
|
562
|
-
var FlutterCupertinoActionSheet = (0,
|
|
604
|
+
var import_react_core_ui15 = require("@openwebf/react-core-ui");
|
|
605
|
+
var FlutterCupertinoActionSheet = (0, import_react_core_ui15.createWebFComponent)({
|
|
563
606
|
tagName: "flutter-cupertino-action-sheet",
|
|
564
607
|
displayName: "FlutterCupertinoActionSheet",
|
|
565
608
|
// Map props to attributes
|
|
@@ -583,8 +626,8 @@ var FlutterCupertinoActionSheet = (0, import_react_core_ui14.createWebFComponent
|
|
|
583
626
|
});
|
|
584
627
|
|
|
585
628
|
// src/lib/src/legacy/toast.tsx
|
|
586
|
-
var
|
|
587
|
-
var FlutterCupertinoToast = (0,
|
|
629
|
+
var import_react_core_ui16 = require("@openwebf/react-core-ui");
|
|
630
|
+
var FlutterCupertinoToast = (0, import_react_core_ui16.createWebFComponent)({
|
|
588
631
|
tagName: "flutter-cupertino-toast",
|
|
589
632
|
displayName: "FlutterCupertinoToast",
|
|
590
633
|
// Map props to attributes
|
|
@@ -600,8 +643,8 @@ var FlutterCupertinoToast = (0, import_react_core_ui15.createWebFComponent)({
|
|
|
600
643
|
});
|
|
601
644
|
|
|
602
645
|
// src/lib/src/legacy/timer-picker.tsx
|
|
603
|
-
var
|
|
604
|
-
var FlutterCupertinoTimerPicker = (0,
|
|
646
|
+
var import_react_core_ui17 = require("@openwebf/react-core-ui");
|
|
647
|
+
var FlutterCupertinoTimerPicker = (0, import_react_core_ui17.createWebFComponent)({
|
|
605
648
|
tagName: "flutter-cupertino-timer-picker",
|
|
606
649
|
displayName: "FlutterCupertinoTimerPicker",
|
|
607
650
|
// Map props to attributes
|
|
@@ -637,8 +680,8 @@ var FlutterCupertinoTimerPicker = (0, import_react_core_ui16.createWebFComponent
|
|
|
637
680
|
});
|
|
638
681
|
|
|
639
682
|
// src/lib/src/legacy/textarea.tsx
|
|
640
|
-
var
|
|
641
|
-
var FlutterCupertinoTextarea = (0,
|
|
683
|
+
var import_react_core_ui18 = require("@openwebf/react-core-ui");
|
|
684
|
+
var FlutterCupertinoTextarea = (0, import_react_core_ui18.createWebFComponent)({
|
|
642
685
|
tagName: "flutter-cupertino-textarea",
|
|
643
686
|
displayName: "FlutterCupertinoTextarea",
|
|
644
687
|
// Map props to attributes
|
|
@@ -683,8 +726,8 @@ var FlutterCupertinoTextarea = (0, import_react_core_ui17.createWebFComponent)({
|
|
|
683
726
|
});
|
|
684
727
|
|
|
685
728
|
// src/lib/src/legacy/segmented-tab.tsx
|
|
686
|
-
var
|
|
687
|
-
var FlutterCupertinoSegmentedTab = (0,
|
|
729
|
+
var import_react_core_ui19 = require("@openwebf/react-core-ui");
|
|
730
|
+
var FlutterCupertinoSegmentedTab = (0, import_react_core_ui19.createWebFComponent)({
|
|
688
731
|
tagName: "flutter-cupertino-segmented-tab",
|
|
689
732
|
displayName: "FlutterCupertinoSegmentedTab",
|
|
690
733
|
// Map props to attributes
|
|
@@ -706,7 +749,7 @@ var FlutterCupertinoSegmentedTab = (0, import_react_core_ui18.createWebFComponen
|
|
|
706
749
|
// Add default values here
|
|
707
750
|
}
|
|
708
751
|
});
|
|
709
|
-
var FlutterCupertinoSegmentedTabItem = (0,
|
|
752
|
+
var FlutterCupertinoSegmentedTabItem = (0, import_react_core_ui19.createWebFComponent)({
|
|
710
753
|
tagName: "flutter-cupertino-segmented-tab-item",
|
|
711
754
|
displayName: "FlutterCupertinoSegmentedTabItem",
|
|
712
755
|
// Map props to attributes
|
|
@@ -724,8 +767,8 @@ var FlutterCupertinoSegmentedTabItem = (0, import_react_core_ui18.createWebFComp
|
|
|
724
767
|
});
|
|
725
768
|
|
|
726
769
|
// src/lib/src/legacy/search-input.tsx
|
|
727
|
-
var
|
|
728
|
-
var FlutterCupertinoSearchInput = (0,
|
|
770
|
+
var import_react_core_ui20 = require("@openwebf/react-core-ui");
|
|
771
|
+
var FlutterCupertinoSearchInput = (0, import_react_core_ui20.createWebFComponent)({
|
|
729
772
|
tagName: "flutter-cupertino-search-input",
|
|
730
773
|
displayName: "FlutterCupertinoSearchInput",
|
|
731
774
|
// Map props to attributes
|
|
@@ -779,43 +822,6 @@ var FlutterCupertinoSearchInput = (0, import_react_core_ui19.createWebFComponent
|
|
|
779
822
|
}
|
|
780
823
|
});
|
|
781
824
|
|
|
782
|
-
// src/lib/src/legacy/radio.tsx
|
|
783
|
-
var import_react_core_ui20 = require("@openwebf/react-core-ui");
|
|
784
|
-
var FlutterCupertinoRadio = (0, import_react_core_ui20.createWebFComponent)({
|
|
785
|
-
tagName: "flutter-cupertino-radio",
|
|
786
|
-
displayName: "FlutterCupertinoRadio",
|
|
787
|
-
// Map props to attributes
|
|
788
|
-
attributeProps: [
|
|
789
|
-
"val",
|
|
790
|
-
"groupValue",
|
|
791
|
-
"useCheckmarkStyle",
|
|
792
|
-
"disabled",
|
|
793
|
-
"activeColor",
|
|
794
|
-
"focusColor"
|
|
795
|
-
],
|
|
796
|
-
// Convert prop names to attribute names if needed
|
|
797
|
-
attributeMap: {
|
|
798
|
-
groupValue: "group-value",
|
|
799
|
-
useCheckmarkStyle: "use-checkmark-style",
|
|
800
|
-
activeColor: "active-color",
|
|
801
|
-
focusColor: "focus-color"
|
|
802
|
-
},
|
|
803
|
-
// Event handlers
|
|
804
|
-
events: [
|
|
805
|
-
{
|
|
806
|
-
propName: "onChange",
|
|
807
|
-
eventName: "change",
|
|
808
|
-
handler: (callback) => (event) => {
|
|
809
|
-
callback(event);
|
|
810
|
-
}
|
|
811
|
-
}
|
|
812
|
-
],
|
|
813
|
-
// Default prop values
|
|
814
|
-
defaultProps: {
|
|
815
|
-
// Add default values here
|
|
816
|
-
}
|
|
817
|
-
});
|
|
818
|
-
|
|
819
825
|
// src/lib/src/legacy/picker.tsx
|
|
820
826
|
var import_react_core_ui21 = require("@openwebf/react-core-ui");
|
|
821
827
|
var FlutterCupertinoPicker = (0, import_react_core_ui21.createWebFComponent)({
|