Skip to content
This repository has been archived by the owner on Aug 6, 2024. It is now read-only.

Commit

Permalink
Merge pull request #678 from appsmithorg/release
Browse files Browse the repository at this point in the history
chore: Release PR
  • Loading branch information
albinAppsmith authored Nov 23, 2023
2 parents f0f2fe5 + 8561987 commit 963c0d0
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/curly-waves-tease.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@appsmithorg/design-system": patch
---

New icons segmented control width
15 changes: 15 additions & 0 deletions packages/design-system/src/Icon/Icon.provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -938,6 +938,18 @@ const Box3LineIcon = importSvg(
() => import("../__assets__/icons/ads/box-3-line.svg"),
);

const QueriesLineIcon = importSvg(
() => import("../__assets__/icons/ads/queries.svg"),
);

const BracesLineIcon = importSvg(
() => import("../__assets__/icons/ads/braces.svg"),
);

const DashboardLineIcon = importSvg(
() => import("../__assets__/icons/ads/dashboard-line.svg"),
);

import PlayIconPNG from "../__assets__/icons/control/play-icon.png";

function PlayIconPNGWrapper() {
Expand Down Expand Up @@ -1217,6 +1229,9 @@ const ICON_LOOKUP = {
"file-copy-2-line": FileCopy2Line,
"box-3-line": Box3LineIcon,
"apps-line": AppsLineIcon,
"queries-line": QueriesLineIcon,
"braces-line": BracesLineIcon,
"dashboard-line": DashboardLineIcon,
billing: BillingIcon,
binding: Binding,
book: BookIcon,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export const StyledSegmentedControl = styled.div<{
border-radius: calc(var(--ads-v2-border-radius) + var(--ads-v2-spaces-1));
box-sizing: border-box;
height: 32px;
width: ${({ isFullWidth }) => (isFullWidth ? "auto" : "max-content")};
width: ${({ isFullWidth }) => (isFullWidth ? "100%" : "max-content")};
`;

export const StyledSegment = styled.span`
Expand Down
3 changes: 3 additions & 0 deletions packages/design-system/src/__assets__/icons/ads/braces.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions packages/design-system/src/__assets__/icons/ads/queries.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

1 comment on commit 963c0d0

@vercel
Copy link

@vercel vercel bot commented on 963c0d0 Nov 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.