@telia/teddy 0.7.58 → 0.7.59
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.
|
@@ -24,21 +24,21 @@ function _interopNamespaceDefault(e) {
|
|
|
24
24
|
}
|
|
25
25
|
const CollapsiblePrimitive__namespace = /* @__PURE__ */ _interopNamespaceDefault(CollapsiblePrimitive);
|
|
26
26
|
const styles = {
|
|
27
|
-
"teddy-notification": "_teddy-
|
|
28
|
-
"teddy-notification--success": "_teddy-notification--
|
|
29
|
-
"teddy-notification--warning": "_teddy-notification--
|
|
30
|
-
"teddy-notification--error": "_teddy-notification--
|
|
31
|
-
"teddy-notification--information": "_teddy-notification--
|
|
32
|
-
"teddy-notification--beige": "_teddy-notification--
|
|
33
|
-
"teddy-notification--teal": "_teddy-notification--
|
|
34
|
-
"teddy-notification--gray": "_teddy-notification--
|
|
35
|
-
"teddy-notification--light-purple": "_teddy-notification--light-
|
|
36
|
-
"teddy-notification--tile": "_teddy-notification--
|
|
37
|
-
"teddy-notification__text": "_teddy-
|
|
38
|
-
"teddy-
|
|
39
|
-
"teddy-
|
|
40
|
-
"teddy-
|
|
41
|
-
"teddy-
|
|
27
|
+
"teddy-notification": "_teddy-notification_1x0q6_3",
|
|
28
|
+
"teddy-notification--success": "_teddy-notification--success_1x0q6_11",
|
|
29
|
+
"teddy-notification--warning": "_teddy-notification--warning_1x0q6_16",
|
|
30
|
+
"teddy-notification--error": "_teddy-notification--error_1x0q6_21",
|
|
31
|
+
"teddy-notification--information": "_teddy-notification--information_1x0q6_26",
|
|
32
|
+
"teddy-notification--beige": "_teddy-notification--beige_1x0q6_31",
|
|
33
|
+
"teddy-notification--teal": "_teddy-notification--teal_1x0q6_36",
|
|
34
|
+
"teddy-notification--gray": "_teddy-notification--gray_1x0q6_41",
|
|
35
|
+
"teddy-notification--light-purple": "_teddy-notification--light-purple_1x0q6_46",
|
|
36
|
+
"teddy-notification--tile": "_teddy-notification--tile_1x0q6_51",
|
|
37
|
+
"teddy-notification__text": "_teddy-notification__text_1x0q6_54",
|
|
38
|
+
"teddy-notification__icon": "_teddy-notification__icon_1x0q6_57",
|
|
39
|
+
"teddy-notification__footer": "_teddy-notification__footer_1x0q6_72",
|
|
40
|
+
"teddy-notification__dismiss": "_teddy-notification__dismiss_1x0q6_76",
|
|
41
|
+
"teddy-notification__heading": "_teddy-notification__heading_1x0q6_80"
|
|
42
42
|
};
|
|
43
43
|
const rootClassName = "teddy-notification";
|
|
44
44
|
const NotificationContext = React.createContext(void 0);
|
|
@@ -5,21 +5,21 @@ import * as CollapsiblePrimitive from "@radix-ui/react-collapsible";
|
|
|
5
5
|
import { useControllableState } from "@radix-ui/react-use-controllable-state";
|
|
6
6
|
import { Card } from "../card/index.js";
|
|
7
7
|
const styles = {
|
|
8
|
-
"teddy-notification": "_teddy-
|
|
9
|
-
"teddy-notification--success": "_teddy-notification--
|
|
10
|
-
"teddy-notification--warning": "_teddy-notification--
|
|
11
|
-
"teddy-notification--error": "_teddy-notification--
|
|
12
|
-
"teddy-notification--information": "_teddy-notification--
|
|
13
|
-
"teddy-notification--beige": "_teddy-notification--
|
|
14
|
-
"teddy-notification--teal": "_teddy-notification--
|
|
15
|
-
"teddy-notification--gray": "_teddy-notification--
|
|
16
|
-
"teddy-notification--light-purple": "_teddy-notification--light-
|
|
17
|
-
"teddy-notification--tile": "_teddy-notification--
|
|
18
|
-
"teddy-notification__text": "_teddy-
|
|
19
|
-
"teddy-
|
|
20
|
-
"teddy-
|
|
21
|
-
"teddy-
|
|
22
|
-
"teddy-
|
|
8
|
+
"teddy-notification": "_teddy-notification_1x0q6_3",
|
|
9
|
+
"teddy-notification--success": "_teddy-notification--success_1x0q6_11",
|
|
10
|
+
"teddy-notification--warning": "_teddy-notification--warning_1x0q6_16",
|
|
11
|
+
"teddy-notification--error": "_teddy-notification--error_1x0q6_21",
|
|
12
|
+
"teddy-notification--information": "_teddy-notification--information_1x0q6_26",
|
|
13
|
+
"teddy-notification--beige": "_teddy-notification--beige_1x0q6_31",
|
|
14
|
+
"teddy-notification--teal": "_teddy-notification--teal_1x0q6_36",
|
|
15
|
+
"teddy-notification--gray": "_teddy-notification--gray_1x0q6_41",
|
|
16
|
+
"teddy-notification--light-purple": "_teddy-notification--light-purple_1x0q6_46",
|
|
17
|
+
"teddy-notification--tile": "_teddy-notification--tile_1x0q6_51",
|
|
18
|
+
"teddy-notification__text": "_teddy-notification__text_1x0q6_54",
|
|
19
|
+
"teddy-notification__icon": "_teddy-notification__icon_1x0q6_57",
|
|
20
|
+
"teddy-notification__footer": "_teddy-notification__footer_1x0q6_72",
|
|
21
|
+
"teddy-notification__dismiss": "_teddy-notification__dismiss_1x0q6_76",
|
|
22
|
+
"teddy-notification__heading": "_teddy-notification__heading_1x0q6_80"
|
|
23
23
|
};
|
|
24
24
|
const rootClassName = "teddy-notification";
|
|
25
25
|
const NotificationContext = React__default.createContext(void 0);
|
package/dist/style.css
CHANGED
|
@@ -6248,7 +6248,7 @@
|
|
|
6248
6248
|
}
|
|
6249
6249
|
}@layer heading, button, card, notification;
|
|
6250
6250
|
@layer notification {
|
|
6251
|
-
._teddy-
|
|
6251
|
+
._teddy-notification_1x0q6_3 {
|
|
6252
6252
|
--status-background: var(--teddy-color-background-status-success);
|
|
6253
6253
|
--status-color: var(--teddy-color-text-status-success-strong);
|
|
6254
6254
|
--status-icon-color: var(--teddy-color-text-status-success-strong);
|
|
@@ -6256,69 +6256,88 @@
|
|
|
6256
6256
|
background-color: var(--status-background);
|
|
6257
6257
|
gap: var(--teddy-spacing-50);
|
|
6258
6258
|
}
|
|
6259
|
-
._teddy-notification--
|
|
6259
|
+
._teddy-notification--success_1x0q6_11 {
|
|
6260
6260
|
--status-background: var(--teddy-color-background-status-success);
|
|
6261
6261
|
--status-color: var(--teddy-color-text-status-success-strong);
|
|
6262
6262
|
--status-icon-color: var(--teddy-color-text-status-success-strong);
|
|
6263
6263
|
}
|
|
6264
|
-
._teddy-notification--
|
|
6264
|
+
._teddy-notification--warning_1x0q6_16 {
|
|
6265
6265
|
--status-background: var(--teddy-color-background-status-warning);
|
|
6266
6266
|
--status-color: var(--teddy-color-text-status-warning-strong);
|
|
6267
6267
|
--status-icon-color: var(--teddy-color-text-status-warning-strong);
|
|
6268
6268
|
}
|
|
6269
|
-
._teddy-notification--
|
|
6269
|
+
._teddy-notification--error_1x0q6_21 {
|
|
6270
6270
|
--status-background: var(--teddy-color-background-status-error);
|
|
6271
6271
|
--status-color: var(--teddy-color-text-status-error-strong);
|
|
6272
6272
|
--status-icon-color: var(--teddy-color-text-status-error-strong);
|
|
6273
6273
|
}
|
|
6274
|
-
._teddy-notification--
|
|
6274
|
+
._teddy-notification--information_1x0q6_26 {
|
|
6275
6275
|
--status-background: var(--teddy-color-background-status-info);
|
|
6276
6276
|
--status-color: var(--teddy-color-text-status-info-strong);
|
|
6277
6277
|
--status-icon-color: var(--teddy-color-text-status-info-strong);
|
|
6278
6278
|
}
|
|
6279
|
-
._teddy-notification--
|
|
6279
|
+
._teddy-notification--beige_1x0q6_31 {
|
|
6280
6280
|
--status-background: var(--teddy-color-beige-50);
|
|
6281
6281
|
--status-color: var(--teddy-color-beige-700);
|
|
6282
6282
|
--status-icon-color: var(--teddy-color-beige-700e);
|
|
6283
6283
|
}
|
|
6284
|
-
._teddy-notification--
|
|
6284
|
+
._teddy-notification--teal_1x0q6_36 {
|
|
6285
6285
|
--status-background: var(--teddy-color-teal-50);
|
|
6286
6286
|
--status-color: var(--teddy-color-teal-700);
|
|
6287
6287
|
--status-icon-color: var(--teddy-color-teal-700);
|
|
6288
6288
|
}
|
|
6289
|
-
._teddy-notification--
|
|
6289
|
+
._teddy-notification--gray_1x0q6_41 {
|
|
6290
6290
|
--status-background: var(--teddy-color-gray-50);
|
|
6291
6291
|
--status-color: var(--teddy-color-gray-700);
|
|
6292
6292
|
--status-icon-color: var(--teddy-color-gray-700);
|
|
6293
6293
|
}
|
|
6294
|
-
._teddy-notification--light-
|
|
6294
|
+
._teddy-notification--light-purple_1x0q6_46 {
|
|
6295
6295
|
--status-background: var(--teddy-color-purple-50);
|
|
6296
6296
|
--status-color: var(--teddy-color-purple-800);
|
|
6297
6297
|
--status-icon-color: var(--teddy-color-purple-800);
|
|
6298
6298
|
}
|
|
6299
|
-
._teddy-notification--
|
|
6299
|
+
._teddy-notification--tile_1x0q6_51 {
|
|
6300
6300
|
display: flex !important;
|
|
6301
6301
|
}
|
|
6302
|
-
._teddy-notification--
|
|
6302
|
+
._teddy-notification--tile_1x0q6_51 ._teddy-notification__text_1x0q6_54 {
|
|
6303
6303
|
margin: 0 var(--teddy-spacing-400) 0 var(--teddy-spacing-100) !important;
|
|
6304
6304
|
}
|
|
6305
|
-
._teddy-
|
|
6305
|
+
._teddy-notification_1x0q6_3:not(._teddy-notification--tile_1x0q6_51):has(> ._teddy-notification__icon_1x0q6_57) {
|
|
6306
|
+
display: grid !important;
|
|
6307
|
+
grid-template-columns: auto 1fr;
|
|
6308
|
+
column-gap: var(--teddy-spacing-100);
|
|
6309
|
+
align-items: start;
|
|
6310
|
+
}
|
|
6311
|
+
._teddy-notification_1x0q6_3:not(._teddy-notification--tile_1x0q6_51):has(> ._teddy-notification__icon_1x0q6_57) ._teddy-notification__icon_1x0q6_57 {
|
|
6312
|
+
margin-right: 0;
|
|
6313
|
+
align-self: start;
|
|
6314
|
+
}
|
|
6315
|
+
._teddy-notification_1x0q6_3:not(._teddy-notification--tile_1x0q6_51):has(> ._teddy-notification__icon_1x0q6_57) ._teddy-notification__text_1x0q6_54 {
|
|
6316
|
+
margin-left: 0 !important;
|
|
6317
|
+
margin-right: var(--teddy-spacing-400) !important;
|
|
6318
|
+
align-self: start;
|
|
6319
|
+
}
|
|
6320
|
+
._teddy-notification_1x0q6_3:not(._teddy-notification--tile_1x0q6_51):has(> ._teddy-notification__icon_1x0q6_57) ._teddy-notification__footer_1x0q6_72 {
|
|
6321
|
+
grid-column: 2;
|
|
6322
|
+
margin-left: 0;
|
|
6323
|
+
}
|
|
6324
|
+
._teddy-notification__dismiss_1x0q6_76 {
|
|
6306
6325
|
position: absolute;
|
|
6307
6326
|
inset: var(--teddy-spacing-50) var(--teddy-spacing-50) auto auto;
|
|
6308
6327
|
}
|
|
6309
|
-
._teddy-
|
|
6328
|
+
._teddy-notification__heading_1x0q6_80 {
|
|
6310
6329
|
color: var(--status-color);
|
|
6311
6330
|
display: flex;
|
|
6312
6331
|
align-items: center;
|
|
6313
6332
|
}
|
|
6314
|
-
._teddy-
|
|
6333
|
+
._teddy-notification__text_1x0q6_54 {
|
|
6315
6334
|
color: var(--status-color) !important;
|
|
6316
6335
|
margin: 0 var(--teddy-spacing-400) 0 calc(var(--teddy-spacing-400) + var(--teddy-spacing-100)) !important;
|
|
6317
6336
|
}
|
|
6318
|
-
._teddy-
|
|
6337
|
+
._teddy-notification__footer_1x0q6_72 {
|
|
6319
6338
|
margin-left: calc(var(--teddy-spacing-400) + var(--teddy-spacing-100));
|
|
6320
6339
|
}
|
|
6321
|
-
._teddy-
|
|
6340
|
+
._teddy-notification__icon_1x0q6_57 {
|
|
6322
6341
|
color: var(--status-icon-color);
|
|
6323
6342
|
margin-right: var(--teddy-spacing-100);
|
|
6324
6343
|
}
|