@dialpad/dialtone 9.146.0 → 9.147.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/README.md +17 -10
- package/dist/css/dialtone-default-theme.css +275 -32
- package/dist/css/dialtone-default-theme.min.css +1 -1
- package/dist/css/dialtone-docs.json +1 -1
- package/dist/css/dialtone.css +275 -32
- package/dist/css/dialtone.min.css +1 -1
- package/dist/css/tokens-docs.json +1 -1
- package/dist/tokens/doc.json +73664 -73664
- package/dist/vue2/component-documentation.json +1 -1
- package/dist/vue2/dialtone-vue.cjs +1 -1
- package/dist/vue2/dialtone-vue.js +29 -23
- package/dist/vue2/dialtone-vue.js.map +1 -1
- package/dist/vue2/lib/hovercard/hovercard.cjs +1 -1
- package/dist/vue2/lib/hovercard/hovercard.cjs.map +1 -1
- package/dist/vue2/lib/hovercard/hovercard.js +29 -21
- package/dist/vue2/lib/hovercard/hovercard.js.map +1 -1
- package/dist/vue2/lib/motion-text/index.cjs +2 -0
- package/dist/vue2/lib/motion-text/index.cjs.map +1 -0
- package/dist/vue2/lib/motion-text/index.js +9 -0
- package/dist/vue2/lib/motion-text/index.js.map +1 -0
- package/dist/vue2/lib/motion-text/motion-text-constants.cjs +2 -0
- package/dist/vue2/lib/motion-text/motion-text-constants.cjs.map +1 -0
- package/dist/vue2/lib/motion-text/motion-text-constants.js +35 -0
- package/dist/vue2/lib/motion-text/motion-text-constants.js.map +1 -0
- package/dist/vue2/lib/motion-text/motion-text.cjs +2 -0
- package/dist/vue2/lib/motion-text/motion-text.cjs.map +1 -0
- package/dist/vue2/lib/motion-text/motion-text.js +342 -0
- package/dist/vue2/lib/motion-text/motion-text.js.map +1 -0
- package/dist/vue2/lib/popover/popover.cjs +1 -1
- package/dist/vue2/lib/popover/popover.cjs.map +1 -1
- package/dist/vue2/lib/popover/popover.js +14 -12
- package/dist/vue2/lib/popover/popover.js.map +1 -1
- package/dist/vue2/types/components/hovercard/hovercard.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/popover/popover.vue.d.ts.map +1 -1
- package/dist/vue2/types/index.d.ts +1 -0
- package/dist/vue2/types/recipes/motion/motion_text/index.d.ts +3 -0
- package/dist/vue2/types/recipes/motion/motion_text/index.d.ts.map +1 -0
- package/dist/vue2/types/recipes/motion/motion_text/motion_text.vue.d.ts +3 -0
- package/dist/vue2/types/recipes/motion/motion_text/motion_text.vue.d.ts.map +1 -0
- package/dist/vue2/types/recipes/motion/motion_text/motion_text_constants.d.ts +32 -0
- package/dist/vue2/types/recipes/motion/motion_text/motion_text_constants.d.ts.map +1 -0
- package/dist/vue3/component-documentation.json +1 -1
- package/dist/vue3/dialtone-vue.cjs +1 -1
- package/dist/vue3/dialtone-vue.js +10 -4
- package/dist/vue3/dialtone-vue.js.map +1 -1
- package/dist/vue3/lib/hovercard/hovercard.cjs +1 -1
- package/dist/vue3/lib/hovercard/hovercard.cjs.map +1 -1
- package/dist/vue3/lib/hovercard/hovercard.js +57 -46
- package/dist/vue3/lib/hovercard/hovercard.js.map +1 -1
- package/dist/vue3/lib/motion-text/index.cjs +2 -0
- package/dist/vue3/lib/motion-text/index.cjs.map +1 -0
- package/dist/vue3/lib/motion-text/index.js +9 -0
- package/dist/vue3/lib/motion-text/index.js.map +1 -0
- package/dist/vue3/lib/motion-text/motion-text-constants.cjs +2 -0
- package/dist/vue3/lib/motion-text/motion-text-constants.cjs.map +1 -0
- package/dist/vue3/lib/motion-text/motion-text-constants.js +35 -0
- package/dist/vue3/lib/motion-text/motion-text-constants.js.map +1 -0
- package/dist/vue3/lib/motion-text/motion-text.cjs +2 -0
- package/dist/vue3/lib/motion-text/motion-text.cjs.map +1 -0
- package/dist/vue3/lib/motion-text/motion-text.js +389 -0
- package/dist/vue3/lib/motion-text/motion-text.js.map +1 -0
- package/dist/vue3/lib/popover/popover.cjs +1 -1
- package/dist/vue3/lib/popover/popover.cjs.map +1 -1
- package/dist/vue3/lib/popover/popover.js +22 -20
- package/dist/vue3/lib/popover/popover.js.map +1 -1
- package/dist/vue3/types/components/hovercard/hovercard.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/popover/popover.vue.d.ts.map +1 -1
- package/dist/vue3/types/index.d.ts +1 -0
- package/dist/vue3/types/recipes/motion/motion_text/index.d.ts +3 -0
- package/dist/vue3/types/recipes/motion/motion_text/index.d.ts.map +1 -0
- package/dist/vue3/types/recipes/motion/motion_text/motion_text.vue.d.ts +3 -0
- package/dist/vue3/types/recipes/motion/motion_text/motion_text.vue.d.ts.map +1 -0
- package/dist/vue3/types/recipes/motion/motion_text/motion_text_constants.d.ts +32 -0
- package/dist/vue3/types/recipes/motion/motion_text/motion_text_constants.d.ts.map +1 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -156,6 +156,11 @@ import { DtButton } from "@dialpad/dialtone/vue3"
|
|
|
156
156
|
import { DtButton } from "@dialpad/dialtone/vue3/lib/button"
|
|
157
157
|
```
|
|
158
158
|
|
|
159
|
+
#### Dialtine MCP Server
|
|
160
|
+
|
|
161
|
+
Install the MCP server to use it in your local environment and develop efficiently with Dialtone.
|
|
162
|
+
Follow the instructions in the [MCP Server](https://github.com/dialpad/dialtone/tree/staging/packages/dialtone-mcp-server) folder.
|
|
163
|
+
|
|
159
164
|
## About this repo
|
|
160
165
|
|
|
161
166
|
The @dialpad/dialtone repository is a monorepo composed of Dialtone NPM packages and apps.
|
|
@@ -193,21 +198,21 @@ the library.
|
|
|
193
198
|
|
|
194
199
|
#### How does our bundling works
|
|
195
200
|
|
|
196
|
-
To achieve this we needed to create certain configs through the monorepo to be able to handle them even if
|
|
201
|
+
To achieve this we needed to create certain configs through the monorepo to be able to handle them even if
|
|
197
202
|
they have the same package name e.g: `@dialpad/dialtone-vue`.
|
|
198
203
|
|
|
199
204
|
1. In root [package.json](package.json):
|
|
200
|
-
- `pnpm`:
|
|
201
|
-
- `peerDependencyRules` include `vue": "^2.6 || ^3.2"` to make sure we don't have warnings related to vue version
|
|
205
|
+
- `pnpm`:
|
|
206
|
+
- `peerDependencyRules` include `vue": "^2.6 || ^3.2"` to make sure we don't have warnings related to vue version
|
|
202
207
|
mismatch.
|
|
203
208
|
- `packageExtensions` tells pnpm which Vue version to use for each package.
|
|
204
|
-
- `dependencies` doesn't include any specific Vue 2 or Vue 3 dependencies as this causes issues on the client when
|
|
209
|
+
- `dependencies` doesn't include any specific Vue 2 or Vue 3 dependencies as this causes issues on the client when
|
|
205
210
|
trying to use exports from `./vue2` or `./vue3`.
|
|
206
211
|
2. On individual packages `package.json` files:
|
|
207
212
|
- Include the specific dependencies in case someone uses the individual package
|
|
208
|
-
- In `vite.config.js`[Vue 2](packages/dialtone-vue2/vite.config.js),
|
|
209
|
-
[Vue 3](packages/dialtone-vue3/vite.config.js) add dependencies to external to make sure they don't cause
|
|
210
|
-
issues on product. (This is more specific for the Vue 2 package, as product is depending on Vue 2.6 and any
|
|
213
|
+
- In `vite.config.js`[Vue 2](packages/dialtone-vue2/vite.config.js),
|
|
214
|
+
[Vue 3](packages/dialtone-vue3/vite.config.js) add dependencies to external to make sure they don't cause
|
|
215
|
+
issues on product. (This is more specific for the Vue 2 package, as product is depending on Vue 2.6 and any
|
|
211
216
|
dependency that needs a newer Vue version will cause issues).
|
|
212
217
|
3. In [project.json](project.json)
|
|
213
218
|
- Include implicit dependencies to make sure NX builds them before trying to copy the files to the mono-package.
|
|
@@ -215,6 +220,7 @@ they have the same package name e.g: `@dialpad/dialtone-vue`.
|
|
|
215
220
|
- Copy the built files into the root `dist` folder.
|
|
216
221
|
|
|
217
222
|
#### Included packages
|
|
223
|
+
|
|
218
224
|
- Dialtone CSS
|
|
219
225
|
- Dialtone Tokens
|
|
220
226
|
- Dialtone Vue 2
|
|
@@ -222,7 +228,7 @@ they have the same package name e.g: `@dialpad/dialtone-vue`.
|
|
|
222
228
|
|
|
223
229
|
### Tree-shaking
|
|
224
230
|
|
|
225
|
-
Tree-shaking is a feature that allows you to remove unused code from your bundle, and it is enabled by default in our
|
|
231
|
+
Tree-shaking is a feature that allows you to remove unused code from your bundle, and it is enabled by default in our
|
|
226
232
|
build process for Dialtone, Dialtone Vue, Dialtone Combinator and Dialtone Icons.
|
|
227
233
|
|
|
228
234
|
We achieve tree-shaking primarily via three mechanisms across the packages:
|
|
@@ -240,14 +246,15 @@ We achieve tree-shaking primarily via three mechanisms across the packages:
|
|
|
240
246
|
#### Publishing ESM builds (with dual ESM/CJS via exports map)
|
|
241
247
|
|
|
242
248
|
Packages expose ESM for bundlers to statically analyze and tree-shake, with CJS fallbacks.
|
|
243
|
-
|
|
249
|
+
|
|
250
|
+
- `@dialpad/dialtone-vue` (vue3):
|
|
244
251
|
- `"type"`: `"module"`,
|
|
245
252
|
- `"module"`: `"./dist/dialtone-vue.js"`,
|
|
246
253
|
- `"main"`: `"./dist/dialtone-vue.cjs"`,
|
|
247
254
|
|
|
248
255
|
#### Deep, per-module entry points to enable fine-grained import paths
|
|
249
256
|
|
|
250
|
-
Exports maps expose subpath entries so consumers can import only what they need (which aids tree-shaking and avoids
|
|
257
|
+
Exports maps expose subpath entries so consumers can import only what they need (which aids tree-shaking and avoids
|
|
251
258
|
pulling entire bundles):
|
|
252
259
|
|
|
253
260
|
- `@dialpad/dialtone` exposes `./vue3/lib/*` and `./vue2/lib/*` map to individual component imports.
|
|
@@ -1895,11 +1895,11 @@ template {
|
|
|
1895
1895
|
}
|
|
1896
1896
|
.d-btn--brand:hover:not([disabled]),
|
|
1897
1897
|
.d-btn--brand:active:not([disabled]) {
|
|
1898
|
-
--button-color-text:
|
|
1898
|
+
--button-color-text: hsl(var(--dt-color-neutral-white-hsl) / 90%);
|
|
1899
1899
|
--button-color-background: hsl(var(--brand-color-h) calc(var(--brand-color-s) + 2.5%) calc(var(--brand-color-l) - 5%));
|
|
1900
1900
|
}
|
|
1901
1901
|
.d-btn--brand:focus-visible {
|
|
1902
|
-
box-shadow: 0 0 0 var(--dt-space-100) var(--dt-color-neutral-white), 0 0 0 0.25em
|
|
1902
|
+
box-shadow: 0 0 0 var(--dt-space-100) var(--dt-color-neutral-white), 0 0 0 0.25em hsl(var(--brand-color-h) var(--brand-color-s) var(--brand-color-l) / 90%);
|
|
1903
1903
|
}
|
|
1904
1904
|
.d-btn--brand:active:not([disabled]) {
|
|
1905
1905
|
--button-color-background: hsl(var(--brand-color-h) calc(var(--brand-color-s) + 5%) calc(var(--brand-color-l) - 10%));
|
|
@@ -2514,7 +2514,6 @@ fieldset {
|
|
|
2514
2514
|
margin-bottom: var(--dt-space-300);
|
|
2515
2515
|
color: var(--dt-color-foreground-secondary);
|
|
2516
2516
|
font: var(--dt-typography-label-md);
|
|
2517
|
-
word-break: break-word;
|
|
2518
2517
|
overflow-wrap: break-word;
|
|
2519
2518
|
}
|
|
2520
2519
|
legend .d-label,
|
|
@@ -2614,7 +2613,7 @@ legend .d-label--md {
|
|
|
2614
2613
|
}
|
|
2615
2614
|
.d-image-viewer__close-button {
|
|
2616
2615
|
--fco: 100%;
|
|
2617
|
-
color:
|
|
2616
|
+
color: hsl(var(--dt-color-neutral-white-h) var(--dt-color-neutral-white-s) var(--dt-color-neutral-white-l) / var(--fco));
|
|
2618
2617
|
}
|
|
2619
2618
|
.d-input,
|
|
2620
2619
|
.d-input--md,
|
|
@@ -3128,7 +3127,6 @@ legend .d-label--md {
|
|
|
3128
3127
|
height: 1px;
|
|
3129
3128
|
overflow: hidden;
|
|
3130
3129
|
white-space: nowrap;
|
|
3131
|
-
clip: rect(0 0 0 0);
|
|
3132
3130
|
-webkit-clip-path: inset(50%);
|
|
3133
3131
|
clip-path: inset(50%);
|
|
3134
3132
|
}
|
|
@@ -3285,7 +3283,7 @@ legend .d-label--md {
|
|
|
3285
3283
|
}
|
|
3286
3284
|
.d-list-group--link:hover {
|
|
3287
3285
|
color: var(--dt-color-foreground-primary);
|
|
3288
|
-
background-color:
|
|
3286
|
+
background-color: hsl(var(--dt-color-purple-400-hsl) / 85%);
|
|
3289
3287
|
}
|
|
3290
3288
|
.d-list-group--link-selected {
|
|
3291
3289
|
color: var(--dt-color-neutral-white);
|
|
@@ -3816,7 +3814,7 @@ legend .d-label--md {
|
|
|
3816
3814
|
--toast-color-background: var(--dt-color-surface-secondary);
|
|
3817
3815
|
}
|
|
3818
3816
|
.d-toast-alternate {
|
|
3819
|
-
--toast-alternate-color-shadow:
|
|
3817
|
+
--toast-alternate-color-shadow: hsl(var(--dt-color-black-900-hsl) / 0.15);
|
|
3820
3818
|
--toast-alternate-box-shadow: 0 0 0 var(--dt-size-0) var(--toast-alternate-color-shadow) inset, var(--dt-shadow-medium);
|
|
3821
3819
|
--toast-alternate-color-background: var(--dt-color-surface-primary);
|
|
3822
3820
|
--toast-alternate-color-text: var(--dt-color-foreground-primary);
|
|
@@ -3959,7 +3957,7 @@ legend .d-label--md {
|
|
|
3959
3957
|
.d-pagination {
|
|
3960
3958
|
display: flex;
|
|
3961
3959
|
flex-direction: row;
|
|
3962
|
-
|
|
3960
|
+
gap: var(--dt-space-300);
|
|
3963
3961
|
align-items: center;
|
|
3964
3962
|
}
|
|
3965
3963
|
.d-pagination__button {
|
|
@@ -4132,7 +4130,6 @@ legend .d-label--md {
|
|
|
4132
4130
|
font-size: var(--dt-font-size-200);
|
|
4133
4131
|
font-family: inherit;
|
|
4134
4132
|
line-height: var(--dt-font-line-height-300);
|
|
4135
|
-
word-break: break-word;
|
|
4136
4133
|
overflow-wrap: break-word;
|
|
4137
4134
|
}
|
|
4138
4135
|
.d-checkbox__input,
|
|
@@ -4328,11 +4325,11 @@ legend .d-label--md {
|
|
|
4328
4325
|
margin-left: var(--dt-space-200);
|
|
4329
4326
|
}
|
|
4330
4327
|
.d-mention-suggestion__status {
|
|
4328
|
+
margin-left: var(--dt-space-100);
|
|
4331
4329
|
overflow: hidden;
|
|
4330
|
+
color: var(--dt-color-foreground-tertiary);
|
|
4332
4331
|
white-space: nowrap;
|
|
4333
4332
|
text-overflow: ellipsis;
|
|
4334
|
-
color: var(--dt-color-foreground-tertiary);
|
|
4335
|
-
margin-left: var(--dt-space-100);
|
|
4336
4333
|
}
|
|
4337
4334
|
.d-mention-suggestion__divider {
|
|
4338
4335
|
color: var(--dt-color-foreground-tertiary);
|
|
@@ -4750,7 +4747,7 @@ legend .d-label--md {
|
|
|
4750
4747
|
background-color: var(--dt-color-surface-secondary-opaque);
|
|
4751
4748
|
}
|
|
4752
4749
|
.d-table--striped.d-table--inverted tr:nth-child(even) {
|
|
4753
|
-
background-color:
|
|
4750
|
+
background-color: hsl(var(--bgc-primary-hsl) / 0.1);
|
|
4754
4751
|
}
|
|
4755
4752
|
.d-tablist {
|
|
4756
4753
|
--tab-color-background: var(--dt-action-color-background-base-default);
|
|
@@ -6599,9 +6596,7 @@ legend .d-label--md {
|
|
|
6599
6596
|
flex: none !important;
|
|
6600
6597
|
}
|
|
6601
6598
|
.d-fl-equal {
|
|
6602
|
-
flex
|
|
6603
|
-
flex-grow: 1 !important;
|
|
6604
|
-
flex-shrink: 1 !important;
|
|
6599
|
+
flex: 1 1 0 !important;
|
|
6605
6600
|
}
|
|
6606
6601
|
.d-fl-grow0 {
|
|
6607
6602
|
flex-grow: 0 !important;
|
|
@@ -6741,13 +6736,15 @@ legend .d-label--md {
|
|
|
6741
6736
|
grid-column: unset !important;
|
|
6742
6737
|
}
|
|
6743
6738
|
.d-gcg-unset {
|
|
6744
|
-
|
|
6739
|
+
-webkit-column-gap: unset !important;
|
|
6740
|
+
-moz-column-gap: unset !important;
|
|
6741
|
+
column-gap: unset !important;
|
|
6745
6742
|
}
|
|
6746
6743
|
.d-grg-unset {
|
|
6747
|
-
|
|
6744
|
+
row-gap: unset !important;
|
|
6748
6745
|
}
|
|
6749
6746
|
.d-gg-unset {
|
|
6750
|
-
|
|
6747
|
+
gap: unset !important;
|
|
6751
6748
|
}
|
|
6752
6749
|
.d-ji-center {
|
|
6753
6750
|
justify-items: center !important;
|
|
@@ -6844,11 +6841,11 @@ legend .d-label--md {
|
|
|
6844
6841
|
grid-template-columns: [sidebar-start] var(--sidebar-width) [sidebar-end content-start] var(--content-width) [content-end];
|
|
6845
6842
|
}
|
|
6846
6843
|
.d-gl-header {
|
|
6847
|
-
grid-template-areas: 'header' 'content';
|
|
6848
|
-
grid-template-rows: [header-start] var(--header-height) [header-end content-start] var(--content-height) [content-end];
|
|
6849
6844
|
grid-auto-rows: 1fr;
|
|
6850
6845
|
grid-auto-columns: minmax(-webkit-min-content, auto);
|
|
6851
6846
|
grid-auto-columns: minmax(min-content, auto);
|
|
6847
|
+
grid-template-areas: 'header' 'content';
|
|
6848
|
+
grid-template-rows: [header-start] var(--header-height) [header-end content-start] var(--content-height) [content-end];
|
|
6852
6849
|
}
|
|
6853
6850
|
.d-ga-sidebar {
|
|
6854
6851
|
grid-area: sidebar !important;
|
|
@@ -7441,9 +7438,8 @@ legend .d-label--md {
|
|
|
7441
7438
|
margin: var(--dt-space-100-negative);
|
|
7442
7439
|
padding: var(--dt-space-0);
|
|
7443
7440
|
overflow: hidden;
|
|
7444
|
-
|
|
7441
|
+
overflow-wrap: normal;
|
|
7445
7442
|
border: none;
|
|
7446
|
-
clip: rect(1px, 1px, 1px, 1px);
|
|
7447
7443
|
-webkit-clip-path: inset(50%);
|
|
7448
7444
|
clip-path: inset(50%);
|
|
7449
7445
|
}
|
|
@@ -8466,7 +8462,6 @@ ul {
|
|
|
8466
8462
|
.d-lc-unset {
|
|
8467
8463
|
display: initial !important;
|
|
8468
8464
|
overflow: initial !important;
|
|
8469
|
-
-webkit-box-orient: initial !important;
|
|
8470
8465
|
-webkit-line-clamp: initial !important;
|
|
8471
8466
|
}
|
|
8472
8467
|
.d-ow-normal {
|
|
@@ -8554,7 +8549,7 @@ ul {
|
|
|
8554
8549
|
word-break: break-all !important;
|
|
8555
8550
|
}
|
|
8556
8551
|
.d-wb-break-word {
|
|
8557
|
-
|
|
8552
|
+
overflow-wrap: break-word !important;
|
|
8558
8553
|
}
|
|
8559
8554
|
.d-wb-keep-all {
|
|
8560
8555
|
word-break: keep-all !important;
|
|
@@ -8563,19 +8558,19 @@ ul {
|
|
|
8563
8558
|
word-break: unset !important;
|
|
8564
8559
|
}
|
|
8565
8560
|
.d-ww-normal {
|
|
8566
|
-
|
|
8561
|
+
overflow-wrap: normal !important;
|
|
8567
8562
|
}
|
|
8568
8563
|
.d-ww-break-word {
|
|
8569
|
-
|
|
8564
|
+
overflow-wrap: break-word !important;
|
|
8570
8565
|
}
|
|
8571
8566
|
.d-ww-anywhere {
|
|
8572
|
-
|
|
8567
|
+
overflow-wrap: anywhere !important;
|
|
8573
8568
|
}
|
|
8574
8569
|
.d-ww-initial {
|
|
8575
|
-
|
|
8570
|
+
overflow-wrap: initial !important;
|
|
8576
8571
|
}
|
|
8577
8572
|
.d-ww-inherit {
|
|
8578
|
-
|
|
8573
|
+
overflow-wrap: inherit !important;
|
|
8579
8574
|
}
|
|
8580
8575
|
.d-truncate {
|
|
8581
8576
|
overflow: hidden !important;
|
|
@@ -9956,6 +9951,254 @@ ul {
|
|
|
9956
9951
|
border: var(--dt-space-100) solid;
|
|
9957
9952
|
border-color: var(--dt-color-border-default);
|
|
9958
9953
|
}
|
|
9954
|
+
@property --dt-recipe-motion-text-mask-pos {
|
|
9955
|
+
inherits: true;
|
|
9956
|
+
initial-value: 0%;
|
|
9957
|
+
syntax: '<percentage>';
|
|
9958
|
+
}
|
|
9959
|
+
.dt-recipe-motion-text {
|
|
9960
|
+
/* Theme variables - can be overridden by design system */
|
|
9961
|
+
--dt-recipe-motion-text-duration: 1000ms;
|
|
9962
|
+
--dt-recipe-motion-text-char-duration: var(--dt-recipe-motion-text-duration);
|
|
9963
|
+
--dt-recipe-motion-text-word-duration: calc(var(--dt-recipe-motion-text-duration) * 2);
|
|
9964
|
+
--dt-recipe-motion-text-highlight-color: linear-gradient(135deg, var(--dt-color-brand-magenta) 10%, var(--dt-color-brand-purple) 80%, var(--dt-color-brand-gold) 100%);
|
|
9965
|
+
--dt-recipe-motion-text-gradient: linear-gradient(90deg, transparent 0%, transparent 20%, black 40%, black 60%, transparent 80%, transparent 100%) 0% 0% / 500% 100%;
|
|
9966
|
+
--dt-recipe-motion-text-shimmer-gradient: linear-gradient(90deg, black 0%, black 20%, #0005 40%, #0005 60%, black 80%, black 100%) 0% 0% / 500% 100%;
|
|
9967
|
+
position: relative;
|
|
9968
|
+
}
|
|
9969
|
+
.dt-recipe-motion-text__sr-only {
|
|
9970
|
+
position: absolute;
|
|
9971
|
+
width: 1px;
|
|
9972
|
+
height: 1px;
|
|
9973
|
+
overflow: hidden;
|
|
9974
|
+
white-space: nowrap;
|
|
9975
|
+
-webkit-clip-path: inset(50%);
|
|
9976
|
+
clip-path: inset(50%);
|
|
9977
|
+
}
|
|
9978
|
+
.dt-recipe-motion-text__content {
|
|
9979
|
+
display: contents;
|
|
9980
|
+
}
|
|
9981
|
+
.dt-recipe-motion-text__fallback {
|
|
9982
|
+
display: contents;
|
|
9983
|
+
}
|
|
9984
|
+
.dt-recipe-motion-text__char {
|
|
9985
|
+
display: inline-block;
|
|
9986
|
+
white-space: pre;
|
|
9987
|
+
}
|
|
9988
|
+
.dt-recipe-motion-text__word {
|
|
9989
|
+
position: relative;
|
|
9990
|
+
display: inline;
|
|
9991
|
+
white-space: nowrap;
|
|
9992
|
+
}
|
|
9993
|
+
@-webkit-keyframes dt-recipe-motion-text-gradient-in-char-appear {
|
|
9994
|
+
from {
|
|
9995
|
+
opacity: 0;
|
|
9996
|
+
}
|
|
9997
|
+
to {
|
|
9998
|
+
opacity: 1;
|
|
9999
|
+
}
|
|
10000
|
+
}
|
|
10001
|
+
@keyframes dt-recipe-motion-text-gradient-in-char-appear {
|
|
10002
|
+
from {
|
|
10003
|
+
opacity: 0;
|
|
10004
|
+
}
|
|
10005
|
+
to {
|
|
10006
|
+
opacity: 1;
|
|
10007
|
+
}
|
|
10008
|
+
}
|
|
10009
|
+
@-webkit-keyframes dt-recipe-motion-text-gradient-in-word-reveal {
|
|
10010
|
+
from {
|
|
10011
|
+
--dt-recipe-motion-text-mask-pos: 100%;
|
|
10012
|
+
}
|
|
10013
|
+
to {
|
|
10014
|
+
--dt-recipe-motion-text-mask-pos: 0%;
|
|
10015
|
+
}
|
|
10016
|
+
}
|
|
10017
|
+
@keyframes dt-recipe-motion-text-gradient-in-word-reveal {
|
|
10018
|
+
from {
|
|
10019
|
+
--dt-recipe-motion-text-mask-pos: 100%;
|
|
10020
|
+
}
|
|
10021
|
+
to {
|
|
10022
|
+
--dt-recipe-motion-text-mask-pos: 0%;
|
|
10023
|
+
}
|
|
10024
|
+
}
|
|
10025
|
+
@-webkit-keyframes dt-recipe-motion-text-fade-in-char-appear {
|
|
10026
|
+
from {
|
|
10027
|
+
opacity: 0;
|
|
10028
|
+
}
|
|
10029
|
+
to {
|
|
10030
|
+
opacity: 1;
|
|
10031
|
+
}
|
|
10032
|
+
}
|
|
10033
|
+
@keyframes dt-recipe-motion-text-fade-in-char-appear {
|
|
10034
|
+
from {
|
|
10035
|
+
opacity: 0;
|
|
10036
|
+
}
|
|
10037
|
+
to {
|
|
10038
|
+
opacity: 1;
|
|
10039
|
+
}
|
|
10040
|
+
}
|
|
10041
|
+
@-webkit-keyframes dt-recipe-motion-text-fade-in-word-appear {
|
|
10042
|
+
from {
|
|
10043
|
+
opacity: 0;
|
|
10044
|
+
}
|
|
10045
|
+
to {
|
|
10046
|
+
opacity: 1;
|
|
10047
|
+
}
|
|
10048
|
+
}
|
|
10049
|
+
@keyframes dt-recipe-motion-text-fade-in-word-appear {
|
|
10050
|
+
from {
|
|
10051
|
+
opacity: 0;
|
|
10052
|
+
}
|
|
10053
|
+
to {
|
|
10054
|
+
opacity: 1;
|
|
10055
|
+
}
|
|
10056
|
+
}
|
|
10057
|
+
@-webkit-keyframes dt-recipe-motion-text-slide-in-char-appear {
|
|
10058
|
+
from {
|
|
10059
|
+
-webkit-transform: translateY(0.3em);
|
|
10060
|
+
transform: translateY(0.3em);
|
|
10061
|
+
opacity: 0;
|
|
10062
|
+
}
|
|
10063
|
+
to {
|
|
10064
|
+
-webkit-transform: translateY(0);
|
|
10065
|
+
transform: translateY(0);
|
|
10066
|
+
opacity: 1;
|
|
10067
|
+
}
|
|
10068
|
+
}
|
|
10069
|
+
@keyframes dt-recipe-motion-text-slide-in-char-appear {
|
|
10070
|
+
from {
|
|
10071
|
+
-webkit-transform: translateY(0.3em);
|
|
10072
|
+
transform: translateY(0.3em);
|
|
10073
|
+
opacity: 0;
|
|
10074
|
+
}
|
|
10075
|
+
to {
|
|
10076
|
+
-webkit-transform: translateY(0);
|
|
10077
|
+
transform: translateY(0);
|
|
10078
|
+
opacity: 1;
|
|
10079
|
+
}
|
|
10080
|
+
}
|
|
10081
|
+
@-webkit-keyframes dt-recipe-motion-text-slide-in-word-appear {
|
|
10082
|
+
from {
|
|
10083
|
+
-webkit-transform: translateY(0.5em);
|
|
10084
|
+
transform: translateY(0.5em);
|
|
10085
|
+
opacity: 0;
|
|
10086
|
+
}
|
|
10087
|
+
to {
|
|
10088
|
+
-webkit-transform: translateY(0);
|
|
10089
|
+
transform: translateY(0);
|
|
10090
|
+
opacity: 1;
|
|
10091
|
+
}
|
|
10092
|
+
}
|
|
10093
|
+
@keyframes dt-recipe-motion-text-slide-in-word-appear {
|
|
10094
|
+
from {
|
|
10095
|
+
-webkit-transform: translateY(0.5em);
|
|
10096
|
+
transform: translateY(0.5em);
|
|
10097
|
+
opacity: 0;
|
|
10098
|
+
}
|
|
10099
|
+
to {
|
|
10100
|
+
-webkit-transform: translateY(0);
|
|
10101
|
+
transform: translateY(0);
|
|
10102
|
+
opacity: 1;
|
|
10103
|
+
}
|
|
10104
|
+
}
|
|
10105
|
+
.dt-recipe-motion-text-char-gradient-in-enter-active {
|
|
10106
|
+
-webkit-animation: dt-recipe-motion-text-gradient-in-char-appear var(--dt-recipe-motion-text-char-duration) var(--ttf-in-out);
|
|
10107
|
+
animation: dt-recipe-motion-text-gradient-in-char-appear var(--dt-recipe-motion-text-char-duration) var(--ttf-in-out);
|
|
10108
|
+
}
|
|
10109
|
+
.dt-recipe-motion-text-char-gradient-in-leave-active {
|
|
10110
|
+
animation: dt-recipe-motion-text-gradient-in-char-appear calc(var(--dt-recipe-motion-text-char-duration) * 0.5) var(--ttf-out-quint) reverse;
|
|
10111
|
+
}
|
|
10112
|
+
.dt-recipe-motion-text-word-gradient-in-enter-active {
|
|
10113
|
+
-webkit-animation: dt-recipe-motion-text-gradient-in-word-reveal calc(var(--dt-recipe-motion-text-word-duration) * 1.5) var(--ttf-out-quint);
|
|
10114
|
+
animation: dt-recipe-motion-text-gradient-in-word-reveal calc(var(--dt-recipe-motion-text-word-duration) * 1.5) var(--ttf-out-quint);
|
|
10115
|
+
}
|
|
10116
|
+
.dt-recipe-motion-text-word-gradient-in-leave-active {
|
|
10117
|
+
animation: dt-recipe-motion-text-gradient-in-word-reveal calc(var(--dt-recipe-motion-text-word-duration) * 0.5) var(--ttf-out-quint) reverse;
|
|
10118
|
+
}
|
|
10119
|
+
.dt-recipe-motion-text-char-fade-in-enter-active {
|
|
10120
|
+
-webkit-animation: dt-recipe-motion-text-fade-in-char-appear var(--dt-recipe-motion-text-char-duration) var(--ttf-out-quint);
|
|
10121
|
+
animation: dt-recipe-motion-text-fade-in-char-appear var(--dt-recipe-motion-text-char-duration) var(--ttf-out-quint);
|
|
10122
|
+
}
|
|
10123
|
+
.dt-recipe-motion-text-char-fade-in-leave-active {
|
|
10124
|
+
animation: dt-recipe-motion-text-fade-in-char-appear calc(var(--dt-recipe-motion-text-char-duration) * 0.5) var(--ttf-out-quint) reverse;
|
|
10125
|
+
}
|
|
10126
|
+
.dt-recipe-motion-text-word-fade-in-enter-active {
|
|
10127
|
+
-webkit-animation: dt-recipe-motion-text-fade-in-word-appear var(--dt-recipe-motion-text-word-duration) var(--ttf-out-quint);
|
|
10128
|
+
animation: dt-recipe-motion-text-fade-in-word-appear var(--dt-recipe-motion-text-word-duration) var(--ttf-out-quint);
|
|
10129
|
+
}
|
|
10130
|
+
.dt-recipe-motion-text-word-fade-in-leave-active {
|
|
10131
|
+
animation: dt-recipe-motion-text-fade-in-word-appear calc(var(--dt-recipe-motion-text-word-duration) * 0.5) var(--ttf-out-quint) reverse;
|
|
10132
|
+
}
|
|
10133
|
+
.dt-recipe-motion-text-char-slide-in-enter-active {
|
|
10134
|
+
-webkit-animation: dt-recipe-motion-text-slide-in-char-appear var(--dt-recipe-motion-text-char-duration) var(--ttf-out-quint);
|
|
10135
|
+
animation: dt-recipe-motion-text-slide-in-char-appear var(--dt-recipe-motion-text-char-duration) var(--ttf-out-quint);
|
|
10136
|
+
}
|
|
10137
|
+
.dt-recipe-motion-text-char-slide-in-leave-active {
|
|
10138
|
+
animation: dt-recipe-motion-text-slide-in-char-appear calc(var(--dt-recipe-motion-text-char-duration) * 0.5) var(--ttf-out-quint) reverse;
|
|
10139
|
+
}
|
|
10140
|
+
.dt-recipe-motion-text-word-slide-in-enter-active {
|
|
10141
|
+
-webkit-animation: dt-recipe-motion-text-slide-in-word-appear var(--dt-recipe-motion-text-word-duration) var(--ttf-out-quint);
|
|
10142
|
+
animation: dt-recipe-motion-text-slide-in-word-appear var(--dt-recipe-motion-text-word-duration) var(--ttf-out-quint);
|
|
10143
|
+
}
|
|
10144
|
+
.dt-recipe-motion-text-word-slide-in-leave-active {
|
|
10145
|
+
animation: dt-recipe-motion-text-slide-in-word-appear calc(var(--dt-recipe-motion-text-word-duration) * 0.5) var(--ttf-out-quint) reverse;
|
|
10146
|
+
}
|
|
10147
|
+
.dt-recipe-motion-text--gradient-sweep,
|
|
10148
|
+
.dt-recipe-motion-text--shimmer {
|
|
10149
|
+
position: relative;
|
|
10150
|
+
display: inline-block;
|
|
10151
|
+
-webkit-animation: dt-recipe-motion-text-gradient-in-word-reveal calc(var(--dt-recipe-motion-text-word-duration) * 1.5) var(--ttf-in-out) 1;
|
|
10152
|
+
animation: dt-recipe-motion-text-gradient-in-word-reveal calc(var(--dt-recipe-motion-text-word-duration) * 1.5) var(--ttf-in-out) 1;
|
|
10153
|
+
}
|
|
10154
|
+
.dt-recipe-motion-text--gradient-in .dt-recipe-motion-text__word::before,
|
|
10155
|
+
.dt-recipe-motion-text--gradient-sweep::before {
|
|
10156
|
+
position: absolute;
|
|
10157
|
+
font-size: inherit;
|
|
10158
|
+
line-height: inherit;
|
|
10159
|
+
letter-spacing: inherit;
|
|
10160
|
+
background: var(--dt-recipe-motion-text-highlight-color);
|
|
10161
|
+
-webkit-background-clip: text;
|
|
10162
|
+
background-clip: text;
|
|
10163
|
+
content: attr(data-text-content);
|
|
10164
|
+
pointer-events: none;
|
|
10165
|
+
-webkit-text-fill-color: transparent;
|
|
10166
|
+
-webkit-mask: var(--dt-recipe-motion-text-gradient);
|
|
10167
|
+
mask: var(--dt-recipe-motion-text-gradient);
|
|
10168
|
+
-webkit-mask-position: var(--dt-recipe-motion-text-mask-pos) 0%;
|
|
10169
|
+
mask-position: var(--dt-recipe-motion-text-mask-pos) 0%;
|
|
10170
|
+
}
|
|
10171
|
+
.dt-recipe-motion-text--shimmer {
|
|
10172
|
+
content: attr(data-text-content);
|
|
10173
|
+
-webkit-mask: var(--dt-recipe-motion-text-shimmer-gradient);
|
|
10174
|
+
mask: var(--dt-recipe-motion-text-shimmer-gradient);
|
|
10175
|
+
-webkit-mask-position: var(--dt-recipe-motion-text-mask-pos) 0%;
|
|
10176
|
+
mask-position: var(--dt-recipe-motion-text-mask-pos) 0%;
|
|
10177
|
+
}
|
|
10178
|
+
.dt-recipe-motion-text--none .dt-recipe-motion-text__word,
|
|
10179
|
+
.dt-recipe-motion-text--none .dt-recipe-motion-text__char {
|
|
10180
|
+
-webkit-transform: none;
|
|
10181
|
+
transform: none;
|
|
10182
|
+
opacity: 1;
|
|
10183
|
+
}
|
|
10184
|
+
.dt-recipe-motion-text--paused {
|
|
10185
|
+
-webkit-animation-play-state: paused !important;
|
|
10186
|
+
animation-play-state: paused !important;
|
|
10187
|
+
}
|
|
10188
|
+
.dt-recipe-motion-text--looped {
|
|
10189
|
+
-webkit-animation-iteration-count: infinite !important;
|
|
10190
|
+
animation-iteration-count: infinite !important;
|
|
10191
|
+
}
|
|
10192
|
+
@media (prefers-reduced-motion: reduce) {
|
|
10193
|
+
.dt-recipe-motion-text {
|
|
10194
|
+
--dt-recipe-motion-text-duration: 0ms;
|
|
10195
|
+
--dt-recipe-motion-text-char-duration: 0ms;
|
|
10196
|
+
--dt-recipe-motion-text-word-duration: 0ms;
|
|
10197
|
+
transition-duration: 0ms !important;
|
|
10198
|
+
-webkit-animation-duration: 0ms !important;
|
|
10199
|
+
animation-duration: 0ms !important;
|
|
10200
|
+
}
|
|
10201
|
+
}
|
|
9959
10202
|
.d-recipe-settings-menu-button {
|
|
9960
10203
|
width: var(--dt-size-550);
|
|
9961
10204
|
height: var(--dt-size-600);
|
|
@@ -9974,13 +10217,13 @@ ul {
|
|
|
9974
10217
|
.d-recipe-settings-menu-button-update {
|
|
9975
10218
|
height: var(--dt-size-600);
|
|
9976
10219
|
color: var(--dt-color-blue-500);
|
|
9977
|
-
background-color:
|
|
9978
|
-
border-color:
|
|
10220
|
+
background-color: hsl(var(--dt-color-blue-200-hsl) / 0.25);
|
|
10221
|
+
border-color: hsl(var(--dt-color-blue-200-hsl) / 0.25);
|
|
9979
10222
|
border-radius: var(--dt-size-radius-pill);
|
|
9980
10223
|
}
|
|
9981
10224
|
.d-recipe-settings-menu-button-update:hover {
|
|
9982
10225
|
color: var(--dt-shell-action-color-foreground-primary-hover);
|
|
9983
|
-
background-color:
|
|
10226
|
+
background-color: hsl(var(--dt-color-blue-200-hsl) / 0.5);
|
|
9984
10227
|
}
|
|
9985
10228
|
.d-recipe-time-pill {
|
|
9986
10229
|
padding: var(--dt-space-300) var(--dt-space-500);
|