@openwebf/react-cupertino-ui 0.3.23 → 0.3.24

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.mjs CHANGED
@@ -303,8 +303,8 @@ var FlutterCupertinoListTile = createWebFComponent9({
303
303
  displayName: "FlutterCupertinoListTile",
304
304
  // Map props to attributes
305
305
  attributeProps: [
306
- "notched",
307
- "showChevron"
306
+ "showChevron",
307
+ "notched"
308
308
  ],
309
309
  // Convert prop names to attribute names if needed
310
310
  attributeMap: {
@@ -639,555 +639,6 @@ var FlutterCupertinoActionSheet = createWebFComponent16({
639
639
  }
640
640
  });
641
641
 
642
- // src/lib/src/legacy/toast.tsx
643
- import { createWebFComponent as createWebFComponent17 } from "@openwebf/react-core-ui";
644
- var FlutterCupertinoToast = createWebFComponent17({
645
- tagName: "flutter-cupertino-toast",
646
- displayName: "FlutterCupertinoToast",
647
- // Map props to attributes
648
- attributeProps: [],
649
- // Convert prop names to attribute names if needed
650
- attributeMap: {},
651
- // Event handlers
652
- events: [],
653
- // Default prop values
654
- defaultProps: {
655
- // Add default values here
656
- }
657
- });
658
-
659
- // src/lib/src/legacy/timer-picker.tsx
660
- import { createWebFComponent as createWebFComponent18 } from "@openwebf/react-core-ui";
661
- var FlutterCupertinoTimerPicker = createWebFComponent18({
662
- tagName: "flutter-cupertino-timer-picker",
663
- displayName: "FlutterCupertinoTimerPicker",
664
- // Map props to attributes
665
- attributeProps: [
666
- "mode",
667
- "initialTimerDuration",
668
- "minuteInterval",
669
- "secondInterval",
670
- "backgroundColor",
671
- "height"
672
- ],
673
- // Convert prop names to attribute names if needed
674
- attributeMap: {
675
- initialTimerDuration: "initial-timer-duration",
676
- minuteInterval: "minute-interval",
677
- secondInterval: "second-interval",
678
- backgroundColor: "background-color"
679
- },
680
- // Event handlers
681
- events: [
682
- {
683
- propName: "onChange",
684
- eventName: "change",
685
- handler: (callback) => (event) => {
686
- callback(event);
687
- }
688
- }
689
- ],
690
- // Default prop values
691
- defaultProps: {
692
- // Add default values here
693
- }
694
- });
695
-
696
- // src/lib/src/legacy/textarea.tsx
697
- import { createWebFComponent as createWebFComponent19 } from "@openwebf/react-core-ui";
698
- var FlutterCupertinoTextarea = createWebFComponent19({
699
- tagName: "flutter-cupertino-textarea",
700
- displayName: "FlutterCupertinoTextarea",
701
- // Map props to attributes
702
- attributeProps: [
703
- "val",
704
- "placeholder",
705
- "disabled",
706
- "readonly",
707
- "maxLength",
708
- "rows",
709
- "showCount",
710
- "autoSize",
711
- "transparent"
712
- ],
713
- // Convert prop names to attribute names if needed
714
- attributeMap: {
715
- maxLength: "max-length",
716
- showCount: "show-count",
717
- autoSize: "auto-size"
718
- },
719
- // Event handlers
720
- events: [
721
- {
722
- propName: "onInput",
723
- eventName: "input",
724
- handler: (callback) => (event) => {
725
- callback(event);
726
- }
727
- },
728
- {
729
- propName: "onComplete",
730
- eventName: "complete",
731
- handler: (callback) => (event) => {
732
- callback(event);
733
- }
734
- }
735
- ],
736
- // Default prop values
737
- defaultProps: {
738
- // Add default values here
739
- }
740
- });
741
-
742
- // src/lib/src/legacy/segmented-tab.tsx
743
- import { createWebFComponent as createWebFComponent20 } from "@openwebf/react-core-ui";
744
- var FlutterCupertinoSegmentedTab = createWebFComponent20({
745
- tagName: "flutter-cupertino-segmented-tab",
746
- displayName: "FlutterCupertinoSegmentedTab",
747
- // Map props to attributes
748
- attributeProps: [],
749
- // Convert prop names to attribute names if needed
750
- attributeMap: {},
751
- // Event handlers
752
- events: [
753
- {
754
- propName: "onChange",
755
- eventName: "change",
756
- handler: (callback) => (event) => {
757
- callback(event);
758
- }
759
- }
760
- ],
761
- // Default prop values
762
- defaultProps: {
763
- // Add default values here
764
- }
765
- });
766
- var FlutterCupertinoSegmentedTabItem = createWebFComponent20({
767
- tagName: "flutter-cupertino-segmented-tab-item",
768
- displayName: "FlutterCupertinoSegmentedTabItem",
769
- // Map props to attributes
770
- attributeProps: [
771
- "title"
772
- ],
773
- // Convert prop names to attribute names if needed
774
- attributeMap: {},
775
- // Event handlers
776
- events: [],
777
- // Default prop values
778
- defaultProps: {
779
- // Add default values here
780
- }
781
- });
782
-
783
- // src/lib/src/legacy/search-input.tsx
784
- import { createWebFComponent as createWebFComponent21 } from "@openwebf/react-core-ui";
785
- var FlutterCupertinoSearchInput = createWebFComponent21({
786
- tagName: "flutter-cupertino-search-input",
787
- displayName: "FlutterCupertinoSearchInput",
788
- // Map props to attributes
789
- attributeProps: [
790
- "val",
791
- "placeholder",
792
- "disabled",
793
- "type",
794
- "prefixIcon",
795
- "suffixIcon",
796
- "suffixModel",
797
- "itemColor",
798
- "itemSize",
799
- "autofocus"
800
- ],
801
- // Convert prop names to attribute names if needed
802
- attributeMap: {
803
- prefixIcon: "prefix-icon",
804
- suffixIcon: "suffix-icon",
805
- suffixModel: "suffix-model",
806
- itemColor: "item-color",
807
- itemSize: "item-size"
808
- },
809
- // Event handlers
810
- events: [
811
- {
812
- propName: "onInput",
813
- eventName: "input",
814
- handler: (callback) => (event) => {
815
- callback(event);
816
- }
817
- },
818
- {
819
- propName: "onSearch",
820
- eventName: "search",
821
- handler: (callback) => (event) => {
822
- callback(event);
823
- }
824
- },
825
- {
826
- propName: "onClear",
827
- eventName: "clear",
828
- handler: (callback) => (event) => {
829
- callback(event);
830
- }
831
- }
832
- ],
833
- // Default prop values
834
- defaultProps: {
835
- // Add default values here
836
- }
837
- });
838
-
839
- // src/lib/src/legacy/picker.tsx
840
- import { createWebFComponent as createWebFComponent22 } from "@openwebf/react-core-ui";
841
- var FlutterCupertinoPicker = createWebFComponent22({
842
- tagName: "flutter-cupertino-picker",
843
- displayName: "FlutterCupertinoPicker",
844
- // Map props to attributes
845
- attributeProps: [
846
- "height",
847
- "itemHeight"
848
- ],
849
- // Convert prop names to attribute names if needed
850
- attributeMap: {
851
- itemHeight: "item-height"
852
- },
853
- // Event handlers
854
- events: [
855
- {
856
- propName: "onChange",
857
- eventName: "change",
858
- handler: (callback) => (event) => {
859
- callback(event);
860
- }
861
- }
862
- ],
863
- // Default prop values
864
- defaultProps: {
865
- // Add default values here
866
- }
867
- });
868
-
869
- // src/lib/src/legacy/picker-item.tsx
870
- import { createWebFComponent as createWebFComponent23 } from "@openwebf/react-core-ui";
871
- var FlutterCupertinoPickerItem = createWebFComponent23({
872
- tagName: "flutter-cupertino-picker-item",
873
- displayName: "FlutterCupertinoPickerItem",
874
- // Map props to attributes
875
- attributeProps: [
876
- "label",
877
- "val"
878
- ],
879
- // Convert prop names to attribute names if needed
880
- attributeMap: {},
881
- // Event handlers
882
- events: [],
883
- // Default prop values
884
- defaultProps: {
885
- // Add default values here
886
- }
887
- });
888
-
889
- // src/lib/src/legacy/modal-popup.tsx
890
- import { createWebFComponent as createWebFComponent24 } from "@openwebf/react-core-ui";
891
- var FlutterCupertinoModalPopup = createWebFComponent24({
892
- tagName: "flutter-cupertino-modal-popup",
893
- displayName: "FlutterCupertinoModalPopup",
894
- // Map props to attributes
895
- attributeProps: [
896
- "visible",
897
- "height",
898
- "surfacePainted",
899
- "maskClosable",
900
- "backgroundOpacity"
901
- ],
902
- // Convert prop names to attribute names if needed
903
- attributeMap: {
904
- surfacePainted: "surface-painted",
905
- maskClosable: "mask-closable",
906
- backgroundOpacity: "background-opacity"
907
- },
908
- // Event handlers
909
- events: [
910
- {
911
- propName: "onClose",
912
- eventName: "close",
913
- handler: (callback) => (event) => {
914
- callback(event);
915
- }
916
- }
917
- ],
918
- // Default prop values
919
- defaultProps: {
920
- // Add default values here
921
- }
922
- });
923
-
924
- // src/lib/src/legacy/loading.tsx
925
- import { createWebFComponent as createWebFComponent25 } from "@openwebf/react-core-ui";
926
- var FlutterCupertinoLoading = createWebFComponent25({
927
- tagName: "flutter-cupertino-loading",
928
- displayName: "FlutterCupertinoLoading",
929
- // Map props to attributes
930
- attributeProps: [
931
- "maskClosable"
932
- ],
933
- // Convert prop names to attribute names if needed
934
- attributeMap: {
935
- maskClosable: "mask-closable"
936
- },
937
- // Event handlers
938
- events: [],
939
- // Default prop values
940
- defaultProps: {
941
- // Add default values here
942
- }
943
- });
944
-
945
- // src/lib/src/legacy/input.tsx
946
- import { createWebFComponent as createWebFComponent26 } from "@openwebf/react-core-ui";
947
- var FlutterCupertinoInput = createWebFComponent26({
948
- tagName: "flutter-cupertino-input",
949
- displayName: "FlutterCupertinoInput",
950
- // Map props to attributes
951
- attributeProps: [
952
- "val",
953
- "placeholder",
954
- "type",
955
- "disabled",
956
- "autofocus",
957
- "clearable",
958
- "maxlength",
959
- "readonly"
960
- ],
961
- // Convert prop names to attribute names if needed
962
- attributeMap: {},
963
- // Event handlers
964
- events: [
965
- {
966
- propName: "onInput",
967
- eventName: "input",
968
- handler: (callback) => (event) => {
969
- callback(event);
970
- }
971
- },
972
- {
973
- propName: "onSubmit",
974
- eventName: "submit",
975
- handler: (callback) => (event) => {
976
- callback(event);
977
- }
978
- },
979
- {
980
- propName: "onFocus",
981
- eventName: "focus",
982
- handler: (callback) => (event) => {
983
- callback(event);
984
- }
985
- },
986
- {
987
- propName: "onBlur",
988
- eventName: "blur",
989
- handler: (callback) => (event) => {
990
- callback(event);
991
- }
992
- },
993
- {
994
- propName: "onClear",
995
- eventName: "clear",
996
- handler: (callback) => (event) => {
997
- callback(event);
998
- }
999
- }
1000
- ],
1001
- // Default prop values
1002
- defaultProps: {
1003
- // Add default values here
1004
- }
1005
- });
1006
- var FlutterCupertinoInputPrefix = createWebFComponent26({
1007
- tagName: "flutter-cupertino-input-prefix",
1008
- displayName: "FlutterCupertinoInputPrefix",
1009
- // Map props to attributes
1010
- attributeProps: [],
1011
- // Convert prop names to attribute names if needed
1012
- attributeMap: {},
1013
- // Event handlers
1014
- events: [],
1015
- // Default prop values
1016
- defaultProps: {
1017
- // Add default values here
1018
- }
1019
- });
1020
- var FlutterCupertinoInputSuffix = createWebFComponent26({
1021
- tagName: "flutter-cupertino-input-suffix",
1022
- displayName: "FlutterCupertinoInputSuffix",
1023
- // Map props to attributes
1024
- attributeProps: [],
1025
- // Convert prop names to attribute names if needed
1026
- attributeMap: {},
1027
- // Event handlers
1028
- events: [],
1029
- // Default prop values
1030
- defaultProps: {
1031
- // Add default values here
1032
- }
1033
- });
1034
-
1035
- // src/lib/src/legacy/form_section.tsx
1036
- import { createWebFComponent as createWebFComponent27 } from "@openwebf/react-core-ui";
1037
- var FlutterCupertinoFormSection = createWebFComponent27({
1038
- tagName: "flutter-cupertino-form-section",
1039
- displayName: "FlutterCupertinoFormSection",
1040
- // Map props to attributes
1041
- attributeProps: [
1042
- "insetGrouped",
1043
- "clipBehavior"
1044
- ],
1045
- // Convert prop names to attribute names if needed
1046
- attributeMap: {
1047
- insetGrouped: "inset-grouped",
1048
- clipBehavior: "clip-behavior"
1049
- },
1050
- // Event handlers
1051
- events: [],
1052
- // Default prop values
1053
- defaultProps: {
1054
- // Add default values here
1055
- }
1056
- });
1057
- var FlutterCupertinoFormSectionHeader = createWebFComponent27({
1058
- tagName: "flutter-cupertino-form-section-header",
1059
- displayName: "FlutterCupertinoFormSectionHeader",
1060
- // Map props to attributes
1061
- attributeProps: [],
1062
- // Convert prop names to attribute names if needed
1063
- attributeMap: {},
1064
- // Event handlers
1065
- events: [],
1066
- // Default prop values
1067
- defaultProps: {
1068
- // Add default values here
1069
- }
1070
- });
1071
- var FlutterCupertinoFormSectionFooter = createWebFComponent27({
1072
- tagName: "flutter-cupertino-form-section-footer",
1073
- displayName: "FlutterCupertinoFormSectionFooter",
1074
- // Map props to attributes
1075
- attributeProps: [],
1076
- // Convert prop names to attribute names if needed
1077
- attributeMap: {},
1078
- // Event handlers
1079
- events: [],
1080
- // Default prop values
1081
- defaultProps: {
1082
- // Add default values here
1083
- }
1084
- });
1085
-
1086
- // src/lib/src/legacy/form_row.tsx
1087
- import { createWebFComponent as createWebFComponent28 } from "@openwebf/react-core-ui";
1088
- var FlutterCupertinoFormRow = createWebFComponent28({
1089
- tagName: "flutter-cupertino-form-row",
1090
- displayName: "FlutterCupertinoFormRow",
1091
- // Map props to attributes
1092
- attributeProps: [],
1093
- // Convert prop names to attribute names if needed
1094
- attributeMap: {},
1095
- // Event handlers
1096
- events: [],
1097
- // Default prop values
1098
- defaultProps: {
1099
- // Add default values here
1100
- }
1101
- });
1102
- var FlutterCupertinoFormRowPrefix = createWebFComponent28({
1103
- tagName: "flutter-cupertino-form-row-prefix",
1104
- displayName: "FlutterCupertinoFormRowPrefix",
1105
- // Map props to attributes
1106
- attributeProps: [],
1107
- // Convert prop names to attribute names if needed
1108
- attributeMap: {},
1109
- // Event handlers
1110
- events: [],
1111
- // Default prop values
1112
- defaultProps: {
1113
- // Add default values here
1114
- }
1115
- });
1116
- var FlutterCupertinoFormRowHelper = createWebFComponent28({
1117
- tagName: "flutter-cupertino-form-row-helper",
1118
- displayName: "FlutterCupertinoFormRowHelper",
1119
- // Map props to attributes
1120
- attributeProps: [],
1121
- // Convert prop names to attribute names if needed
1122
- attributeMap: {},
1123
- // Event handlers
1124
- events: [],
1125
- // Default prop values
1126
- defaultProps: {
1127
- // Add default values here
1128
- }
1129
- });
1130
- var FlutterCupertinoFormRowError = createWebFComponent28({
1131
- tagName: "flutter-cupertino-form-row-error",
1132
- displayName: "FlutterCupertinoFormRowError",
1133
- // Map props to attributes
1134
- attributeProps: [],
1135
- // Convert prop names to attribute names if needed
1136
- attributeMap: {},
1137
- // Event handlers
1138
- events: [],
1139
- // Default prop values
1140
- defaultProps: {
1141
- // Add default values here
1142
- }
1143
- });
1144
-
1145
- // src/lib/src/legacy/date-picker.tsx
1146
- import { createWebFComponent as createWebFComponent29 } from "@openwebf/react-core-ui";
1147
- var FlutterCupertinoDatePicker = createWebFComponent29({
1148
- tagName: "flutter-cupertino-date-picker",
1149
- displayName: "FlutterCupertinoDatePicker",
1150
- // Map props to attributes
1151
- attributeProps: [
1152
- "mode",
1153
- "minimumDate",
1154
- "maximumDate",
1155
- "minuteInterval",
1156
- "value",
1157
- "minimumYear",
1158
- "maximumYear",
1159
- "showDayOfWeek",
1160
- "dateOrder",
1161
- "height",
1162
- "use24H"
1163
- ],
1164
- // Convert prop names to attribute names if needed
1165
- attributeMap: {
1166
- minimumDate: "minimum-date",
1167
- maximumDate: "maximum-date",
1168
- minuteInterval: "minute-interval",
1169
- minimumYear: "minimum-year",
1170
- maximumYear: "maximum-year",
1171
- showDayOfWeek: "show-day-of-week",
1172
- dateOrder: "date-order",
1173
- use24H: "use-24-h"
1174
- },
1175
- // Event handlers
1176
- events: [
1177
- {
1178
- propName: "onChange",
1179
- eventName: "change",
1180
- handler: (callback) => (event) => {
1181
- callback(event);
1182
- }
1183
- }
1184
- ],
1185
- // Default prop values
1186
- defaultProps: {
1187
- // Add default values here
1188
- }
1189
- });
1190
-
1191
642
  // src/types.ts
1192
643
  var CupertinoIcons = /* @__PURE__ */ ((CupertinoIcons2) => {
1193
644
  CupertinoIcons2["add"] = "add";
@@ -2572,18 +2023,7 @@ export {
2572
2023
  FlutterCupertinoButton,
2573
2024
  FlutterCupertinoCheckbox,
2574
2025
  FlutterCupertinoContextMenu,
2575
- FlutterCupertinoDatePicker,
2576
- FlutterCupertinoFormRow,
2577
- FlutterCupertinoFormRowError,
2578
- FlutterCupertinoFormRowHelper,
2579
- FlutterCupertinoFormRowPrefix,
2580
- FlutterCupertinoFormSection,
2581
- FlutterCupertinoFormSectionFooter,
2582
- FlutterCupertinoFormSectionHeader,
2583
2026
  FlutterCupertinoIcon,
2584
- FlutterCupertinoInput,
2585
- FlutterCupertinoInputPrefix,
2586
- FlutterCupertinoInputSuffix,
2587
2027
  FlutterCupertinoListSection,
2588
2028
  FlutterCupertinoListSectionFooter,
2589
2029
  FlutterCupertinoListSectionHeader,
@@ -2592,14 +2032,7 @@ export {
2592
2032
  FlutterCupertinoListTileLeading,
2593
2033
  FlutterCupertinoListTileSubtitle,
2594
2034
  FlutterCupertinoListTileTrailing,
2595
- FlutterCupertinoLoading,
2596
- FlutterCupertinoModalPopup,
2597
- FlutterCupertinoPicker,
2598
- FlutterCupertinoPickerItem,
2599
2035
  FlutterCupertinoRadio,
2600
- FlutterCupertinoSearchInput,
2601
- FlutterCupertinoSegmentedTab,
2602
- FlutterCupertinoSegmentedTabItem,
2603
2036
  FlutterCupertinoSlider,
2604
2037
  FlutterCupertinoSlidingSegmentedControl,
2605
2038
  FlutterCupertinoSlidingSegmentedControlItem,
@@ -2608,9 +2041,6 @@ export {
2608
2041
  FlutterCupertinoTabBarItem,
2609
2042
  FlutterCupertinoTabScaffold,
2610
2043
  FlutterCupertinoTabScaffoldTab,
2611
- FlutterCupertinoTabView,
2612
- FlutterCupertinoTextarea,
2613
- FlutterCupertinoTimerPicker,
2614
- FlutterCupertinoToast
2044
+ FlutterCupertinoTabView
2615
2045
  };
2616
2046
  //# sourceMappingURL=index.mjs.map