xv-webcomponents 0.1.18 → 0.1.20
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/dist/xv-webcomponents/index-90b82796.js +3971 -0
- package/dist/xv-webcomponents/index-90b82796.js.map +1 -0
- package/dist/xv-webcomponents/index.esm.js +12 -1
- package/dist/xv-webcomponents/index.esm.js.map +1 -1
- package/dist/{collection/utils/utils.js → xv-webcomponents/utils-e6dc0550.js} +7 -4
- package/dist/xv-webcomponents/utils-e6dc0550.js.map +1 -0
- package/dist/xv-webcomponents/xv-accordion-v2-item.entry.js +35 -0
- package/dist/xv-webcomponents/xv-accordion-v2-item.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-accordion-v2.entry.js +40 -0
- package/dist/xv-webcomponents/xv-accordion-v2.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-breadcrumbs-v2.entry.js +17 -0
- package/dist/xv-webcomponents/xv-breadcrumbs-v2.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-button-v2.entry.js +33 -0
- package/dist/xv-webcomponents/xv-button-v2.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-card-v2.entry.js +18 -0
- package/dist/xv-webcomponents/xv-card-v2.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-checkbox-v2.entry.js +99 -0
- package/dist/xv-webcomponents/xv-checkbox-v2.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-link-v2.entry.js +26 -0
- package/dist/xv-webcomponents/xv-link-v2.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-progress-indicator-v2-item.entry.js +19 -0
- package/dist/xv-webcomponents/xv-progress-indicator-v2-item.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-progress-indicator-v2.entry.js +39 -0
- package/dist/xv-webcomponents/xv-progress-indicator-v2.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-table-v2-col.entry.js +17 -0
- package/dist/xv-webcomponents/xv-table-v2-col.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-table-v2-header-row.entry.js +34 -0
- package/dist/xv-webcomponents/xv-table-v2-header-row.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-table-v2-row.entry.js +112 -0
- package/dist/xv-webcomponents/xv-table-v2-row.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-table-v2.entry.js +114 -0
- package/dist/xv-webcomponents/xv-table-v2.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-tag-v2.entry.js +28 -0
- package/dist/xv-webcomponents/xv-tag-v2.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-tooltip-v2.entry.js +23 -0
- package/dist/xv-webcomponents/xv-tooltip-v2.entry.js.map +1 -0
- package/dist/xv-webcomponents/xv-webcomponents.esm.js +48 -1
- package/dist/xv-webcomponents/xv-webcomponents.esm.js.map +1 -1
- 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_14.cjs.entry.js +0 -602
- package/dist/cjs/xv-accordion-v2_14.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/collection-manifest.json +0 -26
- 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-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/types/enum.js +0 -9
- package/dist/collection/types/enum.js.map +0 -1
- package/dist/collection/utils/utils.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_14.entry.js +0 -585
- package/dist/esm/xv-accordion-v2_14.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/xv-webcomponents/p-5f18d718.entry.js +0 -2
- package/dist/xv-webcomponents/p-5f18d718.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-bfe83d1e.entry.js +0 -2
- package/dist/xv-webcomponents/p-bfe83d1e.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/{esm → xv-webcomponents}/app-globals-0f993ce5.js +0 -0
- /package/dist/{esm → xv-webcomponents}/app-globals-0f993ce5.js.map +0 -0
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Host, h } from "@stencil/core";
|
|
2
|
-
export class XvBreadcrumbs {
|
|
3
|
-
render() {
|
|
4
|
-
return (h(Host, { key: '5af11f456cfed9e3a853fa3ccdcf12d2d5d5e49f' }, h("slot", { key: 'ecef5ef84a97ceefda5cbcb54e23056e2adbdf99' })));
|
|
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';\n\n@Component({\n tag: 'xv-breadcrumbs-v2',\n styleUrl: 'xv-breadcrumbs.scss',\n shadow: true,\n})\nexport class XvBreadcrumbs {\n render() {\n return (\n <Host>\n <slot></slot>\n </Host>\n );\n }\n}\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
|
-
}
|
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
import { h } from "@stencil/core";
|
|
2
|
-
export class XvButton {
|
|
3
|
-
constructor() {
|
|
4
|
-
/** Button label */
|
|
5
|
-
this.label = '';
|
|
6
|
-
/** Container width Button */
|
|
7
|
-
this.block = false;
|
|
8
|
-
/** Variant */
|
|
9
|
-
this.variant = 'primary';
|
|
10
|
-
/** Disabled state */
|
|
11
|
-
this.disabled = false;
|
|
12
|
-
/** Handle click only if not disabled */
|
|
13
|
-
this.handleClick = () => {
|
|
14
|
-
if (this.disabled) {
|
|
15
|
-
return;
|
|
16
|
-
}
|
|
17
|
-
this.buttonClick.emit();
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
render() {
|
|
21
|
-
return (h("button", { key: '4b6d2d71bd297a7b1e2a00ba36c8e4380395e696', class: `xv-button ${this.variant} ${this.block ? 'xv-button-block' : ''}`, disabled: this.disabled, onClick: this.handleClick }, h("slot", { key: '2934a04fa4aae539014f0a283444903dc9807888', name: "icon-left" }), h("slot", { key: '7139fa048b1f6e10f45853f7d1ff3b8cef1b9db6' }, this.label), h("slot", { key: 'ff326b3d02d3c4102f85132b890a595fcfec08d4', name: "icon-right" })));
|
|
22
|
-
}
|
|
23
|
-
static get is() { return "xv-button-v2"; }
|
|
24
|
-
static get encapsulation() { return "shadow"; }
|
|
25
|
-
static get originalStyleUrls() {
|
|
26
|
-
return {
|
|
27
|
-
"$": ["xv-button-v2.scss"]
|
|
28
|
-
};
|
|
29
|
-
}
|
|
30
|
-
static get styleUrls() {
|
|
31
|
-
return {
|
|
32
|
-
"$": ["xv-button-v2.css"]
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
static get properties() {
|
|
36
|
-
return {
|
|
37
|
-
"label": {
|
|
38
|
-
"type": "string",
|
|
39
|
-
"mutable": false,
|
|
40
|
-
"complexType": {
|
|
41
|
-
"original": "string",
|
|
42
|
-
"resolved": "string",
|
|
43
|
-
"references": {}
|
|
44
|
-
},
|
|
45
|
-
"required": false,
|
|
46
|
-
"optional": false,
|
|
47
|
-
"docs": {
|
|
48
|
-
"tags": [],
|
|
49
|
-
"text": "Button label"
|
|
50
|
-
},
|
|
51
|
-
"getter": false,
|
|
52
|
-
"setter": false,
|
|
53
|
-
"attribute": "label",
|
|
54
|
-
"reflect": false,
|
|
55
|
-
"defaultValue": "''"
|
|
56
|
-
},
|
|
57
|
-
"block": {
|
|
58
|
-
"type": "boolean",
|
|
59
|
-
"mutable": false,
|
|
60
|
-
"complexType": {
|
|
61
|
-
"original": "boolean",
|
|
62
|
-
"resolved": "boolean",
|
|
63
|
-
"references": {}
|
|
64
|
-
},
|
|
65
|
-
"required": false,
|
|
66
|
-
"optional": false,
|
|
67
|
-
"docs": {
|
|
68
|
-
"tags": [],
|
|
69
|
-
"text": "Container width Button"
|
|
70
|
-
},
|
|
71
|
-
"getter": false,
|
|
72
|
-
"setter": false,
|
|
73
|
-
"attribute": "block",
|
|
74
|
-
"reflect": false,
|
|
75
|
-
"defaultValue": "false"
|
|
76
|
-
},
|
|
77
|
-
"variant": {
|
|
78
|
-
"type": "string",
|
|
79
|
-
"mutable": false,
|
|
80
|
-
"complexType": {
|
|
81
|
-
"original": "'accent' | 'primary' | 'secondary' | 'tertiary' | 'ghost'",
|
|
82
|
-
"resolved": "\"accent\" | \"ghost\" | \"primary\" | \"secondary\" | \"tertiary\"",
|
|
83
|
-
"references": {}
|
|
84
|
-
},
|
|
85
|
-
"required": false,
|
|
86
|
-
"optional": false,
|
|
87
|
-
"docs": {
|
|
88
|
-
"tags": [],
|
|
89
|
-
"text": "Variant"
|
|
90
|
-
},
|
|
91
|
-
"getter": false,
|
|
92
|
-
"setter": false,
|
|
93
|
-
"attribute": "variant",
|
|
94
|
-
"reflect": false,
|
|
95
|
-
"defaultValue": "'primary'"
|
|
96
|
-
},
|
|
97
|
-
"disabled": {
|
|
98
|
-
"type": "boolean",
|
|
99
|
-
"mutable": false,
|
|
100
|
-
"complexType": {
|
|
101
|
-
"original": "boolean",
|
|
102
|
-
"resolved": "boolean",
|
|
103
|
-
"references": {}
|
|
104
|
-
},
|
|
105
|
-
"required": false,
|
|
106
|
-
"optional": false,
|
|
107
|
-
"docs": {
|
|
108
|
-
"tags": [],
|
|
109
|
-
"text": "Disabled state"
|
|
110
|
-
},
|
|
111
|
-
"getter": false,
|
|
112
|
-
"setter": false,
|
|
113
|
-
"attribute": "disabled",
|
|
114
|
-
"reflect": false,
|
|
115
|
-
"defaultValue": "false"
|
|
116
|
-
}
|
|
117
|
-
};
|
|
118
|
-
}
|
|
119
|
-
static get events() {
|
|
120
|
-
return [{
|
|
121
|
-
"method": "buttonClick",
|
|
122
|
-
"name": "buttonClick",
|
|
123
|
-
"bubbles": true,
|
|
124
|
-
"cancelable": true,
|
|
125
|
-
"composed": true,
|
|
126
|
-
"docs": {
|
|
127
|
-
"tags": [],
|
|
128
|
-
"text": "Emits when the button is clicked"
|
|
129
|
-
},
|
|
130
|
-
"complexType": {
|
|
131
|
-
"original": "void",
|
|
132
|
-
"resolved": "void",
|
|
133
|
-
"references": {}
|
|
134
|
-
}
|
|
135
|
-
}];
|
|
136
|
-
}
|
|
137
|
-
}
|
|
138
|
-
//# sourceMappingURL=xv-button.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"xv-button.js","sourceRoot":"","sources":["../../../src/components/xv-button/xv-button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,EAAgB,CAAC,EAAE,MAAM,eAAe,CAAC;AAQxE,MAAM,OAAO,QAAQ;IALrB;QAME,mBAAmB;QACX,UAAK,GAAW,EAAE,CAAC;QAE3B,6BAA6B;QACrB,UAAK,GAAY,KAAK,CAAC;QAE/B,cAAc;QACN,YAAO,GAA8D,SAAS,CAAC;QAEvF,qBAAqB;QACb,aAAQ,GAAY,KAAK,CAAC;QAKlC,wCAAwC;QAChC,gBAAW,GAAG,GAAG,EAAE;YACzB,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;gBAClB,OAAO;YACT,CAAC;YACD,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC;QAC1B,CAAC,CAAC;KAmBH;IAjBC,MAAM;QACJ,OAAO,CACL,+DACE,KAAK,EAAE,aAAa,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,EAAE,EAAE,EACzE,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,OAAO,EAAE,IAAI,CAAC,WAAW;YAEzB,6DAAM,IAAI,EAAC,WAAW,GAAQ;YAE9B,+DACG,IAAI,CAAC,KAAK,CACN;YAEP,6DAAM,IAAI,EAAC,YAAY,GAAQ,CACxB,CACV,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Prop, Event, EventEmitter, h } from '@stencil/core';\r\n\r\n\r\n@Component({\r\n tag: 'xv-button-v2',\r\n styleUrl: 'xv-button-v2.scss',\r\n shadow: true,\r\n})\r\nexport class XvButton {\r\n /** Button label */\r\n @Prop() label: string = '';\r\n\r\n /** Container width Button */\r\n @Prop() block: boolean = false;\r\n\r\n /** Variant */\r\n @Prop() variant: 'accent' | 'primary' | 'secondary' | 'tertiary' | 'ghost' = 'primary';\r\n\r\n /** Disabled state */\r\n @Prop() disabled: boolean = false;\r\n\r\n /** Emits when the button is clicked */\r\n @Event() buttonClick!: EventEmitter<void>;\r\n\r\n /** Handle click only if not disabled */\r\n private handleClick = () => {\r\n if (this.disabled) {\r\n return;\r\n }\r\n this.buttonClick.emit();\r\n };\r\n\r\n render() {\r\n return (\r\n <button\r\n class={`xv-button ${this.variant} ${this.block ? 'xv-button-block' : ''}`}\r\n disabled={this.disabled}\r\n onClick={this.handleClick}\r\n >\r\n <slot name=\"icon-left\"></slot>\r\n\r\n <slot>\r\n {this.label}\r\n </slot>\r\n\r\n <slot name=\"icon-right\"></slot>\r\n </button>\r\n );\r\n }\r\n}\r\n"]}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
border-radius: 8px;
|
|
5
|
-
border: 1px solid var(--border-subtle-00);
|
|
6
|
-
background: var(--layer-layer-02);
|
|
7
|
-
box-shadow: 0 1px 3px 1px rgba(39, 52, 53, 0.15), 0 1px 2px 0 rgba(39, 52, 53, 0.3);
|
|
8
|
-
font-family: var(--ff-body, inherit);
|
|
9
|
-
overflow: visible !important;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
:host(.xv-card_vertical) {
|
|
13
|
-
width: 100% !important;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
:host(.xv-card_horizontal) {
|
|
17
|
-
flex-direction: row;
|
|
18
|
-
display: flex;
|
|
19
|
-
width: max-content;
|
|
20
|
-
}
|
|
21
|
-
:host(.xv-card_horizontal) .xv-card_media__content, :host(.xv-card_horizontal) .xv-card_media ::slotted([slot=media]) {
|
|
22
|
-
min-height: 100%;
|
|
23
|
-
max-height: 100%;
|
|
24
|
-
max-width: 160px;
|
|
25
|
-
min-width: 160px;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.xv-card_content {
|
|
29
|
-
padding: 16px;
|
|
30
|
-
display: flex;
|
|
31
|
-
flex-direction: column;
|
|
32
|
-
flex: 1;
|
|
33
|
-
text-align: left;
|
|
34
|
-
}
|
|
35
|
-
.xv-card_media__content, .xv-card_media ::slotted([slot=media]) {
|
|
36
|
-
max-width: 100%;
|
|
37
|
-
min-width: 100%;
|
|
38
|
-
min-height: 199px;
|
|
39
|
-
max-height: 199px;
|
|
40
|
-
object-fit: cover;
|
|
41
|
-
object-position: center;
|
|
42
|
-
}
|
|
43
|
-
.xv-card_header__content, .xv-card_header ::slotted([slot=header]) {
|
|
44
|
-
margin: 0 0 8px;
|
|
45
|
-
color: var(--text-primary);
|
|
46
|
-
font-size: 16px;
|
|
47
|
-
font-style: normal;
|
|
48
|
-
font-weight: 700;
|
|
49
|
-
line-height: 24px;
|
|
50
|
-
letter-spacing: -0.6px;
|
|
51
|
-
}
|
|
52
|
-
.xv-card_body {
|
|
53
|
-
flex: 1;
|
|
54
|
-
}
|
|
55
|
-
.xv-card_body__content, .xv-card_body ::slotted([slot=body]) {
|
|
56
|
-
margin: 0 0 8px;
|
|
57
|
-
color: var(--text-secondary);
|
|
58
|
-
font-size: 14px;
|
|
59
|
-
font-style: normal;
|
|
60
|
-
font-weight: 400;
|
|
61
|
-
line-height: 20px;
|
|
62
|
-
letter-spacing: -0.1px;
|
|
63
|
-
}
|
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
import { Host, h } from "@stencil/core";
|
|
2
|
-
export class XvCard {
|
|
3
|
-
constructor() {
|
|
4
|
-
this.variant = 'vertical';
|
|
5
|
-
}
|
|
6
|
-
render() {
|
|
7
|
-
return (h(Host, { key: '347b7aed9ce24e2e048bb4e6d0b07b23f0f60d5b', class: `xv-card xv-card_${this.variant}`, part: this.variant }, h("div", { key: '9cd9f38cfe7d93fc271907fc8435033df860c246', class: "xv-card_media" }, h("slot", { key: '35e2bae3084a0e7d26e13c0e3116daa9895ea6c1', name: "media" }, this.media && h("img", { key: '60d4305b136766e447653cb399f92ae70e3d9430', class: "xv-card_media__content", src: this.media, alt: this.header }))), h("div", { key: '3751defc0abf18997dca82ae5b5d6601c6e9f60b', class: "xv-card_content" }, h("div", { key: 'cca74475b9e5dba03c82f77851fb503a5323ce3c', class: "xv-card_header" }, h("slot", { key: '02c4e3ddfb73bd56ef8f5b44a22bfe710654171a', name: "header" }, this.header && h("p", { key: '56998aa4742cc7576a023fcbe3e0892f312805ee', class: "xv-card_header__content" }, this.header))), h("div", { key: '86da97df293ff58dbcfe0a2b7bc25c98053ac6a2', class: "xv-card_body" }, h("slot", { key: 'ff8d6dc3ef8e437d28f237c415bf43382df85f19', name: "body" }, this.body && h("p", { key: '7e8e351ac0fa2100fc7929e81cc380a4a32e7019', class: "xv-card_body__content" }, this.header))), h("div", { key: 'dc9824b523f2dbdb4f88dc05ac0e490f9b04f529', class: "xv-card_footer" }, h("slot", { key: 'ea4fbffc436ee2ef43f481be7656aad07dfc55ce', name: "footer" }, this.footer)))));
|
|
8
|
-
}
|
|
9
|
-
static get is() { return "xv-card-v2"; }
|
|
10
|
-
static get encapsulation() { return "shadow"; }
|
|
11
|
-
static get originalStyleUrls() {
|
|
12
|
-
return {
|
|
13
|
-
"$": ["xv-card.scss"]
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
static get styleUrls() {
|
|
17
|
-
return {
|
|
18
|
-
"$": ["xv-card.css"]
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
static get properties() {
|
|
22
|
-
return {
|
|
23
|
-
"variant": {
|
|
24
|
-
"type": "string",
|
|
25
|
-
"mutable": false,
|
|
26
|
-
"complexType": {
|
|
27
|
-
"original": "'horizontal' | 'vertical'",
|
|
28
|
-
"resolved": "\"horizontal\" | \"vertical\"",
|
|
29
|
-
"references": {}
|
|
30
|
-
},
|
|
31
|
-
"required": false,
|
|
32
|
-
"optional": false,
|
|
33
|
-
"docs": {
|
|
34
|
-
"tags": [],
|
|
35
|
-
"text": ""
|
|
36
|
-
},
|
|
37
|
-
"getter": false,
|
|
38
|
-
"setter": false,
|
|
39
|
-
"attribute": "variant",
|
|
40
|
-
"reflect": false,
|
|
41
|
-
"defaultValue": "'vertical'"
|
|
42
|
-
},
|
|
43
|
-
"media": {
|
|
44
|
-
"type": "string",
|
|
45
|
-
"mutable": false,
|
|
46
|
-
"complexType": {
|
|
47
|
-
"original": "string",
|
|
48
|
-
"resolved": "string",
|
|
49
|
-
"references": {}
|
|
50
|
-
},
|
|
51
|
-
"required": false,
|
|
52
|
-
"optional": false,
|
|
53
|
-
"docs": {
|
|
54
|
-
"tags": [],
|
|
55
|
-
"text": ""
|
|
56
|
-
},
|
|
57
|
-
"getter": false,
|
|
58
|
-
"setter": false,
|
|
59
|
-
"attribute": "media",
|
|
60
|
-
"reflect": false
|
|
61
|
-
},
|
|
62
|
-
"header": {
|
|
63
|
-
"type": "string",
|
|
64
|
-
"mutable": false,
|
|
65
|
-
"complexType": {
|
|
66
|
-
"original": "string",
|
|
67
|
-
"resolved": "string",
|
|
68
|
-
"references": {}
|
|
69
|
-
},
|
|
70
|
-
"required": false,
|
|
71
|
-
"optional": false,
|
|
72
|
-
"docs": {
|
|
73
|
-
"tags": [],
|
|
74
|
-
"text": ""
|
|
75
|
-
},
|
|
76
|
-
"getter": false,
|
|
77
|
-
"setter": false,
|
|
78
|
-
"attribute": "header",
|
|
79
|
-
"reflect": false
|
|
80
|
-
},
|
|
81
|
-
"body": {
|
|
82
|
-
"type": "string",
|
|
83
|
-
"mutable": false,
|
|
84
|
-
"complexType": {
|
|
85
|
-
"original": "string",
|
|
86
|
-
"resolved": "string",
|
|
87
|
-
"references": {}
|
|
88
|
-
},
|
|
89
|
-
"required": false,
|
|
90
|
-
"optional": false,
|
|
91
|
-
"docs": {
|
|
92
|
-
"tags": [],
|
|
93
|
-
"text": ""
|
|
94
|
-
},
|
|
95
|
-
"getter": false,
|
|
96
|
-
"setter": false,
|
|
97
|
-
"attribute": "body",
|
|
98
|
-
"reflect": false
|
|
99
|
-
},
|
|
100
|
-
"footer": {
|
|
101
|
-
"type": "string",
|
|
102
|
-
"mutable": false,
|
|
103
|
-
"complexType": {
|
|
104
|
-
"original": "string",
|
|
105
|
-
"resolved": "string",
|
|
106
|
-
"references": {}
|
|
107
|
-
},
|
|
108
|
-
"required": false,
|
|
109
|
-
"optional": false,
|
|
110
|
-
"docs": {
|
|
111
|
-
"tags": [],
|
|
112
|
-
"text": ""
|
|
113
|
-
},
|
|
114
|
-
"getter": false,
|
|
115
|
-
"setter": false,
|
|
116
|
-
"attribute": "footer",
|
|
117
|
-
"reflect": false
|
|
118
|
-
}
|
|
119
|
-
};
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
//# sourceMappingURL=xv-card.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"xv-card.js","sourceRoot":"","sources":["../../../src/components/xv-card/xv-card.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAOzD,MAAM,OAAO,MAAM;IALnB;QAMU,YAAO,GAA8B,UAAU,CAAC;KAgCzD;IA3BC,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qDAAC,KAAK,EAAE,mBAAmB,IAAI,CAAC,OAAO,EAAE,EAAE,IAAI,EAAE,IAAI,CAAC,OAAO;YAChE,4DAAK,KAAK,EAAC,eAAe;gBACxB,6DAAM,IAAI,EAAC,OAAO,IACf,IAAI,CAAC,KAAK,IAAI,4DAAK,KAAK,EAAC,wBAAwB,EAAC,GAAG,EAAE,IAAI,CAAC,KAAK,EAAE,GAAG,EAAE,IAAI,CAAC,MAAM,GAAI,CACnF,CACH;YAEN,4DAAK,KAAK,EAAC,iBAAiB;gBAC1B,4DAAK,KAAK,EAAC,gBAAgB;oBACzB,6DAAM,IAAI,EAAC,QAAQ,IAChB,IAAI,CAAC,MAAM,IAAI,0DAAG,KAAK,EAAC,yBAAyB,IAAE,IAAI,CAAC,MAAM,CAAK,CAC/D,CACH;gBACN,4DAAK,KAAK,EAAC,cAAc;oBACvB,6DAAM,IAAI,EAAC,MAAM,IACd,IAAI,CAAC,IAAI,IAAI,0DAAG,KAAK,EAAC,uBAAuB,IAAE,IAAI,CAAC,MAAM,CAAK,CAC3D,CACH;gBACN,4DAAK,KAAK,EAAC,gBAAgB;oBACzB,6DAAM,IAAI,EAAC,QAAQ,IAAE,IAAI,CAAC,MAAM,CAAQ,CACpC,CACF,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Host, h, Prop } from '@stencil/core';\n\n@Component({\n tag: 'xv-card-v2',\n styleUrl: 'xv-card.scss',\n shadow: true,\n})\nexport class XvCard {\n @Prop() variant: 'horizontal' | 'vertical' = 'vertical';\n @Prop() media: string;\n @Prop() header: string;\n @Prop() body: string;\n @Prop() footer: string;\n render() {\n return (\n <Host class={`xv-card xv-card_${this.variant}`} part={this.variant}>\n <div class=\"xv-card_media\">\n <slot name=\"media\">\n {this.media && <img class=\"xv-card_media__content\" src={this.media} alt={this.header} />}\n </slot>\n </div>\n\n <div class=\"xv-card_content\">\n <div class=\"xv-card_header\">\n <slot name=\"header\">\n {this.header && <p class=\"xv-card_header__content\">{this.header}</p>}\n </slot>\n </div>\n <div class=\"xv-card_body\">\n <slot name=\"body\">\n {this.body && <p class=\"xv-card_body__content\">{this.header}</p>}\n </slot>\n </div>\n <div class=\"xv-card_footer\">\n <slot name=\"footer\">{this.footer}</slot>\n </div>\n </div>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
--checkbox-size: 20px;
|
|
3
|
-
box-sizing: border-box;
|
|
4
|
-
display: inline-flex;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
:host([error]) .xv-checkbox .checkmark {
|
|
9
|
-
border-color: var(--text-error, #D62512);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.error,
|
|
13
|
-
[name=info] {
|
|
14
|
-
display: inline-flex;
|
|
15
|
-
align-items: center;
|
|
16
|
-
justify-content: flex-start;
|
|
17
|
-
font-size: var(--fz-sm, 12px);
|
|
18
|
-
font-family: var(--ff-body, Tahoma);
|
|
19
|
-
line-height: 133.333%;
|
|
20
|
-
letter-spacing: 0.32px;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.error {
|
|
24
|
-
margin-top: var(--gap-xs, 5px);
|
|
25
|
-
color: var(--text-error, #D62512);
|
|
26
|
-
}
|
|
27
|
-
.error::before {
|
|
28
|
-
margin-right: var(--gap-xs, 5px);
|
|
29
|
-
content: "!";
|
|
30
|
-
display: inline-flex;
|
|
31
|
-
align-items: center;
|
|
32
|
-
justify-content: center;
|
|
33
|
-
width: 20px;
|
|
34
|
-
height: 20px;
|
|
35
|
-
font-size: var(--fz-sm, 12px);
|
|
36
|
-
font-weight: bold;
|
|
37
|
-
color: white;
|
|
38
|
-
background-color: var(--text-error, #D62512);
|
|
39
|
-
border-radius: 50%;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.xv-checkbox {
|
|
43
|
-
display: inline-flex;
|
|
44
|
-
align-items: center;
|
|
45
|
-
cursor: pointer;
|
|
46
|
-
user-select: none;
|
|
47
|
-
}
|
|
48
|
-
.xv-checkbox.disabled {
|
|
49
|
-
cursor: not-allowed;
|
|
50
|
-
opacity: 0.6;
|
|
51
|
-
}
|
|
52
|
-
.xv-checkbox input[type=checkbox] {
|
|
53
|
-
position: absolute;
|
|
54
|
-
width: var(--checkbox-size);
|
|
55
|
-
height: var(--checkbox-size);
|
|
56
|
-
margin: 0;
|
|
57
|
-
padding: 0;
|
|
58
|
-
opacity: 0;
|
|
59
|
-
pointer-events: none;
|
|
60
|
-
box-sizing: border-box;
|
|
61
|
-
}
|
|
62
|
-
.xv-checkbox .checkmark {
|
|
63
|
-
width: var(--checkbox-size);
|
|
64
|
-
min-width: var(--checkbox-size);
|
|
65
|
-
height: var(--checkbox-size);
|
|
66
|
-
min-height: var(--checkbox-size);
|
|
67
|
-
box-sizing: border-box;
|
|
68
|
-
margin: 0;
|
|
69
|
-
padding: 0;
|
|
70
|
-
border: 2px solid var(--border-subtle-03, #D1D1D1);
|
|
71
|
-
border-radius: 4px;
|
|
72
|
-
background-color: var(--background, #FFF);
|
|
73
|
-
transition: all 0.2s ease;
|
|
74
|
-
display: inline-flex;
|
|
75
|
-
align-items: center;
|
|
76
|
-
justify-content: center;
|
|
77
|
-
}
|
|
78
|
-
.xv-checkbox input:checked + .checkmark {
|
|
79
|
-
background-color: var(--background-brand, #97BF0D);
|
|
80
|
-
border-color: var(--background-brand, #97BF0D);
|
|
81
|
-
}
|
|
82
|
-
.xv-checkbox input:checked + .checkmark:not(.checkmark-partial)::after {
|
|
83
|
-
content: "";
|
|
84
|
-
width: calc(var(--checkbox-size) / 4);
|
|
85
|
-
height: calc(var(--checkbox-size) / 2.5);
|
|
86
|
-
border: solid var(--background, #FFF);
|
|
87
|
-
margin-bottom: calc(var(--checkbox-size) / 10);
|
|
88
|
-
border-width: 0 2px 2px 0;
|
|
89
|
-
transform: rotate(45deg);
|
|
90
|
-
display: block;
|
|
91
|
-
}
|
|
92
|
-
.xv-checkbox input:checked + .checkmark.checkmark-partial::after {
|
|
93
|
-
content: "";
|
|
94
|
-
width: calc(var(--checkbox-size) / 3);
|
|
95
|
-
height: calc(var(--checkbox-size) / 10);
|
|
96
|
-
background-color: var(--background, #FFF);
|
|
97
|
-
}
|
|
98
|
-
.xv-checkbox input:focus + .checkmark {
|
|
99
|
-
outline: 1px solid var(--border-strong-01, #8B8B8B);
|
|
100
|
-
}
|
|
101
|
-
.xv-checkbox .label {
|
|
102
|
-
margin-left: 8px;
|
|
103
|
-
color: var(--text-primary, #333);
|
|
104
|
-
font-family: var(--ff-body, Tahoma);
|
|
105
|
-
font-size: var(--fz-md, 14px);
|
|
106
|
-
line-height: 128.571%;
|
|
107
|
-
letter-spacing: 0.16px;
|
|
108
|
-
}
|