-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* UK places typeahead and adj file styles * Adujst UK version and create Vic2 * Base places typeahead class * Vic2 init * removing log * Apply NSW waratah logo change * VIC adjust error for messaging omni * Versions * Vic2 init
- Loading branch information
1 parent
e4a4406
commit 6bc0cb4
Showing
171 changed files
with
6,448 additions
and
54 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
sfGpsDs/main/default/lwc/sfGpsDsFormPlacesTypeaheadOsN/sfGpsDsFormPlacesTypeaheadOsN.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/* | ||
* Copyright (c) 2023, Emmanuel Schweitzer and salesforce.com, inc. | ||
* All rights reserved. | ||
* Licensed under the BSD 3-Clause license. | ||
* For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause | ||
*/ | ||
|
||
import OmniscriptPlacesTypeahead from "omnistudio/omniscriptPlacesTypeahead"; | ||
import SfGpsDsOmniHasValidationMixin from "c/sfGpsDsOmniHasValidationMixinOsN"; | ||
import { omniGetMergedField } from "c/sfGpsDsOmniHelpersOsN"; | ||
|
||
export default class sfGpsDsFormTypeaheadOsN extends SfGpsDsOmniHasValidationMixin( | ||
OmniscriptPlacesTypeahead | ||
) { | ||
get mergedLabel() { | ||
return omniGetMergedField(this, this._propSetMap.label); | ||
} | ||
|
||
get mergedHelpText() { | ||
return omniGetMergedField(this, this._handleHelpText); | ||
} | ||
|
||
get mergedPlaceholder() { | ||
return omniGetMergedField(this, this._placeholder); | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
.../main/default/lwc/sfGpsDsFormPlacesTypeaheadOsN/sfGpsDsFormPlacesTypeaheadOsN.js-meta.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<apiVersion>59.0</apiVersion> | ||
<isExposed>true</isExposed> | ||
<runtimeNamespace>omnistudio</runtimeNamespace> | ||
</LightningComponentBundle> |
14 changes: 7 additions & 7 deletions
14
sfGpsDsAuNsw/main/default/aura/sfGpsDsAuNswHeaderAura/sfGpsDsAuNswHeaderAuraController.js
Large diffs are not rendered by default.
Oops, something went wrong.
21 changes: 11 additions & 10 deletions
21
sfGpsDsAuNsw/main/default/lwc/sfGpsDsAuNswHeader/sfGpsDsAuNswHeader.html
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
sfGpsDsAuVic2/main/default/aura/sfGpsDsAuVic2ThemeLayout/sfGpsDsAuVic2ThemeLayout.auradoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<aura:documentation> | ||
<aura:description>Documentation</aura:description> | ||
<aura:example name="ExampleName" ref="exampleComponentName" label="Label"> | ||
Example Description | ||
</aura:example> | ||
</aura:documentation> |
62 changes: 62 additions & 0 deletions
62
sfGpsDsAuVic2/main/default/aura/sfGpsDsAuVic2ThemeLayout/sfGpsDsAuVic2ThemeLayout.cmp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
<aura:component | ||
implements="forceCommunity:themeLayout" | ||
access="global" | ||
description="VIC DS v2 Theme Layout" | ||
> | ||
<ltng:require | ||
styles="{! join(',', $Resource.sfGpsDsAuVic2 + '/assets/styles/global.css', $Resource.sfGpsDsAuVic2 + '/assets/styles/style.css')}" | ||
/> | ||
|
||
<aura:attribute name="header" type="Aura.Component[]" required="false" /> | ||
<aura:attribute name="footer" type="Aura.Component[]" required="false" /> | ||
|
||
<!-- this works with Citizen, Cypress, Ember, Jepson, Stella, Webster themes but *not* Customer Service --> | ||
<aura:attribute name="themeHeader" type="Aura.Component[]" required="false" /> | ||
|
||
<aura:attribute | ||
name="hideHeader" | ||
type="Boolean" | ||
required="false" | ||
default="true" | ||
/> | ||
<aura:attribute | ||
name="noWidgetMargin" | ||
type="Boolean" | ||
required="false" | ||
default="false" | ||
/> | ||
<aura:attribute name="navId" type="String" required="false" default="nav" /> | ||
<aura:attribute | ||
name="contentId" | ||
type="String" | ||
required="false" | ||
default="content" | ||
/> | ||
|
||
<div | ||
class="{! v.noWidgetMargin ? 'sfgpsds-widget--no-margin' : 'sfgpsds-widget--margin' }" | ||
> | ||
<header class="sfgpsds-header"> | ||
<h1 id="sfgpsds-header-title" class="sr-only">Header</h1> | ||
|
||
<div class="sfgpsds-header-top">{!v.header}</div> | ||
|
||
<div id="{!v.navId}" class="sfgpsds-header-center"> | ||
<aura:if isTrue="{! !v.hideHeader }"> | ||
<div class="sfgpsds-header-profile">{!v.themeHeader}</div> | ||
</aura:if> | ||
</div> | ||
</header> | ||
|
||
<div | ||
id="{!v.contentId}" | ||
aria-label="Content" | ||
role="main" | ||
class="sfgpsds-content" | ||
> | ||
{!v.body} | ||
</div> | ||
|
||
<footer aria-label="Footer" class="sfgpsds-footer">{!v.footer}</footer> | ||
</div> | ||
</aura:component> |
6 changes: 6 additions & 0 deletions
6
...DsAuVic2/main/default/aura/sfGpsDsAuVic2ThemeLayout/sfGpsDsAuVic2ThemeLayout.cmp-meta.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<AuraDefinitionBundle xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<apiVersion>59.0</apiVersion> | ||
<description | ||
>Salesforce Global Public Sector VIC Ripple v2 Theme Layout</description> | ||
</AuraDefinitionBundle> |
23 changes: 23 additions & 0 deletions
23
sfGpsDsAuVic2/main/default/aura/sfGpsDsAuVic2ThemeLayout/sfGpsDsAuVic2ThemeLayout.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
.THIS { | ||
position: relative; | ||
z-index: 1; | ||
} | ||
|
||
.THIS .sr-only { | ||
display: none; | ||
} | ||
|
||
.THIS .sfgpsds-header-profile { | ||
min-width: 14rem; | ||
} | ||
|
||
.THIS.sfgpsds-widget--no-margin | ||
.siteforceContentArea | ||
.comm-layout-column | ||
.ui-widget:not(:last-child), | ||
.THIS.sfgpsdswidget--no-margin | ||
.siteforceContentArea | ||
.cb-section_column | ||
.ui-widget:not(:last-child) { | ||
margin-bottom: 0; | ||
} |
10 changes: 10 additions & 0 deletions
10
sfGpsDsAuVic2/main/default/aura/sfGpsDsAuVic2ThemeLayout/sfGpsDsAuVic2ThemeLayout.design
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<design:component label="VIC Design System v2 Theme Layout"> | ||
<design:attribute name="hideHeader" label="Hide main header" description="Hides the standard header."> | ||
</design:attribute> | ||
<design:attribute name="noWidgetMargin" label="No widget margin" description="Removes the standard widget margin."> | ||
</design:attribute> | ||
<design:attribute name="navId" label="navId" description="Id to set on nav region."> | ||
</design:attribute> | ||
<design:attribute name="contentId" label="contentId" description="Id to set on content region."> | ||
</design:attribute> | ||
</design:component> |
7 changes: 7 additions & 0 deletions
7
...sAuVic2/main/default/aura/sfGpsDsAuVic2ThemeLayout/sfGpsDsAuVic2ThemeLayout.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions
1
...DsAuVic2/main/default/aura/sfGpsDsAuVic2ThemeLayout/sfGpsDsAuVic2ThemeLayoutController.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
({}); |
1 change: 1 addition & 0 deletions
1
sfGpsDsAuVic2/main/default/aura/sfGpsDsAuVic2ThemeLayout/sfGpsDsAuVic2ThemeLayoutHelper.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
({}); |
1 change: 1 addition & 0 deletions
1
sfGpsDsAuVic2/main/default/aura/sfGpsDsAuVic2ThemeLayout/sfGpsDsAuVic2ThemeLayoutRenderer.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
({}); |
198 changes: 198 additions & 0 deletions
198
sfGpsDsAuVic2/main/default/brandingSets/sfGpsDsAuVic2Aura.brandingSet-meta.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,198 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<BrandingSet xmlns="http://soap.sforce.com/2006/04/metadata"> | ||
<masterLabel>sfGpsDsAuVic2_Aura</masterLabel> | ||
<type>starter:branding-starter</type> | ||
|
||
<brandingSetProperty> | ||
<propertyName>TextColor</propertyName> | ||
<propertyValue>#1A1A1A</propertyValue> | ||
</brandingSetProperty> | ||
<brandingSetProperty> | ||
<propertyName>DetailTextColor</propertyName> | ||
<propertyValue>#1A1A1A</propertyValue> | ||
</brandingSetProperty> | ||
<brandingSetProperty> | ||
<propertyName>ActionColor</propertyName> | ||
<propertyValue>#2574A9</propertyValue> | ||
</brandingSetProperty> | ||
<brandingSetProperty> | ||
<propertyName>LinkColor</propertyName> | ||
<propertyValue>#0052C2</propertyValue> | ||
</brandingSetProperty> | ||
<brandingSetProperty> | ||
<propertyName>OverlayTextColor</propertyName> | ||
<propertyValue>#FFFFFF</propertyValue> | ||
</brandingSetProperty> | ||
<brandingSetProperty> | ||
<propertyName>BorderColor</propertyName> | ||
<propertyValue>#CCCCCC</propertyValue> | ||
</brandingSetProperty> | ||
|
||
<brandingSetProperty> | ||
<propertyName>brandNavigationBackgroundColor</propertyName> | ||
<propertyValue>rgba(255, 255, 255, 0)</propertyValue> | ||
</brandingSetProperty> | ||
<brandingSetProperty> | ||
<propertyName>brandNavigationColorText</propertyName> | ||
<propertyValue>#FFFFFF</propertyValue> | ||
</brandingSetProperty> | ||
<brandingSetProperty> | ||
<propertyName>brandNavigationBarBackgroundColor</propertyName> | ||
<propertyValue>#0052C2</propertyValue> | ||
</brandingSetProperty> | ||
|
||
<brandingSetProperty> | ||
<propertyName>LoginBackgroundColor</propertyName> | ||
<propertyValue>#F4F4F4</propertyValue> | ||
</brandingSetProperty> | ||
<brandingSetProperty> | ||
<propertyName>CardBackgroundColor</propertyName> | ||
<propertyValue>rgba(255, 255, 255, 0)</propertyValue> | ||
</brandingSetProperty> | ||
<brandingSetProperty> | ||
<propertyName>ErrorFontColor</propertyName> | ||
<propertyValue>#AA0028</propertyValue> | ||
</brandingSetProperty> | ||
|
||
<brandingSetProperty> | ||
<propertyName>CompanyLogo</propertyName> | ||
<propertyValue /> | ||
</brandingSetProperty> | ||
<brandingSetProperty> | ||
<propertyName>LoginBackgroundImage</propertyName> | ||
<propertyValue | ||
>../../../../sfsites/picasso/core/external/salesforceIdentity/images/background.jpg?v=1</propertyValue> | ||
</brandingSetProperty> | ||
|
||
<brandingSetProperty> | ||
<propertyName>PrimaryFont</propertyName> | ||
<propertyValue>VIC-Regular</propertyValue> | ||
</brandingSetProperty> | ||
<brandingSetProperty> | ||
<propertyName>HeaderFonts</propertyName> | ||
<propertyValue>VIC-Bold</propertyValue> | ||
</brandingSetProperty> | ||
<brandingSetProperty> | ||
<propertyName>TextTransformStyle</propertyName> | ||
<propertyValue>none</propertyValue> | ||
</brandingSetProperty> | ||
|
||
<!-- | ||
<brandingSetProperty> | ||
<propertyName>_brandNavigationBarBackgroundColor</propertyName> | ||
<propertyValue>rgba(128,128,128,.75)</propertyValue> | ||
</brandingSetProperty> | ||
<brandingSetProperty> | ||
<propertyName>_brandNavigationItemBackgroundColorHover</propertyName> | ||
<propertyValue>rgba(0,0,0,.2)</propertyValue> | ||
</brandingSetProperty> | ||
<brandingSetProperty> | ||
<propertyName>_brandNavigationItemDividerColor</propertyName> | ||
<propertyValue>rgba(255, 255, 255, 0.2)</propertyValue> | ||
</brandingSetProperty> | ||
<brandingSetProperty> | ||
<propertyName>_ActionColorDarker</propertyName> | ||
<propertyValue>#135F90</propertyValue> | ||
</brandingSetProperty> | ||
<brandingSetProperty> | ||
<propertyName>_ActionColorTrans</propertyName> | ||
<propertyValue>rgba(25, 124, 190, 0.9)</propertyValue> | ||
</brandingSetProperty> | ||
<brandingSetProperty> | ||
<propertyName>_BackgroundColor1</propertyName> | ||
<propertyValue>rgb(235, 235, 235)</propertyValue> | ||
</brandingSetProperty> | ||
<brandingSetProperty> | ||
<propertyName>_BackgroundColor2</propertyName> | ||
<propertyValue>rgb(194, 194, 194)</propertyValue> | ||
</brandingSetProperty> | ||
<brandingSetProperty> | ||
<propertyName>_BackgroundColor3</propertyName> | ||
<propertyValue>rgb(133, 133, 133)</propertyValue> | ||
</brandingSetProperty> | ||
<brandingSetProperty> | ||
<propertyName>_DxpPageBackgroundColor</propertyName> | ||
<propertyValue>#FFFFFF</propertyValue> | ||
</brandingSetProperty> | ||
<brandingSetProperty> | ||
<propertyName>_HoverColor</propertyName> | ||
<propertyValue>rgba(25, 124, 190, 0.05)</propertyValue> | ||
</brandingSetProperty> | ||
<brandingSetProperty> | ||
<propertyName>_LinkColorDarker</propertyName> | ||
<propertyValue>#135F90</propertyValue> | ||
</brandingSetProperty> | ||
<brandingSetProperty> | ||
<propertyName>_NeutralColor</propertyName> | ||
<propertyValue>#ecebea</propertyValue> | ||
</brandingSetProperty> | ||
<brandingSetProperty> | ||
<propertyName>_NeutralColor1</propertyName> | ||
<propertyValue>rgb(217, 215, 213)</propertyValue> | ||
</brandingSetProperty> | ||
<brandingSetProperty> | ||
<propertyName>_NeutralColor2</propertyName> | ||
<propertyValue>rgb(178, 174, 170)</propertyValue> | ||
</brandingSetProperty> | ||
<brandingSetProperty> | ||
<propertyName>_NeutralColor3</propertyName> | ||
<propertyValue>rgb(118, 113, 107)</propertyValue> | ||
</brandingSetProperty> | ||
<brandingSetProperty> | ||
<propertyName>_NeutralForegroundColor</propertyName> | ||
<propertyValue>#000</propertyValue> | ||
</brandingSetProperty> | ||
<brandingSetProperty> | ||
<propertyName>_NeutralForegroundColor1</propertyName> | ||
<propertyValue>#000</propertyValue> | ||
</brandingSetProperty> | ||
<brandingSetProperty> | ||
<propertyName>_NeutralForegroundColor2</propertyName> | ||
<propertyValue>#000</propertyValue> | ||
</brandingSetProperty> | ||
<brandingSetProperty> | ||
<propertyName>_NeutralForegroundColor3</propertyName> | ||
<propertyValue>#fff</propertyValue> | ||
</brandingSetProperty> | ||
<brandingSetProperty> | ||
<propertyName>_OverlayTextColorShadow</propertyName> | ||
<propertyValue>#000000</propertyValue> | ||
</brandingSetProperty> | ||
<brandingSetProperty> | ||
<propertyName>_PrimaryAccentColor1</propertyName> | ||
<propertyValue>rgb(30, 93, 136)</propertyValue> | ||
</brandingSetProperty> | ||
<brandingSetProperty> | ||
<propertyName>_PrimaryAccentColor2</propertyName> | ||
<propertyValue>rgb(15, 47, 69)</propertyValue> | ||
</brandingSetProperty> | ||
<brandingSetProperty> | ||
<propertyName>_PrimaryAccentColor3</propertyName> | ||
<propertyValue>rgb(0, 0, 0)</propertyValue> | ||
</brandingSetProperty> | ||
<brandingSetProperty> | ||
<propertyName>_PrimaryAccentForegroundColor1</propertyName> | ||
<propertyValue>rgb(255, 255, 255)</propertyValue> | ||
</brandingSetProperty> | ||
<brandingSetProperty> | ||
<propertyName>_PrimaryAccentForegroundColor2</propertyName> | ||
<propertyValue>rgb(255, 255, 255)</propertyValue> | ||
</brandingSetProperty> | ||
<brandingSetProperty> | ||
<propertyName>_PrimaryAccentForegroundColor3</propertyName> | ||
<propertyValue>rgb(255, 255, 255)</propertyValue> | ||
</brandingSetProperty> | ||
<brandingSetProperty> | ||
<propertyName>_TextColor1</propertyName> | ||
<propertyValue>#1A1A1A</propertyValue> | ||
</brandingSetProperty> | ||
<brandingSetProperty> | ||
<propertyName>_TextColor2</propertyName> | ||
<propertyValue>rgb(0, 0, 0)</propertyValue> | ||
</brandingSetProperty> | ||
<brandingSetProperty> | ||
<propertyName>_TextColor3</propertyName> | ||
<propertyValue>rgb(0, 0, 0)</propertyValue> | ||
</brandingSetProperty> | ||
--> | ||
</BrandingSet> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"extends": [ | ||
"@salesforce/eslint-config-lwc/recommended", | ||
"@salesforce/eslint-config-lwc/i18n" | ||
], | ||
"overrides": [ | ||
{ | ||
"files": ["*.test.js"], | ||
"rules": { | ||
"@lwc/lwc/no-unexpected-wire-adapter-usages": "off" | ||
} | ||
} | ||
] | ||
} |
Oops, something went wrong.