Skip to content

Commit 46cf99f

Browse files
committed
docs: update
1 parent 48a0a29 commit 46cf99f

File tree

3 files changed

+63
-25
lines changed

3 files changed

+63
-25
lines changed

packages/docs/data/api.json

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -516,6 +516,10 @@
516516
"type": "() => number",
517517
"description": "Returns the current scroll progress as a percentage"
518518
},
519+
"getProgressText": {
520+
"type": "() => string",
521+
"description": "Returns the progress text"
522+
},
519523
"play": {
520524
"type": "VoidFunction",
521525
"description": "Function to start/resume autoplay"
@@ -547,6 +551,11 @@
547551
"description": "The number of slides to show at a time.",
548552
"defaultValue": "1"
549553
},
554+
"autoSize": {
555+
"type": "boolean",
556+
"description": "Whether to enable variable width slides.",
557+
"defaultValue": "false"
558+
},
550559
"slidesPerMove": {
551560
"type": "number | \"auto\"",
552561
"description": "The number of slides to scroll at a time.\n\nWhen set to `auto`, the number of slides to scroll is determined by the\n`slidesPerPage` property.",
@@ -3007,13 +3016,13 @@
30073016
"type": "boolean",
30083017
"description": "Whether the menu is open"
30093018
},
3010-
"setParent": {
3011-
"type": "(parent: NavigationMenuService) => void",
3012-
"description": "Sets the parent of the menu"
3019+
"isViewportRendered": {
3020+
"type": "boolean",
3021+
"description": "Whether the viewport is rendered"
30133022
},
3014-
"setChild": {
3015-
"type": "(child: NavigationMenuService) => void",
3016-
"description": "Sets the child of the menu"
3023+
"getViewportNode": {
3024+
"type": "() => HTMLElement",
3025+
"description": "Gets the viewport node element"
30173026
},
30183027
"orientation": {
30193028
"type": "Orientation",
@@ -3022,7 +3031,7 @@
30223031
},
30233032
"context": {
30243033
"ids": {
3025-
"type": "Partial<{ root: string; list: string; item: string; indicator: string; trigger: (value: string) => string; content: (value: string) => string; viewport: string; }>",
3034+
"type": "Partial<{ root: string; list: string; item: string; trigger: (value: string) => string; content: (value: string) => string; viewport: string; }>",
30263035
"description": "The ids of the elements in the machine."
30273036
},
30283037
"value": {
@@ -3055,6 +3064,10 @@
30553064
"type": "boolean",
30563065
"description": "Whether to disable the hover trigger"
30573066
},
3067+
"disablePointerLeaveClose": {
3068+
"type": "boolean",
3069+
"description": "Whether to disable the pointer leave close"
3070+
},
30583071
"dir": {
30593072
"type": "\"ltr\" | \"rtl\"",
30603073
"description": "The document's text/writing direction.",

packages/docs/data/css-vars.json

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@
88
"--marker-value": "The marker value value for the Marker"
99
}
1010
},
11+
"carousel": {
12+
"Root": {
13+
"--slides-per-page": "The number of slides visible per page",
14+
"--slide-spacing": "The spacing between slides",
15+
"--slide-item-size": "The calculated size of each slide item"
16+
}
17+
},
1118
"bottom-sheet": {
1219
"Content": {
1320
"--bottom-sheet-translate": "The bottom sheet translate value for the Content",
@@ -18,13 +25,6 @@
1825
"--layer-index": "The index of the dismissable in the layer stack"
1926
}
2027
},
21-
"carousel": {
22-
"Root": {
23-
"--slides-per-page": "The number of slides visible per page",
24-
"--slide-spacing": "The spacing between slides",
25-
"--slide-item-size": "The calculated size of each slide item"
26-
}
27-
},
2828
"collapsible": {
2929
"Content": {
3030
"--height": "The height of the element",
@@ -126,7 +126,22 @@
126126
"--trigger-x": "The trigger x value for the Root",
127127
"--trigger-y": "The trigger y value for the Root",
128128
"--viewport-width": "The width of the Root",
129-
"--viewport-height": "The height of the Root"
129+
"--viewport-height": "The height of the Root",
130+
"--viewport-x": "The viewport x value for the Root",
131+
"--viewport-y": "The viewport y value for the Root"
132+
},
133+
"Viewport": {
134+
"--viewport-width": "The width of the Viewport",
135+
"--viewport-height": "The height of the Viewport",
136+
"--viewport-x": "The viewport x value for the Viewport",
137+
"--viewport-y": "The viewport y value for the Viewport"
138+
},
139+
"Content": {
140+
"--layer-index": "The index of the dismissable in the layer stack",
141+
"--nested-layer-count": "The number of nested navigation-menus"
142+
},
143+
"Backdrop": {
144+
"--layer-index": "The index of the dismissable in the layer stack"
130145
}
131146
},
132147
"progress": {

packages/docs/data/data-attr.json

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1020,14 +1020,12 @@
10201020
"Root": {
10211021
"data-scope": "navigation-menu",
10221022
"data-part": "root",
1023-
"data-orientation": "The orientation of the navigation-menu",
1024-
"data-type": "The type of the item"
1023+
"data-orientation": "The orientation of the navigation-menu"
10251024
},
10261025
"List": {
10271026
"data-scope": "navigation-menu",
10281027
"data-part": "list",
1029-
"data-orientation": "The orientation of the list",
1030-
"data-type": "The type of the item"
1028+
"data-orientation": "The orientation of the list"
10311029
},
10321030
"Item": {
10331031
"data-scope": "navigation-menu",
@@ -1046,8 +1044,7 @@
10461044
"data-scope": "navigation-menu",
10471045
"data-part": "indicator",
10481046
"data-state": "\"open\" | \"closed\"",
1049-
"data-orientation": "The orientation of the indicator",
1050-
"data-type": "The type of the item"
1047+
"data-orientation": "The orientation of the indicator"
10511048
},
10521049
"Arrow": {
10531050
"data-scope": "navigation-menu",
@@ -1057,11 +1054,17 @@
10571054
"Trigger": {
10581055
"data-scope": "navigation-menu",
10591056
"data-part": "trigger",
1057+
"data-trigger-proxy-id": "",
10601058
"data-value": "The value of the item",
10611059
"data-state": "\"open\" | \"closed\"",
1062-
"data-type": "The type of the item",
10631060
"data-disabled": "Present when disabled"
10641061
},
1062+
"TriggerProxy": {
1063+
"data-scope": "navigation-menu",
1064+
"data-part": "trigger-proxy",
1065+
"data-trigger-proxy": "",
1066+
"data-trigger-id": ""
1067+
},
10651068
"Link": {
10661069
"data-scope": "navigation-menu",
10671070
"data-part": "link",
@@ -1072,20 +1075,21 @@
10721075
"data-scope": "navigation-menu",
10731076
"data-part": "content",
10741077
"data-state": "\"open\" | \"closed\"",
1075-
"data-type": "The type of the item",
1078+
"data-orientation": "The orientation of the content",
10761079
"data-value": "The value of the item"
10771080
},
10781081
"ViewportPositioner": {
10791082
"data-scope": "navigation-menu",
10801083
"data-part": "viewport-positioner",
1081-
"data-orientation": "The orientation of the viewportpositioner"
1084+
"data-orientation": "The orientation of the viewportpositioner",
1085+
"data-align": ""
10821086
},
10831087
"Viewport": {
10841088
"data-scope": "navigation-menu",
10851089
"data-part": "viewport",
10861090
"data-state": "\"open\" | \"closed\"",
10871091
"data-orientation": "The orientation of the viewport",
1088-
"data-type": "The type of the item"
1092+
"data-align": ""
10891093
}
10901094
},
10911095
"number-input": {
@@ -1799,6 +1803,12 @@
17991803
"data-disabled": "Present when disabled",
18001804
"data-highlighted": "Present when highlighted"
18011805
},
1806+
"ItemDeleteTrigger": {
1807+
"data-scope": "tags-input",
1808+
"data-part": "item-delete-trigger",
1809+
"data-disabled": "Present when disabled",
1810+
"data-highlighted": "Present when highlighted"
1811+
},
18021812
"ClearTrigger": {
18031813
"data-scope": "tags-input",
18041814
"data-part": "clear-trigger",

0 commit comments

Comments
 (0)