@ionic/core 7.6.2 → 7.6.3-nightly.20231220
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/collection/components/datetime/datetime.js +1 -1
- package/dist/collection/components/input/input.js +1 -1
- package/dist/collection/components/modal/modal.js +1 -1
- package/dist/collection/components/range/range.js +1 -1
- package/dist/collection/components/textarea/textarea.js +1 -1
- package/dist/docs.json +6 -6
- package/dist/html.html-data.json +1 -1
- package/dist/types/components/datetime/datetime.d.ts +3 -0
- package/dist/types/components/input/input.d.ts +3 -0
- package/dist/types/components/modal/modal.d.ts +3 -0
- package/dist/types/components/range/range.d.ts +3 -0
- package/dist/types/components/textarea/textarea.d.ts +3 -0
- package/dist/types/components.d.ts +10 -10
- package/package.json +1 -1
|
@@ -1946,7 +1946,7 @@ export class Datetime {
|
|
|
1946
1946
|
"optional": true,
|
|
1947
1947
|
"docs": {
|
|
1948
1948
|
"tags": [],
|
|
1949
|
-
"text": "A callback used to format the header text that shows how many\ndates are selected. Only used if there are 0 or more than 1\nselected (i.e. unused for exactly 1). By default, the header\ntext is set to \"numberOfDates days\"."
|
|
1949
|
+
"text": "A callback used to format the header text that shows how many\ndates are selected. Only used if there are 0 or more than 1\nselected (i.e. unused for exactly 1). By default, the header\ntext is set to \"numberOfDates days\".\n\nSee https://ionicframework.com/docs/troubleshooting/runtime#accessing-this\nif you need to access `this` from within the callback."
|
|
1950
1950
|
}
|
|
1951
1951
|
},
|
|
1952
1952
|
"multiple": {
|
|
@@ -677,7 +677,7 @@ Developers can dismiss this warning by removing their usage of the "legacy" prop
|
|
|
677
677
|
"optional": true,
|
|
678
678
|
"docs": {
|
|
679
679
|
"tags": [],
|
|
680
|
-
"text": "A callback used to format the counter text.\nBy default the counter text is set to \"itemLength / maxLength\"."
|
|
680
|
+
"text": "A callback used to format the counter text.\nBy default the counter text is set to \"itemLength / maxLength\".\n\nSee https://ionicframework.com/docs/troubleshooting/runtime#accessing-this\nif you need to access `this` from within the callback."
|
|
681
681
|
}
|
|
682
682
|
},
|
|
683
683
|
"debounce": {
|
|
@@ -1003,7 +1003,7 @@ export class Modal {
|
|
|
1003
1003
|
"optional": false,
|
|
1004
1004
|
"docs": {
|
|
1005
1005
|
"tags": [],
|
|
1006
|
-
"text": "Determines whether or not a modal can dismiss\nwhen calling the `dismiss` method.\n\nIf the value is `true` or the value's function returns `true`, the modal will close when trying to dismiss.\nIf the value is `false` or the value's function returns `false`, the modal will not close when trying to dismiss."
|
|
1006
|
+
"text": "Determines whether or not a modal can dismiss\nwhen calling the `dismiss` method.\n\nIf the value is `true` or the value's function returns `true`, the modal will close when trying to dismiss.\nIf the value is `false` or the value's function returns `false`, the modal will not close when trying to dismiss.\n\nSee https://ionicframework.com/docs/troubleshooting/runtime#accessing-this\nif you need to access `this` from within the callback."
|
|
1007
1007
|
},
|
|
1008
1008
|
"attribute": "can-dismiss",
|
|
1009
1009
|
"reflect": false,
|
|
@@ -718,7 +718,7 @@ Developers can dismiss this warning by removing their usage of the "legacy" prop
|
|
|
718
718
|
"optional": false,
|
|
719
719
|
"docs": {
|
|
720
720
|
"tags": [],
|
|
721
|
-
"text": "A callback used to format the pin text.\nBy default the pin text is set to `Math.round(value)
|
|
721
|
+
"text": "A callback used to format the pin text.\nBy default the pin text is set to `Math.round(value)`.\n\nSee https://ionicframework.com/docs/troubleshooting/runtime#accessing-this\nif you need to access `this` from within the callback."
|
|
722
722
|
},
|
|
723
723
|
"defaultValue": "(value: number): number => Math.round(value)"
|
|
724
724
|
},
|
|
@@ -848,7 +848,7 @@ Developers can use the "legacy" property to continue using the legacy form marku
|
|
|
848
848
|
"optional": true,
|
|
849
849
|
"docs": {
|
|
850
850
|
"tags": [],
|
|
851
|
-
"text": "A callback used to format the counter text.\nBy default the counter text is set to \"itemLength / maxLength\"."
|
|
851
|
+
"text": "A callback used to format the counter text.\nBy default the counter text is set to \"itemLength / maxLength\".\n\nSee https://ionicframework.com/docs/troubleshooting/runtime#accessing-this\nif you need to access `this` from within the callback."
|
|
852
852
|
}
|
|
853
853
|
},
|
|
854
854
|
"errorText": {
|
package/dist/docs.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2023-12-
|
|
2
|
+
"timestamp": "2023-12-20T06:03:06",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "@stencil/core",
|
|
5
5
|
"version": "4.8.2",
|
|
@@ -7627,7 +7627,7 @@
|
|
|
7627
7627
|
},
|
|
7628
7628
|
"mutable": false,
|
|
7629
7629
|
"reflectToAttr": false,
|
|
7630
|
-
"docs": "A callback used to format the header text that shows how many\ndates are selected. Only used if there are 0 or more than 1\nselected (i.e. unused for exactly 1). By default, the header\ntext is set to \"numberOfDates days\".",
|
|
7630
|
+
"docs": "A callback used to format the header text that shows how many\ndates are selected. Only used if there are 0 or more than 1\nselected (i.e. unused for exactly 1). By default, the header\ntext is set to \"numberOfDates days\".\n\nSee https://ionicframework.com/docs/troubleshooting/runtime#accessing-this\nif you need to access `this` from within the callback.",
|
|
7631
7631
|
"docsTags": [],
|
|
7632
7632
|
"values": [
|
|
7633
7633
|
{
|
|
@@ -10162,7 +10162,7 @@
|
|
|
10162
10162
|
},
|
|
10163
10163
|
"mutable": false,
|
|
10164
10164
|
"reflectToAttr": false,
|
|
10165
|
-
"docs": "A callback used to format the counter text.\nBy default the counter text is set to \"itemLength / maxLength\".",
|
|
10165
|
+
"docs": "A callback used to format the counter text.\nBy default the counter text is set to \"itemLength / maxLength\".\n\nSee https://ionicframework.com/docs/troubleshooting/runtime#accessing-this\nif you need to access `this` from within the callback.",
|
|
10166
10166
|
"docsTags": [],
|
|
10167
10167
|
"values": [
|
|
10168
10168
|
{
|
|
@@ -15091,7 +15091,7 @@
|
|
|
15091
15091
|
"mutable": false,
|
|
15092
15092
|
"attr": "can-dismiss",
|
|
15093
15093
|
"reflectToAttr": false,
|
|
15094
|
-
"docs": "Determines whether or not a modal can dismiss\nwhen calling the `dismiss` method.\n\nIf the value is `true` or the value's function returns `true`, the modal will close when trying to dismiss.\nIf the value is `false` or the value's function returns `false`, the modal will not close when trying to dismiss.",
|
|
15094
|
+
"docs": "Determines whether or not a modal can dismiss\nwhen calling the `dismiss` method.\n\nIf the value is `true` or the value's function returns `true`, the modal will close when trying to dismiss.\nIf the value is `false` or the value's function returns `false`, the modal will not close when trying to dismiss.\n\nSee https://ionicframework.com/docs/troubleshooting/runtime#accessing-this\nif you need to access `this` from within the callback.",
|
|
15095
15095
|
"docsTags": [],
|
|
15096
15096
|
"default": "true",
|
|
15097
15097
|
"values": [
|
|
@@ -20286,7 +20286,7 @@
|
|
|
20286
20286
|
},
|
|
20287
20287
|
"mutable": false,
|
|
20288
20288
|
"reflectToAttr": false,
|
|
20289
|
-
"docs": "A callback used to format the pin text.\nBy default the pin text is set to `Math.round(value)
|
|
20289
|
+
"docs": "A callback used to format the pin text.\nBy default the pin text is set to `Math.round(value)`.\n\nSee https://ionicframework.com/docs/troubleshooting/runtime#accessing-this\nif you need to access `this` from within the callback.",
|
|
20290
20290
|
"docsTags": [],
|
|
20291
20291
|
"default": "(value: number): number => Math.round(value)",
|
|
20292
20292
|
"values": [
|
|
@@ -26381,7 +26381,7 @@
|
|
|
26381
26381
|
},
|
|
26382
26382
|
"mutable": false,
|
|
26383
26383
|
"reflectToAttr": false,
|
|
26384
|
-
"docs": "A callback used to format the counter text.\nBy default the counter text is set to \"itemLength / maxLength\".",
|
|
26384
|
+
"docs": "A callback used to format the counter text.\nBy default the counter text is set to \"itemLength / maxLength\".\n\nSee https://ionicframework.com/docs/troubleshooting/runtime#accessing-this\nif you need to access `this` from within the callback.",
|
|
26385
26385
|
"docsTags": [],
|
|
26386
26386
|
"values": [
|
|
26387
26387
|
{
|
package/dist/html.html-data.json
CHANGED
|
@@ -3580,7 +3580,7 @@
|
|
|
3580
3580
|
},
|
|
3581
3581
|
{
|
|
3582
3582
|
"name": "can-dismiss",
|
|
3583
|
-
"description": "Determines whether or not a modal can dismiss\nwhen calling the `dismiss` method.\n\nIf the value is `true` or the value's function returns `true`, the modal will close when trying to dismiss.\nIf the value is `false` or the value's function returns `false`, the modal will not close when trying to dismiss."
|
|
3583
|
+
"description": "Determines whether or not a modal can dismiss\nwhen calling the `dismiss` method.\n\nIf the value is `true` or the value's function returns `true`, the modal will close when trying to dismiss.\nIf the value is `false` or the value's function returns `false`, the modal will not close when trying to dismiss.\n\nSee https://ionicframework.com/docs/troubleshooting/runtime#accessing-this\nif you need to access `this` from within the callback."
|
|
3584
3584
|
},
|
|
3585
3585
|
{
|
|
3586
3586
|
"name": "handle",
|
|
@@ -196,6 +196,9 @@ export declare class Datetime implements ComponentInterface {
|
|
|
196
196
|
* dates are selected. Only used if there are 0 or more than 1
|
|
197
197
|
* selected (i.e. unused for exactly 1). By default, the header
|
|
198
198
|
* text is set to "numberOfDates days".
|
|
199
|
+
*
|
|
200
|
+
* See https://ionicframework.com/docs/troubleshooting/runtime#accessing-this
|
|
201
|
+
* if you need to access `this` from within the callback.
|
|
199
202
|
*/
|
|
200
203
|
titleSelectedDatesFormatter?: TitleSelectedDatesFormatter;
|
|
201
204
|
/**
|
|
@@ -77,6 +77,9 @@ export declare class Input implements ComponentInterface {
|
|
|
77
77
|
/**
|
|
78
78
|
* A callback used to format the counter text.
|
|
79
79
|
* By default the counter text is set to "itemLength / maxLength".
|
|
80
|
+
*
|
|
81
|
+
* See https://ionicframework.com/docs/troubleshooting/runtime#accessing-this
|
|
82
|
+
* if you need to access `this` from within the callback.
|
|
80
83
|
*/
|
|
81
84
|
counterFormatter?: (inputLength: number, maxLength: number) => string;
|
|
82
85
|
/**
|
|
@@ -169,6 +169,9 @@ export declare class Modal implements ComponentInterface, OverlayInterface {
|
|
|
169
169
|
*
|
|
170
170
|
* If the value is `true` or the value's function returns `true`, the modal will close when trying to dismiss.
|
|
171
171
|
* If the value is `false` or the value's function returns `false`, the modal will not close when trying to dismiss.
|
|
172
|
+
*
|
|
173
|
+
* See https://ionicframework.com/docs/troubleshooting/runtime#accessing-this
|
|
174
|
+
* if you need to access `this` from within the callback.
|
|
172
175
|
*/
|
|
173
176
|
canDismiss: boolean | ((data?: any, role?: string) => Promise<boolean>);
|
|
174
177
|
/**
|
|
@@ -78,6 +78,9 @@ export declare class Range implements ComponentInterface {
|
|
|
78
78
|
/**
|
|
79
79
|
* A callback used to format the pin text.
|
|
80
80
|
* By default the pin text is set to `Math.round(value)`.
|
|
81
|
+
*
|
|
82
|
+
* See https://ionicframework.com/docs/troubleshooting/runtime#accessing-this
|
|
83
|
+
* if you need to access `this` from within the callback.
|
|
81
84
|
*/
|
|
82
85
|
pinFormatter: PinFormatter;
|
|
83
86
|
/**
|
|
@@ -137,6 +137,9 @@ export declare class Textarea implements ComponentInterface {
|
|
|
137
137
|
/**
|
|
138
138
|
* A callback used to format the counter text.
|
|
139
139
|
* By default the counter text is set to "itemLength / maxLength".
|
|
140
|
+
*
|
|
141
|
+
* See https://ionicframework.com/docs/troubleshooting/runtime#accessing-this
|
|
142
|
+
* if you need to access `this` from within the callback.
|
|
140
143
|
*/
|
|
141
144
|
counterFormatter?: (inputLength: number, maxLength: number) => string;
|
|
142
145
|
/**
|
|
@@ -943,7 +943,7 @@ export namespace Components {
|
|
|
943
943
|
*/
|
|
944
944
|
"size": 'cover' | 'fixed';
|
|
945
945
|
/**
|
|
946
|
-
* A callback used to format the header text that shows how many dates are selected. Only used if there are 0 or more than 1 selected (i.e. unused for exactly 1). By default, the header text is set to "numberOfDates days".
|
|
946
|
+
* A callback used to format the header text that shows how many dates are selected. Only used if there are 0 or more than 1 selected (i.e. unused for exactly 1). By default, the header text is set to "numberOfDates days". See https://ionicframework.com/docs/troubleshooting/runtime#accessing-this if you need to access `this` from within the callback.
|
|
947
947
|
*/
|
|
948
948
|
"titleSelectedDatesFormatter"?: TitleSelectedDatesFormatter;
|
|
949
949
|
/**
|
|
@@ -1182,7 +1182,7 @@ export namespace Components {
|
|
|
1182
1182
|
*/
|
|
1183
1183
|
"counter": boolean;
|
|
1184
1184
|
/**
|
|
1185
|
-
* A callback used to format the counter text. By default the counter text is set to "itemLength / maxLength".
|
|
1185
|
+
* A callback used to format the counter text. By default the counter text is set to "itemLength / maxLength". See https://ionicframework.com/docs/troubleshooting/runtime#accessing-this if you need to access `this` from within the callback.
|
|
1186
1186
|
*/
|
|
1187
1187
|
"counterFormatter"?: (inputLength: number, maxLength: number) => string;
|
|
1188
1188
|
/**
|
|
@@ -1701,7 +1701,7 @@ export namespace Components {
|
|
|
1701
1701
|
*/
|
|
1702
1702
|
"breakpoints"?: number[];
|
|
1703
1703
|
/**
|
|
1704
|
-
* Determines whether or not a modal can dismiss when calling the `dismiss` method. If the value is `true` or the value's function returns `true`, the modal will close when trying to dismiss. If the value is `false` or the value's function returns `false`, the modal will not close when trying to dismiss.
|
|
1704
|
+
* Determines whether or not a modal can dismiss when calling the `dismiss` method. If the value is `true` or the value's function returns `true`, the modal will close when trying to dismiss. If the value is `false` or the value's function returns `false`, the modal will not close when trying to dismiss. See https://ionicframework.com/docs/troubleshooting/runtime#accessing-this if you need to access `this` from within the callback.
|
|
1705
1705
|
*/
|
|
1706
1706
|
"canDismiss": boolean | ((data?: any, role?: string) => Promise<boolean>);
|
|
1707
1707
|
/**
|
|
@@ -2336,7 +2336,7 @@ export namespace Components {
|
|
|
2336
2336
|
*/
|
|
2337
2337
|
"pin": boolean;
|
|
2338
2338
|
/**
|
|
2339
|
-
* A callback used to format the pin text. By default the pin text is set to `Math.round(value)`.
|
|
2339
|
+
* A callback used to format the pin text. By default the pin text is set to `Math.round(value)`. See https://ionicframework.com/docs/troubleshooting/runtime#accessing-this if you need to access `this` from within the callback.
|
|
2340
2340
|
*/
|
|
2341
2341
|
"pinFormatter": PinFormatter;
|
|
2342
2342
|
/**
|
|
@@ -2978,7 +2978,7 @@ export namespace Components {
|
|
|
2978
2978
|
*/
|
|
2979
2979
|
"counter": boolean;
|
|
2980
2980
|
/**
|
|
2981
|
-
* A callback used to format the counter text. By default the counter text is set to "itemLength / maxLength".
|
|
2981
|
+
* A callback used to format the counter text. By default the counter text is set to "itemLength / maxLength". See https://ionicframework.com/docs/troubleshooting/runtime#accessing-this if you need to access `this` from within the callback.
|
|
2982
2982
|
*/
|
|
2983
2983
|
"counterFormatter"?: (inputLength: number, maxLength: number) => string;
|
|
2984
2984
|
/**
|
|
@@ -5617,7 +5617,7 @@ declare namespace LocalJSX {
|
|
|
5617
5617
|
*/
|
|
5618
5618
|
"size"?: 'cover' | 'fixed';
|
|
5619
5619
|
/**
|
|
5620
|
-
* A callback used to format the header text that shows how many dates are selected. Only used if there are 0 or more than 1 selected (i.e. unused for exactly 1). By default, the header text is set to "numberOfDates days".
|
|
5620
|
+
* A callback used to format the header text that shows how many dates are selected. Only used if there are 0 or more than 1 selected (i.e. unused for exactly 1). By default, the header text is set to "numberOfDates days". See https://ionicframework.com/docs/troubleshooting/runtime#accessing-this if you need to access `this` from within the callback.
|
|
5621
5621
|
*/
|
|
5622
5622
|
"titleSelectedDatesFormatter"?: TitleSelectedDatesFormatter;
|
|
5623
5623
|
/**
|
|
@@ -5868,7 +5868,7 @@ declare namespace LocalJSX {
|
|
|
5868
5868
|
*/
|
|
5869
5869
|
"counter"?: boolean;
|
|
5870
5870
|
/**
|
|
5871
|
-
* A callback used to format the counter text. By default the counter text is set to "itemLength / maxLength".
|
|
5871
|
+
* A callback used to format the counter text. By default the counter text is set to "itemLength / maxLength". See https://ionicframework.com/docs/troubleshooting/runtime#accessing-this if you need to access `this` from within the callback.
|
|
5872
5872
|
*/
|
|
5873
5873
|
"counterFormatter"?: (inputLength: number, maxLength: number) => string;
|
|
5874
5874
|
/**
|
|
@@ -6380,7 +6380,7 @@ declare namespace LocalJSX {
|
|
|
6380
6380
|
*/
|
|
6381
6381
|
"breakpoints"?: number[];
|
|
6382
6382
|
/**
|
|
6383
|
-
* Determines whether or not a modal can dismiss when calling the `dismiss` method. If the value is `true` or the value's function returns `true`, the modal will close when trying to dismiss. If the value is `false` or the value's function returns `false`, the modal will not close when trying to dismiss.
|
|
6383
|
+
* Determines whether or not a modal can dismiss when calling the `dismiss` method. If the value is `true` or the value's function returns `true`, the modal will close when trying to dismiss. If the value is `false` or the value's function returns `false`, the modal will not close when trying to dismiss. See https://ionicframework.com/docs/troubleshooting/runtime#accessing-this if you need to access `this` from within the callback.
|
|
6384
6384
|
*/
|
|
6385
6385
|
"canDismiss"?: boolean | ((data?: any, role?: string) => Promise<boolean>);
|
|
6386
6386
|
/**
|
|
@@ -6953,7 +6953,7 @@ declare namespace LocalJSX {
|
|
|
6953
6953
|
*/
|
|
6954
6954
|
"pin"?: boolean;
|
|
6955
6955
|
/**
|
|
6956
|
-
* A callback used to format the pin text. By default the pin text is set to `Math.round(value)`.
|
|
6956
|
+
* A callback used to format the pin text. By default the pin text is set to `Math.round(value)`. See https://ionicframework.com/docs/troubleshooting/runtime#accessing-this if you need to access `this` from within the callback.
|
|
6957
6957
|
*/
|
|
6958
6958
|
"pinFormatter"?: PinFormatter;
|
|
6959
6959
|
/**
|
|
@@ -7609,7 +7609,7 @@ declare namespace LocalJSX {
|
|
|
7609
7609
|
*/
|
|
7610
7610
|
"counter"?: boolean;
|
|
7611
7611
|
/**
|
|
7612
|
-
* A callback used to format the counter text. By default the counter text is set to "itemLength / maxLength".
|
|
7612
|
+
* A callback used to format the counter text. By default the counter text is set to "itemLength / maxLength". See https://ionicframework.com/docs/troubleshooting/runtime#accessing-this if you need to access `this` from within the callback.
|
|
7613
7613
|
*/
|
|
7614
7614
|
"counterFormatter"?: (inputLength: number, maxLength: number) => string;
|
|
7615
7615
|
/**
|