Skip to content

Commit

Permalink
feat(ai-label): add ts types (#17295)
Browse files Browse the repository at this point in the history
* fix(ai-label): new tsx extension

* fix(ai-label): add types

* fix(snapshots): update

* fix(prop-mapping): use mapPopoverAlignProp

* fix(popover): restructure

* fix(popover): leave as is

---------

Co-authored-by: Nikhil Tomar <[email protected]>
  • Loading branch information
ariellalgilmore and 2nikhiltom committed Sep 11, 2024
1 parent d430e45 commit cfba956
Show file tree
Hide file tree
Showing 3 changed files with 358 additions and 328 deletions.
56 changes: 2 additions & 54 deletions packages/react/__tests__/__snapshots__/PublicAPI-test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -12,33 +12,7 @@ Map {
"type": "string",
},
"aiTextLabel": [Function],
"align": Object {
"args": Array [
Array [
"top",
"top-left",
"top-start",
"top-right",
"top-end",
"bottom",
"bottom-left",
"bottom-start",
"bottom-right",
"bottom-end",
"left",
"left-bottom",
"left-end",
"left-top",
"left-start",
"right",
"right-bottom",
"right-end",
"right-top",
"right-start",
],
],
"type": "oneOf",
},
"align": [Function],
"aria-label": Object {
"type": "string",
},
Expand Down Expand Up @@ -10952,33 +10926,7 @@ Map {
"type": "string",
},
"aiTextLabel": [Function],
"align": Object {
"args": Array [
Array [
"top",
"top-left",
"top-start",
"top-right",
"top-end",
"bottom",
"bottom-left",
"bottom-start",
"bottom-right",
"bottom-end",
"left",
"left-bottom",
"left-end",
"left-top",
"left-start",
"right",
"right-bottom",
"right-end",
"right-top",
"right-start",
],
],
"type": "oneOf",
},
"align": [Function],
"aria-label": Object {
"type": "string",
},
Expand Down
274 changes: 0 additions & 274 deletions packages/react/src/components/AILabel/index.js

This file was deleted.

Loading

0 comments on commit cfba956

Please sign in to comment.