@getflip/swirl-components 0.116.0 → 0.117.0
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/components.json +371 -69
- package/dist/cjs/focus-trap.esm-21561e09.js +1145 -0
- package/dist/cjs/index-506fe4ea.js +14 -26
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/swirl-app-bar.cjs.entry.js +2 -1
- package/dist/cjs/swirl-app-icon.cjs.entry.js +1 -3
- package/dist/cjs/swirl-app-layout_6.cjs.entry.js +1 -1
- package/dist/cjs/swirl-badge.cjs.entry.js +1 -1
- package/dist/cjs/swirl-components.cjs.js +1 -1
- package/dist/cjs/swirl-icon-arrow-back_5.cjs.entry.js +87 -0
- package/dist/cjs/swirl-icon-dock-left.cjs.entry.js +23 -0
- package/dist/cjs/swirl-modal.cjs.entry.js +2 -1143
- package/dist/cjs/swirl-shell-layout.cjs.entry.js +87 -75
- package/dist/cjs/swirl-shell-navigation-item.cjs.entry.js +1 -1
- package/dist/cjs/swirl-visually-hidden.cjs.entry.js +1 -1
- package/dist/collection/assets/pdfjs/pdf.worker.min.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/swirl-app-bar/swirl-app-bar.js +20 -1
- package/dist/collection/components/swirl-app-icon/swirl-app-icon.css +3 -22
- package/dist/collection/components/swirl-app-icon/swirl-app-icon.js +0 -20
- package/dist/collection/components/swirl-app-layout/swirl-app-layout.css +38 -4
- package/dist/collection/components/swirl-badge/swirl-badge.css +18 -1
- package/dist/collection/components/swirl-badge/swirl-badge.js +1 -1
- package/dist/collection/components/swirl-icon/icons/swirl-icon-dock-left.js +52 -0
- package/dist/collection/components/swirl-shell-layout/swirl-shell-layout.css +353 -132
- package/dist/collection/components/swirl-shell-layout/swirl-shell-layout.js +322 -95
- package/dist/collection/components/swirl-shell-layout/swirl-shell-layout.spec.js +8 -58
- package/dist/collection/components/swirl-shell-layout/swirl-shell-layout.stories.js +81 -102
- package/dist/collection/components/swirl-shell-navigation-item/swirl-shell-navigation-item.css +46 -35
- package/dist/collection/components/swirl-visually-hidden/swirl-visually-hidden.js +1 -1
- package/dist/collection/components/swirl-visually-hidden/swirl-visually-hidden.spec.js +0 -3
- package/dist/components/assets/images/flip-logo.png +0 -0
- package/dist/components/assets/pdfjs/pdf.worker.min.js +1 -1
- package/dist/components/focus-trap.esm.js +1143 -0
- package/dist/components/swirl-app-bar.js +3 -1
- package/dist/components/swirl-app-icon.js +1 -4
- package/dist/components/swirl-app-layout2.js +1 -1
- package/dist/components/swirl-badge2.js +1 -1
- package/dist/components/swirl-icon-arrow-back.js +1 -35
- package/dist/{esm/swirl-icon-arrow-back.entry.js → components/swirl-icon-arrow-back2.js} +26 -8
- package/dist/components/swirl-icon-arrow-forward.js +1 -35
- package/dist/{esm/swirl-icon-arrow-forward.entry.js → components/swirl-icon-arrow-forward2.js} +26 -8
- package/dist/components/swirl-icon-dock-left.d.ts +11 -0
- package/dist/components/swirl-icon-dock-left.js +40 -0
- package/dist/components/swirl-icon-double-arrow-left.js +1 -35
- package/dist/{esm/swirl-icon-double-arrow-left.entry.js → components/swirl-icon-double-arrow-left2.js} +26 -8
- package/dist/components/swirl-icon-double-arrow-right.js +1 -35
- package/dist/{esm/swirl-icon-double-arrow-right.entry.js → components/swirl-icon-double-arrow-right2.js} +26 -8
- package/dist/components/swirl-icon-menu.js +1 -35
- package/dist/{esm/swirl-icon-menu.entry.js → components/swirl-icon-menu2.js} +26 -8
- package/dist/components/swirl-modal.js +1 -1142
- package/dist/components/swirl-shell-layout.js +150 -89
- package/dist/components/swirl-shell-navigation-item.js +1 -1
- package/dist/components/swirl-visually-hidden2.js +2 -3
- package/dist/esm/focus-trap.esm-37cd2d2b.js +1143 -0
- package/dist/esm/index-99d0060d.js +14 -26
- package/dist/esm/loader.js +1 -1
- package/dist/esm/swirl-app-bar.entry.js +2 -1
- package/dist/esm/swirl-app-icon.entry.js +1 -3
- package/dist/esm/swirl-app-layout_6.entry.js +1 -1
- package/dist/esm/swirl-badge.entry.js +1 -1
- package/dist/esm/swirl-components.js +1 -1
- package/dist/esm/swirl-icon-arrow-back_5.entry.js +79 -0
- package/dist/esm/swirl-icon-dock-left.entry.js +19 -0
- package/dist/esm/swirl-modal.entry.js +1 -1142
- package/dist/esm/swirl-shell-layout.entry.js +88 -76
- package/dist/esm/swirl-shell-navigation-item.entry.js +1 -1
- package/dist/esm/swirl-visually-hidden.entry.js +1 -1
- package/dist/swirl-components/p-08fd60a5.entry.js +1 -0
- package/dist/swirl-components/p-0ac2eb84.entry.js +1 -0
- package/dist/swirl-components/p-11c6c9ba.entry.js +1 -0
- package/dist/swirl-components/p-25b4973d.entry.js +1 -0
- package/dist/swirl-components/p-262771e5.entry.js +1 -0
- package/dist/swirl-components/p-3795fbb4.entry.js +1 -0
- package/dist/swirl-components/p-40ee5f22.entry.js +1 -0
- package/dist/swirl-components/p-4a69e7f3.entry.js +1 -0
- package/dist/swirl-components/p-76c36ee9.entry.js +1 -0
- package/dist/swirl-components/p-7c4a4b66.entry.js +1 -0
- package/dist/swirl-components/p-c2e1dfdb.js +10 -0
- package/dist/swirl-components/swirl-components.esm.js +1 -1
- package/dist/types/components/swirl-app-bar/swirl-app-bar.d.ts +1 -0
- package/dist/types/components/swirl-app-icon/swirl-app-icon.d.ts +0 -1
- package/dist/types/components/swirl-badge/swirl-badge.d.ts +1 -1
- package/dist/types/components/swirl-icon/icons/swirl-icon-dock-left.d.ts +5 -0
- package/dist/types/components/swirl-shell-layout/swirl-shell-layout.d.ts +42 -25
- package/dist/types/components.d.ts +50 -11
- package/icons.json +1 -1
- package/package.json +2 -2
- package/vscode-data.json +58 -6
- package/dist/cjs/swirl-icon-arrow-back.cjs.entry.js +0 -23
- package/dist/cjs/swirl-icon-arrow-forward.cjs.entry.js +0 -23
- package/dist/cjs/swirl-icon-double-arrow-left.cjs.entry.js +0 -23
- package/dist/cjs/swirl-icon-double-arrow-right.cjs.entry.js +0 -23
- package/dist/cjs/swirl-icon-menu.cjs.entry.js +0 -23
- package/dist/swirl-components/p-3a2abee9.entry.js +0 -1
- package/dist/swirl-components/p-441c8210.entry.js +0 -1
- package/dist/swirl-components/p-4a84e63d.entry.js +0 -1
- package/dist/swirl-components/p-54e4ff0b.entry.js +0 -1
- package/dist/swirl-components/p-5da3a9a8.entry.js +0 -1
- package/dist/swirl-components/p-645a878c.entry.js +0 -1
- package/dist/swirl-components/p-79be22ea.entry.js +0 -10
- package/dist/swirl-components/p-97668c59.entry.js +0 -1
- package/dist/swirl-components/p-be2cf7ee.entry.js +0 -1
- package/dist/swirl-components/p-c4d4a99d.entry.js +0 -1
- package/dist/swirl-components/p-ca78767e.entry.js +0 -1
- package/dist/swirl-components/p-d2fc7935.entry.js +0 -1
- package/dist/swirl-components/p-f83a0b0f.entry.js +0 -1
|
@@ -115,6 +115,7 @@
|
|
|
115
115
|
"./components/swirl-icon/icons/swirl-icon-delete.js",
|
|
116
116
|
"./components/swirl-icon/icons/swirl-icon-description.js",
|
|
117
117
|
"./components/swirl-icon/icons/swirl-icon-discover.js",
|
|
118
|
+
"./components/swirl-icon/icons/swirl-icon-dock-left.js",
|
|
118
119
|
"./components/swirl-icon/icons/swirl-icon-double-arrow-left.js",
|
|
119
120
|
"./components/swirl-icon/icons/swirl-icon-double-arrow-right.js",
|
|
120
121
|
"./components/swirl-icon/icons/swirl-icon-download.js",
|
|
@@ -21,6 +21,7 @@ export class SwirlAppBar {
|
|
|
21
21
|
this.stepDownButtonClick.emit(event);
|
|
22
22
|
};
|
|
23
23
|
this.backButtonLabel = "Go back";
|
|
24
|
+
this.closeButtonIcon = "<swirl-icon-close></swirl-icon-close>";
|
|
24
25
|
this.closeButtonLabel = "Close";
|
|
25
26
|
this.stepUpButtonLabel = "Previous item";
|
|
26
27
|
this.stepDownButtonLabel = "Next item";
|
|
@@ -51,7 +52,7 @@ export class SwirlAppBar {
|
|
|
51
52
|
"app-bar--has-cta": this.hasCta,
|
|
52
53
|
"app-bar--has-right-controls": hasRightControls,
|
|
53
54
|
});
|
|
54
|
-
return (h(Host, null, h("div", { class: className }, showLeftControls && (h("div", { class: "app-bar__left-controls" }, (this.showBackButton || this.showCloseButton) && (h("div", { class: "app-bar__main-navigation-control" }, this.showBackButton && (h("swirl-button", { hideLabel: true, icon: "<swirl-icon-arrow-back></swirl-icon-arrow-back>", label: this.backButtonLabel, onClick: this.onBackButtonClick })), this.showCloseButton && (h("swirl-button", { hideLabel: true, icon:
|
|
55
|
+
return (h(Host, null, h("div", { class: className }, showLeftControls && (h("div", { class: "app-bar__left-controls" }, (this.showBackButton || this.showCloseButton) && (h("div", { class: "app-bar__main-navigation-control" }, this.showBackButton && (h("swirl-button", { hideLabel: true, icon: "<swirl-icon-arrow-back></swirl-icon-arrow-back>", label: this.backButtonLabel, onClick: this.onBackButtonClick })), this.showCloseButton && (h("swirl-button", { hideLabel: true, icon: this.closeButtonIcon, label: this.closeButtonLabel, onClick: this.onCloseButtonClick })))), this.showStepperControls && (h("div", { class: "app-bar__stepper-controls" }, h("swirl-button", { hideLabel: true, icon: "<swirl-icon-arrow-upward></swirl-icon-arrow-upward>", label: this.stepUpButtonLabel, onClick: this.onStepUpButtonClick }), h("swirl-button", { hideLabel: true, icon: "<swirl-icon-arrow-downward></swirl-icon-arrow-downward>", label: this.stepDownButtonLabel, onClick: this.onStepDownButtonClick }))))), h("div", { class: "app-bar__cta" }, h("slot", { name: "cta" })), h("div", { class: "app-bar__heading" }, h("slot", { name: "heading" })), h("div", { class: "app-bar__center-controls" }, h("slot", { name: "center-controls" })), h("div", { class: "app-bar__right-controls" }, h("slot", { name: "right-controls" })))));
|
|
55
56
|
}
|
|
56
57
|
static get is() { return "swirl-app-bar"; }
|
|
57
58
|
static get encapsulation() { return "shadow"; }
|
|
@@ -85,6 +86,24 @@ export class SwirlAppBar {
|
|
|
85
86
|
"reflect": false,
|
|
86
87
|
"defaultValue": "\"Go back\""
|
|
87
88
|
},
|
|
89
|
+
"closeButtonIcon": {
|
|
90
|
+
"type": "string",
|
|
91
|
+
"mutable": false,
|
|
92
|
+
"complexType": {
|
|
93
|
+
"original": "string",
|
|
94
|
+
"resolved": "string",
|
|
95
|
+
"references": {}
|
|
96
|
+
},
|
|
97
|
+
"required": false,
|
|
98
|
+
"optional": true,
|
|
99
|
+
"docs": {
|
|
100
|
+
"tags": [],
|
|
101
|
+
"text": ""
|
|
102
|
+
},
|
|
103
|
+
"attribute": "close-button-icon",
|
|
104
|
+
"reflect": false,
|
|
105
|
+
"defaultValue": "\"<swirl-icon-close></swirl-icon-close>\""
|
|
106
|
+
},
|
|
88
107
|
"closeButtonLabel": {
|
|
89
108
|
"type": "string",
|
|
90
109
|
"mutable": false,
|
|
@@ -9,10 +9,9 @@
|
|
|
9
9
|
.app-icon {
|
|
10
10
|
position: relative;
|
|
11
11
|
overflow: hidden;
|
|
12
|
-
width:
|
|
13
|
-
height:
|
|
14
|
-
border-radius:
|
|
15
|
-
background-color: var(--s-surface-default);
|
|
12
|
+
width: 1.25rem;
|
|
13
|
+
height: 1.25rem;
|
|
14
|
+
border-radius: var(--s-border-radius-s);
|
|
16
15
|
}
|
|
17
16
|
|
|
18
17
|
.app-icon > img {
|
|
@@ -20,28 +19,10 @@
|
|
|
20
19
|
height: 100%;
|
|
21
20
|
}
|
|
22
21
|
|
|
23
|
-
.app-icon::after {
|
|
24
|
-
position: absolute;
|
|
25
|
-
top: 0;
|
|
26
|
-
display: block;
|
|
27
|
-
width: 100%;
|
|
28
|
-
height: 100%;
|
|
29
|
-
border-radius: 0.625rem;
|
|
30
|
-
content: "";
|
|
31
|
-
box-shadow: 0 0 var(--s-border-width-default) rgba(0, 0, 0, 0.1) inset,
|
|
32
|
-
0 0 var(--s-border-width-default) rgba(0, 0, 0, 0.1) inset;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.app-icon--hide-border::after {
|
|
36
|
-
box-shadow: none;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
22
|
.app-icon__icon {
|
|
40
23
|
display: inline-flex;
|
|
41
24
|
width: 100%;
|
|
42
25
|
height: 100%;
|
|
43
26
|
justify-content: center;
|
|
44
27
|
align-items: center;
|
|
45
|
-
|
|
46
|
-
color: var(--s-icon-default);
|
|
47
28
|
}
|
|
@@ -10,7 +10,6 @@ export class SwirlAppIcon {
|
|
|
10
10
|
};
|
|
11
11
|
this.icon = undefined;
|
|
12
12
|
this.src = undefined;
|
|
13
|
-
this.hideBorder = false;
|
|
14
13
|
this.imageAvailable = undefined;
|
|
15
14
|
}
|
|
16
15
|
render() {
|
|
@@ -20,7 +19,6 @@ export class SwirlAppIcon {
|
|
|
20
19
|
const showFallbackIcon = !showImage && !showIcon;
|
|
21
20
|
const className = classnames("app-icon", {
|
|
22
21
|
"app-icon--has-icon": showIcon || showFallbackIcon,
|
|
23
|
-
"app-icon--hide-border": this.hideBorder,
|
|
24
22
|
});
|
|
25
23
|
return (h(Host, null, h("span", { class: className }, showImage && (h("img", { alt: "", height: "40", onError: this.setImageUnavailable, onLoad: this.setImageAvailable, src: this.src, width: "40" })), showIcon && (h("span", { class: "app-icon__icon", innerHTML: this.icon })))));
|
|
26
24
|
}
|
|
@@ -71,24 +69,6 @@ export class SwirlAppIcon {
|
|
|
71
69
|
},
|
|
72
70
|
"attribute": "src",
|
|
73
71
|
"reflect": false
|
|
74
|
-
},
|
|
75
|
-
"hideBorder": {
|
|
76
|
-
"type": "boolean",
|
|
77
|
-
"mutable": false,
|
|
78
|
-
"complexType": {
|
|
79
|
-
"original": "boolean",
|
|
80
|
-
"resolved": "boolean",
|
|
81
|
-
"references": {}
|
|
82
|
-
},
|
|
83
|
-
"required": false,
|
|
84
|
-
"optional": true,
|
|
85
|
-
"docs": {
|
|
86
|
-
"tags": [],
|
|
87
|
-
"text": ""
|
|
88
|
-
},
|
|
89
|
-
"attribute": "hide-border",
|
|
90
|
-
"reflect": false,
|
|
91
|
-
"defaultValue": "false"
|
|
92
72
|
}
|
|
93
73
|
};
|
|
94
74
|
}
|
|
@@ -80,6 +80,18 @@
|
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
+
@media (min-width: 768px) {
|
|
84
|
+
.app-layout--has-sidebar:not(.app-layout--has-navigation).app-layout--sidebar-active .app-layout__grid {
|
|
85
|
+
animation: app-layout-no-nav-sidebar-slide-in 0.3s;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
@media (min-width: 768px) {
|
|
90
|
+
.app-layout--has-sidebar:not(.app-layout--has-navigation).app-layout--sidebar-closing .app-layout__grid {
|
|
91
|
+
animation: app-layout-no-nav-sidebar-slide-out 0.3s;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
83
95
|
@media (min-width: 768px) {
|
|
84
96
|
.app-layout--has-sidebar.app-layout--sidebar-active .app-layout__grid {
|
|
85
97
|
grid-template-columns: 1fr min(50%, 25rem);
|
|
@@ -96,7 +108,7 @@
|
|
|
96
108
|
"body";
|
|
97
109
|
}
|
|
98
110
|
|
|
99
|
-
@media (min-width:
|
|
111
|
+
@media (min-width: 1800px) {
|
|
100
112
|
.app-layout--has-navigation.app-layout--has-sidebar.app-layout--sidebar-active .app-layout__grid {
|
|
101
113
|
animation: app-layout-sidebar-slide-in 0.3s;
|
|
102
114
|
grid-template-columns: 25rem 1fr 25rem;
|
|
@@ -132,7 +144,7 @@
|
|
|
132
144
|
}
|
|
133
145
|
}
|
|
134
146
|
|
|
135
|
-
@media (min-width: 768px) and (max-width:
|
|
147
|
+
@media (min-width: 768px) and (max-width: 1799px) {
|
|
136
148
|
.app-layout--has-navigation.app-layout--has-sidebar .app-layout__sidebar {
|
|
137
149
|
position: absolute;
|
|
138
150
|
top: 0;
|
|
@@ -196,7 +208,7 @@
|
|
|
196
208
|
}
|
|
197
209
|
}
|
|
198
210
|
|
|
199
|
-
@media (min-width:
|
|
211
|
+
@media (min-width: 1800px) {
|
|
200
212
|
|
|
201
213
|
.app-layout--sidebar-closing .app-layout__sidebar {
|
|
202
214
|
animation: none
|
|
@@ -397,7 +409,7 @@
|
|
|
397
409
|
}
|
|
398
410
|
}
|
|
399
411
|
|
|
400
|
-
@media (min-width:
|
|
412
|
+
@media (min-width: 1800px) {
|
|
401
413
|
|
|
402
414
|
.app-layout__sidebar {
|
|
403
415
|
width: 25rem;
|
|
@@ -777,3 +789,25 @@
|
|
|
777
789
|
}
|
|
778
790
|
}
|
|
779
791
|
|
|
792
|
+
@keyframes app-layout-no-nav-sidebar-slide-in {
|
|
793
|
+
from {
|
|
794
|
+
overflow: hidden;
|
|
795
|
+
grid-template-columns: 1fr 0;
|
|
796
|
+
}
|
|
797
|
+
to {
|
|
798
|
+
overflow: hidden;
|
|
799
|
+
grid-template-columns: 1fr 25rem;
|
|
800
|
+
}
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
@keyframes app-layout-no-nav-sidebar-slide-out {
|
|
804
|
+
from {
|
|
805
|
+
overflow: hidden;
|
|
806
|
+
grid-template-columns: 1fr 25rem;
|
|
807
|
+
}
|
|
808
|
+
to {
|
|
809
|
+
overflow: hidden;
|
|
810
|
+
grid-template-columns: 1fr 0;
|
|
811
|
+
}
|
|
812
|
+
}
|
|
813
|
+
|
|
@@ -15,13 +15,30 @@
|
|
|
15
15
|
max-width: 100%;
|
|
16
16
|
justify-content: center;
|
|
17
17
|
align-items: center;
|
|
18
|
-
border: 0.
|
|
18
|
+
border: 0.125rem solid var(--swirl-badge-border-color);
|
|
19
19
|
border-radius: 2rem;
|
|
20
20
|
color: var(--s-text-on-status);
|
|
21
21
|
font-size: var(--s-font-size-sm);
|
|
22
22
|
font-weight: var(--s-font-weight-medium);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
+
.badge--size-xs {
|
|
26
|
+
min-width: 1.25rem;
|
|
27
|
+
height: 1.25rem;
|
|
28
|
+
font-size: 0.6875rem;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.badge--size-xs .badge__label {
|
|
32
|
+
padding-right: 0.125rem;
|
|
33
|
+
padding-left: 0.125rem;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.badge--size-xs .badge__icon > swirl-icon,
|
|
37
|
+
.badge--size-xs .badge__icon > *::part(icon) {
|
|
38
|
+
width: 0.75rem;
|
|
39
|
+
height: 0.75rem;
|
|
40
|
+
}
|
|
41
|
+
|
|
25
42
|
.badge--size-s {
|
|
26
43
|
min-width: 1.5rem;
|
|
27
44
|
height: 1.5rem;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
// DO NOT EDIT. THIS FILE GETS GENERATED VIA "yarn generate".
|
|
2
|
+
import { Fragment, h } from "@stencil/core";
|
|
3
|
+
import classnames from "classnames";
|
|
4
|
+
export class SwirlIconDockLeft {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.size = 24;
|
|
7
|
+
}
|
|
8
|
+
render() {
|
|
9
|
+
const viewBoxSize = this.size === 20 ? 24 : this.size;
|
|
10
|
+
const className = classnames("swirl-icon", `swirl-icon--size-${this.size}`);
|
|
11
|
+
return (h("svg", { class: className, fill: "none", height: this.size, part: "icon", viewBox: `0 0 ${viewBoxSize} ${viewBoxSize}`, width: this.size, xmlns: "http://www.w3.org/2000/svg" }, this.size === 16 && (h(Fragment, null, h("path", { d: "M3.33333 14C2.96667 14 2.65278 13.8694 2.39167 13.6083C2.13056 13.3472 2 13.0333 2 12.6667V3.33333C2 2.96667 2.13056 2.65278 2.39167 2.39167C2.65278 2.13056 2.96667 2 3.33333 2H12.6667C13.0333 2 13.3472 2.13056 13.6083 2.39167C13.8694 2.65278 14 2.96667 14 3.33333V12.6667C14 13.0333 13.8694 13.3472 13.6083 13.6083C13.3472 13.8694 13.0333 14 12.6667 14H3.33333ZM5.33333 12.6667V3.33333H3.33333V12.6667H5.33333ZM6.66667 12.6667H12.6667V3.33333H6.66667V12.6667Z", fill: "currentColor" }))), (this.size === 20 || this.size === 24) && (h(Fragment, null, h("path", { d: "M5 21C4.45 21 3.97917 20.8042 3.5875 20.4125C3.19583 20.0208 3 19.55 3 19V5C3 4.45 3.19583 3.97917 3.5875 3.5875C3.97917 3.19583 4.45 3 5 3H19C19.55 3 20.0208 3.19583 20.4125 3.5875C20.8042 3.97917 21 4.45 21 5V19C21 19.55 20.8042 20.0208 20.4125 20.4125C20.0208 20.8042 19.55 21 19 21H5ZM8 19V5H5V19H8ZM10 19H19V5H10V19Z", fill: "currentColor" }))), this.size === 28 && (h(Fragment, null, h("path", { d: "M5.83333 24.5C5.19167 24.5 4.64236 24.2715 4.18542 23.8146C3.72847 23.3576 3.5 22.8083 3.5 22.1667V5.83333C3.5 5.19167 3.72847 4.64236 4.18542 4.18542C4.64236 3.72847 5.19167 3.5 5.83333 3.5H22.1667C22.8083 3.5 23.3576 3.72847 23.8146 4.18542C24.2715 4.64236 24.5 5.19167 24.5 5.83333V22.1667C24.5 22.8083 24.2715 23.3576 23.8146 23.8146C23.3576 24.2715 22.8083 24.5 22.1667 24.5H5.83333ZM9.33333 22.1667V5.83333H5.83333V22.1667H9.33333ZM11.6667 22.1667H22.1667V5.83333H11.6667V22.1667Z", fill: "currentColor" })))));
|
|
12
|
+
}
|
|
13
|
+
static get is() { return "swirl-icon-dock-left"; }
|
|
14
|
+
static get encapsulation() { return "shadow"; }
|
|
15
|
+
static get originalStyleUrls() {
|
|
16
|
+
return {
|
|
17
|
+
"$": ["../swirl-icon.css"]
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
static get styleUrls() {
|
|
21
|
+
return {
|
|
22
|
+
"$": ["../swirl-icon.css"]
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
static get properties() {
|
|
26
|
+
return {
|
|
27
|
+
"size": {
|
|
28
|
+
"type": "number",
|
|
29
|
+
"mutable": false,
|
|
30
|
+
"complexType": {
|
|
31
|
+
"original": "SwirlIconSize",
|
|
32
|
+
"resolved": "16 | 20 | 24 | 28",
|
|
33
|
+
"references": {
|
|
34
|
+
"SwirlIconSize": {
|
|
35
|
+
"location": "import",
|
|
36
|
+
"path": "../swirl-icon.types"
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"required": false,
|
|
41
|
+
"optional": false,
|
|
42
|
+
"docs": {
|
|
43
|
+
"tags": [],
|
|
44
|
+
"text": ""
|
|
45
|
+
},
|
|
46
|
+
"attribute": "size",
|
|
47
|
+
"reflect": false,
|
|
48
|
+
"defaultValue": "24"
|
|
49
|
+
}
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
}
|