-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'esds-3.0-vue3-primevue' into CED-1724-new-publish
- Loading branch information
Showing
20 changed files
with
1,193 additions
and
11 deletions.
There are no files selected for viewing
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
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 @@ | ||
/* stylelint-disable selector-pseudo-class-no-unknown, property-no-unknown */ | ||
@use "../variables"; | ||
|
||
:export { | ||
font-size-50: variables.$font-size-50; | ||
font-size-75: variables.$font-size-75; | ||
font-size-100: variables.$font-size-100; | ||
font-size-200: variables.$font-size-200; | ||
font-size-300: variables.$font-size-300; | ||
font-size-400: variables.$font-size-400; | ||
font-size-500: variables.$font-size-500; | ||
font-size-600: variables.$font-size-600; | ||
font-size-700: variables.$font-size-700; | ||
font-size-800: variables.$font-size-800; | ||
font-size-900: variables.$font-size-900; | ||
|
||
// body sizes | ||
font-size-xs: variables.$font-size-xs; | ||
font-size-sm: variables.$font-size-sm; | ||
font-size-base: variables.$font-size-base; | ||
font-size-lg: variables.$font-size-lg; | ||
|
||
// deprecated | ||
font-size-xl: variables.$font-size-xl; | ||
font-size-xxl: variables.$font-size-xxl; | ||
} |
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,13 @@ | ||
/* stylelint-disable selector-pseudo-class-no-unknown, property-no-unknown */ | ||
@use "../variables"; | ||
|
||
:export { | ||
font-weight-lighter: variables.$font-weight-lighter; | ||
font-weight-light: variables.$font-weight-light; | ||
font-weight-base: variables.$font-weight-base; | ||
font-weight-normal: variables.$font-weight-normal; | ||
font-weight-semibold: variables.$font-weight-semibold; | ||
font-weight-bold: variables.$font-weight-bold; | ||
font-weight-bolder: variables.$font-weight-bolder; | ||
font-weight-boldest: variables.$font-weight-boldest; | ||
} |
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,11 @@ | ||
/* stylelint-disable selector-pseudo-class-no-unknown, property-no-unknown */ | ||
@use "../variables"; | ||
|
||
:export { | ||
color: variables.$eyebrow-font-color; | ||
fontSize: variables.$eyebrow-font-size; | ||
fontWeight: variables.$eyebrow-font-weight; | ||
letterSpacing: variables.$eyebrow-letter-spacing; | ||
lineHeight: variables.$eyebrow-line-height; | ||
marginBottom: variables.$eyebrow-margin-bottom; | ||
} |
11 changes: 11 additions & 0 deletions
11
es-bs-base/scss/modules/heading-font-sizes-desktop.module.scss
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,11 @@ | ||
/* stylelint-disable selector-pseudo-class-no-unknown, property-no-unknown */ | ||
@use "../variables"; | ||
|
||
:export { | ||
h1: variables.$h1-font-size-desktop; | ||
h2: variables.$h2-font-size-desktop; | ||
h3: variables.$h3-font-size-desktop; | ||
h4: variables.$h4-font-size-desktop; | ||
h5: variables.$h5-font-size-desktop; | ||
h6: variables.$h6-font-size-desktop; | ||
} |
11 changes: 11 additions & 0 deletions
11
es-bs-base/scss/modules/heading-font-sizes-mobile.module.scss
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,11 @@ | ||
/* stylelint-disable selector-pseudo-class-no-unknown, property-no-unknown */ | ||
@use "../variables"; | ||
|
||
:export { | ||
h1: variables.$h1-font-size; | ||
h2: variables.$h2-font-size; | ||
h3: variables.$h3-font-size; | ||
h4: variables.$h4-font-size; | ||
h5: variables.$h5-font-size; | ||
h6: variables.$h6-font-size; | ||
} |
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,9 @@ | ||
/* stylelint-disable selector-pseudo-class-no-unknown, property-no-unknown */ | ||
@use "../variables"; | ||
|
||
:export { | ||
color: variables.$headings-color; | ||
fontFamily: variables.$headings-font-family; | ||
fontWeight: variables.$headings-font-weight; | ||
marginBottom: variables.$headings-margin-bottom; | ||
} |
11 changes: 11 additions & 0 deletions
11
es-bs-base/scss/modules/heading-line-heights-desktop.module.scss
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,11 @@ | ||
/* stylelint-disable selector-pseudo-class-no-unknown, property-no-unknown */ | ||
@use "../variables"; | ||
|
||
:export { | ||
h1: variables.$h1-line-height-desktop; | ||
h2: variables.$h2-line-height-desktop; | ||
h3: variables.$h3-line-height-desktop; | ||
h4: variables.$h4-line-height-desktop; | ||
h5: variables.$h5-line-height-desktop; | ||
h6: variables.$h6-line-height-desktop; | ||
} |
11 changes: 11 additions & 0 deletions
11
es-bs-base/scss/modules/heading-line-heights-mobile.module.scss
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,11 @@ | ||
/* stylelint-disable selector-pseudo-class-no-unknown, property-no-unknown */ | ||
@use "../variables"; | ||
|
||
:export { | ||
h1: variables.$h1-line-height; | ||
h2: variables.$h2-line-height; | ||
h3: variables.$h3-line-height; | ||
h4: variables.$h4-line-height; | ||
h5: variables.$h5-line-height; | ||
h6: variables.$h6-line-height; | ||
} |
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 @@ | ||
/* stylelint-disable selector-pseudo-class-no-unknown, property-no-unknown */ | ||
@use "../variables"; | ||
|
||
:export { | ||
line-height-50: variables.$line-height-50; | ||
line-height-75: variables.$line-height-75; | ||
line-height-100: variables.$line-height-100; | ||
line-height-200: variables.$line-height-200; | ||
line-height-300: variables.$line-height-300; | ||
line-height-400: variables.$line-height-400; | ||
line-height-500: variables.$line-height-500; | ||
line-height-600: variables.$line-height-600; | ||
line-height-700: variables.$line-height-700; | ||
line-height-800: variables.$line-height-800; | ||
line-height-900: variables.$line-height-900; | ||
|
||
// body sizes | ||
line-height-xs: variables.$line-height-50; | ||
line-height-sm: variables.$line-height-75; | ||
line-height-base: variables.$line-height-100; | ||
line-height-lg: variables.$line-height-300; | ||
|
||
// deprecated | ||
line-height-xl: variables.$line-height-400; | ||
line-height-xxl: variables.$line-height-500; | ||
} |
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,8 @@ | ||
/* stylelint-disable selector-pseudo-class-no-unknown, property-no-unknown */ | ||
@use "../variables"; | ||
|
||
:export { | ||
post1: variables.$post1-font-size-desktop; | ||
post2: variables.$post2-font-size-desktop; | ||
post3: variables.$post3-font-size-desktop; | ||
} |
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,8 @@ | ||
/* stylelint-disable selector-pseudo-class-no-unknown, property-no-unknown */ | ||
@use "../variables"; | ||
|
||
:export { | ||
post1: variables.$post1-font-size; | ||
post2: variables.$post2-font-size; | ||
post3: variables.$post3-font-size; | ||
} |
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,9 @@ | ||
/* stylelint-disable selector-pseudo-class-no-unknown, property-no-unknown */ | ||
@use "../variables"; | ||
|
||
:export { | ||
color: variables.$headings-color; | ||
fontFamily: variables.$headings-font-family; | ||
fontWeight: variables.$post-font-weight; | ||
marginBottom: variables.$headings-margin-bottom; | ||
} |
8 changes: 8 additions & 0 deletions
8
es-bs-base/scss/modules/post-line-heights-desktop.module.scss
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,8 @@ | ||
/* stylelint-disable selector-pseudo-class-no-unknown, property-no-unknown */ | ||
@use "../variables"; | ||
|
||
:export { | ||
post1: variables.$post1-line-height-desktop; | ||
post2: variables.$post2-line-height-desktop; | ||
post3: variables.$post3-line-height-desktop; | ||
} |
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,8 @@ | ||
/* stylelint-disable selector-pseudo-class-no-unknown, property-no-unknown */ | ||
@use "../variables"; | ||
|
||
:export { | ||
post1: variables.$post1-line-height; | ||
post2: variables.$post2-line-height; | ||
post3: variables.$post3-line-height; | ||
} |
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,9 @@ | ||
/* stylelint-disable selector-pseudo-class-no-unknown, property-no-unknown */ | ||
@use "../variables"; | ||
|
||
:export { | ||
body-color: variables.$body-color; | ||
font-weight-base: variables.$font-weight-base; | ||
link-color: variables.$link-color; | ||
link-weight: variables.$link-weight; | ||
} |
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 @@ | ||
<template> | ||
<div :class="`custom-control custom-radio custom-control${inline ? '-inline' : ''}`"> | ||
<radio-button | ||
class="custom-control-input" | ||
input-class="custom-radio-input" | ||
v-model="localValue" | ||
:disabled="disabled" | ||
:input-id="`${value}-${groupName}`" | ||
:name="groupName" | ||
:value="value" /> | ||
<label :for="`${value}-${groupName}`" class="custom-control-label">{{ displayName }}</label> | ||
</div> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
import { ref, watch } from 'vue'; | ||
const props = defineProps({ | ||
disabled: { | ||
type: Boolean, | ||
default: false, | ||
}, | ||
displayName: { | ||
type: String, | ||
required: true, | ||
default: "", | ||
}, | ||
groupName: { | ||
type: String, | ||
required: false, | ||
default: "", | ||
}, | ||
inline: { | ||
type: Boolean, | ||
default: false, | ||
}, | ||
modelValue: { | ||
type: String, | ||
required: true, | ||
default: "", | ||
}, | ||
value: { | ||
type: String, | ||
required: true, | ||
default: "", | ||
}, | ||
}); | ||
const emit = defineEmits(['update:modelValue']); | ||
const localValue = ref(props.modelValue); | ||
// Watch for changes to the local value and emit them | ||
watch(localValue, (newValue) => { | ||
emit('update:modelValue', newValue); | ||
}); | ||
// Watch for prop changes and update the local value | ||
watch(() => props.modelValue, (newValue) => { | ||
localValue.value = newValue; | ||
}); | ||
</script> |
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
Oops, something went wrong.