@openwebf/react-cupertino-ui 0.3.34 → 0.4.1
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/README.md +207 -0
- package/dist/index.d.mts +115 -1
- package/dist/index.d.ts +115 -1
- package/dist/index.js +55 -10
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +54 -10
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -6
package/dist/index.mjs
CHANGED
|
@@ -703,9 +703,52 @@ var FlutterCupertinoFormRow = createWebFComponent16({
|
|
|
703
703
|
}
|
|
704
704
|
});
|
|
705
705
|
|
|
706
|
-
// src/lib/src/
|
|
706
|
+
// src/lib/src/date-picker.tsx
|
|
707
707
|
import { createWebFComponent as createWebFComponent17 } from "@openwebf/react-core-ui";
|
|
708
|
-
var
|
|
708
|
+
var FlutterCupertinoDatePicker = createWebFComponent17({
|
|
709
|
+
tagName: "flutter-cupertino-date-picker",
|
|
710
|
+
displayName: "FlutterCupertinoDatePicker",
|
|
711
|
+
// Map props to attributes
|
|
712
|
+
attributeProps: [
|
|
713
|
+
"mode",
|
|
714
|
+
"minimumDate",
|
|
715
|
+
"maximumDate",
|
|
716
|
+
"minimumYear",
|
|
717
|
+
"maximumYear",
|
|
718
|
+
"minuteInterval",
|
|
719
|
+
"use24H",
|
|
720
|
+
"showDayOfWeek",
|
|
721
|
+
"value"
|
|
722
|
+
],
|
|
723
|
+
// Convert prop names to attribute names if needed
|
|
724
|
+
attributeMap: {
|
|
725
|
+
minimumDate: "minimum-date",
|
|
726
|
+
maximumDate: "maximum-date",
|
|
727
|
+
minimumYear: "minimum-year",
|
|
728
|
+
maximumYear: "maximum-year",
|
|
729
|
+
minuteInterval: "minute-interval",
|
|
730
|
+
use24H: "use-24-h",
|
|
731
|
+
showDayOfWeek: "show-day-of-week"
|
|
732
|
+
},
|
|
733
|
+
// Event handlers
|
|
734
|
+
events: [
|
|
735
|
+
{
|
|
736
|
+
propName: "onChange",
|
|
737
|
+
eventName: "change",
|
|
738
|
+
handler: (callback) => (event) => {
|
|
739
|
+
callback(event);
|
|
740
|
+
}
|
|
741
|
+
}
|
|
742
|
+
],
|
|
743
|
+
// Default prop values
|
|
744
|
+
defaultProps: {
|
|
745
|
+
// Add default values here
|
|
746
|
+
}
|
|
747
|
+
});
|
|
748
|
+
|
|
749
|
+
// src/lib/src/context-menu.tsx
|
|
750
|
+
import { createWebFComponent as createWebFComponent18 } from "@openwebf/react-core-ui";
|
|
751
|
+
var FlutterCupertinoContextMenu = createWebFComponent18({
|
|
709
752
|
tagName: "flutter-cupertino-context-menu",
|
|
710
753
|
displayName: "FlutterCupertinoContextMenu",
|
|
711
754
|
// Map props to attributes
|
|
@@ -733,8 +776,8 @@ var FlutterCupertinoContextMenu = createWebFComponent17({
|
|
|
733
776
|
});
|
|
734
777
|
|
|
735
778
|
// src/lib/src/checkbox.tsx
|
|
736
|
-
import { createWebFComponent as
|
|
737
|
-
var FlutterCupertinoCheckbox =
|
|
779
|
+
import { createWebFComponent as createWebFComponent19 } from "@openwebf/react-core-ui";
|
|
780
|
+
var FlutterCupertinoCheckbox = createWebFComponent19({
|
|
738
781
|
tagName: "flutter-cupertino-checkbox",
|
|
739
782
|
displayName: "FlutterCupertinoCheckbox",
|
|
740
783
|
// Map props to attributes
|
|
@@ -783,8 +826,8 @@ var FlutterCupertinoCheckbox = createWebFComponent18({
|
|
|
783
826
|
});
|
|
784
827
|
|
|
785
828
|
// src/lib/src/button.tsx
|
|
786
|
-
import { createWebFComponent as
|
|
787
|
-
var FlutterCupertinoButton =
|
|
829
|
+
import { createWebFComponent as createWebFComponent20 } from "@openwebf/react-core-ui";
|
|
830
|
+
var FlutterCupertinoButton = createWebFComponent20({
|
|
788
831
|
tagName: "flutter-cupertino-button",
|
|
789
832
|
displayName: "FlutterCupertinoButton",
|
|
790
833
|
// Map props to attributes
|
|
@@ -817,8 +860,8 @@ var FlutterCupertinoButton = createWebFComponent19({
|
|
|
817
860
|
});
|
|
818
861
|
|
|
819
862
|
// src/lib/src/alert.tsx
|
|
820
|
-
import { createWebFComponent as
|
|
821
|
-
var FlutterCupertinoAlert =
|
|
863
|
+
import { createWebFComponent as createWebFComponent21 } from "@openwebf/react-core-ui";
|
|
864
|
+
var FlutterCupertinoAlert = createWebFComponent21({
|
|
822
865
|
tagName: "flutter-cupertino-alert",
|
|
823
866
|
displayName: "FlutterCupertinoAlert",
|
|
824
867
|
// Map props to attributes
|
|
@@ -869,8 +912,8 @@ var FlutterCupertinoAlert = createWebFComponent20({
|
|
|
869
912
|
});
|
|
870
913
|
|
|
871
914
|
// src/lib/src/action-sheet.tsx
|
|
872
|
-
import { createWebFComponent as
|
|
873
|
-
var FlutterCupertinoActionSheet =
|
|
915
|
+
import { createWebFComponent as createWebFComponent22 } from "@openwebf/react-core-ui";
|
|
916
|
+
var FlutterCupertinoActionSheet = createWebFComponent22({
|
|
874
917
|
tagName: "flutter-cupertino-action-sheet",
|
|
875
918
|
displayName: "FlutterCupertinoActionSheet",
|
|
876
919
|
// Map props to attributes
|
|
@@ -2277,6 +2320,7 @@ export {
|
|
|
2277
2320
|
FlutterCupertinoButton,
|
|
2278
2321
|
FlutterCupertinoCheckbox,
|
|
2279
2322
|
FlutterCupertinoContextMenu,
|
|
2323
|
+
FlutterCupertinoDatePicker,
|
|
2280
2324
|
FlutterCupertinoFormRow,
|
|
2281
2325
|
FlutterCupertinoFormSection,
|
|
2282
2326
|
FlutterCupertinoIcon,
|