xv-webcomponents 0.1.23 → 0.1.25
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/LICENSE +21 -21
- package/README.md +129 -129
- package/package.json +51 -51
- package/dist/cjs/app-globals-3a1e7e63.js +0 -7
- package/dist/cjs/app-globals-3a1e7e63.js.map +0 -1
- package/dist/cjs/index-782b9733.js +0 -1535
- package/dist/cjs/index-782b9733.js.map +0 -1
- package/dist/cjs/index.cjs.js +0 -11
- package/dist/cjs/index.cjs.js.map +0 -1
- package/dist/cjs/loader.cjs.js +0 -17
- package/dist/cjs/loader.cjs.js.map +0 -1
- package/dist/cjs/utils-c7652b74.js +0 -13
- package/dist/cjs/utils-c7652b74.js.map +0 -1
- package/dist/cjs/xv-accordion-v2_16.cjs.entry.js +0 -663
- package/dist/cjs/xv-accordion-v2_16.cjs.entry.js.map +0 -1
- package/dist/cjs/xv-breadcrumbs-v2.cjs.entry.js +0 -22
- package/dist/cjs/xv-breadcrumbs-v2.cjs.entry.js.map +0 -1
- package/dist/cjs/xv-webcomponents.cjs.js +0 -27
- package/dist/cjs/xv-webcomponents.cjs.js.map +0 -1
- package/dist/collection/assets/fonts/fontawesome5/fa-brands-400.svg +0 -3717
- package/dist/collection/assets/fonts/fontawesome5/fa-duotone-900.svg +0 -15326
- package/dist/collection/assets/fonts/fontawesome5/fa-light-300.svg +0 -12420
- package/dist/collection/assets/fonts/fontawesome5/fa-regular-400.svg +0 -11323
- package/dist/collection/assets/fonts/fontawesome5/fa-solid-900.svg +0 -9653
- package/dist/collection/collection-manifest.json +0 -28
- package/dist/collection/components/xv-accordion/xv-accordion.css +0 -3
- package/dist/collection/components/xv-accordion/xv-accordion.js +0 -163
- package/dist/collection/components/xv-accordion/xv-accordion.js.map +0 -1
- package/dist/collection/components/xv-accordion-item/xv-accordion-item.css +0 -68
- package/dist/collection/components/xv-accordion-item/xv-accordion-item.js +0 -132
- package/dist/collection/components/xv-accordion-item/xv-accordion-item.js.map +0 -1
- package/dist/collection/components/xv-breadcrumbs/xv-breadcrumbs.css +0 -3
- package/dist/collection/components/xv-breadcrumbs/xv-breadcrumbs.js +0 -19
- package/dist/collection/components/xv-breadcrumbs/xv-breadcrumbs.js.map +0 -1
- package/dist/collection/components/xv-button/xv-button-v2.css +0 -153
- package/dist/collection/components/xv-button/xv-button.js +0 -138
- package/dist/collection/components/xv-button/xv-button.js.map +0 -1
- package/dist/collection/components/xv-card/xv-card.css +0 -63
- package/dist/collection/components/xv-card/xv-card.js +0 -122
- package/dist/collection/components/xv-card/xv-card.js.map +0 -1
- package/dist/collection/components/xv-checkbox/xv-checkbox.css +0 -108
- package/dist/collection/components/xv-checkbox/xv-checkbox.js +0 -376
- package/dist/collection/components/xv-checkbox/xv-checkbox.js.map +0 -1
- package/dist/collection/components/xv-footer/xv-footer.css +0 -230
- package/dist/collection/components/xv-footer/xv-footer.js +0 -37
- package/dist/collection/components/xv-footer/xv-footer.js.map +0 -1
- package/dist/collection/components/xv-header/xv-header.css +0 -22587
- package/dist/collection/components/xv-header/xv-header.js +0 -46
- package/dist/collection/components/xv-header/xv-header.js.map +0 -1
- package/dist/collection/components/xv-link/xv-link.css +0 -60
- package/dist/collection/components/xv-link/xv-link.js +0 -132
- package/dist/collection/components/xv-link/xv-link.js.map +0 -1
- package/dist/collection/components/xv-progress-indicator/xv-progress-indicator.css +0 -7
- package/dist/collection/components/xv-progress-indicator/xv-progress-indicator.js +0 -70
- package/dist/collection/components/xv-progress-indicator/xv-progress-indicator.js.map +0 -1
- package/dist/collection/components/xv-progress-indicator-item/xv-progress-indicator-item.css +0 -66
- package/dist/collection/components/xv-progress-indicator-item/xv-progress-indicator-item.js +0 -47
- package/dist/collection/components/xv-progress-indicator-item/xv-progress-indicator-item.js.map +0 -1
- package/dist/collection/components/xv-table/defs.js +0 -14
- package/dist/collection/components/xv-table/defs.js.map +0 -1
- package/dist/collection/components/xv-table/xv-table-col/xv-table-col.css +0 -8
- package/dist/collection/components/xv-table/xv-table-col/xv-table-col.js +0 -19
- package/dist/collection/components/xv-table/xv-table-col/xv-table-col.js.map +0 -1
- package/dist/collection/components/xv-table/xv-table-header-row/xv-table-header-row.css +0 -21
- package/dist/collection/components/xv-table/xv-table-header-row/xv-table-header-row.js +0 -122
- package/dist/collection/components/xv-table/xv-table-header-row/xv-table-header-row.js.map +0 -1
- package/dist/collection/components/xv-table/xv-table-row/xv-table-row.css +0 -53
- package/dist/collection/components/xv-table/xv-table-row/xv-table-row.js +0 -299
- package/dist/collection/components/xv-table/xv-table-row/xv-table-row.js.map +0 -1
- package/dist/collection/components/xv-table/xv-table.css +0 -154
- package/dist/collection/components/xv-table/xv-table.js +0 -245
- package/dist/collection/components/xv-table/xv-table.js.map +0 -1
- package/dist/collection/components/xv-tag/xv-tag.css +0 -97
- package/dist/collection/components/xv-tag/xv-tag.js +0 -158
- package/dist/collection/components/xv-tag/xv-tag.js.map +0 -1
- package/dist/collection/components/xv-tooltip/xv-tooltip.css +0 -154
- package/dist/collection/components/xv-tooltip/xv-tooltip.js +0 -70
- package/dist/collection/components/xv-tooltip/xv-tooltip.js.map +0 -1
- package/dist/collection/index.js +0 -11
- package/dist/collection/index.js.map +0 -1
- package/dist/collection/scss/xv/images/xv-sprite.svg +0 -1
- package/dist/collection/scss/xv/sprite/images/xv-sprite.svg +0 -1
- package/dist/collection/types/enum.js +0 -9
- package/dist/collection/types/enum.js.map +0 -1
- package/dist/collection/utils/utils.js +0 -14
- package/dist/collection/utils/utils.js.map +0 -1
- package/dist/esm/app-globals-0f993ce5.js +0 -5
- package/dist/esm/app-globals-0f993ce5.js.map +0 -1
- package/dist/esm/index-83ab73b7.js +0 -1506
- package/dist/esm/index-83ab73b7.js.map +0 -1
- package/dist/esm/index.js +0 -3
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/loader.js +0 -13
- package/dist/esm/loader.js.map +0 -1
- package/dist/esm/utils-9bb6333b.js +0 -10
- package/dist/esm/utils-9bb6333b.js.map +0 -1
- package/dist/esm/xv-accordion-v2_16.entry.js +0 -644
- package/dist/esm/xv-accordion-v2_16.entry.js.map +0 -1
- package/dist/esm/xv-breadcrumbs-v2.entry.js +0 -18
- package/dist/esm/xv-breadcrumbs-v2.entry.js.map +0 -1
- package/dist/esm/xv-webcomponents.js +0 -22
- package/dist/esm/xv-webcomponents.js.map +0 -1
- package/dist/index.cjs.js +0 -1
- package/dist/index.js +0 -1
- package/dist/types/components/xv-accordion/xv-accordion.d.ts +0 -20
- package/dist/types/components/xv-accordion-item/xv-accordion-item.d.ts +0 -15
- package/dist/types/components/xv-breadcrumbs/xv-breadcrumbs.d.ts +0 -3
- package/dist/types/components/xv-button/xv-button.d.ts +0 -16
- package/dist/types/components/xv-card/xv-card.d.ts +0 -8
- package/dist/types/components/xv-checkbox/xv-checkbox.d.ts +0 -70
- package/dist/types/components/xv-footer/xv-footer.d.ts +0 -6
- package/dist/types/components/xv-header/xv-header.d.ts +0 -6
- package/dist/types/components/xv-link/xv-link.d.ts +0 -9
- package/dist/types/components/xv-progress-indicator/xv-progress-indicator.d.ts +0 -7
- package/dist/types/components/xv-progress-indicator-item/xv-progress-indicator-item.d.ts +0 -5
- package/dist/types/components/xv-table/defs.d.ts +0 -16
- package/dist/types/components/xv-table/xv-table-col/xv-table-col.d.ts +0 -3
- package/dist/types/components/xv-table/xv-table-header-row/xv-table-header-row.d.ts +0 -25
- package/dist/types/components/xv-table/xv-table-row/xv-table-row.d.ts +0 -59
- package/dist/types/components/xv-table/xv-table.d.ts +0 -40
- package/dist/types/components/xv-tag/xv-tag.d.ts +0 -11
- package/dist/types/components/xv-tooltip/xv-tooltip.d.ts +0 -11
- package/dist/types/components.d.ts +0 -705
- package/dist/types/index.d.ts +0 -11
- package/dist/types/stencil-public-runtime.d.ts +0 -1680
- package/dist/types/types/enum.d.ts +0 -7
- package/dist/types/utils/utils.d.ts +0 -9
- package/dist/xv-webcomponents/index.esm.js +0 -2
- package/dist/xv-webcomponents/index.esm.js.map +0 -1
- package/dist/xv-webcomponents/p-59dc31ad.entry.js +0 -2
- package/dist/xv-webcomponents/p-59dc31ad.entry.js.map +0 -1
- package/dist/xv-webcomponents/p-840929c5.js +0 -3
- package/dist/xv-webcomponents/p-840929c5.js.map +0 -1
- package/dist/xv-webcomponents/p-a0b74d3c.js +0 -2
- package/dist/xv-webcomponents/p-a0b74d3c.js.map +0 -1
- package/dist/xv-webcomponents/p-c1cf7200.entry.js +0 -2
- package/dist/xv-webcomponents/p-c1cf7200.entry.js.map +0 -1
- package/dist/xv-webcomponents/p-e1255160.js +0 -2
- package/dist/xv-webcomponents/p-e1255160.js.map +0 -1
- package/dist/xv-webcomponents/xv-webcomponents.esm.js +0 -2
- package/dist/xv-webcomponents/xv-webcomponents.esm.js.map +0 -1
- package/loader/cdn.js +0 -1
- package/loader/index.cjs.js +0 -1
- package/loader/index.d.ts +0 -24
- package/loader/index.es2017.js +0 -1
- package/loader/index.js +0 -2
- package/loader/package.json +0 -11
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"entries": [
|
|
3
|
-
"components/xv-accordion/xv-accordion.js",
|
|
4
|
-
"components/xv-accordion-item/xv-accordion-item.js",
|
|
5
|
-
"components/xv-breadcrumbs/xv-breadcrumbs.js",
|
|
6
|
-
"components/xv-button/xv-button.js",
|
|
7
|
-
"components/xv-card/xv-card.js",
|
|
8
|
-
"components/xv-checkbox/xv-checkbox.js",
|
|
9
|
-
"components/xv-footer/xv-footer.js",
|
|
10
|
-
"components/xv-header/xv-header.js",
|
|
11
|
-
"components/xv-link/xv-link.js",
|
|
12
|
-
"components/xv-progress-indicator/xv-progress-indicator.js",
|
|
13
|
-
"components/xv-progress-indicator-item/xv-progress-indicator-item.js",
|
|
14
|
-
"components/xv-table/xv-table.js",
|
|
15
|
-
"components/xv-table/xv-table-col/xv-table-col.js",
|
|
16
|
-
"components/xv-table/xv-table-header-row/xv-table-header-row.js",
|
|
17
|
-
"components/xv-table/xv-table-row/xv-table-row.js",
|
|
18
|
-
"components/xv-tag/xv-tag.js",
|
|
19
|
-
"components/xv-tooltip/xv-tooltip.js"
|
|
20
|
-
],
|
|
21
|
-
"compiler": {
|
|
22
|
-
"name": "@stencil/core",
|
|
23
|
-
"version": "4.27.1",
|
|
24
|
-
"typescriptVersion": "5.5.4"
|
|
25
|
-
},
|
|
26
|
-
"collections": [],
|
|
27
|
-
"bundles": []
|
|
28
|
-
}
|
|
@@ -1,163 +0,0 @@
|
|
|
1
|
-
import { Host, h } from "@stencil/core";
|
|
2
|
-
import { uidGenerator } from "../../utils/utils";
|
|
3
|
-
export class XvAccordion {
|
|
4
|
-
constructor() {
|
|
5
|
-
this.multiple = false;
|
|
6
|
-
this.xvId = uidGenerator();
|
|
7
|
-
this.opened = new Set();
|
|
8
|
-
}
|
|
9
|
-
async toggleItem(value) {
|
|
10
|
-
if (this.opened.has(value)) {
|
|
11
|
-
this.opened.delete(value);
|
|
12
|
-
}
|
|
13
|
-
else {
|
|
14
|
-
if (!this.multiple)
|
|
15
|
-
this.opened.clear();
|
|
16
|
-
this.value = value;
|
|
17
|
-
this.opened.add(this.value);
|
|
18
|
-
}
|
|
19
|
-
this.accordionChange.emit({ opened: this.opened, id: this.xvId });
|
|
20
|
-
return { opened: this.opened, id: this.xvId };
|
|
21
|
-
}
|
|
22
|
-
componentWillLoad() {
|
|
23
|
-
if (this.value) {
|
|
24
|
-
return this.toggleItem(this.value);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
render() {
|
|
28
|
-
return (h(Host, { key: '6b539eab63d10cc42de359385c81757b921829eb', class: "xv-accordion", "data-id": this.xvId }, h("slot", { key: '2f5bb22ac2343cac1eae5931720a9b62cd3a383f' })));
|
|
29
|
-
}
|
|
30
|
-
static get is() { return "xv-accordion-v2"; }
|
|
31
|
-
static get encapsulation() { return "shadow"; }
|
|
32
|
-
static get originalStyleUrls() {
|
|
33
|
-
return {
|
|
34
|
-
"$": ["xv-accordion.scss"]
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
static get styleUrls() {
|
|
38
|
-
return {
|
|
39
|
-
"$": ["xv-accordion.css"]
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
static get properties() {
|
|
43
|
-
return {
|
|
44
|
-
"multiple": {
|
|
45
|
-
"type": "boolean",
|
|
46
|
-
"mutable": false,
|
|
47
|
-
"complexType": {
|
|
48
|
-
"original": "boolean",
|
|
49
|
-
"resolved": "boolean",
|
|
50
|
-
"references": {}
|
|
51
|
-
},
|
|
52
|
-
"required": false,
|
|
53
|
-
"optional": false,
|
|
54
|
-
"docs": {
|
|
55
|
-
"tags": [],
|
|
56
|
-
"text": ""
|
|
57
|
-
},
|
|
58
|
-
"getter": false,
|
|
59
|
-
"setter": false,
|
|
60
|
-
"attribute": "multiple",
|
|
61
|
-
"reflect": false,
|
|
62
|
-
"defaultValue": "false"
|
|
63
|
-
},
|
|
64
|
-
"xvId": {
|
|
65
|
-
"type": "string",
|
|
66
|
-
"mutable": false,
|
|
67
|
-
"complexType": {
|
|
68
|
-
"original": "string",
|
|
69
|
-
"resolved": "string",
|
|
70
|
-
"references": {}
|
|
71
|
-
},
|
|
72
|
-
"required": false,
|
|
73
|
-
"optional": false,
|
|
74
|
-
"docs": {
|
|
75
|
-
"tags": [],
|
|
76
|
-
"text": ""
|
|
77
|
-
},
|
|
78
|
-
"getter": false,
|
|
79
|
-
"setter": false,
|
|
80
|
-
"attribute": "xv-id",
|
|
81
|
-
"reflect": false,
|
|
82
|
-
"defaultValue": "uidGenerator()"
|
|
83
|
-
},
|
|
84
|
-
"value": {
|
|
85
|
-
"type": "string",
|
|
86
|
-
"mutable": true,
|
|
87
|
-
"complexType": {
|
|
88
|
-
"original": "string",
|
|
89
|
-
"resolved": "string",
|
|
90
|
-
"references": {}
|
|
91
|
-
},
|
|
92
|
-
"required": false,
|
|
93
|
-
"optional": false,
|
|
94
|
-
"docs": {
|
|
95
|
-
"tags": [],
|
|
96
|
-
"text": ""
|
|
97
|
-
},
|
|
98
|
-
"getter": false,
|
|
99
|
-
"setter": false,
|
|
100
|
-
"attribute": "value",
|
|
101
|
-
"reflect": false
|
|
102
|
-
}
|
|
103
|
-
};
|
|
104
|
-
}
|
|
105
|
-
static get states() {
|
|
106
|
-
return {
|
|
107
|
-
"opened": {}
|
|
108
|
-
};
|
|
109
|
-
}
|
|
110
|
-
static get events() {
|
|
111
|
-
return [{
|
|
112
|
-
"method": "accordionChange",
|
|
113
|
-
"name": "accordionChange",
|
|
114
|
-
"bubbles": true,
|
|
115
|
-
"cancelable": true,
|
|
116
|
-
"composed": true,
|
|
117
|
-
"docs": {
|
|
118
|
-
"tags": [],
|
|
119
|
-
"text": ""
|
|
120
|
-
},
|
|
121
|
-
"complexType": {
|
|
122
|
-
"original": "{ opened: Set<string>, id: string }",
|
|
123
|
-
"resolved": "{ opened: Set<string>; id: string; }",
|
|
124
|
-
"references": {
|
|
125
|
-
"Set": {
|
|
126
|
-
"location": "global",
|
|
127
|
-
"id": "global::Set"
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
}];
|
|
132
|
-
}
|
|
133
|
-
static get methods() {
|
|
134
|
-
return {
|
|
135
|
-
"toggleItem": {
|
|
136
|
-
"complexType": {
|
|
137
|
-
"signature": "(value: string) => Promise<{ opened: Set<string>; id: string; }>",
|
|
138
|
-
"parameters": [{
|
|
139
|
-
"name": "value",
|
|
140
|
-
"type": "string",
|
|
141
|
-
"docs": ""
|
|
142
|
-
}],
|
|
143
|
-
"references": {
|
|
144
|
-
"Promise": {
|
|
145
|
-
"location": "global",
|
|
146
|
-
"id": "global::Promise"
|
|
147
|
-
},
|
|
148
|
-
"Set": {
|
|
149
|
-
"location": "global",
|
|
150
|
-
"id": "global::Set"
|
|
151
|
-
}
|
|
152
|
-
},
|
|
153
|
-
"return": "Promise<{ opened: Set<string>; id: string; }>"
|
|
154
|
-
},
|
|
155
|
-
"docs": {
|
|
156
|
-
"text": "",
|
|
157
|
-
"tags": []
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
};
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
//# sourceMappingURL=xv-accordion.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"xv-accordion.js","sourceRoot":"","sources":["../../../src/components/xv-accordion/xv-accordion.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,KAAK,EAAgB,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAC7F,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAOjD,MAAM,OAAO,WAAW;IALxB;QAMU,aAAQ,GAAY,KAAK,CAAC;QAC1B,SAAI,GAAW,YAAY,EAAE,CAAC;QAE7B,WAAM,GAAgB,IAAI,GAAG,EAAE,CAAC;KA+B1C;IA3BC,KAAK,CAAC,UAAU,CAAC,KAAa;QAC5B,IAAI,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC;YAC3B,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QAC5B,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,IAAI,CAAC,QAAQ;gBAAE,IAAI,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC;YACxC,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;YACnB,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QAC9B,CAAC;QAED,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,EAAE,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC;QAElE,OAAO,EAAE,MAAM,EAAE,IAAI,CAAC,MAAM,EAAE,EAAE,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC;IAChD,CAAC;IAED,iBAAiB;QACf,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;YACf,OAAO,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACrC,CAAC;IACH,CAAC;IAED,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qDAAC,KAAK,EAAC,cAAc,aAAU,IAAI,CAAC,IAAI;YAC3C,8DAAQ,CACH,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Host, h, Event, EventEmitter, Method, State, Prop } from '@stencil/core';\r\nimport { uidGenerator } from '../../utils/utils';\r\n\r\n@Component({\r\n tag: 'xv-accordion-v2',\r\n styleUrl: 'xv-accordion.scss',\r\n shadow: true,\r\n})\r\nexport class XvAccordion {\r\n @Prop() multiple: boolean = false;\r\n @Prop() xvId: string = uidGenerator();\r\n @Prop({ mutable: true }) value: string;\r\n @State() opened: Set<string> = new Set();\r\n @Event() accordionChange: EventEmitter<{ opened: Set<string>, id: string }>;\r\n\r\n @Method()\r\n async toggleItem(value: string) {\r\n if (this.opened.has(value)) {\r\n this.opened.delete(value);\r\n } else {\r\n if (!this.multiple) this.opened.clear();\r\n this.value = value;\r\n this.opened.add(this.value);\r\n }\r\n\r\n this.accordionChange.emit({ opened: this.opened, id: this.xvId });\r\n\r\n return { opened: this.opened, id: this.xvId };\r\n }\r\n\r\n componentWillLoad() {\r\n if (this.value) {\r\n return this.toggleItem(this.value);\r\n }\r\n }\r\n\r\n render() {\r\n return (\r\n <Host class=\"xv-accordion\" data-id={this.xvId}>\r\n <slot />\r\n </Host>\r\n );\r\n }\r\n}\r\n"]}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
border-top: 1px solid var(--border-subtle-01);
|
|
3
|
-
display: flex;
|
|
4
|
-
flex-direction: column;
|
|
5
|
-
font-family: var(--ff-body, inherit);
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
:host(.disabled) .label {
|
|
9
|
-
color: var(--text-disabled);
|
|
10
|
-
}
|
|
11
|
-
:host(.disabled) .label:hover {
|
|
12
|
-
cursor: initial;
|
|
13
|
-
background-color: transparent;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.label {
|
|
17
|
-
padding: 14px 16px;
|
|
18
|
-
display: inline-flex;
|
|
19
|
-
align-items: center;
|
|
20
|
-
column-gap: 20px;
|
|
21
|
-
justify-content: space-between;
|
|
22
|
-
text-align: left;
|
|
23
|
-
color: var(--text-primary);
|
|
24
|
-
font-size: 14px;
|
|
25
|
-
font-style: normal;
|
|
26
|
-
font-weight: 400;
|
|
27
|
-
line-height: 20px;
|
|
28
|
-
letter-spacing: 0.16px;
|
|
29
|
-
background-color: transparent;
|
|
30
|
-
transition: background-color 200ms ease-in-out;
|
|
31
|
-
}
|
|
32
|
-
.label > span {
|
|
33
|
-
overflow: hidden;
|
|
34
|
-
text-overflow: ellipsis;
|
|
35
|
-
display: -webkit-box;
|
|
36
|
-
-webkit-line-clamp: 1;
|
|
37
|
-
-webkit-box-orient: vertical;
|
|
38
|
-
}
|
|
39
|
-
.label:hover {
|
|
40
|
-
cursor: pointer;
|
|
41
|
-
background-color: var(--layer-hover-01);
|
|
42
|
-
}
|
|
43
|
-
.label:after {
|
|
44
|
-
content: "";
|
|
45
|
-
border: solid black;
|
|
46
|
-
border-width: 0 2px 2px 0;
|
|
47
|
-
display: inline-block;
|
|
48
|
-
padding: 4.66px;
|
|
49
|
-
transition: transform 100ms ease-in-out;
|
|
50
|
-
transform: rotate(45deg);
|
|
51
|
-
}
|
|
52
|
-
.label.opened:after {
|
|
53
|
-
transform: rotate(-135deg);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.content {
|
|
57
|
-
padding: 0 16px;
|
|
58
|
-
text-align: left;
|
|
59
|
-
color: var(--text-primary);
|
|
60
|
-
font-size: 14px;
|
|
61
|
-
overflow: hidden;
|
|
62
|
-
max-height: 0;
|
|
63
|
-
transition: max-height 300ms ease-in-out, padding 250ms ease 50ms;
|
|
64
|
-
}
|
|
65
|
-
.content.opened {
|
|
66
|
-
padding: 14px 16px;
|
|
67
|
-
max-height: 500px;
|
|
68
|
-
}
|
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
import { Host, h } from "@stencil/core";
|
|
2
|
-
export class XvAccordionItem {
|
|
3
|
-
constructor() {
|
|
4
|
-
this.disabled = false;
|
|
5
|
-
this.isOpen = false;
|
|
6
|
-
}
|
|
7
|
-
handleAccordionChange(event) {
|
|
8
|
-
var _a;
|
|
9
|
-
const parentAccordionId = (_a = this.el.closest('[data-id]')) === null || _a === void 0 ? void 0 : _a.getAttribute('data-id');
|
|
10
|
-
if (event.detail.id !== parentAccordionId)
|
|
11
|
-
return;
|
|
12
|
-
this.isOpen = event.detail.opened.has(this.value);
|
|
13
|
-
}
|
|
14
|
-
toggle() {
|
|
15
|
-
var _a, _b;
|
|
16
|
-
if (this.disabled)
|
|
17
|
-
return;
|
|
18
|
-
this.isOpen = !this.isOpen;
|
|
19
|
-
(_b = (_a = this.el.closest('xv-accordion-v2')) === null || _a === void 0 ? void 0 : _a.toggleItem) === null || _b === void 0 ? void 0 : _b.call(_a, this.value);
|
|
20
|
-
}
|
|
21
|
-
render() {
|
|
22
|
-
return (h(Host, { key: '1b35eb9e285cb2a28aa56b5acd2caa31cd682a0b', class: `${this.disabled ? 'disabled' : ''}` }, h("label", { key: '521f0b41ec79577ebd532094ab48e8964c12e1ef', class: `label ${this.isOpen ? 'opened' : 'closed'}`, onClick: this.toggle.bind(this) }, h("span", { key: '3fd163c1926102da4c71fe6defae5dcfe3f35fbf' }, this.label)), h("div", { key: '351629135c93719bcca862ce17176c60d2e99f41', class: `content ${this.isOpen ? 'opened' : 'closed'}` }, h("slot", { key: '221b2fdff4f2f84956e07bb0bb86be7cf9c9aba5' }))));
|
|
23
|
-
}
|
|
24
|
-
static get is() { return "xv-accordion-v2-item"; }
|
|
25
|
-
static get encapsulation() { return "shadow"; }
|
|
26
|
-
static get originalStyleUrls() {
|
|
27
|
-
return {
|
|
28
|
-
"$": ["xv-accordion-item.scss"]
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
static get styleUrls() {
|
|
32
|
-
return {
|
|
33
|
-
"$": ["xv-accordion-item.css"]
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
static get properties() {
|
|
37
|
-
return {
|
|
38
|
-
"disabled": {
|
|
39
|
-
"type": "boolean",
|
|
40
|
-
"mutable": false,
|
|
41
|
-
"complexType": {
|
|
42
|
-
"original": "boolean",
|
|
43
|
-
"resolved": "boolean",
|
|
44
|
-
"references": {}
|
|
45
|
-
},
|
|
46
|
-
"required": false,
|
|
47
|
-
"optional": false,
|
|
48
|
-
"docs": {
|
|
49
|
-
"tags": [],
|
|
50
|
-
"text": ""
|
|
51
|
-
},
|
|
52
|
-
"getter": false,
|
|
53
|
-
"setter": false,
|
|
54
|
-
"attribute": "disabled",
|
|
55
|
-
"reflect": false,
|
|
56
|
-
"defaultValue": "false"
|
|
57
|
-
},
|
|
58
|
-
"label": {
|
|
59
|
-
"type": "string",
|
|
60
|
-
"mutable": false,
|
|
61
|
-
"complexType": {
|
|
62
|
-
"original": "string",
|
|
63
|
-
"resolved": "string",
|
|
64
|
-
"references": {}
|
|
65
|
-
},
|
|
66
|
-
"required": false,
|
|
67
|
-
"optional": false,
|
|
68
|
-
"docs": {
|
|
69
|
-
"tags": [],
|
|
70
|
-
"text": ""
|
|
71
|
-
},
|
|
72
|
-
"getter": false,
|
|
73
|
-
"setter": false,
|
|
74
|
-
"attribute": "label",
|
|
75
|
-
"reflect": false
|
|
76
|
-
},
|
|
77
|
-
"value": {
|
|
78
|
-
"type": "string",
|
|
79
|
-
"mutable": false,
|
|
80
|
-
"complexType": {
|
|
81
|
-
"original": "string",
|
|
82
|
-
"resolved": "string",
|
|
83
|
-
"references": {}
|
|
84
|
-
},
|
|
85
|
-
"required": false,
|
|
86
|
-
"optional": false,
|
|
87
|
-
"docs": {
|
|
88
|
-
"tags": [],
|
|
89
|
-
"text": ""
|
|
90
|
-
},
|
|
91
|
-
"getter": false,
|
|
92
|
-
"setter": false,
|
|
93
|
-
"attribute": "value",
|
|
94
|
-
"reflect": false
|
|
95
|
-
}
|
|
96
|
-
};
|
|
97
|
-
}
|
|
98
|
-
static get states() {
|
|
99
|
-
return {
|
|
100
|
-
"isOpen": {}
|
|
101
|
-
};
|
|
102
|
-
}
|
|
103
|
-
static get events() {
|
|
104
|
-
return [{
|
|
105
|
-
"method": "itemToggle",
|
|
106
|
-
"name": "itemToggle",
|
|
107
|
-
"bubbles": true,
|
|
108
|
-
"cancelable": true,
|
|
109
|
-
"composed": true,
|
|
110
|
-
"docs": {
|
|
111
|
-
"tags": [],
|
|
112
|
-
"text": ""
|
|
113
|
-
},
|
|
114
|
-
"complexType": {
|
|
115
|
-
"original": "any",
|
|
116
|
-
"resolved": "any",
|
|
117
|
-
"references": {}
|
|
118
|
-
}
|
|
119
|
-
}];
|
|
120
|
-
}
|
|
121
|
-
static get elementRef() { return "el"; }
|
|
122
|
-
static get listeners() {
|
|
123
|
-
return [{
|
|
124
|
-
"name": "accordionChange",
|
|
125
|
-
"method": "handleAccordionChange",
|
|
126
|
-
"target": "body",
|
|
127
|
-
"capture": false,
|
|
128
|
-
"passive": false
|
|
129
|
-
}];
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
//# sourceMappingURL=xv-accordion-item.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"xv-accordion-item.js","sourceRoot":"","sources":["../../../src/components/xv-accordion-item/xv-accordion-item.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAgB,MAAM,eAAe,CAAC;AAOtG,MAAM,OAAO,eAAe;IAL5B;QAOU,aAAQ,GAAY,KAAK,CAAC;QAGzB,WAAM,GAAY,KAAK,CAAC;KA4BlC;IAxBC,qBAAqB,CAAC,KAAuD;;QAC3E,MAAM,iBAAiB,GAAG,MAAA,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,WAAW,CAAC,0CAAE,YAAY,CAAC,SAAS,CAAC,CAAC;QAChF,IAAI,KAAK,CAAC,MAAM,CAAC,EAAE,KAAK,iBAAiB;YAAE,OAAO;QAClD,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACpD,CAAC;IAED,MAAM;;QACJ,IAAI,IAAI,CAAC,QAAQ;YAAE,OAAO;QAC1B,IAAI,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC;QAC3B,MAAA,MAAA,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,iBAAiB,CAAC,0CAAE,UAAU,mDAAG,IAAI,CAAC,KAAK,CAAC,CAAC;IAC/D,CAAC;IAED,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qDAAC,KAAK,EAAE,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,EAAE;YAC/C,8DAAO,KAAK,EAAE,SAAS,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,EAAE,EAAE,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC;gBACzF,+DAAO,IAAI,CAAC,KAAK,CAAQ,CACnB;YACR,4DAAK,KAAK,EAAE,WAAW,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,EAAE;gBACxD,8DAAQ,CACJ,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Host, h, Element, Prop, State, Listen, Event, EventEmitter } from '@stencil/core';\r\n\r\n@Component({\r\n tag: 'xv-accordion-v2-item',\r\n styleUrl: 'xv-accordion-item.scss',\r\n shadow: true,\r\n})\r\nexport class XvAccordionItem {\r\n @Element() el: HTMLElement;\r\n @Prop() disabled: boolean = false;\r\n @Prop() label: string;\r\n @Prop() value: string;\r\n @State() isOpen: boolean = false;\r\n @Event() itemToggle: EventEmitter;\r\n\r\n @Listen('accordionChange', { target: 'body' })\r\n handleAccordionChange(event: CustomEvent<{ opened: Set<string>, id: string }>) {\r\n const parentAccordionId = this.el.closest('[data-id]')?.getAttribute('data-id');\r\n if (event.detail.id !== parentAccordionId) return;\r\n this.isOpen = event.detail.opened.has(this.value);\r\n }\r\n\r\n toggle() {\r\n if (this.disabled) return;\r\n this.isOpen = !this.isOpen;\r\n this.el.closest('xv-accordion-v2')?.toggleItem?.(this.value);\r\n }\r\n\r\n render() {\r\n return (\r\n <Host class={`${this.disabled ? 'disabled' : ''}`}>\r\n <label class={`label ${this.isOpen ? 'opened' : 'closed'}`} onClick={this.toggle.bind(this)}>\r\n <span>{this.label}</span>\r\n </label>\r\n <div class={`content ${this.isOpen ? 'opened' : 'closed'}`}>\r\n <slot />\r\n </div>\r\n </Host>\r\n );\r\n }\r\n}\r\n"]}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Host, h } from "@stencil/core";
|
|
2
|
-
export class XvBreadcrumbs {
|
|
3
|
-
render() {
|
|
4
|
-
return (h(Host, { key: 'cd2a64d2cdd1002b6d0779cea916a71299bc155c' }, h("slot", { key: '8b888b9c0dd5f34d7122668b42875986cd416e95' })));
|
|
5
|
-
}
|
|
6
|
-
static get is() { return "xv-breadcrumbs-v2"; }
|
|
7
|
-
static get encapsulation() { return "shadow"; }
|
|
8
|
-
static get originalStyleUrls() {
|
|
9
|
-
return {
|
|
10
|
-
"$": ["xv-breadcrumbs.scss"]
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
static get styleUrls() {
|
|
14
|
-
return {
|
|
15
|
-
"$": ["xv-breadcrumbs.css"]
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
//# sourceMappingURL=xv-breadcrumbs.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"xv-breadcrumbs.js","sourceRoot":"","sources":["../../../src/components/xv-breadcrumbs/xv-breadcrumbs.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,MAAM,eAAe,CAAC;AAOnD,MAAM,OAAO,aAAa;IACxB,MAAM;QACJ,OAAO,CACL,EAAC,IAAI;YACH,8DAAa,CACR,CACR,CAAC;IACJ,CAAC;;;;;;;;;CACF","sourcesContent":["import { Component, Host, h } from '@stencil/core';\r\n\r\n@Component({\r\n tag: 'xv-breadcrumbs-v2',\r\n styleUrl: 'xv-breadcrumbs.scss',\r\n shadow: true,\r\n})\r\nexport class XvBreadcrumbs {\r\n render() {\r\n return (\r\n <Host>\r\n <slot></slot>\r\n </Host>\r\n );\r\n }\r\n}\r\n"]}
|
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
@charset "UTF-8";
|
|
2
|
-
:host {
|
|
3
|
-
--focus-border-width: 2px;
|
|
4
|
-
--focus-border-style: solid;
|
|
5
|
-
--button-ghost: tarnsparent;
|
|
6
|
-
--text-disabled-opacity: 0.25;
|
|
7
|
-
--button-border-radius: 3px;
|
|
8
|
-
--button-border-width: 1px;
|
|
9
|
-
--button-border-style: solid;
|
|
10
|
-
--button-border-color-accent: #97BF0D;
|
|
11
|
-
--button-border-color-primary: #273435;
|
|
12
|
-
--button-border-color-secondary: #D1D1D1;
|
|
13
|
-
--button-border-color-ghost: tarnsparent;
|
|
14
|
-
--button-ghost-hover: tarnsparent;
|
|
15
|
-
--button-ghost-active: rgba(139, 139, 139, 0.5);
|
|
16
|
-
--button-accent-disabled: #D1D1D1;
|
|
17
|
-
--button-primary-disabled: #D1D1D1;
|
|
18
|
-
--button-secondary-disabled: #D1D1D1;
|
|
19
|
-
--button-tertiary-disabled: tarnsparent;
|
|
20
|
-
--button-ghost-disabled: tarnsparent;
|
|
21
|
-
}
|
|
22
|
-
:host button {
|
|
23
|
-
font-family: inherit;
|
|
24
|
-
font-size: 16px;
|
|
25
|
-
font-weight: 700;
|
|
26
|
-
padding: 0 20px;
|
|
27
|
-
min-height: 40px;
|
|
28
|
-
line-height: 40px;
|
|
29
|
-
cursor: pointer;
|
|
30
|
-
box-sizing: border-box;
|
|
31
|
-
transition: background-color 0.2s ease-in-out, filter 0.2s ease-in-out, transform 0.1s ease-in-out, border-color 0.2s ease-in-out, border-width 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
|
|
32
|
-
}
|
|
33
|
-
:host button.xv-button-block {
|
|
34
|
-
width: 100%;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.xv-button {
|
|
38
|
-
/* ✅ Accent Button */
|
|
39
|
-
/* ✅ Primary Button */
|
|
40
|
-
/* ✅ Secondary Button */
|
|
41
|
-
/* ✅ Tertiary Button */
|
|
42
|
-
/* ✅ Ghost Button */
|
|
43
|
-
}
|
|
44
|
-
.xv-button.accent {
|
|
45
|
-
background-color: var(--button-accent);
|
|
46
|
-
color: var(--text-on-color);
|
|
47
|
-
border: var(--button-border-width) var(--button-border-style) var(--button-border-color-accent);
|
|
48
|
-
border-radius: var(--button-border-radius);
|
|
49
|
-
}
|
|
50
|
-
.xv-button.accent:hover {
|
|
51
|
-
background-color: var(--button-accent-hover);
|
|
52
|
-
}
|
|
53
|
-
.xv-button.accent:active {
|
|
54
|
-
background-color: var(--button-accent-active);
|
|
55
|
-
color: var(--text-on-color);
|
|
56
|
-
}
|
|
57
|
-
.xv-button.accent:focus {
|
|
58
|
-
outline: none;
|
|
59
|
-
border: var(--focus-border-width) var(--focus-border-style) var(--focus);
|
|
60
|
-
transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
|
|
61
|
-
}
|
|
62
|
-
.xv-button.accent:disabled {
|
|
63
|
-
background-color: var(--button-accent-disabled);
|
|
64
|
-
color: var(--text-on-color-disabled);
|
|
65
|
-
border: var(--button-border-width) var(--button-border-style) var(--button-accent-disabled);
|
|
66
|
-
}
|
|
67
|
-
.xv-button.primary {
|
|
68
|
-
background-color: var(--button-primary);
|
|
69
|
-
color: var(--text-on-color);
|
|
70
|
-
border: var(--button-border-width) var(--button-border-style) var(--button-border-color-primary);
|
|
71
|
-
border-radius: var(--button-border-radius);
|
|
72
|
-
}
|
|
73
|
-
.xv-button.primary:hover {
|
|
74
|
-
background-color: var(--button-primary-hover);
|
|
75
|
-
}
|
|
76
|
-
.xv-button.primary:active {
|
|
77
|
-
background-color: var(--button-primary-active);
|
|
78
|
-
}
|
|
79
|
-
.xv-button.primary:focus {
|
|
80
|
-
outline: none;
|
|
81
|
-
border: var(--focus-border-width) var(--focus-border-style) var(--focus);
|
|
82
|
-
transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
|
|
83
|
-
}
|
|
84
|
-
.xv-button.primary:disabled {
|
|
85
|
-
background-color: var(--button-primary-disabled);
|
|
86
|
-
color: var(--text-on-color-disabled);
|
|
87
|
-
border: var(--button-border-width) var(--button-border-style) var(--button-primary-disabled);
|
|
88
|
-
}
|
|
89
|
-
.xv-button.secondary {
|
|
90
|
-
background-color: var(--button-secondary);
|
|
91
|
-
color: var(--text-primary);
|
|
92
|
-
border: var(--button-border-width) var(--button-border-style) var(--button-border-color-secondary);
|
|
93
|
-
border-radius: var(--button-border-radius);
|
|
94
|
-
}
|
|
95
|
-
.xv-button.secondary:hover {
|
|
96
|
-
background-color: var(--button-secondary-hover);
|
|
97
|
-
}
|
|
98
|
-
.xv-button.secondary:active {
|
|
99
|
-
background-color: var(--button-secondary-active);
|
|
100
|
-
}
|
|
101
|
-
.xv-button.secondary:focus {
|
|
102
|
-
outline: none;
|
|
103
|
-
border: var(--focus-border-width) var(--focus-border-style) var(--focus);
|
|
104
|
-
transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
|
|
105
|
-
}
|
|
106
|
-
.xv-button.secondary:disabled {
|
|
107
|
-
background-color: var(--button-secondary-disabled);
|
|
108
|
-
color: var(--text-on-color-disabled);
|
|
109
|
-
}
|
|
110
|
-
.xv-button.tertiary {
|
|
111
|
-
background-color: var(--button-ghost);
|
|
112
|
-
color: var(--text-primary);
|
|
113
|
-
border: var(--button-border-width) var(--button-border-style) var(--button-tertiary);
|
|
114
|
-
border-radius: var(--button-border-radius);
|
|
115
|
-
}
|
|
116
|
-
.xv-button.tertiary:hover {
|
|
117
|
-
background-color: var(--button-tertiary-hover);
|
|
118
|
-
}
|
|
119
|
-
.xv-button.tertiary:active {
|
|
120
|
-
background-color: var(--button-tertiary-active);
|
|
121
|
-
}
|
|
122
|
-
.xv-button.tertiary:focus {
|
|
123
|
-
outline: none;
|
|
124
|
-
border: var(--focus-border-width) var(--focus-border-style) var(--focus);
|
|
125
|
-
transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
|
|
126
|
-
}
|
|
127
|
-
.xv-button.tertiary:disabled {
|
|
128
|
-
background-color: var(--button-tertiary-disabled);
|
|
129
|
-
color: var(--text-disabled);
|
|
130
|
-
opacity: var(--text-disabled-opacity);
|
|
131
|
-
}
|
|
132
|
-
.xv-button.ghost {
|
|
133
|
-
background-color: var(--button-ghost);
|
|
134
|
-
color: var(--text-primary);
|
|
135
|
-
border: var(--button-border-width) var(--button-border-style) var(--button-border-color-ghost);
|
|
136
|
-
border-radius: var(--button-border-radius);
|
|
137
|
-
}
|
|
138
|
-
.xv-button.ghost:hover {
|
|
139
|
-
background-color: var(--button-ghost-hover);
|
|
140
|
-
}
|
|
141
|
-
.xv-button.ghost:active {
|
|
142
|
-
background-color: var(--button-ghost-active);
|
|
143
|
-
}
|
|
144
|
-
.xv-button.ghost:focus {
|
|
145
|
-
outline: none;
|
|
146
|
-
border: var(--focus-border-width) var(--focus-border-style) var(--focus);
|
|
147
|
-
transition: border-color 0.2s ease-in-out;
|
|
148
|
-
}
|
|
149
|
-
.xv-button.ghost:disabled {
|
|
150
|
-
background-color: var(--button-ghost-disabled);
|
|
151
|
-
color: var(--text-disabled);
|
|
152
|
-
opacity: var(--text-disabled-opacity);
|
|
153
|
-
}
|