@breadstone/mosaik-elements-foundation 0.1.9 → 0.1.10
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/Controls/Components/Selectors/Stepper/StepperElement.d.ts +26 -7
- package/Controls/Components/Selectors/Stepper/StepperElement.d.ts.map +1 -1
- package/Controls/Components/Selectors/Stepper/StepperElement.js +58 -17
- package/Controls/Components/Selectors/Stepper/StepperElement.js.map +1 -1
- package/Controls/Components/Selectors/Stepper/StepperElementTemplate.d.ts.map +1 -1
- package/Controls/Components/Selectors/Stepper/StepperElementTemplate.js +59 -36
- package/Controls/Components/Selectors/Stepper/StepperElementTemplate.js.map +1 -1
- package/Controls/Components/Selectors/Stepper/StepperSlot.d.ts +2 -0
- package/Controls/Components/Selectors/Stepper/StepperSlot.d.ts.map +1 -0
- package/Controls/Components/Selectors/Stepper/StepperSlot.js +11 -0
- package/Controls/Components/Selectors/Stepper/StepperSlot.js.map +1 -0
- package/Controls/Components/Selectors/Stepper/Themes/StepperElement.Cosmopolitan.d.ts.map +1 -1
- package/Controls/Components/Selectors/Stepper/Themes/StepperElement.Cosmopolitan.js +31 -4
- package/Controls/Components/Selectors/Stepper/Themes/StepperElement.Cosmopolitan.js.map +1 -1
- package/Controls/Components/Selectors/Stepper/Themes/StepperElement.Joy.d.ts.map +1 -1
- package/Controls/Components/Selectors/Stepper/Themes/StepperElement.Joy.js +37 -10
- package/Controls/Components/Selectors/Stepper/Themes/StepperElement.Joy.js.map +1 -1
- package/Controls/Components/Selectors/Stepper/Themes/StepperElement.Memphis.d.ts.map +1 -1
- package/Controls/Components/Selectors/Stepper/Themes/StepperElement.Memphis.js +31 -4
- package/Controls/Components/Selectors/Stepper/Themes/StepperElement.Memphis.js.map +1 -1
- package/Controls/Components/States/Busy/BusyStateElement.d.ts +6 -3
- package/Controls/Components/States/Busy/BusyStateElement.d.ts.map +1 -1
- package/Controls/Components/States/Busy/BusyStateElement.js +5 -2
- package/Controls/Components/States/Busy/BusyStateElement.js.map +1 -1
- package/Controls/Components/States/Busy/BusyStateElementTemplate.d.ts.map +1 -1
- package/Controls/Components/States/Busy/BusyStateElementTemplate.js +20 -16
- package/Controls/Components/States/Busy/BusyStateElementTemplate.js.map +1 -1
- package/Controls/Components/States/Busy/Themes/BusyStateElement.Cosmopolitan.d.ts.map +1 -1
- package/Controls/Components/States/Busy/Themes/BusyStateElement.Cosmopolitan.js +22 -2
- package/Controls/Components/States/Busy/Themes/BusyStateElement.Cosmopolitan.js.map +1 -1
- package/Controls/Components/States/Busy/Themes/BusyStateElement.Joy.d.ts.map +1 -1
- package/Controls/Components/States/Busy/Themes/BusyStateElement.Joy.js +24 -4
- package/Controls/Components/States/Busy/Themes/BusyStateElement.Joy.js.map +1 -1
- package/Controls/Components/States/Busy/Themes/BusyStateElement.Memphis.d.ts.map +1 -1
- package/Controls/Components/States/Busy/Themes/BusyStateElement.Memphis.js +24 -4
- package/Controls/Components/States/Busy/Themes/BusyStateElement.Memphis.js.map +1 -1
- package/Controls/Components/States/Empty/EmptyStateElement.d.ts +17 -3
- package/Controls/Components/States/Empty/EmptyStateElement.d.ts.map +1 -1
- package/Controls/Components/States/Empty/EmptyStateElement.js +29 -2
- package/Controls/Components/States/Empty/EmptyStateElement.js.map +1 -1
- package/Controls/Components/States/Empty/EmptyStateElementTemplate.d.ts.map +1 -1
- package/Controls/Components/States/Empty/EmptyStateElementTemplate.js +21 -17
- package/Controls/Components/States/Empty/EmptyStateElementTemplate.js.map +1 -1
- package/Controls/Components/States/Empty/Themes/EmptyStateElement.Cosmopolitan.d.ts.map +1 -1
- package/Controls/Components/States/Empty/Themes/EmptyStateElement.Cosmopolitan.js +22 -2
- package/Controls/Components/States/Empty/Themes/EmptyStateElement.Cosmopolitan.js.map +1 -1
- package/Controls/Components/States/Empty/Themes/EmptyStateElement.Joy.d.ts.map +1 -1
- package/Controls/Components/States/Empty/Themes/EmptyStateElement.Joy.js +24 -4
- package/Controls/Components/States/Empty/Themes/EmptyStateElement.Joy.js.map +1 -1
- package/Controls/Components/States/Empty/Themes/EmptyStateElement.Memphis.d.ts.map +1 -1
- package/Controls/Components/States/Empty/Themes/EmptyStateElement.Memphis.js +24 -4
- package/Controls/Components/States/Empty/Themes/EmptyStateElement.Memphis.js.map +1 -1
- package/Controls/Components/States/Error/ErrorStateElement.d.ts +6 -4
- package/Controls/Components/States/Error/ErrorStateElement.d.ts.map +1 -1
- package/Controls/Components/States/Error/ErrorStateElement.js +5 -3
- package/Controls/Components/States/Error/ErrorStateElement.js.map +1 -1
- package/Controls/Components/States/Error/ErrorStateElementTemplate.d.ts.map +1 -1
- package/Controls/Components/States/Error/ErrorStateElementTemplate.js +20 -16
- package/Controls/Components/States/Error/ErrorStateElementTemplate.js.map +1 -1
- package/Controls/Components/States/Error/Themes/ErrorStateElement.Cosmopolitan.d.ts.map +1 -1
- package/Controls/Components/States/Error/Themes/ErrorStateElement.Cosmopolitan.js +22 -2
- package/Controls/Components/States/Error/Themes/ErrorStateElement.Cosmopolitan.js.map +1 -1
- package/Controls/Components/States/Error/Themes/ErrorStateElement.Joy.d.ts.map +1 -1
- package/Controls/Components/States/Error/Themes/ErrorStateElement.Joy.js +24 -4
- package/Controls/Components/States/Error/Themes/ErrorStateElement.Joy.js.map +1 -1
- package/Controls/Components/States/Error/Themes/ErrorStateElement.Memphis.d.ts.map +1 -1
- package/Controls/Components/States/Error/Themes/ErrorStateElement.Memphis.js +24 -4
- package/Controls/Components/States/Error/Themes/ErrorStateElement.Memphis.js.map +1 -1
- package/Controls/Components/States/Success/SuccessStateElement.d.ts +6 -4
- package/Controls/Components/States/Success/SuccessStateElement.d.ts.map +1 -1
- package/Controls/Components/States/Success/SuccessStateElement.js +5 -3
- package/Controls/Components/States/Success/SuccessStateElement.js.map +1 -1
- package/Controls/Components/States/Success/SuccessStateElementTemplate.d.ts.map +1 -1
- package/Controls/Components/States/Success/SuccessStateElementTemplate.js +20 -16
- package/Controls/Components/States/Success/SuccessStateElementTemplate.js.map +1 -1
- package/Controls/Components/States/Success/Themes/SuccessStateElement.Cosmopolitan.d.ts.map +1 -1
- package/Controls/Components/States/Success/Themes/SuccessStateElement.Cosmopolitan.js +22 -2
- package/Controls/Components/States/Success/Themes/SuccessStateElement.Cosmopolitan.js.map +1 -1
- package/Controls/Components/States/Success/Themes/SuccessStateElement.Joy.d.ts.map +1 -1
- package/Controls/Components/States/Success/Themes/SuccessStateElement.Joy.js +24 -4
- package/Controls/Components/States/Success/Themes/SuccessStateElement.Joy.js.map +1 -1
- package/Controls/Components/States/Success/Themes/SuccessStateElement.Memphis.d.ts.map +1 -1
- package/Controls/Components/States/Success/Themes/SuccessStateElement.Memphis.js +24 -4
- package/Controls/Components/States/Success/Themes/SuccessStateElement.Memphis.js.map +1 -1
- package/custom-elements.json +61 -36
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmptyStateElement.Cosmopolitan.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/States/Empty/Themes/EmptyStateElement.Cosmopolitan.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,kCAAkC,IAAI,SAAS,
|
|
1
|
+
{"version":3,"file":"EmptyStateElement.Cosmopolitan.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/States/Empty/Themes/EmptyStateElement.Cosmopolitan.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,kCAAkC,IAAI,SAAS,CA2I9D"}
|
|
@@ -93,7 +93,7 @@ export function emptyStateElementCosmopolitanStyle() {
|
|
|
93
93
|
--icon-foreground-color: var(--empty-state-foreground-color);
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
:host [
|
|
96
|
+
:host slot[name="header"] {
|
|
97
97
|
font-family: var(--empty-state-header-font-family);
|
|
98
98
|
font-size: var(--empty-state-header-font-size);
|
|
99
99
|
line-height: var(--empty-state-header-font-line-height);
|
|
@@ -104,7 +104,17 @@ export function emptyStateElementCosmopolitanStyle() {
|
|
|
104
104
|
text-transform: var(--empty-state-header-font-text-transform);
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
:host [
|
|
107
|
+
:host slot[name="header"] mosaik-text {
|
|
108
|
+
font-family: inherit;
|
|
109
|
+
font-size: inherit;
|
|
110
|
+
line-height: inherit;
|
|
111
|
+
font-weight: inherit;
|
|
112
|
+
letter-spacing: inherit;
|
|
113
|
+
text-decoration: inherit;
|
|
114
|
+
text-transform: inherit;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
:host slot[name="content"] {
|
|
108
118
|
font-family: var(--empty-state-content-font-family);
|
|
109
119
|
font-size: var(--empty-state-content-font-size);
|
|
110
120
|
line-height: var(--empty-state-content-font-line-height);
|
|
@@ -115,6 +125,16 @@ export function emptyStateElementCosmopolitanStyle() {
|
|
|
115
125
|
text-transform: var(--empty-state-content-font-text-transform);
|
|
116
126
|
}
|
|
117
127
|
|
|
128
|
+
:host slot[name="content"] mosaik-text {
|
|
129
|
+
font-family: inherit;
|
|
130
|
+
font-size: inherit;
|
|
131
|
+
line-height: inherit;
|
|
132
|
+
font-weight: inherit;
|
|
133
|
+
letter-spacing: inherit;
|
|
134
|
+
text-decoration: inherit;
|
|
135
|
+
text-transform: inherit;
|
|
136
|
+
}
|
|
137
|
+
|
|
118
138
|
:host [part="root"] {
|
|
119
139
|
flex-direction: column;
|
|
120
140
|
align-items: center;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmptyStateElement.Cosmopolitan.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/States/Empty/Themes/EmptyStateElement.Cosmopolitan.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mBAAmB;AACnB,yCAAyC;AACzC,qGAAqG;AACrG,oBAAoB;AACpB,iFAAiF;AAEjF,kBAAkB;AAElB,OAAO,EAAE,GAAG,EAAkB,MAAM,wBAAwB,CAAC;AAE7D,aAAa;AAEb;;GAEG;AACH,MAAM,UAAU,kCAAkC;IAC9C,OAAO,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"EmptyStateElement.Cosmopolitan.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/States/Empty/Themes/EmptyStateElement.Cosmopolitan.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mBAAmB;AACnB,yCAAyC;AACzC,qGAAqG;AACrG,oBAAoB;AACpB,iFAAiF;AAEjF,kBAAkB;AAElB,OAAO,EAAE,GAAG,EAAkB,MAAM,wBAAwB,CAAC;AAE7D,aAAa;AAEb;;GAEG;AACH,MAAM,UAAU,kCAAkC;IAC9C,OAAO,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAyIT,CAAC;AACN,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmptyStateElement.Joy.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/States/Empty/Themes/EmptyStateElement.Joy.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,yBAAyB,IAAI,SAAS,
|
|
1
|
+
{"version":3,"file":"EmptyStateElement.Joy.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/States/Empty/Themes/EmptyStateElement.Joy.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,yBAAyB,IAAI,SAAS,CA+JrD"}
|
|
@@ -93,7 +93,7 @@ export function emptyStateElementJoyStyle() {
|
|
|
93
93
|
--icon-foreground-color: var(--empty-state-foreground-color);
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
:host [
|
|
96
|
+
:host slot[name="header"] {
|
|
97
97
|
font-family: var(--empty-state-header-font-family);
|
|
98
98
|
font-size: var(--empty-state-header-font-size);
|
|
99
99
|
line-height: var(--empty-state-header-font-line-height);
|
|
@@ -104,7 +104,17 @@ export function emptyStateElementJoyStyle() {
|
|
|
104
104
|
text-transform: var(--empty-state-header-font-text-transform);
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
:host [
|
|
107
|
+
:host slot[name="header"] mosaik-text {
|
|
108
|
+
font-family: inherit;
|
|
109
|
+
font-size: inherit;
|
|
110
|
+
line-height: inherit;
|
|
111
|
+
font-weight: inherit;
|
|
112
|
+
letter-spacing: inherit;
|
|
113
|
+
text-decoration: inherit;
|
|
114
|
+
text-transform: inherit;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
:host slot[name="content"] {
|
|
108
118
|
font-family: var(--empty-state-content-font-family);
|
|
109
119
|
font-size: var(--empty-state-content-font-size);
|
|
110
120
|
line-height: var(--empty-state-content-font-line-height);
|
|
@@ -115,6 +125,16 @@ export function emptyStateElementJoyStyle() {
|
|
|
115
125
|
text-transform: var(--empty-state-content-font-text-transform);
|
|
116
126
|
}
|
|
117
127
|
|
|
128
|
+
:host slot[name="content"] mosaik-text {
|
|
129
|
+
font-family: inherit;
|
|
130
|
+
font-size: inherit;
|
|
131
|
+
line-height: inherit;
|
|
132
|
+
font-weight: inherit;
|
|
133
|
+
letter-spacing: inherit;
|
|
134
|
+
text-decoration: inherit;
|
|
135
|
+
text-transform: inherit;
|
|
136
|
+
}
|
|
137
|
+
|
|
118
138
|
:host [part="root"] {
|
|
119
139
|
flex-direction: column;
|
|
120
140
|
align-items: center;
|
|
@@ -128,7 +148,7 @@ export function emptyStateElementJoyStyle() {
|
|
|
128
148
|
display: flex;
|
|
129
149
|
}
|
|
130
150
|
|
|
131
|
-
:host [
|
|
151
|
+
:host slot[name="header"] {
|
|
132
152
|
--empty-state-header-font-family: var(--joy-typography-body1-font-family);
|
|
133
153
|
--empty-state-header-font-size: var(--joy-typography-body1-font-size);
|
|
134
154
|
--empty-state-header-font-line-height: var(--joy-typography-body1-line-height);
|
|
@@ -138,7 +158,7 @@ export function emptyStateElementJoyStyle() {
|
|
|
138
158
|
--empty-state-header-font-text-transform: var(--joy-typography-body1-text-transform);
|
|
139
159
|
}
|
|
140
160
|
|
|
141
|
-
:host [
|
|
161
|
+
:host slot[name="content"] {
|
|
142
162
|
--empty-state-content-font-family: var(--joy-typography-body2-font-family);
|
|
143
163
|
--empty-state-content-font-size: var(--joy-typography-body2-font-size);
|
|
144
164
|
--empty-state-content-font-line-height: var(--joy-typography-body2-line-height);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmptyStateElement.Joy.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/States/Empty/Themes/EmptyStateElement.Joy.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mBAAmB;AACnB,yCAAyC;AACzC,qGAAqG;AACrG,oBAAoB;AACpB,iFAAiF;AAEjF,kBAAkB;AAElB,OAAO,EAAE,GAAG,EAAkB,MAAM,wBAAwB,CAAC;AAE7D,aAAa;AAEb;;GAEG;AACH,MAAM,UAAU,yBAAyB;IACrC,OAAO,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"EmptyStateElement.Joy.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/States/Empty/Themes/EmptyStateElement.Joy.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mBAAmB;AACnB,yCAAyC;AACzC,qGAAqG;AACrG,oBAAoB;AACpB,iFAAiF;AAEjF,kBAAkB;AAElB,OAAO,EAAE,GAAG,EAAkB,MAAM,wBAAwB,CAAC;AAE7D,aAAa;AAEb;;GAEG;AACH,MAAM,UAAU,yBAAyB;IACrC,OAAO,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA6JT,CAAC;AACN,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmptyStateElement.Memphis.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/States/Empty/Themes/EmptyStateElement.Memphis.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,6BAA6B,IAAI,SAAS,
|
|
1
|
+
{"version":3,"file":"EmptyStateElement.Memphis.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/States/Empty/Themes/EmptyStateElement.Memphis.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,6BAA6B,IAAI,SAAS,CA+JzD"}
|
|
@@ -93,7 +93,7 @@ export function emptyStateElementMemphisStyle() {
|
|
|
93
93
|
--icon-foreground-color: var(--empty-state-foreground-color);
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
:host [
|
|
96
|
+
:host slot[name="header"] {
|
|
97
97
|
font-family: var(--empty-state-header-font-family);
|
|
98
98
|
font-size: var(--empty-state-header-font-size);
|
|
99
99
|
line-height: var(--empty-state-header-font-line-height);
|
|
@@ -104,7 +104,17 @@ export function emptyStateElementMemphisStyle() {
|
|
|
104
104
|
text-transform: var(--empty-state-header-font-text-transform);
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
:host [
|
|
107
|
+
:host slot[name="header"] mosaik-text {
|
|
108
|
+
font-family: inherit;
|
|
109
|
+
font-size: inherit;
|
|
110
|
+
line-height: inherit;
|
|
111
|
+
font-weight: inherit;
|
|
112
|
+
letter-spacing: inherit;
|
|
113
|
+
text-decoration: inherit;
|
|
114
|
+
text-transform: inherit;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
:host slot[name="content"] {
|
|
108
118
|
font-family: var(--empty-state-content-font-family);
|
|
109
119
|
font-size: var(--empty-state-content-font-size);
|
|
110
120
|
line-height: var(--empty-state-content-font-line-height);
|
|
@@ -115,6 +125,16 @@ export function emptyStateElementMemphisStyle() {
|
|
|
115
125
|
text-transform: var(--empty-state-content-font-text-transform);
|
|
116
126
|
}
|
|
117
127
|
|
|
128
|
+
:host slot[name="content"] mosaik-text {
|
|
129
|
+
font-family: inherit;
|
|
130
|
+
font-size: inherit;
|
|
131
|
+
line-height: inherit;
|
|
132
|
+
font-weight: inherit;
|
|
133
|
+
letter-spacing: inherit;
|
|
134
|
+
text-decoration: inherit;
|
|
135
|
+
text-transform: inherit;
|
|
136
|
+
}
|
|
137
|
+
|
|
118
138
|
:host [part="root"] {
|
|
119
139
|
flex-direction: column;
|
|
120
140
|
align-items: center;
|
|
@@ -128,7 +148,7 @@ export function emptyStateElementMemphisStyle() {
|
|
|
128
148
|
display: flex;
|
|
129
149
|
}
|
|
130
150
|
|
|
131
|
-
:host [
|
|
151
|
+
:host slot[name="header"] {
|
|
132
152
|
--empty-state-header-font-family: var(--memphis-typography-body1-font-family);
|
|
133
153
|
--empty-state-header-font-size: var(--memphis-typography-body1-font-size);
|
|
134
154
|
--empty-state-header-font-line-height: var(--memphis-typography-body1-line-height);
|
|
@@ -138,7 +158,7 @@ export function emptyStateElementMemphisStyle() {
|
|
|
138
158
|
--empty-state-header-font-text-transform: var(--memphis-typography-body1-text-transform);
|
|
139
159
|
}
|
|
140
160
|
|
|
141
|
-
:host [
|
|
161
|
+
:host slot[name="content"] {
|
|
142
162
|
--empty-state-content-font-family: var(--memphis-typography-body2-font-family);
|
|
143
163
|
--empty-state-content-font-size: var(--memphis-typography-body2-font-size);
|
|
144
164
|
--empty-state-content-font-line-height: var(--memphis-typography-body2-line-height);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmptyStateElement.Memphis.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/States/Empty/Themes/EmptyStateElement.Memphis.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mBAAmB;AACnB,yCAAyC;AACzC,qGAAqG;AACrG,oBAAoB;AACpB,iFAAiF;AAEjF,kBAAkB;AAElB,OAAO,EAAE,GAAG,EAAkB,MAAM,wBAAwB,CAAC;AAE7D,aAAa;AAEb;;GAEG;AACH,MAAM,UAAU,6BAA6B;IACzC,OAAO,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"EmptyStateElement.Memphis.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/States/Empty/Themes/EmptyStateElement.Memphis.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mBAAmB;AACnB,yCAAyC;AACzC,qGAAqG;AACrG,oBAAoB;AACpB,iFAAiF;AAEjF,kBAAkB;AAElB,OAAO,EAAE,GAAG,EAAkB,MAAM,wBAAwB,CAAC;AAE7D,aAAa;AAEb;;GAEG;AACH,MAAM,UAAU,6BAA6B;IACzC,OAAO,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA6JT,CAAC;AACN,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { ISlottable } from '../../../Behaviors/Slottable';
|
|
1
2
|
import { StateBaseElement } from '../Abstracts/StateBaseElement';
|
|
2
3
|
import { IErrorStateElementProps } from './IErrorStateElementProps';
|
|
3
|
-
declare const ErrorStateElement_base: (abstract new (...args: Array<any>) => import("../../../Behaviors/Themeable").IThemeableProps) & typeof StateBaseElement & import("../../../Behaviors/Themeable").IThemeableCtor;
|
|
4
|
+
declare const ErrorStateElement_base: (abstract new (...args: Array<any>) => import("../../../Behaviors/Themeable").IThemeableProps) & (abstract new (...args: Array<any>) => import("../../../Behaviors/Slottable").ISlottableProps & ISlottable) & typeof StateBaseElement & import("../../../Behaviors/Themeable").IThemeableCtor;
|
|
4
5
|
/**
|
|
5
6
|
* ErrorState - An error handling component that displays failure states and recovery options for users.
|
|
6
7
|
*
|
|
@@ -16,8 +17,10 @@ declare const ErrorStateElement_base: (abstract new (...args: Array<any>) => imp
|
|
|
16
17
|
* @element mosaik-error-state
|
|
17
18
|
* @category States
|
|
18
19
|
*
|
|
19
|
-
* @slot
|
|
20
|
+
* @slot - The default slot.
|
|
20
21
|
* @slot actions - Action buttons for error recovery (retry, refresh, contact support, go back, etc.)
|
|
22
|
+
* @slot - Default content area for additional error information or custom content
|
|
23
|
+
* @slot header - The header slot.
|
|
21
24
|
*
|
|
22
25
|
* @csspart actions - The container for action slot elements
|
|
23
26
|
* @csspart code - The code container for technical error details or error codes
|
|
@@ -33,7 +36,6 @@ declare const ErrorStateElement_base: (abstract new (...args: Array<any>) => imp
|
|
|
33
36
|
* @cssprop {String} --error-state-font-text-decoration - The state font text decoration CSS custom property.
|
|
34
37
|
* @cssprop {String} --error-state-font-text-transform - The state font text transform CSS custom property.
|
|
35
38
|
* @cssprop {String} --error-state-font-weight - The state font weight CSS custom property.
|
|
36
|
-
* @cssprop {String} --error-state-foreground-color - The text color for error state content
|
|
37
39
|
* @cssprop {String} --error-state-gap - The spacing between icon, text, and action elements
|
|
38
40
|
* @cssprop {String} --error-state-header-font-family - The font family for header text
|
|
39
41
|
* @cssprop {String} --error-state-header-font-letter-spacing - The letter spacing for header text
|
|
@@ -90,7 +92,7 @@ declare const ErrorStateElement_base: (abstract new (...args: Array<any>) => imp
|
|
|
90
92
|
*
|
|
91
93
|
* @public
|
|
92
94
|
*/
|
|
93
|
-
export declare class ErrorStateElement extends ErrorStateElement_base implements IErrorStateElementProps {
|
|
95
|
+
export declare class ErrorStateElement extends ErrorStateElement_base implements IErrorStateElementProps, ISlottable {
|
|
94
96
|
private _icon;
|
|
95
97
|
private _header;
|
|
96
98
|
private _code;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorStateElement.d.ts","sourceRoot":"","sources":["../../../../../src/Controls/Components/States/Error/ErrorStateElement.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ErrorStateElement.d.ts","sourceRoot":"","sources":["../../../../../src/Controls/Components/States/Error/ErrorStateElement.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAa,MAAM,8BAA8B,CAAC;AAOrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAEjE,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;;AAOpE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyFG;AACH,qBAaa,iBACT,SAAQ,sBACR,YAAW,uBAAuB,EAAE,UAAU;IAI9C,OAAO,CAAC,KAAK,CAAS;IACtB,OAAO,CAAC,OAAO,CAAS;IACxB,OAAO,CAAC,KAAK,CAAS;IAMtB;;;;OAIG;;IAaH;;;;;;MAME;IACF,WAAkB,EAAE,IAAI,MAAM,CAE7B;IAED;;;;;;OAMG;IACH,IACW,IAAI,IAAI,MAAM,CAExB;IAED,IAAW,IAAI,CAAC,KAAK,EAAE,MAAM,EAI5B;IAED;;;;;;OAMG;IACH,IACW,MAAM,IAAI,MAAM,CAE1B;IAED,IAAW,MAAM,CAAC,KAAK,EAAE,MAAM,EAI9B;IAED;;;;;;;OAOG;IACH,IACW,IAAI,IAAI,MAAM,CAExB;IACD,IAAW,IAAI,CAAC,KAAK,EAAE,MAAM,EAI5B;CAIJ;AAED;;GAEG;AACH,yBAAiB,iBAAiB,CAAC;IAC/B,KAAY,KAAK,GAAG,uBAAuB,CAAC;CAC/C;AAED;;GAEG;AACH,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAC3B,oBAAoB,EAAE,iBAAiB,CAAC;KAC3C;CACJ"}
|
|
@@ -8,6 +8,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
8
8
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
|
+
import { Slottable } from '../../../Behaviors/Slottable';
|
|
11
12
|
import { Themeable } from '../../../Behaviors/Themeable';
|
|
12
13
|
import { Attribute } from '../../../Decorators/AttributeDecorator';
|
|
13
14
|
import { Component } from '../../../Decorators/ComponentDecorator';
|
|
@@ -35,8 +36,10 @@ import { errorStateElementMemphisStyle } from './Themes/ErrorStateElement.Memphi
|
|
|
35
36
|
* @element mosaik-error-state
|
|
36
37
|
* @category States
|
|
37
38
|
*
|
|
38
|
-
* @slot
|
|
39
|
+
* @slot - The default slot.
|
|
39
40
|
* @slot actions - Action buttons for error recovery (retry, refresh, contact support, go back, etc.)
|
|
41
|
+
* @slot - Default content area for additional error information or custom content
|
|
42
|
+
* @slot header - The header slot.
|
|
40
43
|
*
|
|
41
44
|
* @csspart actions - The container for action slot elements
|
|
42
45
|
* @csspart code - The code container for technical error details or error codes
|
|
@@ -52,7 +55,6 @@ import { errorStateElementMemphisStyle } from './Themes/ErrorStateElement.Memphi
|
|
|
52
55
|
* @cssprop {String} --error-state-font-text-decoration - The state font text decoration CSS custom property.
|
|
53
56
|
* @cssprop {String} --error-state-font-text-transform - The state font text transform CSS custom property.
|
|
54
57
|
* @cssprop {String} --error-state-font-weight - The state font weight CSS custom property.
|
|
55
|
-
* @cssprop {String} --error-state-foreground-color - The text color for error state content
|
|
56
58
|
* @cssprop {String} --error-state-gap - The spacing between icon, text, and action elements
|
|
57
59
|
* @cssprop {String} --error-state-header-font-family - The font family for header text
|
|
58
60
|
* @cssprop {String} --error-state-header-font-letter-spacing - The letter spacing for header text
|
|
@@ -109,7 +111,7 @@ import { errorStateElementMemphisStyle } from './Themes/ErrorStateElement.Memphi
|
|
|
109
111
|
*
|
|
110
112
|
* @public
|
|
111
113
|
*/
|
|
112
|
-
let ErrorStateElement = class ErrorStateElement extends Themeable(StateBaseElement) {
|
|
114
|
+
let ErrorStateElement = class ErrorStateElement extends Themeable(Slottable(StateBaseElement)) {
|
|
113
115
|
// #region Fields
|
|
114
116
|
_icon;
|
|
115
117
|
_header;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorStateElement.js","sourceRoot":"","sources":["../../../../../src/Controls/Components/States/Error/ErrorStateElement.ts"],"names":[],"mappings":"AAAA,kBAAkB;;;;;;;;;;AAElB,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAC;AACnE,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAC;AACnE,OAAO,EAAE,QAAQ,EAAE,MAAM,uCAAuC,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAExE,OAAO,EAAE,kCAAkC,EAAE,MAAM,yCAAyC,CAAC;AAC7F,OAAO,EAAE,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAC3E,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AAEnF,aAAa;AAEb
|
|
1
|
+
{"version":3,"file":"ErrorStateElement.js","sourceRoot":"","sources":["../../../../../src/Controls/Components/States/Error/ErrorStateElement.ts"],"names":[],"mappings":"AAAA,kBAAkB;;;;;;;;;;AAElB,OAAO,EAAc,SAAS,EAAE,MAAM,8BAA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src/Controls/Components/States/Error/ErrorStateElementTemplate.ts"],"names":[],"mappings":"AAEA,OAAO,EAAQ,KAAK,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAMjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAI7D;;;;GAIG;AACH,wBAAgB,yBAAyB,CAAC,CAAC,SAAS,iBAAiB,EAAE,CAAC,EAAE,CAAC,GAAG,cAAc,
|
|
1
|
+
{"version":3,"file":"ErrorStateElementTemplate.d.ts","sourceRoot":"","sources":["../../../../../src/Controls/Components/States/Error/ErrorStateElementTemplate.ts"],"names":[],"mappings":"AAEA,OAAO,EAAQ,KAAK,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAMjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAI7D;;;;GAIG;AACH,wBAAgB,yBAAyB,CAAC,CAAC,SAAS,iBAAiB,EAAE,CAAC,EAAE,CAAC,GAAG,cAAc,CAyC3F"}
|
|
@@ -18,22 +18,26 @@ export function errorStateElementTemplate(e) {
|
|
|
18
18
|
.data="${e.icon.trim().length > 0 ? e.icon : Icons.errorCircle}"
|
|
19
19
|
.variant="${Variant.Danger}"></mosaik-icon>
|
|
20
20
|
<div part="root">
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
21
|
+
<slot name="header">
|
|
22
|
+
${when(e.header.trim(), () => html `
|
|
23
|
+
<mosaik-text part="header"
|
|
24
|
+
.readonly="${true}"
|
|
25
|
+
.wrap="${true}"
|
|
26
|
+
.alignment="${TextAlignment.Center}"
|
|
27
|
+
.text="${e.header}"
|
|
28
|
+
.formatter="${e.formatter}"></mosaik-text>
|
|
29
|
+
`)}
|
|
30
|
+
</slot>
|
|
31
|
+
<slot name="content">
|
|
32
|
+
${when(e.content.trim(), () => html `
|
|
33
|
+
<mosaik-text part="content"
|
|
34
|
+
.readonly="${true}"
|
|
35
|
+
.wrap="${true}"
|
|
36
|
+
.alignment="${TextAlignment.Center}"
|
|
37
|
+
.text="${e.content}"
|
|
38
|
+
.formatter="${e.formatter}"></mosaik-text>
|
|
39
|
+
`)}
|
|
40
|
+
</slot>
|
|
37
41
|
${when(e.code, () => html `
|
|
38
42
|
<mosaik-text part="code"
|
|
39
43
|
.readonly="${true}"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorStateElementTemplate.js","sourceRoot":"","sources":["../../../../../src/Controls/Components/States/Error/ErrorStateElementTemplate.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAElB,OAAO,EAAE,IAAI,EAAuB,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,KAAK,EAAE,MAAM,6BAA6B,CAAC;AACpD,OAAO,EAAE,IAAI,EAAE,MAAM,gCAAgC,CAAC;AACtD,OAAO,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAC;AAGjD,aAAa;AAEb;;;;GAIG;AACH,MAAM,UAAU,yBAAyB,CAA8B,CAAI;IACvE,OAAO,IAAI,CAAA;;8BAEe,IAAI,CAAC,KAAK;8BACV,CAAC,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW;iCAClD,OAAO,CAAC,MAAM
|
|
1
|
+
{"version":3,"file":"ErrorStateElementTemplate.js","sourceRoot":"","sources":["../../../../../src/Controls/Components/States/Error/ErrorStateElementTemplate.ts"],"names":[],"mappings":"AAAA,kBAAkB;AAElB,OAAO,EAAE,IAAI,EAA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N,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorStateElement.Cosmopolitan.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/States/Error/Themes/ErrorStateElement.Cosmopolitan.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,kCAAkC,IAAI,SAAS,
|
|
1
|
+
{"version":3,"file":"ErrorStateElement.Cosmopolitan.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/States/Error/Themes/ErrorStateElement.Cosmopolitan.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,kCAAkC,IAAI,SAAS,CAsI9D"}
|
|
@@ -88,7 +88,7 @@ export function errorStateElementCosmopolitanStyle() {
|
|
|
88
88
|
overflow: hidden;
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
-
:host [
|
|
91
|
+
:host slot[name="header"] {
|
|
92
92
|
font-family: var(--error-state-header-font-family);
|
|
93
93
|
font-size: var(--error-state-header-font-size);
|
|
94
94
|
line-height: var(--error-state-header-font-line-height);
|
|
@@ -99,7 +99,17 @@ export function errorStateElementCosmopolitanStyle() {
|
|
|
99
99
|
text-transform: var(--error-state-header-font-text-transform);
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
:host [
|
|
102
|
+
:host slot[name="header"] mosaik-text {
|
|
103
|
+
font-family: inherit;
|
|
104
|
+
font-size: inherit;
|
|
105
|
+
line-height: inherit;
|
|
106
|
+
font-weight: inherit;
|
|
107
|
+
letter-spacing: inherit;
|
|
108
|
+
text-decoration: inherit;
|
|
109
|
+
text-transform: inherit;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
:host slot[name="content"] {
|
|
103
113
|
font-family: var(--error-state-content-font-family);
|
|
104
114
|
font-size: var(--error-state-content-font-size);
|
|
105
115
|
line-height: var(--error-state-content-font-line-height);
|
|
@@ -110,6 +120,16 @@ export function errorStateElementCosmopolitanStyle() {
|
|
|
110
120
|
text-transform: var(--error-state-content-font-text-transform);
|
|
111
121
|
}
|
|
112
122
|
|
|
123
|
+
:host slot[name="content"] mosaik-text {
|
|
124
|
+
font-family: inherit;
|
|
125
|
+
font-size: inherit;
|
|
126
|
+
line-height: inherit;
|
|
127
|
+
font-weight: inherit;
|
|
128
|
+
letter-spacing: inherit;
|
|
129
|
+
text-decoration: inherit;
|
|
130
|
+
text-transform: inherit;
|
|
131
|
+
}
|
|
132
|
+
|
|
113
133
|
:host [part="root"] {
|
|
114
134
|
flex-direction: column;
|
|
115
135
|
align-items: center;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorStateElement.Cosmopolitan.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/States/Error/Themes/ErrorStateElement.Cosmopolitan.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mBAAmB;AACnB,yCAAyC;AACzC,qGAAqG;AACrG,oBAAoB;AACpB,iFAAiF;AAEjF,kBAAkB;AAElB,OAAO,EAAE,GAAG,EAAkB,MAAM,wBAAwB,CAAC;AAE7D,aAAa;AAEb;;GAEG;AACH,MAAM,UAAU,kCAAkC;IAC9C,OAAO,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"ErrorStateElement.Cosmopolitan.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/States/Error/Themes/ErrorStateElement.Cosmopolitan.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mBAAmB;AACnB,yCAAyC;AACzC,qGAAqG;AACrG,oBAAoB;AACpB,iFAAiF;AAEjF,kBAAkB;AAElB,OAAO,EAAE,GAAG,EAAkB,MAAM,wBAAwB,CAAC;AAE7D,aAAa;AAEb;;GAEG;AACH,MAAM,UAAU,kCAAkC;IAC9C,OAAO,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAoIT,CAAC;AACN,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorStateElement.Joy.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/States/Error/Themes/ErrorStateElement.Joy.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,yBAAyB,IAAI,SAAS,
|
|
1
|
+
{"version":3,"file":"ErrorStateElement.Joy.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/States/Error/Themes/ErrorStateElement.Joy.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,yBAAyB,IAAI,SAAS,CAyJrD"}
|
|
@@ -87,7 +87,7 @@ export function errorStateElementJoyStyle() {
|
|
|
87
87
|
overflow: hidden;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
:host [
|
|
90
|
+
:host slot[name="header"] {
|
|
91
91
|
font-family: var(--error-state-header-font-family);
|
|
92
92
|
font-size: var(--error-state-header-font-size);
|
|
93
93
|
line-height: var(--error-state-header-font-line-height);
|
|
@@ -98,7 +98,17 @@ export function errorStateElementJoyStyle() {
|
|
|
98
98
|
text-transform: var(--error-state-header-font-text-transform);
|
|
99
99
|
}
|
|
100
100
|
|
|
101
|
-
:host [
|
|
101
|
+
:host slot[name="header"] mosaik-text {
|
|
102
|
+
font-family: inherit;
|
|
103
|
+
font-size: inherit;
|
|
104
|
+
line-height: inherit;
|
|
105
|
+
font-weight: inherit;
|
|
106
|
+
letter-spacing: inherit;
|
|
107
|
+
text-decoration: inherit;
|
|
108
|
+
text-transform: inherit;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
:host slot[name="content"] {
|
|
102
112
|
font-family: var(--error-state-content-font-family);
|
|
103
113
|
font-size: var(--error-state-content-font-size);
|
|
104
114
|
line-height: var(--error-state-content-font-line-height);
|
|
@@ -109,6 +119,16 @@ export function errorStateElementJoyStyle() {
|
|
|
109
119
|
text-transform: var(--error-state-content-font-text-transform);
|
|
110
120
|
}
|
|
111
121
|
|
|
122
|
+
:host slot[name="content"] mosaik-text {
|
|
123
|
+
font-family: inherit;
|
|
124
|
+
font-size: inherit;
|
|
125
|
+
line-height: inherit;
|
|
126
|
+
font-weight: inherit;
|
|
127
|
+
letter-spacing: inherit;
|
|
128
|
+
text-decoration: inherit;
|
|
129
|
+
text-transform: inherit;
|
|
130
|
+
}
|
|
131
|
+
|
|
112
132
|
:host [part="root"] {
|
|
113
133
|
flex-direction: column;
|
|
114
134
|
align-items: center;
|
|
@@ -122,7 +142,7 @@ export function errorStateElementJoyStyle() {
|
|
|
122
142
|
display: flex;
|
|
123
143
|
}
|
|
124
144
|
|
|
125
|
-
:host [
|
|
145
|
+
:host slot[name="header"] {
|
|
126
146
|
--error-state-header-font-family: var(--joy-typography-body1-font-family);
|
|
127
147
|
--error-state-header-font-size: var(--joy-typography-body1-font-size);
|
|
128
148
|
--error-state-header-font-line-height: var(--joy-typography-body1-line-height);
|
|
@@ -132,7 +152,7 @@ export function errorStateElementJoyStyle() {
|
|
|
132
152
|
--error-state-header-font-text-transform: var(--joy-typography-body1-text-transform);
|
|
133
153
|
}
|
|
134
154
|
|
|
135
|
-
:host [
|
|
155
|
+
:host slot[name="content"] {
|
|
136
156
|
--error-state-content-font-family: var(--joy-typography-body2-font-family);
|
|
137
157
|
--error-state-content-font-size: var(--joy-typography-body2-font-size);
|
|
138
158
|
--error-state-content-font-line-height: var(--joy-typography-body2-line-height);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorStateElement.Joy.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/States/Error/Themes/ErrorStateElement.Joy.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mBAAmB;AACnB,yCAAyC;AACzC,qGAAqG;AACrG,oBAAoB;AACpB,iFAAiF;AAEjF,kBAAkB;AAElB,OAAO,EAAE,GAAG,EAAkB,MAAM,wBAAwB,CAAC;AAE7D,aAAa;AAEb;;GAEG;AACH,MAAM,UAAU,yBAAyB;IACrC,OAAO,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"ErrorStateElement.Joy.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/States/Error/Themes/ErrorStateElement.Joy.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mBAAmB;AACnB,yCAAyC;AACzC,qGAAqG;AACrG,oBAAoB;AACpB,iFAAiF;AAEjF,kBAAkB;AAElB,OAAO,EAAE,GAAG,EAAkB,MAAM,wBAAwB,CAAC;AAE7D,aAAa;AAEb;;GAEG;AACH,MAAM,UAAU,yBAAyB;IACrC,OAAO,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAuJT,CAAC;AACN,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorStateElement.Memphis.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/States/Error/Themes/ErrorStateElement.Memphis.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,6BAA6B,IAAI,SAAS,
|
|
1
|
+
{"version":3,"file":"ErrorStateElement.Memphis.d.ts","sourceRoot":"","sources":["../../../../../../src/Controls/Components/States/Error/Themes/ErrorStateElement.Memphis.ts"],"names":[],"mappings":"AASA,OAAO,EAAO,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAI7D;;GAEG;AACH,wBAAgB,6BAA6B,IAAI,SAAS,CA0JzD"}
|
|
@@ -88,7 +88,7 @@ export function errorStateElementMemphisStyle() {
|
|
|
88
88
|
overflow: hidden;
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
-
:host [
|
|
91
|
+
:host slot[name="header"] {
|
|
92
92
|
font-family: var(--error-state-header-font-family);
|
|
93
93
|
font-size: var(--error-state-header-font-size);
|
|
94
94
|
line-height: var(--error-state-header-font-line-height);
|
|
@@ -99,7 +99,17 @@ export function errorStateElementMemphisStyle() {
|
|
|
99
99
|
text-transform: var(--error-state-header-font-text-transform);
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
:host [
|
|
102
|
+
:host slot[name="header"] mosaik-text {
|
|
103
|
+
font-family: inherit;
|
|
104
|
+
font-size: inherit;
|
|
105
|
+
line-height: inherit;
|
|
106
|
+
font-weight: inherit;
|
|
107
|
+
letter-spacing: inherit;
|
|
108
|
+
text-decoration: inherit;
|
|
109
|
+
text-transform: inherit;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
:host slot[name="content"] {
|
|
103
113
|
font-family: var(--error-state-content-font-family);
|
|
104
114
|
font-size: var(--error-state-content-font-size);
|
|
105
115
|
line-height: var(--error-state-content-font-line-height);
|
|
@@ -110,6 +120,16 @@ export function errorStateElementMemphisStyle() {
|
|
|
110
120
|
text-transform: var(--error-state-content-font-text-transform);
|
|
111
121
|
}
|
|
112
122
|
|
|
123
|
+
:host slot[name="content"] mosaik-text {
|
|
124
|
+
font-family: inherit;
|
|
125
|
+
font-size: inherit;
|
|
126
|
+
line-height: inherit;
|
|
127
|
+
font-weight: inherit;
|
|
128
|
+
letter-spacing: inherit;
|
|
129
|
+
text-decoration: inherit;
|
|
130
|
+
text-transform: inherit;
|
|
131
|
+
}
|
|
132
|
+
|
|
113
133
|
:host [part="root"] {
|
|
114
134
|
flex-direction: column;
|
|
115
135
|
align-items: center;
|
|
@@ -123,7 +143,7 @@ export function errorStateElementMemphisStyle() {
|
|
|
123
143
|
display: flex;
|
|
124
144
|
}
|
|
125
145
|
|
|
126
|
-
:host [
|
|
146
|
+
:host slot[name="header"] {
|
|
127
147
|
--error-state-header-font-family: var(--memphis-typography-body1-font-family);
|
|
128
148
|
--error-state-header-font-size: var(--memphis-typography-body1-font-size);
|
|
129
149
|
--error-state-header-font-line-height: var(--memphis-typography-body1-line-height);
|
|
@@ -133,7 +153,7 @@ export function errorStateElementMemphisStyle() {
|
|
|
133
153
|
--error-state-header-font-text-transform: var(--memphis-typography-body1-text-transform);
|
|
134
154
|
}
|
|
135
155
|
|
|
136
|
-
:host [
|
|
156
|
+
:host slot[name="content"] {
|
|
137
157
|
--error-state-content-font-family: var(--memphis-typography-body2-font-family);
|
|
138
158
|
--error-state-content-font-size: var(--memphis-typography-body2-font-size);
|
|
139
159
|
--error-state-content-font-line-height: var(--memphis-typography-body2-line-height);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorStateElement.Memphis.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/States/Error/Themes/ErrorStateElement.Memphis.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mBAAmB;AACnB,yCAAyC;AACzC,qGAAqG;AACrG,oBAAoB;AACpB,iFAAiF;AAEjF,kBAAkB;AAElB,OAAO,EAAE,GAAG,EAAkB,MAAM,wBAAwB,CAAC;AAE7D,aAAa;AAEb;;GAEG;AACH,MAAM,UAAU,6BAA6B;IACzC,OAAO,GAAG,CAAA
|
|
1
|
+
{"version":3,"file":"ErrorStateElement.Memphis.js","sourceRoot":"","sources":["../../../../../../src/Controls/Components/States/Error/Themes/ErrorStateElement.Memphis.ts"],"names":[],"mappings":"AAAA,iFAAiF;AACjF,mBAAmB;AACnB,yCAAyC;AACzC,qGAAqG;AACrG,oBAAoB;AACpB,iFAAiF;AAEjF,kBAAkB;AAElB,OAAO,EAAE,GAAG,EAAkB,MAAM,wBAAwB,CAAC;AAE7D,aAAa;AAEb;;GAEG;AACH,MAAM,UAAU,6BAA6B;IACzC,OAAO,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAwJT,CAAC;AACN,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { ISlottable } from '../../../Behaviors/Slottable';
|
|
1
2
|
import { StateBaseElement } from '../Abstracts/StateBaseElement';
|
|
2
3
|
import { ISuccessStateElementProps } from './ISuccessStateElementProps';
|
|
3
|
-
declare const SuccessStateElement_base: (abstract new (...args: Array<any>) => import("../../../Behaviors/Themeable").IThemeableProps) & typeof StateBaseElement & import("../../../Behaviors/Themeable").IThemeableCtor;
|
|
4
|
+
declare const SuccessStateElement_base: (abstract new (...args: Array<any>) => import("../../../Behaviors/Themeable").IThemeableProps) & (abstract new (...args: Array<any>) => import("../../../Behaviors/Slottable").ISlottableProps & ISlottable) & typeof StateBaseElement & import("../../../Behaviors/Themeable").IThemeableCtor;
|
|
4
5
|
/**
|
|
5
6
|
* SuccessState - A celebration component that displays successful operations and positive outcomes to users.
|
|
6
7
|
*
|
|
@@ -16,8 +17,10 @@ declare const SuccessStateElement_base: (abstract new (...args: Array<any>) => i
|
|
|
16
17
|
* @element mosaik-success-state
|
|
17
18
|
* @category States
|
|
18
19
|
*
|
|
19
|
-
* @slot
|
|
20
|
+
* @slot - The default slot.
|
|
20
21
|
* @slot actions - Action buttons for next steps or related operations after success
|
|
22
|
+
* @slot - Default content area for additional success information or custom content
|
|
23
|
+
* @slot header - The header slot.
|
|
21
24
|
*
|
|
22
25
|
* @csspart actions - The container for action slot elements
|
|
23
26
|
* @csspart content - The content text container for detailed success information
|
|
@@ -32,7 +35,6 @@ declare const SuccessStateElement_base: (abstract new (...args: Array<any>) => i
|
|
|
32
35
|
* @cssprop {String} --success-state-font-text-decoration - The state font text decoration CSS custom property.
|
|
33
36
|
* @cssprop {String} --success-state-font-text-transform - The state font text transform CSS custom property.
|
|
34
37
|
* @cssprop {String} --success-state-font-weight - The state font weight CSS custom property.
|
|
35
|
-
* @cssprop {String} --success-state-foreground-color - The text color for success state content
|
|
36
38
|
* @cssprop {String} --success-state-gap - The spacing between icon, text, and action elements
|
|
37
39
|
* @cssprop {String} --success-state-header-font-family - The font family for header text
|
|
38
40
|
* @cssprop {String} --success-state-header-font-letter-spacing - The letter spacing for header text
|
|
@@ -84,7 +86,7 @@ declare const SuccessStateElement_base: (abstract new (...args: Array<any>) => i
|
|
|
84
86
|
*
|
|
85
87
|
* @public
|
|
86
88
|
*/
|
|
87
|
-
export declare class SuccessStateElement extends SuccessStateElement_base implements ISuccessStateElementProps {
|
|
89
|
+
export declare class SuccessStateElement extends SuccessStateElement_base implements ISuccessStateElementProps, ISlottable {
|
|
88
90
|
private _icon;
|
|
89
91
|
private _header;
|
|
90
92
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SuccessStateElement.d.ts","sourceRoot":"","sources":["../../../../../src/Controls/Components/States/Success/SuccessStateElement.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SuccessStateElement.d.ts","sourceRoot":"","sources":["../../../../../src/Controls/Components/States/Success/SuccessStateElement.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAa,MAAM,8BAA8B,CAAC;AAMrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;;AAQxE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmFG;AACH,qBAaa,mBACT,SAAQ,wBACR,YAAW,yBAAyB,EAAE,UAAU;IAIhD,OAAO,CAAC,KAAK,CAAS;IACtB,OAAO,CAAC,OAAO,CAAS;IAMxB;;;;OAIG;;IAYH;;;;;;MAME;IACF,WAAkB,EAAE,IAAI,MAAM,CAE7B;IAED;;;;;;OAMG;IACH,IACW,IAAI,IAAI,MAAM,CAExB;IAED,IAAW,IAAI,CAAC,KAAK,EAAE,MAAM,EAI5B;IAED;;;;;;OAMG;IACH,IACW,MAAM,IAAI,MAAM,CAE1B;IAED,IAAW,MAAM,CAAC,KAAK,EAAE,MAAM,EAI9B;CAIJ;AAED;;GAEG;AACH,yBAAiB,mBAAmB,CAAC;IACjC,KAAY,KAAK,GAAG,yBAAyB,CAAC;CACjD;AAED;;GAEG;AACH,OAAO,CAAC,MAAM,CAAC;IACX,UAAU,qBAAqB;QAC3B,sBAAsB,EAAE,mBAAmB,CAAC;KAC/C;CACJ"}
|