@ionic/docs 7.4.2-dev.11695831341.191bdf12 → 7.4.2-dev.11695927273.1323de22

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.
Files changed (2) hide show
  1. package/core.json +83 -10
  2. package/package.json +1 -1
package/core.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2023-09-27T16:18:52",
2
+ "timestamp": "2023-09-28T18:57:10",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.3.0",
@@ -6714,6 +6714,12 @@
6714
6714
  }
6715
6715
  ],
6716
6716
  "listeners": [
6717
+ {
6718
+ "event": "appload",
6719
+ "target": "window",
6720
+ "capture": false,
6721
+ "passive": false
6722
+ },
6717
6723
  {
6718
6724
  "event": "resize",
6719
6725
  "target": "window",
@@ -7102,11 +7108,17 @@
7102
7108
  },
7103
7109
  {
7104
7110
  "name": "hourCycle",
7105
- "type": "\"h12\" | \"h23\" | undefined",
7111
+ "type": "\"h11\" | \"h12\" | \"h23\" | \"h24\" | undefined",
7106
7112
  "complexType": {
7107
- "original": "'h23' | 'h12'",
7108
- "resolved": "\"h12\" | \"h23\" | undefined",
7109
- "references": {}
7113
+ "original": "DatetimeHourCycle",
7114
+ "resolved": "\"h11\" | \"h12\" | \"h23\" | \"h24\" | undefined",
7115
+ "references": {
7116
+ "DatetimeHourCycle": {
7117
+ "location": "import",
7118
+ "path": "./datetime-interface",
7119
+ "id": "src/components/datetime/datetime-interface.ts::DatetimeHourCycle"
7120
+ }
7121
+ }
7110
7122
  },
7111
7123
  "mutable": false,
7112
7124
  "attr": "hour-cycle",
@@ -7114,6 +7126,10 @@
7114
7126
  "docs": "The hour cycle of the `ion-datetime`. If no value is set, this is\nspecified by the current locale.",
7115
7127
  "docsTags": [],
7116
7128
  "values": [
7129
+ {
7130
+ "value": "h11",
7131
+ "type": "string"
7132
+ },
7117
7133
  {
7118
7134
  "value": "h12",
7119
7135
  "type": "string"
@@ -7122,6 +7138,10 @@
7122
7138
  "value": "h23",
7123
7139
  "type": "string"
7124
7140
  },
7141
+ {
7142
+ "value": "h24",
7143
+ "type": "string"
7144
+ },
7125
7145
  {
7126
7146
  "type": "undefined"
7127
7147
  }
@@ -27719,7 +27739,7 @@
27719
27739
  "mutable": false,
27720
27740
  "attr": "position",
27721
27741
  "reflectToAttr": false,
27722
- "docs": "The position of the toast on the screen.",
27742
+ "docs": "The starting position of the toast on the screen. Can be tweaked further\nusing the `positionAnchor` property.",
27723
27743
  "docsTags": [],
27724
27744
  "default": "'bottom'",
27725
27745
  "values": [
@@ -27739,6 +27759,38 @@
27739
27759
  "optional": false,
27740
27760
  "required": false
27741
27761
  },
27762
+ {
27763
+ "name": "positionAnchor",
27764
+ "type": "HTMLElement | string | undefined",
27765
+ "complexType": {
27766
+ "original": "HTMLElement | string",
27767
+ "resolved": "HTMLElement | string | undefined",
27768
+ "references": {
27769
+ "HTMLElement": {
27770
+ "location": "global",
27771
+ "id": "global::HTMLElement"
27772
+ }
27773
+ }
27774
+ },
27775
+ "mutable": false,
27776
+ "attr": "position-anchor",
27777
+ "reflectToAttr": false,
27778
+ "docs": "The element to anchor the toast's position to. Can be set as a direct reference\nor the ID of the element. With `position=\"bottom\"`, the toast will sit above the\nchosen element. With `position=\"top\"`, the toast will sit below the chosen element.\nWith `position=\"middle\"`, the value of `positionAnchor` is ignored.",
27779
+ "docsTags": [],
27780
+ "values": [
27781
+ {
27782
+ "type": "HTMLElement"
27783
+ },
27784
+ {
27785
+ "type": "string"
27786
+ },
27787
+ {
27788
+ "type": "undefined"
27789
+ }
27790
+ ],
27791
+ "optional": true,
27792
+ "required": false
27793
+ },
27742
27794
  {
27743
27795
  "name": "translucent",
27744
27796
  "type": "boolean",
@@ -27821,8 +27873,9 @@
27821
27873
  "id": "global::Promise"
27822
27874
  },
27823
27875
  "ToastDismissOptions": {
27824
- "location": "global",
27825
- "id": "global::ToastDismissOptions"
27876
+ "location": "import",
27877
+ "path": "./toast-interface",
27878
+ "id": "src/components/toast/toast-interface.ts::ToastDismissOptions"
27826
27879
  }
27827
27880
  },
27828
27881
  "return": "Promise<boolean>"
@@ -27917,9 +27970,14 @@
27917
27970
  "location": "global",
27918
27971
  "id": "global::Promise"
27919
27972
  },
27920
- "ToastPresentOptions": {
27973
+ "HTMLElement": {
27921
27974
  "location": "global",
27922
- "id": "global::ToastPresentOptions"
27975
+ "id": "global::HTMLElement"
27976
+ },
27977
+ "ToastPresentOptions": {
27978
+ "location": "import",
27979
+ "path": "./toast-interface",
27980
+ "id": "src/components/toast/toast-interface.ts::ToastPresentOptions"
27923
27981
  }
27924
27982
  },
27925
27983
  "return": "Promise<void>"
@@ -28995,6 +29053,11 @@
28995
29053
  "docstring": "",
28996
29054
  "path": "src/components/datetime/datetime-interface.ts"
28997
29055
  },
29056
+ "src/components/datetime/datetime-interface.ts::DatetimeHourCycle": {
29057
+ "declaration": "export type DatetimeHourCycle = 'h11' | 'h12' | 'h23' | 'h24';",
29058
+ "docstring": "",
29059
+ "path": "src/components/datetime/datetime-interface.ts"
29060
+ },
28998
29061
  "src/components/datetime/datetime-interface.ts::DatetimeChangeEventDetail": {
28999
29062
  "declaration": "export interface DatetimeChangeEventDetail {\n value?: string | string[] | null;\n}",
29000
29063
  "docstring": "",
@@ -29290,6 +29353,16 @@
29290
29353
  "docstring": "",
29291
29354
  "path": "src/components/toast/toast-interface.ts"
29292
29355
  },
29356
+ "src/components/toast/toast-interface.ts::ToastPresentOptions": {
29357
+ "declaration": "export interface ToastPresentOptions {\n position: ToastPosition;\n positionAnchor?: HTMLElement;\n}",
29358
+ "docstring": "",
29359
+ "path": "src/components/toast/toast-interface.ts"
29360
+ },
29361
+ "src/components/toast/toast-interface.ts::ToastDismissOptions": {
29362
+ "declaration": "export type ToastPosition = 'top' | 'bottom' | 'middle';",
29363
+ "docstring": "",
29364
+ "path": "src/components/toast/toast-interface.ts"
29365
+ },
29293
29366
  "src/components/toggle/toggle-interface.ts::ToggleChangeEventDetail": {
29294
29367
  "declaration": "export interface ToggleChangeEventDetail<T = any> {\n value: T;\n checked: boolean;\n}",
29295
29368
  "docstring": "",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ionic/docs",
3
- "version": "7.4.2-dev.11695831341.191bdf12",
3
+ "version": "7.4.2-dev.11695927273.1323de22",
4
4
  "description": "Pre-packaged API documentation for the Ionic docs.",
5
5
  "main": "core.json",
6
6
  "types": "core.d.ts",