@mindvalley/design-system 0.0.1-development → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -8
- package/dist/index.js +2 -120
- package/dist/index.js.map +1 -1
- package/dist/svg/activity-filled.svg +3 -0
- package/dist/svg/activity-stroke.svg +3 -0
- package/dist/svg/airplay-filled.svg +3 -0
- package/dist/svg/airplay-official-airplay-audio.svg +10 -0
- package/dist/svg/airplay-official-airplay-video.svg +3 -0
- package/dist/svg/airplay-stroke.svg +4 -0
- package/dist/svg/alert-filled-circle.svg +3 -0
- package/dist/svg/alert-filled-octagon.svg +3 -0
- package/dist/svg/alert-filled-triangle.svg +3 -0
- package/dist/svg/alert-stroke-circle.svg +5 -0
- package/dist/svg/alert-stroke-octagon.svg +5 -0
- package/dist/svg/alert-stroke-triangle.svg +5 -0
- package/dist/svg/align-center-filled.svg +3 -0
- package/dist/svg/align-center-stroke.svg +6 -0
- package/dist/svg/align-justify-filled.svg +3 -0
- package/dist/svg/align-justify-stroke.svg +6 -0
- package/dist/svg/align-left-filled.svg +3 -0
- package/dist/svg/align-left-stroke.svg +6 -0
- package/dist/svg/align-right-filled.svg +3 -0
- package/dist/svg/align-right-stroke.svg +6 -0
- package/dist/svg/anchor-filled.svg +3 -0
- package/dist/svg/anchor-stroke.svg +5 -0
- package/dist/svg/announcement_speaker-filled.svg +3 -0
- package/dist/svg/announcement_speaker-stroke.svg +3 -0
- package/dist/svg/aperture-filled.svg +3 -0
- package/dist/svg/aperture-stroke.svg +9 -0
- package/dist/svg/archive-filled.svg +3 -0
- package/dist/svg/archive-stroke.svg +5 -0
- package/dist/svg/arrow-down-circle-filled.svg +3 -0
- package/dist/svg/arrow-down-circle-stroke.svg +5 -0
- package/dist/svg/arrow-down-filled.svg +4 -0
- package/dist/svg/arrow-down-left-filled.svg +5 -0
- package/dist/svg/arrow-down-left-stroke.svg +4 -0
- package/dist/svg/arrow-down-right-filled.svg +5 -0
- package/dist/svg/arrow-down-right-stroke.svg +3 -0
- package/dist/svg/arrow-down-stroke.svg +4 -0
- package/dist/svg/arrow-left-circle-filled.svg +3 -0
- package/dist/svg/arrow-left-circle-stroke.svg +4 -0
- package/dist/svg/arrow-left-filled.svg +3 -0
- package/dist/svg/arrow-left-stroke.svg +3 -0
- package/dist/svg/arrow-right-circle-filled.svg +3 -0
- package/dist/svg/arrow-right-circle-stroke.svg +4 -0
- package/dist/svg/arrow-right-filled.svg +3 -0
- package/dist/svg/arrow-right-stroke.svg +3 -0
- package/dist/svg/arrow-up-circle-filled.svg +3 -0
- package/dist/svg/arrow-up-circle-stroke.svg +4 -0
- package/dist/svg/arrow-up-filled.svg +3 -0
- package/dist/svg/arrow-up-left-filled.svg +3 -0
- package/dist/svg/arrow-up-left-stroke.svg +3 -0
- package/dist/svg/arrow-up-right-filled.svg +3 -0
- package/dist/svg/arrow-up-right-stroke.svg +3 -0
- package/dist/svg/arrow-up-stroke.svg +3 -0
- package/dist/svg/at-sign-filled.svg +3 -0
- package/dist/svg/at-sign-stroke.svg +3 -0
- package/dist/svg/award-filled.svg +3 -0
- package/dist/svg/award-stroke.svg +11 -0
- package/dist/svg/bar-chart-2-filled.svg +3 -0
- package/dist/svg/bar-chart-2-stroke.svg +5 -0
- package/dist/svg/bar-chart-filled.svg +3 -0
- package/dist/svg/bar-chart-stroke.svg +5 -0
- package/dist/svg/battery-charging-filled.svg +3 -0
- package/dist/svg/battery-charging-stroke.svg +3 -0
- package/dist/svg/battery-filled.svg +4 -0
- package/dist/svg/battery-stroke.svg +4 -0
- package/dist/svg/bicycle-filled.svg +3 -0
- package/dist/svg/bicycle-stroke.svg +3 -0
- package/dist/svg/bluetooth-filled.svg +3 -0
- package/dist/svg/bluetooth-stroke.svg +10 -0
- package/dist/svg/bold-filled.svg +3 -0
- package/dist/svg/bold-stroke.svg +4 -0
- package/dist/svg/book-filled.svg +3 -0
- package/dist/svg/book-open-filled.svg +4 -0
- package/dist/svg/book-open-stroke.svg +4 -0
- package/dist/svg/book-stroke.svg +4 -0
- package/dist/svg/bookmark-filled.svg +3 -0
- package/dist/svg/bookmark-stroke.svg +3 -0
- package/dist/svg/box-filled.svg +3 -0
- package/dist/svg/box-stroke.svg +5 -0
- package/dist/svg/briefcase-filled.svg +3 -0
- package/dist/svg/briefcase-stroke.svg +4 -0
- package/dist/svg/calendar-add-filled.svg +3 -0
- package/dist/svg/calendar-add-stroke.svg +3 -0
- package/dist/svg/calendar-filled.svg +3 -0
- package/dist/svg/calendar-stroke.svg +6 -0
- package/dist/svg/calendar-tick1-filled.svg +3 -0
- package/dist/svg/calendar-tick1-stroke.svg +3 -0
- package/dist/svg/calendar-tick2-filled.svg +3 -0
- package/dist/svg/calendar-tick2-stroke.svg +3 -0
- package/dist/svg/calendar-x-filled.svg +3 -0
- package/dist/svg/calendar-x-stroke.svg +3 -0
- package/dist/svg/camera-filled.svg +3 -0
- package/dist/svg/camera-off-filled.svg +10 -0
- package/dist/svg/camera-off-stroke.svg +11 -0
- package/dist/svg/camera-stroke.svg +4 -0
- package/dist/svg/caption-filled.svg +3 -0
- package/dist/svg/caption-stroke.svg +3 -0
- package/dist/svg/car-filled.svg +3 -0
- package/dist/svg/car-stroke.svg +3 -0
- package/dist/svg/carret - down-filled.svg +3 -0
- package/dist/svg/carret - down-stroke.svg +3 -0
- package/dist/svg/carret - left-filled.svg +3 -0
- package/dist/svg/carret - left-stroke.svg +3 -0
- package/dist/svg/carret - right-filled.svg +3 -0
- package/dist/svg/carret - right-stroke.svg +3 -0
- package/dist/svg/carret - up-filled.svg +3 -0
- package/dist/svg/carret - up-stroke.svg +3 -0
- package/dist/svg/cast-filled.svg +3 -0
- package/dist/svg/cast-official-cast-connected.svg +3 -0
- package/dist/svg/cast-official-cast.svg +3 -0
- package/dist/svg/cast-stroke.svg +3 -0
- package/dist/svg/chair-filled.svg +3 -0
- package/dist/svg/chair-stroke.svg +3 -0
- package/dist/svg/check-circle-filled.svg +3 -0
- package/dist/svg/check-circle-stroke.svg +4 -0
- package/dist/svg/check-filled.svg +3 -0
- package/dist/svg/check-square-filled.svg +3 -0
- package/dist/svg/check-square-stroke.svg +4 -0
- package/dist/svg/check-stroke.svg +3 -0
- package/dist/svg/checklist-filled-circle-checked.svg +3 -0
- package/dist/svg/checklist-filled-circle-unchecked.svg +3 -0
- package/dist/svg/checklist-filled-square-checked.svg +3 -0
- package/dist/svg/checklist-filled-square-unchecked.svg +3 -0
- package/dist/svg/checklist-stroke-circle-checked.svg +4 -0
- package/dist/svg/checklist-stroke-circle-unchecked.svg +3 -0
- package/dist/svg/checklist-stroke-square-checked.svg +4 -0
- package/dist/svg/checklist-stroke-square-unchecked.svg +3 -0
- package/dist/svg/chevron-down-filled.svg +3 -0
- package/dist/svg/chevron-down-stroke.svg +3 -0
- package/dist/svg/chevron-left-filled.svg +3 -0
- package/dist/svg/chevron-left-stroke.svg +3 -0
- package/dist/svg/chevron-right-filled.svg +3 -0
- package/dist/svg/chevron-right-stroke.svg +3 -0
- package/dist/svg/chevron-up-filled.svg +3 -0
- package/dist/svg/chevron-up-stroke.svg +3 -0
- package/dist/svg/chevrons-down-filled.svg +3 -0
- package/dist/svg/chevrons-down-stroke.svg +4 -0
- package/dist/svg/chevrons-left-filled.svg +3 -0
- package/dist/svg/chevrons-left-stroke.svg +4 -0
- package/dist/svg/chevrons-right-filled.svg +3 -0
- package/dist/svg/chevrons-right-stroke.svg +4 -0
- package/dist/svg/chevrons-up-filled.svg +3 -0
- package/dist/svg/chevrons-up-stroke.svg +4 -0
- package/dist/svg/chrome-filled.svg +3 -0
- package/dist/svg/chrome-stroke.svg +7 -0
- package/dist/svg/clipboard-filled.svg +3 -0
- package/dist/svg/clipboard-stroke.svg +4 -0
- package/dist/svg/clock-filled.svg +3 -0
- package/dist/svg/clock-stroke.svg +4 -0
- package/dist/svg/cloud-drizzle-filled.svg +3 -0
- package/dist/svg/cloud-drizzle-stroke.svg +16 -0
- package/dist/svg/cloud-filled.svg +10 -0
- package/dist/svg/cloud-lightning-filled.svg +3 -0
- package/dist/svg/cloud-lightning-stroke.svg +11 -0
- package/dist/svg/cloud-off-filled.svg +10 -0
- package/dist/svg/cloud-off-stroke.svg +11 -0
- package/dist/svg/cloud-rain-filled.svg +3 -0
- package/dist/svg/cloud-rain-stroke.svg +13 -0
- package/dist/svg/cloud-snow-filled.svg +3 -0
- package/dist/svg/cloud-snow-stroke.svg +16 -0
- package/dist/svg/cloud-stroke.svg +10 -0
- package/dist/svg/code-filled.svg +3 -0
- package/dist/svg/code-stroke.svg +4 -0
- package/dist/svg/codepen-filled.svg +3 -0
- package/dist/svg/codepen-stroke.svg +7 -0
- package/dist/svg/compass-filled.svg +3 -0
- package/dist/svg/compass-stroke.svg +4 -0
- package/dist/svg/copy-filled.svg +4 -0
- package/dist/svg/copy-stroke.svg +4 -0
- package/dist/svg/corner-down-left-filled.svg +6 -0
- package/dist/svg/corner-down-left-stroke.svg +4 -0
- package/dist/svg/corner-down-right-filled.svg +6 -0
- package/dist/svg/corner-down-right-stroke.svg +4 -0
- package/dist/svg/corner-left-down-filled.svg +6 -0
- package/dist/svg/corner-left-down-stroke.svg +4 -0
- package/dist/svg/corner-left-up-filled.svg +6 -0
- package/dist/svg/corner-left-up-stroke.svg +4 -0
- package/dist/svg/corner-right-down-filled.svg +6 -0
- package/dist/svg/corner-right-down-stroke.svg +4 -0
- package/dist/svg/corner-right-up-filled.svg +6 -0
- package/dist/svg/corner-right-up-stroke.svg +4 -0
- package/dist/svg/corner-up-left-filled.svg +5 -0
- package/dist/svg/corner-up-left-stroke.svg +4 -0
- package/dist/svg/corner-up-right-filled.svg +5 -0
- package/dist/svg/corner-up-right-stroke.svg +4 -0
- package/dist/svg/credit-card-filled.svg +3 -0
- package/dist/svg/credit-card-stroke.svg +6 -0
- package/dist/svg/crop-filled.svg +3 -0
- package/dist/svg/crop-stroke.svg +11 -0
- package/dist/svg/crosshair-filled.svg +3 -0
- package/dist/svg/crosshair-stroke.svg +7 -0
- package/dist/svg/database-filled.svg +6 -0
- package/dist/svg/database-stroke.svg +5 -0
- package/dist/svg/delete-filled.svg +3 -0
- package/dist/svg/delete-stroke.svg +12 -0
- package/dist/svg/discussion-filled.svg +4 -0
- package/dist/svg/discussion-stroke.svg +4 -0
- package/dist/svg/dollar-sign-filled.svg +6 -0
- package/dist/svg/dollar-sign-stroke.svg +4 -0
- package/dist/svg/door-filled.svg +3 -0
- package/dist/svg/door-stroke.svg +3 -0
- package/dist/svg/download-cloud-filled.svg +3 -0
- package/dist/svg/download-cloud-stroke.svg +12 -0
- package/dist/svg/download-filled.svg +3 -0
- package/dist/svg/download-stroke.svg +5 -0
- package/dist/svg/droplet-filled.svg +3 -0
- package/dist/svg/droplet-stroke.svg +3 -0
- package/dist/svg/dumbbell-filled.svg +3 -0
- package/dist/svg/dumbbell-stroke.svg +3 -0
- package/dist/svg/edit-2-filled.svg +3 -0
- package/dist/svg/edit-2-stroke.svg +3 -0
- package/dist/svg/edit-3-filled.svg +4 -0
- package/dist/svg/edit-3-stroke.svg +4 -0
- package/dist/svg/edit-filled.svg +3 -0
- package/dist/svg/edit-stroke.svg +3 -0
- package/dist/svg/emotion-filled.svg +3 -0
- package/dist/svg/emotion-stroke.svg +3 -0
- package/dist/svg/external-link-filled.svg +8 -0
- package/dist/svg/external-link-stroke.svg +5 -0
- package/dist/svg/eye-filled.svg +3 -0
- package/dist/svg/eye-off-filled.svg +10 -0
- package/dist/svg/eye-off-stroke.svg +11 -0
- package/dist/svg/eye-stroke.svg +4 -0
- package/dist/svg/facebook-filled.svg +3 -0
- package/dist/svg/facebook-stroke.svg +3 -0
- package/dist/svg/fast-forward-filled.svg +4 -0
- package/dist/svg/fast-forward-stroke.svg +4 -0
- package/dist/svg/feather-filled.svg +3 -0
- package/dist/svg/feather-stroke.svg +5 -0
- package/dist/svg/file-filled.svg +3 -0
- package/dist/svg/file-minus-filled.svg +3 -0
- package/dist/svg/file-minus-stroke.svg +5 -0
- package/dist/svg/file-plus-filled.svg +3 -0
- package/dist/svg/file-plus-stroke.svg +6 -0
- package/dist/svg/file-stroke.svg +4 -0
- package/dist/svg/file-text-filled.svg +3 -0
- package/dist/svg/file-text-stroke.svg +7 -0
- package/dist/svg/film-filled.svg +3 -0
- package/dist/svg/film-stroke.svg +10 -0
- package/dist/svg/filter-filled.svg +3 -0
- package/dist/svg/filter-stroke.svg +3 -0
- package/dist/svg/flag-filled.svg +4 -0
- package/dist/svg/flag-stroke.svg +4 -0
- package/dist/svg/folder-filled.svg +3 -0
- package/dist/svg/folder-minus-filled.svg +3 -0
- package/dist/svg/folder-minus-stroke.svg +4 -0
- package/dist/svg/folder-plus-filled.svg +3 -0
- package/dist/svg/folder-plus-stroke.svg +5 -0
- package/dist/svg/folder-stroke.svg +3 -0
- package/dist/svg/food-filled.svg +3 -0
- package/dist/svg/food-stroke.svg +3 -0
- package/dist/svg/forward-15-filled.svg +3 -0
- package/dist/svg/forward-15-stroke.svg +3 -0
- package/dist/svg/forward-30-filled.svg +3 -0
- package/dist/svg/forward-30-stroke.svg +3 -0
- package/dist/svg/gift-filled.svg +10 -0
- package/dist/svg/gift-stroke.svg +7 -0
- package/dist/svg/git-branch-filled.svg +3 -0
- package/dist/svg/git-branch-stroke.svg +6 -0
- package/dist/svg/git-commit-filled.svg +10 -0
- package/dist/svg/git-commit-stroke.svg +5 -0
- package/dist/svg/git-merge-filled.svg +3 -0
- package/dist/svg/git-merge-stroke.svg +5 -0
- package/dist/svg/git-pull-request-filled.svg +3 -0
- package/dist/svg/git-pull-request-stroke.svg +6 -0
- package/dist/svg/github-filled.svg +3 -0
- package/dist/svg/github-stroke.svg +10 -0
- package/dist/svg/gitlab-filled.svg +4 -0
- package/dist/svg/gitlab-stroke.svg +10 -0
- package/dist/svg/globe-filled.svg +3 -0
- package/dist/svg/globe-stroke.svg +5 -0
- package/dist/svg/grid-filled.svg +3 -0
- package/dist/svg/grid-stroke.svg +3 -0
- package/dist/svg/hard-drive-filled.svg +3 -0
- package/dist/svg/hard-drive-stroke.svg +4 -0
- package/dist/svg/hash-filled.svg +3 -0
- package/dist/svg/hash-stroke.svg +6 -0
- package/dist/svg/headphones-filled.svg +4 -0
- package/dist/svg/headphones-stroke.svg +4 -0
- package/dist/svg/heart-filled.svg +3 -0
- package/dist/svg/heart-stroke.svg +3 -0
- package/dist/svg/help-circle-filled.svg +3 -0
- package/dist/svg/help-circle-stroke.svg +5 -0
- package/dist/svg/home-filled.svg +3 -0
- package/dist/svg/home-stroke.svg +4 -0
- package/dist/svg/ico-spiritual-filled.svg +3 -0
- package/dist/svg/ico-spiritual-stroke.svg +12 -0
- package/dist/svg/idea light bulb-filled.svg +3 -0
- package/dist/svg/idea light bulb-stroke.svg +4 -0
- package/dist/svg/image-filled.svg +3 -0
- package/dist/svg/image-stroke.svg +5 -0
- package/dist/svg/inbox-filled.svg +3 -0
- package/dist/svg/inbox-stroke.svg +4 -0
- package/dist/svg/info-filled.svg +3 -0
- package/dist/svg/info-stroke.svg +5 -0
- package/dist/svg/instagram-filled.svg +3 -0
- package/dist/svg/instagram-stroke.svg +4 -0
- package/dist/svg/intercom icon-filled.svg +3 -0
- package/dist/svg/intercom icon-stroke.svg +3 -0
- package/dist/svg/italic-filled.svg +3 -0
- package/dist/svg/italic-stroke.svg +5 -0
- package/dist/svg/language-filled.svg +3 -0
- package/dist/svg/language-stroke.svg +3 -0
- package/dist/svg/layers-filled.svg +5 -0
- package/dist/svg/layers-stroke.svg +5 -0
- package/dist/svg/layout-filled.svg +3 -0
- package/dist/svg/layout-stroke.svg +5 -0
- package/dist/svg/life-buoy help-filled.svg +3 -0
- package/dist/svg/life-buoy help-stroke.svg +9 -0
- package/dist/svg/link-2-filled.svg +6 -0
- package/dist/svg/link-2-stroke.svg +4 -0
- package/dist/svg/link-filled.svg +5 -0
- package/dist/svg/link-stroke.svg +4 -0
- package/dist/svg/linkedin-filled.svg +5 -0
- package/dist/svg/linkedin-stroke.svg +5 -0
- package/dist/svg/list-filled.svg +3 -0
- package/dist/svg/list-stroke.svg +8 -0
- package/dist/svg/live support agent headset-filled.svg +3 -0
- package/dist/svg/live support agent headset-stroke.svg +3 -0
- package/dist/svg/loader-filled.svg +4 -0
- package/dist/svg/loader-stroke.svg +10 -0
- package/dist/svg/lock-filled.svg +3 -0
- package/dist/svg/lock-stroke.svg +4 -0
- package/dist/svg/log-in-filled.svg +5 -0
- package/dist/svg/log-in-stroke.svg +5 -0
- package/dist/svg/log-out-filled.svg +5 -0
- package/dist/svg/log-out-stroke.svg +5 -0
- package/dist/svg/mail-filled.svg +3 -0
- package/dist/svg/mail-stroke.svg +4 -0
- package/dist/svg/map-filled.svg +3 -0
- package/dist/svg/map-pin-filled.svg +3 -0
- package/dist/svg/map-pin-stroke.svg +4 -0
- package/dist/svg/map-stroke.svg +5 -0
- package/dist/svg/mask-filled.svg +3 -0
- package/dist/svg/mask-stroke.svg +3 -0
- package/dist/svg/maximize-2-filled.svg +10 -0
- package/dist/svg/maximize-2-stroke.svg +6 -0
- package/dist/svg/maximize-filled.svg +3 -0
- package/dist/svg/maximize-stroke.svg +3 -0
- package/dist/svg/meditation-filled.svg +5 -0
- package/dist/svg/meditation-stroke.svg +5 -0
- package/dist/svg/menu-filled.svg +3 -0
- package/dist/svg/menu-stroke.svg +5 -0
- package/dist/svg/message-circle-filled.svg +3 -0
- package/dist/svg/message-circle-stroke.svg +3 -0
- package/dist/svg/message-square-filled.svg +3 -0
- package/dist/svg/message-square-stroke.svg +3 -0
- package/dist/svg/mic-filled.svg +3 -0
- package/dist/svg/mic-off-filled.svg +10 -0
- package/dist/svg/mic-off-stroke.svg +10 -0
- package/dist/svg/mic-stroke.svg +6 -0
- package/dist/svg/minimize-2-filled.svg +10 -0
- package/dist/svg/minimize-2-stroke.svg +6 -0
- package/dist/svg/minimize-filled.svg +3 -0
- package/dist/svg/minimize-stroke.svg +3 -0
- package/dist/svg/minus-circle-filled.svg +3 -0
- package/dist/svg/minus-circle-stroke.svg +4 -0
- package/dist/svg/minus-filled.svg +3 -0
- package/dist/svg/minus-square-filled.svg +3 -0
- package/dist/svg/minus-square-stroke.svg +4 -0
- package/dist/svg/minus-stroke.svg +3 -0
- package/dist/svg/monitor-filled.svg +3 -0
- package/dist/svg/monitor-stroke.svg +5 -0
- package/dist/svg/moon-filled.svg +3 -0
- package/dist/svg/moon-stroke.svg +3 -0
- package/dist/svg/more-horizontal-filled.svg +3 -0
- package/dist/svg/more-horizontal-stroke.svg +5 -0
- package/dist/svg/more-vertical-filled.svg +3 -0
- package/dist/svg/more-vertical-stroke.svg +5 -0
- package/dist/svg/mountain-filled.svg +11 -0
- package/dist/svg/mountain-stroke.svg +4 -0
- package/dist/svg/move-filled.svg +14 -0
- package/dist/svg/move-stroke.svg +8 -0
- package/dist/svg/music-filled.svg +4 -0
- package/dist/svg/music-stroke.svg +4 -0
- package/dist/svg/navigation-2-filled.svg +3 -0
- package/dist/svg/navigation-2-stroke.svg +3 -0
- package/dist/svg/navigation-filled.svg +3 -0
- package/dist/svg/navigation-stroke.svg +3 -0
- package/dist/svg/notification bell-filled.svg +3 -0
- package/dist/svg/notification bell-off-filled.svg +10 -0
- package/dist/svg/notification bell-off-stroke.svg +5 -0
- package/dist/svg/notification bell-stroke.svg +4 -0
- package/dist/svg/octagon-filled.svg +3 -0
- package/dist/svg/octagon-stroke.svg +3 -0
- package/dist/svg/package-filled.svg +3 -0
- package/dist/svg/package-stroke.svg +6 -0
- package/dist/svg/paperclip-filled.svg +3 -0
- package/dist/svg/paperclip-stroke.svg +3 -0
- package/dist/svg/parenting-filled.svg +3 -0
- package/dist/svg/parenting-stroke.svg +3 -0
- package/dist/svg/past-filled.svg +3 -0
- package/dist/svg/past-replay-filled.svg +3 -0
- package/dist/svg/past-replay-stroke.svg +3 -0
- package/dist/svg/past-stroke.svg +3 -0
- package/dist/svg/pause-circle-filled.svg +3 -0
- package/dist/svg/pause-circle-stroke.svg +5 -0
- package/dist/svg/pause-filled.svg +4 -0
- package/dist/svg/pause-stroke.svg +4 -0
- package/dist/svg/percent-filled.svg +3 -0
- package/dist/svg/percent-stroke.svg +5 -0
- package/dist/svg/phone chat message sms-filled.svg +3 -0
- package/dist/svg/phone chat message sms-stroke.svg +12 -0
- package/dist/svg/phone-filled.svg +3 -0
- package/dist/svg/phone-status-filled-call.svg +10 -0
- package/dist/svg/phone-status-filled-forwarding.svg +4 -0
- package/dist/svg/phone-status-filled-incoming.svg +11 -0
- package/dist/svg/phone-status-filled-missed.svg +11 -0
- package/dist/svg/phone-status-filled-off.svg +3 -0
- package/dist/svg/phone-status-filled-outgoing.svg +4 -0
- package/dist/svg/phone-status-stroke-call.svg +10 -0
- package/dist/svg/phone-status-stroke-forwarding.svg +4 -0
- package/dist/svg/phone-status-stroke-incoming.svg +11 -0
- package/dist/svg/phone-status-stroke-missed.svg +11 -0
- package/dist/svg/phone-status-stroke-off.svg +11 -0
- package/dist/svg/phone-status-stroke-outgoing.svg +4 -0
- package/dist/svg/phone-stroke.svg +3 -0
- package/dist/svg/pie-chart-filled.svg +3 -0
- package/dist/svg/pie-chart-stroke.svg +4 -0
- package/dist/svg/pin-filled.svg +10 -0
- package/dist/svg/pin-stroke.svg +10 -0
- package/dist/svg/pip-filled.svg +3 -0
- package/dist/svg/pip-return-filled.svg +3 -0
- package/dist/svg/pip-return-stroke.svg +3 -0
- package/dist/svg/pip-stroke.svg +7 -0
- package/dist/svg/plane-departure-filled.svg +10 -0
- package/dist/svg/plane-departure-stroke.svg +10 -0
- package/dist/svg/plane-filled.svg +3 -0
- package/dist/svg/plane-stroke.svg +3 -0
- package/dist/svg/play-circle-filled.svg +3 -0
- package/dist/svg/play-circle-stroke.svg +4 -0
- package/dist/svg/play-filled.svg +3 -0
- package/dist/svg/play-stroke.svg +3 -0
- package/dist/svg/plug-filled.svg +3 -0
- package/dist/svg/plug-stroke.svg +3 -0
- package/dist/svg/plus-circle-filled.svg +3 -0
- package/dist/svg/plus-circle-stroke.svg +5 -0
- package/dist/svg/plus-filled.svg +3 -0
- package/dist/svg/plus-square-filled.svg +3 -0
- package/dist/svg/plus-square-stroke.svg +5 -0
- package/dist/svg/plus-stroke.svg +4 -0
- package/dist/svg/pocket-filled.svg +3 -0
- package/dist/svg/pocket-stroke.svg +4 -0
- package/dist/svg/post-filled.svg +3 -0
- package/dist/svg/post-stroke.svg +3 -0
- package/dist/svg/power-filled.svg +3 -0
- package/dist/svg/power-stroke.svg +4 -0
- package/dist/svg/printer-filled.svg +3 -0
- package/dist/svg/printer-stroke.svg +5 -0
- package/dist/svg/radio-button-selected 1.svg +4 -0
- package/dist/svg/radio-button-selected 2.svg +3 -0
- package/dist/svg/radio-button-unselected.svg +3 -0
- package/dist/svg/radio-filled.svg +3 -0
- package/dist/svg/radio-stroke.svg +4 -0
- package/dist/svg/read-receipt-filled.svg +3 -0
- package/dist/svg/read-receipt-stroke.svg +3 -0
- package/dist/svg/refresh-ccw-filled.svg +12 -0
- package/dist/svg/refresh-ccw-stroke.svg +12 -0
- package/dist/svg/refresh-cw-filled.svg +15 -0
- package/dist/svg/refresh-cw-stroke.svg +12 -0
- package/dist/svg/repeat-filled.svg +17 -0
- package/dist/svg/repeat-stroke.svg +13 -0
- package/dist/svg/rewind-15-filled.svg +3 -0
- package/dist/svg/rewind-15-stroke.svg +3 -0
- package/dist/svg/rewind-30-filled.svg +3 -0
- package/dist/svg/rewind-30-stroke.svg +3 -0
- package/dist/svg/rewind-filled.svg +4 -0
- package/dist/svg/rewind-stroke.svg +4 -0
- package/dist/svg/rotate-ccw-filled.svg +11 -0
- package/dist/svg/rotate-ccw-stroke.svg +11 -0
- package/dist/svg/rotate-cw-filled.svg +11 -0
- package/dist/svg/rotate-cw-stroke.svg +11 -0
- package/dist/svg/rss-filled.svg +3 -0
- package/dist/svg/rss-stroke.svg +5 -0
- package/dist/svg/run-filled.svg +3 -0
- package/dist/svg/run-stroke.svg +4 -0
- package/dist/svg/save-filled.svg +3 -0
- package/dist/svg/save-stroke.svg +5 -0
- package/dist/svg/scissors-filled.svg +3 -0
- package/dist/svg/scissors-stroke.svg +7 -0
- package/dist/svg/search-filled.svg +3 -0
- package/dist/svg/search-stroke.svg +4 -0
- package/dist/svg/send-filled.svg +3 -0
- package/dist/svg/send-stroke.svg +4 -0
- package/dist/svg/server-filled.svg +4 -0
- package/dist/svg/server-stroke.svg +4 -0
- package/dist/svg/server-style3.svg +4 -0
- package/dist/svg/settings-filled.svg +3 -0
- package/dist/svg/settings-stroke.svg +4 -0
- package/dist/svg/share-2-filled.svg +7 -0
- package/dist/svg/share-2-stroke.svg +7 -0
- package/dist/svg/share-filled.svg +5 -0
- package/dist/svg/share-stroke.svg +5 -0
- package/dist/svg/shield-filled.svg +3 -0
- package/dist/svg/shield-off-filled.svg +10 -0
- package/dist/svg/shield-off-stroke.svg +12 -0
- package/dist/svg/shield-stroke.svg +3 -0
- package/dist/svg/shopping-bag-filled.svg +3 -0
- package/dist/svg/shopping-bag-stroke.svg +5 -0
- package/dist/svg/shopping-cart-filled.svg +10 -0
- package/dist/svg/shopping-cart-stroke.svg +12 -0
- package/dist/svg/shuffle-filled.svg +12 -0
- package/dist/svg/shuffle-stroke.svg +7 -0
- package/dist/svg/sidebar-filled.svg +3 -0
- package/dist/svg/sidebar-stroke.svg +4 -0
- package/dist/svg/skip-back-filled.svg +4 -0
- package/dist/svg/skip-back-stroke.svg +4 -0
- package/dist/svg/skip-forward-filled.svg +4 -0
- package/dist/svg/skip-forward-stroke.svg +4 -0
- package/dist/svg/slack-filled.svg +10 -0
- package/dist/svg/slack-stroke.svg +14 -0
- package/dist/svg/slash-filled.svg +3 -0
- package/dist/svg/slash-stroke.svg +4 -0
- package/dist/svg/sliders-filled.svg +3 -0
- package/dist/svg/sliders-stroke.svg +11 -0
- package/dist/svg/smartphone-filled.svg +3 -0
- package/dist/svg/smartphone-stroke.svg +4 -0
- package/dist/svg/speaker-filled.svg +3 -0
- package/dist/svg/speaker-stroke.svg +4 -0
- package/dist/svg/star-filled.svg +3 -0
- package/dist/svg/star-stroke.svg +3 -0
- package/dist/svg/sun-filled.svg +3 -0
- package/dist/svg/sun-stroke.svg +11 -0
- package/dist/svg/sunrise-filled.svg +10 -0
- package/dist/svg/sunrise-stroke.svg +10 -0
- package/dist/svg/sunset-filled.svg +10 -0
- package/dist/svg/sunset-stroke.svg +10 -0
- package/dist/svg/table-filled.svg +3 -0
- package/dist/svg/table-stroke.svg +3 -0
- package/dist/svg/tablet-filled.svg +3 -0
- package/dist/svg/tablet-stroke.svg +4 -0
- package/dist/svg/tag-filled.svg +3 -0
- package/dist/svg/tag-stroke.svg +3 -0
- package/dist/svg/target-filled.svg +3 -0
- package/dist/svg/target-stroke.svg +5 -0
- package/dist/svg/terminal-filled.svg +3 -0
- package/dist/svg/terminal-stroke.svg +4 -0
- package/dist/svg/thermometer-filled.svg +10 -0
- package/dist/svg/thermometer-stroke.svg +10 -0
- package/dist/svg/thumbs-down-filled.svg +3 -0
- package/dist/svg/thumbs-down-stroke.svg +3 -0
- package/dist/svg/thumbs-up-filled.svg +3 -0
- package/dist/svg/thumbs-up-stroke.svg +3 -0
- package/dist/svg/ticket-filled.svg +3 -0
- package/dist/svg/ticket-stroke.svg +3 -0
- package/dist/svg/toggle-left-filled.svg +3 -0
- package/dist/svg/toggle-left-stroke.svg +4 -0
- package/dist/svg/toggle-right-filled.svg +3 -0
- package/dist/svg/toggle-right-stroke.svg +4 -0
- package/dist/svg/trash-2-filled.svg +3 -0
- package/dist/svg/trash-2-stroke.svg +6 -0
- package/dist/svg/trash-filled.svg +4 -0
- package/dist/svg/trash-stroke.svg +4 -0
- package/dist/svg/trending-down-filled.svg +5 -0
- package/dist/svg/trending-down-stroke.svg +11 -0
- package/dist/svg/trending-up-filled.svg +5 -0
- package/dist/svg/trending-up-stroke.svg +11 -0
- package/dist/svg/triangle-filled.svg +3 -0
- package/dist/svg/triangle-stroke.svg +3 -0
- package/dist/svg/truck-filled.svg +3 -0
- package/dist/svg/truck-stroke.svg +6 -0
- package/dist/svg/tv-filled.svg +4 -0
- package/dist/svg/tv-stroke.svg +4 -0
- package/dist/svg/twitter-filled.svg +10 -0
- package/dist/svg/twitter-stroke.svg +10 -0
- package/dist/svg/type-filled.svg +3 -0
- package/dist/svg/type-stroke.svg +5 -0
- package/dist/svg/umbrella-filled.svg +10 -0
- package/dist/svg/umbrella-stroke.svg +10 -0
- package/dist/svg/underline-filled.svg +3 -0
- package/dist/svg/underline-stroke.svg +4 -0
- package/dist/svg/unlock-filled.svg +4 -0
- package/dist/svg/unlock-stroke.svg +4 -0
- package/dist/svg/upload-cloud-filled.svg +6 -0
- package/dist/svg/upload-cloud-stroke.svg +13 -0
- package/dist/svg/upload-filled.svg +5 -0
- package/dist/svg/upload-stroke.svg +5 -0
- package/dist/svg/user-check-filled.svg +10 -0
- package/dist/svg/user-check-stroke.svg +5 -0
- package/dist/svg/user-filled.svg +3 -0
- package/dist/svg/user-minus-filled.svg +3 -0
- package/dist/svg/user-minus-stroke.svg +5 -0
- package/dist/svg/user-plus-filled.svg +3 -0
- package/dist/svg/user-plus-stroke.svg +6 -0
- package/dist/svg/user-stroke.svg +4 -0
- package/dist/svg/user-time-filled.svg +5 -0
- package/dist/svg/user-time-stroke.svg +3 -0
- package/dist/svg/user-x-filled.svg +10 -0
- package/dist/svg/user-x-stroke.svg +6 -0
- package/dist/svg/users-filled.svg +3 -0
- package/dist/svg/users-stroke.svg +6 -0
- package/dist/svg/video-filled.svg +3 -0
- package/dist/svg/video-off-filled.svg +10 -0
- package/dist/svg/video-off-stroke.svg +11 -0
- package/dist/svg/video-stroke.svg +4 -0
- package/dist/svg/voicemail-filled.svg +3 -0
- package/dist/svg/voicemail-stroke.svg +5 -0
- package/dist/svg/volume-1-filled.svg +3 -0
- package/dist/svg/volume-1-stroke.svg +4 -0
- package/dist/svg/volume-2-filled.svg +3 -0
- package/dist/svg/volume-2-stroke.svg +4 -0
- package/dist/svg/volume-filled.svg +3 -0
- package/dist/svg/volume-stroke.svg +3 -0
- package/dist/svg/volume-x-filled.svg +5 -0
- package/dist/svg/volume-x-stroke.svg +5 -0
- package/dist/svg/watch-filled.svg +3 -0
- package/dist/svg/watch-stroke.svg +4 -0
- package/dist/svg/water-glass-filled.svg +3 -0
- package/dist/svg/water-glass-stroke.svg +3 -0
- package/dist/svg/wifi-filled.svg +3 -0
- package/dist/svg/wifi-off-filled.svg +10 -0
- package/dist/svg/wifi-off-stroke.svg +16 -0
- package/dist/svg/wifi-stroke.svg +6 -0
- package/dist/svg/wind-filled.svg +4 -0
- package/dist/svg/wind-stroke.svg +3 -0
- package/dist/svg/x-circle-filled.svg +3 -0
- package/dist/svg/x-circle-stroke.svg +5 -0
- package/dist/svg/x-filled.svg +3 -0
- package/dist/svg/x-stroke.svg +4 -0
- package/dist/svg/youtube-filled.svg +10 -0
- package/dist/svg/youtube-stroke.svg +11 -0
- package/dist/svg/zap-filled.svg +3 -0
- package/dist/svg/zap-off-filled.svg +10 -0
- package/dist/svg/zap-off-stroke.svg +13 -0
- package/dist/svg/zap-stroke.svg +3 -0
- package/dist/svg/zoom-in-filled.svg +3 -0
- package/dist/svg/zoom-in-stroke.svg +6 -0
- package/dist/svg/zoom-out-filled.svg +3 -0
- package/dist/svg/zoom-out-stroke.svg +5 -0
- package/dist/svg-sprite/svg-defs.svg +1 -0
- package/docs/CONTRIBUTION.md +29 -25
- package/docs/RELEASING.md +10 -10
- package/docs/USAGE.md +4 -5
- package/package.json +15 -6
- package/.github/workflows/release.yml +0 -29
- package/.tool-versions +0 -1
- package/__tests__/utilities/transforms.test.js +0 -24
- package/babel.config.js +0 -4
- package/build.js +0 -18
- package/config.json +0 -22
- package/src/build/js/colors.js +0 -62
- package/src/index.js +0 -1
- package/src/properties/color-token.json +0 -169
- package/src/utilities/transformGroups.js +0 -17
- package/src/utilities/transforms.js +0 -25
- package/webpack.config.js +0 -34
package/docs/CONTRIBUTION.md
CHANGED
|
@@ -1,31 +1,35 @@
|
|
|
1
1
|
## 🤝 Contributing [](http://makeapullrequest.com)
|
|
2
2
|
Before you get your hands dirty, let's first understand how the repo works and its structure. We are going to look at:
|
|
3
|
-
* What happens in the repo and its inputs and outputs: Jump to [
|
|
4
|
-
* How the repo is structured and its core parts:
|
|
3
|
+
* What happens in the repo and its inputs and outputs: Jump to [Token transformation](#-token-transformation-process)
|
|
4
|
+
* How the repo is structured and its core parts: See [Directory structure](#-directory-structure)
|
|
5
5
|
|
|
6
6
|
#### 🏭 Token transformation process
|
|
7
7
|
Token transformation on a high level involves the four steps illustrated below:
|
|
8
8
|
|
|
9
|
-

|
|
10
10
|
|
|
11
11
|
##### 1. The design tokens:
|
|
12
|
-
|
|
12
|
+
This is the starting point of the design token transformation process. This step is how the design tokens get into the repo. For example, If there are changes in the Figma design system to the value of a color, then this would be where we would need to update the token. For simplicity, it is just a directory with some design tokens in a JSON file. More details in the [`src/properties`](#srcproperties) directory documentation.
|
|
13
13
|
|
|
14
14
|
##### 2. Parsing and transformation:
|
|
15
|
-
Using [style-dictonary](https://amzn.github.io/style-dictionary/#/version_3), the design tokens from 1 above are parsed, merged, and transformed into desired formats. The output is a `.js` file. The output is configurable and can be extented to `.css`, `.scss`, `.less` files etc. in the future. See all
|
|
15
|
+
Using [style-dictonary](https://amzn.github.io/style-dictionary/#/version_3), the design tokens from (1) above are parsed, merged, and transformed into desired formats. The output is a `.js` file. The output is configurable and can be extented to `.css`, `.scss`, `.less` files etc. in the future. See [all possible output file formats](https://amzn.github.io/style-dictionary/#/formats).
|
|
16
16
|
The output of this step ends up in the [`src/build/`](#srcbuild) directory.
|
|
17
|
-
|
|
17
|
+
Parsing and transformation can be triggered by running:
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
```
|
|
20
|
+
npm run styledictonary:build
|
|
21
|
+
```
|
|
20
22
|
|
|
21
23
|
##### 3. Bundling:
|
|
22
|
-
Bundling is done using [webpack](https://webpack.js.org/concepts) to ensure the
|
|
24
|
+
Bundling is done using [webpack](https://webpack.js.org/concepts) to ensure the resultant files work across browser and server environments. The files from step 2 are bundled and output to the [/dist](#dist) directory.
|
|
23
25
|
Bundling can be invoked by running:
|
|
24
26
|
|
|
25
|
-
|
|
27
|
+
```
|
|
28
|
+
npm run build
|
|
29
|
+
```
|
|
26
30
|
|
|
27
31
|
##### 4. Publishing:
|
|
28
|
-
|
|
32
|
+
The last in the process is releasing and publishing the bundled files. This step is automated and runs on CI, ensuring that changes made are tested, versioned, and comprehensively documented. All this is done with the help of [semantic release](https://semantic-release.gitbook.io/semantic-release/). Read more about the [release process](RELEASING.md#releasing-🚀).
|
|
29
33
|
The end package is published to NPM where it can be installed from.
|
|
30
34
|
|
|
31
35
|
#### 🗂 Directory structure
|
|
@@ -64,21 +68,21 @@ Let's look at some important directories.
|
|
|
64
68
|
```
|
|
65
69
|
###### src/properties/
|
|
66
70
|
This is the source of the design tokens. For now, we have the tokens checked in as JSON files.
|
|
67
|
-
The process of updating the payload is manual implying that when there are changes in the tokens, one must
|
|
71
|
+
The process of updating the payload is manual, implying that when there are changes in the tokens, one must get the updated token from the [figma colors file](https://www.figma.com/file/Gmdp0kAAYsmBgCthFjGkpY/MV-Core?node-id=6437%3A207257) and update the files in this directory.
|
|
68
72
|
|
|
69
|
-
*Yes
|
|
73
|
+
*Yes, it's a manual step for now, automation will follow later.*
|
|
70
74
|
|
|
71
75
|
###### src/build/
|
|
72
|
-
This is the output of the design token transformation process. **
|
|
76
|
+
This is the output of the design token transformation process. **DO NOT** manually edit the contents of this folder as they are the output of running the [bundling step](#3-bundling).
|
|
73
77
|
|
|
74
78
|
###### src/utilities
|
|
75
|
-
Holds the custom [transformations](https://amzn.github.io/style-dictionary/#/transforms) and [transformation groups](https://amzn.github.io/style-dictionary/#/transform_groups) which in a nutshell are how we transform the json files the `src/properties/` directory into the desired output file format in `src/build/`
|
|
79
|
+
Holds the custom [transformations](https://amzn.github.io/style-dictionary/#/transforms) and [transformation groups](https://amzn.github.io/style-dictionary/#/transform_groups) which in a nutshell, are how we transform the json files in the `src/properties/` directory into the desired output file format in the `src/build/` directory.
|
|
76
80
|
|
|
77
81
|
###### dist
|
|
78
|
-
|
|
82
|
+
It's the output directory of the Webpack build process and is not checked in for versioning.
|
|
79
83
|
|
|
80
84
|
###### test
|
|
81
|
-
For
|
|
85
|
+
For tests, because code that cannot be tested is flawed. 🤷🏽♂️
|
|
82
86
|
|
|
83
87
|
#### ⌨️ Start development
|
|
84
88
|
To get started with development, start by cloning the mv-design-system repo.
|
|
@@ -97,30 +101,30 @@ This repo uses `npm` as the package manager
|
|
|
97
101
|
##### Making commits
|
|
98
102
|
|
|
99
103
|
After making changes, stage your changes by issuing the standard `git add <filename>`, or however you stage your files.
|
|
100
|
-
For commits, we leverage the power of conventional commits using commitizen.
|
|
104
|
+
For commits, we leverage the power of conventional commits using [Commitizen](https://github.com/commitizen/cz-cli).
|
|
101
105
|
|
|
102
|
-
**Why use conventional commits?** To enable automation of releases, semantic versioning and release notes auto-generation.
|
|
106
|
+
**Why use conventional commits?** To enable automation of releases, semantic versioning, and release notes auto-generation.
|
|
103
107
|
|
|
104
108
|
To make a commit, run the command below:
|
|
105
109
|
```
|
|
106
110
|
npm run commit
|
|
107
111
|
```
|
|
108
112
|
|
|
109
|
-
This will trigger a command line interface and all you have to do is answer the prompted questions which includes a
|
|
113
|
+
This will trigger a command line interface and all you have to do is answer the prompted questions which includes a Jira ticket ID number.
|
|
110
114
|
|
|
111
115
|

|
|
112
116
|
|
|
113
|
-
If your branch name has a Jira ticket
|
|
117
|
+
If your branch name has a Jira ticket ID already included, then the prompt automatically extracts it.
|
|
114
118
|
|
|
115
|
-
Though using `npm run commit` is highly recommended for this repo, you can alternatively write your commit without the
|
|
119
|
+
Though using `npm run commit` is highly recommended for this repo, you can alternatively write your commit without the Commitizen helper by ensuring you
|
|
116
120
|
follow the conventional commits conventions.
|
|
117
121
|
```
|
|
118
122
|
type(scope): commit-message
|
|
119
123
|
|
|
120
|
-
|
|
124
|
+
Jira-Issue-ID
|
|
121
125
|
```
|
|
122
126
|
|
|
123
|
-
The
|
|
127
|
+
The commit type has to be one of:
|
|
124
128
|
- `feat`: A new feature
|
|
125
129
|
- `fix`: A bug fix
|
|
126
130
|
- `docs`: Documentation only changes
|
|
@@ -143,7 +147,7 @@ MVHOME-765
|
|
|
143
147
|
|
|
144
148
|
Once your commits are done, you can do a normal push to remote.
|
|
145
149
|
|
|
146
|
-
Read more on [commit conventions](https://www.conventionalcommits.org/en/v1.0.0-beta.4/)
|
|
150
|
+
Read more on [commit conventions](https://www.conventionalcommits.org/en/v1.0.0-beta.4/).
|
|
147
151
|
##### Branch naming
|
|
148
152
|
|
|
149
153
|
Branch names start with the Jira ticket ID eg.
|
|
@@ -174,4 +178,4 @@ npm run build
|
|
|
174
178
|
|
|
175
179
|
You can test it out on your development environment to see the output.
|
|
176
180
|
|
|
177
|
-
Once your changes are made and merged, they'll need to be published. See how that is done in the [release guide](RELEASING.md#releasing-🚀)
|
|
181
|
+
Once your changes are made and merged, they'll need to be published. See how that is done in the [release guide](RELEASING.md#releasing-🚀).
|
package/docs/RELEASING.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
## Releasing 🚀
|
|
2
2
|
|
|
3
|
-
By default semantic-release uses the [Angular Commit Message Conventions](https://www.conventionalcommits.org/en/v1.0.0-beta.4/) and triggers releases based on the following rules:
|
|
3
|
+
By default, semantic-release uses the [Angular Commit Message Conventions](https://www.conventionalcommits.org/en/v1.0.0-beta.4/) and triggers releases based on the following rules:
|
|
4
4
|
|
|
5
5
|
| Commit | Release Type | Semver update type |
|
|
6
6
|
|-----------------------------|------------------|----------------------------------|
|
|
@@ -11,20 +11,20 @@ By default semantic-release uses the [Angular Commit Message Conventions](https:
|
|
|
11
11
|
|
|
12
12
|
Only the above type of commits will trigger a release.
|
|
13
13
|
|
|
14
|
-
On merging to the main branch, several things will happen
|
|
15
|
-
1. Semantic release will start by analyzing the commit messages of the merged changes based on the commit messages
|
|
16
|
-
2. Determine what kind release it is
|
|
14
|
+
On merging to the main branch, several things will happen:
|
|
15
|
+
1. Semantic release will start by analyzing the commit messages of the merged changes based on the commit messages.
|
|
16
|
+
2. Determine what kind of release it is based on the table above.
|
|
17
17
|
3. Generate a changelog for the new changes and generate the new package version number.
|
|
18
|
-
4.
|
|
18
|
+
4. Thereafter a git release will be prepared and pushed to the repo together with the Changelog and package.json version update.
|
|
19
19
|
5. The new package is then published to npm.
|
|
20
20
|
|
|
21
|
-
More detailed explanation can be found on the [semantic release steps documentation](https://semantic-release.gitbook.io/semantic-release/#release-steps)
|
|
21
|
+
More detailed explanation can be found on the [semantic release steps documentation](https://semantic-release.gitbook.io/semantic-release/#release-steps).
|
|
22
22
|
|
|
23
|
-
After release and publishing, the package should be available as a [scoped npm package](https://docs.npmjs.com/creating-and-publishing-scoped-public-packages) and is on npm as [@mindvalley/design-system](https://www.npmjs.com/package/@mindvalley/design-system)
|
|
23
|
+
After release and publishing, the package should be available as a [scoped npm package](https://docs.npmjs.com/creating-and-publishing-scoped-public-packages) and is on npm as [@mindvalley/design-system](https://www.npmjs.com/package/@mindvalley/design-system).
|
|
24
24
|
|
|
25
|
-
Jump to [usage]() to understand how to use the published package in your repo.
|
|
25
|
+
Jump to the [usage guide](USAGE.md) to understand how to use the published package in your repo.
|
|
26
26
|
|
|
27
27
|
##### 💡 Note:
|
|
28
28
|
The above steps should all happen with no human intervention.
|
|
29
|
-
However, for now, the steps 1 - 5 do happen on the CI/CD pipeline but due to some
|
|
30
|
-
For that reason
|
|
29
|
+
However, for now, the steps 1 - 5 do happen on the CI/CD pipeline, but due to some issues with GitHub permissions, the automation has errors on steps 4 and 5, which means the release, semantic versioning, and npm publishing does not work automatically.
|
|
30
|
+
For that reason, the releases will be manual for the time being, as the permissions get settled with the Infra Team.
|
package/docs/USAGE.md
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
## Installation
|
|
2
2
|
|
|
3
3
|
#### Using npm or yarn
|
|
4
|
-
We recommend using npm or yarn to install
|
|
5
|
-
to take advantage of the rich ecosystem of Javascript packages and tooling.
|
|
4
|
+
We recommend using either npm or yarn to install, as per your own preference.
|
|
6
5
|
|
|
7
6
|
```
|
|
8
7
|
$ npm install @mindvalley/design-system
|
|
@@ -32,7 +31,7 @@ To use the colors from the design system there are two options.
|
|
|
32
31
|
###### 1. TailwindCSS
|
|
33
32
|
If you use TailwindCSS in your project, using the colors is a simple two-step process:
|
|
34
33
|
|
|
35
|
-
1. Install the
|
|
34
|
+
1. Install the design system. See [installation](#using-npm-or-yarn).
|
|
36
35
|
2. Use the [commonJS syntax](#commonjs-syntax) to include the colors and extend your `tailwind.config.js`.
|
|
37
36
|
|
|
38
37
|
*Example tailwind.config.js*
|
|
@@ -52,8 +51,8 @@ If you use TailwindCSS in your project, using the colors is a simple two-step pr
|
|
|
52
51
|
If you'd like other custom names, you can make [tailwindcss color customizations](https://tailwindcss.com/docs/customizing-colors#using-the-default-colors) to the provided values and use them in your code.
|
|
53
52
|
|
|
54
53
|
###### 2. Using CSS-in-JS
|
|
55
|
-
1. Install the
|
|
56
|
-
2. Use the [ES module](#es-module-syntax) syntax to import your module and include it your code.
|
|
54
|
+
1. Install the design system. See [installation](#using-npm-or-yarn).
|
|
55
|
+
2. Use the [ES module](#es-module-syntax) syntax to import your module and include it in your code.
|
|
57
56
|
|
|
58
57
|
*Sample usage in a react app*
|
|
59
58
|
```Javascript
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mindvalley/design-system",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "Resources, components, design guidelines and tooling for Mindvalley's design system",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"design-system",
|
|
@@ -19,8 +19,12 @@
|
|
|
19
19
|
"license": "MIT",
|
|
20
20
|
"author": "Mindvalley Developers and Designers",
|
|
21
21
|
"main": "dist/index.js",
|
|
22
|
+
"files": [
|
|
23
|
+
"dist",
|
|
24
|
+
"docs"
|
|
25
|
+
],
|
|
22
26
|
"scripts": {
|
|
23
|
-
"build": "webpack --mode production",
|
|
27
|
+
"build": "npm run styledictonary:build && webpack --mode production",
|
|
24
28
|
"commit": "cz",
|
|
25
29
|
"commitmsg": "validate-commit-msg",
|
|
26
30
|
"semantic-release": "semantic-release",
|
|
@@ -64,22 +68,27 @@
|
|
|
64
68
|
"devDependencies": {
|
|
65
69
|
"@babel/core": "^7.14.0",
|
|
66
70
|
"@babel/preset-env": "^7.14.1",
|
|
67
|
-
"@semantic-release/git": "^
|
|
71
|
+
"@semantic-release/git": "^10.0.1",
|
|
68
72
|
"babel-jest": "^26.6.3",
|
|
69
73
|
"babel-loader": "^8.2.2",
|
|
70
74
|
"commitizen": "^4.2.3",
|
|
75
|
+
"copy-webpack-plugin": "^11.0.0",
|
|
71
76
|
"cz-conventional-changelog-with-jiraid-detection": "^1.0.3",
|
|
72
77
|
"husky": "^6.0.0",
|
|
73
78
|
"jest": "^26.6.3",
|
|
74
79
|
"lodash": "^4.17.21",
|
|
75
|
-
"semantic-release": "^
|
|
80
|
+
"semantic-release": "^19.0.2",
|
|
76
81
|
"style-dictionary": "^3.0.0-rc.9",
|
|
77
|
-
"validate-commit-msg": "^
|
|
82
|
+
"validate-commit-msg": "^1.1.3",
|
|
78
83
|
"webpack": "^5.36.2",
|
|
79
84
|
"webpack-cli": "^4.6.0"
|
|
80
85
|
},
|
|
81
86
|
"engines": {
|
|
82
|
-
"node": ">=
|
|
87
|
+
"node": ">=16.8.0"
|
|
88
|
+
},
|
|
89
|
+
"publishConfig": {
|
|
90
|
+
"access": "public",
|
|
91
|
+
"registry": "https://registry.npmjs.org/"
|
|
83
92
|
},
|
|
84
93
|
"release": {
|
|
85
94
|
"branches": [
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
name: Release
|
|
2
|
-
on:
|
|
3
|
-
push:
|
|
4
|
-
branches:
|
|
5
|
-
- main
|
|
6
|
-
jobs:
|
|
7
|
-
release:
|
|
8
|
-
name: Release
|
|
9
|
-
runs-on: ubuntu-latest
|
|
10
|
-
steps:
|
|
11
|
-
- name: Checkout
|
|
12
|
-
uses: actions/checkout@v2
|
|
13
|
-
with:
|
|
14
|
-
fetch-depth: 0
|
|
15
|
-
- name: Setup Node.js
|
|
16
|
-
uses: actions/setup-node@v1
|
|
17
|
-
with:
|
|
18
|
-
node-version: 15.14.0
|
|
19
|
-
- name: Install dependencies
|
|
20
|
-
run: npm ci
|
|
21
|
-
- name: Run tests
|
|
22
|
-
run: npm run test
|
|
23
|
-
- name: Build the publishable bundle
|
|
24
|
-
run: npm run build
|
|
25
|
-
- name: Release
|
|
26
|
-
env:
|
|
27
|
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
28
|
-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
29
|
-
run: npx semantic-release
|
package/.tool-versions
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
nodejs 15.14.0
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
let transforms = require('../../src/utilities/transforms');
|
|
2
|
-
|
|
3
|
-
describe('transforms', () => {
|
|
4
|
-
describe('name/ti/kebab', () => {
|
|
5
|
-
it('should handle prefix', () => {
|
|
6
|
-
expect(transforms["name/ti/kebab"].transformer(
|
|
7
|
-
{
|
|
8
|
-
path: ['one', 'two', 'three']
|
|
9
|
-
}, {
|
|
10
|
-
prefix: 'prefix'
|
|
11
|
-
}
|
|
12
|
-
)).toBe('prefix-two-three');
|
|
13
|
-
});
|
|
14
|
-
|
|
15
|
-
it('should handle no prefix', () => {
|
|
16
|
-
expect(transforms["name/ti/kebab"].transformer(
|
|
17
|
-
{
|
|
18
|
-
path: ['one', 'two', 'three']
|
|
19
|
-
}, {
|
|
20
|
-
}
|
|
21
|
-
)).toBe('two-three');
|
|
22
|
-
});
|
|
23
|
-
});
|
|
24
|
-
});
|
package/babel.config.js
DELETED
package/build.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
const StyleDictionary = require('style-dictionary').extend(__dirname + '/config.json');
|
|
2
|
-
const transforms = require('./src/utilities/transforms');
|
|
3
|
-
const transformGroups = require('./src/utilities/transformGroups');
|
|
4
|
-
|
|
5
|
-
console.log('Build started...');
|
|
6
|
-
console.log('\n==============================================');
|
|
7
|
-
|
|
8
|
-
StyleDictionary.registerTransform(transforms['name/ti/kebab']);
|
|
9
|
-
StyleDictionary.registerTransformGroup(transformGroups['js-ti']);
|
|
10
|
-
|
|
11
|
-
// First, remove all files from any previous builds
|
|
12
|
-
StyleDictionary.cleanAllPlatforms();
|
|
13
|
-
|
|
14
|
-
// Finally, build all platform files
|
|
15
|
-
StyleDictionary.buildAllPlatforms();
|
|
16
|
-
|
|
17
|
-
console.log('\n==============================================');
|
|
18
|
-
console.log('\nBuild completed!');
|
package/config.json
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"source": [
|
|
3
|
-
"src/properties/**/*.json"
|
|
4
|
-
],
|
|
5
|
-
"platforms": {
|
|
6
|
-
"js": {
|
|
7
|
-
"transformGroup": "js-ti",
|
|
8
|
-
"buildPath": "src/build/js/",
|
|
9
|
-
"files": [
|
|
10
|
-
{
|
|
11
|
-
"format": "javascript/module-flat",
|
|
12
|
-
"destination": "colors.js",
|
|
13
|
-
"filter": {
|
|
14
|
-
"attributes": {
|
|
15
|
-
"category": "color"
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
]
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
package/src/build/js/colors.js
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Do not edit directly
|
|
3
|
-
* Generated on Fri, 07 May 2021 03:42:35 GMT
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
module.exports = {
|
|
7
|
-
"aqua": "#2cb3ff",
|
|
8
|
-
"blue": "#005cff",
|
|
9
|
-
"blue-wave": "#0066ff",
|
|
10
|
-
"brand-blue": "#003fff",
|
|
11
|
-
"brand-purple": "#9400ff",
|
|
12
|
-
"brand-wave": "#003fff",
|
|
13
|
-
"charleston-green": "#24272e",
|
|
14
|
-
"dark-aqua": "#1b9ce6",
|
|
15
|
-
"dark-green": "#159f65",
|
|
16
|
-
"dark-lilac": "#a279dd",
|
|
17
|
-
"dark-orange": "#ed6325",
|
|
18
|
-
"dark-pink": "#df1a6f",
|
|
19
|
-
"dark-red": "#df241e",
|
|
20
|
-
"dark-teal": "#28a597",
|
|
21
|
-
"dark-yellow": "#e8ad11",
|
|
22
|
-
"green": "#02c875",
|
|
23
|
-
"lilac": "#bf97f9",
|
|
24
|
-
"orange": "#ff7131",
|
|
25
|
-
"pink": "#ff006e",
|
|
26
|
-
"red": "#f8251e",
|
|
27
|
-
"teal": "#16ceb9",
|
|
28
|
-
"yellow": "#fdca40",
|
|
29
|
-
"black": "#000000",
|
|
30
|
-
"cool-grey-100": "#f9f9f9",
|
|
31
|
-
"cool-grey-150": "#f3f4f6",
|
|
32
|
-
"cool-grey-200": "#ebedef",
|
|
33
|
-
"cool-grey-250": "#dfe1e5",
|
|
34
|
-
"cool-grey-300": "#ced1d7",
|
|
35
|
-
"cool-grey-350": "#b3b8c1",
|
|
36
|
-
"cool-grey-400": "#979ca5",
|
|
37
|
-
"cool-grey-450": "#71767f",
|
|
38
|
-
"cool-grey-500": "#595e67",
|
|
39
|
-
"cool-grey-550": "#41464f",
|
|
40
|
-
"cool-grey-600": "#292d38",
|
|
41
|
-
"cool-grey-650": "#181d26",
|
|
42
|
-
"cool-grey-700": "#0f131a",
|
|
43
|
-
"white": "#ffffff",
|
|
44
|
-
"warm-grey-100": "#fafafa",
|
|
45
|
-
"warm-grey-150": "#f5f5f5",
|
|
46
|
-
"warm-grey-200": "#ebebeb",
|
|
47
|
-
"warm-grey-250": "#d6d6d6",
|
|
48
|
-
"warm-grey-300": "#c2c2c2",
|
|
49
|
-
"warm-grey-350": "#b3b3b3",
|
|
50
|
-
"warm-grey-400": "#999999",
|
|
51
|
-
"warm-grey-450": "#808080",
|
|
52
|
-
"warm-grey-500": "#666666",
|
|
53
|
-
"warm-grey-550": "#4d4d4d",
|
|
54
|
-
"warm-grey-600": "#333333",
|
|
55
|
-
"warm-grey-650": "#242424",
|
|
56
|
-
"warm-grey-700": "#1a1a1a",
|
|
57
|
-
"cyan": "#00f2f2",
|
|
58
|
-
"lemon": "#fff000",
|
|
59
|
-
"lime": "#bced09",
|
|
60
|
-
"magenta": "#fb03ff",
|
|
61
|
-
"rose": "#ff68a8"
|
|
62
|
-
};
|
package/src/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * as colors from "./build/js/colors";
|
|
@@ -1,169 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"color": {
|
|
3
|
-
"Aqua": {
|
|
4
|
-
"value": "#2cb3ff"
|
|
5
|
-
},
|
|
6
|
-
"Blue": {
|
|
7
|
-
"value": "#005cff"
|
|
8
|
-
},
|
|
9
|
-
"Blue Wave": {
|
|
10
|
-
"value": " linear-gradient(rgba(0, 102, 255, 1.0) 0%, rgba(0, 63, 255, 1.0) 100%)"
|
|
11
|
-
},
|
|
12
|
-
"Brand Blue": {
|
|
13
|
-
"value": "#003fff"
|
|
14
|
-
},
|
|
15
|
-
"Brand Purple": {
|
|
16
|
-
"value": "#9400ff"
|
|
17
|
-
},
|
|
18
|
-
"Brand Wave": {
|
|
19
|
-
"value": " linear-gradient(rgba(0, 63, 255, 1.0) 0%, rgba(251, 3, 255, 1.0) 100%)"
|
|
20
|
-
},
|
|
21
|
-
"Charleston Green": {
|
|
22
|
-
"value": "#24272e"
|
|
23
|
-
},
|
|
24
|
-
"Dark Aqua": {
|
|
25
|
-
"value": "#1b9ce6"
|
|
26
|
-
},
|
|
27
|
-
"Dark Green": {
|
|
28
|
-
"value": "#159f65"
|
|
29
|
-
},
|
|
30
|
-
"Dark Lilac": {
|
|
31
|
-
"value": "#a279dd"
|
|
32
|
-
},
|
|
33
|
-
"Dark Orange": {
|
|
34
|
-
"value": "#ed6325"
|
|
35
|
-
},
|
|
36
|
-
"Dark Pink": {
|
|
37
|
-
"value": "#df1a6f"
|
|
38
|
-
},
|
|
39
|
-
"Dark Red": {
|
|
40
|
-
"value": "#df241e"
|
|
41
|
-
},
|
|
42
|
-
"Dark Teal": {
|
|
43
|
-
"value": "#28a597"
|
|
44
|
-
},
|
|
45
|
-
"Dark Yellow": {
|
|
46
|
-
"value": "#e8ad11"
|
|
47
|
-
},
|
|
48
|
-
"Green": {
|
|
49
|
-
"value": "#02c875"
|
|
50
|
-
},
|
|
51
|
-
"Lilac": {
|
|
52
|
-
"value": "#bf97f9"
|
|
53
|
-
},
|
|
54
|
-
"Orange": {
|
|
55
|
-
"value": "#ff7131"
|
|
56
|
-
},
|
|
57
|
-
"Pink": {
|
|
58
|
-
"value": "#ff006e"
|
|
59
|
-
},
|
|
60
|
-
"Red": {
|
|
61
|
-
"value": "#f8251e"
|
|
62
|
-
},
|
|
63
|
-
"Teal": {
|
|
64
|
-
"value": "#16ceb9"
|
|
65
|
-
},
|
|
66
|
-
"Yellow": {
|
|
67
|
-
"value": "#fdca40"
|
|
68
|
-
},
|
|
69
|
-
"Black": {
|
|
70
|
-
"value": "#000000"
|
|
71
|
-
},
|
|
72
|
-
"Cool Grey 100": {
|
|
73
|
-
"value": "#f9f9f9"
|
|
74
|
-
},
|
|
75
|
-
"Cool Grey 150": {
|
|
76
|
-
"value": "#f3f4f6"
|
|
77
|
-
},
|
|
78
|
-
"Cool Grey 200": {
|
|
79
|
-
"value": "#ebedef"
|
|
80
|
-
},
|
|
81
|
-
"Cool Grey 250": {
|
|
82
|
-
"value": "#dfe1e5"
|
|
83
|
-
},
|
|
84
|
-
"Cool Grey 300": {
|
|
85
|
-
"value": "#ced1d7"
|
|
86
|
-
},
|
|
87
|
-
"Cool Grey 350": {
|
|
88
|
-
"value": "#b3b8c1"
|
|
89
|
-
},
|
|
90
|
-
"Cool Grey 400": {
|
|
91
|
-
"value": "#979ca5"
|
|
92
|
-
},
|
|
93
|
-
"Cool Grey 450": {
|
|
94
|
-
"value": "#71767f"
|
|
95
|
-
},
|
|
96
|
-
"Cool Grey 500": {
|
|
97
|
-
"value": "#595e67"
|
|
98
|
-
},
|
|
99
|
-
"Cool Grey 550": {
|
|
100
|
-
"value": "#41464f"
|
|
101
|
-
},
|
|
102
|
-
"Cool Grey 600": {
|
|
103
|
-
"value": "#292d38"
|
|
104
|
-
},
|
|
105
|
-
"Cool Grey 650": {
|
|
106
|
-
"value": "#181d26"
|
|
107
|
-
},
|
|
108
|
-
"Cool Grey 700": {
|
|
109
|
-
"value": "#0f131a"
|
|
110
|
-
},
|
|
111
|
-
"White": {
|
|
112
|
-
"value": "#ffffff"
|
|
113
|
-
},
|
|
114
|
-
"Warm Grey 100": {
|
|
115
|
-
"value": "#fafafa"
|
|
116
|
-
},
|
|
117
|
-
"Warm Grey 150": {
|
|
118
|
-
"value": "#f5f5f5"
|
|
119
|
-
},
|
|
120
|
-
"Warm Grey 200": {
|
|
121
|
-
"value": "#ebebeb"
|
|
122
|
-
},
|
|
123
|
-
"Warm Grey 250": {
|
|
124
|
-
"value": "#d6d6d6"
|
|
125
|
-
},
|
|
126
|
-
"Warm Grey 300": {
|
|
127
|
-
"value": "#c2c2c2"
|
|
128
|
-
},
|
|
129
|
-
"Warm Grey 350": {
|
|
130
|
-
"value": "#b3b3b3"
|
|
131
|
-
},
|
|
132
|
-
"Warm Grey 400": {
|
|
133
|
-
"value": "#999999"
|
|
134
|
-
},
|
|
135
|
-
"Warm Grey 450": {
|
|
136
|
-
"value": "#808080"
|
|
137
|
-
},
|
|
138
|
-
"Warm Grey 500": {
|
|
139
|
-
"value": "#666666"
|
|
140
|
-
},
|
|
141
|
-
"Warm Grey 550": {
|
|
142
|
-
"value": "#4d4d4d"
|
|
143
|
-
},
|
|
144
|
-
"Warm Grey 600": {
|
|
145
|
-
"value": "#333333"
|
|
146
|
-
},
|
|
147
|
-
"Warm Grey 650": {
|
|
148
|
-
"value": "#242424"
|
|
149
|
-
},
|
|
150
|
-
"Warm Grey 700": {
|
|
151
|
-
"value": "#1a1a1a"
|
|
152
|
-
},
|
|
153
|
-
"Cyan": {
|
|
154
|
-
"value": "#00f2f2"
|
|
155
|
-
},
|
|
156
|
-
"Lemon": {
|
|
157
|
-
"value": "#fff000"
|
|
158
|
-
},
|
|
159
|
-
"Lime": {
|
|
160
|
-
"value": "#bced09"
|
|
161
|
-
},
|
|
162
|
-
"Magenta": {
|
|
163
|
-
"value": "#fb03ff"
|
|
164
|
-
},
|
|
165
|
-
"Rose": {
|
|
166
|
-
"value": "#ff68a8"
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
module.exports = {
|
|
2
|
-
/**
|
|
3
|
-
* Custom transform group to apply multiple transforms similar to the
|
|
4
|
-
* js transform group but with the custom name/ti/kebab transform
|
|
5
|
-
* applied
|
|
6
|
-
*
|
|
7
|
-
*/
|
|
8
|
-
'js-ti': {
|
|
9
|
-
name: 'js-ti',
|
|
10
|
-
transforms: [
|
|
11
|
-
'attribute/cti',
|
|
12
|
-
'name/ti/kebab',
|
|
13
|
-
'size/rem',
|
|
14
|
-
'color/hex'
|
|
15
|
-
]
|
|
16
|
-
}
|
|
17
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
const _ = require('lodash');
|
|
2
|
-
|
|
3
|
-
module.exports = {
|
|
4
|
-
/**
|
|
5
|
-
* Creates a kebab-cased name on the type and item of the property. This is useful if you
|
|
6
|
-
* want to create properties without the category name.
|
|
7
|
-
* If you define a prefix on the platform in your config, it will prepend with your prefix.
|
|
8
|
-
*
|
|
9
|
-
* ```js
|
|
10
|
-
* // Matches: all
|
|
11
|
-
* // Returns:
|
|
12
|
-
* "charleston-green"
|
|
13
|
-
* "Prefix-charleston-green"
|
|
14
|
-
* ```
|
|
15
|
-
*
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
'name/ti/kebab': {
|
|
19
|
-
name: 'name/ti/kebab',
|
|
20
|
-
type: 'name',
|
|
21
|
-
transformer: function (prop, options) {
|
|
22
|
-
return _.kebabCase( [options.prefix].concat(prop.path.slice(1, prop.path.length)).join(' ') );
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
}
|