xv-webcomponents 0.1.27 → 0.1.29
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/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{xv-accordion-v2_27.cjs.entry.js → xv-accordion-v2_28.cjs.entry.js} +109 -21
- package/dist/cjs/xv-accordion-v2_28.cjs.entry.js.map +1 -0
- package/dist/cjs/xv-webcomponents.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/xv-button/xv-button.js +34 -8
- package/dist/collection/components/xv-button/xv-button.js.map +1 -1
- package/dist/collection/components/xv-checkbox/xv-checkbox.css +1 -1
- package/dist/collection/components/xv-dropdown/_vars.js +1 -1
- package/dist/collection/components/xv-dropdown/_vars.js.map +1 -1
- package/dist/collection/components/xv-dropdown/xv-dropdown-item/xv-dropdown-item.js +8 -6
- package/dist/collection/components/xv-dropdown/xv-dropdown-item/xv-dropdown-item.js.map +1 -1
- package/dist/collection/components/xv-dropdown/xv-dropdown.js +61 -7
- package/dist/collection/components/xv-dropdown/xv-dropdown.js.map +1 -1
- package/dist/collection/components/xv-table/xv-table-col/xv-table-col.css +4 -3
- package/dist/collection/components/xv-table/xv-table-header-row/xv-table-header-row.css +4 -0
- package/dist/collection/components/xv-table/xv-table-row/xv-table-row.css +2 -0
- package/dist/collection/components/xv-text-input/_vars.js +7 -0
- package/dist/collection/components/xv-text-input/_vars.js.map +1 -0
- package/dist/collection/components/xv-text-input/xv-text-input.css +122 -0
- package/dist/collection/components/xv-text-input/xv-text-input.js +248 -0
- package/dist/collection/components/xv-text-input/xv-text-input.js.map +1 -0
- package/dist/collection/components/xv-tooltip/xv-tooltip.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{xv-accordion-v2_27.entry.js → xv-accordion-v2_28.entry.js} +109 -22
- package/dist/esm/xv-accordion-v2_28.entry.js.map +1 -0
- package/dist/esm/xv-webcomponents.js +1 -1
- package/dist/types/components/xv-button/xv-button.d.ts +3 -1
- package/dist/types/components/xv-dropdown/_vars.d.ts +1 -0
- package/dist/types/components/xv-dropdown/xv-dropdown-item/xv-dropdown-item.d.ts +1 -0
- package/dist/types/components/xv-dropdown/xv-dropdown.d.ts +4 -0
- package/dist/types/components/xv-text-input/_vars.d.ts +5 -0
- package/dist/types/components/xv-text-input/xv-text-input.d.ts +24 -0
- package/dist/types/components.d.ts +73 -2
- package/dist/xv-webcomponents/p-cc83f7ea.entry.js +2 -0
- package/dist/xv-webcomponents/p-cc83f7ea.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-webcomponents.esm.js +1 -1
- package/dist/xv-webcomponents/xv-webcomponents.esm.js.map +1 -1
- package/package.json +1 -1
- package/dist/cjs/xv-accordion-v2_27.cjs.entry.js.map +0 -1
- package/dist/esm/xv-accordion-v2_27.entry.js.map +0 -1
- package/dist/xv-webcomponents/p-2cadc37a.entry.js +0 -2
- package/dist/xv-webcomponents/p-2cadc37a.entry.js.map +0 -1
|
@@ -12,6 +12,7 @@ import { OverflowMenuEvent, OverflowMenuVariant } from "./components/xv-overflow
|
|
|
12
12
|
import { PROGRESS_ITEM_STATUS, PROGRESS_VARIANTS } from "./components/xv-progress-indicator/_vars";
|
|
13
13
|
import { SORT_DIR, TABLE_COLOR_SCHEMA, TABLE_SIZE, TableSelectionEventData, TableSortData } from "./components/xv-table/defs";
|
|
14
14
|
import { TABS_VATIANT } from "./components/xv-tabs/_vars";
|
|
15
|
+
import { TextInputStatus } from "./components/xv-text-input/_vars";
|
|
15
16
|
export { SIZE_VAR } from "./types/enum";
|
|
16
17
|
export { DropdownItemData } from "./components/xv-dropdown/_vars";
|
|
17
18
|
export { NOTIFICATION_VARIANTS } from "./components/xv-notification/_vars";
|
|
@@ -19,6 +20,7 @@ export { OverflowMenuEvent, OverflowMenuVariant } from "./components/xv-overflow
|
|
|
19
20
|
export { PROGRESS_ITEM_STATUS, PROGRESS_VARIANTS } from "./components/xv-progress-indicator/_vars";
|
|
20
21
|
export { SORT_DIR, TABLE_COLOR_SCHEMA, TABLE_SIZE, TableSelectionEventData, TableSortData } from "./components/xv-table/defs";
|
|
21
22
|
export { TABS_VATIANT } from "./components/xv-tabs/_vars";
|
|
23
|
+
export { TextInputStatus } from "./components/xv-text-input/_vars";
|
|
22
24
|
export namespace Components {
|
|
23
25
|
interface XvAccordionV2 {
|
|
24
26
|
"multiple": boolean;
|
|
@@ -50,6 +52,10 @@ export namespace Components {
|
|
|
50
52
|
* Button label
|
|
51
53
|
*/
|
|
52
54
|
"label": string;
|
|
55
|
+
/**
|
|
56
|
+
* Button type
|
|
57
|
+
*/
|
|
58
|
+
"type": 'button' | 'reset' | 'submit';
|
|
53
59
|
/**
|
|
54
60
|
* Variant
|
|
55
61
|
*/
|
|
@@ -103,6 +109,11 @@ export namespace Components {
|
|
|
103
109
|
"value": string;
|
|
104
110
|
}
|
|
105
111
|
interface XvDropdownV2 {
|
|
112
|
+
"defaultValue"?: DropdownItemData['value'];
|
|
113
|
+
/**
|
|
114
|
+
* @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
|
|
115
|
+
*/
|
|
116
|
+
"default-value"?: DropdownItemData['value'];
|
|
106
117
|
"disabled"?: boolean;
|
|
107
118
|
"error"?: string;
|
|
108
119
|
"helper"?: string;
|
|
@@ -321,6 +332,22 @@ export namespace Components {
|
|
|
321
332
|
"disabled": boolean;
|
|
322
333
|
"size": 'sm' | 'md' | 'lg';
|
|
323
334
|
}
|
|
335
|
+
/**
|
|
336
|
+
* xv-text-input — custom input
|
|
337
|
+
* ti get data you can use default Input event
|
|
338
|
+
* Angular - (input), React - (onInput), Pure - addEventListener('input', e => ...)
|
|
339
|
+
*/
|
|
340
|
+
interface XvTextInputV2 {
|
|
341
|
+
"disabled": boolean;
|
|
342
|
+
"helper": string;
|
|
343
|
+
"label"?: string;
|
|
344
|
+
"name"?: string;
|
|
345
|
+
"placeholder"?: string;
|
|
346
|
+
"readonly": boolean;
|
|
347
|
+
"size": SIZE_VAR;
|
|
348
|
+
"status": TextInputStatus;
|
|
349
|
+
"value": string;
|
|
350
|
+
}
|
|
324
351
|
interface XvTooltipV2 {
|
|
325
352
|
/**
|
|
326
353
|
* Message what will be shown for tooltip *
|
|
@@ -442,7 +469,7 @@ declare global {
|
|
|
442
469
|
new (): HTMLXvBreadcrumbsV2Element;
|
|
443
470
|
};
|
|
444
471
|
interface HTMLXvButtonV2ElementEventMap {
|
|
445
|
-
"buttonClick":
|
|
472
|
+
"buttonClick": MouseEvent;
|
|
446
473
|
}
|
|
447
474
|
interface HTMLXvButtonV2Element extends Components.XvButtonV2, HTMLStencilElement {
|
|
448
475
|
addEventListener<K extends keyof HTMLXvButtonV2ElementEventMap>(type: K, listener: (this: HTMLXvButtonV2Element, ev: XvButtonV2CustomEvent<HTMLXvButtonV2ElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -760,6 +787,17 @@ declare global {
|
|
|
760
787
|
prototype: HTMLXvTagV2Element;
|
|
761
788
|
new (): HTMLXvTagV2Element;
|
|
762
789
|
};
|
|
790
|
+
/**
|
|
791
|
+
* xv-text-input — custom input
|
|
792
|
+
* ti get data you can use default Input event
|
|
793
|
+
* Angular - (input), React - (onInput), Pure - addEventListener('input', e => ...)
|
|
794
|
+
*/
|
|
795
|
+
interface HTMLXvTextInputV2Element extends Components.XvTextInputV2, HTMLStencilElement {
|
|
796
|
+
}
|
|
797
|
+
var HTMLXvTextInputV2Element: {
|
|
798
|
+
prototype: HTMLXvTextInputV2Element;
|
|
799
|
+
new (): HTMLXvTextInputV2Element;
|
|
800
|
+
};
|
|
763
801
|
interface HTMLXvTooltipV2Element extends Components.XvTooltipV2, HTMLStencilElement {
|
|
764
802
|
}
|
|
765
803
|
var HTMLXvTooltipV2Element: {
|
|
@@ -794,6 +832,7 @@ declare global {
|
|
|
794
832
|
"xv-table-v2-toolbar": HTMLXvTableV2ToolbarElement;
|
|
795
833
|
"xv-tabs-v2": HTMLXvTabsV2Element;
|
|
796
834
|
"xv-tag-v2": HTMLXvTagV2Element;
|
|
835
|
+
"xv-text-input-v2": HTMLXvTextInputV2Element;
|
|
797
836
|
"xv-tooltip-v2": HTMLXvTooltipV2Element;
|
|
798
837
|
}
|
|
799
838
|
}
|
|
@@ -832,7 +871,11 @@ declare namespace LocalJSX {
|
|
|
832
871
|
/**
|
|
833
872
|
* Emits when the button is clicked
|
|
834
873
|
*/
|
|
835
|
-
"onButtonClick"?: (event: XvButtonV2CustomEvent<
|
|
874
|
+
"onButtonClick"?: (event: XvButtonV2CustomEvent<MouseEvent>) => void;
|
|
875
|
+
/**
|
|
876
|
+
* Button type
|
|
877
|
+
*/
|
|
878
|
+
"type"?: 'button' | 'reset' | 'submit';
|
|
836
879
|
/**
|
|
837
880
|
* Variant
|
|
838
881
|
*/
|
|
@@ -902,6 +945,11 @@ declare namespace LocalJSX {
|
|
|
902
945
|
"value"?: string;
|
|
903
946
|
}
|
|
904
947
|
interface XvDropdownV2 {
|
|
948
|
+
"defaultValue"?: DropdownItemData['value'];
|
|
949
|
+
/**
|
|
950
|
+
* @deprecated use camelCase instead. Support for dash-casing will be removed in Stencil v5.
|
|
951
|
+
*/
|
|
952
|
+
"default-value"?: DropdownItemData['value'];
|
|
905
953
|
"disabled"?: boolean;
|
|
906
954
|
"error"?: string;
|
|
907
955
|
"helper"?: string;
|
|
@@ -1133,6 +1181,22 @@ declare namespace LocalJSX {
|
|
|
1133
1181
|
"onCloseClick"?: (event: XvTagV2CustomEvent<PointerEvent>) => void;
|
|
1134
1182
|
"size"?: 'sm' | 'md' | 'lg';
|
|
1135
1183
|
}
|
|
1184
|
+
/**
|
|
1185
|
+
* xv-text-input — custom input
|
|
1186
|
+
* ti get data you can use default Input event
|
|
1187
|
+
* Angular - (input), React - (onInput), Pure - addEventListener('input', e => ...)
|
|
1188
|
+
*/
|
|
1189
|
+
interface XvTextInputV2 {
|
|
1190
|
+
"disabled"?: boolean;
|
|
1191
|
+
"helper"?: string;
|
|
1192
|
+
"label"?: string;
|
|
1193
|
+
"name"?: string;
|
|
1194
|
+
"placeholder"?: string;
|
|
1195
|
+
"readonly"?: boolean;
|
|
1196
|
+
"size"?: SIZE_VAR;
|
|
1197
|
+
"status"?: TextInputStatus;
|
|
1198
|
+
"value"?: string;
|
|
1199
|
+
}
|
|
1136
1200
|
interface XvTooltipV2 {
|
|
1137
1201
|
/**
|
|
1138
1202
|
* Message what will be shown for tooltip *
|
|
@@ -1171,6 +1235,7 @@ declare namespace LocalJSX {
|
|
|
1171
1235
|
"xv-table-v2-toolbar": XvTableV2Toolbar;
|
|
1172
1236
|
"xv-tabs-v2": XvTabsV2;
|
|
1173
1237
|
"xv-tag-v2": XvTagV2;
|
|
1238
|
+
"xv-text-input-v2": XvTextInputV2;
|
|
1174
1239
|
"xv-tooltip-v2": XvTooltipV2;
|
|
1175
1240
|
}
|
|
1176
1241
|
}
|
|
@@ -1211,6 +1276,12 @@ declare module "@stencil/core" {
|
|
|
1211
1276
|
"xv-table-v2-toolbar": LocalJSX.XvTableV2Toolbar & JSXBase.HTMLAttributes<HTMLXvTableV2ToolbarElement>;
|
|
1212
1277
|
"xv-tabs-v2": LocalJSX.XvTabsV2 & JSXBase.HTMLAttributes<HTMLXvTabsV2Element>;
|
|
1213
1278
|
"xv-tag-v2": LocalJSX.XvTagV2 & JSXBase.HTMLAttributes<HTMLXvTagV2Element>;
|
|
1279
|
+
/**
|
|
1280
|
+
* xv-text-input — custom input
|
|
1281
|
+
* ti get data you can use default Input event
|
|
1282
|
+
* Angular - (input), React - (onInput), Pure - addEventListener('input', e => ...)
|
|
1283
|
+
*/
|
|
1284
|
+
"xv-text-input-v2": LocalJSX.XvTextInputV2 & JSXBase.HTMLAttributes<HTMLXvTextInputV2Element>;
|
|
1214
1285
|
"xv-tooltip-v2": LocalJSX.XvTooltipV2 & JSXBase.HTMLAttributes<HTMLXvTooltipV2Element>;
|
|
1215
1286
|
}
|
|
1216
1287
|
}
|