fix(stage-ui,ui): RoundRange updated, onboarding props corrected
This commit is contained in:
@@ -24,9 +24,11 @@ interface Emits {
|
||||
(e: 'skipped'): void
|
||||
}
|
||||
|
||||
const { extraSteps = [] } = defineProps<{
|
||||
const props = withDefaults(defineProps<{
|
||||
extraSteps?: OnboardingStep[]
|
||||
}>()
|
||||
}>(), {
|
||||
extraSteps: () => [],
|
||||
})
|
||||
const emit = defineEmits<Emits>()
|
||||
const step = ref(0)
|
||||
const direction = ref<'next' | 'previous'>('next')
|
||||
@@ -134,7 +136,7 @@ const allSteps = computed<OnboardingStep[]>(() => {
|
||||
return true
|
||||
},
|
||||
},
|
||||
...extraSteps.map(step => ({
|
||||
...props.extraSteps.map(step => ({
|
||||
...step,
|
||||
props: () => ({
|
||||
...step.props?.(),
|
||||
|
||||
@@ -71,7 +71,6 @@ https://toughengineer.github.io/demo/slider-styler*/
|
||||
min-height: var(--height);
|
||||
appearance: none;
|
||||
background: transparent;
|
||||
border-radius: 4px;
|
||||
transition: background-color 0.2s ease;
|
||||
|
||||
--thumb-width: var(--height);
|
||||
@@ -84,7 +83,7 @@ https://toughengineer.github.io/demo/slider-styler*/
|
||||
--track-height: calc(var(--height) - var(--track-value-padding) * 2);
|
||||
--track-box-shadow: 0 0 12px -2px rgb(0 0 0 / 22%);
|
||||
--track-border: none;
|
||||
--track-border-radius: 10px;
|
||||
--track-border-radius: 16px;
|
||||
--track-background: rgba(0, 0, 0, 0.4);
|
||||
|
||||
--track-value-background: rgb(255, 255, 255);
|
||||
@@ -99,7 +98,7 @@ https://toughengineer.github.io/demo/slider-styler*/
|
||||
--thumb-background: rgb(238, 238, 238);
|
||||
|
||||
--track-border: none;
|
||||
--track-background: rgba(99, 99, 99, 0.7);
|
||||
--track-background: rgba(64, 64, 64, 0.7);
|
||||
--track-box-shadow: 0 0 12px -2px rgb(0 0 0 / 22%);
|
||||
|
||||
--track-value-background: rgb(238, 238, 238);
|
||||
|
||||
@@ -6,6 +6,7 @@ function isEnvFlagEnabled(value: string | undefined): boolean {
|
||||
if (value == null)
|
||||
return false
|
||||
|
||||
// eslint-disable-next-line e18e/prefer-static-regex
|
||||
return /^(?:1|true|t|yes|y|on)$/i.test(value.trim())
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user