xv-webcomponents 0.1.20 → 0.1.22

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.
Files changed (70) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +129 -129
  3. package/package.json +51 -51
  4. package/dist/types/components/xv-accordion/xv-accordion.d.ts +0 -20
  5. package/dist/types/components/xv-accordion-item/xv-accordion-item.d.ts +0 -15
  6. package/dist/types/components/xv-breadcrumbs/xv-breadcrumbs.d.ts +0 -3
  7. package/dist/types/components/xv-button/xv-button.d.ts +0 -16
  8. package/dist/types/components/xv-card/xv-card.d.ts +0 -8
  9. package/dist/types/components/xv-checkbox/xv-checkbox.d.ts +0 -70
  10. package/dist/types/components/xv-link/xv-link.d.ts +0 -9
  11. package/dist/types/components/xv-progress-indicator/xv-progress-indicator.d.ts +0 -7
  12. package/dist/types/components/xv-progress-indicator-item/xv-progress-indicator-item.d.ts +0 -5
  13. package/dist/types/components/xv-table/defs.d.ts +0 -16
  14. package/dist/types/components/xv-table/xv-table-col/xv-table-col.d.ts +0 -3
  15. package/dist/types/components/xv-table/xv-table-header-row/xv-table-header-row.d.ts +0 -25
  16. package/dist/types/components/xv-table/xv-table-row/xv-table-row.d.ts +0 -59
  17. package/dist/types/components/xv-table/xv-table.d.ts +0 -40
  18. package/dist/types/components/xv-tag/xv-tag.d.ts +0 -11
  19. package/dist/types/components/xv-tooltip/xv-tooltip.d.ts +0 -11
  20. package/dist/types/components.d.ts +0 -679
  21. package/dist/types/index.d.ts +0 -11
  22. package/dist/types/stencil-public-runtime.d.ts +0 -1680
  23. package/dist/types/types/enum.d.ts +0 -7
  24. package/dist/types/utils/utils.d.ts +0 -9
  25. package/dist/xv-webcomponents/app-globals-0f993ce5.js +0 -5
  26. package/dist/xv-webcomponents/app-globals-0f993ce5.js.map +0 -1
  27. package/dist/xv-webcomponents/index-90b82796.js +0 -3971
  28. package/dist/xv-webcomponents/index-90b82796.js.map +0 -1
  29. package/dist/xv-webcomponents/index.esm.js +0 -13
  30. package/dist/xv-webcomponents/index.esm.js.map +0 -1
  31. package/dist/xv-webcomponents/utils-e6dc0550.js +0 -17
  32. package/dist/xv-webcomponents/utils-e6dc0550.js.map +0 -1
  33. package/dist/xv-webcomponents/xv-accordion-v2-item.entry.js +0 -35
  34. package/dist/xv-webcomponents/xv-accordion-v2-item.entry.js.map +0 -1
  35. package/dist/xv-webcomponents/xv-accordion-v2.entry.js +0 -40
  36. package/dist/xv-webcomponents/xv-accordion-v2.entry.js.map +0 -1
  37. package/dist/xv-webcomponents/xv-breadcrumbs-v2.entry.js +0 -17
  38. package/dist/xv-webcomponents/xv-breadcrumbs-v2.entry.js.map +0 -1
  39. package/dist/xv-webcomponents/xv-button-v2.entry.js +0 -33
  40. package/dist/xv-webcomponents/xv-button-v2.entry.js.map +0 -1
  41. package/dist/xv-webcomponents/xv-card-v2.entry.js +0 -18
  42. package/dist/xv-webcomponents/xv-card-v2.entry.js.map +0 -1
  43. package/dist/xv-webcomponents/xv-checkbox-v2.entry.js +0 -99
  44. package/dist/xv-webcomponents/xv-checkbox-v2.entry.js.map +0 -1
  45. package/dist/xv-webcomponents/xv-link-v2.entry.js +0 -26
  46. package/dist/xv-webcomponents/xv-link-v2.entry.js.map +0 -1
  47. package/dist/xv-webcomponents/xv-progress-indicator-v2-item.entry.js +0 -19
  48. package/dist/xv-webcomponents/xv-progress-indicator-v2-item.entry.js.map +0 -1
  49. package/dist/xv-webcomponents/xv-progress-indicator-v2.entry.js +0 -39
  50. package/dist/xv-webcomponents/xv-progress-indicator-v2.entry.js.map +0 -1
  51. package/dist/xv-webcomponents/xv-table-v2-col.entry.js +0 -17
  52. package/dist/xv-webcomponents/xv-table-v2-col.entry.js.map +0 -1
  53. package/dist/xv-webcomponents/xv-table-v2-header-row.entry.js +0 -34
  54. package/dist/xv-webcomponents/xv-table-v2-header-row.entry.js.map +0 -1
  55. package/dist/xv-webcomponents/xv-table-v2-row.entry.js +0 -112
  56. package/dist/xv-webcomponents/xv-table-v2-row.entry.js.map +0 -1
  57. package/dist/xv-webcomponents/xv-table-v2.entry.js +0 -114
  58. package/dist/xv-webcomponents/xv-table-v2.entry.js.map +0 -1
  59. package/dist/xv-webcomponents/xv-tag-v2.entry.js +0 -28
  60. package/dist/xv-webcomponents/xv-tag-v2.entry.js.map +0 -1
  61. package/dist/xv-webcomponents/xv-tooltip-v2.entry.js +0 -23
  62. package/dist/xv-webcomponents/xv-tooltip-v2.entry.js.map +0 -1
  63. package/dist/xv-webcomponents/xv-webcomponents.esm.js +0 -49
  64. package/dist/xv-webcomponents/xv-webcomponents.esm.js.map +0 -1
  65. package/loader/cdn.js +0 -1
  66. package/loader/index.cjs.js +0 -1
  67. package/loader/index.d.ts +0 -24
  68. package/loader/index.es2017.js +0 -1
  69. package/loader/index.js +0 -2
  70. package/loader/package.json +0 -11
package/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2025 crossvertise
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2025 crossvertise
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,129 +1,129 @@
1
- # @xv/webcomponents
2
-
3
- **Reusable Web Components for XV Applications**
4
- This repository contains Web Components built with Stencil.js to provide a modular and reusable UI across multiple applications.
5
-
6
- ---
7
-
8
- ## Features
9
-
10
- **Reusable Web Components** – Designed for multiple XV applications
11
- **Stencil.js Powered** – Built using modern Web Component standards
12
- **Shadow DOM Support** – Encapsulated styles and functionality
13
- **Brand-Specific Theming** – Automatically detects and applies brand styles
14
- **Framework Agnostic** – Works with Angular, React, Vue, and plain HTML
15
-
16
- ---
17
-
18
- ## Folder Structure
19
-
20
- ```
21
- xv-webcomponents/
22
- │── src/
23
- │ ├── components/ # Web Component source files
24
- │ │ ├── button/
25
- │ │ │ ├── xv-button.tsx
26
- │ │ │ ├── xv-button.css
27
- │ │ │ ├── xv-button.e2e.ts
28
- │ │ │ ├── xv-button.spec.ts
29
- │ │ ├── checkbox/
30
- │ │ │ ├── xv-checkbox.tsx
31
- │ │ │ ├── xv-checkbox.css
32
- │ │ │ ├── xv-checkbox.e2e.ts
33
- │ │ │ ├── xv-checkbox.spec.ts
34
- │ ├── utils/ # Utility functions for components
35
- │── dist/ # Compiled distribution files
36
- │── loader/ # Loader scripts for consuming Web Components
37
- │── package.json
38
- │── README.md
39
- │── stencil.config.ts # Stencil.js configuration
40
- ```
41
-
42
- ---
43
-
44
- ## Installation
45
-
46
- To install the package from npm:
47
- ```bash
48
- npm install xv-webcomponents
49
- ```
50
-
51
- ---
52
-
53
- ## Usage
54
-
55
- ### **Using in an HTML Page**
56
- Simply include the Web Component in your HTML:
57
- ```html
58
- <script type="module" src="https://cdn.yourcompany.com/xv-webcomponents/xv-webcomponents.esm.js"></script>
59
- <xv-button-v2 label="Click Me" variant="accent"></xv-button-v2>
60
- ```
61
-
62
- ### **Using in an Angular Project**
63
- First, import `CUSTOM_ELEMENTS_SCHEMA` in your module:
64
- ```typescript
65
- import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
66
- import { BrowserModule } from '@angular/platform-browser';
67
-
68
- @NgModule({
69
- declarations: [],
70
- imports: [BrowserModule],
71
- schemas: [CUSTOM_ELEMENTS_SCHEMA]
72
- })
73
- export class AppModule {}
74
- ```
75
- Now, use the Web Component in your Angular templates:
76
- ```html
77
- <xv-button-v2 label="Click Me" variant="primary"></xv-button-v2>
78
- ```
79
-
80
- ### **Using in a C# Razor Page (MVC)**
81
- ```html
82
- <xv-button-v2 label="Submit" variant="secondary"></xv-button-v2>
83
- ```
84
-
85
- ### **Using in Sitefinity CMS**
86
- Embed the Web Component inside a content block:
87
- ```html
88
- <xv-button-v2 label="Learn More" variant="ghost"></xv-button-v2>
89
- ```
90
-
91
- ---
92
-
93
- ## 🛠 Development & Building
94
-
95
- ### **1️⃣ Build the Components**
96
- To build all components:
97
- ```bash
98
- npm run build
99
- ```
100
- This generates compiled components inside the `dist/` folder.
101
-
102
- ### **2️⃣ Run Local Development Server**
103
- To test components locally:
104
- ```bash
105
- npm start
106
- ```
107
- This starts a development server and watches for changes.
108
-
109
- ### **3️⃣ Publish to npm**
110
- To publish a new version of the package:
111
- ```bash
112
- npm version patch
113
- npm publish --access public
114
- ```
115
-
116
- ---
117
-
118
- ## Contributing
119
-
120
- ### **Adding a New Component**
121
- 1. Generate a new component:
122
- ```bash
123
- npm run generate component xv-new-component
124
- ```
125
- 2. Implement logic and styles inside `src/components/xv-new-component/`.
126
- 3. Test the component using Jest (`.spec.ts`) and e2e tests.
127
- 4. Run `npm run build` to generate the compiled version.
128
- 5. Commit changes and submit a pull request.
129
-
1
+ # @xv/webcomponents
2
+
3
+ **Reusable Web Components for XV Applications**
4
+ This repository contains Web Components built with Stencil.js to provide a modular and reusable UI across multiple applications.
5
+
6
+ ---
7
+
8
+ ## Features
9
+
10
+ **Reusable Web Components** – Designed for multiple XV applications
11
+ **Stencil.js Powered** – Built using modern Web Component standards
12
+ **Shadow DOM Support** – Encapsulated styles and functionality
13
+ **Brand-Specific Theming** – Automatically detects and applies brand styles
14
+ **Framework Agnostic** – Works with Angular, React, Vue, and plain HTML
15
+
16
+ ---
17
+
18
+ ## Folder Structure
19
+
20
+ ```
21
+ xv-webcomponents/
22
+ │── src/
23
+ │ ├── components/ # Web Component source files
24
+ │ │ ├── button/
25
+ │ │ │ ├── xv-button.tsx
26
+ │ │ │ ├── xv-button.css
27
+ │ │ │ ├── xv-button.e2e.ts
28
+ │ │ │ ├── xv-button.spec.ts
29
+ │ │ ├── checkbox/
30
+ │ │ │ ├── xv-checkbox.tsx
31
+ │ │ │ ├── xv-checkbox.css
32
+ │ │ │ ├── xv-checkbox.e2e.ts
33
+ │ │ │ ├── xv-checkbox.spec.ts
34
+ │ ├── utils/ # Utility functions for components
35
+ │── dist/ # Compiled distribution files
36
+ │── loader/ # Loader scripts for consuming Web Components
37
+ │── package.json
38
+ │── README.md
39
+ │── stencil.config.ts # Stencil.js configuration
40
+ ```
41
+
42
+ ---
43
+
44
+ ## Installation
45
+
46
+ To install the package from npm:
47
+ ```bash
48
+ npm install xv-webcomponents
49
+ ```
50
+
51
+ ---
52
+
53
+ ## Usage
54
+
55
+ ### **Using in an HTML Page**
56
+ Simply include the Web Component in your HTML:
57
+ ```html
58
+ <script type="module" src="https://cdn.yourcompany.com/xv-webcomponents/xv-webcomponents.esm.js"></script>
59
+ <xv-button-v2 label="Click Me" variant="accent"></xv-button-v2>
60
+ ```
61
+
62
+ ### **Using in an Angular Project**
63
+ First, import `CUSTOM_ELEMENTS_SCHEMA` in your module:
64
+ ```typescript
65
+ import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
66
+ import { BrowserModule } from '@angular/platform-browser';
67
+
68
+ @NgModule({
69
+ declarations: [],
70
+ imports: [BrowserModule],
71
+ schemas: [CUSTOM_ELEMENTS_SCHEMA]
72
+ })
73
+ export class AppModule {}
74
+ ```
75
+ Now, use the Web Component in your Angular templates:
76
+ ```html
77
+ <xv-button-v2 label="Click Me" variant="primary"></xv-button-v2>
78
+ ```
79
+
80
+ ### **Using in a C# Razor Page (MVC)**
81
+ ```html
82
+ <xv-button-v2 label="Submit" variant="secondary"></xv-button-v2>
83
+ ```
84
+
85
+ ### **Using in Sitefinity CMS**
86
+ Embed the Web Component inside a content block:
87
+ ```html
88
+ <xv-button-v2 label="Learn More" variant="ghost"></xv-button-v2>
89
+ ```
90
+
91
+ ---
92
+
93
+ ## 🛠 Development & Building
94
+
95
+ ### **1️⃣ Build the Components**
96
+ To build all components:
97
+ ```bash
98
+ npm run build
99
+ ```
100
+ This generates compiled components inside the `dist/` folder.
101
+
102
+ ### **2️⃣ Run Local Development Server**
103
+ To test components locally:
104
+ ```bash
105
+ npm start
106
+ ```
107
+ This starts a development server and watches for changes.
108
+
109
+ ### **3️⃣ Publish to npm**
110
+ To publish a new version of the package:
111
+ ```bash
112
+ npm version patch
113
+ npm publish --access public
114
+ ```
115
+
116
+ ---
117
+
118
+ ## Contributing
119
+
120
+ ### **Adding a New Component**
121
+ 1. Generate a new component:
122
+ ```bash
123
+ npm run generate component xv-new-component
124
+ ```
125
+ 2. Implement logic and styles inside `src/components/xv-new-component/`.
126
+ 3. Test the component using Jest (`.spec.ts`) and e2e tests.
127
+ 4. Run `npm run build` to generate the compiled version.
128
+ 5. Commit changes and submit a pull request.
129
+
package/package.json CHANGED
@@ -1,51 +1,51 @@
1
- {
2
- "name": "xv-webcomponents",
3
- "version": "0.1.20",
4
- "description": "Reusable Web Components for XV Applications",
5
- "main": "dist/index.cjs.js",
6
- "module": "dist/index.js",
7
- "types": "dist/types/index.d.ts",
8
- "collection": "dist/collection/collection-manifest.json",
9
- "collection:main": "dist/collection/index.js",
10
- "unpkg": "dist/xv-webcomponents/xv-webcomponents.esm.js",
11
- "exports": {
12
- ".": {
13
- "import": "./dist/xv-webcomponents/xv-webcomponents.esm.js",
14
- "require": "./dist/xv-webcomponents/xv-webcomponents.cjs.js"
15
- },
16
- "./loader": {
17
- "import": "./loader/index.js",
18
- "require": "./loader/index.cjs",
19
- "types": "./loader/index.d.ts"
20
- }
21
- },
22
- "repository": {
23
- "type": "git",
24
- "url": "https://github.com/ionic-team/stencil-component-starter.git"
25
- },
26
- "files": [
27
- "dist/",
28
- "loader/"
29
- ],
30
- "scripts": {
31
- "build": "stencil build",
32
- "start": "stencil build --dev --watch --serve",
33
- "test": "stencil test --spec --e2e",
34
- "test.watch": "stencil test --spec --e2e --watchAll",
35
- "generate": "stencil generate"
36
- },
37
- "devDependencies": {
38
- "@stencil/angular-output-target": "^0.10.2",
39
- "@stencil/core": "^4.7.0",
40
- "@stencil/sass": "^2.0.4",
41
- "@types/jest": "^29.5.6",
42
- "@types/node": "^16.18.11",
43
- "jest": "^29.7.0",
44
- "jest-cli": "^29.7.0",
45
- "puppeteer": "^24.3.0"
46
- },
47
- "license": "MIT",
48
- "publishConfig": {
49
- "access": "public"
50
- }
51
- }
1
+ {
2
+ "name": "xv-webcomponents",
3
+ "version": "0.1.22",
4
+ "description": "Reusable Web Components for XV Applications",
5
+ "main": "dist/index.cjs.js",
6
+ "module": "dist/index.js",
7
+ "types": "dist/types/index.d.ts",
8
+ "collection": "dist/collection/collection-manifest.json",
9
+ "collection:main": "dist/collection/index.js",
10
+ "unpkg": "dist/xv-webcomponents/xv-webcomponents.esm.js",
11
+ "exports": {
12
+ ".": {
13
+ "import": "./dist/xv-webcomponents/xv-webcomponents.esm.js",
14
+ "require": "./dist/xv-webcomponents/xv-webcomponents.cjs.js"
15
+ },
16
+ "./loader": {
17
+ "import": "./loader/index.js",
18
+ "require": "./loader/index.cjs",
19
+ "types": "./loader/index.d.ts"
20
+ }
21
+ },
22
+ "repository": {
23
+ "type": "git",
24
+ "url": "https://github.com/ionic-team/stencil-component-starter.git"
25
+ },
26
+ "files": [
27
+ "dist/",
28
+ "loader/"
29
+ ],
30
+ "scripts": {
31
+ "build": "stencil build",
32
+ "start": "stencil build --dev --watch --serve",
33
+ "test": "stencil test --spec --e2e",
34
+ "test.watch": "stencil test --spec --e2e --watchAll",
35
+ "generate": "stencil generate"
36
+ },
37
+ "devDependencies": {
38
+ "@stencil/angular-output-target": "^0.10.2",
39
+ "@stencil/core": "^4.7.0",
40
+ "@stencil/sass": "^2.0.4",
41
+ "@types/jest": "^29.5.6",
42
+ "@types/node": "^16.18.11",
43
+ "jest": "^29.7.0",
44
+ "jest-cli": "^29.7.0",
45
+ "puppeteer": "^24.3.0"
46
+ },
47
+ "license": "MIT",
48
+ "publishConfig": {
49
+ "access": "public"
50
+ }
51
+ }
@@ -1,20 +0,0 @@
1
- import { EventEmitter } from '../../stencil-public-runtime';
2
- export declare class XvAccordion {
3
- multiple: boolean;
4
- xvId: string;
5
- value: string;
6
- opened: Set<string>;
7
- accordionChange: EventEmitter<{
8
- opened: Set<string>;
9
- id: string;
10
- }>;
11
- toggleItem(value: string): Promise<{
12
- opened: Set<string>;
13
- id: string;
14
- }>;
15
- componentWillLoad(): Promise<{
16
- opened: Set<string>;
17
- id: string;
18
- }>;
19
- render(): any;
20
- }
@@ -1,15 +0,0 @@
1
- import { EventEmitter } from '../../stencil-public-runtime';
2
- export declare class XvAccordionItem {
3
- el: HTMLElement;
4
- disabled: boolean;
5
- label: string;
6
- value: string;
7
- isOpen: boolean;
8
- itemToggle: EventEmitter;
9
- handleAccordionChange(event: CustomEvent<{
10
- opened: Set<string>;
11
- id: string;
12
- }>): void;
13
- toggle(): void;
14
- render(): any;
15
- }
@@ -1,3 +0,0 @@
1
- export declare class XvBreadcrumbs {
2
- render(): any;
3
- }
@@ -1,16 +0,0 @@
1
- import { EventEmitter } from '../../stencil-public-runtime';
2
- export declare class XvButton {
3
- /** Button label */
4
- label: string;
5
- /** Container width Button */
6
- block: boolean;
7
- /** Variant */
8
- variant: 'accent' | 'primary' | 'secondary' | 'tertiary' | 'ghost';
9
- /** Disabled state */
10
- disabled: boolean;
11
- /** Emits when the button is clicked */
12
- buttonClick: EventEmitter<void>;
13
- /** Handle click only if not disabled */
14
- private handleClick;
15
- render(): any;
16
- }
@@ -1,8 +0,0 @@
1
- export declare class XvCard {
2
- variant: 'horizontal' | 'vertical';
3
- media: string;
4
- header: string;
5
- body: string;
6
- footer: string;
7
- render(): any;
8
- }
@@ -1,70 +0,0 @@
1
- import { EventEmitter } from '../../stencil-public-runtime';
2
- import { SIZE_VAR } from '../../types/enum';
3
- export declare class XvCheckbox {
4
- private inputEl;
5
- private internals;
6
- el: HTMLElement;
7
- /**
8
- * Default checked status
9
- */
10
- checked: boolean;
11
- /**
12
- * Using for forms
13
- */
14
- indeterminate: boolean;
15
- /**
16
- * Disabled status
17
- */
18
- disabled: boolean;
19
- /**
20
- * Input name
21
- */
22
- name: string;
23
- /**
24
- * Input value
25
- */
26
- value: string;
27
- /**
28
- * The same like default checkbox prop
29
- */
30
- required: boolean;
31
- /**
32
- * Change checkmark icon to minus
33
- */
34
- partial: boolean;
35
- /**
36
- * Can be used like property or like slot
37
- */
38
- label: string;
39
- size?: SIZE_VAR;
40
- error?: string | boolean;
41
- hasFocus: boolean;
42
- /**
43
- * event 'onEventChange'
44
- */
45
- changeEvent: EventEmitter<boolean>;
46
- /**
47
- * event 'onEventInput'
48
- */
49
- inputEvent: EventEmitter<boolean>;
50
- /**
51
- * event 'onEventFocus'
52
- */
53
- focusEvent: EventEmitter<void>;
54
- /**
55
- * event 'onEventBlur'
56
- */
57
- blurEvent: EventEmitter<void>;
58
- constructor();
59
- connectedCallback(): void;
60
- onCheckedChange(newValue: boolean): void;
61
- private onInput;
62
- private onChange;
63
- private onFocus;
64
- private onBlur;
65
- render(): any;
66
- componentDidLoad(): void;
67
- componentDidUpdate(): void;
68
- formResetCallback(): void;
69
- formStateRestoreCallback(state: string): void;
70
- }
@@ -1,9 +0,0 @@
1
- export declare class XvLink {
2
- href: string;
3
- target: '_self' | '_blank' | '_parent' | '_top';
4
- disabled: boolean;
5
- size: 'sm' | 'md' | 'lg';
6
- variant: 'standalone' | 'inline';
7
- preventLinkHandler(e: PointerEvent): void;
8
- render(): any;
9
- }
@@ -1,7 +0,0 @@
1
- export declare class XvProgressIndicator {
2
- el: HTMLElement;
3
- progress: number;
4
- updateChildItems(): void;
5
- componentDidLoad(): void;
6
- render(): any;
7
- }
@@ -1,5 +0,0 @@
1
- export declare class XvProgressIndicatorItem {
2
- el: HTMLElement;
3
- done: boolean;
4
- render(): any;
5
- }
@@ -1,16 +0,0 @@
1
- export declare enum TABLE_COLOR_SCHEMA {
2
- DEF = "",
3
- ZEBRA = "zebra"
4
- }
5
- export declare enum TABLE_SIZE {
6
- EXTRA_SMALL = "xs",
7
- SMALL = "sm",
8
- MEDIUM = "md",
9
- LARGE = "lg",
10
- EXTRA_LARGE = "xl"
11
- }
12
- export type TableSelectionEvent = CustomEvent<{
13
- name: string;
14
- checked: boolean;
15
- value?: string;
16
- }>;
@@ -1,3 +0,0 @@
1
- export declare class XvTableCol {
2
- render(): any;
3
- }
@@ -1,25 +0,0 @@
1
- import { EventEmitter } from '../../../stencil-public-runtime';
2
- export declare class XvTableHeaderRow {
3
- el: HTMLElement;
4
- /**
5
- * Checkbox row name
6
- */
7
- selectionName?: string;
8
- /**
9
- * Checkbox row selected partially
10
- */
11
- partial?: boolean;
12
- /**
13
- * Checkbox row checked
14
- */
15
- checked?: boolean;
16
- cols: number;
17
- checkedChange: EventEmitter<{
18
- name: string;
19
- value?: string;
20
- checked: boolean;
21
- }>;
22
- private slotChangeHandle;
23
- private checkboxChange;
24
- render(): any;
25
- }