Skip to content
Open
Show file tree
Hide file tree
Changes from 46 commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
3139bfc
feat(tokens,css,link,text,breadcrumbs,input-group): NO-JIRA tokens, Cโ€ฆ
francisrupert Mar 3, 2026
37dd9e7
Merge remote-tracking branch 'origin/next' into visual-refresh/foundaโ€ฆ
francisrupert Mar 5, 2026
5c5d728
Merge branch 'next' into visual-refresh/foundation-deprecations-tooling
francisrupert Mar 7, 2026
3d1d595
migrate to dt-text component
francisrupert Mar 7, 2026
a975562
migrate ComponentAccessibleTable and ComponentClassTable to dt-text cโ€ฆ
francisrupert Mar 7, 2026
a95ff17
migrate DesignColorTable, NewUtilityClassTable, ThemeColorTable, Tokeโ€ฆ
francisrupert Mar 7, 2026
b6838cf
mgigrate to dt-text component
francisrupert Mar 7, 2026
74b14b6
migrate to dt-link component with new router-link support
francisrupert Mar 7, 2026
fd48e91
remove unnecessary anchor wrapper around external link button
francisrupert Mar 7, 2026
a4e6b6f
migrate TocItem and index page to dt-button component with router-linโ€ฆ
francisrupert Mar 7, 2026
9e7e907
dt-split-button accepts to and href props from dt-button
francisrupert Mar 7, 2026
22ab64f
inline code styles
francisrupert Mar 7, 2026
f120e14
doc site housekeeping
francisrupert Mar 7, 2026
f610be9
remove unused constants
francisrupert Mar 7, 2026
87f53e1
doc rule for code examples using refs in code-well-header
francisrupert Mar 7, 2026
377a50d
add missing storybook docs
francisrupert Mar 7, 2026
b06c801
fix closing tag
francisrupert Mar 7, 2026
6e9ac56
rename split button subcomponents from alpha/omega to start/end
francisrupert Mar 7, 2026
a15ad42
update test descriptions to use 'start' instead of 'alpha' terminology
francisrupert Mar 7, 2026
eccff20
init mode directive
francisrupert Mar 8, 2026
5ce421b
simplify contrast observer mutation handler
francisrupert Mar 8, 2026
c664485
consolidate afterEach hooks in mode directive tests
francisrupert Mar 8, 2026
1be8f3d
update mode directive story with visual polish and select menu
francisrupert Mar 8, 2026
4f823c5
expand mode directive documentation with usage examples and api referโ€ฆ
francisrupert Mar 8, 2026
e42e920
.
francisrupert Mar 8, 2026
a8ced1e
Merge branch 'visual-refresh/foundation-deprecations-tooling' into DLโ€ฆ
francisrupert Mar 8, 2026
aac3594
update inverted prop deprecation notices to recommend v-dt-mode direcโ€ฆ
francisrupert Mar 8, 2026
e6cf8da
move mode island styles from components to base layer
francisrupert Mar 8, 2026
82c9c58
update inverted prop deprecation notices across components to recommeโ€ฆ
francisrupert Mar 8, 2026
c575976
refine mode island demo layout and add code syntax color variables
francisrupert Mar 8, 2026
3a25a72
.
francisrupert Mar 8, 2026
871c6e4
correct scrollbar css layer
francisrupert Mar 8, 2026
22b6ba2
add file-level disable comment support to validate-layers plugin
francisrupert Mar 8, 2026
be25f33
Merge branch 'visual-refresh/foundation-deprecations-tooling' into DLโ€ฆ
francisrupert Mar 8, 2026
752d181
clarify component vs directive usage
francisrupert Mar 10, 2026
073919e
add suggestion for common "inverted" typo in mode directive validation
francisrupert Mar 10, 2026
a45c3c0
correct notice content gap
francisrupert Mar 10, 2026
5471ce1
.
francisrupert Mar 10, 2026
9bcd6d4
recommend v-dt-mode directive with examples
francisrupert Mar 10, 2026
e96caae
Merge branch 'next' into DLT-3067
francisrupert Mar 10, 2026
0ec7554
conditional mode application via directive boolean value and tests
francisrupert Mar 10, 2026
51fed81
update button documentation deprecation notice clarity and kind
francisrupert Mar 10, 2026
c278cd4
mistake
francisrupert Mar 10, 2026
44917ce
mistake
francisrupert Mar 10, 2026
f97fadd
update card documentation examples to use vue components instead of html
francisrupert Mar 10, 2026
b3b7f19
update card documentation examples to use vue components instead of html
francisrupert Mar 10, 2026
f436ae3
update deprecation notices from error to info kind for inverted prop โ€ฆ
francisrupert Mar 10, 2026
50b12a5
hide-close
francisrupert Mar 11, 2026
c41f92f
track resolved arg in directive state to prevent unnecessary observerโ€ฆ
francisrupert Mar 11, 2026
27ab7dc
mode directive it
francisrupert Mar 12, 2026
cde0d67
Merge remote-tracking branch 'origin/next' into DLT-3067
francisrupert Mar 13, 2026
09491c6
add value = false example
francisrupert Mar 13, 2026
9e7df8f
add JSDoc with usage examples
francisrupert Mar 13, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
kind="warning"
hide-close
class="d-wmx100p d-my16"
title="Use DtText in favor CSS Utilities"
title="Use DtText over CSS Utilities"
>
<template #default>
Reach for the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
* Based on dabblet (http://dabblet.com)
*/


:root {
--code-c-text: var(--dt-color-foreground-secondary);
--code-c-bg: blue;
--code-c-highlight-bg:var(--dt-color-blue-800);
--code-c-line-number: gray;
}

div[class*="language-"] {
margin: var(--dt-size-500) 0;
padding: var(--dt-size-500);
Expand Down
19 changes: 12 additions & 7 deletions apps/dialtone-documentation/docs/components/breadcrumbs.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,30 +72,35 @@ showHtmlWarning />
### Inverted

<dt-notice title="Deprecated" kind="error" class="d-wmx100p d-my16">
The <code>inverted</code> prop has been deprecated in favor of using <dt-link to="mode-island.html">DtModeIsland</dt-link> as a wrapper.
The <code>inverted</code> prop has been deprecated. Use the
<dt-link to="mode-island.html#inverting">v-dt-mode directive</dt-link>
instead, or <dt-link to="mode-island.html#dtmodeisland-component">DtModeIsland</dt-link>
when no natural container element exists.
</dt-notice>

In place of the <code>inverted</code> prop, use the <dt-link to="mode-island.html">DtModeIsland</dt-link> component as a wrapper.
In place of the `inverted` prop, use the [v-dt-mode directive](mode-island.html#inverting) on the component element.

<code-well-header>
<dt-mode-island class="d-p16 d-bar8">
<div class="d-bgc-contrast">
<dt-breadcrumbs
v-dt-mode:invert
ref="invertedBreadcrumbsExample"
class="d-p16 d-bar8"
:breadcrumbs="[
{ href: '#', label: 'Root' },
{ href: '#', label: 'Section' },
{ href: '#', label: 'Current Page', selected: true },
]"
/>
</dt-mode-island>
</div>
</code-well-header>

<code-example-tabs
:htmlCode='() => $refs.invertedBreadcrumbsExample'
vueCode='
<dt-mode-island>
<dt-breadcrumbs :breadcrumbs="breadcrumbs" />
</dt-mode-island>
<div class="d-bgc-contrast">
<dt-breadcrumbs v-dt-mode:invert :breadcrumbs="breadcrumbs" />
</div>
'
showHtmlWarning />

Expand Down
180 changes: 44 additions & 136 deletions apps/dialtone-documentation/docs/components/button.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,6 @@ Buttons can be set to active state using the `active` prop or `.d-btn--active` D
<dt-button active>Place Call</dt-button>
<dt-button kind="danger" importance="clear" active>Place Call</dt-button>
<dt-button kind="positive" importance="clear" active>Place Call</dt-button>
<dt-button kind="inverted" active>Place Call</dt-button>
<dt-button kind="muted" active>Place Call</dt-button>
</dt-stack>
</code-well-header>
Expand All @@ -241,7 +240,6 @@ vueCode='
<dt-button active>Place Call</dt-button>
<dt-button kind="danger" importance="clear" active>Place Call</dt-button>
<dt-button kind="positive" importance="clear" active>Place Call</dt-button>
<dt-button kind="inverted" active>Place Call</dt-button>
<dt-button kind="muted" active>Place Call</dt-button>
'
showHtmlWarning />
Expand Down Expand Up @@ -315,6 +313,49 @@ vueCode='
'
showHtmlWarning />

### Inverted

<dt-notice
title="Deprecated"
kind="info"
class="d-wmx100p d-my16"
>
<code>kind="inverted"</code> has been deprecated. Use the <dt-link to="mode-island.html#inverting">v-dt-mode directive</dt-link> instead, or <dt-link to="mode-island.html#dtmodeisland-component">DtModeIsland</dt-link>.
</dt-notice>

Use the [v-dt-mode directive](mode-island.html#inverting) in place of `kind="inverted"` on the component element. The previous `inverted` variant of DtButton was limited to a single presentation style. The directive now makes every combination available as an inverted style.

<code-well-header>
<dt-toggle v-model="isInverted" size="sm" wrapperClass="d-g8 d-m-auto d-pb8">Inverted</dt-toggle>
<dt-stack gap="400" ref="invertedAll">
<dt-stack gap="400" :direction="{ 'default': 'column', 'md': 'row' }">
<dt-button v-dt-mode:invert="isInverted"> Place Call </dt-button>
<dt-button v-dt-mode:invert="isInverted" importance="outlined"> Place Call </dt-button>
<dt-button v-dt-mode:invert="isInverted" importance="clear"> Place Call </dt-button>
</dt-stack>
<dt-stack gap="400" :direction="{ 'default': 'column', 'md': 'row' }">
<dt-button v-dt-mode:invert="isInverted" kind="danger"> Place Call </dt-button>
<dt-button v-dt-mode:invert="isInverted" kind="danger" importance="outlined"> Place Call </dt-button>
<dt-button v-dt-mode:invert="isInverted" kind="danger" importance="clear"> Place Call </dt-button>
</dt-stack>
<dt-stack gap="400" :direction="{ 'default': 'column', 'md': 'row' }">
<dt-button v-dt-mode:invert="isInverted" kind="positive">Place Call</dt-button>
<dt-button v-dt-mode:invert="isInverted" kind="positive" importance="outlined">Place Call</dt-button>
<dt-button v-dt-mode:invert="isInverted" kind="positive" importance="clear">Place Call</dt-button>
</dt-stack>
<dt-stack gap="400" :direction="{ 'default': 'column', 'md': 'row' }">
<dt-button v-dt-mode:invert="isInverted" kind="muted" importance="clear"> Place Call </dt-button>
<dt-button v-dt-mode:invert="isInverted" kind="muted" importance="outlined"> Place Call </dt-button>
</dt-stack>
</dt-stack>
</code-well-header>
<code-example-tabs
:htmlCode='() => $refs.invertedAll'
vueCode='
<dt-button v-dt-mode:invert {props}>Place Call</dt-button>
'
showHtmlWarning />

## Navigation

DtButton can render as an `<a>` or `<router-link>` for cases where you need button styling with navigation behavior.
Expand Down Expand Up @@ -430,40 +471,6 @@ vueCode='
'
/>

### Inverted

<dt-notice
title="Deprecated"
kind="error"
class="d-wmx100p d-my16"
>
<code>kind="inverted"</code> has been deprecated in favor of using <dt-link to="mode-island.html">DtModeIsland</dt-link> as a wrapper.
</dt-notice>

In place of <code>kind="inverted"</code>, use the <dt-link to="mode-island.html">DtModeIsland</dt-link> component as a wrapper.

<code-well-header>
<dt-split-button
end-tooltip-text="More calling options"
>
Place call
<template #dropdownList>
<dt-list-item role="menuitem" navigation-type="arrow-keys"> Option 1 </dt-list-item>
<dt-list-item role="menuitem" navigation-type="arrow-keys"> Option 2 </dt-list-item>
<dt-list-item role="menuitem" navigation-type="arrow-keys"> Option 3 </dt-list-item>
</template>
</dt-split-button>
</code-well-header>

<code-example-tabs
:htmlCode='() => $refs.modeIslandExample'
vueCode='
<dt-mode-island>
<dt-button {props}>Place Call</dt-button>
</dt-mode-island>
'
showHtmlWarning />

## Sizes

The default button size is `md`, but does not need to be explicitly specified.
Expand Down Expand Up @@ -742,32 +749,6 @@ Icon-only buttons are commonly used for toggling actions, navigation, or closing
</template>
</dt-button>
</dt-stack>
<dt-stack direction="row" gap="400" class="d-bgc-contrast d-p8">
<dt-button v-dt-tooltip="`Tooltip`" kind="inverted" importance="clear">
<template #startIcon="{ iconSize }">
<dt-icon
name="phone"
:size="iconSize"
/>
</template>
</dt-button>
<dt-button v-dt-tooltip="`Tooltip`" kind="inverted" importance="outlined">
<template #startIcon="{ iconSize }">
<dt-icon
name="phone"
:size="iconSize"
/>
</template>
</dt-button>
<dt-button v-dt-tooltip="`Tooltip`" kind="inverted">
<template #startIcon="{ iconSize }">
<dt-icon
name="phone"
:size="iconSize"
/>
</template>
</dt-button>
</dt-stack>
</dt-stack>
</code-well-header>

Expand Down Expand Up @@ -862,30 +843,6 @@ vueCode='
/>
</template>
</dt-button>
<dt-button v-dt-tooltip="`Tooltip`" kind="inverted" importance="clear">
<template #startIcon="{ iconSize }">
<dt-icon
name="phone"
:size="iconSize"
/>
</template>
</dt-button>
<dt-button v-dt-tooltip="`Tooltip`" kind="inverted" importance="outlined">
<template #startIcon="{ iconSize }">
<dt-icon
name="phone"
:size="iconSize"
/>
</template>
</dt-button>
<dt-button v-dt-tooltip="`Tooltip`" kind="inverted">
<template #startIcon="{ iconSize }">
<dt-icon
name="phone"
:size="iconSize"
/>
</template>
</dt-button>
'
showHtmlWarning />

Expand Down Expand Up @@ -969,32 +926,6 @@ The following styles are available as a circle shape.
</template>
</dt-button>
</dt-stack>
<dt-stack direction="row" gap="400" class="d-bgc-contrast d-p8">
<dt-button v-dt-tooltip="`Tooltip`" circle kind="inverted" importance="clear">
<template #startIcon="{ iconSize }">
<dt-icon
name="phone"
:size="iconSize"
/>
</template>
</dt-button>
<dt-button v-dt-tooltip="`Tooltip`" circle kind="inverted" importance="outlined">
<template #startIcon="{ iconSize }">
<dt-icon
name="phone"
:size="iconSize"
/>
</template>
</dt-button>
<dt-button v-dt-tooltip="`Tooltip`" circle kind="inverted">
<template #startIcon="{ iconSize }">
<dt-icon
name="phone"
:size="iconSize"
/>
</template>
</dt-button>
</dt-stack>
</dt-stack>
</code-well-header>

Expand Down Expand Up @@ -1065,30 +996,6 @@ vueCode='
/>
</template>
</dt-button>
<dt-button v-dt-tooltip="`Tooltip`" circle kind="inverted" importance="clear">
<template #startIcon="{ iconSize }">
<dt-icon
name="phone"
:size="iconSize"
/>
</template>
</dt-button>
<dt-button v-dt-tooltip="`Tooltip`" circle kind="inverted" importance="outlined">
<template #startIcon="{ iconSize }">
<dt-icon
name="phone"
:size="iconSize"
/>
</template>
</dt-button>
<dt-button v-dt-tooltip="`Tooltip`" circle kind="inverted">
<template #startIcon="{ iconSize }">
<dt-icon
name="phone"
:size="iconSize"
/>
</template>
</dt-button>
'
showHtmlWarning />

Expand Down Expand Up @@ -1391,4 +1298,5 @@ import { ref } from 'vue';
import ButtonVariantsTable from '@baseComponents/ButtonVariantsTable.vue';

const isDisabled = ref(true);
const isInverted = ref(true);
</script>
Loading
Loading