scu-web-components 0.0.21 → 0.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/chunk.2SWJYWHF.js +4 -0
- package/dist/chunks/chunk.2SWJYWHF.js.map +7 -0
- package/dist/chunks/chunk.3FBPDSVX.js +246 -0
- package/dist/chunks/chunk.3FBPDSVX.js.map +7 -0
- package/dist/chunks/chunk.3ZF5XE56.js +2 -0
- package/dist/chunks/chunk.3ZF5XE56.js.map +7 -0
- package/dist/chunks/chunk.5B2MVQ27.js +2 -0
- package/dist/chunks/chunk.5B2MVQ27.js.map +7 -0
- package/dist/chunks/chunk.5O57EYF4.js +2 -0
- package/dist/chunks/chunk.5O57EYF4.js.map +7 -0
- package/dist/chunks/chunk.5P5RU7GD.js +2 -0
- package/dist/chunks/chunk.5P5RU7GD.js.map +7 -0
- package/dist/chunks/chunk.5SNSWZHO.js +2 -0
- package/dist/chunks/chunk.5SNSWZHO.js.map +7 -0
- package/dist/chunks/chunk.62GWBO3B.js +2 -0
- package/dist/chunks/chunk.62GWBO3B.js.map +7 -0
- package/dist/chunks/chunk.6JEOFLOD.js +2 -0
- package/dist/chunks/chunk.6JEOFLOD.js.map +7 -0
- package/dist/chunks/chunk.6JZBSBO7.js +2 -0
- package/dist/chunks/chunk.6JZBSBO7.js.map +7 -0
- package/dist/chunks/chunk.75XREEIK.js +58 -0
- package/dist/chunks/chunk.75XREEIK.js.map +7 -0
- package/dist/chunks/chunk.7CJJ52HY.js +2 -0
- package/dist/chunks/chunk.7CJJ52HY.js.map +7 -0
- package/dist/chunks/chunk.7RDBE3IG.js +2 -0
- package/dist/chunks/chunk.7RDBE3IG.js.map +7 -0
- package/dist/chunks/chunk.7VW267FJ.js +17 -0
- package/dist/chunks/chunk.7VW267FJ.js.map +7 -0
- package/dist/chunks/chunk.7Z2IEKUA.js +17 -0
- package/dist/chunks/chunk.7Z2IEKUA.js.map +7 -0
- package/dist/chunks/chunk.ACJT3GFX.js +17 -0
- package/dist/chunks/chunk.ACJT3GFX.js.map +7 -0
- package/dist/chunks/chunk.B63G34N3.js +2 -0
- package/dist/chunks/chunk.B63G34N3.js.map +7 -0
- package/dist/chunks/chunk.BXOGDFND.js +17 -0
- package/dist/chunks/chunk.BXOGDFND.js.map +7 -0
- package/dist/chunks/chunk.DCCR6AGA.js +4 -0
- package/dist/chunks/chunk.DCCR6AGA.js.map +7 -0
- package/dist/chunks/chunk.DTU7NHQP.js +2 -0
- package/dist/chunks/chunk.DTU7NHQP.js.map +7 -0
- package/dist/chunks/chunk.EXCY4PGS.js +2 -0
- package/dist/chunks/chunk.EXCY4PGS.js.map +7 -0
- package/dist/chunks/chunk.F7TA5BBQ.js +4 -0
- package/dist/chunks/chunk.F7TA5BBQ.js.map +7 -0
- package/dist/chunks/chunk.HLMRJM7V.js +47 -0
- package/dist/chunks/chunk.HLMRJM7V.js.map +7 -0
- package/dist/chunks/chunk.IAALPGL2.js +2 -0
- package/dist/chunks/chunk.IAALPGL2.js.map +7 -0
- package/dist/chunks/chunk.KLCHR5KI.js +2 -0
- package/dist/chunks/chunk.KLCHR5KI.js.map +7 -0
- package/dist/chunks/chunk.KLH46EZA.js +2 -0
- package/dist/chunks/chunk.KLH46EZA.js.map +7 -0
- package/dist/chunks/chunk.L6NJJXH5.js +2 -0
- package/dist/chunks/chunk.L6NJJXH5.js.map +7 -0
- package/dist/chunks/chunk.LAQTQIRZ.js +2 -0
- package/dist/chunks/chunk.LAQTQIRZ.js.map +7 -0
- package/dist/chunks/chunk.MBVU2OPU.js +4 -0
- package/dist/chunks/chunk.MBVU2OPU.js.map +7 -0
- package/dist/chunks/chunk.MGZVQJ3S.js +245 -0
- package/dist/chunks/chunk.MGZVQJ3S.js.map +7 -0
- package/dist/chunks/chunk.MLENW6F3.js +246 -0
- package/dist/chunks/chunk.MLENW6F3.js.map +7 -0
- package/dist/chunks/chunk.O5A7YZKV.js +29 -0
- package/dist/chunks/chunk.O5A7YZKV.js.map +7 -0
- package/dist/chunks/chunk.O6N6AMBN.js +209 -0
- package/dist/chunks/chunk.O6N6AMBN.js.map +7 -0
- package/dist/chunks/chunk.PXGXIL4I.js +246 -0
- package/dist/chunks/chunk.PXGXIL4I.js.map +7 -0
- package/dist/chunks/chunk.QXE7UNSK.js +245 -0
- package/dist/chunks/chunk.QXE7UNSK.js.map +7 -0
- package/dist/chunks/chunk.R4YGOT4Y.js +49 -0
- package/dist/chunks/chunk.R4YGOT4Y.js.map +7 -0
- package/dist/chunks/chunk.RBSBLP6E.js +256 -0
- package/dist/chunks/chunk.RBSBLP6E.js.map +7 -0
- package/dist/chunks/chunk.RXMGI7HR.js +2 -0
- package/dist/chunks/chunk.RXMGI7HR.js.map +7 -0
- package/dist/chunks/chunk.S4MESEBR.js +32 -0
- package/dist/chunks/chunk.S4MESEBR.js.map +7 -0
- package/dist/chunks/chunk.SIJSFRVB.js +2 -0
- package/dist/chunks/chunk.SIJSFRVB.js.map +7 -0
- package/dist/chunks/chunk.TXOGG2T7.js +2 -0
- package/dist/chunks/chunk.TXOGG2T7.js.map +7 -0
- package/dist/chunks/chunk.UVVG6NF4.js +2 -0
- package/dist/chunks/chunk.UVVG6NF4.js.map +7 -0
- package/dist/chunks/chunk.W3ITQHQQ.js +245 -0
- package/dist/chunks/chunk.W3ITQHQQ.js.map +7 -0
- package/dist/chunks/chunk.WPOS6KBC.js +2 -0
- package/dist/chunks/chunk.WPOS6KBC.js.map +7 -0
- package/dist/chunks/chunk.WSDDWC5Y.js +47 -0
- package/dist/chunks/chunk.WSDDWC5Y.js.map +7 -0
- package/dist/chunks/chunk.YPWTNS7G.js +17 -0
- package/dist/chunks/chunk.YPWTNS7G.js.map +7 -0
- package/dist/chunks/chunk.YXBLJ773.js +4 -0
- package/dist/chunks/chunk.YXBLJ773.js.map +7 -0
- package/dist/chunks/chunk.Z3OBLET2.js +2 -0
- package/dist/chunks/chunk.Z3OBLET2.js.map +7 -0
- package/dist/chunks/chunk.ZKGK7XFD.js +117 -0
- package/dist/chunks/chunk.ZKGK7XFD.js.map +7 -0
- package/dist/chunks/chunk.ZKH7NVYV.js +17 -0
- package/dist/chunks/chunk.ZKH7NVYV.js.map +7 -0
- package/dist/chunks/chunk.ZWJHKP3F.js +4 -0
- package/dist/chunks/chunk.ZWJHKP3F.js.map +7 -0
- package/dist/custom-elements.json +187 -132
- package/dist/docs/components/ScwCard.json +19 -0
- package/dist/docs/components/ScwImage.json +46 -10
- package/dist/docs/components/manifest.json +78 -78
- package/dist/docs/config.json +1 -1
- package/dist/scw-alert/ScwAlert.js +1 -1
- package/dist/scw-alert/scw-alert.js +1 -1
- package/dist/scw-button/ScwButton.js +1 -1
- package/dist/scw-button/scw-button.js +1 -1
- package/dist/scw-card/ScwCard.js +1 -1
- package/dist/scw-card/scw-card.js +1 -1
- package/dist/scw-components.js +1 -1
- package/dist/scw-form-component/scw-form-component.js +1 -1
- package/dist/scw-heading/ScwHeading.js +1 -1
- package/dist/scw-heading/scw-heading.js +1 -1
- package/dist/scw-icon/ScwIcon.js +1 -1
- package/dist/scw-icon/scw-icon.js +1 -1
- package/dist/scw-image/ScwImage.js +1 -1
- package/dist/scw-image/scw-image-validate.js +1 -1
- package/dist/scw-image/scw-image.js +1 -1
- package/dist/scw-input/scw-input.js +1 -1
- package/dist/scw-link/ScwLink.js +1 -1
- package/dist/scw-link/scw-link.js +1 -1
- package/dist/scw-link-base/ScwLinkBase.js +1 -1
- package/dist/scw-link-base/scw-link-base.js +1 -1
- package/dist/scw-menu-item/ScwMenuItem.js +1 -1
- package/dist/scw-menu-item/scw-menu-item.js +1 -1
- package/dist/scw-page-alert/scw-page-alert.js +1 -1
- package/dist/scw-select/scw-select.js +1 -1
- package/dist/scw-single-input/scw-single-input.js +1 -1
- package/dist/scw-textarea/scw-textarea.js +1 -1
- package/dist/scw.js +1 -1
- package/dist/utils/suffix.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
import{b as d}from"./chunk.PXQQTQKT.js";import{a as n}from"./chunk.K3V3AEZG.js";import{a as g}from"./chunk.27N4OQ6C.js";import{d as l}from"./chunk.S4MESEBR.js";import{a as i,b as r,c as a}from"./chunk.HCMPRDIX.js";import{a as t}from"./chunk.ZS4C3T6Z.js";import{g as o}from"./chunk.5YJY6NT6.js";var p=i`
|
|
2
|
+
:host .label {
|
|
3
|
+
display: inline-flex;
|
|
4
|
+
justify-content: center;
|
|
5
|
+
align-items: center;
|
|
6
|
+
}`;var w=i`
|
|
7
|
+
:host([design=text]) .scw-link-base {
|
|
8
|
+
outline: none;
|
|
9
|
+
display: inline;
|
|
10
|
+
}
|
|
11
|
+
:host([design=text]) .scw-link-base .label {
|
|
12
|
+
text-align: LEFT;
|
|
13
|
+
font: var(--scw-type-text-font);
|
|
14
|
+
color: var(--scw-color-03, var(--scw-color-primary-03));
|
|
15
|
+
text-decoration: underline;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
:host([design=text]:hover) a.scw-link-base .label,
|
|
19
|
+
:host([design=text][hover]) a.scw-link-base .label {
|
|
20
|
+
text-align: LEFT;
|
|
21
|
+
font: var(--scw-type-text-font);
|
|
22
|
+
color: var(--scw-color-01, var(--scw-color-primary-01));
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
:host([design=text][aria-disabled=true]) .scw-link-base .label {
|
|
26
|
+
text-align: LEFT;
|
|
27
|
+
font: var(--scw-type-text-font);
|
|
28
|
+
color: var(--scw-color-grey-07);
|
|
29
|
+
}`;var h=i`
|
|
30
|
+
:host([design=solid]) .scw-link-base {
|
|
31
|
+
outline: none;
|
|
32
|
+
user-select: none;
|
|
33
|
+
background-color: var(--scw-color-03, var(--scw-color-primary-03));
|
|
34
|
+
border-radius: 10px 10px 10px 10px;
|
|
35
|
+
display: flex;
|
|
36
|
+
flex-flow: row nowrap;
|
|
37
|
+
justify-content: center;
|
|
38
|
+
align-items: center;
|
|
39
|
+
padding-left: calc(var(--scw-spacing-1) * 1.6);
|
|
40
|
+
padding-right: calc(var(--scw-spacing-1) * 1.6);
|
|
41
|
+
padding-top: calc(var(--scw-spacing-1) * 0.5);
|
|
42
|
+
padding-bottom: calc(var(--scw-spacing-1) * 0.5);
|
|
43
|
+
display: inline-flex;
|
|
44
|
+
}
|
|
45
|
+
:host([design=solid]) .scw-link-base > *:not(:last-child) {
|
|
46
|
+
margin-right: calc(var(--scw-spacing-1) * 0.4);
|
|
47
|
+
--margin-right: calc( var( --scw-spacing-1 ) * 0.4 );
|
|
48
|
+
}
|
|
49
|
+
:host([design=solid]) .scw-link-base .label {
|
|
50
|
+
text-align: LEFT;
|
|
51
|
+
font: var(--scw-type-text-bold-06-font);
|
|
52
|
+
color: var(--scw-color-grey-10);
|
|
53
|
+
min-height: 22px;
|
|
54
|
+
}
|
|
55
|
+
:host([design=solid]) .scw-link-base .icon {
|
|
56
|
+
width: 24px;
|
|
57
|
+
height: 24px;
|
|
58
|
+
}
|
|
59
|
+
:host([design=solid]) .scw-link-base .icon svg {
|
|
60
|
+
box-sizing: border-box;
|
|
61
|
+
vertical-align: top;
|
|
62
|
+
width: 100%;
|
|
63
|
+
height: 100%;
|
|
64
|
+
fill: var(--scw-color-grey-10);
|
|
65
|
+
}
|
|
66
|
+
:host([design=solid]) .scw-link-base .icon svg * {
|
|
67
|
+
fill: var(--scw-color-grey-10);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
:host([design=solid][icon][icon-side=left]) .scw-link-base {
|
|
71
|
+
display: flex;
|
|
72
|
+
flex-flow: row nowrap;
|
|
73
|
+
justify-content: center;
|
|
74
|
+
align-items: center;
|
|
75
|
+
padding-left: calc(var(--scw-spacing-1) * 1.2);
|
|
76
|
+
padding-right: calc(var(--scw-spacing-1) * 1.6);
|
|
77
|
+
padding-top: calc(var(--scw-spacing-1) * 0.4);
|
|
78
|
+
padding-bottom: calc(var(--scw-spacing-1) * 0.4);
|
|
79
|
+
display: inline-flex;
|
|
80
|
+
}
|
|
81
|
+
:host([design=solid][icon][icon-side=left]) .scw-link-base > *:not(:last-child) {
|
|
82
|
+
margin-right: calc(var(--scw-spacing-1) * 0.4);
|
|
83
|
+
--margin-right: calc( var( --scw-spacing-1 ) * 0.4 );
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
:host([design=solid][icon][icon-side=right]) .scw-link-base {
|
|
87
|
+
display: flex;
|
|
88
|
+
flex-flow: row nowrap;
|
|
89
|
+
justify-content: center;
|
|
90
|
+
align-items: center;
|
|
91
|
+
padding-left: calc(var(--scw-spacing-1) * 1.6);
|
|
92
|
+
padding-right: calc(var(--scw-spacing-1) * 1.2);
|
|
93
|
+
padding-top: calc(var(--scw-spacing-1) * 0.4);
|
|
94
|
+
padding-bottom: calc(var(--scw-spacing-1) * 0.4);
|
|
95
|
+
display: inline-flex;
|
|
96
|
+
}
|
|
97
|
+
:host([design=solid][icon][icon-side=right]) .scw-link-base > *:not(:last-child) {
|
|
98
|
+
margin-right: calc(var(--scw-spacing-1) * 0.4);
|
|
99
|
+
--margin-right: calc( var( --scw-spacing-1 ) * 0.4 );
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
:host([design=solid]:hover) a.scw-link-base,
|
|
103
|
+
:host([design=solid][hover]) a.scw-link-base {
|
|
104
|
+
background-color: var(--scw-color-01, var(--scw-color-primary-01));
|
|
105
|
+
border-radius: 10px 10px 10px 10px;
|
|
106
|
+
}
|
|
107
|
+
:host([design=solid]:hover) a.scw-link-base .label,
|
|
108
|
+
:host([design=solid][hover]) a.scw-link-base .label {
|
|
109
|
+
text-align: LEFT;
|
|
110
|
+
font: var(--scw-type-text-bold-06-font);
|
|
111
|
+
color: var(--scw-color-grey-10);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
:host([design=solid][aria-disabled=true]) .scw-link-base {
|
|
115
|
+
background-color: var(--scw-color-grey-095);
|
|
116
|
+
border-radius: 10px 10px 10px 10px;
|
|
117
|
+
}
|
|
118
|
+
:host([design=solid][aria-disabled=true]) .scw-link-base .label {
|
|
119
|
+
text-align: LEFT;
|
|
120
|
+
font: var(--scw-type-text-bold-06-font);
|
|
121
|
+
color: var(--scw-color-grey-07);
|
|
122
|
+
}
|
|
123
|
+
:host([design=solid][aria-disabled=true]) .scw-link-base .icon svg {
|
|
124
|
+
fill: var(--scw-color-grey-07);
|
|
125
|
+
}
|
|
126
|
+
:host([design=solid][aria-disabled=true]) .scw-link-base .icon svg * {
|
|
127
|
+
fill: var(--scw-color-grey-07);
|
|
128
|
+
}`;var f=i`
|
|
129
|
+
:host([design=outlined]) .scw-link-base {
|
|
130
|
+
outline: none;
|
|
131
|
+
user-select: none;
|
|
132
|
+
background-color: var(--scw-color-grey-10);
|
|
133
|
+
border-radius: 10px 10px 10px 10px;
|
|
134
|
+
border-width: 2px;
|
|
135
|
+
border-style: solid;
|
|
136
|
+
border-color: var(--scw-color-04, var(--scw-color-primary-04));
|
|
137
|
+
display: flex;
|
|
138
|
+
flex-flow: row nowrap;
|
|
139
|
+
justify-content: center;
|
|
140
|
+
align-items: center;
|
|
141
|
+
padding-left: calc(var(--scw-spacing-1) * 1.6);
|
|
142
|
+
padding-right: calc(var(--scw-spacing-1) * 1.6);
|
|
143
|
+
padding-top: calc(var(--scw-spacing-1) * 0.3);
|
|
144
|
+
padding-bottom: calc(var(--scw-spacing-1) * 0.3);
|
|
145
|
+
display: inline-flex;
|
|
146
|
+
}
|
|
147
|
+
:host([design=outlined]) .scw-link-base > *:not(:last-child) {
|
|
148
|
+
margin-right: calc(var(--scw-spacing-1) * 0.4);
|
|
149
|
+
--margin-right: calc( var( --scw-spacing-1 ) * 0.4 );
|
|
150
|
+
}
|
|
151
|
+
:host([design=outlined]) .scw-link-base .label {
|
|
152
|
+
text-align: LEFT;
|
|
153
|
+
font: var(--scw-type-text-bold-06-font);
|
|
154
|
+
color: var(--scw-color-03, var(--scw-color-primary-03));
|
|
155
|
+
min-height: 22px;
|
|
156
|
+
}
|
|
157
|
+
:host([design=outlined]) .scw-link-base .icon {
|
|
158
|
+
width: 24px;
|
|
159
|
+
height: 24px;
|
|
160
|
+
}
|
|
161
|
+
:host([design=outlined]) .scw-link-base .icon svg {
|
|
162
|
+
box-sizing: border-box;
|
|
163
|
+
vertical-align: top;
|
|
164
|
+
width: 100%;
|
|
165
|
+
height: 100%;
|
|
166
|
+
fill: var(--scw-color-primary-03);
|
|
167
|
+
}
|
|
168
|
+
:host([design=outlined]) .scw-link-base .icon svg * {
|
|
169
|
+
fill: var(--scw-color-primary-03);
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
:host([design=outlined][icon][icon-side=left]) .scw-link-base {
|
|
173
|
+
display: flex;
|
|
174
|
+
flex-flow: row nowrap;
|
|
175
|
+
justify-content: center;
|
|
176
|
+
align-items: center;
|
|
177
|
+
padding-left: calc(var(--scw-spacing-1) * 1.2);
|
|
178
|
+
padding-right: calc(var(--scw-spacing-1) * 1.6);
|
|
179
|
+
padding-top: calc(var(--scw-spacing-1) * 0.2);
|
|
180
|
+
padding-bottom: calc(var(--scw-spacing-1) * 0.2);
|
|
181
|
+
display: inline-flex;
|
|
182
|
+
}
|
|
183
|
+
:host([design=outlined][icon][icon-side=left]) .scw-link-base > *:not(:last-child) {
|
|
184
|
+
margin-right: calc(var(--scw-spacing-1) * 0.4);
|
|
185
|
+
--margin-right: calc( var( --scw-spacing-1 ) * 0.4 );
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
:host([design=outlined][icon][icon-side=right]) .scw-link-base {
|
|
189
|
+
display: flex;
|
|
190
|
+
flex-flow: row nowrap;
|
|
191
|
+
justify-content: center;
|
|
192
|
+
align-items: center;
|
|
193
|
+
padding-left: calc(var(--scw-spacing-1) * 1.6);
|
|
194
|
+
padding-right: calc(var(--scw-spacing-1) * 1.2);
|
|
195
|
+
padding-top: calc(var(--scw-spacing-1) * 0.2);
|
|
196
|
+
padding-bottom: calc(var(--scw-spacing-1) * 0.2);
|
|
197
|
+
display: inline-flex;
|
|
198
|
+
}
|
|
199
|
+
:host([design=outlined][icon][icon-side=right]) .scw-link-base > *:not(:last-child) {
|
|
200
|
+
margin-right: calc(var(--scw-spacing-1) * 0.4);
|
|
201
|
+
--margin-right: calc( var( --scw-spacing-1 ) * 0.4 );
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
:host([design=outlined]:hover) a.scw-link-base,
|
|
205
|
+
:host([design=outlined][hover]) a.scw-link-base {
|
|
206
|
+
background-color: var(--scw-color-grey-10);
|
|
207
|
+
border-radius: 10px 10px 10px 10px;
|
|
208
|
+
border-width: 2px;
|
|
209
|
+
border-style: solid;
|
|
210
|
+
border-color: var(--scw-color-01, var(--scw-color-primary-01));
|
|
211
|
+
}
|
|
212
|
+
:host([design=outlined]:hover) a.scw-link-base .label,
|
|
213
|
+
:host([design=outlined][hover]) a.scw-link-base .label {
|
|
214
|
+
text-align: LEFT;
|
|
215
|
+
font: var(--scw-type-text-bold-06-font);
|
|
216
|
+
color: var(--scw-color-01, var(--scw-color-primary-01));
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
:host([design=outlined][aria-disabled=true]) .scw-link-base {
|
|
220
|
+
background-color: var(--scw-color-grey-10);
|
|
221
|
+
border-radius: 10px 10px 10px 10px;
|
|
222
|
+
border-width: 2px;
|
|
223
|
+
border-style: solid;
|
|
224
|
+
border-color: var(--scw-color-grey-09);
|
|
225
|
+
}
|
|
226
|
+
:host([design=outlined][aria-disabled=true]) .scw-link-base .label {
|
|
227
|
+
text-align: LEFT;
|
|
228
|
+
font: var(--scw-type-text-bold-06-font);
|
|
229
|
+
color: var(--scw-color-grey-07);
|
|
230
|
+
}
|
|
231
|
+
:host([design=outlined][aria-disabled=true]) .scw-link-base .icon svg {
|
|
232
|
+
fill: var(--scw-color-grey-07);
|
|
233
|
+
}
|
|
234
|
+
:host([design=outlined][aria-disabled=true]) .scw-link-base .icon svg * {
|
|
235
|
+
fill: var(--scw-color-grey-07);
|
|
236
|
+
}`;var b=i`
|
|
237
|
+
:host([design=plain]) .scw-link-base {
|
|
238
|
+
outline: none;
|
|
239
|
+
display: inline-block;
|
|
240
|
+
}`;var s=class extends l{constructor(){super();this.iconSide="left";this.design="solid";this._svgInfo="";this.element="link"}static get styles(){return[super.styles,p]}parseAndValidateLightDom(){super.parseAndValidateLightDom(),g(this.icon,e=>{e===!1?this.warn(`scw-icon could not find ${this.icon}`):this._svgInfo=e})}validDesigns(){return d}doShowIcon(){return!!(this.icon&&this.design!=="plain"&&this.design!=="text")}renderContent(){let e=this.doShowIcon(),c=`<style>${this.findStyle().cssText}</style>`;return this.design==="plain"?t`
|
|
241
|
+
${n(c)}
|
|
242
|
+
<slot></slot>
|
|
243
|
+
`:t`
|
|
244
|
+
${e&&this.iconSide==="left"?t`
|
|
245
|
+
<div class="icon">
|
|
246
|
+
${n(this._svgInfo)}
|
|
247
|
+
</div>`:""}
|
|
248
|
+
${n(c)}
|
|
249
|
+
<div class="label">
|
|
250
|
+
${this.ariaLabel}
|
|
251
|
+
</div>
|
|
252
|
+
${e&&this.iconSide==="right"?t`
|
|
253
|
+
<div class="icon">
|
|
254
|
+
${n(this._svgInfo)}
|
|
255
|
+
</div>`:""}`}findStyle(){switch(this.design){case"solid":return h;case"outlined":return f;case"text":return w;case"plain":default:return b}}render(){return this.renderLink(this.renderContent())}};o([r({type:String,reflect:!0})],s.prototype,"icon",2),o([r({type:String,reflect:!0,attribute:"icon-side"})],s.prototype,"iconSide",2),o([r({type:String,reflect:!0})],s.prototype,"design",2),o([a()],s.prototype,"_svgInfo",2);export{s as a};
|
|
256
|
+
//# sourceMappingURL=chunk.RBSBLP6E.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["sass-plugin-0:/Users/scottrouse/Workspace/scu-design-system-mono/scu-web-components/src/scw-link/scss/scw-link.scss", "sass-plugin-0:/Users/scottrouse/Workspace/scu-design-system-mono/scu-web-components/src/scw-link/scss/scw-link-text.scss", "sass-plugin-0:/Users/scottrouse/Workspace/scu-design-system-mono/scu-web-components/src/scw-link/scss/scw-link-solid.scss", "sass-plugin-0:/Users/scottrouse/Workspace/scu-design-system-mono/scu-web-components/src/scw-link/scss/scw-link-outlined.scss", "sass-plugin-0:/Users/scottrouse/Workspace/scu-design-system-mono/scu-web-components/src/scw-link/scss/scw-link-plain.scss", "../../src/scw-link/ScwLink.ts"],
|
|
4
|
+
"sourcesContent": ["import {css} from \"lit-element/lit-element.js\";\nexport default css`\n:host .label {\n display: inline-flex;\n justify-content: center;\n align-items: center;\n}`;\n", "import {css} from \"lit-element/lit-element.js\";\nexport default css`\n:host([design=text]) .scw-link-base {\n outline: none;\n display: inline;\n}\n:host([design=text]) .scw-link-base .label {\n text-align: LEFT;\n font: var(--scw-type-text-font);\n color: var(--scw-color-03, var(--scw-color-primary-03));\n text-decoration: underline;\n}\n\n:host([design=text]:hover) a.scw-link-base .label,\n:host([design=text][hover]) a.scw-link-base .label {\n text-align: LEFT;\n font: var(--scw-type-text-font);\n color: var(--scw-color-01, var(--scw-color-primary-01));\n}\n\n:host([design=text][aria-disabled=true]) .scw-link-base .label {\n text-align: LEFT;\n font: var(--scw-type-text-font);\n color: var(--scw-color-grey-07);\n}`;\n", "import {css} from \"lit-element/lit-element.js\";\nexport default css`\n:host([design=solid]) .scw-link-base {\n outline: none;\n user-select: none;\n background-color: var(--scw-color-03, var(--scw-color-primary-03));\n border-radius: 10px 10px 10px 10px;\n display: flex;\n flex-flow: row nowrap;\n justify-content: center;\n align-items: center;\n padding-left: calc(var(--scw-spacing-1) * 1.6);\n padding-right: calc(var(--scw-spacing-1) * 1.6);\n padding-top: calc(var(--scw-spacing-1) * 0.5);\n padding-bottom: calc(var(--scw-spacing-1) * 0.5);\n display: inline-flex;\n}\n:host([design=solid]) .scw-link-base > *:not(:last-child) {\n margin-right: calc(var(--scw-spacing-1) * 0.4);\n --margin-right: calc( var( --scw-spacing-1 ) * 0.4 );\n}\n:host([design=solid]) .scw-link-base .label {\n text-align: LEFT;\n font: var(--scw-type-text-bold-06-font);\n color: var(--scw-color-grey-10);\n min-height: 22px;\n}\n:host([design=solid]) .scw-link-base .icon {\n width: 24px;\n height: 24px;\n}\n:host([design=solid]) .scw-link-base .icon svg {\n box-sizing: border-box;\n vertical-align: top;\n width: 100%;\n height: 100%;\n fill: var(--scw-color-grey-10);\n}\n:host([design=solid]) .scw-link-base .icon svg * {\n fill: var(--scw-color-grey-10);\n}\n\n:host([design=solid][icon][icon-side=left]) .scw-link-base {\n display: flex;\n flex-flow: row nowrap;\n justify-content: center;\n align-items: center;\n padding-left: calc(var(--scw-spacing-1) * 1.2);\n padding-right: calc(var(--scw-spacing-1) * 1.6);\n padding-top: calc(var(--scw-spacing-1) * 0.4);\n padding-bottom: calc(var(--scw-spacing-1) * 0.4);\n display: inline-flex;\n}\n:host([design=solid][icon][icon-side=left]) .scw-link-base > *:not(:last-child) {\n margin-right: calc(var(--scw-spacing-1) * 0.4);\n --margin-right: calc( var( --scw-spacing-1 ) * 0.4 );\n}\n\n:host([design=solid][icon][icon-side=right]) .scw-link-base {\n display: flex;\n flex-flow: row nowrap;\n justify-content: center;\n align-items: center;\n padding-left: calc(var(--scw-spacing-1) * 1.6);\n padding-right: calc(var(--scw-spacing-1) * 1.2);\n padding-top: calc(var(--scw-spacing-1) * 0.4);\n padding-bottom: calc(var(--scw-spacing-1) * 0.4);\n display: inline-flex;\n}\n:host([design=solid][icon][icon-side=right]) .scw-link-base > *:not(:last-child) {\n margin-right: calc(var(--scw-spacing-1) * 0.4);\n --margin-right: calc( var( --scw-spacing-1 ) * 0.4 );\n}\n\n:host([design=solid]:hover) a.scw-link-base,\n:host([design=solid][hover]) a.scw-link-base {\n background-color: var(--scw-color-01, var(--scw-color-primary-01));\n border-radius: 10px 10px 10px 10px;\n}\n:host([design=solid]:hover) a.scw-link-base .label,\n:host([design=solid][hover]) a.scw-link-base .label {\n text-align: LEFT;\n font: var(--scw-type-text-bold-06-font);\n color: var(--scw-color-grey-10);\n}\n\n:host([design=solid][aria-disabled=true]) .scw-link-base {\n background-color: var(--scw-color-grey-095);\n border-radius: 10px 10px 10px 10px;\n}\n:host([design=solid][aria-disabled=true]) .scw-link-base .label {\n text-align: LEFT;\n font: var(--scw-type-text-bold-06-font);\n color: var(--scw-color-grey-07);\n}\n:host([design=solid][aria-disabled=true]) .scw-link-base .icon svg {\n fill: var(--scw-color-grey-07);\n}\n:host([design=solid][aria-disabled=true]) .scw-link-base .icon svg * {\n fill: var(--scw-color-grey-07);\n}`;\n", "import {css} from \"lit-element/lit-element.js\";\nexport default css`\n:host([design=outlined]) .scw-link-base {\n outline: none;\n user-select: none;\n background-color: var(--scw-color-grey-10);\n border-radius: 10px 10px 10px 10px;\n border-width: 2px;\n border-style: solid;\n border-color: var(--scw-color-04, var(--scw-color-primary-04));\n display: flex;\n flex-flow: row nowrap;\n justify-content: center;\n align-items: center;\n padding-left: calc(var(--scw-spacing-1) * 1.6);\n padding-right: calc(var(--scw-spacing-1) * 1.6);\n padding-top: calc(var(--scw-spacing-1) * 0.3);\n padding-bottom: calc(var(--scw-spacing-1) * 0.3);\n display: inline-flex;\n}\n:host([design=outlined]) .scw-link-base > *:not(:last-child) {\n margin-right: calc(var(--scw-spacing-1) * 0.4);\n --margin-right: calc( var( --scw-spacing-1 ) * 0.4 );\n}\n:host([design=outlined]) .scw-link-base .label {\n text-align: LEFT;\n font: var(--scw-type-text-bold-06-font);\n color: var(--scw-color-03, var(--scw-color-primary-03));\n min-height: 22px;\n}\n:host([design=outlined]) .scw-link-base .icon {\n width: 24px;\n height: 24px;\n}\n:host([design=outlined]) .scw-link-base .icon svg {\n box-sizing: border-box;\n vertical-align: top;\n width: 100%;\n height: 100%;\n fill: var(--scw-color-primary-03);\n}\n:host([design=outlined]) .scw-link-base .icon svg * {\n fill: var(--scw-color-primary-03);\n}\n\n:host([design=outlined][icon][icon-side=left]) .scw-link-base {\n display: flex;\n flex-flow: row nowrap;\n justify-content: center;\n align-items: center;\n padding-left: calc(var(--scw-spacing-1) * 1.2);\n padding-right: calc(var(--scw-spacing-1) * 1.6);\n padding-top: calc(var(--scw-spacing-1) * 0.2);\n padding-bottom: calc(var(--scw-spacing-1) * 0.2);\n display: inline-flex;\n}\n:host([design=outlined][icon][icon-side=left]) .scw-link-base > *:not(:last-child) {\n margin-right: calc(var(--scw-spacing-1) * 0.4);\n --margin-right: calc( var( --scw-spacing-1 ) * 0.4 );\n}\n\n:host([design=outlined][icon][icon-side=right]) .scw-link-base {\n display: flex;\n flex-flow: row nowrap;\n justify-content: center;\n align-items: center;\n padding-left: calc(var(--scw-spacing-1) * 1.6);\n padding-right: calc(var(--scw-spacing-1) * 1.2);\n padding-top: calc(var(--scw-spacing-1) * 0.2);\n padding-bottom: calc(var(--scw-spacing-1) * 0.2);\n display: inline-flex;\n}\n:host([design=outlined][icon][icon-side=right]) .scw-link-base > *:not(:last-child) {\n margin-right: calc(var(--scw-spacing-1) * 0.4);\n --margin-right: calc( var( --scw-spacing-1 ) * 0.4 );\n}\n\n:host([design=outlined]:hover) a.scw-link-base,\n:host([design=outlined][hover]) a.scw-link-base {\n background-color: var(--scw-color-grey-10);\n border-radius: 10px 10px 10px 10px;\n border-width: 2px;\n border-style: solid;\n border-color: var(--scw-color-01, var(--scw-color-primary-01));\n}\n:host([design=outlined]:hover) a.scw-link-base .label,\n:host([design=outlined][hover]) a.scw-link-base .label {\n text-align: LEFT;\n font: var(--scw-type-text-bold-06-font);\n color: var(--scw-color-01, var(--scw-color-primary-01));\n}\n\n:host([design=outlined][aria-disabled=true]) .scw-link-base {\n background-color: var(--scw-color-grey-10);\n border-radius: 10px 10px 10px 10px;\n border-width: 2px;\n border-style: solid;\n border-color: var(--scw-color-grey-09);\n}\n:host([design=outlined][aria-disabled=true]) .scw-link-base .label {\n text-align: LEFT;\n font: var(--scw-type-text-bold-06-font);\n color: var(--scw-color-grey-07);\n}\n:host([design=outlined][aria-disabled=true]) .scw-link-base .icon svg {\n fill: var(--scw-color-grey-07);\n}\n:host([design=outlined][aria-disabled=true]) .scw-link-base .icon svg * {\n fill: var(--scw-color-grey-07);\n}`;\n", "import {css} from \"lit-element/lit-element.js\";\nexport default css`\n:host([design=plain]) .scw-link-base {\n outline: none;\n display: inline-block;\n}`;\n", "import {html} from 'lit';\nimport {property, state} from 'lit/decorators.js';\nimport {unsafeHTML} from 'lit/directives/unsafe-html.js';\nimport styles from './scss/scw-link.scss';\nimport stylesText from './scss/scw-link-text.scss';\nimport stylesSolid from './scss/scw-link-solid.scss';\nimport stylesOutline from './scss/scw-link-outlined.scss';\nimport stylesPlain from './scss/scw-link-plain.scss';\nimport {\n ScwLinkSide,\n ScwLinkDesigns,\n} from './scw-link-enums';\nimport getIconSvg from '../utils/getIconSvg';\nimport {Components} from '../utils/enums/Components';\nimport {ScwMenuItemDesigns} from '../scw-menu-item/scw-menu-item-enums';\nimport ScwLinkBase from '../scw-link-base/ScwLinkBase';\n\n/**\n * ScwLink\n * @class\n * @tag scw-link\n *\n * @slot [default=\"<a href target />\"]\n (OPTIONAL) anchor (for SEO) will determine the label, href, and target.\n * @slot [default=\"<... />\"]\n (OPTIONAL) random content (paired with design=\"plain\") will wrap that\n content with a link.\n */\nexport default class ScwLink extends ScwLinkBase {\n /**\n * styles\n */\n static get styles() {\n return [\n super.styles,\n styles,\n ];\n }\n\n // ============== ScwLink ==================================================\n /**\n * (ScwLink) Determines the icon to use with the text\n * @type {string}\n */\n @property({type: String, reflect: true})\n icon: string | undefined;\n\n /**\n * (ScwLink) Determines which side the icon should show up on\n * @type {string}\n */\n @property({type: String, reflect: true, attribute: 'icon-side'})\n iconSide: ScwLinkSide = ScwLinkSide.left;\n\n /**\n * (ScwLink) The design style of the link.\n * @type {string}\n */\n @property({type: String, reflect: true})\n design: ScwLinkDesigns | ScwMenuItemDesigns = ScwLinkDesigns.solid;\n\n @state() _svgInfo : string = '';\n\n /**\n * Constructor\n */\n constructor() {\n super();\n this.element = Components.link;\n }\n\n /** parseAndValidateLightDom, just adding local parsing and validation */\n parseAndValidateLightDom() {\n super.parseAndValidateLightDom();\n getIconSvg(this.icon, (svgInfo: string | false ) => {\n if (svgInfo === false ) {\n this.warn(`scw-icon could not find ${this.icon}`);\n } else {\n this._svgInfo = svgInfo;\n }\n });\n }\n\n /**\n * Way to extend valid design types...\n * @return {object} object of valid designs relative to this object\n */\n validDesigns() : object {\n return ScwLinkDesigns;\n }\n\n /**\n * Way to extend valid design icon types...\n * @return {boolean}\n */\n doShowIcon() : boolean {\n if ( this.icon &&\n this.design !== ScwLinkDesigns.plain &&\n this.design !== ScwLinkDesigns.text ) {\n return true;\n }\n return false;\n }\n\n /**\n * renderContent\n * @return {object} component DOM\n */\n renderContent(): object {\n const doShowIcon = this.doShowIcon();\n // ssr is fighting injecting css this way...\n const localCss = `<style>${this.findStyle().cssText}</style>`;\n\n if (this.design === ScwLinkDesigns.plain) {\n return html`\n ${unsafeHTML(localCss)}\n <slot></slot>\n `;\n }\n\n return html`\n ${doShowIcon && this.iconSide === ScwLinkSide.left ?\n html`\n <div class=\"icon\">\n ${unsafeHTML(this._svgInfo)}\n </div>` : ''}\n ${unsafeHTML(localCss)}\n <div class=\"label\">\n ${this.ariaLabel}\n </div>\n ${doShowIcon && this.iconSide === ScwLinkSide.right ?\n html`\n <div class=\"icon\">\n ${unsafeHTML(this._svgInfo)}\n </div>` : ''}`;\n }\n\n /**\n * find the style per design\n * @return {object}\n */\n findStyle() {\n switch (this.design) {\n case ScwLinkDesigns.solid:\n return stylesSolid;\n case ScwLinkDesigns.outlined:\n return stylesOutline;\n case ScwLinkDesigns.text:\n return stylesText;\n case ScwLinkDesigns.plain:\n default:\n return stylesPlain;\n }\n }\n\n /**\n * render\n * @return {object} component DOM\n */\n render(): object {\n return this.renderLink(\n this.renderContent(),\n );\n }\n}\n"],
|
|
5
|
+
"mappings": "sSACA,GAAO,GAAQ;AAAA;AAAA;AAAA;AAAA;GCAf,GAAO,GAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;GCAf,GAAO,GAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;GCAf,GAAO,GAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;GCAf,GAAO,GAAQ;AAAA;AAAA;AAAA;GC2Bf,mBAAqC,EAAY,CAsC/C,aAAc,CACZ,MAAM,EAfN,cAAwB,OAOxB,YAA8C,QAEvC,cAAoB,GAO3B,KAAK,QAAU,MACjB,WArCW,SAAS,CAClB,MAAO,CACL,MAAM,OACN,CACF,CACF,CAmCA,0BAA2B,CACzB,MAAM,yBAAyB,EAC/B,EAAW,KAAK,KAAM,AAAC,GAA6B,CAClD,AAAI,IAAY,GACd,KAAK,KAAK,2BAA2B,KAAK,MAAM,EAEhD,KAAK,SAAW,CAEpB,CAAC,CACH,CAMA,cAAwB,CACtB,MAAO,EACT,CAMA,YAAuB,CACrB,MAAK,QAAK,MACR,KAAK,SAAW,SAChB,KAAK,SAAW,OAIpB,CAMA,eAAwB,CACtB,GAAM,GAAa,KAAK,WAAW,EAE7B,EAAW,UAAU,KAAK,UAAU,EAAE,kBAE5C,MAAI,MAAK,SAAW,QACX;AAAA,UACH,EAAW,CAAQ;AAAA;AAAA,QAKlB;AAAA,QACH,GAAc,KAAK,WAAa,OAClC;AAAA;AAAA,YAEM,EAAW,KAAK,QAAQ;AAAA,gBAClB;AAAA,UACR,EAAW,CAAQ;AAAA;AAAA,YAEjB,KAAK;AAAA;AAAA,QAET,GAAc,KAAK,WAAa,QAClC;AAAA;AAAA,YAEM,EAAW,KAAK,QAAQ;AAAA,gBAClB,IAChB,CAMA,WAAY,CACV,OAAQ,KAAK,YACN,QACH,MAAO,OACJ,WACH,MAAO,OACJ,OACH,MAAO,OACJ,gBAEH,MAAO,GAEb,CAMC,QAAiB,CAChB,MAAO,MAAK,WACV,KAAK,cAAc,CACrB,CACF,CACF,EAvHI,GADF,AAAC,EAAS,CAAC,KAAM,OAAQ,QAAS,EAAI,CAAC,GACrC,AAjBJ,EAiBI,oBAOA,GADF,AAAC,EAAS,CAAC,KAAM,OAAQ,QAAS,GAAM,UAAW,WAAW,CAAC,GAC7D,AAxBJ,EAwBI,wBAOA,GADF,AAAC,EAAS,CAAC,KAAM,OAAQ,QAAS,EAAI,CAAC,GACrC,AA/BJ,EA+BI,sBAEO,GAAT,AAAC,EAAM,GAAE,AAjCX,EAiCW",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/utils/suffix.ts"],
|
|
4
|
+
"sourcesContent": ["import {config} from '../scw';\n\n/**\n * Pulls suffix from global design system config with some formatting options\n * @param {string} connector\n * @return {string}\n */\nexport default function getSuffix(connector: string = '-') {\n return config ? config.suffix ? `${connector}${config.suffix}` : '' : '';\n}\n\n"],
|
|
5
|
+
"mappings": "wCAOe,WAAmB,EAAoB,IAAK,CACzD,MAAO,IAAS,EAAO,OAAS,GAAG,IAAY,EAAO,SAAgB,EACxE",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import{a as u}from"./chunk.QRG5WBRU.js";import{a as l,b as r,e as f}from"./chunk.HCMPRDIX.js";import{a,d as c}from"./chunk.ZS4C3T6Z.js";import{b,d as m,f as g,g as i}from"./chunk.5YJY6NT6.js";var p={};m(p,{validationWarnings:()=>v});var v,d=b(()=>{v={ariaLabelWarning:"link without a label",noIconWarning:"could not find the icon"}});var s=n=>n!=null?n:c;var h=l`
|
|
2
|
+
.scw-link-base {
|
|
3
|
+
display: block;
|
|
4
|
+
text-decoration: none;
|
|
5
|
+
}
|
|
6
|
+
.scw-link-base:focus-visible {
|
|
7
|
+
outline: none;
|
|
8
|
+
box-shadow: var(--scw-effect-focus-shadow);
|
|
9
|
+
border-radius: 4px;
|
|
10
|
+
}
|
|
11
|
+
.scw-link-base:focus:not(:focus-visible) {
|
|
12
|
+
outline: none;
|
|
13
|
+
box-shadow: none;
|
|
14
|
+
}`;var{validationWarnings:k}=(d(),g(p)),t=class extends f{constructor(){super();this.ariaLabel="";this.ariaDisabled="false";this.element="link-base"}static get styles(){return[super.styles,h]}updated(){this.ariaDisabled==="true"?this.addEventListener("click",this.cancelEvent,{capture:!0}):this.removeEventListener("click",this.cancelEvent,{capture:!0})}cancelEvent(e){e.preventDefault(),e.stopImmediatePropagation()}parseAndValidateLightDom(){super.parseAndValidateLightDom(),u(this),this.isLink()&&this.ariaLabel.trim().length===0&&this.warn(k.ariaLabelWarning)}isLink(){return!!(this.href||this.getAttribute("onclick"))}renderLink(e,o){return this.isLink()&&this.ariaDisabled!=="true"?a`
|
|
15
|
+
<a
|
|
16
|
+
class="scw-link-base"
|
|
17
|
+
style="${s(o)}"
|
|
18
|
+
href="${this.href?this.href:"javascript:"}"
|
|
19
|
+
target="${this.target?this.target:"_self"}"
|
|
20
|
+
aria-label="${this.ariaLabel}">
|
|
21
|
+
${e}
|
|
22
|
+
</a>`:a`
|
|
23
|
+
<div class="scw-link-base"
|
|
24
|
+
style="${s(o)}">
|
|
25
|
+
${e}
|
|
26
|
+
</div>`}render(){return this.renderLink(a`${this._lastWarning?this._lastWarning:this.ariaLabel}`)}};i([r({type:String,reflect:!0,attribute:"aria-label"})],t.prototype,"ariaLabel",2),i([r({type:String,attribute:"aria-disabled"})],t.prototype,"ariaDisabled",2),i([r({type:String,reflect:!0})],t.prototype,"href",2),i([r({type:String,reflect:!0})],t.prototype,"target",2);export{s as a,p as b,d as c,t as d};
|
|
27
|
+
/**
|
|
28
|
+
* @license
|
|
29
|
+
* Copyright 2018 Google LLC
|
|
30
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
31
|
+
*/
|
|
32
|
+
//# sourceMappingURL=chunk.S4MESEBR.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/utils/validation/warnings.mjs", "../../../node_modules/lit-html/src/directives/if-defined.ts", "sass-plugin-0:/Users/scottrouse/Workspace/scu-design-system-mono/scu-web-components/src/scw-link-base/scss/scw-link-base.scss", "../../src/scw-link-base/ScwLinkBase.ts"],
|
|
4
|
+
"sourcesContent": ["\n\nexport const validationWarnings = {\n ariaLabelWarning: 'link without a label',\n noIconWarning: 'could not find the icon',\n};\n", "/**\n * @license\n * Copyright 2018 Google LLC\n * SPDX-License-Identifier: BSD-3-Clause\n */\n\nimport {nothing} from '../lit-html.js';\n\n/**\n * For AttributeParts, sets the attribute if the value is defined and removes\n * the attribute if the value is undefined.\n *\n * For other part types, this directive is a no-op.\n */\nexport const ifDefined = <T>(value: T) => value ?? nothing;\n", "import {css} from \"lit-element/lit-element.js\";\nexport default css`\n.scw-link-base {\n display: block;\n text-decoration: none;\n}\n.scw-link-base:focus-visible {\n outline: none;\n box-shadow: var(--scw-effect-focus-shadow);\n border-radius: 4px;\n}\n.scw-link-base:focus:not(:focus-visible) {\n outline: none;\n box-shadow: none;\n}`;\n", "import {html} from 'lit';\nimport {property} from 'lit/decorators.js';\nimport {ifDefined} from 'lit/directives/if-defined.js';\nimport ScwComponent from '../scw-component/ScwComponent';\nimport parseLightDomAnchor from './parseLightDomAnchor';\nimport {Components} from '../utils/enums/Components';\nimport styles from './scss/scw-link-base.scss';\nconst {validationWarnings} = require('../utils/validation/warnings.mjs');\n\n/**\n * ScwLinkBase\n * @class\n * @tag scw-link-base\n *\n * @slot [default=\"<a href target />\"]\n (OPTIONAL) anchor (for SEO) will determine the label, href, and target.\n * @slot [default=\"<... />\"]\n (OPTIONAL) random content (paired with design=\"plain\") will wrap that\n content with a link.\n */\nexport default class ScwLinkBase extends ScwComponent {/**\n * styles\n */\n static get styles() {\n return [\n super.styles,\n styles,\n ];\n }\n\n // ============== ScwLinkBase =======================================\n /**\n * (ScwLinkBase) Main text within component\n * @type {string}\n */\n @property({type: String, reflect: true, attribute: 'aria-label'})\n ariaLabel: string = '';\n\n /**\n * (ScwLinkBase) Makes the link unclickable and faded out.\n * @type {string}\n */\n @property({type: String, attribute: 'aria-disabled'})\n ariaDisabled: string = 'false';\n\n /**\n * (ScwLinkBase) link location - private\n * ...should not be able to be set directly b/c scu-link should use this\n */\n @property({type: String, reflect: true})\n href : string | undefined;\n\n /**\n * (ScwLinkBase) link target - private\n * ...should not be able to be set directly b/c scu-link should use this\n */\n @property({type: String, reflect: true})\n target : '_blank' | '_parent' | '_self' | '_top' | undefined;\n\n /**\n * Constructor\n */\n constructor() {\n super();\n this.element = Components.linkBase;\n }\n\n /**\n * request update\n */\n updated() {\n if (this.ariaDisabled === 'true') {\n this.addEventListener('click', this.cancelEvent, {capture: true} );\n } else {\n this.removeEventListener('click', this.cancelEvent, {capture: true} );\n }\n }\n\n /**\n * cancel event\n * @param {Event} evt\n */\n cancelEvent(evt: Event) {\n evt.preventDefault();\n evt.stopImmediatePropagation();\n }\n\n /**\n * override with anchor info\n */\n parseAndValidateLightDom() {\n super.parseAndValidateLightDom();\n parseLightDomAnchor(this);\n if (this.isLink() && this.ariaLabel.trim().length === 0) {\n this.warn(validationWarnings.ariaLabelWarning);// 'link without a label');\n }\n }\n\n /**\n * Should this element be rendered as a link...\n * @return {boolean}\n */\n isLink() {\n if (this.href || this.getAttribute('onclick')) {\n return true;\n }\n return false;\n }\n\n /**\n * renderLink\n * @param {object} children\n * @param {string} styles\n * @return {object} component DOM\n */\n renderLink(children: object, styles?: string): object {\n if (this.isLink() && this.ariaDisabled !== 'true') {\n return html`\n <a\n class=\"scw-link-base\"\n style=\"${ifDefined(styles)}\"\n href=\"${this.href ? this.href : 'javascript:'}\"\n target=\"${this.target ? this.target : '_self'}\"\n aria-label=\"${this.ariaLabel}\">\n ${children}\n </a>`;\n } else {\n // need a consistent container for styling\n return html`\n <div class=\"scw-link-base\"\n style=\"${ifDefined(styles)}\">\n ${children}\n </div>`;\n }\n }\n\n /**\n * render\n * @return {object} component DOM\n */\n render(): object {\n return this.renderLink(\n html`${this._lastWarning ? this._lastWarning : this.ariaLabel}`,\n );\n }\n}\n"],
|
|
5
|
+
"mappings": "gMAAA,4CAEa,GAFb,SAEO,AAAM,EAAqB,CAChC,iBAAkB,uBAClB,cAAe,yBACjB,OCSa,GAAgB,GAAa,AAAA,GAAA,KAAA,EAAS,ECbnD,GAAO,GAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;GCMf,GAAM,CAAC,sBAAsB,WAa7B,eAAyC,EAAa,CA0CpD,aAAc,CACZ,MAAM,EA3BN,eAAoB,GAOpB,kBAAuB,QAqBvB,KAAK,QAAU,WACjB,WA1CW,SAAS,CAClB,MAAO,CACL,MAAM,OACN,CACF,CACF,CA0CA,SAAU,CACR,AAAI,KAAK,eAAiB,OACxB,KAAK,iBAAiB,QAAS,KAAK,YAAa,CAAC,QAAS,EAAI,CAAE,EAEjE,KAAK,oBAAoB,QAAS,KAAK,YAAa,CAAC,QAAS,EAAI,CAAE,CAExE,CAMA,YAAY,EAAY,CACtB,EAAI,eAAe,EACnB,EAAI,yBAAyB,CAC/B,CAKA,0BAA2B,CACzB,MAAM,yBAAyB,EAC/B,EAAoB,IAAI,EACpB,KAAK,OAAO,GAAK,KAAK,UAAU,KAAK,EAAE,SAAW,GACpD,KAAK,KAAK,EAAmB,gBAAgB,CAEjD,CAMA,QAAS,CACP,MAAI,QAAK,MAAQ,KAAK,aAAa,SAAS,EAI9C,CAQA,WAAW,EAAkB,EAAyB,CACpD,MAAI,MAAK,OAAO,GAAK,KAAK,eAAiB,OAClC;AAAA;AAAA;AAAA,mBAGM,EAAU,CAAM;AAAA,kBACjB,KAAK,KAAO,KAAK,KAAO;AAAA,oBACtB,KAAK,OAAS,KAAK,OAAS;AAAA,wBACxB,KAAK;AAAA,YACjB;AAAA,cAIC;AAAA;AAAA,mBAEM,EAAU,CAAM;AAAA,YACvB;AAAA,eAGV,CAMA,QAAiB,CACf,MAAO,MAAK,WACV,IAAO,KAAK,aAAe,KAAK,aAAe,KAAK,WACtD,CACF,CACF,EA7GI,GADF,AAAC,EAAS,CAAC,KAAM,OAAQ,QAAS,GAAM,UAAW,YAAY,CAAC,GAC9D,AAhBJ,EAgBI,yBAOA,GADF,AAAC,EAAS,CAAC,KAAM,OAAQ,UAAW,eAAe,CAAC,GAClD,AAvBJ,EAuBI,4BAOA,GADF,AAAC,EAAS,CAAC,KAAM,OAAQ,QAAS,EAAI,CAAC,GACrC,AA9BJ,EA8BI,oBAOA,GADF,AAAC,EAAS,CAAC,KAAM,OAAQ,QAAS,EAAI,CAAC,GACrC,AArCJ,EAqCI",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/utils/suffix.ts"],
|
|
4
|
+
"sourcesContent": ["import {config} from '../scw';\n\n/**\n * Pulls suffix from global design system config with some formatting options\n * @param {string} connector\n * @return {string}\n */\nexport default function getSuffix(connector: string = '-') {\n return config ? config.suffix ? `${connector}${config.suffix}` : '' : '';\n}\n\n"],
|
|
5
|
+
"mappings": "wCAOe,WAAmB,EAAoB,IAAK,CACzD,MAAO,IAAS,EAAO,OAAS,GAAG,IAAY,EAAO,SAAgB,EACxE",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
import{a as r,b as s}from"./chunk.RGGLFZST.js";import{a as g}from"./chunk.62GWBO3B.js";import{a as n,d as l}from"./chunk.S4MESEBR.js";import{a,b as i,e as c}from"./chunk.HCMPRDIX.js";import{a as d}from"./chunk.Y2P62L7U.js";import{g as e}from"./chunk.5YJY6NT6.js";var p=a`
|
|
2
|
+
:host {
|
|
3
|
+
/* scw element */
|
|
4
|
+
position: relative;
|
|
5
|
+
box-sizing: border-box;
|
|
6
|
+
--margin-right: initial;
|
|
7
|
+
--margin-bottom: initial;
|
|
8
|
+
--gap-h-int: initial;
|
|
9
|
+
--gap-v-int: initial;
|
|
10
|
+
margin-right: var(--margin-right, var(--gap-h-int, initial));
|
|
11
|
+
margin-bottom: var(--margin-bottom, var(--gap-v-int, initial));
|
|
12
|
+
display: block;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
:host([warning]) {
|
|
16
|
+
outline: 2px solid red !important;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
:host([size=medium]) {
|
|
20
|
+
display: block;
|
|
21
|
+
background-color: rgba(0, 0, 0, 0);
|
|
22
|
+
display: flex;
|
|
23
|
+
flex-flow: column nowrap;
|
|
24
|
+
justify-content: flex-start;
|
|
25
|
+
align-items: flex-start;
|
|
26
|
+
padding-left: 0px;
|
|
27
|
+
padding-right: 0px;
|
|
28
|
+
padding-top: 0px;
|
|
29
|
+
padding-bottom: 0px;
|
|
30
|
+
/*.image-box {
|
|
31
|
+
width: 100%;
|
|
32
|
+
padding-bottom: 38.8888888889%;
|
|
33
|
+
position: relative;
|
|
34
|
+
}*/
|
|
35
|
+
/*.image {
|
|
36
|
+
@include size-medium-image-mixins.box;
|
|
37
|
+
|
|
38
|
+
position: absolute;
|
|
39
|
+
inset: 0;
|
|
40
|
+
background-position: center;
|
|
41
|
+
background-size: cover;
|
|
42
|
+
}*/
|
|
43
|
+
/*.action {
|
|
44
|
+
@include size-medium-action-mixins.box;
|
|
45
|
+
@include size-medium-action-mixins.sizing;
|
|
46
|
+
}*/
|
|
47
|
+
}
|
|
48
|
+
:host([size=medium]) > *:not(:last-child) {
|
|
49
|
+
margin-bottom: calc(var(--scw-spacing-1) * 0.8);
|
|
50
|
+
--margin-bottom: calc( var( --scw-spacing-1 ) * 0.8 );
|
|
51
|
+
}
|
|
52
|
+
:host([size=medium]) .image-box {
|
|
53
|
+
height: 161px;
|
|
54
|
+
}
|
|
55
|
+
:host([size=medium]) .description {
|
|
56
|
+
text-align: LEFT;
|
|
57
|
+
font: var(--scw-type-text-font);
|
|
58
|
+
color: var(--scw-color-grey-02);
|
|
59
|
+
align-self: stretch;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
:host([size=small]) {
|
|
63
|
+
display: block;
|
|
64
|
+
background-color: rgba(0, 0, 0, 0);
|
|
65
|
+
display: flex;
|
|
66
|
+
flex-flow: column nowrap;
|
|
67
|
+
justify-content: flex-start;
|
|
68
|
+
align-items: flex-start;
|
|
69
|
+
padding-left: 0px;
|
|
70
|
+
padding-right: 0px;
|
|
71
|
+
padding-top: 0px;
|
|
72
|
+
padding-bottom: 0px;
|
|
73
|
+
/*.image-box {
|
|
74
|
+
width: 100%;
|
|
75
|
+
padding-bottom: 88.9473684211%;
|
|
76
|
+
position: relative;
|
|
77
|
+
}*/
|
|
78
|
+
/*.image {
|
|
79
|
+
@include size-small-image-mixins.box;
|
|
80
|
+
|
|
81
|
+
position: absolute;
|
|
82
|
+
inset: 0;
|
|
83
|
+
background-position: center;
|
|
84
|
+
background-size: cover;
|
|
85
|
+
}*/
|
|
86
|
+
}
|
|
87
|
+
:host([size=small]) > *:not(:last-child) {
|
|
88
|
+
margin-bottom: calc(var(--scw-spacing-1) * 0.8);
|
|
89
|
+
--margin-bottom: calc( var( --scw-spacing-1 ) * 0.8 );
|
|
90
|
+
}
|
|
91
|
+
:host([size=small]) .image-box {
|
|
92
|
+
height: 169px;
|
|
93
|
+
}
|
|
94
|
+
:host([size=small]) .description {
|
|
95
|
+
display: none;
|
|
96
|
+
}
|
|
97
|
+
:host([size=small]) .action {
|
|
98
|
+
display: none;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
:host .super-heading.mortgage {
|
|
102
|
+
text-align: LEFT;
|
|
103
|
+
font: var(--scw-type-text-bold-condensed-font);
|
|
104
|
+
color: var(--scw-color-04, var(--scw-color-mortgage-04));
|
|
105
|
+
align-self: stretch;
|
|
106
|
+
}
|
|
107
|
+
:host .super-heading.savings {
|
|
108
|
+
text-align: LEFT;
|
|
109
|
+
font: var(--scw-type-text-bold-condensed-font);
|
|
110
|
+
color: var(--scw-color-04, var(--scw-color-savings-04));
|
|
111
|
+
align-self: stretch;
|
|
112
|
+
}
|
|
113
|
+
:host .super-heading.student {
|
|
114
|
+
text-align: LEFT;
|
|
115
|
+
font: var(--scw-type-text-bold-condensed-font);
|
|
116
|
+
color: var(--scw-color-04, var(--scw-color-student-04));
|
|
117
|
+
align-self: stretch;
|
|
118
|
+
}
|
|
119
|
+
:host .super-heading.investments {
|
|
120
|
+
text-align: LEFT;
|
|
121
|
+
font: var(--scw-type-text-bold-condensed-font);
|
|
122
|
+
color: var(--scw-color-04, var(--scw-color-investments-04));
|
|
123
|
+
align-self: stretch;
|
|
124
|
+
}
|
|
125
|
+
:host .super-heading.checking {
|
|
126
|
+
text-align: LEFT;
|
|
127
|
+
font: var(--scw-type-text-bold-condensed-font);
|
|
128
|
+
color: var(--scw-color-04, var(--scw-color-checking-04));
|
|
129
|
+
align-self: stretch;
|
|
130
|
+
}
|
|
131
|
+
:host .super-heading.credit-cards {
|
|
132
|
+
text-align: LEFT;
|
|
133
|
+
font: var(--scw-type-text-bold-condensed-font);
|
|
134
|
+
color: var(--scw-color-04, var(--scw-color-credit-cards-04));
|
|
135
|
+
align-self: stretch;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
:host {
|
|
139
|
+
display: block;
|
|
140
|
+
background-color: var(--scw-color, rgba(0, 0, 0, 0));
|
|
141
|
+
display: flex;
|
|
142
|
+
flex-flow: column nowrap;
|
|
143
|
+
justify-content: flex-start;
|
|
144
|
+
align-items: flex-start;
|
|
145
|
+
padding-left: 0px;
|
|
146
|
+
padding-right: 0px;
|
|
147
|
+
padding-top: 0px;
|
|
148
|
+
padding-bottom: 0px;
|
|
149
|
+
/*.image {
|
|
150
|
+
@include default-image-mixins.box;
|
|
151
|
+
|
|
152
|
+
position: absolute;
|
|
153
|
+
inset: 0;
|
|
154
|
+
background-position: center;
|
|
155
|
+
background-size: cover;
|
|
156
|
+
}*/
|
|
157
|
+
}
|
|
158
|
+
:host > *:not(:last-child) {
|
|
159
|
+
margin-bottom: calc(var(--scw-spacing-1) * 0.8);
|
|
160
|
+
--margin-bottom: calc( var( --scw-spacing-1 ) * 0.8 );
|
|
161
|
+
}
|
|
162
|
+
:host .image-box {
|
|
163
|
+
background-color: var(--scw-color-09, var(--scw-color-grey-09));
|
|
164
|
+
border-radius: 10px 10px 10px 10px;
|
|
165
|
+
align-self: stretch;
|
|
166
|
+
flex: 1;
|
|
167
|
+
flex: initial;
|
|
168
|
+
overflow: hidden;
|
|
169
|
+
height: 345px;
|
|
170
|
+
}
|
|
171
|
+
:host .heading {
|
|
172
|
+
background-color: rgba(0, 0, 0, 0);
|
|
173
|
+
align-self: stretch;
|
|
174
|
+
}
|
|
175
|
+
:host .super-heading {
|
|
176
|
+
text-align: LEFT;
|
|
177
|
+
font: var(--scw-type-text-bold-condensed-font);
|
|
178
|
+
color: var(--scw-color-03, var(--scw-color-primary-03));
|
|
179
|
+
align-self: stretch;
|
|
180
|
+
}
|
|
181
|
+
:host .description {
|
|
182
|
+
text-align: LEFT;
|
|
183
|
+
font: var(--scw-type-text-06-font);
|
|
184
|
+
color: var(--scw-color-02, var(--scw-color-grey-02));
|
|
185
|
+
align-self: stretch;
|
|
186
|
+
}
|
|
187
|
+
:host .action {
|
|
188
|
+
width: 83px;
|
|
189
|
+
height: 32px;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
:host([action=none]) {
|
|
193
|
+
pointer-events: none;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
:host([action=whole]) {
|
|
197
|
+
pointer-events: all;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
:host([action=whole]:hover) {
|
|
201
|
+
cursor: pointer;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
:host([action=whole]:focus-visible) {
|
|
205
|
+
outline: none;
|
|
206
|
+
box-shadow: var(--scw-effect-focus-shadow);
|
|
207
|
+
border-radius: 10px 10px 4px 4px;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
:host([action=link]) {
|
|
211
|
+
pointer-events: none;
|
|
212
|
+
}
|
|
213
|
+
:host([action=link]) scw-link {
|
|
214
|
+
pointer-events: all;
|
|
215
|
+
}`;var t=class extends l{constructor(){super();this.size="large";this.action="none";this.element="card",this.clickHandler=this.clickHandler.bind(this);let o=g();this.headerNodeName=r(`scw-${"heading"}${o}`),this.imageNodeName=r(`scw-${"image"}${o}`),this.linkNodeName=r(`scw-${"link"}${o}`)}static get styles(){return[super.styles,p]}parseAndValidateLightDom(){d(this),super.parseAndValidateLightDom()}clickHandler(o){o.stopPropagation(),this.click()}warn(o){this.heading=`error: ${o}`,c.prototype.warn.call(this,o)}renderImage(){if((this.src||this.srcset)&&this.alt)return s`
|
|
216
|
+
<scw-image
|
|
217
|
+
class="image-box"
|
|
218
|
+
src="${n(this.src)}"
|
|
219
|
+
srcset="${n(this.srcset)}"
|
|
220
|
+
alt="${this.alt}"
|
|
221
|
+
object-fit="cover">
|
|
222
|
+
</scw-image>
|
|
223
|
+
`}renderButton(){return this.action==="link"?s`
|
|
224
|
+
<scw-link
|
|
225
|
+
aria-label="${this.linkLabel?this.linkLabel:"no label"}"
|
|
226
|
+
@click="${this.clickHandler}">
|
|
227
|
+
</scw-link>`:null}getSizeStringForHeader(){switch(this.size){case"large":return"h1";case"medium":return"h2";case"small":return"h3"}}renderBody(){return s`
|
|
228
|
+
${this.renderImage()}
|
|
229
|
+
${this.superHeading?s`
|
|
230
|
+
<div class="super-heading">
|
|
231
|
+
${this.superHeading}
|
|
232
|
+
</div>`:""}
|
|
233
|
+
<scw-heading
|
|
234
|
+
style="--scw-color-04: var( --scw-color-grey-02 );"
|
|
235
|
+
dynamic class="heading"
|
|
236
|
+
aria-label="${n(this.heading)}"
|
|
237
|
+
size="${this.getSizeStringForHeader()}">
|
|
238
|
+
</scw-heading>
|
|
239
|
+
${this.description?s`
|
|
240
|
+
<div class="description">
|
|
241
|
+
${this.description}
|
|
242
|
+
</div>`:""}`}render(){return this.action==="whole"?this.renderBody():s`
|
|
243
|
+
${this.renderBody()}
|
|
244
|
+
${this.renderButton()}`}};e([i()],t.prototype,"src",2),e([i()],t.prototype,"srcset",2),e([i()],t.prototype,"alt",2),e([i()],t.prototype,"heading",2),e([i()],t.prototype,"superHeading",2),e([i()],t.prototype,"description",2),e([i()],t.prototype,"linkLabel",2),e([i({type:String,reflect:!0})],t.prototype,"size",2),e([i({type:String,reflect:!0})],t.prototype,"action",2);export{t as a};
|
|
245
|
+
//# sourceMappingURL=chunk.W3ITQHQQ.js.map
|