@salesforce/design-system-react 0.10.40 → 0.10.44
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/components/brand-band/__docs__/__snapshots__/storybook-stories.storyshot +47 -157
- package/components/brand-band/__docs__/storybook-stories.jsx +4 -2
- package/components/brand-band/__examples__/{lightning-blue-theme.jsx → group-image.jsx} +1 -11
- package/components/brand-band/__examples__/no-image.jsx +1 -2
- package/{lib/components/brand-band/__examples__/lightning-blue-theme.jsx → components/brand-band/__examples__/user-image.jsx} +1 -11
- package/components/brand-band/check-props.js +18 -0
- package/components/brand-band/component.json +8 -4
- package/components/brand-band/index.jsx +23 -66
- package/components/brand-band.d.ts +1 -26
- package/components/combobox/__tests__/combobox.browser-test.jsx +18 -0
- package/components/combobox/combobox.jsx +4 -1
- package/components/component-docs.json +13 -38
- package/components/icon/__docs__/__snapshots__/storybook-stories.storyshot +49 -2
- package/components/icon/__docs__/storybook-stories.jsx +2 -0
- package/components/icon/__examples__/color-success.jsx +24 -0
- package/components/icon/__examples__/colors.jsx +10 -2
- package/components/icon/index.jsx +2 -0
- package/components/icon.d.ts +1 -1
- package/components/site-stories.js +8 -4
- package/icons/standard/account_info.js +5 -0
- package/icons/standard/asset_audit.js +5 -0
- package/icons/standard/asset_warranty.js +1 -1
- package/icons/standard/attach.js +5 -0
- package/icons/standard/budget.js +5 -0
- package/icons/standard/budget_allocation.js +5 -0
- package/icons/standard/change_request.js +5 -0
- package/icons/standard/code_set.js +5 -0
- package/icons/standard/code_set_bundle.js +5 -0
- package/icons/standard/contract_payment.js +5 -0
- package/icons/standard/coupon_codes.js +5 -0
- package/icons/standard/discounts.js +5 -0
- package/icons/standard/field_sales.js +5 -0
- package/icons/standard/filter_criteria_rule.js +5 -0
- package/icons/standard/historical_adherence.js +5 -0
- package/icons/standard/identifier.js +5 -0
- package/icons/standard/incident.js +5 -0
- package/icons/standard/index.js +43 -7
- package/icons/standard/med_rec_recommendation.js +5 -0
- package/icons/standard/med_rec_statement_recommendation.js +5 -0
- package/icons/standard/medication.js +5 -0
- package/icons/standard/medication_dispense.js +5 -0
- package/icons/standard/medication_reconciliation.js +5 -0
- package/icons/standard/medication_statement.js +5 -0
- package/icons/standard/network_contract.js +5 -0
- package/icons/standard/patient_medication_dosage.js +5 -0
- package/icons/standard/person_language.js +5 -0
- package/icons/standard/person_name.js +5 -0
- package/icons/standard/problem.js +5 -0
- package/icons/standard/product_consumed_state.js +5 -0
- package/icons/standard/product_transfer.js +1 -1
- package/icons/standard/product_transfer_state.js +5 -0
- package/icons/standard/promotion_segments.js +5 -0
- package/icons/standard/promotions_workspace.js +5 -0
- package/icons/standard/qualifications.js +5 -0
- package/icons/standard/report_type.js +5 -0
- package/icons/standard/serialized_product.js +1 -1
- package/icons/standard/serialized_product_transaction.js +1 -1
- package/icons/standard/story.js +1 -1
- package/icons/standard/tour.js +5 -0
- package/icons/standard/tour_check.js +5 -0
- package/icons/standard/travel_mode.js +1 -1
- package/icons/standard/unified_health_score.js +5 -0
- package/icons/standard/workforce_engagement.js +5 -0
- package/icons/utility/asset_audit.js +5 -0
- package/icons/utility/asset_warranty.js +1 -1
- package/icons/utility/block_visitor.js +1 -1
- package/icons/utility/bookmark_alt.js +5 -0
- package/icons/utility/change_request.js +5 -0
- package/icons/utility/collection_alt.js +5 -0
- package/icons/utility/contract_doc.js +5 -0
- package/icons/utility/contract_payment.js +5 -0
- package/icons/utility/coupon_codes.js +5 -0
- package/icons/utility/discounts.js +5 -0
- package/icons/utility/einstein.js +1 -1
- package/icons/utility/entitlement.js +5 -0
- package/icons/utility/field_sales.js +5 -0
- package/icons/utility/incident.js +5 -0
- package/icons/utility/index.js +37 -8
- package/icons/utility/layout_banner.js +5 -0
- package/icons/utility/layout_card.js +5 -0
- package/icons/utility/layout_overlap.js +5 -0
- package/icons/utility/layout_tile.js +5 -0
- package/icons/utility/light_bulb.js +1 -1
- package/icons/utility/problem.js +5 -0
- package/icons/utility/product_consumed_state.js +5 -0
- package/icons/utility/product_transfer.js +5 -0
- package/icons/utility/product_transfer_state.js +5 -0
- package/icons/utility/promotion_segments.js +5 -0
- package/icons/utility/promotions.js +1 -1
- package/icons/utility/promotions_workspace.js +5 -0
- package/icons/utility/qualifications.js +5 -0
- package/icons/utility/reminder.js +1 -1
- package/icons/utility/scan.js +5 -0
- package/icons/utility/search.js +1 -1
- package/icons/utility/shopping_bag.js +1 -1
- package/icons/utility/signature.js +5 -0
- package/icons/utility/spacer.js +5 -0
- package/icons/utility/tour.js +5 -0
- package/icons/utility/tour_check.js +5 -0
- package/icons/utility/truck.js +5 -0
- package/icons/utility/workforce_engagement.js +5 -0
- package/lib/components/brand-band/__docs__/__snapshots__/storybook-stories.storyshot +47 -157
- package/lib/components/brand-band/__docs__/storybook-stories.jsx +4 -2
- package/lib/components/brand-band/__examples__/group-image.jsx +12 -0
- package/lib/components/brand-band/__examples__/no-image.jsx +1 -2
- package/lib/components/brand-band/__examples__/user-image.jsx +12 -0
- package/lib/components/brand-band/check-props.js +29 -0
- package/lib/components/brand-band/component.json +8 -4
- package/lib/components/brand-band/index.js +9 -50
- package/lib/components/brand-band.d.ts +1 -26
- package/lib/components/combobox/__tests__/combobox.browser-test.jsx +18 -0
- package/lib/components/combobox/combobox.js +6 -2
- package/lib/components/component-docs.json +13 -38
- package/lib/components/icon/__docs__/__snapshots__/storybook-stories.storyshot +49 -2
- package/lib/components/icon/__docs__/storybook-stories.jsx +2 -0
- package/lib/components/icon/__examples__/color-success.jsx +24 -0
- package/lib/components/icon/__examples__/colors.jsx +10 -2
- package/lib/components/icon/index.js +2 -1
- package/lib/components/icon.d.ts +1 -1
- package/lib/components/site-stories.js +6 -3
- package/lib/icons/standard/account_info.js +20 -0
- package/lib/icons/standard/asset_audit.js +18 -0
- package/lib/icons/standard/asset_warranty.js +2 -1
- package/lib/icons/standard/attach.js +18 -0
- package/lib/icons/standard/budget.js +18 -0
- package/lib/icons/standard/budget_allocation.js +31 -0
- package/lib/icons/standard/change_request.js +18 -0
- package/lib/icons/standard/code_set.js +20 -0
- package/lib/icons/standard/code_set_bundle.js +20 -0
- package/lib/icons/standard/contract_payment.js +28 -0
- package/lib/icons/standard/coupon_codes.js +18 -0
- package/lib/icons/standard/discounts.js +22 -0
- package/lib/icons/standard/field_sales.js +20 -0
- package/lib/icons/standard/filter_criteria_rule.js +18 -0
- package/lib/icons/standard/historical_adherence.js +22 -0
- package/lib/icons/standard/identifier.js +18 -0
- package/lib/icons/standard/incident.js +27 -0
- package/lib/icons/standard/index.js +366 -28
- package/lib/icons/standard/med_rec_recommendation.js +20 -0
- package/lib/icons/standard/med_rec_statement_recommendation.js +18 -0
- package/lib/icons/standard/medication.js +33 -0
- package/lib/icons/standard/medication_dispense.js +35 -0
- package/lib/icons/standard/medication_reconciliation.js +18 -0
- package/lib/icons/standard/medication_statement.js +18 -0
- package/lib/icons/standard/network_contract.js +22 -0
- package/lib/icons/standard/patient_medication_dosage.js +20 -0
- package/lib/icons/standard/person_language.js +20 -0
- package/lib/icons/standard/person_name.js +19 -0
- package/lib/icons/standard/problem.js +18 -0
- package/lib/icons/standard/product_consumed_state.js +19 -0
- package/lib/icons/standard/product_transfer.js +2 -1
- package/lib/icons/standard/product_transfer_state.js +19 -0
- package/lib/icons/standard/promotion_segments.js +22 -0
- package/lib/icons/standard/promotions_workspace.js +23 -0
- package/lib/icons/standard/qualifications.js +22 -0
- package/lib/icons/standard/report_type.js +24 -0
- package/lib/icons/standard/serialized_product.js +1 -1
- package/lib/icons/standard/serialized_product_transaction.js +5 -3
- package/lib/icons/standard/story.js +9 -14
- package/lib/icons/standard/tour.js +25 -0
- package/lib/icons/standard/tour_check.js +20 -0
- package/lib/icons/standard/travel_mode.js +2 -2
- package/lib/icons/standard/unified_health_score.js +18 -0
- package/lib/icons/standard/workforce_engagement.js +20 -0
- package/lib/icons/utility/asset_audit.js +31 -0
- package/lib/icons/utility/asset_warranty.js +2 -1
- package/lib/icons/utility/block_visitor.js +2 -4
- package/lib/icons/utility/bookmark_alt.js +18 -0
- package/lib/icons/utility/change_request.js +18 -0
- package/lib/icons/utility/collection_alt.js +26 -0
- package/lib/icons/utility/contract_doc.js +20 -0
- package/lib/icons/utility/contract_payment.js +28 -0
- package/lib/icons/utility/coupon_codes.js +18 -0
- package/lib/icons/utility/discounts.js +22 -0
- package/lib/icons/utility/einstein.js +7 -1
- package/lib/icons/utility/entitlement.js +18 -0
- package/lib/icons/utility/field_sales.js +20 -0
- package/lib/icons/utility/incident.js +27 -0
- package/lib/icons/utility/index.js +290 -19
- package/lib/icons/utility/layout_banner.js +19 -0
- package/lib/icons/utility/layout_card.js +19 -0
- package/lib/icons/utility/layout_overlap.js +19 -0
- package/lib/icons/utility/layout_tile.js +19 -0
- package/lib/icons/utility/light_bulb.js +1 -0
- package/lib/icons/utility/problem.js +18 -0
- package/lib/icons/utility/product_consumed_state.js +19 -0
- package/lib/icons/utility/product_transfer.js +19 -0
- package/lib/icons/utility/product_transfer_state.js +19 -0
- package/lib/icons/utility/promotion_segments.js +22 -0
- package/lib/icons/utility/promotions.js +2 -2
- package/lib/icons/utility/promotions_workspace.js +23 -0
- package/lib/icons/utility/qualifications.js +22 -0
- package/lib/icons/utility/reminder.js +3 -5
- package/lib/icons/utility/scan.js +18 -0
- package/lib/icons/utility/search.js +1 -1
- package/lib/icons/utility/shopping_bag.js +3 -5
- package/lib/icons/utility/signature.js +22 -0
- package/lib/icons/utility/spacer.js +19 -0
- package/lib/icons/utility/tour.js +25 -0
- package/lib/icons/utility/tour_check.js +20 -0
- package/lib/icons/utility/truck.js +29 -0
- package/lib/icons/utility/workforce_engagement.js +20 -0
- package/lib/package.json +10 -6
- package/module/components/brand-band/__docs__/__snapshots__/storybook-stories.storyshot +47 -157
- package/module/components/brand-band/__docs__/storybook-stories.js +6 -3
- package/module/components/brand-band/__docs__/storybook-stories.js.map +1 -1
- package/module/components/brand-band/__examples__/{lightning-blue-theme.js → group-image.js} +4 -9
- package/module/components/brand-band/__examples__/group-image.js.map +1 -0
- package/module/components/brand-band/__examples__/no-image.js +2 -4
- package/module/components/brand-band/__examples__/no-image.js.map +1 -1
- package/module/components/brand-band/__examples__/user-image.js +52 -0
- package/module/components/brand-band/__examples__/user-image.js.map +1 -0
- package/module/components/brand-band/check-props.js +20 -0
- package/module/components/brand-band/check-props.js.map +1 -0
- package/module/components/brand-band/component.json +8 -4
- package/module/components/brand-band/index.js +10 -51
- package/module/components/brand-band/index.js.map +1 -1
- package/module/components/brand-band.d.ts +1 -26
- package/module/components/combobox/__tests__/combobox.browser-test.js +22 -0
- package/module/components/combobox/__tests__/combobox.browser-test.js.map +1 -1
- package/module/components/combobox/combobox.js +6 -2
- package/module/components/combobox/combobox.js.map +1 -1
- package/module/components/component-docs.json +13 -38
- package/module/components/icon/__docs__/__snapshots__/storybook-stories.storyshot +49 -2
- package/module/components/icon/__docs__/storybook-stories.js +3 -0
- package/module/components/icon/__docs__/storybook-stories.js.map +1 -1
- package/module/components/icon/__examples__/color-success.js +64 -0
- package/module/components/icon/__examples__/color-success.js.map +1 -0
- package/module/components/icon/__examples__/colors.js +11 -2
- package/module/components/icon/__examples__/colors.js.map +1 -1
- package/module/components/icon/index.js +2 -1
- package/module/components/icon/index.js.map +1 -1
- package/module/components/icon.d.ts +1 -1
- package/module/components/site-stories.js +6 -3
- package/module/components/site-stories.js.map +1 -1
- package/module/icons/standard/account_info.js +12 -0
- package/module/icons/standard/asset_audit.js +10 -0
- package/module/icons/standard/asset_warranty.js +2 -1
- package/module/icons/standard/attach.js +10 -0
- package/module/icons/standard/budget.js +10 -0
- package/module/icons/standard/budget_allocation.js +23 -0
- package/module/icons/standard/change_request.js +10 -0
- package/module/icons/standard/code_set.js +12 -0
- package/module/icons/standard/code_set_bundle.js +12 -0
- package/module/icons/standard/contract_payment.js +20 -0
- package/module/icons/standard/coupon_codes.js +10 -0
- package/module/icons/standard/discounts.js +14 -0
- package/module/icons/standard/field_sales.js +12 -0
- package/module/icons/standard/filter_criteria_rule.js +10 -0
- package/module/icons/standard/historical_adherence.js +14 -0
- package/module/icons/standard/identifier.js +10 -0
- package/module/icons/standard/incident.js +19 -0
- package/module/icons/standard/index.js +366 -28
- package/module/icons/standard/med_rec_recommendation.js +12 -0
- package/module/icons/standard/med_rec_statement_recommendation.js +10 -0
- package/module/icons/standard/medication.js +25 -0
- package/module/icons/standard/medication_dispense.js +27 -0
- package/module/icons/standard/medication_reconciliation.js +10 -0
- package/module/icons/standard/medication_statement.js +10 -0
- package/module/icons/standard/network_contract.js +14 -0
- package/module/icons/standard/patient_medication_dosage.js +12 -0
- package/module/icons/standard/person_language.js +12 -0
- package/module/icons/standard/person_name.js +11 -0
- package/module/icons/standard/problem.js +10 -0
- package/module/icons/standard/product_consumed_state.js +11 -0
- package/module/icons/standard/product_transfer.js +2 -1
- package/module/icons/standard/product_transfer_state.js +11 -0
- package/module/icons/standard/promotion_segments.js +14 -0
- package/module/icons/standard/promotions_workspace.js +15 -0
- package/module/icons/standard/qualifications.js +14 -0
- package/module/icons/standard/report_type.js +16 -0
- package/module/icons/standard/serialized_product.js +1 -1
- package/module/icons/standard/serialized_product_transaction.js +5 -3
- package/module/icons/standard/story.js +9 -14
- package/module/icons/standard/tour.js +17 -0
- package/module/icons/standard/tour_check.js +12 -0
- package/module/icons/standard/travel_mode.js +2 -2
- package/module/icons/standard/unified_health_score.js +10 -0
- package/module/icons/standard/workforce_engagement.js +12 -0
- package/module/icons/utility/asset_audit.js +23 -0
- package/module/icons/utility/asset_warranty.js +2 -1
- package/module/icons/utility/block_visitor.js +2 -4
- package/module/icons/utility/bookmark_alt.js +10 -0
- package/module/icons/utility/change_request.js +10 -0
- package/module/icons/utility/collection_alt.js +18 -0
- package/module/icons/utility/contract_doc.js +12 -0
- package/module/icons/utility/contract_payment.js +20 -0
- package/module/icons/utility/coupon_codes.js +10 -0
- package/module/icons/utility/discounts.js +14 -0
- package/module/icons/utility/einstein.js +7 -1
- package/module/icons/utility/entitlement.js +10 -0
- package/module/icons/utility/field_sales.js +12 -0
- package/module/icons/utility/incident.js +19 -0
- package/module/icons/utility/index.js +290 -19
- package/module/icons/utility/layout_banner.js +11 -0
- package/module/icons/utility/layout_card.js +11 -0
- package/module/icons/utility/layout_overlap.js +11 -0
- package/module/icons/utility/layout_tile.js +11 -0
- package/module/icons/utility/light_bulb.js +1 -0
- package/module/icons/utility/problem.js +10 -0
- package/module/icons/utility/product_consumed_state.js +11 -0
- package/module/icons/utility/product_transfer.js +11 -0
- package/module/icons/utility/product_transfer_state.js +11 -0
- package/module/icons/utility/promotion_segments.js +14 -0
- package/module/icons/utility/promotions.js +2 -2
- package/module/icons/utility/promotions_workspace.js +15 -0
- package/module/icons/utility/qualifications.js +14 -0
- package/module/icons/utility/reminder.js +3 -5
- package/module/icons/utility/scan.js +10 -0
- package/module/icons/utility/search.js +1 -1
- package/module/icons/utility/shopping_bag.js +3 -5
- package/module/icons/utility/signature.js +14 -0
- package/module/icons/utility/spacer.js +11 -0
- package/module/icons/utility/tour.js +17 -0
- package/module/icons/utility/tour_check.js +12 -0
- package/module/icons/utility/truck.js +21 -0
- package/module/icons/utility/workforce_engagement.js +12 -0
- package/package.json +10 -6
- package/module/components/brand-band/__examples__/lightning-blue-theme.js.map +0 -1
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/* Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
export default {"viewBox":"0 0 52 52","xmlns":"http://www.w3.org/2000/svg","path":[{"d":"M33.39 28.66a3.12 3.12 0 103.15 3.13 3.
|
|
5
|
+
export default {"viewBox":"0 0 52 52","xmlns":"http://www.w3.org/2000/svg","path":[{"d":"M33.39 28.66a3.12 3.12 0 103.15 3.13 3.13 3.13 0 00-3.11-3.13zM18.52 17.08a3.12 3.12 0 103.12 3.13 3.12 3.12 0 00-3.12-3.13z"},{"d":"M48.77 22.84l-2.61-3.13a5.61 5.61 0 01-1.31-3.24l-.3-4a5.13 5.13 0 00-4.69-4.78l-3.49-.28a7.36 7.36 0 01-4.2-1.79l-2.65-2.33a5.15 5.15 0 00-6.7-.06l-2.88 2.43a6.64 6.64 0 01-3.79 1.54l-3.74.26a5.14 5.14 0 00-4.78 4.7l-.27 3.41a7.49 7.49 0 01-1.8 4.24l-2.29 2.64a5.14 5.14 0 00-.06 6.69l2.49 3a6.21 6.21 0 011.42 3.56l.28 3.85a5.14 5.14 0 004.69 4.78l3.5.31a7.23 7.23 0 014.18 1.78l2.66 2.3a5.17 5.17 0 006.7.05l3.05-2.55a5.9 5.9 0 013.4-1.36l4-.29a5.13 5.13 0 004.78-4.69l.29-3.24a8.14 8.14 0 012-4.64l2.13-2.43a5.12 5.12 0 00-.01-6.73zm-36-2.63A5.8 5.8 0 1118.55 26a5.79 5.79 0 01-5.82-5.79zm8.39 17.11a.46.46 0 01-.35.23h-1.73a.44.44 0 01-.37-.22.42.42 0 010-.43l12.12-22.25a.51.51 0 01.36-.22H33a.44.44 0 01.21.59zm18.13-5.54A5.81 5.81 0 1133.44 26a5.79 5.79 0 015.77 5.82z"}]};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/* Copyright (c) 2015-present, salesforce.com, inc. All rights reserved */
|
|
2
|
+
/* Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export default {"viewBox":"0 0 52 52","xmlns":"http://www.w3.org/2000/svg","path":[{"d":"M15.1 2a1.68 1.68 0 011.71 1.63v1.22a1.68 1.68 0 01-1.63 1.71H10a3.4 3.4 0 00-3.44 3.25V42a3.4 3.4 0 003.25 3.41H42a3.4 3.4 0 003.41-3.25V36.9a1.68 1.68 0 011.63-1.71h1.22A1.67 1.67 0 0150 36.82v6.35A6.82 6.82 0 0143.18 50H8.83A6.82 6.82 0 012 43.18V8.83A6.83 6.83 0 018.82 2h6.28z","fill-rule":"evenodd"},{"d":"M38.11 21a2.23 2.23 0 102.25 2.23A2.22 2.22 0 0038.14 21zM27.49 12.76A2.23 2.23 0 1029.72 15a2.22 2.22 0 00-2.23-2.23z"},{"d":"M49.1 16.87l-1.87-2.24a3.94 3.94 0 01-.93-2.31l-.22-2.86a3.66 3.66 0 00-3.35-3.41l-2.49-.2a5.3 5.3 0 01-3-1.28l-1.89-1.66a3.68 3.68 0 00-4.79-.05L28.5 4.6a4.72 4.72 0 01-2.7 1.1l-2.67.18a3.69 3.69 0 00-3.42 3.36l-.19 2.44a5.28 5.28 0 01-1.29 3l-1.63 1.91a3.67 3.67 0 000 4.78l1.77 2.14a4.42 4.42 0 011 2.54l.2 2.75a3.68 3.68 0 003.35 3.42l2.5.22a5.17 5.17 0 013 1.27l1.9 1.64a3.7 3.7 0 004.79 0l2.18-1.82a4.08 4.08 0 012.43-1l2.85-.21A3.68 3.68 0 0046 29l.2-2.31a5.93 5.93 0 011.43-3.32l1.52-1.73a3.66 3.66 0 00-.05-4.77zM23.38 15a4.15 4.15 0 114.15 4.14A4.13 4.13 0 0123.36 15zm6 12.22a.39.39 0 01-.25.17h-1.24a.33.33 0 01-.26-.16.29.29 0 010-.31L36.28 11a.4.4 0 01.26-.16h1.29a.31.31 0 01.15.42zm12.94-4a4.15 4.15 0 11-4.17-4.12 4.13 4.13 0 014.12 4.15z"}]};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/* Copyright (c) 2015-present, salesforce.com, inc. All rights reserved */
|
|
2
|
+
/* Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export default {"viewBox":"0 0 52 52","xmlns":"http://www.w3.org/2000/svg","path":[{"d":"M18.37 35.92a.4.4 0 01-.31.19h-1.45a.39.39 0 01-.33-.19.35.35 0 010-.37L26.7 16.43a.42.42 0 01.31-.18h1.55a.38.38 0 01.18.51zM16.32 19.24a2.1 2.1 0 11-2.09 2.09 2.09 2.09 0 012.09-2.09m0-2.79a4.88 4.88 0 104.87 4.89 4.89 4.89 0 00-4.87-4.89zM47.15 26a1.34 1.34 0 00-1 .43L32.62 41.36a.44.44 0 01-.33.15.43.43 0 01-.31-.13l-4.67-4.6a1.33 1.33 0 00-1.86 0l-1.84 1.87a1.3 1.3 0 000 1.85l7.27 7.16a2.2 2.2 0 003.15-.09L50.06 30a1.3 1.3 0 00-.06-1.89l-2-1.77a1.3 1.3 0 00-.85-.34z"},{"d":"M43.27 24.43l-1.65 1.81-1-1.2-.34-.41-2-2.35a7.35 7.35 0 01-1.7-4.28l-.25-3.42a1.83 1.83 0 00-1.64-1.69l-3-.24a8.88 8.88 0 01-5.13-2.17l-2.28-2A1.78 1.78 0 0023.13 8a1.83 1.83 0 00-1.13.45l-2.5 2.09a8.31 8.31 0 01-4.76 1.94l-3.22.22a1.77 1.77 0 00-1.67 1.63l-.24 2.92a8.93 8.93 0 01-2.17 5.16l-2 2.26a1.79 1.79 0 000 2.34l2.15 2.58a7.94 7.94 0 011.82 4.57l.24 3.29a1.79 1.79 0 001.64 1.68l3 .26a8.93 8.93 0 015.09 2.18l2.27 2 .12.09 2.7 2.65a4.38 4.38 0 01-1.63.32 4.43 4.43 0 01-2.91-1.08l-2.28-2A6.15 6.15 0 0014.07 42l-3-.27a4.42 4.42 0 01-4-4.1l-.23-3.3a5.41 5.41 0 00-1.23-3.07l-2.17-2.57A4.39 4.39 0 013.49 23l2-2.28A6.36 6.36 0 007 17l.24-2.93a4.4 4.4 0 014.1-4l3.21-.23a5.65 5.65 0 003.25-1.31l2.48-2.08A4.41 4.41 0 0126 6.5l2.28 2a6.35 6.35 0 003.64 1.5l3 .23a4.42 4.42 0 014 4.11l.25 3.43a4.81 4.81 0 001.13 2.79l2.24 2.69a4 4 0 01.73 1.18z"},{"d":"M26.39 32.91a4.78 4.78 0 013.37 1.38L31 35.47a4.88 4.88 0 002.76-4.39 4.87 4.87 0 00-4.87-4.87A4.89 4.89 0 0024 31.08a4.81 4.81 0 00.54 2.21 4.83 4.83 0 011.85-.38zm.37-1.84a2.1 2.1 0 112.1 2.1 2.08 2.08 0 01-2.1-2.1z"}]};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/* Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
export default {"viewBox":"0 0 52 52","xmlns":"http://www.w3.org/2000/svg","path":
|
|
5
|
+
export default {"viewBox":"0 0 52 52","xmlns":"http://www.w3.org/2000/svg","path":{"d":"M50.3 7.5a7.45 7.45 0 00-6.2-5.9 7.81 7.81 0 00-5.8 1.6.81.81 0 00.2 1.4 28.48 28.48 0 019.4 8.2.84.84 0 001.4 0 6.87 6.87 0 001-5.3zM13.5 4.7a.9.9 0 00.2-1.4 7 7 0 00-5.8-1.6 7.23 7.23 0 00-6.2 5.8 7.36 7.36 0 001.1 5.3.84.84 0 001.4 0 26 26 0 019.3-8.1zM26 6.5a22.06 22.06 0 00-22 22 21.58 21.58 0 004.3 13L5 44.8a3.2 3.2 0 000 4.6 3.15 3.15 0 004.6 0l3.3-3.3A22.1 22.1 0 0026 50.4a21.58 21.58 0 0013-4.3l3.3 3.3a3.25 3.25 0 002.4 1 3.3 3.3 0 002.3-5.6l-3.3-3.3a21.58 21.58 0 004.3-13 21.94 21.94 0 00-22-22zM10.5 28.4A15.5 15.5 0 1126 43.9a15.49 15.49 0 01-15.5-15.5zm18-.9v-6.4a2.37 2.37 0 00-2.4-2.4 2.43 2.43 0 00-2.4 2.4v7.3a2.06 2.06 0 00.7 1.7l5.7 5.7a2.41 2.41 0 003.4 0 2.3 2.3 0 000-3.4z"}};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/* Copyright (c) 2015-present, salesforce.com, inc. All rights reserved */
|
|
2
|
+
/* Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export default {"viewBox":"0 0 52 52","xmlns":"http://www.w3.org/2000/svg","path":{"d":"M48.5 32a1.61 1.61 0 011.5 1.5v8.85Q50 47 45.5 47h-9a1.55 1.55 0 010-3.1h8.25c1.66 0 2.25-.61 2.25-2.32V33.5a1.61 1.61 0 011.5-1.5zm-45 0A1.61 1.61 0 015 33.5v8.08c0 1.71.59 2.32 2.25 2.32h8.25a1.55 1.55 0 010 3.1h-9Q2 47 2 42.35V33.5A1.61 1.61 0 013.5 32zm16.67-18c.73 0 1.33.45 1.33 1v22c0 .55-.6 1-1.33 1h-3.34c-.73 0-1.33-.45-1.33-1V15c0-.55.6-1 1.33-1h3.34zm-8.67 0a1 1 0 011 1v22a1 1 0 01-1 1h-1a1 1 0 01-1-1V15a1 1 0 011-1h1zm15 0a1 1 0 011 1v22a1 1 0 01-1 1h-1a1 1 0 01-1-1V15a1 1 0 011-1h1zm15 0a1 1 0 011 1v22a1 1 0 01-1 1h-1a1 1 0 01-1-1V15a1 1 0 011-1h1zm-6.33 0c.73 0 1.33.45 1.33 1v22c0 .55-.6 1-1.33 1h-3.34c-.73 0-1.33-.45-1.33-1V15c0-.55.6-1 1.33-1h3.34zM45.5 5Q50 5 50 9.65v8.85a1.5 1.5 0 01-3 0v-8.08c0-1.71-.59-2.32-2.25-2.32H36.5a1.55 1.55 0 010-3.1h9zm-30 0a1.55 1.55 0 010 3.1H7.25C5.59 8.1 5 8.71 5 10.42v8.08A1.61 1.61 0 013.5 20 1.61 1.61 0 012 18.5V9.65Q2 5 6.5 5z"}};
|
package/icons/utility/search.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/* Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
export default {"viewBox":"0 0 52 52","xmlns":"http://www.w3.org/2000/svg","path":{"d":"M49.
|
|
5
|
+
export default {"viewBox":"0 0 52 52","xmlns":"http://www.w3.org/2000/svg","path":{"d":"M49.62 45.27L36.22 32a18.9 18.9 0 10-34.1-9.2A18.91 18.91 0 0032 36.27l13.3 13.3a1.45 1.45 0 002.1 0l2.1-2.1a1.68 1.68 0 00.12-2.2zm-28.7-11.5a12.9 12.9 0 1112.9-12.9 12.87 12.87 0 01-12.9 12.9z","fill-rule":"evenodd"}};
|
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
/* Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
export default {"viewBox":"0 0 52 52","xmlns":"http://www.w3.org/2000/svg","path":
|
|
5
|
+
export default {"viewBox":"0 0 52 52","xmlns":"http://www.w3.org/2000/svg","path":{"d":"M44 19.6a4 4 0 00-4-4h-.7a13.24 13.24 0 00-26.4 0H12a4 4 0 00-4 4l-2 25a4 4 0 004 4h32a4 4 0 004-4zM26.1 9.4a7.24 7.24 0 017.2 6.2H18.9a7.39 7.39 0 017.2-6.2zm5.7 18.2H20.2a3 3 0 01-3-3 3.08 3.08 0 013-3h11.7a3 3 0 013 3 3.1 3.1 0 01-3.1 3z"}};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/* Copyright (c) 2015-present, salesforce.com, inc. All rights reserved */
|
|
2
|
+
/* Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export default {"viewBox":"0 0 52 52","xmlns":"http://www.w3.org/2000/svg","path":[{"d":"M48.31 9.28a1.25 1.25 0 00-.82-.37 1.08 1.08 0 00-.81.37l-1 1a.35.35 0 000 .45l2.56 2.57a.48.48 0 00.24.07.31.31 0 00.2-.07l1-1a1.18 1.18 0 000-1.65l-.09-.08zM44.86 11.55a.4.4 0 00-.24-.07.25.25 0 00-.2.07L34.18 21.73l-1 3.39a.47.47 0 00.29.59h.25l3.4-1 10.25-10.17a.3.3 0 000-.4z"},{"d":"M49.11 16.3l-4.57 4.54v15.7a1.64 1.64 0 01-1.64 1.64H8.54a1.64 1.64 0 01-1.64-1.64V17.72a1.64 1.64 0 011.64-1.64h27.82l4.91-4.91H6.9A4.91 4.91 0 002 16.08v22.1a4.91 4.91 0 004.9 4.91h37.64a4.91 4.91 0 004.91-4.91V15.89a2.64 2.64 0 01-.34.41z"},{"d":"M29.94 26.37c-.77.45-1.49.94-2.26 1.35A3.13 3.13 0 0127 28a.17.17 0 000-.1 3.32 3.32 0 00-3.83-2.73h-.13a47.41 47.41 0 00-5.46 1.73 46.8 46.8 0 01-5.69 1.41 1.55 1.55 0 00-1.07 1.89 1.57 1.57 0 001.88 1.08 48.77 48.77 0 005.69-1.42c.93-.29 1.86-.61 2.79-.91l1.63-.53a4.59 4.59 0 011-.28c.09 0 .11.18.17.3.16.38.27.77.47 1.14a2.68 2.68 0 002.24 1.51c1.83.1 3.37-1.23 4.91-2.06 1.62-.97.07-3.62-1.66-2.66z"}]};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/* Copyright (c) 2015-present, salesforce.com, inc. All rights reserved */
|
|
2
|
+
/* Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export default {"viewBox":"0 0 52 52","xmlns":"http://www.w3.org/2000/svg","path":{"d":"M3 1v16a2 2 0 002 2h42a2 2 0 002-2V1h-4v14H7V1zm46 50V35a2 2 0 00-2-2H5a2 2 0 00-2 2v16h4V37h38v14zM12 28H4v-4h8zm4 0h8v-4h-8zm20 0h-8v-4h8zm4 0h8v-4h-8z","fill-rule":"evenodd"}};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/* Copyright (c) 2015-present, salesforce.com, inc. All rights reserved */
|
|
2
|
+
/* Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export default {"viewBox":"0 0 52 52","xmlns":"http://www.w3.org/2000/svg","path":[{"d":"M49.9 37.1a9 9 0 01-9 9H14.3a7.51 7.51 0 00.15-1.51 7.38 7.38 0 00-.15-1.49h26.62a6 6 0 000-12H11a9 9 0 010-18h20.27a14.84 14.84 0 001 3H11a6 6 0 000 12h29.92a8.85 8.85 0 013.53.73 8.7 8.7 0 013.24 2.37 9 9 0 012.21 5.9z"},{"d":"M42.47 2.93a7.54 7.54 0 00-7.53 7.57c0 5.23 5.39 10 7.05 11.3a.81.81 0 001 0c1.66-1.31 7-6.07 7-11.3a7.54 7.54 0 00-7.52-7.57zm0 10.7a3.17 3.17 0 113.17-3.17 3.18 3.18 0 01-3.17 3.17z"}],"circle":{"cx":"6.49","cy":"44.58","r":"4.49"}};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/* Copyright (c) 2015-present, salesforce.com, inc. All rights reserved */
|
|
2
|
+
/* Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export default {"viewBox":"0 0 52 52","xmlns":"http://www.w3.org/2000/svg","path":[{"d":"M49.91 32.66a8.44 8.44 0 01-8.42 8.41H17.13a13.24 13.24 0 001-2.81h23.36a5.61 5.61 0 000-11.21H13.43a8.42 8.42 0 010-16.8h17.11a4.55 4.55 0 00-.54 2.1 3.56 3.56 0 00.05.65H13.43a5.6 5.6 0 000 11.2h28.06a8.34 8.34 0 013.31.68 8.05 8.05 0 013 2.23 8.4 8.4 0 012.11 5.55zM47.84 5.14a.87.87 0 00-.65.29L40 13.52a.27.27 0 01-.22.1.28.28 0 01-.2-.08l-3.13-3.07a.87.87 0 00-1.23 0L34 11.73A.88.88 0 0034 13l4.87 4.8a1.44 1.44 0 002.13-.09l8.8-9.87a.88.88 0 000-1.24l-1.4-1.21a.85.85 0 00-.56-.25z"},{"d":"M9.05 29A7.07 7.07 0 002 36.1c0 4.9 5 9.4 6.6 10.58a.74.74 0 00.93 0c1.56-1.22 6.58-5.68 6.58-10.58a7.08 7.08 0 00-7-7.11zm0 10a3 3 0 113-3 3 3 0 01-3 3z"}]};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/* Copyright (c) 2015-present, salesforce.com, inc. All rights reserved */
|
|
2
|
+
/* Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export default {"viewBox":"0 0 52 52","xmlns":"http://www.w3.org/2000/svg","path":[{"d":"M49.55 23.68l-5.85-5.86a1.52 1.52 0 00-1.05-.44H36.5a1.5 1.5 0 00-1.5 1.5v12a.74.74 0 001 .67 8.84 8.84 0 013.45-.67 9.05 9.05 0 017.88 4.65.76.76 0 001.12.22A4.58 4.58 0 0050 32.38v-7.66a1.45 1.45 0 00-.45-1.04z"},{"d":"M29 10.62H3.5a1.5 1.5 0 00-1.5 1.5v20.26a4.58 4.58 0 001.5 3.37.72.72 0 001.12-.22 9 9 0 0116.2.9.74.74 0 00.68.45H26a4.52 4.52 0 004.5-4.5V12.12a1.51 1.51 0 00-1.5-1.5z"}],"circle":[{"cx":"39.5","cy":"39.88","r":"4.5"},{"cx":"12.5","cy":"39.88","r":"4.5"}]};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/* Copyright (c) 2015-present, salesforce.com, inc. All rights reserved */
|
|
2
|
+
/* Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export default {"viewBox":"0 0 52 52","xmlns":"http://www.w3.org/2000/svg","path":[{"d":"M40.27 17.91a16.36 16.36 0 00-32.71 0 8.18 8.18 0 00.64 15.62 16.41 16.41 0 0015.72 12.08 15.91 15.91 0 005.63-1l-.38-.45a9.17 9.17 0 01-1.75-2.69A12.27 12.27 0 0124 42a12.63 12.63 0 01-12-8.63 17.35 17.35 0 008.45 2.37 1.24 1.24 0 001.28.82h4.53a1.38 1.38 0 00.56-.12 1.25 1.25 0 00.72-1.16v-2.75a1.41 1.41 0 00-1.28-1.45h-4.52a1.53 1.53 0 00-1.28.9c-5-.27-8.54-2.45-9.08-4.72a17.88 17.88 0 01.82-4.09 19.09 19.09 0 002.62 0 17.65 17.65 0 0013.73-6.72 13.89 13.89 0 006.63 5.45c.09.27.27.54.36.81a17.67 17.67 0 011.09 6.19v.37a8.31 8.31 0 013.29 1.29 8.34 8.34 0 014.69-1.44 1.61 1.61 0 01.31 0 7.8 7.8 0 00.81-3.52 8.17 8.17 0 00-5.46-7.69z"},{"d":"M41.34 49.38a2 2 0 01-2.83 0c-2.39-2.56-7-7.43-7-7.47a5.77 5.77 0 010-7.86 5.15 5.15 0 017.28-.22l.22.22.4.5a.69.69 0 001 .09l.09-.09.33-.43.07-.07a5.09 5.09 0 017.19-.3l.3.3a5.77 5.77 0 010 7.86c-.08.09-4.62 4.91-7.05 7.47z"}]};
|
|
@@ -14,33 +14,13 @@ exports[`DOM snapshots SLDSBrandBand Default (medium) 1`] = `
|
|
|
14
14
|
}
|
|
15
15
|
>
|
|
16
16
|
<div
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
"height": "100%",
|
|
21
|
-
"position": "relative",
|
|
22
|
-
"width": "100%",
|
|
23
|
-
"zIndex": 1,
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
>
|
|
27
|
-
<style>
|
|
28
|
-
.slds-brand-band.dsr-brand-band_lightning-blue:before {
|
|
29
|
-
background-image: url(/assets/images/themes/oneSalesforce/banner-brand-default.png), linear-gradient(to top, rgba(175, 197, 222, 0) 0, #1B5F9E);
|
|
30
|
-
}
|
|
31
|
-
.slds-brand-band.dsr-brand-band_lightning-blue:after {
|
|
32
|
-
background-image: linear-gradient(to bottom, rgba(175, 197, 222, 0) 60%, #AFC5DE);
|
|
33
|
-
}
|
|
34
|
-
</style>
|
|
35
|
-
<div
|
|
36
|
-
className="slds-brand-band slds-brand-band_medium dsr-brand-band_lightning-blue"
|
|
37
|
-
id="brand-band-default"
|
|
38
|
-
/>
|
|
39
|
-
</div>
|
|
17
|
+
className="slds-brand-band slds-brand-band_medium"
|
|
18
|
+
id="brand-band-default"
|
|
19
|
+
/>
|
|
40
20
|
</div>
|
|
41
21
|
`;
|
|
42
22
|
|
|
43
|
-
exports[`DOM snapshots SLDSBrandBand Image
|
|
23
|
+
exports[`DOM snapshots SLDSBrandBand Group Image 1`] = `
|
|
44
24
|
<div
|
|
45
25
|
style={
|
|
46
26
|
Object {
|
|
@@ -54,39 +34,13 @@ exports[`DOM snapshots SLDSBrandBand Image with background size cover 1`] = `
|
|
|
54
34
|
}
|
|
55
35
|
>
|
|
56
36
|
<div
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
"height": "100%",
|
|
61
|
-
"position": "relative",
|
|
62
|
-
"width": "100%",
|
|
63
|
-
"zIndex": 1,
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
>
|
|
67
|
-
<style>
|
|
68
|
-
.slds-brand-band.dsr-brand-band_lightning-blue:before {
|
|
69
|
-
background-image: url(/assets/images/themes/oneSalesforce/banner-brand-default.png), linear-gradient(to top, rgba(175, 197, 222, 0) 0, #1B5F9E);
|
|
70
|
-
}
|
|
71
|
-
.slds-brand-band.dsr-brand-band_lightning-blue:after {
|
|
72
|
-
background-image: linear-gradient(to bottom, rgba(175, 197, 222, 0) 60%, #AFC5DE);
|
|
73
|
-
}
|
|
74
|
-
</style>
|
|
75
|
-
<div
|
|
76
|
-
className="slds-brand-band slds-brand-band_large slds-brand-band_cover dsr-brand-band_lightning-blue custom-brand-band-class"
|
|
77
|
-
id="brand-band-large"
|
|
78
|
-
>
|
|
79
|
-
<span
|
|
80
|
-
className="slds-assistive-text"
|
|
81
|
-
>
|
|
82
|
-
Hello World!
|
|
83
|
-
</span>
|
|
84
|
-
</div>
|
|
85
|
-
</div>
|
|
37
|
+
className="slds-brand-band slds-brand-band_medium slds-brand-band_group"
|
|
38
|
+
id="brand-band-user-group"
|
|
39
|
+
/>
|
|
86
40
|
</div>
|
|
87
41
|
`;
|
|
88
42
|
|
|
89
|
-
exports[`DOM snapshots SLDSBrandBand
|
|
43
|
+
exports[`DOM snapshots SLDSBrandBand Image with background size cover 1`] = `
|
|
90
44
|
<div
|
|
91
45
|
style={
|
|
92
46
|
Object {
|
|
@@ -100,39 +54,19 @@ exports[`DOM snapshots SLDSBrandBand Large 1`] = `
|
|
|
100
54
|
}
|
|
101
55
|
>
|
|
102
56
|
<div
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
"background": "rgb(176, 196, 223)",
|
|
106
|
-
"height": "100%",
|
|
107
|
-
"position": "relative",
|
|
108
|
-
"width": "100%",
|
|
109
|
-
"zIndex": 1,
|
|
110
|
-
}
|
|
111
|
-
}
|
|
57
|
+
className="slds-brand-band slds-brand-band_large slds-brand-band_cover custom-brand-band-class"
|
|
58
|
+
id="brand-band-large"
|
|
112
59
|
>
|
|
113
|
-
<
|
|
114
|
-
|
|
115
|
-
background-image: url(/assets/images/themes/oneSalesforce/banner-brand-default.png), linear-gradient(to top, rgba(175, 197, 222, 0) 0, #1B5F9E);
|
|
116
|
-
}
|
|
117
|
-
.slds-brand-band.dsr-brand-band_lightning-blue:after {
|
|
118
|
-
background-image: linear-gradient(to bottom, rgba(175, 197, 222, 0) 60%, #AFC5DE);
|
|
119
|
-
}
|
|
120
|
-
</style>
|
|
121
|
-
<div
|
|
122
|
-
className="slds-brand-band slds-brand-band_large dsr-brand-band_lightning-blue custom-brand-band-class"
|
|
123
|
-
id="brand-band-large"
|
|
60
|
+
<span
|
|
61
|
+
className="slds-assistive-text"
|
|
124
62
|
>
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
>
|
|
128
|
-
Hello World!
|
|
129
|
-
</span>
|
|
130
|
-
</div>
|
|
63
|
+
Hello World!
|
|
64
|
+
</span>
|
|
131
65
|
</div>
|
|
132
66
|
</div>
|
|
133
67
|
`;
|
|
134
68
|
|
|
135
|
-
exports[`DOM snapshots SLDSBrandBand
|
|
69
|
+
exports[`DOM snapshots SLDSBrandBand Large 1`] = `
|
|
136
70
|
<div
|
|
137
71
|
style={
|
|
138
72
|
Object {
|
|
@@ -146,38 +80,14 @@ exports[`DOM snapshots SLDSBrandBand Lightning Blue Theme 1`] = `
|
|
|
146
80
|
}
|
|
147
81
|
>
|
|
148
82
|
<div
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
"background": "rgb(176, 196, 223)",
|
|
152
|
-
"height": "100%",
|
|
153
|
-
"position": "relative",
|
|
154
|
-
"width": "100%",
|
|
155
|
-
"zIndex": 1,
|
|
156
|
-
}
|
|
157
|
-
}
|
|
83
|
+
className="slds-brand-band slds-brand-band_large custom-brand-band-class"
|
|
84
|
+
id="brand-band-large"
|
|
158
85
|
>
|
|
159
|
-
<
|
|
160
|
-
|
|
161
|
-
background-image: url(/assets/images/themes/oneSalesforce/banner-brand-default.png), linear-gradient(to top, rgba(175, 197, 222, 0) 0, #1B5F9E);
|
|
162
|
-
}
|
|
163
|
-
.slds-brand-band.dsr-brand-band_lightning-blue:after {
|
|
164
|
-
background-image: linear-gradient(to bottom, rgba(175, 197, 222, 0) 60%, #AFC5DE);
|
|
165
|
-
}
|
|
166
|
-
</style>
|
|
167
|
-
<div
|
|
168
|
-
className="slds-brand-band slds-brand-band_medium dsr-brand-band_lightning-blue slds-p-around_small"
|
|
169
|
-
id="brand-band-lightning-blue"
|
|
86
|
+
<span
|
|
87
|
+
className="slds-assistive-text"
|
|
170
88
|
>
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
>
|
|
174
|
-
<h3
|
|
175
|
-
className="slds-text-heading_label slds-truncate"
|
|
176
|
-
>
|
|
177
|
-
My App
|
|
178
|
-
</h3>
|
|
179
|
-
</div>
|
|
180
|
-
</div>
|
|
89
|
+
Hello World!
|
|
90
|
+
</span>
|
|
181
91
|
</div>
|
|
182
92
|
</div>
|
|
183
93
|
`;
|
|
@@ -196,35 +106,15 @@ exports[`DOM snapshots SLDSBrandBand No Image 1`] = `
|
|
|
196
106
|
}
|
|
197
107
|
>
|
|
198
108
|
<div
|
|
109
|
+
className="slds-brand-band slds-brand-band_medium slds-brand-band_none"
|
|
110
|
+
id="brand-band-no-image"
|
|
199
111
|
style={
|
|
200
112
|
Object {
|
|
201
|
-
"
|
|
202
|
-
"border": "1px solid #eee",
|
|
203
|
-
"height": "100%",
|
|
204
|
-
"position": "relative",
|
|
205
|
-
"width": "100%",
|
|
113
|
+
"backgroundColor": "#eef4ff",
|
|
206
114
|
"zIndex": 1,
|
|
207
115
|
}
|
|
208
116
|
}
|
|
209
|
-
|
|
210
|
-
<style>
|
|
211
|
-
.slds-brand-band.dsr-brand-band_lightning-blue:before {
|
|
212
|
-
background-image: url(/assets/images/themes/oneSalesforce/banner-brand-default.png), linear-gradient(to top, rgba(175, 197, 222, 0) 0, #1B5F9E);
|
|
213
|
-
}
|
|
214
|
-
.slds-brand-band.dsr-brand-band_lightning-blue:after {
|
|
215
|
-
background-image: linear-gradient(to bottom, rgba(175, 197, 222, 0) 60%, #AFC5DE);
|
|
216
|
-
}
|
|
217
|
-
</style>
|
|
218
|
-
<div
|
|
219
|
-
className="slds-brand-band slds-brand-band_medium slds-brand-band_none dsr-brand-band_lightning-blue"
|
|
220
|
-
id="brand-band-no-image"
|
|
221
|
-
style={
|
|
222
|
-
Object {
|
|
223
|
-
"zIndex": 1,
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
/>
|
|
227
|
-
</div>
|
|
117
|
+
/>
|
|
228
118
|
</div>
|
|
229
119
|
`;
|
|
230
120
|
|
|
@@ -242,28 +132,28 @@ exports[`DOM snapshots SLDSBrandBand Small 1`] = `
|
|
|
242
132
|
}
|
|
243
133
|
>
|
|
244
134
|
<div
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
135
|
+
className="slds-brand-band slds-brand-band_small"
|
|
136
|
+
id="brand-band-small"
|
|
137
|
+
/>
|
|
138
|
+
</div>
|
|
139
|
+
`;
|
|
140
|
+
|
|
141
|
+
exports[`DOM snapshots SLDSBrandBand User Image 1`] = `
|
|
142
|
+
<div
|
|
143
|
+
style={
|
|
144
|
+
Object {
|
|
145
|
+
"bottom": "1rem",
|
|
146
|
+
"left": "1rem",
|
|
147
|
+
"overflow": "auto",
|
|
148
|
+
"position": "absolute",
|
|
149
|
+
"right": "1rem",
|
|
150
|
+
"top": "1rem",
|
|
253
151
|
}
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
background-image: linear-gradient(to bottom, rgba(175, 197, 222, 0) 60%, #AFC5DE);
|
|
261
|
-
}
|
|
262
|
-
</style>
|
|
263
|
-
<div
|
|
264
|
-
className="slds-brand-band slds-brand-band_small dsr-brand-band_lightning-blue"
|
|
265
|
-
id="brand-band-small"
|
|
266
|
-
/>
|
|
267
|
-
</div>
|
|
152
|
+
}
|
|
153
|
+
>
|
|
154
|
+
<div
|
|
155
|
+
className="slds-brand-band slds-brand-band_medium slds-brand-band_user"
|
|
156
|
+
id="brand-band-user-image"
|
|
157
|
+
/>
|
|
268
158
|
</div>
|
|
269
159
|
`;
|
|
@@ -5,10 +5,11 @@ import { storiesOf } from '@storybook/react';
|
|
|
5
5
|
import { BRAND_BAND } from '../../../utilities/constants';
|
|
6
6
|
import Default from '../__examples__/default';
|
|
7
7
|
import Large from '../__examples__/large';
|
|
8
|
-
import LightningBlueTheme from '../__examples__/lightning-blue-theme';
|
|
9
8
|
import NoImage from '../__examples__/no-image';
|
|
10
9
|
import Small from '../__examples__/small';
|
|
11
10
|
import BackgroundCover from '../__examples__/background-cover';
|
|
11
|
+
import UserImage from '../__examples__/user-image';
|
|
12
|
+
import GroupImage from '../__examples__/group-image';
|
|
12
13
|
|
|
13
14
|
storiesOf(BRAND_BAND, module)
|
|
14
15
|
.addDecorator((getStory) => (
|
|
@@ -29,5 +30,6 @@ storiesOf(BRAND_BAND, module)
|
|
|
29
30
|
.add('Small', () => <Small />)
|
|
30
31
|
.add('Large', () => <Large />)
|
|
31
32
|
.add('No Image', () => <NoImage />)
|
|
32
|
-
.add('
|
|
33
|
+
.add('User Image', () => <UserImage />)
|
|
34
|
+
.add('Group Image', () => <GroupImage />)
|
|
33
35
|
.add('Image with background size cover', () => <BackgroundCover />);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import BrandBand from '~/components/brand-band'; // `~` is replaced with design-system-react at runtime
|
|
3
|
+
|
|
4
|
+
class Example extends React.Component {
|
|
5
|
+
render() {
|
|
6
|
+
return <BrandBand id="brand-band-user-group" image="group" />;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
Example.displayName = 'BrandBandExample';
|
|
11
|
+
|
|
12
|
+
export default Example; // export is replaced with `ReactDOM.render(<Example />, mountNode);` at runtime
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import BrandBand from '~/components/brand-band'; // `~` is replaced with design-system-react at runtime
|
|
3
|
+
|
|
4
|
+
class Example extends React.Component {
|
|
5
|
+
render() {
|
|
6
|
+
return <BrandBand id="brand-band-user-image" image="user" />;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
Example.displayName = 'BrandBandExample';
|
|
11
|
+
|
|
12
|
+
export default Example; // export is replaced with `ReactDOM.render(<Example />, mountNode);` at runtime
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
|
|
8
|
+
var _sunsetProperty = _interopRequireDefault(require("../../utilities/warning/sunset-property"));
|
|
9
|
+
|
|
10
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
+
|
|
12
|
+
/* Copyright (c) 2015-present, salesforce.com, inc. All rights reserved */
|
|
13
|
+
|
|
14
|
+
/* Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license */
|
|
15
|
+
|
|
16
|
+
/* eslint-disable import/no-mutable-exports */
|
|
17
|
+
|
|
18
|
+
/* eslint-disable max-len */
|
|
19
|
+
var checkProps = function checkPropsFunction() {};
|
|
20
|
+
|
|
21
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
22
|
+
checkProps = function checkPropsFunction(COMPONENT, props) {
|
|
23
|
+
(0, _sunsetProperty.default)(COMPONENT, props.styleContainer, 'styleContainer');
|
|
24
|
+
(0, _sunsetProperty.default)(COMPONENT, props.theme, 'theme');
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
var _default = checkProps;
|
|
29
|
+
exports.default = _default;
|
|
@@ -9,10 +9,6 @@
|
|
|
9
9
|
},
|
|
10
10
|
"SLDS-component-path": "/components/brand-band",
|
|
11
11
|
"site-stories": [
|
|
12
|
-
{
|
|
13
|
-
"heading": "Lightning Blue",
|
|
14
|
-
"path": "/__examples__/lightning-blue-theme.jsx"
|
|
15
|
-
},
|
|
16
12
|
{
|
|
17
13
|
"heading": "Default",
|
|
18
14
|
"path": "/__examples__/default.jsx"
|
|
@@ -28,6 +24,14 @@
|
|
|
28
24
|
{
|
|
29
25
|
"heading": "No Image",
|
|
30
26
|
"path": "/__examples__/no-image.jsx"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"heading": "User Image",
|
|
30
|
+
"path": "/__examples__/user-image.jsx"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"heading": "Group Image",
|
|
34
|
+
"path": "/__examples__/group-image.jsx"
|
|
31
35
|
}
|
|
32
36
|
],
|
|
33
37
|
"url-slug": "brand-band"
|
|
@@ -15,16 +15,12 @@ var _shortid = _interopRequireDefault(require("shortid"));
|
|
|
15
15
|
|
|
16
16
|
var _classNames = _interopRequireDefault(require("../../utilities/class-names"));
|
|
17
17
|
|
|
18
|
+
var _checkProps = _interopRequireDefault(require("./check-props"));
|
|
19
|
+
|
|
18
20
|
var _constants = require("../../utilities/constants");
|
|
19
21
|
|
|
20
22
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
21
23
|
|
|
22
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
23
|
-
|
|
24
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
25
|
-
|
|
26
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
27
|
-
|
|
28
24
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
29
25
|
|
|
30
26
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
@@ -47,20 +43,6 @@ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.g
|
|
|
47
43
|
|
|
48
44
|
/**
|
|
49
45
|
* The brand band provides theming capability that adds personality and improves information density and contrast.
|
|
50
|
-
*
|
|
51
|
-
* NOTE: you may find that themes other than 'default' fail to load the appropriate styling in your application.
|
|
52
|
-
* If this occurs the cause is very likely to be CSP settings on the server hosting your application protecting against style injections.
|
|
53
|
-
* Changing these settings is not recommended. Instead, add the following styles to any stylesheet provided by the server itself (such as an external stylesheet):
|
|
54
|
-
*
|
|
55
|
-
* When using 'lightning-theme':
|
|
56
|
-
* .slds-brand-band.dsr-brand-band_lightning-blue:before {
|
|
57
|
-
* background-image: url(/assets/images/themes/oneSalesforce/banner-brand-default.png), linear-gradient(to top, rgba(175, 197, 222, 0) 0, #1B5F9E);
|
|
58
|
-
* }
|
|
59
|
-
* .slds-brand-band.dsr-brand-band_lightning-blue:after {
|
|
60
|
-
* background-image: linear-gradient(to bottom, rgba(175, 197, 222, 0) 60%, #AFC5DE);
|
|
61
|
-
* }
|
|
62
|
-
*
|
|
63
|
-
* For more information on the problem, [see this Stack Overflow question](https://stackoverflow.com/questions/17766817/refused-to-apply-inline-style-because-it-violates-the-following-content-security)
|
|
64
46
|
*/
|
|
65
47
|
var BrandBand = /*#__PURE__*/function (_React$Component) {
|
|
66
48
|
_inherits(BrandBand, _React$Component);
|
|
@@ -73,6 +55,7 @@ var BrandBand = /*#__PURE__*/function (_React$Component) {
|
|
|
73
55
|
_classCallCheck(this, BrandBand);
|
|
74
56
|
|
|
75
57
|
_this = _super.call(this, props);
|
|
58
|
+
(0, _checkProps.default)(_constants.BRAND_BAND, _this.props);
|
|
76
59
|
_this.generatedId = _shortid.default.generate();
|
|
77
60
|
return _this;
|
|
78
61
|
}
|
|
@@ -87,30 +70,18 @@ var BrandBand = /*#__PURE__*/function (_React$Component) {
|
|
|
87
70
|
value: function render() {
|
|
88
71
|
var props = this.props;
|
|
89
72
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
90
|
-
style: _objectSpread({
|
|
91
|
-
background: 'rgb(176, 196, 223)',
|
|
92
|
-
height: '100%',
|
|
93
|
-
position: 'relative',
|
|
94
|
-
width: '100%',
|
|
95
|
-
zIndex: 1
|
|
96
|
-
}, props.styleContainer)
|
|
97
|
-
}, BrandBand.injectLightningBlueStyles(), /*#__PURE__*/_react.default.createElement("div", {
|
|
98
73
|
className: (0, _classNames.default)('slds-brand-band', {
|
|
99
74
|
'slds-brand-band_small': props.size === 'small',
|
|
100
75
|
'slds-brand-band_medium': props.size === 'medium',
|
|
101
76
|
'slds-brand-band_large': props.size === 'large',
|
|
102
77
|
'slds-brand-band_cover': props.backgroundSize === 'cover',
|
|
103
78
|
'slds-brand-band_none': props.image === 'none',
|
|
104
|
-
'
|
|
79
|
+
'slds-brand-band_group': props.image === 'group',
|
|
80
|
+
'slds-brand-band_user': props.image === 'user'
|
|
105
81
|
}, props.className),
|
|
106
82
|
id: this.getId(),
|
|
107
83
|
style: props.style
|
|
108
|
-
}, props.children)
|
|
109
|
-
}
|
|
110
|
-
}], [{
|
|
111
|
-
key: "injectLightningBlueStyles",
|
|
112
|
-
value: function injectLightningBlueStyles() {
|
|
113
|
-
return /*#__PURE__*/_react.default.createElement("style", null, ".slds-brand-band.dsr-brand-band_lightning-blue:before {\n\tbackground-image: url(/assets/images/themes/oneSalesforce/banner-brand-default.png), linear-gradient(to top, rgba(175, 197, 222, 0) 0, #1B5F9E);\n}\n.slds-brand-band.dsr-brand-band_lightning-blue:after {\n\tbackground-image: linear-gradient(to bottom, rgba(175, 197, 222, 0) 60%, #AFC5DE);\n}");
|
|
84
|
+
}, props.children);
|
|
114
85
|
}
|
|
115
86
|
}]);
|
|
116
87
|
|
|
@@ -137,7 +108,7 @@ BrandBand.propTypes = {
|
|
|
137
108
|
/**
|
|
138
109
|
* Image of the brand band
|
|
139
110
|
*/
|
|
140
|
-
image: _propTypes.default.oneOf(['default', 'none']),
|
|
111
|
+
image: _propTypes.default.oneOf(['default', 'none', 'group', 'user']),
|
|
141
112
|
|
|
142
113
|
/**
|
|
143
114
|
* Background size of the brand band. Default is 'contain'
|
|
@@ -152,24 +123,12 @@ BrandBand.propTypes = {
|
|
|
152
123
|
/**
|
|
153
124
|
* Custom styles to be passed to the component
|
|
154
125
|
*/
|
|
155
|
-
style: _propTypes.default.object
|
|
156
|
-
|
|
157
|
-
/**
|
|
158
|
-
* Custom styles to be passed to the component container
|
|
159
|
-
*/
|
|
160
|
-
styleContainer: _propTypes.default.object,
|
|
161
|
-
|
|
162
|
-
/**
|
|
163
|
-
* Different brand band styling.
|
|
164
|
-
* NOTE: using 'lightning-blue' may result in incorrect styling depending on server CSP settings. See opening component documentation above for details.
|
|
165
|
-
*/
|
|
166
|
-
theme: _propTypes.default.oneOf(['default', 'lightning-blue'])
|
|
126
|
+
style: _propTypes.default.object
|
|
167
127
|
};
|
|
168
128
|
BrandBand.defaultProps = {
|
|
169
129
|
backgroundSize: 'contain',
|
|
170
130
|
image: 'default',
|
|
171
|
-
size: 'medium'
|
|
172
|
-
theme: 'default'
|
|
131
|
+
size: 'medium'
|
|
173
132
|
};
|
|
174
133
|
var _default = BrandBand;
|
|
175
134
|
exports.default = _default;
|