Skip to content

Commit

Permalink
chore: i-p types (#3557)
Browse files Browse the repository at this point in the history
  • Loading branch information
nkrantz authored Oct 19, 2023
1 parent 6cc2ee4 commit 3f33da8
Show file tree
Hide file tree
Showing 158 changed files with 91,708 additions and 2,028 deletions.
6 changes: 6 additions & 0 deletions .changeset/calm-chicken-switch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@twilio-paste/modal": patch
"@twilio-paste/core": patch
---

[Modal] Improve TsDoc type annotations
6 changes: 6 additions & 0 deletions .changeset/clean-adults-nail.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@twilio-paste/in-page-navigation": patch
"@twilio-paste/core": patch
---

[In Page Navigation] Improved TsDoc type annotations
6 changes: 6 additions & 0 deletions .changeset/clever-cobras-taste.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@twilio-paste/product-switcher": patch
"@twilio-paste/core": patch
---

[Product Switcher] Improve TsDoc type annotations.
6 changes: 6 additions & 0 deletions .changeset/clever-waves-deliver.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@twilio-paste/pagination": patch
"@twilio-paste/core": patch
---

[Pagination] Improved TsDoc type annotations. Fix isHovered and isFocused props usage on PaginationArrow so the passed value is actually used.
6 changes: 6 additions & 0 deletions .changeset/giant-pugs-lie.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@twilio-paste/inline-code": patch
"@twilio-paste/core": patch
---

[Inline Code] Improved TsDoc type annotations
6 changes: 6 additions & 0 deletions .changeset/light-rabbits-smash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@twilio-paste/input": patch
"@twilio-paste/core": patch
---

[Input] Improve TsDoc type annotations
6 changes: 6 additions & 0 deletions .changeset/loud-nails-hope.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@twilio-paste/inline-control-group": patch
"@twilio-paste/core": patch
---

[Inline Control Group] Improve TsDoc type annotations
6 changes: 6 additions & 0 deletions .changeset/plenty-knives-grin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@twilio-paste/paragraph": patch
"@twilio-paste/core": patch
---

[Paragraph] Improve TsDoc type annotations
6 changes: 6 additions & 0 deletions .changeset/pretty-melons-cry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@twilio-paste/progress-steps": patch
"@twilio-paste/core": patch
---

[Progress Steps] Improve TsDoc type annotations
6 changes: 6 additions & 0 deletions .changeset/proud-chicken-march.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@twilio-paste/label": patch
"@twilio-paste/core": patch
---

[Label] Improve TsDoc type annotations
6 changes: 6 additions & 0 deletions .changeset/quick-ravens-rule.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@twilio-paste/popover": minor
"@twilio-paste/core": patch
---

[Popover] Improve TsDoc type annotations
6 changes: 6 additions & 0 deletions .changeset/shiny-plants-doubt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@twilio-paste/minimizable-dialog": patch
"@twilio-paste/core": patch
---

[Minimizable Dialog] Improved TsDoc type annotations
6 changes: 6 additions & 0 deletions .changeset/six-foxes-fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@twilio-paste/meter": patch
"@twilio-paste/core": patch
---

[Meter] Improve TsDoc type annotations
6 changes: 6 additions & 0 deletions .changeset/strange-toes-melt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@twilio-paste/list": patch
"@twilio-paste/core": patch
---

[List] Improve TsDoc type annotations
6 changes: 6 additions & 0 deletions .changeset/ten-bananas-check.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@twilio-paste/progress-bar": patch
"@twilio-paste/core": patch
---

[Progress Bar] Improve TsDoc type annotations
5 changes: 5 additions & 0 deletions .changeset/tiny-eels-worry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@twilio-paste/codemods": minor
---

[Codemods] updated exports for type updates
6 changes: 6 additions & 0 deletions .changeset/two-glasses-laugh.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@twilio-paste/input-box": patch
"@twilio-paste/core": patch
---

[Input Box] Improve TsDoc type annotations
6 changes: 6 additions & 0 deletions .changeset/wild-poems-cry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@twilio-paste/menu": patch
"@twilio-paste/core": patch
---

[Menu] Improve TsDoc type annotations
28 changes: 28 additions & 0 deletions cypress/integration/sitemap-vrt/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,22 +112,50 @@ export const SITEMAP = [
"/components/icon/usage-guidelines/",
"/components/",
"/components/in-page-navigation",
"/components/in-page-navigation/api",
"/components/in-page-navigation/changelog",
"/components/inline-code/",
"/components/inline-code/api",
"/components/inline-code/changelog",
"/components/input/",
"/components/input/api",
"/components/input/changelog",
"/components/label/",
"/components/label/api",
"/components/label/changelog",
"/components/list/",
"/components/list/api",
"/components/list/changelog",
"/components/minimizable-dialog/",
"/components/minimizable-dialog/api",
"/components/minimizable-dialog/changelog",
"/components/media-object/",
"/components/media-object/api",
"/components/media-object/changelog",
"/components/meter",
"/components/meter/api",
"/components/meter/changelog",
"/components/pagination/",
"/components/pagination/api",
"/components/pagination/changelog",
"/components/modal/",
"/components/modal/api",
"/components/modal/changelog",
"/components/menu/",
"/components/menu/api",
"/components/menu/changelog",
"/components/paragraph/",
"/components/paragraph/api",
"/components/paragraph/changelog",
"/components/popover/",
"/components/popover/api",
"/components/popover/changelog",
"/components/product-switcher/",
"/components/product-switcher/api",
"/components/product-switcher/changelog",
"/components/progress-steps/",
"/components/progress-steps/api",
"/components/progress-steps/changelog",
"/components/radio-group/",
"/components/radio-button-group/",
"/components/screen-reader-only/",
Expand Down
4 changes: 0 additions & 4 deletions packages/paste-codemods/tools/.cache/mappings.json
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,6 @@
"ModalFooterActions": "@twilio-paste/core/modal",
"ModalHeader": "@twilio-paste/core/modal",
"ModalHeading": "@twilio-paste/core/modal",
"modalBodyStyles": "@twilio-paste/core/modal",
"modalFooterStyles": "@twilio-paste/core/modal",
"modalHeaderStyles": "@twilio-paste/core/modal",
"useModalContext": "@twilio-paste/core/modal",
"Pagination": "@twilio-paste/core/pagination",
"PaginationArrow": "@twilio-paste/core/pagination",
"PaginationEllipsis": "@twilio-paste/core/pagination",
Expand Down
15 changes: 10 additions & 5 deletions packages/paste-core/components/account-switcher/type-docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,8 @@
"type": "string",
"defaultValue": null,
"required": true,
"externalProp": false
"externalProp": false,
"description": "Accessible label for the button that opens the menu"
},
"last": {
"type": "() => void",
Expand Down Expand Up @@ -4837,7 +4838,8 @@
"type": "string",
"defaultValue": null,
"required": false,
"externalProp": false
"externalProp": false,
"description": "Pass href prop to render an anchor element."
},
"id": {
"type": "string",
Expand Down Expand Up @@ -6783,7 +6785,8 @@
"type": "string",
"defaultValue": null,
"required": false,
"externalProp": false
"externalProp": false,
"description": "Pass href prop to render an anchor element."
},
"id": {
"type": "string",
Expand Down Expand Up @@ -8157,7 +8160,8 @@
"type": "string",
"defaultValue": null,
"required": true,
"externalProp": false
"externalProp": false,
"description": "Accessible name of the MenuGroup."
},
"about": {
"type": "string",
Expand Down Expand Up @@ -8590,7 +8594,8 @@
"type": "| string\n | number\n | boolean\n | ReactElement<any, string | JSXElementConstructor<any>>\n | ReactFragment\n | ReactPortal",
"defaultValue": null,
"required": false,
"externalProp": false
"externalProp": false,
"description": "Pass a decorative Paste icon to display with the group label."
},
"id": {
"type": "string",
Expand Down
9 changes: 6 additions & 3 deletions packages/paste-core/components/checkbox/type-docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -1811,7 +1811,8 @@
"type": "NonNullable<ReactNode>",
"defaultValue": null,
"required": true,
"externalProp": false
"externalProp": false,
"description": "String to render as the label text."
},
"name": {
"type": "string",
Expand Down Expand Up @@ -2250,7 +2251,8 @@
"type": "| string\n | number\n | boolean\n | ReactElement<any, string | JSXElementConstructor<any>>\n | ReactFragment\n | ReactPortal",
"defaultValue": null,
"required": false,
"externalProp": false
"externalProp": false,
"description": "String to render as the error text."
},
"fieldStyleProps": {
"type": "BoxStyleProps",
Expand All @@ -2268,7 +2270,8 @@
"type": "| string\n | number\n | boolean\n | ReactElement<any, string | JSXElementConstructor<any>>\n | ReactFragment\n | ReactPortal",
"defaultValue": null,
"required": false,
"externalProp": false
"externalProp": false,
"description": "String to render as the help text."
},
"hidden": {
"type": "boolean",
Expand Down
Loading

0 comments on commit 3f33da8

Please sign in to comment.