@designsystem-se/af 40.0.1-beta.0 → 41.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/digi-calendar-datepicker.js +1 -1
- package/components/digi-code-block.js +1 -1
- package/components/digi-code-example.js +2 -2
- package/components/digi-dialog.js +8 -8
- package/components/digi-footer.js +1 -1
- package/components/digi-form-error-list.js +2 -2
- package/components/digi-form-receipt.js +1 -1
- package/components/digi-form-select-filter.js +1 -1
- package/components/digi-header-navigation.js +1 -1
- package/components/digi-header.js +1 -1
- package/components/digi-navigation-pagination.js +1 -1
- package/components/digi-notification-alert.js +1 -1
- package/components/digi-notification-error-page.js +1 -1
- package/components/digi-title-logo.js +1 -1
- package/components/digi-tools-feedback-rating.js +2 -2
- package/components/digi-tools-feedback.js +1 -1
- package/components/index.js +1 -1
- package/components/{p-CEMmPEb7.js → p-BEq012mG.js} +1 -1
- package/components/{p-CEr0zDQh.js → p-BYmysv-i.js} +0 -1
- package/components/{p-Ch1QoMTV.js → p-Hoik5UXD.js} +1 -1
- package/custom-elements.json +1 -1
- package/dist/cjs/digi-button_83.cjs.entry.js +1 -1
- package/dist/cjs/digi-code-block_2.cjs.entry.js +1 -1
- package/dist/cjs/digi-dialog.cjs.entry.js +8 -8
- package/dist/cjs/digi-form-error-list.cjs.entry.js +1 -1
- package/dist/cjs/digi-form-receipt.cjs.entry.js +1 -1
- package/dist/cjs/digi-navigation-pagination.cjs.entry.js +1 -1
- package/dist/cjs/digi-notification-error-page.cjs.entry.js +1 -1
- package/dist/cjs/digi-tools-feedback-rating.cjs.entry.js +2 -2
- package/dist/cjs/digi-tools-feedback.cjs.entry.js +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/{typography-variation.enum-B05du-qd.js → typography-variation.enum-DoCpztFv.js} +0 -1
- package/dist/collection/components/_dialog/dialog/dialog-variation.enum.js +0 -1
- package/dist/collection/components/_dialog/dialog/dialog.css +0 -14
- package/dist/collection/components/_dialog/dialog/dialog.js +12 -9
- package/dist/collection/components/_tools/tools-feedback-rating/tools-feedback-rating.css +2 -2
- package/dist/collection/components/_tools/tools-feedback-rating/tools-feedback-rating.js +1 -1
- package/dist/collection/design-tokens/components/_logo.variables.scss +18 -14
- package/dist/collection/styles/project.json +2 -1
- package/dist/digi-arbetsformedlingen/design-tokens/components/_logo.variables.scss +17 -15
- package/dist/digi-arbetsformedlingen/digi-arbetsformedlingen.esm.js +1 -1
- package/dist/digi-arbetsformedlingen/index.esm.js +1 -1
- package/dist/digi-arbetsformedlingen/{p-e18ce6d7.entry.js → p-189d472b.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-24bfa89f.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/p-4d5a69f1.entry.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-3ac39b8a.entry.js → p-558ee80c.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-1169c664.entry.js → p-582602c8.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-b24aa6ea.entry.js → p-5a006aa4.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/p-O8viRERh.js +1 -0
- package/dist/digi-arbetsformedlingen/{p-1f14f444.entry.js → p-b4a2f40c.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-ff5e7262.entry.js → p-d22afa5b.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/{p-5f347e34.entry.js → p-f847defd.entry.js} +1 -1
- package/dist/digi-arbetsformedlingen/styles/project.json +2 -1
- package/dist/esm/digi-button_83.entry.js +1 -1
- package/dist/esm/digi-code-block_2.entry.js +1 -1
- package/dist/esm/digi-dialog.entry.js +8 -8
- package/dist/esm/digi-form-error-list.entry.js +1 -1
- package/dist/esm/digi-form-receipt.entry.js +1 -1
- package/dist/esm/digi-navigation-pagination.entry.js +1 -1
- package/dist/esm/digi-notification-error-page.entry.js +1 -1
- package/dist/esm/digi-tools-feedback-rating.entry.js +2 -2
- package/dist/esm/digi-tools-feedback.entry.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/{typography-variation.enum-CC1-vxoR.js → typography-variation.enum-O8viRERh.js} +0 -1
- package/dist/types/components/_dialog/dialog/dialog-variation.enum.d.ts +1 -2
- package/dist/types/components/_dialog/dialog/dialog.d.ts +3 -3
- package/dist/types/components.d.ts +6 -4
- package/hydrate/index.js +9 -10
- package/hydrate/index.mjs +9 -10
- package/package.json +1 -1
- package/dist/digi-arbetsformedlingen/p-01d6cf14.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-191895bf.entry.js +0 -1
- package/dist/digi-arbetsformedlingen/p-CC1-vxoR.js +0 -1
|
@@ -39,20 +39,6 @@ License: none (public domain)
|
|
|
39
39
|
--DIGI--DIALOG--COLOR: var(--digi--dialog--content--color--primary);
|
|
40
40
|
--DIGI--DIALOG--CONTENT--BUTTON--COLOR--BORDER--PRIMARY: initial;
|
|
41
41
|
}
|
|
42
|
-
:host .digi-dialog--secondary {
|
|
43
|
-
--digi--dialog--content--color--secondary: var(
|
|
44
|
-
--digi--global--color--profile--white--base
|
|
45
|
-
);
|
|
46
|
-
--digi--dialog--content--color--background--secondary: var(
|
|
47
|
-
--digi--global--color--profile--blue--base
|
|
48
|
-
);
|
|
49
|
-
--DIGI--DIALOG--COLOR--BACKGROUND: var(
|
|
50
|
-
--digi--dialog--content--color--background--secondary
|
|
51
|
-
);
|
|
52
|
-
--DIGI--DIALOG--COLOR: var(--digi--dialog--content--color--secondary);
|
|
53
|
-
--DIGI--DIALOG--CONTENT--BUTTON--COLOR--BORDER--PRIMARY: #b7b7ff;
|
|
54
|
-
--digi--color--text--primary: var(--digi--dialog--content--color--secondary);
|
|
55
|
-
}
|
|
56
42
|
:host .digi-dialog--small {
|
|
57
43
|
--DIGI--DIALOG--CONTENT--WIDTH: var(--digi--dialog--content--width--small);
|
|
58
44
|
}
|
|
@@ -22,8 +22,9 @@ export class Dialog {
|
|
|
22
22
|
*/
|
|
23
23
|
this.afId = randomIdGenerator('digi-dialog');
|
|
24
24
|
/**
|
|
25
|
-
* Sätt variation på modalen.
|
|
26
|
-
* @
|
|
25
|
+
* Sätt variation på modalen.
|
|
26
|
+
* @deprecated Property afVariation tas bort från Modal i februari 2027.
|
|
27
|
+
* @en Set variation to modal.
|
|
27
28
|
*/
|
|
28
29
|
this.afVariation = DialogVariation.PRIMARY;
|
|
29
30
|
/**
|
|
@@ -245,18 +246,17 @@ export class Dialog {
|
|
|
245
246
|
get cssModifiers() {
|
|
246
247
|
return {
|
|
247
248
|
'digi-dialog--primary': this.afVariation == DialogVariation.PRIMARY,
|
|
248
|
-
'digi-dialog--secondary': this.afVariation == DialogVariation.SECONDARY,
|
|
249
249
|
'digi-dialog--small': this.afSize == DialogSize.SMALL,
|
|
250
250
|
'digi-dialog--medium': this.afSize == DialogSize.MEDIUM,
|
|
251
251
|
'digi-dialog--large': this.afSize == DialogSize.LARGE
|
|
252
252
|
};
|
|
253
253
|
}
|
|
254
254
|
render() {
|
|
255
|
-
return (h(Host, { key: '
|
|
255
|
+
return (h(Host, { key: '0ef63dc57323a8b390f1ba674c8afa7e5d0019e9', ref: (el) => {
|
|
256
256
|
this._host = el;
|
|
257
|
-
} }, this.afShowDialog && (h("div", { key: '
|
|
257
|
+
} }, this.afShowDialog && (h("div", { key: '2ef7f8304ece184cba241e70a99743c66ef46f67', class: Object.assign({ 'digi-dialog': true }, this.cssModifiers) }, h("digi-util-keydown-handler", { key: 'e29ae9162f0e83535f7b2050cc4ea461de147368', onAfOnEsc: (e) => this.escHandler(e), onAfOnTab: (e) => this.tabHandler(e), onAfOnShiftTab: (e) => this.shiftHandler(e), class: "digi-dialog__keydown-handler" }, h("div", { key: '20fe2679cad42ff1228fa8907065bb3f14366f54', ref: (el) => {
|
|
258
258
|
this._wrapper = el;
|
|
259
|
-
}, role: "dialog", "aria-modal": "true", class: "digi-dialog__content" }, h("digi-typography", { key: '
|
|
259
|
+
}, role: "dialog", "aria-modal": "true", class: "digi-dialog__content" }, h("digi-typography", { key: 'db631021322da7635879be18377dc9eb7769e968' }, this.afCloseButtonText && (h("digi-button", { key: '1b3acbaa7a3d0e1f1c2b3d843e8bad9c21492af4', ref: (el) => (this._closeButton = el), class: "digi-dialog__close-button", afAriaLabel: this.afCloseButtonText, afSize: ButtonSize.MEDIUM, "af-variation": "function", onAfOnClick: (e) => this.closeDialog(e) }, this.afCloseButtonText, h("digi-icon-x", { key: '0f457eed12e7af726347dff2cf9c946f9623dda7', class: "digi-dialog__close-icon", slot: "icon-secondary" }))), h("slot", { key: 'cd7f27957e9b5d3046f1c4fc824b16ddb1dcd3c3', name: "over-heading" }), this.afHeadingLevel && this.afHeading && (h(this.afHeadingLevel, { key: '57d281d8b17d8465cf6f1e9889f7e1784cb7680a', tabindex: "-1", ref: (el) => (this._dialogHeading = el) }, this.afHeading)), h("slot", { key: 'ff7b9426e6beea3b5411e3a9b84874e9c6164812' }), h("div", { key: '71eab5e7fe1b81f7918b7d064608b4e76b41892a', ref: (el) => (this._buttonContainer = el), class: "digi-dialog__button-container" }, this.afSecondaryButtonText && (h("digi-button", { key: '8848f684203a42dabf14b2ff0b14fada505a994a', ref: (el) => (this._secondaryButton = el), afVariation: ButtonVariation.SECONDARY, onAfOnClick: (e) => this.secondaryClickHandler(e) }, this.afSecondaryButtonText)), this.afPrimaryButtonText && (h("digi-button", { key: 'ee7410fd13a76c121bd511339ed04d0523d89163', ref: (el) => (this._primaryButton = el), afVariation: ButtonVariation.PRIMARY, onAfOnClick: (e) => this.primaryClickHandler(e) }, this.afPrimaryButtonText))))))))));
|
|
260
260
|
}
|
|
261
261
|
static get is() { return "digi-dialog"; }
|
|
262
262
|
static get encapsulation() { return "shadow"; }
|
|
@@ -300,7 +300,7 @@ export class Dialog {
|
|
|
300
300
|
"mutable": false,
|
|
301
301
|
"complexType": {
|
|
302
302
|
"original": "DialogVariation",
|
|
303
|
-
"resolved": "DialogVariation
|
|
303
|
+
"resolved": "DialogVariation",
|
|
304
304
|
"references": {
|
|
305
305
|
"DialogVariation": {
|
|
306
306
|
"location": "import",
|
|
@@ -314,10 +314,13 @@ export class Dialog {
|
|
|
314
314
|
"optional": false,
|
|
315
315
|
"docs": {
|
|
316
316
|
"tags": [{
|
|
317
|
+
"name": "deprecated",
|
|
318
|
+
"text": "Property afVariation tas bort fr\u00E5n Modal i februari 2027."
|
|
319
|
+
}, {
|
|
317
320
|
"name": "en",
|
|
318
|
-
"text": "Set variation to modal.
|
|
321
|
+
"text": "Set variation to modal."
|
|
319
322
|
}],
|
|
320
|
-
"text": "S\u00E4tt variation p\u00E5 modalen.
|
|
323
|
+
"text": "S\u00E4tt variation p\u00E5 modalen."
|
|
321
324
|
},
|
|
322
325
|
"getter": false,
|
|
323
326
|
"setter": false,
|
|
@@ -130,8 +130,8 @@ License: none (public domain)
|
|
|
130
130
|
display: flex;
|
|
131
131
|
}
|
|
132
132
|
:host .digi-tools-feedback-rating__thankyou-check-icon {
|
|
133
|
-
padding-right:
|
|
134
|
-
padding-top:
|
|
133
|
+
padding-right: 7px;
|
|
134
|
+
padding-top: 5px;
|
|
135
135
|
box-sizing: content-box;
|
|
136
136
|
}
|
|
137
137
|
:host .digi-tools-feedback-rating .step2 .digi-tools-feedback-rating__heading {
|
|
@@ -192,7 +192,7 @@ export class ToolsFeedbackRating {
|
|
|
192
192
|
get content() {
|
|
193
193
|
return (h("digi-typography", null, this.validContent && (h("div", { dir: this.afDir, lang: this.afLang, class: `digi-tools-feedback-rating__wrapper ${this.currentStep === 2 ? 'step2' : ''}` }, this.currentStep === 1 && (h("div", { class: "digi-tools-feedback-rating__star-rating" }, h(this.afHeadingLevel, { id: `${this.afId}-rating-question`, class: `digi-tools-feedback-rating__heading ${this.afType === FeedbackRatingType.MINIMAL ? 'hidden' : ''}` }, this.afQuestion), h("div", { class: "digi-tools-feedback-rating__step1-wrapper" }, this.afRatings && (h("span", { class: "digi-tools-feedback-rating__step1-description" }, "V\u00E4lj fr\u00E5n", ' ', `${(this.ratingsData().find((item) => item.value === 1) ||
|
|
194
194
|
{}).text.toLowerCase() || null} till ${(this.ratingsData().find((item) => item.value === 5) ||
|
|
195
|
-
{}).text.toLowerCase() || null}`)), h("div", { "aria-labelledby": `${this.afId}-rating-question`, class: "digi-tools-feedback-rating__star-rating-stars", role: "group" }, this.ratingsData().map(({ text, value }) => (h("div", { class: "digi-tools-feedback-rating__star-rating-star" }, h("button", { class: "digi-tools-feedback-rating__star-rating-star-button", onClick: () => this.handleRatingChange(value), "aria-label": `${value} ${value === 1 ? 'stjärna' : 'stjärnor'}${text !== '' ? ', ' + text : ''}`, onMouseEnter: () => this.handleHover(value), onMouseLeave: () => this.handleHover(0), onFocus: () => this.handleHover(value), onFocusout: () => this.handleHover(0) }, h("svg", { "aria-hidden": "true", width: "29px", height: "29px", viewBox: "0 0 32 32", version: "1.1", xmlns: "http://www.w3.org/2000/svg", class: `digi-tools-feedback-rating-star-icon ${this.hoveredRating >= value ? 'filled' : ''}` }, h("g", { stroke: "none", "stroke-width": "1", "stroke-linecap": "round", "stroke-linejoin": "round" }, h("g", { transform: "translate(-1852, -2564)", "stroke-width": "2", class: "digi-tools-feedback-rating-star-icon-border" }, h("g", { transform: "translate(1663, 2565)" }, h("g", { transform: "translate(190, 0)" }, h("path", { d: "M13.0369701,1.00988613 L9.47212213,8.51643297 L1.4958694,9.72422429 C0.0655277509,9.93973122 -0.507709524,11.7709448 0.529620648,12.8199039 L6.30005635,18.6595463 L4.93529305,26.9090563 C4.6897182,28.3999832 6.20191813,29.5170473 7.46854321,28.8195669 L14.6037422,24.9244875 L21.7391705,28.8195669 C23.0057956,29.5113322 24.5179955,28.3999832 24.2721914,26.9090563 L22.9074281,18.6595463 L28.6780931,12.8199039 C29.715194,11.7709448 29.1419567,9.93973122 27.711615,9.72422429 L19.7355916,8.51643297 L16.1707436,1.00988613 C15.531928,-0.328161856 13.6810595,-0.345069029 13.0369701,1.00988613 L13.0369701,1.00988613 Z" })))))))))))))), this.currentStep === 2 && (h("div", { class: "digi-tools-feedback-rating__thankyou" }, h("div", { class: "digi-tools-feedback-rating__thankyou-text" }, h("svg", { width: "32", height: "26", xmlns: "http://www.w3.org/2000/svg", class: "digi-tools-feedback-rating__thankyou-check-icon" }, h("g", { fill: "none", "fill-rule": "evenodd" }, h("path", { d: "M12.431 25.438C5.577 25.438 0 19.848 0 12.978 0 6.107 5.577.518 12.43.518c2.874 0 5.677 1.006 7.893 2.833l-1.441 1.755a10.163 10.163 0 0 0-6.452-2.315c-5.604 0-10.163 4.57-10.163 10.187 0 5.616 4.56 10.186 10.163 10.186 4.346 0 8.21-2.766 9.617-6.883l2.146.737a12.435 12.435 0 0 1-11.763 8.42", class: "digi-tools-feedback-rating__infographic-lineart" }), h("path", { d: "M13.073 20.935a.725.725 0 0 1-1.022 0l-8.042-8.013a.72.72 0 0 1 0-1.019l1.704-1.699a.725.725 0 0 1 1.023 0l5.826 5.805L28.417.211a.724.724 0 0 1 1.023 0l1.704 1.699a.72.72 0 0 1 0 1.02l-18.07 18.005Z", fill: "none", class: "digi-tools-feedback-rating__infographic-primary" }))), h("h2", { class: "digi-tools-feedback-rating__thankyou-text", tabindex: "-1", ref: (el) => (this._thankYouHeading = el) }, this.afThankYouHeading)), this.afRatings && (h("p", { class: "digi-tools-feedback-rating__thankyou-text-with-rating" }, "Du har gett betyget \"
|
|
195
|
+
{}).text.toLowerCase() || null}`)), h("div", { "aria-labelledby": `${this.afId}-rating-question`, class: "digi-tools-feedback-rating__star-rating-stars", role: "group" }, this.ratingsData().map(({ text, value }) => (h("div", { class: "digi-tools-feedback-rating__star-rating-star" }, h("button", { class: "digi-tools-feedback-rating__star-rating-star-button", onClick: () => this.handleRatingChange(value), "aria-label": `${value} ${value === 1 ? 'stjärna' : 'stjärnor'}${text !== '' ? ', ' + text : ''}`, onMouseEnter: () => this.handleHover(value), onMouseLeave: () => this.handleHover(0), onFocus: () => this.handleHover(value), onFocusout: () => this.handleHover(0) }, h("svg", { "aria-hidden": "true", width: "29px", height: "29px", viewBox: "0 0 32 32", version: "1.1", xmlns: "http://www.w3.org/2000/svg", class: `digi-tools-feedback-rating-star-icon ${this.hoveredRating >= value ? 'filled' : ''}` }, h("g", { stroke: "none", "stroke-width": "1", "stroke-linecap": "round", "stroke-linejoin": "round" }, h("g", { transform: "translate(-1852, -2564)", "stroke-width": "2", class: "digi-tools-feedback-rating-star-icon-border" }, h("g", { transform: "translate(1663, 2565)" }, h("g", { transform: "translate(190, 0)" }, h("path", { d: "M13.0369701,1.00988613 L9.47212213,8.51643297 L1.4958694,9.72422429 C0.0655277509,9.93973122 -0.507709524,11.7709448 0.529620648,12.8199039 L6.30005635,18.6595463 L4.93529305,26.9090563 C4.6897182,28.3999832 6.20191813,29.5170473 7.46854321,28.8195669 L14.6037422,24.9244875 L21.7391705,28.8195669 C23.0057956,29.5113322 24.5179955,28.3999832 24.2721914,26.9090563 L22.9074281,18.6595463 L28.6780931,12.8199039 C29.715194,11.7709448 29.1419567,9.93973122 27.711615,9.72422429 L19.7355916,8.51643297 L16.1707436,1.00988613 C15.531928,-0.328161856 13.6810595,-0.345069029 13.0369701,1.00988613 L13.0369701,1.00988613 Z" })))))))))))))), this.currentStep === 2 && (h("div", { class: "digi-tools-feedback-rating__thankyou" }, h("div", { class: "digi-tools-feedback-rating__thankyou-text" }, h("svg", { width: "32", height: "26", xmlns: "http://www.w3.org/2000/svg", class: "digi-tools-feedback-rating__thankyou-check-icon" }, h("g", { fill: "none", "fill-rule": "evenodd" }, h("path", { d: "M12.431 25.438C5.577 25.438 0 19.848 0 12.978 0 6.107 5.577.518 12.43.518c2.874 0 5.677 1.006 7.893 2.833l-1.441 1.755a10.163 10.163 0 0 0-6.452-2.315c-5.604 0-10.163 4.57-10.163 10.187 0 5.616 4.56 10.186 10.163 10.186 4.346 0 8.21-2.766 9.617-6.883l2.146.737a12.435 12.435 0 0 1-11.763 8.42", class: "digi-tools-feedback-rating__infographic-lineart" }), h("path", { d: "M13.073 20.935a.725.725 0 0 1-1.022 0l-8.042-8.013a.72.72 0 0 1 0-1.019l1.704-1.699a.725.725 0 0 1 1.023 0l5.826 5.805L28.417.211a.724.724 0 0 1 1.023 0l1.704 1.699a.72.72 0 0 1 0 1.02l-18.07 18.005Z", fill: "none", class: "digi-tools-feedback-rating__infographic-primary" }))), h("h2", { class: "digi-tools-feedback-rating__thankyou-text", tabindex: "-1", ref: (el) => (this._thankYouHeading = el) }, this.afThankYouHeading)), this.afRatings && (h("p", { class: "digi-tools-feedback-rating__thankyou-text-with-rating" }, "Du har gett betyget \u201D", this.selectedText.toLowerCase(), "\u201D med", ' ', this.selectedRating, `${this.selectedRating === 1 ? ' stjärna' : ' stjärnor'}`, ".")))), this.currentStep === 2 && this.afLinkText && (h("div", { class: "digi-tools-feedback-rating__link" }, h("digi-link-external", { afHref: this.renderLink(), "af-target": "_blank", onAfOnClick: () => this.submitFeedbackLink(), "af-variation": "small" }, this.afLinkText)))))));
|
|
196
196
|
}
|
|
197
197
|
render() {
|
|
198
198
|
return (h("div", { key: '4814d1921a5dadd578294b3b4ecd487897596443', class: Object.assign({ 'digi-tools-feedback-rating': true }, this.cssModifiers) }, h("digi-layout-block", { key: '726f7912894adcd8d7ae0a53903daea65dc8918e', afVariation: this.layoutBlockVariation, afMarginTop: true, "af-container": "none" }, this.content)));
|
|
@@ -1,16 +1,20 @@
|
|
|
1
|
-
@
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
--digi--
|
|
5
|
-
--digi--
|
|
6
|
-
--digi--
|
|
7
|
-
--digi--
|
|
8
|
-
|
|
9
|
-
--digi--
|
|
10
|
-
--digi--
|
|
11
|
-
--digi--
|
|
12
|
-
--digi--
|
|
13
|
-
|
|
14
|
-
--digi--
|
|
1
|
+
@use '../../../../../../styles/src/digi-styles.utils' as *;
|
|
2
|
+
|
|
3
|
+
@mixin digi-logo--variables() {
|
|
4
|
+
--digi--logo--img--min-width: #{rem(256)};
|
|
5
|
+
--digi--logo--img--max-width:#{rem(292)};
|
|
6
|
+
--digi--logo--img--max-width--large: #{rem(368)};
|
|
7
|
+
--digi--logo--img--max-width--system: #{rem(44)};
|
|
8
|
+
|
|
9
|
+
--digi--logo--padding: 1.375rem;
|
|
10
|
+
--digi--logo--padding--wide: var(--digi--gutter--larger);
|
|
11
|
+
--digi--logo--padding--large: var(--digi--gutter--medium);
|
|
12
|
+
--digi--logo--padding--large--wide: var(--digi--gutter--larger);
|
|
13
|
+
|
|
14
|
+
--digi--logo--primary--symbol: var(--digi--color--logotype--primary--symbol);
|
|
15
|
+
--digi--logo--secondary--symbol: var(--digi--color--logotype--secondary--symbol);
|
|
16
|
+
--digi--logo--primary--text: var(--digi--color--logotype--primary--text);
|
|
17
|
+
--digi--logo--secondary--text: var(--digi--color--logotype--secondary--text);
|
|
18
|
+
}g: 1.375rem;
|
|
15
19
|
--digi--title-logo-gap: 9px;
|
|
16
20
|
}
|
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
@
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
--digi--
|
|
5
|
-
--digi--
|
|
6
|
-
--digi--
|
|
7
|
-
--digi--
|
|
8
|
-
|
|
9
|
-
--digi--
|
|
10
|
-
--digi--
|
|
11
|
-
--digi--
|
|
12
|
-
--digi--
|
|
13
|
-
|
|
14
|
-
--digi--
|
|
15
|
-
--digi--
|
|
1
|
+
@use '../../../../../../styles/src/digi-styles.utils' as *;
|
|
2
|
+
|
|
3
|
+
@mixin digi-logo--variables() {
|
|
4
|
+
--digi--logo--img--min-width: #{rem(256)};
|
|
5
|
+
--digi--logo--img--max-width:#{rem(292)};
|
|
6
|
+
--digi--logo--img--max-width--large: #{rem(368)};
|
|
7
|
+
--digi--logo--img--max-width--system: #{rem(44)};
|
|
8
|
+
|
|
9
|
+
--digi--logo--padding: 1.375rem;
|
|
10
|
+
--digi--logo--padding--wide: var(--digi--gutter--larger);
|
|
11
|
+
--digi--logo--padding--large: var(--digi--gutter--medium);
|
|
12
|
+
--digi--logo--padding--large--wide: var(--digi--gutter--larger);
|
|
13
|
+
|
|
14
|
+
--digi--logo--primary--symbol: var(--digi--color--logotype--primary--symbol);
|
|
15
|
+
--digi--logo--secondary--symbol: var(--digi--color--logotype--secondary--symbol);
|
|
16
|
+
--digi--logo--primary--text: var(--digi--color--logotype--primary--text);
|
|
17
|
+
--digi--logo--secondary--text: var(--digi--color--logotype--secondary--text);
|
|
16
18
|
}
|