tyrell-components 1.0.0-RC14 → 1.0.0-RC16
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/README.md +53 -53
- package/css/tyrell-theme.css +32 -4
- package/css/tyrell.css +10 -15
- package/dist/tyrell-colors-static.css +1 -316
- package/dist/tyrell-theme.css +1 -1443
- package/dist/tyrell.css +1 -1390
- package/dist/tyrell.js +1 -1
- package/lib/base/ty-component.d.ts +14 -0
- package/lib/base/ty-component.d.ts.map +1 -0
- package/lib/base/ty-component.js +223 -196
- package/lib/base/ty-component.js.map +1 -0
- package/lib/components/button.d.ts +1 -1
- package/lib/components/button.d.ts.map +1 -0
- package/lib/components/button.js +267 -259
- package/lib/components/button.js.map +1 -0
- package/lib/components/calendar-month.d.ts +2 -2
- package/lib/components/calendar-month.d.ts.map +1 -0
- package/lib/components/calendar-month.js +440 -416
- package/lib/components/calendar-month.js.map +1 -0
- package/lib/components/calendar-navigation.d.ts +11 -0
- package/lib/components/calendar-navigation.d.ts.map +1 -0
- package/lib/components/calendar-navigation.js +272 -261
- package/lib/components/calendar-navigation.js.map +1 -0
- package/lib/components/calendar.d.ts +31 -3
- package/lib/components/calendar.d.ts.map +1 -0
- package/lib/components/calendar.js +785 -603
- package/lib/components/calendar.js.map +1 -0
- package/lib/components/checkbox.d.ts +1 -1
- package/lib/components/checkbox.d.ts.map +1 -0
- package/lib/components/checkbox.js +273 -272
- package/lib/components/checkbox.js.map +1 -0
- package/lib/components/copy.d.ts +1 -1
- package/lib/components/copy.d.ts.map +1 -0
- package/lib/components/copy.js +287 -278
- package/lib/components/copy.js.map +1 -0
- package/lib/components/date-picker.d.ts +16 -10
- package/lib/components/date-picker.d.ts.map +1 -0
- package/lib/components/date-picker.js +1068 -1122
- package/lib/components/date-picker.js.map +1 -0
- package/lib/components/dropdown.d.ts +403 -0
- package/lib/components/dropdown.d.ts.map +1 -0
- package/lib/components/dropdown.js +1315 -0
- package/lib/components/dropdown.js.map +1 -0
- package/lib/components/file-upload.d.ts +4 -0
- package/lib/components/file-upload.js +418 -404
- package/lib/components/icon.d.ts.map +1 -0
- package/lib/components/icon.js +141 -141
- package/lib/components/icon.js.map +1 -0
- package/lib/components/input.d.ts +1 -1
- package/lib/components/input.d.ts.map +1 -0
- package/lib/components/input.js +593 -596
- package/lib/components/input.js.map +1 -0
- package/lib/components/modal.d.ts +2 -8
- package/lib/components/modal.d.ts.map +1 -0
- package/lib/components/modal.js +309 -319
- package/lib/components/modal.js.map +1 -0
- package/lib/components/multiselect.d.ts +389 -0
- package/lib/components/multiselect.d.ts.map +1 -0
- package/lib/components/multiselect.js +1301 -0
- package/lib/components/multiselect.js.map +1 -0
- package/lib/components/option.d.ts.map +1 -0
- package/lib/components/option.js +167 -167
- package/lib/components/option.js.map +1 -0
- package/lib/components/popup.d.ts.map +1 -0
- package/lib/components/popup.js +236 -233
- package/lib/components/popup.js.map +1 -0
- package/lib/components/radio.d.ts +17 -2
- package/lib/components/radio.js +437 -406
- package/lib/components/resize-observer.d.ts.map +1 -0
- package/lib/components/resize-observer.js +67 -67
- package/lib/components/resize-observer.js.map +1 -0
- package/lib/components/scroll-container.d.ts +3 -2
- package/lib/components/scroll-container.d.ts.map +1 -0
- package/lib/components/scroll-container.js +289 -294
- package/lib/components/scroll-container.js.map +1 -0
- package/lib/components/select.d.ts +85 -18
- package/lib/components/select.js +1647 -1529
- package/lib/components/selected-tags.d.ts +1 -1
- package/lib/components/selected-tags.js +188 -182
- package/lib/components/step.d.ts.map +1 -0
- package/lib/components/step.js +62 -62
- package/lib/components/step.js.map +1 -0
- package/lib/components/switch.d.ts +1 -1
- package/lib/components/switch.js +214 -213
- package/lib/components/tab.d.ts +49 -1
- package/lib/components/tab.d.ts.map +1 -0
- package/lib/components/tab.js +203 -62
- package/lib/components/tab.js.map +1 -0
- package/lib/components/tabs.d.ts +15 -2
- package/lib/components/tabs.d.ts.map +1 -0
- package/lib/components/tabs.js +576 -496
- package/lib/components/tabs.js.map +1 -0
- package/lib/components/tag.d.ts +5 -8
- package/lib/components/tag.d.ts.map +1 -0
- package/lib/components/tag.js +235 -235
- package/lib/components/tag.js.map +1 -0
- package/lib/components/textarea.d.ts +5 -4
- package/lib/components/textarea.d.ts.map +1 -0
- package/lib/components/textarea.js +458 -456
- package/lib/components/textarea.js.map +1 -0
- package/lib/components/tooltip.d.ts +4 -3
- package/lib/components/tooltip.d.ts.map +1 -0
- package/lib/components/tooltip.js +293 -283
- package/lib/components/tooltip.js.map +1 -0
- package/lib/components/wizard.d.ts +5 -4
- package/lib/components/wizard.d.ts.map +1 -0
- package/lib/components/wizard.js +359 -395
- package/lib/components/wizard.js.map +1 -0
- package/lib/icons/fontawesome/brands.d.ts.map +1 -0
- package/lib/icons/fontawesome/brands.js.map +1 -0
- package/lib/icons/fontawesome/regular.d.ts.map +1 -0
- package/lib/icons/fontawesome/regular.js.map +1 -0
- package/lib/icons/fontawesome/solid.d.ts.map +1 -0
- package/lib/icons/fontawesome/solid.js.map +1 -0
- package/lib/icons/heroicons/micro.d.ts.map +1 -0
- package/lib/icons/heroicons/micro.js +392 -392
- package/lib/icons/heroicons/micro.js.map +1 -0
- package/lib/icons/heroicons/mini.d.ts.map +1 -0
- package/lib/icons/heroicons/mini.js +382 -382
- package/lib/icons/heroicons/mini.js.map +1 -0
- package/lib/icons/heroicons/outline.d.ts.map +1 -0
- package/lib/icons/heroicons/outline.js +337 -337
- package/lib/icons/heroicons/outline.js.map +1 -0
- package/lib/icons/heroicons/solid.d.ts.map +1 -0
- package/lib/icons/heroicons/solid.js +407 -407
- package/lib/icons/heroicons/solid.js.map +1 -0
- package/lib/icons/lucide.d.ts.map +1 -0
- package/lib/icons/lucide.js +22843 -22843
- package/lib/icons/lucide.js.map +1 -0
- package/lib/icons/material/filled.d.ts.map +1 -0
- package/lib/icons/material/filled.js +9653 -9653
- package/lib/icons/material/filled.js.map +1 -0
- package/lib/icons/material/outlined.d.ts.map +1 -0
- package/lib/icons/material/outlined.js +10271 -10271
- package/lib/icons/material/outlined.js.map +1 -0
- package/lib/icons/material/round.d.ts.map +1 -0
- package/lib/icons/material/round.js +10495 -10495
- package/lib/icons/material/round.js.map +1 -0
- package/lib/icons/material/sharp.d.ts.map +1 -0
- package/lib/icons/material/sharp.js +9905 -9905
- package/lib/icons/material/sharp.js.map +1 -0
- package/lib/icons/material/two-tone.d.ts.map +1 -0
- package/lib/icons/material/two-tone.js +12792 -12792
- package/lib/icons/material/two-tone.js.map +1 -0
- package/lib/index.d.ts +1 -1
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +21 -21
- package/lib/index.js.map +1 -0
- package/lib/styles/button.d.ts.map +1 -0
- package/lib/styles/button.js +200 -302
- package/lib/styles/button.js.map +1 -0
- package/lib/styles/calendar-month.d.ts +3 -0
- package/lib/styles/calendar-month.d.ts.map +1 -0
- package/lib/styles/calendar-month.js +141 -185
- package/lib/styles/calendar-month.js.map +1 -0
- package/lib/styles/calendar-navigation.d.ts +1 -1
- package/lib/styles/calendar-navigation.d.ts.map +1 -0
- package/lib/styles/calendar-navigation.js +100 -86
- package/lib/styles/calendar-navigation.js.map +1 -0
- package/lib/styles/calendar.d.ts +3 -2
- package/lib/styles/calendar.d.ts.map +1 -0
- package/lib/styles/calendar.js +83 -9
- package/lib/styles/calendar.js.map +1 -0
- package/lib/styles/checkbox.js +62 -77
- package/lib/styles/copy.d.ts.map +1 -0
- package/lib/styles/copy.js +71 -91
- package/lib/styles/copy.js.map +1 -0
- package/lib/styles/custom-scrollbar.js +80 -100
- package/lib/styles/date-picker.d.ts.map +1 -0
- package/lib/styles/date-picker.js +295 -335
- package/lib/styles/date-picker.js.map +1 -0
- package/lib/styles/dropdown.d.ts +12 -0
- package/lib/styles/dropdown.d.ts.map +1 -0
- package/lib/styles/dropdown.js +725 -0
- package/lib/styles/dropdown.js.map +1 -0
- package/lib/styles/field-size.d.ts +6 -0
- package/lib/styles/field-size.js +91 -0
- package/lib/styles/file-upload.js +139 -169
- package/lib/styles/icon.d.ts.map +1 -0
- package/lib/styles/icon.js +92 -156
- package/lib/styles/icon.js.map +1 -0
- package/lib/styles/input.d.ts.map +1 -0
- package/lib/styles/input.js +125 -241
- package/lib/styles/input.js.map +1 -0
- package/lib/styles/modal.d.ts.map +1 -0
- package/lib/styles/modal.js +67 -102
- package/lib/styles/modal.js.map +1 -0
- package/lib/styles/multiselect.d.ts +6 -0
- package/lib/styles/multiselect.d.ts.map +1 -0
- package/lib/styles/multiselect.js +568 -0
- package/lib/styles/multiselect.js.map +1 -0
- package/lib/styles/option.d.ts +1 -1
- package/lib/styles/option.d.ts.map +1 -0
- package/lib/styles/option.js +47 -67
- package/lib/styles/option.js.map +1 -0
- package/lib/styles/popup.d.ts +1 -1
- package/lib/styles/popup.d.ts.map +1 -0
- package/lib/styles/popup.js +37 -65
- package/lib/styles/popup.js.map +1 -0
- package/lib/styles/radio.js +75 -96
- package/lib/styles/resize-observer.d.ts.map +1 -0
- package/lib/styles/resize-observer.js +2 -5
- package/lib/styles/resize-observer.js.map +1 -0
- package/lib/styles/scroll-container.d.ts +1 -1
- package/lib/styles/scroll-container.d.ts.map +1 -0
- package/lib/styles/scroll-container.js +101 -131
- package/lib/styles/scroll-container.js.map +1 -0
- package/lib/styles/select-base.js +596 -773
- package/lib/styles/select.d.ts +1 -1
- package/lib/styles/select.js +146 -228
- package/lib/styles/step.d.ts +1 -1
- package/lib/styles/step.d.ts.map +1 -0
- package/lib/styles/step.js +15 -30
- package/lib/styles/step.js.map +1 -0
- package/lib/styles/switch.js +37 -55
- package/lib/styles/tab.d.ts +1 -1
- package/lib/styles/tab.d.ts.map +1 -0
- package/lib/styles/tab.js +86 -29
- package/lib/styles/tab.js.map +1 -0
- package/lib/styles/tabs.d.ts +1 -1
- package/lib/styles/tabs.d.ts.map +1 -0
- package/lib/styles/tabs.js +190 -180
- package/lib/styles/tabs.js.map +1 -0
- package/lib/styles/tag.d.ts.map +1 -0
- package/lib/styles/tag.js +137 -191
- package/lib/styles/tag.js.map +1 -0
- package/lib/styles/textarea.d.ts +1 -1
- package/lib/styles/textarea.d.ts.map +1 -0
- package/lib/styles/textarea.js +205 -271
- package/lib/styles/textarea.js.map +1 -0
- package/lib/styles/tooltip.d.ts.map +1 -0
- package/lib/styles/tooltip.js +3 -3
- package/lib/styles/tooltip.js.map +1 -0
- package/lib/styles/wizard.d.ts +9 -5
- package/lib/styles/wizard.d.ts.map +1 -0
- package/lib/styles/wizard.js +301 -245
- package/lib/styles/wizard.js.map +1 -0
- package/lib/types/common.d.ts +4 -2
- package/lib/types/common.d.ts.map +1 -0
- package/lib/types/common.js +6 -5
- package/lib/types/common.js.map +1 -0
- package/lib/utils/calendar-utils.d.ts.map +1 -0
- package/lib/utils/calendar-utils.js +100 -100
- package/lib/utils/calendar-utils.js.map +1 -0
- package/lib/utils/custom-scrollbar.js +272 -272
- package/lib/utils/flavor-sheet.js +14 -14
- package/lib/utils/icon-registry.d.ts.map +1 -0
- package/lib/utils/icon-registry.js +127 -127
- package/lib/utils/icon-registry.js.map +1 -0
- package/lib/utils/loader-registry.js +3 -3
- package/lib/utils/locale.d.ts.map +1 -0
- package/lib/utils/locale.js +34 -34
- package/lib/utils/locale.js.map +1 -0
- package/lib/utils/mobile.js +1 -1
- package/lib/utils/number-format.d.ts.map +1 -0
- package/lib/utils/number-format.js +54 -54
- package/lib/utils/number-format.js.map +1 -0
- package/lib/utils/parse-boolean.d.ts +39 -0
- package/lib/utils/parse-boolean.d.ts.map +1 -0
- package/lib/utils/parse-boolean.js +23 -0
- package/lib/utils/parse-boolean.js.map +1 -0
- package/lib/utils/positioning.d.ts.map +1 -0
- package/lib/utils/positioning.js +212 -212
- package/lib/utils/positioning.js.map +1 -0
- package/lib/utils/property-capture.d.ts.map +1 -0
- package/lib/utils/property-capture.js +36 -36
- package/lib/utils/property-capture.js.map +1 -0
- package/lib/utils/property-manager.d.ts +1 -1
- package/lib/utils/property-manager.d.ts.map +1 -0
- package/lib/utils/property-manager.js +127 -125
- package/lib/utils/property-manager.js.map +1 -0
- package/lib/utils/resize-observer.d.ts.map +1 -0
- package/lib/utils/resize-observer.js +23 -23
- package/lib/utils/resize-observer.js.map +1 -0
- package/lib/utils/scroll-lock.d.ts.map +1 -0
- package/lib/utils/scroll-lock.js +57 -57
- package/lib/utils/scroll-lock.js.map +1 -0
- package/lib/utils/styles.d.ts.map +1 -0
- package/lib/utils/styles.js +17 -17
- package/lib/utils/styles.js.map +1 -0
- package/lib/utils/validity.d.ts +26 -0
- package/lib/utils/validity.js +53 -0
- package/lib/version.d.ts +1 -1
- package/lib/version.d.ts.map +1 -0
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -0
- package/package.json +28 -7
package/lib/styles/icon.js
CHANGED
|
@@ -1,227 +1,163 @@
|
|
|
1
1
|
export const iconStyles = `
|
|
2
2
|
:host {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
color: inherit;
|
|
21
|
-
transition: color var(--ty-transition-fast);
|
|
22
|
-
|
|
23
|
-
flex-shrink: 0;
|
|
24
|
-
|
|
25
|
-
/* Visibility - Force immediate rendering */
|
|
26
|
-
visibility: visible !important;
|
|
27
|
-
opacity: 1;
|
|
28
|
-
|
|
29
|
-
/* ANTI-FLICKER: Force browser to paint immediately */
|
|
30
|
-
will-change: contents;
|
|
31
|
-
|
|
32
|
-
/* Prevent any sub-pixel rendering issues */
|
|
33
|
-
transform: translateZ(0);
|
|
34
|
-
-webkit-font-smoothing: antialiased;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
/* The SVG element inside shadow DOM (registry / fallback path) */
|
|
3
|
+
display: flex;
|
|
4
|
+
align-items: center;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
line-height: 0;
|
|
7
|
+
width: var(--ty-icon-size, 1em);
|
|
8
|
+
height: var(--ty-icon-size, 1em);
|
|
9
|
+
aspect-ratio: 1 / 1;
|
|
10
|
+
color: inherit;
|
|
11
|
+
transition: color var(--ty-transition-fast);
|
|
12
|
+
flex-shrink: 0;
|
|
13
|
+
visibility: visible !important;
|
|
14
|
+
opacity: 1;
|
|
15
|
+
will-change: contents;
|
|
16
|
+
transform: translateZ(0);
|
|
17
|
+
-webkit-font-smoothing: antialiased;
|
|
18
|
+
}
|
|
38
19
|
:host svg {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
transform: translateZ(0);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
/* Slotted SVG (server-side path: <ty-icon><svg>...</svg></ty-icon>).
|
|
49
|
-
::slotted() targets light-DOM children so they fill the host the same way
|
|
50
|
-
shadow-DOM SVG does. Color is inherited from :host via currentColor. */
|
|
20
|
+
width: 100%;
|
|
21
|
+
height: 100%;
|
|
22
|
+
display: block;
|
|
23
|
+
will-change: auto;
|
|
24
|
+
transform: translateZ(0);
|
|
25
|
+
}
|
|
51
26
|
::slotted(svg),
|
|
52
27
|
::slotted(img) {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
28
|
+
width: 100%;
|
|
29
|
+
height: 100%;
|
|
30
|
+
display: block;
|
|
56
31
|
}
|
|
57
|
-
|
|
58
|
-
/* In a named slot the icon sits alongside text (button start/end), so inline
|
|
59
|
-
layout is what the host expects there. */
|
|
60
32
|
:host([slot]) {
|
|
61
|
-
|
|
33
|
+
display: inline-flex;
|
|
62
34
|
}
|
|
63
|
-
|
|
64
35
|
:host(.icon-xs) {
|
|
65
|
-
|
|
66
|
-
|
|
36
|
+
width: 0.75em;
|
|
37
|
+
height: 0.75em;
|
|
67
38
|
}
|
|
68
|
-
|
|
69
39
|
:host(.icon-sm) {
|
|
70
|
-
|
|
71
|
-
|
|
40
|
+
width: 0.875em;
|
|
41
|
+
height: 0.875em;
|
|
72
42
|
}
|
|
73
|
-
|
|
74
43
|
:host(.icon-md) {
|
|
75
|
-
|
|
76
|
-
|
|
44
|
+
width: 1em;
|
|
45
|
+
height: 1em;
|
|
77
46
|
}
|
|
78
|
-
|
|
79
47
|
:host(.icon-lg) {
|
|
80
|
-
|
|
81
|
-
|
|
48
|
+
width: 1.25em;
|
|
49
|
+
height: 1.25em;
|
|
82
50
|
}
|
|
83
|
-
|
|
84
51
|
:host(.icon-xl) {
|
|
85
|
-
|
|
86
|
-
|
|
52
|
+
width: 1.5em;
|
|
53
|
+
height: 1.5em;
|
|
87
54
|
}
|
|
88
|
-
|
|
89
55
|
:host(.icon-2xl) {
|
|
90
|
-
|
|
91
|
-
|
|
56
|
+
width: 2em;
|
|
57
|
+
height: 2em;
|
|
92
58
|
}
|
|
93
|
-
|
|
94
|
-
/* Fixed pixel sizes */
|
|
95
59
|
:host(.icon-12) {
|
|
96
|
-
|
|
97
|
-
|
|
60
|
+
width: 12px;
|
|
61
|
+
height: 12px;
|
|
98
62
|
}
|
|
99
|
-
|
|
100
63
|
:host(.icon-14) {
|
|
101
|
-
|
|
102
|
-
|
|
64
|
+
width: 14px;
|
|
65
|
+
height: 14px;
|
|
103
66
|
}
|
|
104
|
-
|
|
105
67
|
:host(.icon-16) {
|
|
106
|
-
|
|
107
|
-
|
|
68
|
+
width: 16px;
|
|
69
|
+
height: 16px;
|
|
108
70
|
}
|
|
109
|
-
|
|
110
71
|
:host(.icon-18) {
|
|
111
|
-
|
|
112
|
-
|
|
72
|
+
width: 18px;
|
|
73
|
+
height: 18px;
|
|
113
74
|
}
|
|
114
|
-
|
|
115
75
|
:host(.icon-20) {
|
|
116
|
-
|
|
117
|
-
|
|
76
|
+
width: 20px;
|
|
77
|
+
height: 20px;
|
|
118
78
|
}
|
|
119
|
-
|
|
120
79
|
:host(.icon-24) {
|
|
121
|
-
|
|
122
|
-
|
|
80
|
+
width: 24px;
|
|
81
|
+
height: 24px;
|
|
123
82
|
}
|
|
124
|
-
|
|
125
83
|
:host(.icon-32) {
|
|
126
|
-
|
|
127
|
-
|
|
84
|
+
width: 32px;
|
|
85
|
+
height: 32px;
|
|
128
86
|
}
|
|
129
|
-
|
|
130
87
|
:host(.icon-48) {
|
|
131
|
-
|
|
132
|
-
|
|
88
|
+
width: 48px;
|
|
89
|
+
height: 48px;
|
|
133
90
|
}
|
|
134
|
-
|
|
135
91
|
:host(.icon-64) {
|
|
136
|
-
|
|
137
|
-
|
|
92
|
+
width: 64px;
|
|
93
|
+
height: 64px;
|
|
138
94
|
}
|
|
139
|
-
|
|
140
95
|
:host(.icon-80) {
|
|
141
|
-
|
|
142
|
-
|
|
96
|
+
width: 80px;
|
|
97
|
+
height: 80px;
|
|
143
98
|
}
|
|
144
|
-
|
|
145
99
|
:host(.icon-96) {
|
|
146
|
-
|
|
147
|
-
|
|
100
|
+
width: 96px;
|
|
101
|
+
height: 96px;
|
|
148
102
|
}
|
|
149
|
-
|
|
150
103
|
:host(.icon-spin) {
|
|
151
|
-
|
|
104
|
+
animation: icon-spin 1s linear infinite;
|
|
152
105
|
}
|
|
153
|
-
|
|
154
106
|
:host(.icon-spin.icon-tempo-slow) {
|
|
155
|
-
|
|
107
|
+
animation: icon-spin 2s linear infinite;
|
|
156
108
|
}
|
|
157
|
-
|
|
158
109
|
:host(.icon-spin.icon-tempo-fast) {
|
|
159
|
-
|
|
110
|
+
animation: icon-spin 0.5s linear infinite;
|
|
160
111
|
}
|
|
161
|
-
|
|
162
112
|
@keyframes icon-spin {
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
}
|
|
171
|
-
|
|
113
|
+
from {
|
|
114
|
+
transform: rotate(0deg);
|
|
115
|
+
}
|
|
116
|
+
to {
|
|
117
|
+
transform: rotate(360deg);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
172
120
|
:host(.icon-pulse) {
|
|
173
|
-
|
|
121
|
+
animation: icon-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
174
122
|
}
|
|
175
|
-
|
|
176
123
|
:host(.icon-pulse.icon-tempo-slow) {
|
|
177
|
-
|
|
124
|
+
animation: icon-pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
178
125
|
}
|
|
179
|
-
|
|
180
126
|
:host(.icon-pulse.icon-tempo-fast) {
|
|
181
|
-
|
|
127
|
+
animation: icon-pulse 1s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
182
128
|
}
|
|
183
|
-
|
|
184
129
|
@keyframes icon-pulse {
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
/* Accessibility: ensure icons are not announced by screen readers by default */
|
|
130
|
+
0%,
|
|
131
|
+
100% {
|
|
132
|
+
opacity: 1;
|
|
133
|
+
}
|
|
134
|
+
50% {
|
|
135
|
+
opacity: 0.5;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
196
138
|
:host {
|
|
197
|
-
|
|
198
|
-
|
|
139
|
+
-webkit-user-select: none;
|
|
140
|
+
user-select: none;
|
|
199
141
|
}
|
|
200
|
-
|
|
201
142
|
:host(:not(.icon-clickable)) {
|
|
202
|
-
|
|
143
|
+
pointer-events: none;
|
|
203
144
|
}
|
|
204
|
-
|
|
205
145
|
:host(.icon-clickable) {
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
146
|
+
cursor: pointer;
|
|
147
|
+
pointer-events: auto;
|
|
148
|
+
transition: color var(--ty-transition-fast), transform var(--ty-transition-fast);
|
|
209
149
|
}
|
|
210
|
-
|
|
211
150
|
:host(.icon-clickable:hover) {
|
|
212
|
-
|
|
151
|
+
transform: scale(1.1);
|
|
213
152
|
}
|
|
214
|
-
|
|
215
153
|
:host(.icon-clickable:active) {
|
|
216
|
-
|
|
154
|
+
transform: scale(0.95);
|
|
217
155
|
}
|
|
218
|
-
|
|
219
156
|
:host(.icon-disabled) {
|
|
220
|
-
|
|
221
|
-
|
|
157
|
+
opacity: 0.5;
|
|
158
|
+
cursor: not-allowed;
|
|
222
159
|
}
|
|
223
|
-
|
|
224
160
|
:host(.icon-block) {
|
|
225
|
-
|
|
161
|
+
display: block;
|
|
226
162
|
}
|
|
227
163
|
`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon.js","sourceRoot":"","sources":["../../src/styles/icon.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,CAAC,MAAM,UAAU,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoOzB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../src/styles/input.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,eAAO,MAAM,WAAW,6tYA8oBvB,CAAA"}
|