From 22bc1b8ca8e4b1e2c10955b4806bcfec7a698a92 Mon Sep 17 00:00:00 2001 From: Kaelig Date: Thu, 29 Dec 2016 11:10:38 -0500 Subject: [PATCH 1/4] Update npm version to 2.2.0 and allow public publishing --- npm-shrinkwrap.json | 2 +- package.json | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index 8bd51d8f4c..14f91df856 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -1,6 +1,6 @@ { "name": "design-system", - "version": "2.2.0-dev", + "version": "2.2.0", "dependencies": { "@salesforce-ux/build-server-api": { "version": "1.4.0", diff --git a/package.json b/package.json index ac1b05d75c..020a1f3a83 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "design-system", "description": "Salesforce Lightning Design System", - "version": "2.2.0-dev", + "version": "2.2.0", "author": "Salesforce", "slds": { "name": "Spring ’17", @@ -11,10 +11,10 @@ "'private' and 'config.slds.internal' should have the same value", "to prevent any accidental public publishes on npm and on our archive server." ], - "private": true, + "private": false, "config": { "slds": { - "internal": true + "internal": false }, "search": { "appId": "B2KKG101RI", From e2869a28576683e3697a0596de87babdb7b0a077 Mon Sep 17 00:00:00 2001 From: Kaelig Date: Thu, 29 Dec 2016 11:15:39 -0500 Subject: [PATCH 2/4] Update design tokens path --- README-dist.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README-dist.md b/README-dist.md index a0c0c79f28..3ee5295213 100644 --- a/README-dist.md +++ b/README-dist.md @@ -19,7 +19,7 @@ Welcome to the [Salesforce Lightning Design System](https://www.lightningdesigns - salesforce-lightning-design-system.css (regular CSS — which should not be used within a component that already has access to the SLDS CSS within the platform — please use the scoping tool mentioned below) - salesforce-lightning-design-system.min.css (minified CSS) - (The scoped files for -vf and -ltng have been removed from the download. If you still need a scoped file, a custom scoped file should be built using [the file scoping tool](https://tools.lightningdesignsystem.com/css-customizer)) -* design-tokens/ - the Design Tokens, usable in all formats +* design-tokens/dist/ - the Design Tokens, usable in all formats * scss/ - the Sass source for the Lightning Design System CSS * swatches/ - salesforce-lightning-design-system.ase From d45721ddb9b7906302aa1a21e98ed06e51b295bd Mon Sep 17 00:00:00 2001 From: Kaelig Date: Thu, 29 Dec 2016 11:16:22 -0500 Subject: [PATCH 3/4] Move release notes to the global file --- RELEASENOTES-spring-17.md | 172 -------------------------------------- RELEASENOTES.md | 171 ++++++++++++++++++++++++++++++++++++- 2 files changed, 170 insertions(+), 173 deletions(-) delete mode 100644 RELEASENOTES-spring-17.md diff --git a/RELEASENOTES-spring-17.md b/RELEASENOTES-spring-17.md deleted file mode 100644 index 9863834085..0000000000 --- a/RELEASENOTES-spring-17.md +++ /dev/null @@ -1,172 +0,0 @@ -# Salesforce Lightning Design System -# Release notes - - - -## Release 2.2.0 - Future, 2017 - -**SITE IA/ENHANCEMENTS** - -The following site enhancements are now available: - -**NEW COMPONENTS AND VARIANTS** - -The following components are now available: - -- Added Global Navigation Tab bar (Workspace Tabs) - [Global Navigation Tab bar](/components/global-navigation/#flavor-navigation-tab-bar) -- Added Checkbox Add Button - [Checkbox Add Button](/components/forms/#flavor-checkbox-add-button) -- Added Button Group List - [Button Group List](compoments/button-groups/#flavor-list) - the new recommended way to mark up button groups. -- Added Rich Text Editor - [Rich Text Editor](/components/rich-text-editor) -- Added Global Header Notifications - [Global Header Notifications](/components/global-header#flavor-notifications) -- Added Popover Header - [Popover Header](/components/popovers/#flavor-base-popover-header) -- Added Popover Footer - [Popover Footer](/components/popovers/#flavor-base-popover-footer) -- Added Progress Indicator - [Progress Indicator](/components/progress-indicator/) -- Added Walkthrough Popovers - [Walkthrough Popovers](/components/walkthrough/#flavor-popovers-default) -- Added Walkthrough Header - [Walkthrough Header](/components/walkthrough/#flavor-header) -- Added Success Button - [Success Button](/components/buttons/#flavor-base-success) -- Added Sub Tabs - [Sub Tabs](/components/tabs/#flavor-sub-tabs) -- Added Dynamic Lists Dropdown - [Dynamic Lists](/components/menus/#flavor-dynamic-list) - -**ADDED** - -The following classes are now available: - -- Added `slds-float--none` utility - [Utilities › Floats › Float None](/components/utilities/floats/#flavor-float-none) -- Added `slds-button--icon-container-more` modifier - [Button Icons › Button Icon with Dropdown](/components/button-icons/#flavor-icon-with-dropdown) -- Added `slds-button--icon-more-filled` for more buttons that require a background. -- Added `slds-text-color--inverse` utility - [Utilities › Text › Color](/components/utilities/text/#flavor-color-text-color-inverse) -- Added `slds-text-color--inverse-weak` utility - [Utilities › Text › Color](/components/utilities/text/#flavor-color-text-color-inverse-weak) -- Added `slds-is-absolute` utility for overriding a components default positioning - [Utilities › Position › Absolute](/components/utilities/position/#flavor-absolute) -- Added addtional spacing support for normalizing padding on a grid region -- Added `slds-border--bottom` utility [Utilities › Borders › Border Bottom](/components/utilities/borders/#flavor-border-bottom) -- Added `slds-border--left` utility [Utilities › Borders › Border Left](/components/utilities/borders/#flavor-border-left) -- Added `slds-border--right` utility [Utilities › Borders › Border Right](/components/utilities/borders/#flavor-border-right) -- Added `slds-border--top` utility [Utilities › Borders › Border Top](/components/utilities/borders/#flavor-border-top) -- Added `slds-box--xx-small` utility [Utilities › Themes › Box](/components/utilities/themes/#flavor-box-xx-small) -- Added support for dark backgrounds on `slds-dropdown` by adding modifier `slds-dropdown--inverse` -- Added support for narrow region on feeds. - -**CHANGES** - -The following changes have been made in this release: - -- Global actions icon on global header updated to have a background color -- Changed global header icon's color and size -- Changed background color of docked panels - - Docked Utility Panel - [Docked Utility Panel](/components/docked-utility-bar/#flavor-utility-panel) - - Docked Composer Panel - [Docked Composer Panel](/components/docked-composer) -- Cards are now responsive - [Cards](/components/cards/) -- Improvements made to `slds-type-focus` utility - [Utilities › Interactions](/components/utilities/interactions/#flavor-faux-links) -- Avatars now support initials. -- Stateful icon buttons are now compatible with `slds-button--icon-container` -- Spacing adjustments made to lookup items -- Spacing adjustments made to feeds - -**FIXED** - -The following issues have now been resolved: - -- Accessibility improvement - Picklists changed to a read-only combobox with a listbox. -- Add collapsable margin to `slds-card__body` to account for white space when the footer is empty -- Data Table › Inline edit now has full support -- Icon inside of an input field now uses the correct token -- Modal content properly wraps and hyphenates longform text -- Fixed flex issue on docked composer that made popout example stretch the height of the viewport - -**DEPRECATED** - -The following features are being marked as deprecated in this release and will be removed in three releases: - -- Process › Wizard - Please use the new Progress Indicator instead [Progress Indicator](/components/progress-indicator/) - -**REMOVED** - -The following features are being removed in this release: - -- `$css-prefix` is no longer available to change the prefix of `slds-` class names to something of your choice. As an alternative, please use this PostCSS plugin to customize class name prefixes: [postcss-slds-prefix](https://github.com/salesforce-ux/postcss-slds-prefix). -- Removed custom styled scrollbar mixin from `slds--scrollable-` helpers -- Deleted legacy font-files for older, unsupported browsers (*.eot, *.svg) - -**TOKENS** - -The following tokens have been add/removed/deprecated in this release: - -- Added `force-base/fill.json` - - Added token: `FILL_HEADER_BUTTON` - - Added token: `FILL_HEADER_BUTTON_HOVER` -- Added `force-base/text-transform.json` - - Added token: `TEXT_TRANSFORM` -- Added token: `FONT_FAMILY_TEXT` -- Added token: `FONT_FAMILY_HEADING` -- Added token: `Z_INDEX_STICKY` -- Added token: `FONT_FAMILY_TEXT` -- Added token: `FONT_FAMILY_HEADING` -- Added token: `PROGRESS_COLOR_BACKGROUND` -- Added token: `PROGRESS_COLOR_BACKGROUND_SHADE` -- Added token: `PROGRESS_COLOR_BORDER` -- Added token: `PROGRESS_COLOR_BORDER_SHADE` -- Added token: `PROGRESS_COLOR_BORDER_HOVER` -- Added token: `PROGRESS_COLOR_BORDER_ACTIVE` -- Added token: `PROGRESS_BAR_HEIGHT` -- Added token: `PROGRESS_BAR_COLOR_BACKGROUND` -- Added token: `PROGRESS_BAR_COLOR_BACKGROUND_FILL` -- Added token: `COLOR_STROKE_BRAND` -- Added token: `COLOR_STROKE_BRAND_HOVER` -- Added token: `COLOR_STROKE_BRAND_ACTIVE` -- Added token: `COLOR_STROKE_DISABLED` -- Added token: `COLOR_STROKE_HEADER_BUTTON` -- Added token: `FILL_BRAND` -- Added token: `FILL_BRAND_HOVER` -- Added token: `FILL_BRAND_ACTIVE` -- Added token: `BORDER_STROKE_WIDTH_THIN` -- Added token: `BORDER_STROKE_WIDTH_THICK` -- Added token: `COLOR_BACKGROUND_BUTTON_SUCCESS` -- Added token: `COLOR_BACKGROUND_BUTTON_SUCCESS_HOVER` -- Added token: `COLOR_BACKGROUND_BUTTON_SUCCESS_ACTIVE` -- Added token: `COLOR_TEXT_SUCCESS_INVERSE` -- Added token: `CUSTOM_101` -- Added token: `CUSTOM_102` -- Added token: `CUSTOM_103` -- Added token: `CUSTOM_104` -- Added token: `CUSTOM_105` -- Added token: `CUSTOM_106` -- Added token: `CUSTOM_107` -- Added token: `CUSTOM_108` -- Added token: `CUSTOM_109` -- Added token: `CUSTOM_110` -- Added token: `CUSTOM_111` -- Added token: `CUSTOM_112` -- Added token: `CUSTOM_113` -- Added token: `CUSTOM_NOTIFICATION` -- Added token: `DATADOTCOM` -- Added token: `RTC_PRESENCE` -- Added token: `PRODUCT_CONSUMED` -- Added token: `PRODUCT_TRANSFER` -- Added token: `PRODUCT_ITEM` -- Added token: `PRODUCT_ITEM_TRANSACTION` -- Added token: `LOCATION` -- Added token: `ADDRESS` -- Added token: `CAROUSEL` -- Added token: `ASSIGNED_RESOURCE` -- Added token: `OPERATING_HOURS` -- Added token: `PRODUCT_REQUIRED` -- Added token: `RESOURCE_ABSENCE` -- Added token: `RESOURCE_CAPACITY` -- Added token: `RESOURCE_PREFERENCE` -- Added token: `RESOURCE_SKILL` -- Added token: `SERVICE_TERRITORY_MEMBER` -- Added token: `SERVICE_APPOINTMENT` -- Added token: `SERVICE_REPORT` -- Added token: `SERVICE_RESOURCE` -- Added token: `SERVICE_TERRITORY` -- Added token: `SKILL` -- Added token: `SKILL_REQUIREMENT` -- Added token: `TIMESLOT` -- Added token: `WORK_TYPE` -- Added alias: `SANS_SERIF` -- Added alias: `MALIBU` -- Added alias: `SANS_SERIF` -- Added alias: `EBONY_CLAY` -- Added alias: `OXFORD_BLUE` -- Added alias: `RIVER_BED` -- Deprecated `FONT_FAMILY` diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 4fe27db3e9..5b9022522f 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -5,6 +5,174 @@ +## Release [2.2.0] - January 6, 2017 + +**SITE IA/ENHANCEMENTS** + +The following site enhancements are now available: + +**NEW COMPONENTS AND VARIANTS** + +The following components are now available: + +- Added Global Navigation Tab bar (Workspace Tabs) - [Global Navigation Tab bar](/components/global-navigation/#flavor-navigation-tab-bar) +- Added Checkbox Add Button - [Checkbox Add Button](/components/forms/#flavor-checkbox-add-button) +- Added Button Group List - [Button Group List](compoments/button-groups/#flavor-list) - the new recommended way to mark up button groups. +- Added Rich Text Editor - [Rich Text Editor](/components/rich-text-editor) +- Added Global Header Notifications - [Global Header Notifications](/components/global-header#flavor-notifications) +- Added Popover Header - [Popover Header](/components/popovers/#flavor-base-popover-header) +- Added Popover Footer - [Popover Footer](/components/popovers/#flavor-base-popover-footer) +- Added Progress Indicator - [Progress Indicator](/components/progress-indicator/) +- Added Walkthrough Popovers - [Walkthrough Popovers](/components/walkthrough/#flavor-popovers-default) +- Added Walkthrough Header - [Walkthrough Header](/components/walkthrough/#flavor-header) +- Added Success Button - [Success Button](/components/buttons/#flavor-base-success) +- Added Sub Tabs - [Sub Tabs](/components/tabs/#flavor-sub-tabs) +- Added Dynamic Lists Dropdown - [Dynamic Lists](/components/menus/#flavor-dynamic-list) + +**ADDED** + +The following classes are now available: + +- Added `slds-float--none` utility - [Utilities › Floats › Float None](/components/utilities/floats/#flavor-float-none) +- Added `slds-button--icon-container-more` modifier - [Button Icons › Button Icon with Dropdown](/components/button-icons/#flavor-icon-with-dropdown) +- Added `slds-button--icon-more-filled` for more buttons that require a background. +- Added `slds-text-color--inverse` utility - [Utilities › Text › Color](/components/utilities/text/#flavor-color-text-color-inverse) +- Added `slds-text-color--inverse-weak` utility - [Utilities › Text › Color](/components/utilities/text/#flavor-color-text-color-inverse-weak) +- Added `slds-is-absolute` utility for overriding a components default positioning - [Utilities › Position › Absolute](/components/utilities/position/#flavor-absolute) +- Added addtional spacing support for normalizing padding on a grid region +- Added `slds-border--bottom` utility [Utilities › Borders › Border Bottom](/components/utilities/borders/#flavor-border-bottom) +- Added `slds-border--left` utility [Utilities › Borders › Border Left](/components/utilities/borders/#flavor-border-left) +- Added `slds-border--right` utility [Utilities › Borders › Border Right](/components/utilities/borders/#flavor-border-right) +- Added `slds-border--top` utility [Utilities › Borders › Border Top](/components/utilities/borders/#flavor-border-top) +- Added `slds-box--xx-small` utility [Utilities › Themes › Box](/components/utilities/themes/#flavor-box-xx-small) +- Added support for dark backgrounds on `slds-dropdown` by adding modifier `slds-dropdown--inverse` +- Added support for narrow region on feeds. + +**CHANGES** + +The following changes have been made in this release: + +- Global actions icon on global header updated to have a background color +- Changed global header icon's color and size +- Changed background color of docked panels + - Docked Utility Panel - [Docked Utility Panel](/components/docked-utility-bar/#flavor-utility-panel) + - Docked Composer Panel - [Docked Composer Panel](/components/docked-composer) +- Cards are now responsive - [Cards](/components/cards/) +- Improvements made to `slds-type-focus` utility - [Utilities › Interactions](/components/utilities/interactions/#flavor-faux-links) +- Avatars now support initials. +- Stateful icon buttons are now compatible with `slds-button--icon-container` +- Spacing adjustments made to lookup items +- Spacing adjustments made to feeds + +**FIXED** + +The following issues have now been resolved: + +- Accessibility improvement - Picklists changed to a read-only combobox with a listbox. +- Add collapsable margin to `slds-card__body` to account for white space when the footer is empty +- Data Table › Inline edit now has full support +- Icon inside of an input field now uses the correct token +- Modal content properly wraps and hyphenates longform text +- Fixed flex issue on docked composer that made popout example stretch the height of the viewport + +**DEPRECATED** + +The following features are being marked as deprecated in this release and will be removed in three releases: + +- Process › Wizard - Please use the new Progress Indicator instead [Progress Indicator](/components/progress-indicator/) + +**REMOVED** + +The following features are being removed in this release: + +- `$css-prefix` is no longer available to change the prefix of `slds-` class names to something of your choice. As an alternative, please use this PostCSS plugin to customize class name prefixes: [postcss-slds-prefix](https://github.com/salesforce-ux/postcss-slds-prefix). +- Removed custom styled scrollbar mixin from `slds--scrollable-` helpers +- Deleted legacy font-files for older, unsupported browsers (*.eot, *.svg) + +**TOKENS** + +The following tokens have been add/removed/deprecated in this release: + +- Added `force-base/fill.json` + - Added token: `FILL_HEADER_BUTTON` + - Added token: `FILL_HEADER_BUTTON_HOVER` +- Added `force-base/text-transform.json` + - Added token: `TEXT_TRANSFORM` +- Added token: `FONT_FAMILY_TEXT` +- Added token: `FONT_FAMILY_HEADING` +- Added token: `Z_INDEX_STICKY` +- Added token: `FONT_FAMILY_TEXT` +- Added token: `FONT_FAMILY_HEADING` +- Added token: `PROGRESS_COLOR_BACKGROUND` +- Added token: `PROGRESS_COLOR_BACKGROUND_SHADE` +- Added token: `PROGRESS_COLOR_BORDER` +- Added token: `PROGRESS_COLOR_BORDER_SHADE` +- Added token: `PROGRESS_COLOR_BORDER_HOVER` +- Added token: `PROGRESS_COLOR_BORDER_ACTIVE` +- Added token: `PROGRESS_BAR_HEIGHT` +- Added token: `PROGRESS_BAR_COLOR_BACKGROUND` +- Added token: `PROGRESS_BAR_COLOR_BACKGROUND_FILL` +- Added token: `COLOR_STROKE_BRAND` +- Added token: `COLOR_STROKE_BRAND_HOVER` +- Added token: `COLOR_STROKE_BRAND_ACTIVE` +- Added token: `COLOR_STROKE_DISABLED` +- Added token: `COLOR_STROKE_HEADER_BUTTON` +- Added token: `FILL_BRAND` +- Added token: `FILL_BRAND_HOVER` +- Added token: `FILL_BRAND_ACTIVE` +- Added token: `BORDER_STROKE_WIDTH_THIN` +- Added token: `BORDER_STROKE_WIDTH_THICK` +- Added token: `COLOR_BACKGROUND_BUTTON_SUCCESS` +- Added token: `COLOR_BACKGROUND_BUTTON_SUCCESS_HOVER` +- Added token: `COLOR_BACKGROUND_BUTTON_SUCCESS_ACTIVE` +- Added token: `COLOR_TEXT_SUCCESS_INVERSE` +- Added token: `CUSTOM_101` +- Added token: `CUSTOM_102` +- Added token: `CUSTOM_103` +- Added token: `CUSTOM_104` +- Added token: `CUSTOM_105` +- Added token: `CUSTOM_106` +- Added token: `CUSTOM_107` +- Added token: `CUSTOM_108` +- Added token: `CUSTOM_109` +- Added token: `CUSTOM_110` +- Added token: `CUSTOM_111` +- Added token: `CUSTOM_112` +- Added token: `CUSTOM_113` +- Added token: `CUSTOM_NOTIFICATION` +- Added token: `DATADOTCOM` +- Added token: `RTC_PRESENCE` +- Added token: `PRODUCT_CONSUMED` +- Added token: `PRODUCT_TRANSFER` +- Added token: `PRODUCT_ITEM` +- Added token: `PRODUCT_ITEM_TRANSACTION` +- Added token: `LOCATION` +- Added token: `ADDRESS` +- Added token: `CAROUSEL` +- Added token: `ASSIGNED_RESOURCE` +- Added token: `OPERATING_HOURS` +- Added token: `PRODUCT_REQUIRED` +- Added token: `RESOURCE_ABSENCE` +- Added token: `RESOURCE_CAPACITY` +- Added token: `RESOURCE_PREFERENCE` +- Added token: `RESOURCE_SKILL` +- Added token: `SERVICE_TERRITORY_MEMBER` +- Added token: `SERVICE_APPOINTMENT` +- Added token: `SERVICE_REPORT` +- Added token: `SERVICE_RESOURCE` +- Added token: `SERVICE_TERRITORY` +- Added token: `SKILL` +- Added token: `SKILL_REQUIREMENT` +- Added token: `TIMESLOT` +- Added token: `WORK_TYPE` +- Added alias: `SANS_SERIF` +- Added alias: `MALIBU` +- Added alias: `SANS_SERIF` +- Added alias: `EBONY_CLAY` +- Added alias: `OXFORD_BLUE` +- Added alias: `RIVER_BED` +- Deprecated `FONT_FAMILY` + ## Release [2.1.4] - November 7, 2016 **FIXED** @@ -760,7 +928,8 @@ The following features are being marked as deprecated in this release and will b Lots of bug fixes and TLC. -[Unreleased]: https://github.com/salesforce-ux/design-system-internal/compare/v2.1.4...winter-17 +[Unreleased]: https://github.com/salesforce-ux/design-system-internal/compare/v2.2.0...winter-17 +[2.2.0]: https://github.com/salesforce-ux/design-system/compare/v2.1.4...v2.2.0 [2.1.4]: https://github.com/salesforce-ux/design-system/compare/v2.1.3...v2.1.4 [2.1.3]: https://github.com/salesforce-ux/design-system/compare/v2.1.2...v2.1.3 [2.1.2]: https://github.com/salesforce-ux/design-system/compare/v2.0.3...v2.1.2 From ae4c8b8e5efc1a31a68b9de0a5bbdbe5af3a5a28 Mon Sep 17 00:00:00 2001 From: Kaelig Date: Thu, 29 Dec 2016 11:16:55 -0500 Subject: [PATCH 4/4] Add a notice in the release notes regarding the change of location of design tokens --- RELEASENOTES.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 5b9022522f..761c823cf2 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -91,6 +91,10 @@ The following features are being removed in this release: **TOKENS** +Tokens are now part of the Lightning Design System. + +Token files previously available from the `@salesforce-ux/design-tokens` npm package are now available in `design-tokens/dist` in the `@salesforce-ux/design-system` package (the same applies for the zip download). + The following tokens have been add/removed/deprecated in this release: - Added `force-base/fill.json`