@dialpad/dialtone 9.63.0 → 9.64.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/dist/css/dialtone-default-theme.css +96 -17
- package/dist/css/dialtone-default-theme.min.css +1 -1
- package/dist/css/dialtone.css +84 -17
- package/dist/css/dialtone.min.css +1 -1
- package/dist/css/tokens/tokens-dp-dark.css +12 -0
- package/dist/css/tokens/tokens-dp-light.css +12 -0
- package/dist/css/tokens/tokens-expressive-dark.css +12 -0
- package/dist/css/tokens/tokens-expressive-light.css +12 -0
- package/dist/css/tokens/tokens-expressive-sm-dark.css +12 -0
- package/dist/css/tokens/tokens-expressive-sm-light.css +12 -0
- package/dist/css/tokens/tokens-tmo-dark.css +12 -0
- package/dist/css/tokens/tokens-tmo-light.css +12 -0
- package/dist/themes/dp-dark.cjs +1 -1
- package/dist/themes/dp-dark.js +1 -1
- package/dist/themes/dp-light.cjs +1 -1
- package/dist/themes/dp-light.js +1 -1
- package/dist/themes/expressive-dark.cjs +1 -1
- package/dist/themes/expressive-dark.js +1 -1
- package/dist/themes/expressive-light.cjs +1 -1
- package/dist/themes/expressive-light.js +1 -1
- package/dist/themes/expressive-sm-dark.cjs +1 -1
- package/dist/themes/expressive-sm-dark.js +1 -1
- package/dist/themes/expressive-sm-light.cjs +1 -1
- package/dist/themes/expressive-sm-light.js +1 -1
- package/dist/themes/tmo-dark.cjs +1 -1
- package/dist/themes/tmo-dark.js +1 -1
- package/dist/themes/tmo-light.cjs +1 -1
- package/dist/themes/tmo-light.js +1 -1
- package/dist/tokens/css/tokens-dp-dark.css +12 -0
- package/dist/tokens/css/tokens-dp-light.css +12 -0
- package/dist/tokens/css/tokens-expressive-dark.css +12 -0
- package/dist/tokens/css/tokens-expressive-light.css +12 -0
- package/dist/tokens/css/tokens-expressive-sm-dark.css +12 -0
- package/dist/tokens/css/tokens-expressive-sm-light.css +12 -0
- package/dist/tokens/css/tokens-tmo-dark.css +12 -0
- package/dist/tokens/css/tokens-tmo-light.css +12 -0
- package/dist/tokens/doc.json +8274 -7922
- package/dist/tokens/less/tokens-dp-dark.less +2 -0
- package/dist/tokens/less/tokens-dp-light.less +2 -0
- package/dist/tokens/less/tokens-expressive-dark.less +2 -0
- package/dist/tokens/less/tokens-expressive-light.less +2 -0
- package/dist/tokens/less/tokens-expressive-sm-dark.less +2 -0
- package/dist/tokens/less/tokens-expressive-sm-light.less +2 -0
- package/dist/tokens/less/tokens-tmo-dark.less +2 -0
- package/dist/tokens/less/tokens-tmo-light.less +2 -0
- package/dist/tokens/tokens-dp-dark.json +2 -0
- package/dist/tokens/tokens-dp-light.json +2 -0
- package/dist/tokens/tokens-expressive-dark.json +2 -0
- package/dist/tokens/tokens-expressive-light.json +2 -0
- package/dist/tokens/tokens-expressive-sm-dark.json +2 -0
- package/dist/tokens/tokens-expressive-sm-light.json +2 -0
- package/dist/tokens/tokens-tmo-dark.json +2 -0
- package/dist/tokens/tokens-tmo-light.json +2 -0
- package/dist/vue2/component-documentation.json +1 -1
- package/dist/vue2/dialtone-vue.cjs +3 -0
- package/dist/vue2/dialtone-vue.cjs.map +1 -1
- package/dist/vue2/dialtone-vue.js +3 -0
- package/dist/vue2/dialtone-vue.js.map +1 -1
- package/dist/vue2/lib/button.cjs +2 -8
- package/dist/vue2/lib/button.cjs.map +1 -1
- package/dist/vue2/lib/button.js +2 -8
- package/dist/vue2/lib/button.js.map +1 -1
- package/dist/vue2/lib/general-row.cjs +2 -2
- package/dist/vue2/lib/general-row.cjs.map +1 -1
- package/dist/vue2/lib/general-row.js +2 -2
- package/dist/vue2/lib/general-row.js.map +1 -1
- package/dist/vue2/lib/rich-text-editor.cjs +1 -9
- package/dist/vue2/lib/rich-text-editor.cjs.map +1 -1
- package/dist/vue2/lib/rich-text-editor.js +1 -9
- package/dist/vue2/lib/rich-text-editor.js.map +1 -1
- package/dist/vue2/lib/split-button.cjs +512 -0
- package/dist/vue2/lib/split-button.cjs.map +1 -0
- package/dist/vue2/lib/split-button.js +512 -0
- package/dist/vue2/lib/split-button.js.map +1 -0
- package/dist/vue2/style.css +65 -65
- package/dist/vue2/types/components/button/button.vue.d.ts +2 -14
- package/dist/vue2/types/components/button/button.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
- package/dist/vue2/types/components/split_button/index.d.ts +3 -0
- package/dist/vue2/types/components/split_button/index.d.ts.map +1 -0
- package/dist/vue2/types/components/split_button/split_button-alpha.vue.d.ts +183 -0
- package/dist/vue2/types/components/split_button/split_button-alpha.vue.d.ts.map +1 -0
- package/dist/vue2/types/components/split_button/split_button-omega.vue.d.ts +136 -0
- package/dist/vue2/types/components/split_button/split_button-omega.vue.d.ts.map +1 -0
- package/dist/vue2/types/components/split_button/split_button.vue.d.ts +347 -0
- package/dist/vue2/types/components/split_button/split_button.vue.d.ts.map +1 -0
- package/dist/vue2/types/components/split_button/split_button_constants.d.ts +12 -0
- package/dist/vue2/types/components/split_button/split_button_constants.d.ts.map +1 -0
- package/dist/vue2/types/index.d.ts +1 -0
- package/dist/vue2/types/recipes/leftbar/general_row/general_row.vue.d.ts +1 -1
- package/dist/vue3/component-documentation.json +1 -1
- package/dist/vue3/dialtone-vue.cjs +3 -0
- package/dist/vue3/dialtone-vue.cjs.map +1 -1
- package/dist/vue3/dialtone-vue.js +3 -0
- package/dist/vue3/dialtone-vue.js.map +1 -1
- package/dist/vue3/lib/button.cjs +3 -9
- package/dist/vue3/lib/button.cjs.map +1 -1
- package/dist/vue3/lib/button.js +3 -9
- package/dist/vue3/lib/button.js.map +1 -1
- package/dist/vue3/lib/general-row.cjs +3 -3
- package/dist/vue3/lib/general-row.cjs.map +1 -1
- package/dist/vue3/lib/general-row.js +3 -3
- package/dist/vue3/lib/general-row.js.map +1 -1
- package/dist/vue3/lib/rich-text-editor.cjs +1 -9
- package/dist/vue3/lib/rich-text-editor.cjs.map +1 -1
- package/dist/vue3/lib/rich-text-editor.js +1 -9
- package/dist/vue3/lib/rich-text-editor.js.map +1 -1
- package/dist/vue3/lib/split-button.cjs +544 -0
- package/dist/vue3/lib/split-button.cjs.map +1 -0
- package/dist/vue3/lib/split-button.js +544 -0
- package/dist/vue3/lib/split-button.js.map +1 -0
- package/dist/vue3/style.css +65 -65
- package/dist/vue3/types/components/button/button.vue.d.ts +4 -16
- package/dist/vue3/types/components/button/button.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/rich_text_editor/rich_text_editor.vue.d.ts.map +1 -1
- package/dist/vue3/types/components/split_button/index.d.ts +3 -0
- package/dist/vue3/types/components/split_button/index.d.ts.map +1 -0
- package/dist/vue3/types/components/split_button/split_button-alpha.vue.d.ts +183 -0
- package/dist/vue3/types/components/split_button/split_button-alpha.vue.d.ts.map +1 -0
- package/dist/vue3/types/components/split_button/split_button-omega.vue.d.ts +136 -0
- package/dist/vue3/types/components/split_button/split_button-omega.vue.d.ts.map +1 -0
- package/dist/vue3/types/components/split_button/split_button.vue.d.ts +348 -0
- package/dist/vue3/types/components/split_button/split_button.vue.d.ts.map +1 -0
- package/dist/vue3/types/components/split_button/split_button_constants.d.ts +12 -0
- package/dist/vue3/types/components/split_button/split_button_constants.d.ts.map +1 -0
- package/dist/vue3/types/index.d.ts +1 -0
- package/dist/vue3/types/recipes/leftbar/general_row/general_row.vue.d.ts +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
/**
|
|
3
|
+
* Determines whether the button should have active styling
|
|
4
|
+
*/
|
|
5
|
+
active: {
|
|
6
|
+
type: BooleanConstructor;
|
|
7
|
+
default: boolean;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* Descriptive label for the button
|
|
11
|
+
*/
|
|
12
|
+
ariaLabel: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: null;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* HTML button disabled attribute
|
|
18
|
+
*/
|
|
19
|
+
disabled: {
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Element ID, useful in case you need to reference the button
|
|
25
|
+
* as an external anchor for popover
|
|
26
|
+
*/
|
|
27
|
+
id: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* The fill and outline of the button associated with its visual importance.
|
|
33
|
+
*/
|
|
34
|
+
importance: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* The color of the button.
|
|
40
|
+
*/
|
|
41
|
+
kind: {
|
|
42
|
+
type: StringConstructor;
|
|
43
|
+
default: string;
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* The size of the button.
|
|
47
|
+
*/
|
|
48
|
+
size: {
|
|
49
|
+
type: StringConstructor;
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* Text shown in tooltip when you hover the button
|
|
54
|
+
*/
|
|
55
|
+
tooltipText: {
|
|
56
|
+
type: StringConstructor;
|
|
57
|
+
default: string;
|
|
58
|
+
};
|
|
59
|
+
}, any, {
|
|
60
|
+
SPLIT_BUTTON_ICON_SIZES: {
|
|
61
|
+
xs: string;
|
|
62
|
+
sm: string;
|
|
63
|
+
md: string;
|
|
64
|
+
lg: string;
|
|
65
|
+
xl: string;
|
|
66
|
+
};
|
|
67
|
+
}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
68
|
+
/**
|
|
69
|
+
* Determines whether the button should have active styling
|
|
70
|
+
*/
|
|
71
|
+
active: {
|
|
72
|
+
type: BooleanConstructor;
|
|
73
|
+
default: boolean;
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* Descriptive label for the button
|
|
77
|
+
*/
|
|
78
|
+
ariaLabel: {
|
|
79
|
+
type: StringConstructor;
|
|
80
|
+
default: null;
|
|
81
|
+
};
|
|
82
|
+
/**
|
|
83
|
+
* HTML button disabled attribute
|
|
84
|
+
*/
|
|
85
|
+
disabled: {
|
|
86
|
+
type: BooleanConstructor;
|
|
87
|
+
default: boolean;
|
|
88
|
+
};
|
|
89
|
+
/**
|
|
90
|
+
* Element ID, useful in case you need to reference the button
|
|
91
|
+
* as an external anchor for popover
|
|
92
|
+
*/
|
|
93
|
+
id: {
|
|
94
|
+
type: StringConstructor;
|
|
95
|
+
default: string;
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* The fill and outline of the button associated with its visual importance.
|
|
99
|
+
*/
|
|
100
|
+
importance: {
|
|
101
|
+
type: StringConstructor;
|
|
102
|
+
default: string;
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
* The color of the button.
|
|
106
|
+
*/
|
|
107
|
+
kind: {
|
|
108
|
+
type: StringConstructor;
|
|
109
|
+
default: string;
|
|
110
|
+
};
|
|
111
|
+
/**
|
|
112
|
+
* The size of the button.
|
|
113
|
+
*/
|
|
114
|
+
size: {
|
|
115
|
+
type: StringConstructor;
|
|
116
|
+
default: string;
|
|
117
|
+
};
|
|
118
|
+
/**
|
|
119
|
+
* Text shown in tooltip when you hover the button
|
|
120
|
+
*/
|
|
121
|
+
tooltipText: {
|
|
122
|
+
type: StringConstructor;
|
|
123
|
+
default: string;
|
|
124
|
+
};
|
|
125
|
+
}>>, {
|
|
126
|
+
active: boolean;
|
|
127
|
+
size: string;
|
|
128
|
+
ariaLabel: string;
|
|
129
|
+
id: string;
|
|
130
|
+
kind: string;
|
|
131
|
+
importance: string;
|
|
132
|
+
disabled: boolean;
|
|
133
|
+
tooltipText: string;
|
|
134
|
+
}, {}>;
|
|
135
|
+
export default _default;
|
|
136
|
+
//# sourceMappingURL=split_button-omega.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"split_button-omega.vue.d.ts","sourceRoot":"","sources":["../../../../components/split_button/split_button-omega.vue.js"],"names":[],"mappings":";IAeI;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;;;;;;;;;;IA3DH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG;;;;;IAMH;;OAEG"}
|
|
@@ -0,0 +1,348 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
/**
|
|
3
|
+
* Determines whether the alpha button should have active styling
|
|
4
|
+
* @values true, false
|
|
5
|
+
*/
|
|
6
|
+
alphaActive: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Descriptive label for the alpha button
|
|
12
|
+
*/
|
|
13
|
+
alphaAriaLabel: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: null;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* The position of the icon slot within the alpha button.
|
|
19
|
+
* @values left, right, top, bottom
|
|
20
|
+
*/
|
|
21
|
+
alphaIconPosition: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
default: string;
|
|
24
|
+
validator: (position: unknown) => boolean;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Used to customize the alpha label container
|
|
28
|
+
*/
|
|
29
|
+
alphaLabelClass: {
|
|
30
|
+
type: (ObjectConstructor | ArrayConstructor | StringConstructor)[];
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Whether the alpha button should display a loading animation or not.
|
|
35
|
+
* @values true, false
|
|
36
|
+
*/
|
|
37
|
+
alphaLoading: {
|
|
38
|
+
type: BooleanConstructor;
|
|
39
|
+
default: boolean;
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Text shown in tooltip when you hover the alpha button,
|
|
43
|
+
* required if no content is passed to default slot
|
|
44
|
+
*/
|
|
45
|
+
alphaTooltipText: {
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
default: undefined;
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* Determines whether a screenreader reads live updates of
|
|
51
|
+
* the button content to the user while the button
|
|
52
|
+
* is in focus.
|
|
53
|
+
* @values true, false
|
|
54
|
+
*/
|
|
55
|
+
assertiveOnFocus: {
|
|
56
|
+
type: BooleanConstructor;
|
|
57
|
+
default: boolean;
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* HTML button disabled attribute
|
|
61
|
+
* <a class="d-link" href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#disabled" target="_blank">
|
|
62
|
+
* (Reference)
|
|
63
|
+
* </a>
|
|
64
|
+
* @values true, false
|
|
65
|
+
*/
|
|
66
|
+
disabled: {
|
|
67
|
+
type: BooleanConstructor;
|
|
68
|
+
default: boolean;
|
|
69
|
+
};
|
|
70
|
+
/**
|
|
71
|
+
* The direction the dropdown displays relative to the anchor.
|
|
72
|
+
* @values top, top-start, top-end, right, right-start, right-end, left, left-start, left-end, bottom, bottom-start, bottom-end, auto, auto-start, auto-end
|
|
73
|
+
*/
|
|
74
|
+
dropdownPlacement: {
|
|
75
|
+
type: StringConstructor;
|
|
76
|
+
default: string;
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* The fill and outline of the button associated with its visual importance.
|
|
80
|
+
* @values clear, outlined, primary
|
|
81
|
+
*/
|
|
82
|
+
importance: {
|
|
83
|
+
type: StringConstructor;
|
|
84
|
+
default: string;
|
|
85
|
+
validator: (i: unknown) => boolean;
|
|
86
|
+
};
|
|
87
|
+
/**
|
|
88
|
+
* The color of the button.
|
|
89
|
+
* @values default, muted, danger, inverted
|
|
90
|
+
*/
|
|
91
|
+
kind: {
|
|
92
|
+
type: StringConstructor;
|
|
93
|
+
default: string;
|
|
94
|
+
validator: (k: unknown) => boolean;
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* Determines whether the omega button should have active styling
|
|
98
|
+
* @values true, false
|
|
99
|
+
*/
|
|
100
|
+
omegaActive: {
|
|
101
|
+
type: BooleanConstructor;
|
|
102
|
+
default: boolean;
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
* Descriptive label for the omega button
|
|
106
|
+
*/
|
|
107
|
+
omegaAriaLabel: {
|
|
108
|
+
type: StringConstructor;
|
|
109
|
+
default: null;
|
|
110
|
+
};
|
|
111
|
+
/**
|
|
112
|
+
* Element ID, useful in case you need to reference the button
|
|
113
|
+
* as an external anchor for popover.
|
|
114
|
+
*/
|
|
115
|
+
omegaId: {
|
|
116
|
+
type: StringConstructor;
|
|
117
|
+
default: undefined;
|
|
118
|
+
};
|
|
119
|
+
/**
|
|
120
|
+
* Text shown in tooltip when you hover the omega button,
|
|
121
|
+
* required as it is an icon only button
|
|
122
|
+
*/
|
|
123
|
+
omegaTooltipText: {
|
|
124
|
+
type: StringConstructor;
|
|
125
|
+
default: undefined;
|
|
126
|
+
};
|
|
127
|
+
/**
|
|
128
|
+
* The size of the button.
|
|
129
|
+
* @values xs, sm, md, lg, xl
|
|
130
|
+
*/
|
|
131
|
+
size: {
|
|
132
|
+
type: StringConstructor;
|
|
133
|
+
default: string;
|
|
134
|
+
validator: (s: unknown) => boolean;
|
|
135
|
+
};
|
|
136
|
+
/**
|
|
137
|
+
* Button width, accepts
|
|
138
|
+
* <a class="d-link" href="https://developer.mozilla.org/en-US/docs/Web/CSS/width" target="_blank">
|
|
139
|
+
* CSS width attribute
|
|
140
|
+
* </a>
|
|
141
|
+
* values
|
|
142
|
+
*/
|
|
143
|
+
width: {
|
|
144
|
+
type: StringConstructor;
|
|
145
|
+
default: null;
|
|
146
|
+
};
|
|
147
|
+
}, any, {
|
|
148
|
+
isDropdownOpen: boolean;
|
|
149
|
+
}, {
|
|
150
|
+
alphaButtonProps(): {
|
|
151
|
+
active: boolean;
|
|
152
|
+
ariaLabel: string;
|
|
153
|
+
assertiveOnFocus: boolean;
|
|
154
|
+
disabled: boolean;
|
|
155
|
+
iconPosition: string;
|
|
156
|
+
labelClass: string | Record<string, any> | unknown[];
|
|
157
|
+
loading: boolean;
|
|
158
|
+
importance: string;
|
|
159
|
+
kind: string;
|
|
160
|
+
size: string;
|
|
161
|
+
tooltipText: string | undefined;
|
|
162
|
+
class: unknown;
|
|
163
|
+
};
|
|
164
|
+
omegaButtonProps(): {
|
|
165
|
+
id: string | undefined;
|
|
166
|
+
active: boolean;
|
|
167
|
+
ariaLabel: string;
|
|
168
|
+
disabled: boolean;
|
|
169
|
+
importance: string;
|
|
170
|
+
kind: string;
|
|
171
|
+
size: string;
|
|
172
|
+
tooltipText: string | undefined;
|
|
173
|
+
class: unknown;
|
|
174
|
+
};
|
|
175
|
+
}, {
|
|
176
|
+
validateProps(): void;
|
|
177
|
+
validateAlphaButtonProps(): void;
|
|
178
|
+
validateOmegaButtonProps(): void;
|
|
179
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("alpha-clicked" | "omega-clicked")[], "alpha-clicked" | "omega-clicked", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
180
|
+
/**
|
|
181
|
+
* Determines whether the alpha button should have active styling
|
|
182
|
+
* @values true, false
|
|
183
|
+
*/
|
|
184
|
+
alphaActive: {
|
|
185
|
+
type: BooleanConstructor;
|
|
186
|
+
default: boolean;
|
|
187
|
+
};
|
|
188
|
+
/**
|
|
189
|
+
* Descriptive label for the alpha button
|
|
190
|
+
*/
|
|
191
|
+
alphaAriaLabel: {
|
|
192
|
+
type: StringConstructor;
|
|
193
|
+
default: null;
|
|
194
|
+
};
|
|
195
|
+
/**
|
|
196
|
+
* The position of the icon slot within the alpha button.
|
|
197
|
+
* @values left, right, top, bottom
|
|
198
|
+
*/
|
|
199
|
+
alphaIconPosition: {
|
|
200
|
+
type: StringConstructor;
|
|
201
|
+
default: string;
|
|
202
|
+
validator: (position: unknown) => boolean;
|
|
203
|
+
};
|
|
204
|
+
/**
|
|
205
|
+
* Used to customize the alpha label container
|
|
206
|
+
*/
|
|
207
|
+
alphaLabelClass: {
|
|
208
|
+
type: (ObjectConstructor | ArrayConstructor | StringConstructor)[];
|
|
209
|
+
default: string;
|
|
210
|
+
};
|
|
211
|
+
/**
|
|
212
|
+
* Whether the alpha button should display a loading animation or not.
|
|
213
|
+
* @values true, false
|
|
214
|
+
*/
|
|
215
|
+
alphaLoading: {
|
|
216
|
+
type: BooleanConstructor;
|
|
217
|
+
default: boolean;
|
|
218
|
+
};
|
|
219
|
+
/**
|
|
220
|
+
* Text shown in tooltip when you hover the alpha button,
|
|
221
|
+
* required if no content is passed to default slot
|
|
222
|
+
*/
|
|
223
|
+
alphaTooltipText: {
|
|
224
|
+
type: StringConstructor;
|
|
225
|
+
default: undefined;
|
|
226
|
+
};
|
|
227
|
+
/**
|
|
228
|
+
* Determines whether a screenreader reads live updates of
|
|
229
|
+
* the button content to the user while the button
|
|
230
|
+
* is in focus.
|
|
231
|
+
* @values true, false
|
|
232
|
+
*/
|
|
233
|
+
assertiveOnFocus: {
|
|
234
|
+
type: BooleanConstructor;
|
|
235
|
+
default: boolean;
|
|
236
|
+
};
|
|
237
|
+
/**
|
|
238
|
+
* HTML button disabled attribute
|
|
239
|
+
* <a class="d-link" href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#disabled" target="_blank">
|
|
240
|
+
* (Reference)
|
|
241
|
+
* </a>
|
|
242
|
+
* @values true, false
|
|
243
|
+
*/
|
|
244
|
+
disabled: {
|
|
245
|
+
type: BooleanConstructor;
|
|
246
|
+
default: boolean;
|
|
247
|
+
};
|
|
248
|
+
/**
|
|
249
|
+
* The direction the dropdown displays relative to the anchor.
|
|
250
|
+
* @values top, top-start, top-end, right, right-start, right-end, left, left-start, left-end, bottom, bottom-start, bottom-end, auto, auto-start, auto-end
|
|
251
|
+
*/
|
|
252
|
+
dropdownPlacement: {
|
|
253
|
+
type: StringConstructor;
|
|
254
|
+
default: string;
|
|
255
|
+
};
|
|
256
|
+
/**
|
|
257
|
+
* The fill and outline of the button associated with its visual importance.
|
|
258
|
+
* @values clear, outlined, primary
|
|
259
|
+
*/
|
|
260
|
+
importance: {
|
|
261
|
+
type: StringConstructor;
|
|
262
|
+
default: string;
|
|
263
|
+
validator: (i: unknown) => boolean;
|
|
264
|
+
};
|
|
265
|
+
/**
|
|
266
|
+
* The color of the button.
|
|
267
|
+
* @values default, muted, danger, inverted
|
|
268
|
+
*/
|
|
269
|
+
kind: {
|
|
270
|
+
type: StringConstructor;
|
|
271
|
+
default: string;
|
|
272
|
+
validator: (k: unknown) => boolean;
|
|
273
|
+
};
|
|
274
|
+
/**
|
|
275
|
+
* Determines whether the omega button should have active styling
|
|
276
|
+
* @values true, false
|
|
277
|
+
*/
|
|
278
|
+
omegaActive: {
|
|
279
|
+
type: BooleanConstructor;
|
|
280
|
+
default: boolean;
|
|
281
|
+
};
|
|
282
|
+
/**
|
|
283
|
+
* Descriptive label for the omega button
|
|
284
|
+
*/
|
|
285
|
+
omegaAriaLabel: {
|
|
286
|
+
type: StringConstructor;
|
|
287
|
+
default: null;
|
|
288
|
+
};
|
|
289
|
+
/**
|
|
290
|
+
* Element ID, useful in case you need to reference the button
|
|
291
|
+
* as an external anchor for popover.
|
|
292
|
+
*/
|
|
293
|
+
omegaId: {
|
|
294
|
+
type: StringConstructor;
|
|
295
|
+
default: undefined;
|
|
296
|
+
};
|
|
297
|
+
/**
|
|
298
|
+
* Text shown in tooltip when you hover the omega button,
|
|
299
|
+
* required as it is an icon only button
|
|
300
|
+
*/
|
|
301
|
+
omegaTooltipText: {
|
|
302
|
+
type: StringConstructor;
|
|
303
|
+
default: undefined;
|
|
304
|
+
};
|
|
305
|
+
/**
|
|
306
|
+
* The size of the button.
|
|
307
|
+
* @values xs, sm, md, lg, xl
|
|
308
|
+
*/
|
|
309
|
+
size: {
|
|
310
|
+
type: StringConstructor;
|
|
311
|
+
default: string;
|
|
312
|
+
validator: (s: unknown) => boolean;
|
|
313
|
+
};
|
|
314
|
+
/**
|
|
315
|
+
* Button width, accepts
|
|
316
|
+
* <a class="d-link" href="https://developer.mozilla.org/en-US/docs/Web/CSS/width" target="_blank">
|
|
317
|
+
* CSS width attribute
|
|
318
|
+
* </a>
|
|
319
|
+
* values
|
|
320
|
+
*/
|
|
321
|
+
width: {
|
|
322
|
+
type: StringConstructor;
|
|
323
|
+
default: null;
|
|
324
|
+
};
|
|
325
|
+
}>> & {
|
|
326
|
+
"onAlpha-clicked"?: ((...args: any[]) => any) | undefined;
|
|
327
|
+
"onOmega-clicked"?: ((...args: any[]) => any) | undefined;
|
|
328
|
+
}, {
|
|
329
|
+
size: string;
|
|
330
|
+
kind: string;
|
|
331
|
+
importance: string;
|
|
332
|
+
disabled: boolean;
|
|
333
|
+
width: string;
|
|
334
|
+
assertiveOnFocus: boolean;
|
|
335
|
+
alphaActive: boolean;
|
|
336
|
+
alphaAriaLabel: string;
|
|
337
|
+
alphaIconPosition: string;
|
|
338
|
+
alphaLabelClass: string | Record<string, any> | unknown[];
|
|
339
|
+
alphaLoading: boolean;
|
|
340
|
+
alphaTooltipText: string;
|
|
341
|
+
dropdownPlacement: string;
|
|
342
|
+
omegaActive: boolean;
|
|
343
|
+
omegaAriaLabel: string;
|
|
344
|
+
omegaId: string;
|
|
345
|
+
omegaTooltipText: string;
|
|
346
|
+
}, {}>;
|
|
347
|
+
export default _default;
|
|
348
|
+
//# sourceMappingURL=split_button.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"split_button.vue.d.ts","sourceRoot":"","sources":["../../../../components/split_button/split_button.vue.js"],"names":[],"mappings":";IAyBI;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;;IAOH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;;;;OAKG;;;;;IAMH;;;;;;OAMG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;;IAOH;;;OAGG;;;;;;IAOH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;;IAOH;;;;;;OAMG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA5JH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;;IAOH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;;;;OAKG;;;;;IAMH;;;;;;OAMG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;;IAOH;;;OAGG;;;;;;IAOH;;;OAGG;;;;;IAMH;;OAEG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;IAMH;;;OAGG;;;;;;IAOH;;;;;;OAMG"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export namespace SPLIT_BUTTON_ICON_SIZES {
|
|
2
|
+
let xs: string;
|
|
3
|
+
let sm: string;
|
|
4
|
+
let md: string;
|
|
5
|
+
let lg: string;
|
|
6
|
+
let xl: string;
|
|
7
|
+
}
|
|
8
|
+
declare namespace _default {
|
|
9
|
+
export { SPLIT_BUTTON_ICON_SIZES };
|
|
10
|
+
}
|
|
11
|
+
export default _default;
|
|
12
|
+
//# sourceMappingURL=split_button_constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"split_button_constants.d.ts","sourceRoot":"","sources":["../../../../components/split_button/split_button_constants.js"],"names":[],"mappings":""}
|
|
@@ -45,6 +45,7 @@ export * from "./components/root_layout";
|
|
|
45
45
|
export * from "./components/scroller";
|
|
46
46
|
export * from "./components/select_menu";
|
|
47
47
|
export * from "./components/skeleton";
|
|
48
|
+
export * from "./components/split_button";
|
|
48
49
|
export * from "./components/stack";
|
|
49
50
|
export * from "./components/tabs";
|
|
50
51
|
export * from "./components/toast";
|
|
@@ -158,7 +158,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
158
158
|
shouldApplyCustomStyleForCountBadge(): boolean;
|
|
159
159
|
/**
|
|
160
160
|
* When a channel in 'always' setting, meaning the user should see both unread count and unread mention count,
|
|
161
|
-
* if there are only mention messages, we should apply the
|
|
161
|
+
* if there are only mention messages, we should apply the theme design tokens var(--dt-theme-mention-color-[background||foreground]-strong).
|
|
162
162
|
* @returns {boolean}
|
|
163
163
|
*/
|
|
164
164
|
shouldApplyCustomStyleForMentionOnly(): boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dialpad/dialtone",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.64.0",
|
|
4
4
|
"description": "Dialpad's Dialtone design system monorepo",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"tippy.js": "6.3.7",
|
|
72
72
|
"@dialpad/dialtone-emojis": "1.0.7",
|
|
73
73
|
"@dialpad/dialtone-icons": "4.26.1",
|
|
74
|
-
"@dialpad/dialtone-tokens": "1.
|
|
74
|
+
"@dialpad/dialtone-tokens": "1.34.0"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
77
|
"@commitlint/cli": "^18.4.3",
|