@xplortech/apollo-core 1.0.0-beta.7 → 1.0.0-beta.8

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 (137) hide show
  1. package/build/style.css +4 -55
  2. package/dist/apollo-core/apollo-core.css +5 -5
  3. package/dist/apollo-core/apollo-core.esm.js +1 -1
  4. package/dist/apollo-core/p-10f00380.entry.js +1 -0
  5. package/dist/apollo-core/p-26ec64fe.entry.js +1 -0
  6. package/dist/apollo-core/p-2f90296c.js +2 -2
  7. package/dist/apollo-core/p-31acfdb4.entry.js +1 -0
  8. package/dist/apollo-core/p-4184ac44.entry.js +1 -0
  9. package/dist/apollo-core/{p-dad11011.entry.js → p-4fa14839.entry.js} +1 -1
  10. package/dist/apollo-core/p-55b87345.js +2 -0
  11. package/dist/apollo-core/p-63a6c98a.entry.js +1 -0
  12. package/dist/apollo-core/p-68c33b77.entry.js +1 -0
  13. package/dist/apollo-core/{p-a7cc4114.entry.js → p-78d07caf.entry.js} +1 -1
  14. package/dist/apollo-core/p-796957d3.entry.js +1 -0
  15. package/dist/apollo-core/p-88160d68.entry.js +1 -0
  16. package/dist/apollo-core/p-9ec318bb.entry.js +1 -0
  17. package/dist/apollo-core/p-a2a34e44.entry.js +1 -0
  18. package/dist/apollo-core/p-beea2502.entry.js +1 -0
  19. package/dist/apollo-core/p-d499e43f.entry.js +1 -0
  20. package/dist/apollo-core/{p-c8af4ed6.entry.js → p-d8a3d94c.entry.js} +1 -1
  21. package/dist/apollo-core/p-e047b446.entry.js +1 -0
  22. package/dist/cjs/apollo-core.cjs.js +6 -2
  23. package/dist/cjs/{index-acf3dd7a.js → index-2ab4832e.js} +592 -215
  24. package/dist/cjs/loader.cjs.js +3 -2
  25. package/dist/cjs/xpl-application-shell.cjs.entry.js +2 -13
  26. package/dist/cjs/xpl-avatar_12.cjs.entry.js +72 -38
  27. package/dist/cjs/xpl-backdrop.cjs.entry.js +1 -5
  28. package/dist/cjs/xpl-button-row.cjs.entry.js +4 -1
  29. package/dist/cjs/xpl-choicelist.cjs.entry.js +8 -1
  30. package/dist/cjs/xpl-divider.cjs.entry.js +2 -1
  31. package/dist/cjs/xpl-dropdown-group_3.cjs.entry.js +7 -1
  32. package/dist/cjs/xpl-dropdown_2.cjs.entry.js +8 -9
  33. package/dist/cjs/xpl-grid-item.cjs.entry.js +1 -1
  34. package/dist/cjs/xpl-grid.cjs.entry.js +1 -1
  35. package/dist/cjs/xpl-input.cjs.entry.js +615 -501
  36. package/dist/cjs/xpl-list.cjs.entry.js +1 -23
  37. package/dist/cjs/xpl-main-nav.cjs.entry.js +1 -4
  38. package/dist/cjs/xpl-pagination.cjs.entry.js +5 -2
  39. package/dist/cjs/xpl-select.cjs.entry.js +7 -22
  40. package/dist/cjs/xpl-toggle.cjs.entry.js +7 -4
  41. package/dist/collection/collection-manifest.json +2 -2
  42. package/dist/collection/components/xpl-application-shell/xpl-application-shell.js +118 -132
  43. package/dist/collection/components/xpl-avatar/xpl-avatar.js +150 -144
  44. package/dist/collection/components/xpl-backdrop/xpl-backdrop.js +26 -28
  45. package/dist/collection/components/xpl-badge/xpl-badge.js +43 -39
  46. package/dist/collection/components/xpl-breadcrumbs/xpl-breadcrumb-item/xpl-breadcrumb-item.js +2 -5
  47. package/dist/collection/components/xpl-breadcrumbs/xpl-breadcrumbs/xpl-breadcrumbs.js +2 -5
  48. package/dist/collection/components/xpl-button/xpl-button.js +204 -205
  49. package/dist/collection/components/xpl-button-row/xpl-button-row.js +105 -104
  50. package/dist/collection/components/xpl-checkbox/xpl-checkbox.js +181 -171
  51. package/dist/collection/components/xpl-choicelist/xpl-choicelist.js +133 -126
  52. package/dist/collection/components/xpl-content-area/xpl-content-area.js +27 -31
  53. package/dist/collection/components/xpl-divider/xpl-divider.js +26 -23
  54. package/dist/collection/components/xpl-dropdown/xpl-dropdown-group/xpl-dropdown-group.js +46 -42
  55. package/dist/collection/components/xpl-dropdown/xpl-dropdown-heading/xpl-dropdown-heading.js +26 -22
  56. package/dist/collection/components/xpl-dropdown/xpl-dropdown-option/xpl-dropdown-option.js +60 -54
  57. package/dist/collection/components/xpl-dropdown/xpl-dropdown.js +170 -167
  58. package/dist/collection/components/xpl-grid/xpl-grid.js +1 -1
  59. package/dist/collection/components/xpl-grid-item/xpl-grid-item.js +75 -74
  60. package/dist/collection/components/xpl-input/xpl-input.js +404 -417
  61. package/dist/collection/components/xpl-list/xpl-list.js +42 -75
  62. package/dist/collection/components/xpl-main-nav/xpl-main-nav.js +47 -54
  63. package/dist/collection/components/xpl-nav-item/xpl-nav-item.js +47 -49
  64. package/dist/collection/components/xpl-pagination/xpl-pagination.js +116 -128
  65. package/dist/collection/components/xpl-radio/xpl-radio.js +157 -148
  66. package/dist/collection/components/xpl-secondary-nav/xpl-secondary-nav.js +2 -4
  67. package/dist/collection/components/xpl-select/xpl-select.js +212 -238
  68. package/dist/collection/components/xpl-table/xpl-table.js +168 -151
  69. package/dist/collection/components/xpl-tag/xpl-tag.js +24 -25
  70. package/dist/collection/components/xpl-toggle/xpl-toggle.js +137 -135
  71. package/dist/collection/components/xpl-utility-bar/xpl-utility-bar.js +73 -70
  72. package/dist/custom-elements/index.js +756 -641
  73. package/dist/esm/apollo-core.js +3 -2
  74. package/dist/esm/{index-e3c4bb97.js → index-392b5b96.js} +592 -216
  75. package/dist/esm/loader.js +3 -2
  76. package/dist/esm/polyfills/css-shim.js +1 -1
  77. package/dist/esm/xpl-application-shell.entry.js +2 -13
  78. package/dist/esm/xpl-avatar_12.entry.js +72 -38
  79. package/dist/esm/xpl-backdrop.entry.js +1 -5
  80. package/dist/esm/xpl-button-row.entry.js +4 -1
  81. package/dist/esm/xpl-choicelist.entry.js +8 -1
  82. package/dist/esm/xpl-divider.entry.js +2 -1
  83. package/dist/esm/xpl-dropdown-group_3.entry.js +7 -1
  84. package/dist/esm/xpl-dropdown_2.entry.js +8 -9
  85. package/dist/esm/xpl-grid-item.entry.js +1 -1
  86. package/dist/esm/xpl-grid.entry.js +1 -1
  87. package/dist/esm/xpl-input.entry.js +615 -501
  88. package/dist/esm/xpl-list.entry.js +1 -23
  89. package/dist/esm/xpl-main-nav.entry.js +1 -4
  90. package/dist/esm/xpl-pagination.entry.js +5 -2
  91. package/dist/esm/xpl-select.entry.js +7 -22
  92. package/dist/esm/xpl-toggle.entry.js +7 -4
  93. package/dist/types/components/xpl-dropdown/dropdownoption.d.ts +1 -1
  94. package/dist/types/components/xpl-table/xpl-table.d.ts +2 -0
  95. package/dist/types/components.d.ts +47 -11
  96. package/dist/types/stencil-public-runtime.d.ts +85 -11
  97. package/loader/index.d.ts +9 -1
  98. package/loader/package.json +1 -0
  99. package/package.json +1 -1
  100. package/dist/apollo-core/p-25f84d39.entry.js +0 -1
  101. package/dist/apollo-core/p-2ce2fe5c.entry.js +0 -1
  102. package/dist/apollo-core/p-3ff1ff38.entry.js +0 -1
  103. package/dist/apollo-core/p-63dd9a65.entry.js +0 -1
  104. package/dist/apollo-core/p-6c3c1e3d.entry.js +0 -1
  105. package/dist/apollo-core/p-81a6ce4c.entry.js +0 -1
  106. package/dist/apollo-core/p-918b0731.entry.js +0 -1
  107. package/dist/apollo-core/p-a43e2d1f.entry.js +0 -1
  108. package/dist/apollo-core/p-b6d1b135.entry.js +0 -1
  109. package/dist/apollo-core/p-bc0ebed2.entry.js +0 -1
  110. package/dist/apollo-core/p-d4aa2fa9.js +0 -1
  111. package/dist/apollo-core/p-d4e5d3aa.entry.js +0 -1
  112. package/dist/apollo-core/p-db74c99c.entry.js +0 -1
  113. package/dist/apollo-core/p-ee16942f.entry.js +0 -1
  114. /package/dist/types/Users/{roc/Sites → fernandogelin/Xplor}/apollo/.stencil/stories/application-shell.stories.d.ts +0 -0
  115. /package/dist/types/Users/{roc/Sites → fernandogelin/Xplor}/apollo/.stencil/stories/avatar.stories.d.ts +0 -0
  116. /package/dist/types/Users/{roc/Sites → fernandogelin/Xplor}/apollo/.stencil/stories/backdrop.stories.d.ts +0 -0
  117. /package/dist/types/Users/{roc/Sites → fernandogelin/Xplor}/apollo/.stencil/stories/badge.stories.d.ts +0 -0
  118. /package/dist/types/Users/{roc/Sites → fernandogelin/Xplor}/apollo/.stencil/stories/breadcrumbs.stories.d.ts +0 -0
  119. /package/dist/types/Users/{roc/Sites → fernandogelin/Xplor}/apollo/.stencil/stories/button-row.stories.d.ts +0 -0
  120. /package/dist/types/Users/{roc/Sites → fernandogelin/Xplor}/apollo/.stencil/stories/button.stories.d.ts +0 -0
  121. /package/dist/types/Users/{roc/Sites → fernandogelin/Xplor}/apollo/.stencil/stories/checkbox.stories.d.ts +0 -0
  122. /package/dist/types/Users/{roc/Sites → fernandogelin/Xplor}/apollo/.stencil/stories/choicelist.stories.d.ts +0 -0
  123. /package/dist/types/Users/{roc/Sites → fernandogelin/Xplor}/apollo/.stencil/stories/content-area.stories.d.ts +0 -0
  124. /package/dist/types/Users/{roc/Sites → fernandogelin/Xplor}/apollo/.stencil/stories/divider.stories.d.ts +0 -0
  125. /package/dist/types/Users/{roc/Sites → fernandogelin/Xplor}/apollo/.stencil/stories/dropdown.stories.d.ts +0 -0
  126. /package/dist/types/Users/{roc/Sites → fernandogelin/Xplor}/apollo/.stencil/stories/grid.stories.d.ts +0 -0
  127. /package/dist/types/Users/{roc/Sites → fernandogelin/Xplor}/apollo/.stencil/stories/input.stories.d.ts +0 -0
  128. /package/dist/types/Users/{roc/Sites → fernandogelin/Xplor}/apollo/.stencil/stories/list.stories.d.ts +0 -0
  129. /package/dist/types/Users/{roc/Sites → fernandogelin/Xplor}/apollo/.stencil/stories/main-nav.stories.d.ts +0 -0
  130. /package/dist/types/Users/{roc/Sites → fernandogelin/Xplor}/apollo/.stencil/stories/pagination.stories.d.ts +0 -0
  131. /package/dist/types/Users/{roc/Sites → fernandogelin/Xplor}/apollo/.stencil/stories/radio.stories.d.ts +0 -0
  132. /package/dist/types/Users/{roc/Sites → fernandogelin/Xplor}/apollo/.stencil/stories/secondary-nav.stories.d.ts +0 -0
  133. /package/dist/types/Users/{roc/Sites → fernandogelin/Xplor}/apollo/.stencil/stories/select.stories.d.ts +0 -0
  134. /package/dist/types/Users/{roc/Sites → fernandogelin/Xplor}/apollo/.stencil/stories/table.stories.d.ts +0 -0
  135. /package/dist/types/Users/{roc/Sites → fernandogelin/Xplor}/apollo/.stencil/stories/tabs.stories.d.ts +0 -0
  136. /package/dist/types/Users/{roc/Sites → fernandogelin/Xplor}/apollo/.stencil/stories/toggle.stories.d.ts +0 -0
  137. /package/dist/types/Users/{roc/Sites → fernandogelin/Xplor}/apollo/.stencil/stories/utility-bar.stories.d.ts +0 -0
@@ -1,7 +1,14 @@
1
- import { Component, Host, h, Prop } from '@stencil/core';
1
+ import { Host, h } from '@stencil/core';
2
2
  export class XplAvatar {
3
3
  constructor() {
4
+ this.color = undefined;
4
5
  this.disabled = false;
6
+ this.href = undefined;
7
+ this.name = undefined;
8
+ this.size = undefined;
9
+ this.src = undefined;
10
+ this.status = undefined;
11
+ this.target = undefined;
5
12
  }
6
13
  render() {
7
14
  let className = 'xpl-avatar';
@@ -9,150 +16,149 @@ export class XplAvatar {
9
16
  className += ` xpl-avatar--${this.size}`;
10
17
  if (this.color)
11
18
  className += ` xpl-avatar--${this.color}`;
12
- const inner = (h("div", null,
13
- this.src ? (h("img", { alt: this.name, src: this.src })) : (h("div", { class: "xpl-avatar__placeholder" },
14
- h("slot", null))),
15
- this.status && (h("div", { class: `xpl-avatar__dot--${this.status}` }))));
19
+ const inner = (h("div", null, this.src ? (h("img", { alt: this.name, src: this.src })) : (h("div", { class: "xpl-avatar__placeholder" }, h("slot", null))), this.status && (h("div", { class: `xpl-avatar__dot--${this.status}` }))));
16
20
  return (h(Host, null, this.href && !this.disabled ? (h("a", { href: this.href, class: className, target: this.target }, inner)) : this.href && this.disabled ? (h("div", { class: className + ' xpl-avatar--disabled' }, inner)) : (h("div", { class: className }, inner))));
17
21
  }
18
22
  static get is() { return "xpl-avatar"; }
19
- static get properties() { return {
20
- "color": {
21
- "type": "string",
22
- "mutable": false,
23
- "complexType": {
24
- "original": "'green' | 'yellow' | 'pink' | 'primary' | 'secondary'",
25
- "resolved": "\"green\" | \"pink\" | \"primary\" | \"secondary\" | \"yellow\"",
26
- "references": {}
27
- },
28
- "required": false,
29
- "optional": true,
30
- "docs": {
31
- "tags": [],
32
- "text": ""
33
- },
34
- "attribute": "color",
35
- "reflect": false
36
- },
37
- "disabled": {
38
- "type": "boolean",
39
- "mutable": false,
40
- "complexType": {
41
- "original": "boolean",
42
- "resolved": "boolean",
43
- "references": {}
44
- },
45
- "required": false,
46
- "optional": true,
47
- "docs": {
48
- "tags": [],
49
- "text": ""
50
- },
51
- "attribute": "disabled",
52
- "reflect": false,
53
- "defaultValue": "false"
54
- },
55
- "href": {
56
- "type": "string",
57
- "mutable": false,
58
- "complexType": {
59
- "original": "string",
60
- "resolved": "string",
61
- "references": {}
62
- },
63
- "required": false,
64
- "optional": true,
65
- "docs": {
66
- "tags": [],
67
- "text": ""
68
- },
69
- "attribute": "href",
70
- "reflect": false
71
- },
72
- "name": {
73
- "type": "string",
74
- "mutable": false,
75
- "complexType": {
76
- "original": "string",
77
- "resolved": "string",
78
- "references": {}
79
- },
80
- "required": false,
81
- "optional": true,
82
- "docs": {
83
- "tags": [],
84
- "text": ""
85
- },
86
- "attribute": "name",
87
- "reflect": false
88
- },
89
- "size": {
90
- "type": "string",
91
- "mutable": false,
92
- "complexType": {
93
- "original": "'md' | 'sm'",
94
- "resolved": "\"md\" | \"sm\"",
95
- "references": {}
96
- },
97
- "required": false,
98
- "optional": true,
99
- "docs": {
100
- "tags": [],
101
- "text": ""
102
- },
103
- "attribute": "size",
104
- "reflect": false
105
- },
106
- "src": {
107
- "type": "string",
108
- "mutable": false,
109
- "complexType": {
110
- "original": "string",
111
- "resolved": "string",
112
- "references": {}
113
- },
114
- "required": false,
115
- "optional": true,
116
- "docs": {
117
- "tags": [],
118
- "text": ""
119
- },
120
- "attribute": "src",
121
- "reflect": false
122
- },
123
- "status": {
124
- "type": "string",
125
- "mutable": false,
126
- "complexType": {
127
- "original": "'active' | 'warning' | 'inactive'",
128
- "resolved": "\"active\" | \"inactive\" | \"warning\"",
129
- "references": {}
130
- },
131
- "required": false,
132
- "optional": true,
133
- "docs": {
134
- "tags": [],
135
- "text": ""
136
- },
137
- "attribute": "status",
138
- "reflect": false
139
- },
140
- "target": {
141
- "type": "string",
142
- "mutable": false,
143
- "complexType": {
144
- "original": "string",
145
- "resolved": "string",
146
- "references": {}
147
- },
148
- "required": false,
149
- "optional": true,
150
- "docs": {
151
- "tags": [],
152
- "text": ""
153
- },
154
- "attribute": "target",
155
- "reflect": false
156
- }
157
- }; }
23
+ static get properties() {
24
+ return {
25
+ "color": {
26
+ "type": "string",
27
+ "mutable": false,
28
+ "complexType": {
29
+ "original": "'green' | 'yellow' | 'pink' | 'primary' | 'secondary'",
30
+ "resolved": "\"green\" | \"pink\" | \"primary\" | \"secondary\" | \"yellow\"",
31
+ "references": {}
32
+ },
33
+ "required": false,
34
+ "optional": true,
35
+ "docs": {
36
+ "tags": [],
37
+ "text": ""
38
+ },
39
+ "attribute": "color",
40
+ "reflect": false
41
+ },
42
+ "disabled": {
43
+ "type": "boolean",
44
+ "mutable": false,
45
+ "complexType": {
46
+ "original": "boolean",
47
+ "resolved": "boolean",
48
+ "references": {}
49
+ },
50
+ "required": false,
51
+ "optional": true,
52
+ "docs": {
53
+ "tags": [],
54
+ "text": ""
55
+ },
56
+ "attribute": "disabled",
57
+ "reflect": false,
58
+ "defaultValue": "false"
59
+ },
60
+ "href": {
61
+ "type": "string",
62
+ "mutable": false,
63
+ "complexType": {
64
+ "original": "string",
65
+ "resolved": "string",
66
+ "references": {}
67
+ },
68
+ "required": false,
69
+ "optional": true,
70
+ "docs": {
71
+ "tags": [],
72
+ "text": ""
73
+ },
74
+ "attribute": "href",
75
+ "reflect": false
76
+ },
77
+ "name": {
78
+ "type": "string",
79
+ "mutable": false,
80
+ "complexType": {
81
+ "original": "string",
82
+ "resolved": "string",
83
+ "references": {}
84
+ },
85
+ "required": false,
86
+ "optional": true,
87
+ "docs": {
88
+ "tags": [],
89
+ "text": ""
90
+ },
91
+ "attribute": "name",
92
+ "reflect": false
93
+ },
94
+ "size": {
95
+ "type": "string",
96
+ "mutable": false,
97
+ "complexType": {
98
+ "original": "'md' | 'sm'",
99
+ "resolved": "\"md\" | \"sm\"",
100
+ "references": {}
101
+ },
102
+ "required": false,
103
+ "optional": true,
104
+ "docs": {
105
+ "tags": [],
106
+ "text": ""
107
+ },
108
+ "attribute": "size",
109
+ "reflect": false
110
+ },
111
+ "src": {
112
+ "type": "string",
113
+ "mutable": false,
114
+ "complexType": {
115
+ "original": "string",
116
+ "resolved": "string",
117
+ "references": {}
118
+ },
119
+ "required": false,
120
+ "optional": true,
121
+ "docs": {
122
+ "tags": [],
123
+ "text": ""
124
+ },
125
+ "attribute": "src",
126
+ "reflect": false
127
+ },
128
+ "status": {
129
+ "type": "string",
130
+ "mutable": false,
131
+ "complexType": {
132
+ "original": "'active' | 'warning' | 'inactive'",
133
+ "resolved": "\"active\" | \"inactive\" | \"warning\"",
134
+ "references": {}
135
+ },
136
+ "required": false,
137
+ "optional": true,
138
+ "docs": {
139
+ "tags": [],
140
+ "text": ""
141
+ },
142
+ "attribute": "status",
143
+ "reflect": false
144
+ },
145
+ "target": {
146
+ "type": "string",
147
+ "mutable": false,
148
+ "complexType": {
149
+ "original": "string",
150
+ "resolved": "string",
151
+ "references": {}
152
+ },
153
+ "required": false,
154
+ "optional": true,
155
+ "docs": {
156
+ "tags": [],
157
+ "text": ""
158
+ },
159
+ "attribute": "target",
160
+ "reflect": false
161
+ }
162
+ };
163
+ }
158
164
  }
@@ -1,10 +1,6 @@
1
- import { Component, Host, h, Prop } from '@stencil/core';
1
+ import { Host, h } from '@stencil/core';
2
2
  export class XplBackdrop {
3
3
  constructor() {
4
- /**
5
- * @property {boolean} - When true, backdrop will have relative position. This is useful when the backdrop doesn't cover the whole view area.
6
- * If false, the position will be fixed and cover the whole view area.
7
- */
8
4
  this.relative = false;
9
5
  }
10
6
  render() {
@@ -15,27 +11,29 @@ export class XplBackdrop {
15
11
  }, "aria-hidden": "true" }));
16
12
  }
17
13
  static get is() { return "xpl-backdrop"; }
18
- static get properties() { return {
19
- "relative": {
20
- "type": "boolean",
21
- "mutable": false,
22
- "complexType": {
23
- "original": "boolean",
24
- "resolved": "boolean",
25
- "references": {}
26
- },
27
- "required": false,
28
- "optional": false,
29
- "docs": {
30
- "tags": [{
31
- "text": "{boolean} - When true, backdrop will have relative position. This is useful when the backdrop doesn't cover the whole view area.\nIf false, the position will be fixed and cover the whole view area.",
32
- "name": "property"
33
- }],
34
- "text": ""
35
- },
36
- "attribute": "relative",
37
- "reflect": false,
38
- "defaultValue": "false"
39
- }
40
- }; }
14
+ static get properties() {
15
+ return {
16
+ "relative": {
17
+ "type": "boolean",
18
+ "mutable": false,
19
+ "complexType": {
20
+ "original": "boolean",
21
+ "resolved": "boolean",
22
+ "references": {}
23
+ },
24
+ "required": false,
25
+ "optional": false,
26
+ "docs": {
27
+ "tags": [{
28
+ "name": "property",
29
+ "text": "{boolean} - When true, backdrop will have relative position. This is useful when the backdrop doesn't cover the whole view area.\nIf false, the position will be fixed and cover the whole view area."
30
+ }],
31
+ "text": ""
32
+ },
33
+ "attribute": "relative",
34
+ "reflect": false,
35
+ "defaultValue": "false"
36
+ }
37
+ };
38
+ }
41
39
  }
@@ -1,50 +1,54 @@
1
- import { Component, Host, h, Prop } from '@stencil/core';
1
+ import { Host, h } from '@stencil/core';
2
2
  export class XplBadge {
3
+ constructor() {
4
+ this.dot = undefined;
5
+ this.variant = undefined;
6
+ }
3
7
  render() {
4
8
  let className = 'xpl-badge';
5
9
  if (this.dot)
6
10
  className += ' xpl-badge--dot';
7
11
  if (this.variant)
8
12
  className += ' xpl-badge--' + this.variant;
9
- return (h(Host, null,
10
- h("div", { class: className },
11
- h("slot", null))));
13
+ return (h(Host, null, h("div", { class: className }, h("slot", null))));
12
14
  }
13
15
  static get is() { return "xpl-badge"; }
14
- static get properties() { return {
15
- "dot": {
16
- "type": "boolean",
17
- "mutable": false,
18
- "complexType": {
19
- "original": "boolean",
20
- "resolved": "boolean",
21
- "references": {}
22
- },
23
- "required": false,
24
- "optional": true,
25
- "docs": {
26
- "tags": [],
27
- "text": ""
28
- },
29
- "attribute": "dot",
30
- "reflect": false
31
- },
32
- "variant": {
33
- "type": "string",
34
- "mutable": false,
35
- "complexType": {
36
- "original": "'success' | 'warning' | 'inactive' | 'error'",
37
- "resolved": "\"error\" | \"inactive\" | \"success\" | \"warning\"",
38
- "references": {}
16
+ static get properties() {
17
+ return {
18
+ "dot": {
19
+ "type": "boolean",
20
+ "mutable": false,
21
+ "complexType": {
22
+ "original": "boolean",
23
+ "resolved": "boolean",
24
+ "references": {}
25
+ },
26
+ "required": false,
27
+ "optional": true,
28
+ "docs": {
29
+ "tags": [],
30
+ "text": ""
31
+ },
32
+ "attribute": "dot",
33
+ "reflect": false
39
34
  },
40
- "required": false,
41
- "optional": true,
42
- "docs": {
43
- "tags": [],
44
- "text": ""
45
- },
46
- "attribute": "variant",
47
- "reflect": false
48
- }
49
- }; }
35
+ "variant": {
36
+ "type": "string",
37
+ "mutable": false,
38
+ "complexType": {
39
+ "original": "'success' | 'warning' | 'inactive' | 'error'",
40
+ "resolved": "\"error\" | \"inactive\" | \"success\" | \"warning\"",
41
+ "references": {}
42
+ },
43
+ "required": false,
44
+ "optional": true,
45
+ "docs": {
46
+ "tags": [],
47
+ "text": ""
48
+ },
49
+ "attribute": "variant",
50
+ "reflect": false
51
+ }
52
+ };
53
+ }
50
54
  }
@@ -1,4 +1,4 @@
1
- import { Component, Host, h } from '@stencil/core';
1
+ import { Host, h } from '@stencil/core';
2
2
  /**
3
3
  * @slot unnamed - content rendered inside <li>, should be link or button (styled as link)
4
4
  */
@@ -11,10 +11,7 @@ export class XplBreadcrumbItem {
11
11
  `;
12
12
  }
13
13
  render() {
14
- return (h(Host, { class: "xpl-breadcrumb-item", role: "listitem" },
15
- h("li", { role: "none" },
16
- h("slot", null)),
17
- h("span", { innerHTML: `${this.chevron}` })));
14
+ return (h(Host, { class: "xpl-breadcrumb-item", role: "listitem" }, h("li", { role: "none" }, h("slot", null)), h("span", { innerHTML: `${this.chevron}` })));
18
15
  }
19
16
  static get is() { return "xpl-breadcrumb-item"; }
20
17
  }
@@ -1,13 +1,10 @@
1
- import { Component, Host, h } from '@stencil/core';
1
+ import { Host, h } from '@stencil/core';
2
2
  /**
3
3
  * @slot unnamed - content rendered <ol>, should be a group of <li> or <xpl-breadcrumb-item>
4
4
  */
5
5
  export class XplBreadcrumbs {
6
6
  render() {
7
- return (h(Host, null,
8
- h("nav", { class: "xpl-breadcrumbs", "aria-label": "Breadcrumb" },
9
- h("ol", { role: "list" },
10
- h("slot", null)))));
7
+ return (h(Host, null, h("nav", { class: "xpl-breadcrumbs", "aria-label": "Breadcrumb" }, h("ol", { role: "list" }, h("slot", null)))));
11
8
  }
12
9
  static get is() { return "xpl-breadcrumbs"; }
13
10
  }