Skip to content
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

refactor: update icons #3274

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 9 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ showcases/patternhub/public/iframe-resizer/*
/packages/foundations/assets/icons/functional/fonts/**/*.svg
/packages/foundations/assets/icons/functional/fonts/**/*.ttf
/packages/foundations/assets/icons/functional/fonts/**/*.woff
/packages/foundations/assets/icons/functional/fonts/**/*.json

/output/stencil/.stencil
/output/stencil/loader
Expand Down
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
581 changes: 400 additions & 181 deletions package-lock.json

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
"dev:vue": "nodemon --watch src --watch overrides -e tsx,ts -x \"npm run compile:vue\"",
"generate:component": "hygen mitosis new",
"generate:docs": "hygen update-docs new",
"generate:icon-types": "tsx ./scripts/generate-icon-types.ts",
"prepack": "npm run copy-assets",
"start": "nodemon --watch src --watch scripts --watch overrides -e js,tsx,ts,scss,json -x \"npm run build\""
},
Expand Down
69 changes: 0 additions & 69 deletions packages/components/scripts/generate-icon-types.ts

This file was deleted.

218 changes: 2 additions & 216 deletions packages/components/src/shared/all-icons.ts
Original file line number Diff line number Diff line change
@@ -1,216 +1,2 @@
/* This file was generated by packages/components/scripts/generate-icon-types.js */
export const ALL_ICONS: string[] = [
'ear',
'ear_disabled',
'person_with_blind_cane',
'person_with_rollator',
'person_with_wheelchair',
'support_dog',
'arrow_down',
'arrow_left',
'arrow_right',
'arrow_up',
'arrow_up_right',
'arrows_horizontal',
'arrows_vertical',
'chevron_down',
'chevron_left',
'chevron_right',
'chevron_up',
'circular_arrows',
'sort_down',
'sort_up',
'undo',
'fast_backward_10',
'fast_backward',
'fast_backward_30',
'fast_backward_empty',
'fast_forward_10',
'fast_forward',
'fast_forward_30',
'fast_forward_empty',
'microphone',
'pause',
'play',
'skip_backward',
'skip_forward',
'stop',
'subtitles',
'volume_disabled',
'volume_down',
'volume_silent',
'volume_up',
'house',
'market',
'train_station',
'cash',
'credit_card',
'discount',
'generic_card',
'gift',
'paragraph_mark',
'sepa',
'shopping_bag',
'shopping_basket',
'shopping_basket_disabled',
'shopping_cart',
'shopping_cart_disabled',
'ticket',
'tickets',
'voucher',
'chat',
'envelope',
'paper_plane',
'speech_bubble',
'speech_bubble_exclamation_mark',
'speech_bubble_question_mark',
'speech_bubbles',
'translation',
'alarm_clock',
'alarm_clock_plus',
'calendar',
'clock',
'camera',
'fax_machine',
'mobile_phone',
'mobile_phone_disabled',
'printer',
'telephone',
'bin',
'block',
'check',
'copy',
'cross',
'dots_drag_and_drop',
'minus',
'pen',
'pin',
'plus',
'save',
'cloud',
'globe',
'leaf',
'moon',
'snow_flake',
'sun',
'water_drop',
'cloud_download',
'cloud_upload',
'document',
'document_check',
'download',
'folder',
'folder_open',
'image',
'link_chain',
'notebook',
'paper_clip',
'upload',
'beverage',
'breakfast',
'cup',
'knife_and_fork',
'cigarette_disabled',
'clothes_hanger',
'hand_washing',
'person',
'persons',
'restricted_mobility_toilet',
'shower',
'shower_men',
'shower_women',
'stroller',
'toilet_men',
'toilet_women',
'toilets',
'toys',
'wc_sign',
'fullscreen',
'fullscreen_exit',
'grid',
'list',
'resize',
'resize_handle_corner',
'sliders_horizontal',
'zoom_in',
'zoom_out',
'db',
's_bahn',
'subway',
'compass',
'location_arrow',
'location_arrow_north',
'location_crosshairs',
'location_pin',
'map',
'map_pin',
'navigation_straight',
'navigation_to_left',
'navigation_to_right',
'navigation_u_turn',
'parking',
'road_sign',
'station',
'mask',
'medical_cross',
'gear_wheel',
'log_in',
'log_out',
'magnifying_glass',
'menu',
'more_horizontal',
'more_vertical',
'bell',
'bell_disabled',
'check_circle',
'cross_circle',
'exclamation_mark_circle',
'exclamation_mark_triangle',
'information_circle',
'question_mark_circle',
'eye',
'eye_disabled',
'fingerprint',
'key',
'lock_closed',
'lock_open',
'shield_check',
'crown',
'face_delighted',
'face_disappointed',
'face_neutral',
'face_sad',
'face_smiling',
'heart',
'share',
'star',
'thumbs_down',
'thumbs_up',
'artificial_intelligence',
'augmented_reality',
'bug',
'database',
'light_bulb',
'power_socket',
'qr_code',
'qr_code_scan',
'speedometer',
'wifi',
'wifi_disabled',
'wrench',
'airplane',
'bike',
'bike_trailer',
'boat',
'bus',
'car',
'electric_car',
'electric_scooter',
'handcart',
'pedestrian',
'scooter',
'ship',
'taxi',
'train',
'train_and_car'
];
/* This file was generated by ./scripts/generate-icon-types.js */
export const ALL_ICONS: string[] = ["ear","ear_disabled","person_with_blind_cane","person_with_rollator","person_with_wheelchair","support_dog","arrows_horizontal","arrows_vertical","arrow_down","arrow_left","arrow_right","arrow_up","arrow_up_right","chevron_down","chevron_left","chevron_right","chevron_up","circular_arrows","sort_down","sort_up","undo","fast_backward_10","fast_backward","fast_backward_30","fast_backward_empty","fast_forward_10","fast_forward","fast_forward_30","fast_forward_empty","microphone","pause","play","skip_backward","skip_forward","stop","subtitles","volume_disabled","volume_down","volume_silent","volume_up","house","market","train_station","cash","credit_card","discount","euro_sign","generic_card","gift","paragraph_mark","sepa","shopping_bag","shopping_basket","shopping_basket_disabled","shopping_cart","shopping_cart_disabled","tickets","ticket","voucher","chat","envelope","paper_plane","speech_bubbles","speech_bubble","speech_bubble_exclamation_mark","speech_bubble_question_mark","translation","alarm_clock","alarm_clock_plus","calendar","clock","camera","fax_machine","mobile_phone","mobile_phone_disabled","printer","telephone","bin","block","check","copy","cross","dots_drag_and_drop","minus","pen","pin","plus","save","cloud","globe","leaf","moon","snow_flake","sun","water_drop","cloud_download","cloud_upload","document","document_check","document_cross","download","folder","folder_open","image","link_chain","notebook","paper_clip","upload","beverage","breakfast","cup","knife_and_fork","cigarette_disabled","clothes_hanger","hand_washing","persons","person","restricted_mobility_toilet","shower","shower_men","shower_women","stroller","toilets","toilet_men","toilet_women","toys","wc_sign","fullscreen","fullscreen_exit","grid","list","resize","resize_handle_corner","sliders_horizontal","zoom_in","zoom_out","db","subway","s_bahn","compass","location_arrow","location_arrow_north","location_crosshairs","location_pin","map","map_pin","navigation_straight","navigation_to_left","navigation_to_right","navigation_u_turn","parking","road_sign","station","mask","medical_cross","gear_wheel","log_in","log_out","magnifying_glass","menu","more_horizontal","more_vertical","bell","bell_disabled","check_circle","cross_circle","exclamation_mark_circle","exclamation_mark_triangle","information_circle","question_mark_circle","eye","eye_disabled","fingerprint","id_card","key","lock_closed","lock_open","shield_check","crown","face_delighted","face_disappointed","face_neutral","face_sad","face_smiling","heart","share","star","thumbs_down","thumbs_up","artificial_intelligence","augmented_reality","bug","database","light_bulb","power_socket","pulse_wave","qr_code","qr_code_scan","speedometer","wifi","wifi_disabled","wrench","airplane","bike","bike_trailer","boat","bus","car","electric_car","electric_scooter","handcart","pedestrian","scooter","ship","taxi","train","train_and_car"];
Loading
Loading