@ionic/docs 7.4.4 → 7.5.0

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 +73 -10
  2. package/package.json +1 -1
package/core.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2023-10-11T13:23:37",
2
+ "timestamp": "2023-10-11T14:15:48",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.4.1",
@@ -7102,11 +7102,17 @@
7102
7102
  },
7103
7103
  {
7104
7104
  "name": "hourCycle",
7105
- "type": "\"h12\" | \"h23\" | undefined",
7105
+ "type": "\"h11\" | \"h12\" | \"h23\" | \"h24\" | undefined",
7106
7106
  "complexType": {
7107
- "original": "'h23' | 'h12'",
7108
- "resolved": "\"h12\" | \"h23\" | undefined",
7109
- "references": {}
7107
+ "original": "DatetimeHourCycle",
7108
+ "resolved": "\"h11\" | \"h12\" | \"h23\" | \"h24\" | undefined",
7109
+ "references": {
7110
+ "DatetimeHourCycle": {
7111
+ "location": "import",
7112
+ "path": "./datetime-interface",
7113
+ "id": "src/components/datetime/datetime-interface.ts::DatetimeHourCycle"
7114
+ }
7115
+ }
7110
7116
  },
7111
7117
  "mutable": false,
7112
7118
  "attr": "hour-cycle",
@@ -7114,6 +7120,10 @@
7114
7120
  "docs": "The hour cycle of the `ion-datetime`. If no value is set, this is\nspecified by the current locale.",
7115
7121
  "docsTags": [],
7116
7122
  "values": [
7123
+ {
7124
+ "value": "h11",
7125
+ "type": "string"
7126
+ },
7117
7127
  {
7118
7128
  "value": "h12",
7119
7129
  "type": "string"
@@ -7122,6 +7132,10 @@
7122
7132
  "value": "h23",
7123
7133
  "type": "string"
7124
7134
  },
7135
+ {
7136
+ "value": "h24",
7137
+ "type": "string"
7138
+ },
7125
7139
  {
7126
7140
  "type": "undefined"
7127
7141
  }
@@ -27719,7 +27733,7 @@
27719
27733
  "mutable": false,
27720
27734
  "attr": "position",
27721
27735
  "reflectToAttr": false,
27722
- "docs": "The position of the toast on the screen.",
27736
+ "docs": "The starting position of the toast on the screen. Can be tweaked further\nusing the `positionAnchor` property.",
27723
27737
  "docsTags": [],
27724
27738
  "default": "'bottom'",
27725
27739
  "values": [
@@ -27739,6 +27753,38 @@
27739
27753
  "optional": false,
27740
27754
  "required": false
27741
27755
  },
27756
+ {
27757
+ "name": "positionAnchor",
27758
+ "type": "HTMLElement | string | undefined",
27759
+ "complexType": {
27760
+ "original": "HTMLElement | string",
27761
+ "resolved": "HTMLElement | string | undefined",
27762
+ "references": {
27763
+ "HTMLElement": {
27764
+ "location": "global",
27765
+ "id": "global::HTMLElement"
27766
+ }
27767
+ }
27768
+ },
27769
+ "mutable": false,
27770
+ "attr": "position-anchor",
27771
+ "reflectToAttr": false,
27772
+ "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.",
27773
+ "docsTags": [],
27774
+ "values": [
27775
+ {
27776
+ "type": "HTMLElement"
27777
+ },
27778
+ {
27779
+ "type": "string"
27780
+ },
27781
+ {
27782
+ "type": "undefined"
27783
+ }
27784
+ ],
27785
+ "optional": true,
27786
+ "required": false
27787
+ },
27742
27788
  {
27743
27789
  "name": "translucent",
27744
27790
  "type": "boolean",
@@ -27821,8 +27867,9 @@
27821
27867
  "id": "global::Promise"
27822
27868
  },
27823
27869
  "ToastDismissOptions": {
27824
- "location": "global",
27825
- "id": "global::ToastDismissOptions"
27870
+ "location": "import",
27871
+ "path": "./toast-interface",
27872
+ "id": "src/components/toast/toast-interface.ts::ToastDismissOptions"
27826
27873
  }
27827
27874
  },
27828
27875
  "return": "Promise<boolean>"
@@ -27918,8 +27965,9 @@
27918
27965
  "id": "global::Promise"
27919
27966
  },
27920
27967
  "ToastPresentOptions": {
27921
- "location": "global",
27922
- "id": "global::ToastPresentOptions"
27968
+ "location": "import",
27969
+ "path": "./toast-interface",
27970
+ "id": "src/components/toast/toast-interface.ts::ToastPresentOptions"
27923
27971
  }
27924
27972
  },
27925
27973
  "return": "Promise<void>"
@@ -28995,6 +29043,11 @@
28995
29043
  "docstring": "",
28996
29044
  "path": "src/components/datetime/datetime-interface.ts"
28997
29045
  },
29046
+ "src/components/datetime/datetime-interface.ts::DatetimeHourCycle": {
29047
+ "declaration": "export type DatetimeHourCycle = 'h11' | 'h12' | 'h23' | 'h24';",
29048
+ "docstring": "",
29049
+ "path": "src/components/datetime/datetime-interface.ts"
29050
+ },
28998
29051
  "src/components/datetime/datetime-interface.ts::DatetimeChangeEventDetail": {
28999
29052
  "declaration": "export interface DatetimeChangeEventDetail {\n value?: string | string[] | null;\n}",
29000
29053
  "docstring": "",
@@ -29290,6 +29343,16 @@
29290
29343
  "docstring": "",
29291
29344
  "path": "src/components/toast/toast-interface.ts"
29292
29345
  },
29346
+ "src/components/toast/toast-interface.ts::ToastPresentOptions": {
29347
+ "declaration": "export type ToastPresentOptions = ToastPositionAlias & ToastAnimationPosition;",
29348
+ "docstring": "",
29349
+ "path": "src/components/toast/toast-interface.ts"
29350
+ },
29351
+ "src/components/toast/toast-interface.ts::ToastDismissOptions": {
29352
+ "declaration": "export type ToastDismissOptions = ToastPositionAlias & ToastAnimationPosition;",
29353
+ "docstring": "",
29354
+ "path": "src/components/toast/toast-interface.ts"
29355
+ },
29293
29356
  "src/components/toggle/toggle-interface.ts::ToggleChangeEventDetail": {
29294
29357
  "declaration": "export interface ToggleChangeEventDetail<T = any> {\n value: T;\n checked: boolean;\n}",
29295
29358
  "docstring": "",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ionic/docs",
3
- "version": "7.4.4",
3
+ "version": "7.5.0",
4
4
  "description": "Pre-packaged API documentation for the Ionic docs.",
5
5
  "main": "core.json",
6
6
  "types": "core.d.ts",