@haiilo/catalyst 10.32.0 → 10.32.2
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/catalyst/catalyst.css +144 -0
- package/dist/catalyst/catalyst.esm.js +1 -1
- package/dist/catalyst/{p-39c5ed21.entry.js → p-0c0af582.entry.js} +4 -4
- package/dist/catalyst/{p-39c5ed21.entry.js.map → p-0c0af582.entry.js.map} +1 -1
- package/dist/catalyst/scss/utils/_color.scss +21 -0
- package/dist/cjs/cat-alert_30.cjs.entry.js +5 -5
- package/dist/cjs/cat-alert_30.cjs.entry.js.map +1 -1
- package/dist/collection/components/cat-card/cat-card.css +1 -1
- package/dist/collection/components/cat-input/cat-input.css +144 -0
- package/dist/collection/components/cat-select/cat-select.css +144 -0
- package/dist/collection/components/cat-tag/cat-tag.css +144 -0
- package/dist/collection/components/cat-textarea/cat-textarea.css +144 -0
- package/dist/collection/scss/utils/_color.scss +21 -0
- package/dist/components/cat-card.js +1 -1
- package/dist/components/cat-card.js.map +1 -1
- package/dist/components/cat-dropdown2.js.map +1 -1
- package/dist/components/cat-input2.js +1 -1
- package/dist/components/cat-input2.js.map +1 -1
- package/dist/components/cat-select2.js +1 -1
- package/dist/components/cat-select2.js.map +1 -1
- package/dist/components/cat-tag.js +1 -1
- package/dist/components/cat-tag.js.map +1 -1
- package/dist/components/cat-textarea.js +1 -1
- package/dist/components/cat-textarea.js.map +1 -1
- package/dist/esm/cat-alert_30.entry.js +5 -5
- package/dist/esm/cat-alert_30.entry.js.map +1 -1
- package/package.json +2 -2
|
@@ -49,6 +49,24 @@
|
|
|
49
49
|
color: rgb(var(--cat-primary-text, 0, 129, 148)) !important;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
+
button.cat-text-primary,
|
|
53
|
+
button.cat-link-primary {
|
|
54
|
+
margin: 0;
|
|
55
|
+
padding: 0;
|
|
56
|
+
font: inherit;
|
|
57
|
+
border: none;
|
|
58
|
+
background: none;
|
|
59
|
+
cursor: pointer;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
button.cat-link-primary:hover:not(:disabled) {
|
|
63
|
+
text-decoration: var(--cat-link-decoration-hover, underline);
|
|
64
|
+
}
|
|
65
|
+
button.cat-link-primary:focus-visible {
|
|
66
|
+
outline: 2px solid rgb(var(--cat-border-color-focus, 0, 113, 255));
|
|
67
|
+
outline-offset: 1px;
|
|
68
|
+
}
|
|
69
|
+
|
|
52
70
|
.cat-link-primary,
|
|
53
71
|
.cat-text-primary-hover {
|
|
54
72
|
transition: color 125ms;
|
|
@@ -88,6 +106,24 @@
|
|
|
88
106
|
color: #93b4f2 !important;
|
|
89
107
|
}
|
|
90
108
|
|
|
109
|
+
button.cat-text-primaryInverted,
|
|
110
|
+
button.cat-link-primaryInverted {
|
|
111
|
+
margin: 0;
|
|
112
|
+
padding: 0;
|
|
113
|
+
font: inherit;
|
|
114
|
+
border: none;
|
|
115
|
+
background: none;
|
|
116
|
+
cursor: pointer;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
button.cat-link-primaryInverted:hover:not(:disabled) {
|
|
120
|
+
text-decoration: var(--cat-link-decoration-hover, underline);
|
|
121
|
+
}
|
|
122
|
+
button.cat-link-primaryInverted:focus-visible {
|
|
123
|
+
outline: 2px solid rgb(var(--cat-border-color-focus, 0, 113, 255));
|
|
124
|
+
outline-offset: 1px;
|
|
125
|
+
}
|
|
126
|
+
|
|
91
127
|
.cat-link-primaryInverted,
|
|
92
128
|
.cat-text-primaryInverted-hover {
|
|
93
129
|
transition: color 125ms;
|
|
@@ -127,6 +163,24 @@
|
|
|
127
163
|
color: rgb(var(--cat-secondary-text, 0, 0, 0)) !important;
|
|
128
164
|
}
|
|
129
165
|
|
|
166
|
+
button.cat-text-secondary,
|
|
167
|
+
button.cat-link-secondary {
|
|
168
|
+
margin: 0;
|
|
169
|
+
padding: 0;
|
|
170
|
+
font: inherit;
|
|
171
|
+
border: none;
|
|
172
|
+
background: none;
|
|
173
|
+
cursor: pointer;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
button.cat-link-secondary:hover:not(:disabled) {
|
|
177
|
+
text-decoration: var(--cat-link-decoration-hover, underline);
|
|
178
|
+
}
|
|
179
|
+
button.cat-link-secondary:focus-visible {
|
|
180
|
+
outline: 2px solid rgb(var(--cat-border-color-focus, 0, 113, 255));
|
|
181
|
+
outline-offset: 1px;
|
|
182
|
+
}
|
|
183
|
+
|
|
130
184
|
.cat-link-secondary,
|
|
131
185
|
.cat-text-secondary-hover {
|
|
132
186
|
transition: color 125ms;
|
|
@@ -166,6 +220,24 @@
|
|
|
166
220
|
color: white !important;
|
|
167
221
|
}
|
|
168
222
|
|
|
223
|
+
button.cat-text-secondaryInverted,
|
|
224
|
+
button.cat-link-secondaryInverted {
|
|
225
|
+
margin: 0;
|
|
226
|
+
padding: 0;
|
|
227
|
+
font: inherit;
|
|
228
|
+
border: none;
|
|
229
|
+
background: none;
|
|
230
|
+
cursor: pointer;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
button.cat-link-secondaryInverted:hover:not(:disabled) {
|
|
234
|
+
text-decoration: var(--cat-link-decoration-hover, underline);
|
|
235
|
+
}
|
|
236
|
+
button.cat-link-secondaryInverted:focus-visible {
|
|
237
|
+
outline: 2px solid rgb(var(--cat-border-color-focus, 0, 113, 255));
|
|
238
|
+
outline-offset: 1px;
|
|
239
|
+
}
|
|
240
|
+
|
|
169
241
|
.cat-link-secondaryInverted,
|
|
170
242
|
.cat-text-secondaryInverted-hover {
|
|
171
243
|
transition: color 125ms;
|
|
@@ -205,6 +277,24 @@
|
|
|
205
277
|
color: rgb(var(--cat-info-text, 0, 115, 230)) !important;
|
|
206
278
|
}
|
|
207
279
|
|
|
280
|
+
button.cat-text-info,
|
|
281
|
+
button.cat-link-info {
|
|
282
|
+
margin: 0;
|
|
283
|
+
padding: 0;
|
|
284
|
+
font: inherit;
|
|
285
|
+
border: none;
|
|
286
|
+
background: none;
|
|
287
|
+
cursor: pointer;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
button.cat-link-info:hover:not(:disabled) {
|
|
291
|
+
text-decoration: var(--cat-link-decoration-hover, underline);
|
|
292
|
+
}
|
|
293
|
+
button.cat-link-info:focus-visible {
|
|
294
|
+
outline: 2px solid rgb(var(--cat-border-color-focus, 0, 113, 255));
|
|
295
|
+
outline-offset: 1px;
|
|
296
|
+
}
|
|
297
|
+
|
|
208
298
|
.cat-link-info,
|
|
209
299
|
.cat-text-info-hover {
|
|
210
300
|
transition: color 125ms;
|
|
@@ -244,6 +334,24 @@
|
|
|
244
334
|
color: rgb(var(--cat-success-text, 0, 132, 88)) !important;
|
|
245
335
|
}
|
|
246
336
|
|
|
337
|
+
button.cat-text-success,
|
|
338
|
+
button.cat-link-success {
|
|
339
|
+
margin: 0;
|
|
340
|
+
padding: 0;
|
|
341
|
+
font: inherit;
|
|
342
|
+
border: none;
|
|
343
|
+
background: none;
|
|
344
|
+
cursor: pointer;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
button.cat-link-success:hover:not(:disabled) {
|
|
348
|
+
text-decoration: var(--cat-link-decoration-hover, underline);
|
|
349
|
+
}
|
|
350
|
+
button.cat-link-success:focus-visible {
|
|
351
|
+
outline: 2px solid rgb(var(--cat-border-color-focus, 0, 113, 255));
|
|
352
|
+
outline-offset: 1px;
|
|
353
|
+
}
|
|
354
|
+
|
|
247
355
|
.cat-link-success,
|
|
248
356
|
.cat-text-success-hover {
|
|
249
357
|
transition: color 125ms;
|
|
@@ -283,6 +391,24 @@
|
|
|
283
391
|
color: rgb(var(--cat-warning-text, 159, 97, 0)) !important;
|
|
284
392
|
}
|
|
285
393
|
|
|
394
|
+
button.cat-text-warning,
|
|
395
|
+
button.cat-link-warning {
|
|
396
|
+
margin: 0;
|
|
397
|
+
padding: 0;
|
|
398
|
+
font: inherit;
|
|
399
|
+
border: none;
|
|
400
|
+
background: none;
|
|
401
|
+
cursor: pointer;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
button.cat-link-warning:hover:not(:disabled) {
|
|
405
|
+
text-decoration: var(--cat-link-decoration-hover, underline);
|
|
406
|
+
}
|
|
407
|
+
button.cat-link-warning:focus-visible {
|
|
408
|
+
outline: 2px solid rgb(var(--cat-border-color-focus, 0, 113, 255));
|
|
409
|
+
outline-offset: 1px;
|
|
410
|
+
}
|
|
411
|
+
|
|
286
412
|
.cat-link-warning,
|
|
287
413
|
.cat-text-warning-hover {
|
|
288
414
|
transition: color 125ms;
|
|
@@ -322,6 +448,24 @@
|
|
|
322
448
|
color: rgb(var(--cat-danger-text, 217, 52, 13)) !important;
|
|
323
449
|
}
|
|
324
450
|
|
|
451
|
+
button.cat-text-danger,
|
|
452
|
+
button.cat-link-danger {
|
|
453
|
+
margin: 0;
|
|
454
|
+
padding: 0;
|
|
455
|
+
font: inherit;
|
|
456
|
+
border: none;
|
|
457
|
+
background: none;
|
|
458
|
+
cursor: pointer;
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
button.cat-link-danger:hover:not(:disabled) {
|
|
462
|
+
text-decoration: var(--cat-link-decoration-hover, underline);
|
|
463
|
+
}
|
|
464
|
+
button.cat-link-danger:focus-visible {
|
|
465
|
+
outline: 2px solid rgb(var(--cat-border-color-focus, 0, 113, 255));
|
|
466
|
+
outline-offset: 1px;
|
|
467
|
+
}
|
|
468
|
+
|
|
325
469
|
.cat-link-danger,
|
|
326
470
|
.cat-text-danger-hover {
|
|
327
471
|
transition: color 125ms;
|
|
@@ -32,6 +32,27 @@
|
|
|
32
32
|
color: cat-token('color.theme.#{$name}.text') !important;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
+
button.cat-text-#{$name},
|
|
36
|
+
button.cat-link-#{$name} {
|
|
37
|
+
margin: 0;
|
|
38
|
+
padding: 0;
|
|
39
|
+
font: inherit;
|
|
40
|
+
border: none;
|
|
41
|
+
background: none;
|
|
42
|
+
cursor: pointer;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
button.cat-link-#{$name} {
|
|
46
|
+
&:hover:not(:disabled) {
|
|
47
|
+
text-decoration: cat-token('font.decoration.linkHover');
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&:focus-visible {
|
|
51
|
+
outline: 2px solid cat-token('color.ui.border.focus');
|
|
52
|
+
outline-offset: 1px;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
35
56
|
.cat-link-#{$name},
|
|
36
57
|
.cat-text-#{$name}-hover {
|
|
37
58
|
transition: color cat-token('time.transition.s');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
2
|
|
|
3
|
-
const catCardCss = ":host{display:block;border-radius:var(--cat-border-radius-l, 0.5rem);background-color:white;padding:1.25rem;box-shadow:0 0 0 1px rgb(var(--cat-border-color-card,
|
|
3
|
+
const catCardCss = ":host{display:block;border-radius:var(--cat-border-radius-l, 0.5rem);background-color:white;padding:1.25rem;box-shadow:0 0 0 1px rgb(var(--cat-border-color-card, 0, 0, 0, 0))}:host([hidden]){display:none}::slotted(:last-child){margin-bottom:0 !important}::slotted(nav),::slotted(nav:last-child){margin:-1rem -1rem !important}::slotted(.cat-card-pull){margin:-1.25rem !important;width:calc(100% + 2.5rem) !important;height:calc(100% + 2.5rem) !important}::slotted(.cat-card-pull-h){margin-left:-1.25rem !important;margin-right:-1.25rem !important;width:calc(100% + 2.5rem) !important}::slotted(.cat-card-pull-v){margin-top:-1.25rem !important;margin-bottom:-1.25rem !important;height:calc(100% + 2.5rem) !important}::slotted(.cat-card-pull-t){margin-top:-1.25rem !important}::slotted(.cat-card-pull-l){margin-left:-1.25rem !important}::slotted(.cat-card-pull-r){margin-right:-1.25rem !important}::slotted(.cat-card-pull-b){margin-bottom:-1.25rem !important}";
|
|
4
4
|
const CatCardStyle0 = catCardCss;
|
|
5
5
|
|
|
6
6
|
const CatCard$1 = /*@__PURE__*/ proxyCustomElement(class CatCard extends HTMLElement {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"cat-card.js","mappings":";;AAAA,MAAM,UAAU,GAAG,
|
|
1
|
+
{"file":"cat-card.js","mappings":";;AAAA,MAAM,UAAU,GAAG,87BAA87B,CAAC;AACl9B,sBAAe,UAAU;;MCUZA,SAAO;;;;;;;IAMlB,MAAM;QACJ,OAAO,8DAAa,CAAC;KACtB;IAED,gBAAgB;QACd,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,CAAC;KACrB;;;;;;;;;;;;;;;;;;;;;;","names":["CatCard"],"sources":["src/components/cat-card/cat-card.scss?tag=cat-card&encapsulation=shadow","src/components/cat-card/cat-card.tsx"],"sourcesContent":["@use 'variables' as *;\n@use 'mixins' as *;\n\n$-padding: 1.25rem;\n\n:host {\n display: block;\n border-radius: cat-border-radius('l');\n background-color: cat-token('color.ui.background.surface');\n padding: $-padding;\n @include cat-elevation-card;\n}\n\n:host([hidden]) {\n display: none;\n}\n\n::slotted(:last-child) {\n margin-bottom: 0 !important;\n}\n\n::slotted(nav),\n::slotted(nav:last-child) {\n margin: #{0.25rem - $-padding} #{0.25rem - $-padding} !important;\n}\n\n// --- pull out helper classes\n\n::slotted(.cat-card-pull) {\n margin: -$-padding !important;\n width: calc(100% + #{2 * $-padding}) !important;\n height: calc(100% + #{2 * $-padding}) !important;\n}\n\n::slotted(.cat-card-pull-h) {\n margin-left: -$-padding !important;\n margin-right: -$-padding !important;\n width: calc(100% + #{2 * $-padding}) !important;\n}\n\n::slotted(.cat-card-pull-v) {\n margin-top: -$-padding !important;\n margin-bottom: -$-padding !important;\n height: calc(100% + #{2 * $-padding}) !important;\n}\n\n::slotted(.cat-card-pull-t) {\n margin-top: -$-padding !important;\n}\n\n::slotted(.cat-card-pull-l) {\n margin-left: -$-padding !important;\n}\n\n::slotted(.cat-card-pull-r) {\n margin-right: -$-padding !important;\n}\n\n::slotted(.cat-card-pull-b) {\n margin-bottom: -$-padding !important;\n}\n","import { Component, Event, EventEmitter, h } from '@stencil/core';\n\n/**\n * Cards are surfaces that display content and actions on a single topic. They\n * should be easy to scan for relevant and actionable information.\n */\n@Component({\n tag: 'cat-card',\n styleUrl: 'cat-card.scss',\n shadow: true\n})\nexport class CatCard {\n /**\n * Emitted when the card and all the children are fully loaded.\n */\n @Event() catLoad!: EventEmitter<FocusEvent>;\n\n render() {\n return <slot></slot>;\n }\n\n componentDidLoad() {\n this.catLoad.emit();\n }\n}\n"],"version":3}
|