Skip to content

Commit

Permalink
Merge branch 'main' into ci/figma-sync
Browse files Browse the repository at this point in the history
  • Loading branch information
Niznikr authored Jan 31, 2025
2 parents 3576c95 + f8c6931 commit 98418b7
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
* @launchdarkly/squad-frontend-foundations
/packages/icons/src @launchdarkly/squad-frontend-foundations @antonio-darkly
/.changeset @launchdarkly/squad-frontend-foundations @antonio-darkly
* @launchdarkly/team-fm-foundations
/packages/icons @launchdarkly/team-fm-foundations @launchdarkly/div-ux
/packages/tokens @launchdarkly/team-fm-foundations @launchdarkly/div-ux
7 changes: 7 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @launchpad-ui/core

## 0.51.11

### Patch Changes

- Updated dependencies [[`1ecd89a`](https://github.com/launchdarkly/launchpad-ui/commit/1ecd89ae0075ebd7fdeeb3f1ace5e0087953e831)]:
- @launchpad-ui/tag@0.3.64

## 0.51.10

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@launchpad-ui/core",
"version": "0.51.10",
"version": "0.51.11",
"status": "beta",
"publishConfig": {
"access": "public"
Expand Down
6 changes: 6 additions & 0 deletions packages/tag/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @launchpad-ui/tag

## 0.3.64

### Patch Changes

- [#1534](https://github.com/launchdarkly/launchpad-ui/pull/1534) [`1ecd89a`](https://github.com/launchdarkly/launchpad-ui/commit/1ecd89ae0075ebd7fdeeb3f1ace5e0087953e831) Thanks [@pheggeseth](https://github.com/pheggeseth)! - Update Tag styles to truncate text content to one line

## 0.3.63

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/tag/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@launchpad-ui/tag",
"version": "0.3.63",
"version": "0.3.64",
"status": "alpha",
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/tag/src/Tag.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const Tag = <T extends object>(props: TagProps<T>) => {
onClick={onClick && (() => onClick(item.key))}
data-test-id="tag"
>
<div className={cx(styles.tagCell)} {...gridCellProps}>
<div className={styles.tagCell} {...gridCellProps}>
<span className={styles.tagContent}>{children}</span>
{allowsRemoving && (
<Tooltip content="Remove" allowBoundaryElementOverflow>
Expand Down
3 changes: 3 additions & 0 deletions packages/tag/src/styles/Tag.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,13 @@ a.tag,
.tagCell {
display: flex;
align-items: center;
min-width: 0px;
}

.tagContent {
padding: 0.25rem 0.125rem 0.25rem 0;
overflow: hidden;
text-overflow: ellipsis;

.tiny & {
padding: 0.09375rem 0.125rem 0.09375rem 0;
Expand Down

0 comments on commit 98418b7

Please sign in to comment.