@dialpad/dialtone 9.172.0 → 9.174.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 +8 -8
- package/dist/css/dialtone-default-theme.css +14 -8
- package/dist/css/dialtone-default-theme.min.css +1 -1
- package/dist/css/dialtone.css +14 -8
- package/dist/css/dialtone.min.css +1 -1
- package/dist/tokens/doc.json +101425 -101425
- package/dist/vue3/lib/loader/loader.cjs +10 -2
- package/dist/vue3/lib/loader/loader.cjs.map +1 -1
- package/dist/vue3/lib/loader/loader.js +34 -16
- package/dist/vue3/lib/loader/loader.js.map +1 -1
- package/dist/vue3/lib/message-input/message-input.cjs +1 -1
- package/dist/vue3/lib/message-input/message-input.cjs.map +1 -1
- package/dist/vue3/lib/message-input/message-input.js +2 -1
- package/dist/vue3/lib/message-input/message-input.js.map +1 -1
- package/dist/vue3/lib/rich-text-editor/rich-text-editor.cjs +4 -4
- package/dist/vue3/lib/rich-text-editor/rich-text-editor.cjs.map +1 -1
- package/dist/vue3/lib/rich-text-editor/rich-text-editor.js +675 -564
- package/dist/vue3/lib/rich-text-editor/rich-text-editor.js.map +1 -1
- package/dist/vue3/types/components/loader/loader.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/rich_text_editor/extensions/div/div.d.ts.map +1 -1
- package/dist/vue3/types/components/rich_text_editor/extensions/table/table.d.ts +5 -0
- package/dist/vue3/types/components/rich_text_editor/extensions/table/table.d.ts.map +1 -0
- package/dist/vue3/types/components/rich_text_editor/extensions/text_style/text_style.d.ts +2 -0
- package/dist/vue3/types/components/rich_text_editor/extensions/text_style/text_style.d.ts.map +1 -0
- package/package.json +11 -1
package/README.md
CHANGED
|
@@ -117,13 +117,13 @@ import DtIllustrationBlankSpace from '@dialpad/dialtone-icons/vue3/blank-space';
|
|
|
117
117
|
|
|
118
118
|
```js
|
|
119
119
|
// Named import
|
|
120
|
-
import { DtButton } from "@dialpad/dialtone/
|
|
120
|
+
import { DtButton } from "@dialpad/dialtone/vue"
|
|
121
121
|
|
|
122
122
|
// Default import (Preferred if using webpack as it is tree-shakeable by default)
|
|
123
|
-
import { DtButton } from "@dialpad/dialtone/
|
|
123
|
+
import { DtButton } from "@dialpad/dialtone/vue/lib/button"
|
|
124
124
|
```
|
|
125
125
|
|
|
126
|
-
> **Note:** Dialtone Vue 2 has been deprecated. Please migrate to Dialtone Vue
|
|
126
|
+
> **Note:** Dialtone Vue 2 has been deprecated. Please migrate to Dialtone Vue. The latest version of Dialtone that still supports Vue 2 is 9.154.0.
|
|
127
127
|
|
|
128
128
|
#### Dialtone MCP Server
|
|
129
129
|
|
|
@@ -186,7 +186,7 @@ they have the same package name e.g: `@dialpad/dialtone-vue`.
|
|
|
186
186
|
|
|
187
187
|
- Dialtone CSS
|
|
188
188
|
- Dialtone Tokens
|
|
189
|
-
- Dialtone Vue
|
|
189
|
+
- Dialtone Vue
|
|
190
190
|
|
|
191
191
|
### Tree-shaking
|
|
192
192
|
|
|
@@ -218,7 +218,7 @@ Packages expose ESM for bundlers to statically analyze and tree-shake, with CJS
|
|
|
218
218
|
Exports maps expose subpath entries so consumers can import only what they need (which aids tree-shaking and avoids
|
|
219
219
|
pulling entire bundles):
|
|
220
220
|
|
|
221
|
-
- `@dialpad/dialtone` exposes `./
|
|
221
|
+
- `@dialpad/dialtone` exposes `./vue/lib/*` map to individual component imports.
|
|
222
222
|
- `@dialpad/dialtone-vue` exposes `./lib/*` for individual component imports.
|
|
223
223
|
- `@dialpad/dialtone-icons` exposes `./vue3/*` for individual icon/illustration imports.
|
|
224
224
|
|
|
@@ -231,7 +231,7 @@ pulling entire bundles):
|
|
|
231
231
|
| [Dialtone emojis](packages/dialtone-emojis/README.md) | Emoji assets |  |
|
|
232
232
|
| [Dialtone icons](packages/dialtone-icons/README.md) | Resources needed to implement icons on your application that conform to Dialpad’s design principles and best practices |  |
|
|
233
233
|
| [Dialtone tokens](packages/dialtone-tokens/README.md) | Design tokens for Dialpad's design system Dialtone and everything related to building and publishing them |  |
|
|
234
|
-
| [Dialtone
|
|
234
|
+
| [Dialtone Vue](packages/dialtone-vue/README.md) | Vue components library to simplify and standardize the use of common UI patterns and behaviour across all Dialpad projects |  |
|
|
235
235
|
| [ESlint plugin](packages/eslint-plugin-dialtone/README.md) | ESLint plugin containing rules to help developers maintain dialtone recommended practices |  |
|
|
236
236
|
| [Stylelint plugin](packages/stylelint-plugin-dialtone/README.md) | StyleLint plugin containing rules to help developers maintain dialtone recommended practices for CSS |  |
|
|
237
237
|
|
|
@@ -349,13 +349,13 @@ This will start the documentation site and watch the library for changes, it wil
|
|
|
349
349
|
|
|
350
350
|
Access the local server at `http://localhost:4000`
|
|
351
351
|
|
|
352
|
-
##### Dialtone Vue
|
|
352
|
+
##### Dialtone Vue storybook
|
|
353
353
|
|
|
354
354
|
```bash
|
|
355
355
|
nx run dialtone-vue:start
|
|
356
356
|
```
|
|
357
357
|
|
|
358
|
-
Access the local storybook server for Dialtone Vue
|
|
358
|
+
Access the local storybook server for Dialtone Vue via `http://localhost:9011/`
|
|
359
359
|
|
|
360
360
|
#### Common Commands
|
|
361
361
|
|
|
@@ -3556,14 +3556,20 @@ legend .d-label--md {
|
|
|
3556
3556
|
margin-top: var(--dt-space-200);
|
|
3557
3557
|
}
|
|
3558
3558
|
.d-loader {
|
|
3559
|
-
display: inline-
|
|
3559
|
+
display: inline-grid;
|
|
3560
3560
|
}
|
|
3561
3561
|
.d-loader__icon {
|
|
3562
|
+
grid-area: 1 / 1;
|
|
3563
|
+
opacity: var(--dt-opacity-1000);
|
|
3562
3564
|
-webkit-animation: d-loading-circle 900ms infinite linear;
|
|
3563
3565
|
animation: d-loading-circle 900ms infinite linear;
|
|
3564
3566
|
-webkit-mask-image: conic-gradient(from 270deg, black 0deg, black 105deg, transparent 170deg, transparent 180deg, black 234deg, black 360deg);
|
|
3565
3567
|
mask-image: conic-gradient(from 270deg, black 0deg, black 105deg, transparent 170deg, transparent 180deg, black 234deg, black 360deg);
|
|
3566
3568
|
}
|
|
3569
|
+
.d-loader__icon-track {
|
|
3570
|
+
grid-area: 1 / 1;
|
|
3571
|
+
opacity: var(--dt-opacity-200);
|
|
3572
|
+
}
|
|
3567
3573
|
.d-modal {
|
|
3568
3574
|
--modal-backdrop-color-background: var(--dt-color-surface-backdrop);
|
|
3569
3575
|
--modal-dialog-padding: var(--dt-space-600);
|
|
@@ -4566,13 +4572,6 @@ legend .d-label--md {
|
|
|
4566
4572
|
padding-left: var(--dt-space-400);
|
|
4567
4573
|
border-left: var(--dt-size-border-300) solid var(--dt-color-border-subtle);
|
|
4568
4574
|
}
|
|
4569
|
-
.d-rich-text-editor > .ProseMirror table {
|
|
4570
|
-
border-collapse: collapse;
|
|
4571
|
-
}
|
|
4572
|
-
.d-rich-text-editor > .ProseMirror td {
|
|
4573
|
-
padding-left: var(--dt-space-200);
|
|
4574
|
-
border: var(--dt-size-border-100) solid var(--dt-color-foreground-primary);
|
|
4575
|
-
}
|
|
4576
4575
|
.d-rich-text-editor-bubble-menu__button-stack {
|
|
4577
4576
|
padding: var(--dt-space-300);
|
|
4578
4577
|
}
|
|
@@ -10429,6 +10428,7 @@ ul {
|
|
|
10429
10428
|
margin-bottom: auto;
|
|
10430
10429
|
}
|
|
10431
10430
|
.d-recipe-message-input__button {
|
|
10431
|
+
flex-shrink: 0;
|
|
10432
10432
|
max-width: 2.8rem;
|
|
10433
10433
|
max-height: 2.8rem;
|
|
10434
10434
|
border-radius: var(--dt-size-radius-300);
|
|
@@ -10445,6 +10445,7 @@ ul {
|
|
|
10445
10445
|
}
|
|
10446
10446
|
.d-recipe-message-input__bottom-section {
|
|
10447
10447
|
display: flex;
|
|
10448
|
+
flex-wrap: nowrap;
|
|
10448
10449
|
justify-content: space-between;
|
|
10449
10450
|
padding: var(--dt-space-300) var(--dt-space-400) var(--dt-space-400);
|
|
10450
10451
|
}
|
|
@@ -10452,6 +10453,11 @@ ul {
|
|
|
10452
10453
|
.d-recipe-message-input__bottom-section-right {
|
|
10453
10454
|
display: flex;
|
|
10454
10455
|
}
|
|
10456
|
+
.d-recipe-message-input__bottom-section-left,
|
|
10457
|
+
.d-recipe-message-input__bottom-section-left-stack {
|
|
10458
|
+
flex: 1 1 auto;
|
|
10459
|
+
min-width: var(--dt-size-0);
|
|
10460
|
+
}
|
|
10455
10461
|
.d-recipe-message-input__image-input {
|
|
10456
10462
|
position: absolute;
|
|
10457
10463
|
}
|