Skip to content

Infra/assets internal #3618

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 18 commits into from
Mar 20, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
627ecbb
Add internal assets module with icons and images
adids1221 Mar 16, 2025
09884c2
Refactor icon imports to use internal assets for consistency
adids1221 Mar 16, 2025
517b077
Refactor asset imports to use internal structure and remove assets.ic…
adids1221 Mar 16, 2025
2219ccb
Add xSmall icon and update ChipsInput to use internal assets
adids1221 Mar 16, 2025
bf5b253
Add transparentSwatch icon and update ColorSwatch component to use it
adids1221 Mar 16, 2025
9c59698
Add dropdown to icons and update useFieldType to utilize internal assets
adids1221 Mar 16, 2025
76d7e03
Add hintTip icons and update Hint component to use internal assets
adids1221 Mar 16, 2025
c25d1e5
Add checkMarkSmall and exclamationSmall icons, update WizardStates to…
adids1221 Mar 16, 2025
1224520
Add gradient overlay images and update Overlay component to use inter…
adids1221 Mar 16, 2025
5bac3cf
Add gradientOverlay image and update ScrollBar component to use it
adids1221 Mar 16, 2025
893c73e
move hint, swatch assets to internal.images
adids1221 Mar 17, 2025
656b0ac
Rename icons.dropdown to icons.chevronDown
adids1221 Mar 17, 2025
d9168a8
Add icons.demo and update references in components screens
adids1221 Mar 17, 2025
f5099c3
rename checkSmall icon file and update icons - index.js reference
adids1221 Mar 17, 2025
64e5930
Merge branch 'master' into infra/Assets_internal
adids1221 Mar 17, 2025
94b12f8
Update ColorSwatch to use internal.images for transparentSwatch
adids1221 Mar 18, 2025
c7e17a0
Merge branch 'master' into infra/Assets_internal
adids1221 Mar 19, 2025
9aee276
Stepper local assets remove, move to Assets
adids1221 Mar 19, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Rename icons.dropdown to icons.chevronDown
  • Loading branch information
adids1221 committed Mar 17, 2025
commit 656b0acdacb19e7f257d33c1870fff7c99bd3112
4 changes: 2 additions & 2 deletions src/assets/internal/icons/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ export const icons = {
get checkSmall() {
return require('./check-small.png');
},
get dropdown() {
return require('./dropdown.png');
get chevronDown() {
return require('./chevronDown.png');
},
get exclamationSmall() {
return require('./exclamationSmall.png');
Expand Down
2 changes: 1 addition & 1 deletion src/components/picker/helpers/useFieldType.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const useFieldType = (props: UseFieldTypeProps) => {
containerStyle: {flexDirection: 'row'},
label,
labelStyle: {...Typography.text70, color: Colors.$textNeutral},
trailingAccessory: trailingAccessory ?? <Icon marginL-s1 source={Assets.internal.icons.dropdown}/>
trailingAccessory: trailingAccessory ?? <Icon marginL-s1 source={Assets.internal.icons.chevronDown}/>
};
} else if (fieldType === PickerFieldTypes.settings) {
return {
Expand Down