@vertexvis/ui 0.1.0-testing.8 → 0.1.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 +1 -1
- package/dist/cjs/{color-circle-picker-13396ec4.js → color-circle-picker-d0403f1c.js} +2 -2
- package/dist/cjs/color-picker-2a4820fa.js +46 -0
- package/dist/cjs/{color-circle-05be54bf.js → color-swatch-8aaf6c0b.js} +42 -17
- package/dist/cjs/components.cjs.js +1 -1
- package/dist/cjs/{dialog-88e2308a.js → dialog-34f1dd6e.js} +1 -1
- package/dist/cjs/dom-a2c535e3.js +17 -0
- package/dist/cjs/{icon-460fd0f5.js → icon-3b1349ea.js} +1 -1
- package/dist/cjs/{icon-button-786427d6.js → icon-button-19061994.js} +1 -1
- package/dist/cjs/{icon-helper-ba408f49.js → icon-helper-cb479ba1.js} +107 -0
- package/dist/cjs/index.cjs.js +18 -12
- package/dist/cjs/lib-1bd1e383.js +9 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{search-bar-91cbcd07.js → search-bar-2e7ee35a.js} +130 -24
- package/dist/cjs/{select-5f8aecfe.js → select-2b2bdb97.js} +1 -1
- package/dist/cjs/{slider-13594e49.js → slider-7714cccb.js} +7 -1
- package/dist/cjs/tab-4335cd8f.js +26 -0
- package/dist/cjs/tabs-6f3e76e1.js +111 -0
- package/dist/cjs/{tooltip-e9f63631.js → tooltip-9d097c55.js} +2 -5
- package/dist/cjs/vertex-color-circle-picker.cjs.entry.js +1 -1
- package/dist/cjs/vertex-color-picker.cjs.entry.js +2 -1
- package/dist/cjs/vertex-color-swatch.cjs.entry.js +12 -0
- package/dist/cjs/vertex-dialog.cjs.entry.js +1 -1
- package/dist/cjs/vertex-icon-button.cjs.entry.js +2 -2
- package/dist/cjs/vertex-icon.cjs.entry.js +2 -2
- package/dist/cjs/vertex-search-bar.cjs.entry.js +1 -1
- package/dist/cjs/vertex-select.cjs.entry.js +1 -1
- package/dist/cjs/vertex-slider.cjs.entry.js +2 -1
- package/dist/cjs/{vertex-color-circle.cjs.entry.js → vertex-tab.cjs.entry.js} +3 -2
- package/dist/cjs/vertex-tabs.cjs.entry.js +12 -0
- package/dist/cjs/vertex-tooltip.cjs.entry.js +2 -1
- package/dist/collection/collection-manifest.json +4 -2
- package/dist/collection/components/color-circle-picker/color-circle-picker.js +8 -8
- package/dist/collection/components/color-picker/color-picker.css +95 -15
- package/dist/collection/components/color-picker/color-picker.js +57 -3
- package/dist/collection/components/color-swatch/color-swatch.css +43 -0
- package/dist/collection/components/{color-circle/color-circle.js → color-swatch/color-swatch.js} +96 -23
- package/dist/collection/components/color-swatch/lib.js +5 -0
- package/dist/collection/components/dialog/dialog.css +0 -1
- package/dist/collection/components/icon/icon-helper.js +51 -0
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/icons/arrow-left-circled.js +2 -0
- package/dist/collection/components/icon/icons/arrow-right-circled.js +2 -0
- package/dist/collection/components/icon/icons/camera-add.js +2 -0
- package/dist/collection/components/icon/icons/caution.js +2 -0
- package/dist/collection/components/icon/icons/columns-add.js +2 -0
- package/dist/collection/components/icon/icons/compare.js +2 -0
- package/dist/collection/components/icon/icons/compress.js +2 -0
- package/dist/collection/components/icon/icons/cube-stack.js +2 -0
- package/dist/collection/components/icon/icons/expand.js +2 -0
- package/dist/collection/components/icon/icons/file-folder.js +2 -0
- package/dist/collection/components/icon/icons/pin-text-square.js +2 -0
- package/dist/collection/components/icon/icons/plus-with-arrow.js +2 -0
- package/dist/collection/components/icon/icons/pmi.js +2 -0
- package/dist/collection/components/icon/icons/report.js +2 -0
- package/dist/collection/components/icon/icons/square-dot-outline.js +2 -0
- package/dist/collection/components/icon/icons/update.js +2 -0
- package/dist/collection/components/icon/icons/views.js +2 -0
- package/dist/collection/components/icon-button/icon-button.js +1 -1
- package/dist/collection/components/index.js +3 -1
- package/dist/collection/components/search-bar/dom.js +17 -0
- package/dist/collection/components/search-bar/lib.js +45 -4
- package/dist/collection/components/search-bar/search-bar.js +76 -23
- package/dist/collection/components/select/select.css +8 -0
- package/dist/collection/components/slider/slider.js +8 -2
- package/dist/collection/components/tab/tab.css +16 -0
- package/dist/collection/components/tab/tab.js +85 -0
- package/dist/collection/components/tab/util.js +3 -0
- package/dist/collection/components/tabs/tabs.css +67 -0
- package/dist/collection/components/tabs/tabs.js +159 -0
- package/dist/collection/types/icon.js +17 -0
- package/dist/collection/util/components/dom.js +3 -0
- package/dist/components/components.css +1 -1
- package/dist/components/components.esm.js +1 -1
- package/dist/components/index.esm.js +1 -1
- package/dist/components/p-01d4be1d.entry.js +1 -0
- package/dist/components/{p-165aed7d.js → p-0d4a0d61.js} +1 -1
- package/dist/components/p-18ed73e9.js +1 -0
- package/dist/components/p-1d08dd79.entry.js +1 -0
- package/dist/components/p-2ae8175d.entry.js +1 -0
- package/dist/components/p-2b4aedaa.entry.js +1 -0
- package/dist/components/p-3438c441.js +1 -0
- package/dist/components/{p-912f6e24.js → p-4327deea.js} +1 -1
- package/dist/components/p-45848878.js +1 -0
- package/dist/components/p-48629bf1.js +1 -0
- package/dist/components/{p-103249b4.js → p-5384f198.js} +1 -1
- package/dist/components/p-655053df.js +1 -0
- package/dist/components/p-65f9817e.js +1 -0
- package/dist/components/p-6a49c365.entry.js +1 -0
- package/dist/components/p-6b6c2260.js +1 -0
- package/dist/components/p-6ff20817.js +1 -0
- package/dist/components/{p-ca52a423.js → p-7bd92281.js} +1 -1
- package/dist/components/p-8bbc344d.entry.js +1 -0
- package/dist/components/p-8d83dfff.entry.js +1 -0
- package/dist/components/p-96f55673.js +1 -0
- package/dist/components/{p-9374ef6c.js → p-b9dab446.js} +1 -1
- package/dist/components/p-c6841378.entry.js +1 -0
- package/dist/components/p-cbfc041e.entry.js +1 -0
- package/dist/components/p-d2d75bcf.entry.js +1 -0
- package/dist/components/p-d539f530.js +1 -0
- package/dist/components/p-decf635f.entry.js +1 -0
- package/dist/components/p-e35057b5.entry.js +1 -0
- package/dist/esm/{color-circle-picker-998a7e9c.js → color-circle-picker-35ad3b3e.js} +2 -2
- package/dist/esm/color-picker-1d67effe.js +44 -0
- package/dist/esm/{color-circle-842f3321.js → color-swatch-0e62d13d.js} +42 -17
- package/dist/esm/components.js +1 -1
- package/dist/esm/{dialog-e3f49527.js → dialog-1cef715c.js} +1 -1
- package/dist/esm/dom-9d0f7bf4.js +13 -0
- package/dist/esm/{icon-d37150b4.js → icon-bf8df898.js} +1 -1
- package/dist/esm/{icon-button-aad3c0e7.js → icon-button-a4bdeabc.js} +1 -1
- package/dist/esm/{icon-helper-83f10f73.js → icon-helper-94d45002.js} +107 -0
- package/dist/esm/index.js +15 -11
- package/dist/esm/lib-73fbca8b.js +7 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{search-bar-f12a3599.js → search-bar-8d18626e.js} +130 -24
- package/dist/esm/{select-d4e135b7.js → select-78aeff96.js} +1 -1
- package/dist/esm/{slider-dcdb388f.js → slider-3d8545e3.js} +8 -2
- package/dist/esm/tab-c76332b0.js +24 -0
- package/dist/esm/tabs-e9f6dcbe.js +109 -0
- package/dist/esm/{tooltip-933da261.js → tooltip-db8ebd41.js} +1 -4
- package/dist/esm/vertex-color-circle-picker.entry.js +1 -1
- package/dist/esm/vertex-color-picker.entry.js +2 -1
- package/dist/esm/vertex-color-swatch.entry.js +4 -0
- package/dist/esm/vertex-dialog.entry.js +1 -1
- package/dist/esm/vertex-icon-button.entry.js +2 -2
- package/dist/esm/vertex-icon.entry.js +2 -2
- package/dist/esm/vertex-search-bar.entry.js +1 -1
- package/dist/esm/vertex-select.entry.js +1 -1
- package/dist/esm/vertex-slider.entry.js +2 -1
- package/dist/esm/vertex-tab.entry.js +3 -0
- package/dist/esm/vertex-tabs.entry.js +4 -0
- package/dist/esm/vertex-tooltip.entry.js +2 -1
- package/dist/types/components/color-circle-picker/color-circle-picker.d.ts +7 -7
- package/dist/types/components/color-picker/color-picker.d.ts +19 -0
- package/dist/types/components/{color-circle/color-circle.d.ts → color-swatch/color-swatch.d.ts} +23 -5
- package/dist/types/components/color-swatch/lib.d.ts +1 -0
- package/dist/types/components/icon/icons/arrow-left-circled.d.ts +3 -0
- package/dist/types/components/icon/icons/arrow-right-circled.d.ts +3 -0
- package/dist/types/components/icon/icons/camera-add.d.ts +3 -0
- package/dist/types/components/icon/icons/caution.d.ts +3 -0
- package/dist/types/components/icon/icons/columns-add.d.ts +3 -0
- package/dist/types/components/icon/icons/compare.d.ts +3 -0
- package/dist/types/components/icon/icons/compress.d.ts +3 -0
- package/dist/types/components/icon/icons/cube-stack.d.ts +3 -0
- package/dist/types/components/icon/icons/expand.d.ts +3 -0
- package/dist/types/components/icon/icons/file-folder.d.ts +3 -0
- package/dist/types/components/icon/icons/pin-text-square.d.ts +3 -0
- package/dist/types/components/icon/icons/plus-with-arrow.d.ts +3 -0
- package/dist/types/components/icon/icons/pmi.d.ts +3 -0
- package/dist/types/components/icon/icons/report.d.ts +3 -0
- package/dist/types/components/icon/icons/square-dot-outline.d.ts +3 -0
- package/dist/types/components/icon/icons/update.d.ts +3 -0
- package/dist/types/components/icon/icons/views.d.ts +3 -0
- package/dist/types/components/index.d.ts +3 -1
- package/dist/types/components/search-bar/dom.d.ts +5 -0
- package/dist/types/components/search-bar/lib.d.ts +9 -2
- package/dist/types/components/search-bar/search-bar.d.ts +1 -0
- package/dist/types/components/slider/slider.d.ts +1 -0
- package/dist/types/components/tab/tab.d.ts +11 -0
- package/dist/types/components/tab/util.d.ts +1 -0
- package/dist/types/components/tabs/tabs.d.ts +23 -0
- package/dist/types/components.d.ts +162 -76
- package/dist/types/types/icon.d.ts +17 -0
- package/dist/types/util/components/dom.d.ts +1 -0
- package/package.json +2 -2
- package/dist/cjs/color-picker-876ace00.js +0 -37
- package/dist/collection/components/color-circle/color-circle.css +0 -18
- package/dist/components/p-03dbb28c.js +0 -1
- package/dist/components/p-0b1cdc8a.entry.js +0 -1
- package/dist/components/p-0f8b9ede.entry.js +0 -1
- package/dist/components/p-16719272.entry.js +0 -1
- package/dist/components/p-20a74d5d.entry.js +0 -1
- package/dist/components/p-35e7ab78.entry.js +0 -1
- package/dist/components/p-7cfb3736.entry.js +0 -1
- package/dist/components/p-7dba2574.entry.js +0 -1
- package/dist/components/p-7f64b251.entry.js +0 -1
- package/dist/components/p-8434602f.js +0 -1
- package/dist/components/p-92930f2a.js +0 -1
- package/dist/components/p-cd6ddb10.js +0 -1
- package/dist/components/p-cfe369bf.entry.js +0 -1
- package/dist/components/p-d9b9aebe.js +0 -1
- package/dist/components/p-db34f10c.js +0 -1
- package/dist/components/p-f71fc166.entry.js +0 -1
- package/dist/esm/color-picker-2e3b51fa.js +0 -35
- package/dist/esm/vertex-color-circle.entry.js +0 -2
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export { T as vertex_tooltip } from './tooltip-
|
|
1
|
+
export { T as vertex_tooltip } from './tooltip-db8ebd41.js';
|
|
2
2
|
import './index-72f28b71.js';
|
|
3
3
|
import './tslib.es6-99cd0de8.js';
|
|
4
4
|
import './index-9c609209.js';
|
|
5
|
+
import './dom-9d0f7bf4.js';
|
|
5
6
|
import './slots-fbb5afb3.js';
|
|
@@ -8,12 +8,12 @@ export declare class ColorCirclePicker {
|
|
|
8
8
|
/**
|
|
9
9
|
* The colors to show in this `vertex-color-circle-picker`.
|
|
10
10
|
* These values will map to the `color` property of the underlying
|
|
11
|
-
* `vertex-color-
|
|
11
|
+
* `vertex-color-swatch`.
|
|
12
12
|
*/
|
|
13
13
|
colors: string[] | string;
|
|
14
14
|
/**
|
|
15
15
|
* Optional supplemental colors that will be provided to the
|
|
16
|
-
* underlying `vertex-color-
|
|
16
|
+
* underlying `vertex-color-swatch` elements for associated
|
|
17
17
|
* indices in the `colors` array.
|
|
18
18
|
*/
|
|
19
19
|
supplementalColors: string[] | string;
|
|
@@ -22,29 +22,29 @@ export declare class ColorCirclePicker {
|
|
|
22
22
|
* Can be either `light` or `dark`, and defaults to `dark`.
|
|
23
23
|
*
|
|
24
24
|
* With the `dark` theme, the provided `colors` will be used
|
|
25
|
-
* as the background-colors for `vertex-color-
|
|
25
|
+
* as the background-colors for `vertex-color-swatch` elements,
|
|
26
26
|
* and a `darkened` color will be used for the border-colors.
|
|
27
27
|
*
|
|
28
28
|
* With the `light` theme, the provided `colors` will be used
|
|
29
|
-
* as the background-colors for `vertex-color-
|
|
29
|
+
* as the background-colors for `vertex-color-swatch` elements,
|
|
30
30
|
* and a `lightened` color will be used for the border-colors.
|
|
31
31
|
*/
|
|
32
32
|
theme: 'light' | 'dark';
|
|
33
33
|
/**
|
|
34
34
|
* The percentage lighter color to use to compute the `lightened`
|
|
35
|
-
* color for the underlying `vertex-color-
|
|
35
|
+
* color for the underlying `vertex-color-swatch`. This will be
|
|
36
36
|
* used when the `theme` is set to `light`.
|
|
37
37
|
*/
|
|
38
38
|
lightenPercentage: number;
|
|
39
39
|
/**
|
|
40
40
|
* The percentage darker color to use to compute the `darkened`
|
|
41
|
-
* color for the underlying `vertex-color-
|
|
41
|
+
* color for the underlying `vertex-color-swatch`. This will be
|
|
42
42
|
* used when the `theme` is set to `dark`.
|
|
43
43
|
*/
|
|
44
44
|
darkenPercentage: number;
|
|
45
45
|
/**
|
|
46
46
|
* An optional selected color. This will also be updated internally
|
|
47
|
-
* by the component when individual `vertex-color-
|
|
47
|
+
* by the component when individual `vertex-color-swatch` elements
|
|
48
48
|
* are clicked.
|
|
49
49
|
*/
|
|
50
50
|
selected?: string;
|
|
@@ -1,10 +1,28 @@
|
|
|
1
1
|
import { EventEmitter, h } from '../../stencil-public-runtime';
|
|
2
|
+
import { ColorSwatchSize } from '../color-swatch/color-swatch';
|
|
3
|
+
export type ColorPickerVariant = 'full' | 'swatch';
|
|
2
4
|
export declare class ColorPicker {
|
|
3
5
|
/**
|
|
4
6
|
* Optional value property to set the initial
|
|
5
7
|
* value of this input.
|
|
6
8
|
*/
|
|
7
9
|
value?: string;
|
|
10
|
+
/**
|
|
11
|
+
* The size of the swatch displayed for this color picker. Can be `sm`, `md`,
|
|
12
|
+
* `lg`, or `xl`, and defaults to `md`. If the `variant` is `full`, this value
|
|
13
|
+
* will also increase the size of the associated hexadecimal value.
|
|
14
|
+
*/
|
|
15
|
+
size: ColorSwatchSize;
|
|
16
|
+
/**
|
|
17
|
+
* The variant of this color picker. Can be `full` or `swatch`,
|
|
18
|
+
* and defaults to `full`.
|
|
19
|
+
*
|
|
20
|
+
* `full` will display both the visual color swatch and the hexadecimal
|
|
21
|
+
* representation of the color.
|
|
22
|
+
*
|
|
23
|
+
* `swatch` will display only the visual color swatch.
|
|
24
|
+
*/
|
|
25
|
+
variant: ColorPickerVariant;
|
|
8
26
|
/**
|
|
9
27
|
* Whether this color picker is disabled.
|
|
10
28
|
*/
|
|
@@ -21,4 +39,5 @@ export declare class ColorPicker {
|
|
|
21
39
|
render(): h.JSX.IntrinsicElements;
|
|
22
40
|
private handleInput;
|
|
23
41
|
private handleChange;
|
|
42
|
+
private getDisplayedValue;
|
|
24
43
|
}
|
package/dist/types/components/{color-circle/color-circle.d.ts → color-swatch/color-swatch.d.ts}
RENAMED
|
@@ -1,7 +1,20 @@
|
|
|
1
1
|
import { h } from '../../stencil-public-runtime';
|
|
2
|
-
export
|
|
2
|
+
export type ColorSwatchVariant = 'circle' | 'square';
|
|
3
|
+
export type ColorSwatchSize = 'sm' | 'md' | 'lg';
|
|
4
|
+
export type ColorSwatchTheme = 'none' | 'light' | 'dark';
|
|
5
|
+
export declare class ColorSwatch {
|
|
3
6
|
/**
|
|
4
|
-
* The
|
|
7
|
+
* The variant of this color swatch. Can be either `circle` or `square`,
|
|
8
|
+
* and defaults to `circle`.
|
|
9
|
+
*/
|
|
10
|
+
variant: ColorSwatchVariant;
|
|
11
|
+
/**
|
|
12
|
+
* The size of this color swatch. Can be `sm`, `md`, or `lg`,
|
|
13
|
+
* and defaults to `md`.
|
|
14
|
+
*/
|
|
15
|
+
size: ColorSwatchSize;
|
|
16
|
+
/**
|
|
17
|
+
* The primary color of this `vertex-color-swatch` in hexadecimal format.
|
|
5
18
|
* For `dark` theme, this will be the background-color.
|
|
6
19
|
* For `light` theme, this will be the border-color.
|
|
7
20
|
*/
|
|
@@ -13,8 +26,11 @@ export declare class ColorCircle {
|
|
|
13
26
|
*/
|
|
14
27
|
supplementalColor?: string;
|
|
15
28
|
/**
|
|
16
|
-
* The theme to use for this `vertex-color-
|
|
17
|
-
* Can be
|
|
29
|
+
* The theme to use for this `vertex-color-swatch`.
|
|
30
|
+
* Can be `none`, `light`, or `dark`, and defaults to `none`.
|
|
31
|
+
*
|
|
32
|
+
* With no theme (`none`), the provided `color` will be used
|
|
33
|
+
* as the background-color, and the border will be a neutral color.
|
|
18
34
|
*
|
|
19
35
|
* With the `dark` theme, the provided `color` will be used
|
|
20
36
|
* as the background-color, and the `darkened` color will be
|
|
@@ -24,7 +40,7 @@ export declare class ColorCircle {
|
|
|
24
40
|
* as the border-color, and the `lightened` color will be used
|
|
25
41
|
* for the background-color.
|
|
26
42
|
*/
|
|
27
|
-
theme:
|
|
43
|
+
theme: ColorSwatchTheme;
|
|
28
44
|
/**
|
|
29
45
|
* The percentage lighter color to use to compute the `lightened`
|
|
30
46
|
* color. This will be used when the `theme` is set to `light`.
|
|
@@ -51,6 +67,8 @@ export declare class ColorCircle {
|
|
|
51
67
|
protected handleLightenPercentageChanged(newPercentage: number): void;
|
|
52
68
|
protected handleDarkenPercentageChanged(newPercentage: number): void;
|
|
53
69
|
render(): h.JSX.IntrinsicElements;
|
|
70
|
+
private getThemeColors;
|
|
71
|
+
private getSupplementalColor;
|
|
54
72
|
private adjustColor;
|
|
55
73
|
private adjustComponent;
|
|
56
74
|
private padHexComponent;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function isValidHexColor(color: string): boolean;
|
|
@@ -8,9 +8,9 @@ export * from './card-group/card-group';
|
|
|
8
8
|
export * from './chip/chip';
|
|
9
9
|
export * from './click-to-edit-text-field/click-to-edit-text-field';
|
|
10
10
|
export * from './collapsible/collapsible';
|
|
11
|
-
export * from './color-circle/color-circle';
|
|
12
11
|
export * from './color-circle-picker/color-circle-picker';
|
|
13
12
|
export * from './color-picker/color-picker';
|
|
13
|
+
export * from './color-swatch/color-swatch';
|
|
14
14
|
export * from './context-menu/context-menu';
|
|
15
15
|
export * from './dialog/dialog';
|
|
16
16
|
export * from './draggable-popover/draggable-popover';
|
|
@@ -32,6 +32,8 @@ export * from './search-bar/search-bar';
|
|
|
32
32
|
export * from './select/select';
|
|
33
33
|
export * from './slider/slider';
|
|
34
34
|
export * from './spinner/spinner';
|
|
35
|
+
export * from './tab/tab';
|
|
36
|
+
export * from './tabs/tabs';
|
|
35
37
|
export * from './text-field/text-field';
|
|
36
38
|
export * from './toast/toast';
|
|
37
39
|
export * from './toggle/toggle';
|
|
@@ -1,3 +1,8 @@
|
|
|
1
1
|
export declare const getWindowSelection: () => Selection | undefined | null;
|
|
2
|
+
export declare const nodeHasChildNodes: (node: Node) => boolean;
|
|
2
3
|
export declare const createDocumentRange: () => Range;
|
|
3
4
|
export declare const createTextNode: (text: string) => Text;
|
|
5
|
+
export declare const createBreak: () => HTMLBRElement;
|
|
6
|
+
export declare const createWrappingDiv: (nodes: Node[]) => HTMLDivElement;
|
|
7
|
+
export declare const isHtmlElement: (node?: Node | EventTarget | null) => node is HTMLElement;
|
|
8
|
+
export declare const isBrElement: (node: Node) => node is HTMLBRElement;
|
|
@@ -3,12 +3,19 @@ export interface SearchResultReplacement {
|
|
|
3
3
|
before: Text;
|
|
4
4
|
beforeSpace: Text;
|
|
5
5
|
result: Text;
|
|
6
|
-
afterSpace
|
|
6
|
+
afterSpace: Text;
|
|
7
7
|
after?: Text;
|
|
8
8
|
}
|
|
9
9
|
export declare const createResultUri: (result: Result) => string;
|
|
10
10
|
export declare const createSearchResultReplacement: (result: Result, before: string, after?: string) => SearchResultReplacement;
|
|
11
|
-
|
|
11
|
+
/**
|
|
12
|
+
* Newline characters and spaces are represented slightly differently within a
|
|
13
|
+
* content editable element between browsers. This method standardizes the
|
|
14
|
+
* representation of those characters to avoid having to write branching logic
|
|
15
|
+
* to support each individual browser.
|
|
16
|
+
*/
|
|
17
|
+
export declare const standardizeNewlinesAndSpaces: (node: ChildNode) => ChildNode[];
|
|
18
|
+
export declare const getNodesForSearchResultReplacement: (replacement: SearchResultReplacement, isBreaking?: boolean) => Text[];
|
|
12
19
|
/**
|
|
13
20
|
* We leverage a couple unique spaces to represent mentions, allowing for
|
|
14
21
|
* correct cursor movement when using arrow keys. As these characters are
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { EventEmitter, h } from '../../stencil-public-runtime';
|
|
2
|
+
export declare class Tab {
|
|
3
|
+
/**
|
|
4
|
+
* The label to include in tab list.
|
|
5
|
+
*/
|
|
6
|
+
label: string;
|
|
7
|
+
active: boolean;
|
|
8
|
+
tabClick: EventEmitter<string>;
|
|
9
|
+
render(): h.JSX.IntrinsicElements;
|
|
10
|
+
private handleClick;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function isTabElement(element: Element): element is HTMLVertexTabElement;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { EventEmitter, h } from '../../stencil-public-runtime';
|
|
2
|
+
export declare class Tabs {
|
|
3
|
+
active?: string;
|
|
4
|
+
private labels;
|
|
5
|
+
private activeBounds?;
|
|
6
|
+
private activeButtonEl?;
|
|
7
|
+
private hostEl;
|
|
8
|
+
/**
|
|
9
|
+
* An event that is emitted whenever the selected tab changes
|
|
10
|
+
* and contains the label of the newly selected tab.
|
|
11
|
+
*/
|
|
12
|
+
selectedTabChanged: EventEmitter<string>;
|
|
13
|
+
private indicatorInitialized;
|
|
14
|
+
componentWillLoad(): void;
|
|
15
|
+
componentDidLoad(): void;
|
|
16
|
+
protected componentDidUpdate(): void;
|
|
17
|
+
protected handleActiveButtonChange(): void;
|
|
18
|
+
render(): h.JSX.IntrinsicElements;
|
|
19
|
+
private handleLabelClick;
|
|
20
|
+
private updateActiveOnTab;
|
|
21
|
+
private findTabByLabel;
|
|
22
|
+
private updateTabLabels;
|
|
23
|
+
}
|