@telia/teddy 0.2.17 → 0.3.1

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.
Files changed (51) hide show
  1. package/dist/components/index.cjs +2 -2
  2. package/dist/components/index.js +1 -1
  3. package/dist/components/modal/modal.cjs +1 -1
  4. package/dist/components/modal/modal.js +1 -1
  5. package/dist/components/navigation-menu/global-navigation/utils.cjs +11 -11
  6. package/dist/components/navigation-menu/global-navigation/utils.d.ts +22 -22
  7. package/dist/components/navigation-menu/global-navigation/utils.js +11 -11
  8. package/dist/components/navigation-menu/navigation-menu.cjs +1 -1
  9. package/dist/components/navigation-menu/navigation-menu.js +1 -1
  10. package/dist/components/notabene/index.cjs +5 -10
  11. package/dist/components/notabene/index.d.ts +52 -9
  12. package/dist/components/notabene/index.js +5 -10
  13. package/dist/components/notabene/notabene-icon.cjs +1 -1
  14. package/dist/components/notabene/notabene-icon.js +1 -1
  15. package/dist/components/notification/index.cjs +13 -2
  16. package/dist/components/notification/index.d.ts +132 -2
  17. package/dist/components/notification/index.js +12 -1
  18. package/dist/components/notification/notification-dismiss.cjs +46 -0
  19. package/dist/components/notification/notification-dismiss.d.ts +5 -0
  20. package/dist/components/notification/notification-dismiss.js +29 -0
  21. package/dist/components/notification/notification-footer.cjs +18 -0
  22. package/dist/components/notification/notification-footer.d.ts +5 -0
  23. package/dist/components/notification/notification-footer.js +18 -0
  24. package/dist/components/notification/notification-heading.cjs +18 -0
  25. package/dist/components/notification/notification-heading.d.ts +5 -0
  26. package/dist/components/notification/notification-heading.js +18 -0
  27. package/dist/components/notification/notification-icon.cjs +32 -0
  28. package/dist/components/notification/notification-icon.d.ts +9 -0
  29. package/dist/components/notification/notification-icon.js +32 -0
  30. package/dist/components/notification/notification-root.cjs +59 -0
  31. package/dist/components/notification/notification-root.d.ts +86 -0
  32. package/dist/components/notification/notification-root.js +42 -0
  33. package/dist/components/notification/notification-text.cjs +15 -0
  34. package/dist/components/notification/notification-text.d.ts +5 -0
  35. package/dist/components/notification/notification-text.js +15 -0
  36. package/dist/components/radio-card-group/radio-card-group-content.cjs +1 -1
  37. package/dist/components/radio-card-group/radio-card-group-content.js +1 -1
  38. package/dist/components/radio-card-group/radio-card-group-item-title.cjs +1 -1
  39. package/dist/components/radio-card-group/radio-card-group-item-title.js +1 -1
  40. package/dist/components/radio-card-group/radio-card-group-item.cjs +1 -1
  41. package/dist/components/radio-card-group/radio-card-group-item.js +1 -1
  42. package/dist/main.cjs +2 -2
  43. package/dist/main.js +1 -1
  44. package/dist/style.css +52 -24
  45. package/package.json +16 -16
  46. package/dist/components/notification/notification.cjs +0 -116
  47. package/dist/components/notification/notification.d.ts +0 -106
  48. package/dist/components/notification/notification.js +0 -99
  49. /package/dist/components/notabene/{notabene.content.cjs → notabene-content.cjs} +0 -0
  50. /package/dist/components/notabene/{notabene.content.d.ts → notabene-content.d.ts} +0 -0
  51. /package/dist/components/notabene/{notabene.content.js → notabene-content.js} +0 -0
@@ -22,7 +22,7 @@ const components_image_image = require("./image/image.cjs");
22
22
  const components_chip_index = require("./chip/index.cjs");
23
23
  const components_datePicker_datePicker = require("./date-picker/date-picker.cjs");
24
24
  const components_metricmeter_metricmeter = require("./metricmeter/metricmeter.cjs");
25
- const components_notification_notification = require("./notification/notification.cjs");
25
+ const components_notification_index = require("./notification/index.cjs");
26
26
  const components_radioGroup_index = require("./radio-group/index.cjs");
27
27
  const components_box_box = require("./box/box.cjs");
28
28
  const components_flex_flex = require("./flex/flex.cjs");
@@ -80,7 +80,7 @@ exports.Image = components_image_image.Image;
80
80
  exports.Chip = components_chip_index.Chip;
81
81
  exports.DatePicker = components_datePicker_datePicker.DatePicker;
82
82
  exports.MetricMeter = components_metricmeter_metricmeter.MetricMeter;
83
- exports.Notification = components_notification_notification.Notification;
83
+ exports.Notification = components_notification_index.Notification;
84
84
  exports.RadioGroup = components_radioGroup_index.RadioGroup;
85
85
  exports.Box = components_box_box.Box;
86
86
  exports.Flex = components_flex_flex.Flex;
@@ -20,7 +20,7 @@ import { Image } from "./image/image.js";
20
20
  import { Chip } from "./chip/index.js";
21
21
  import { DatePicker } from "./date-picker/date-picker.js";
22
22
  import { MetricMeter } from "./metricmeter/metricmeter.js";
23
- import { Notification } from "./notification/notification.js";
23
+ import { Notification } from "./notification/index.js";
24
24
  import { RadioGroup } from "./radio-group/index.js";
25
25
  import { Box } from "./box/box.js";
26
26
  import { Flex } from "./flex/flex.js";
@@ -27,7 +27,7 @@ require("../chip/index.cjs");
27
27
  require("../../assets/sprite.1321fab0-teddy.svg");
28
28
  require("../icon/icon.cjs");
29
29
  require("clsx");
30
- require("../notification/notification.cjs");
30
+ require("../notification/index.cjs");
31
31
  require("../radio-group/index.cjs");
32
32
  require("../box/box.cjs");
33
33
  require("../flex/flex.cjs");
@@ -25,7 +25,7 @@ import "../chip/index.js";
25
25
  import "../../assets/sprite.1321fab0-teddy.svg";
26
26
  import "../icon/icon.js";
27
27
  import "clsx";
28
- import "../notification/notification.js";
28
+ import "../notification/index.js";
29
29
  import "../radio-group/index.js";
30
30
  import "../box/box.js";
31
31
  import "../flex/flex.js";
@@ -203,19 +203,19 @@ const PRIVATE_LINKS = {
203
203
  },
204
204
  {
205
205
  name: "Hjelp mobil",
206
- link: "/mobil/hjelp/",
206
+ link: "/mobilabonnement/hjelp/",
207
207
  appKey: APP_KEYS["open-pages"]
208
208
  }
209
209
  ]
210
210
  },
211
211
  {
212
212
  name: "Mobilabonnement",
213
- link: "/mobil/mobilabonnement/",
213
+ link: "/mobilabonnement/",
214
214
  appKey: APP_KEYS["open-pages"],
215
215
  highlightedLinks: [
216
216
  {
217
217
  name: "Fyll på kontantkort",
218
- link: "/mobil/mobilabonnement/kontantkort/lade/",
218
+ link: "/mobilabonnement/kontantkort/lade/",
219
219
  appKey: APP_KEYS["web-shop"]
220
220
  },
221
221
  {
@@ -225,7 +225,7 @@ const PRIVATE_LINKS = {
225
225
  },
226
226
  {
227
227
  name: "SIM, PIN og PUK",
228
- link: "/mobil/mobilabonnement/sim-kort/",
228
+ link: "/mobilabonnement/sim-kort/",
229
229
  appKey: APP_KEYS["open-pages"]
230
230
  },
231
231
  {
@@ -235,12 +235,12 @@ const PRIVATE_LINKS = {
235
235
  },
236
236
  {
237
237
  name: "Alt om utland",
238
- link: "/mobil/mobilabonnement/utland/",
238
+ link: "/mobilabonnement/utland/",
239
239
  appKey: APP_KEYS["open-pages"]
240
240
  },
241
241
  {
242
242
  name: "Data og datapakker",
243
- link: "/mobil/mobilabonnement/data-og-datapakker/",
243
+ link: "/mobilabonnement/data-og-datapakker/",
244
244
  appKey: APP_KEYS["web-shop"]
245
245
  },
246
246
  {
@@ -250,7 +250,7 @@ const PRIVATE_LINKS = {
250
250
  },
251
251
  {
252
252
  name: "Bytte eier",
253
- link: "/mobil/hjelp/bytte-eier/",
253
+ link: "/mobilabonnement/hjelp/bytte-eier/",
254
254
  appKey: APP_KEYS["open-pages"]
255
255
  }
256
256
  ],
@@ -287,12 +287,12 @@ const PRIVATE_LINKS = {
287
287
  },
288
288
  {
289
289
  name: "Hjelp mobil",
290
- link: "/mobil/hjelp/",
290
+ link: "/mobilabonnement/hjelp/",
291
291
  appKey: APP_KEYS["open-pages"]
292
292
  },
293
293
  {
294
294
  name: "Alt om mobilabonnement",
295
- link: "/mobil/mobilabonnement/",
295
+ link: "/mobilabonnement/",
296
296
  appKey: APP_KEYS["open-pages"]
297
297
  }
298
298
  ]
@@ -546,7 +546,7 @@ const PRIVATE_LINKS = {
546
546
  highlightedLinks: [
547
547
  {
548
548
  name: "SIM, PIN og PUK",
549
- link: "/mobil/mobilabonnement/sim-kort/",
549
+ link: "/mobilabonnement/sim-kort/",
550
550
  appKey: APP_KEYS["open-pages"]
551
551
  },
552
552
  {
@@ -578,7 +578,7 @@ const PRIVATE_LINKS = {
578
578
  links: [
579
579
  {
580
580
  name: "Hjelp mobil",
581
- link: "/mobil/hjelp/",
581
+ link: "/mobilabonnement/hjelp/",
582
582
  appKey: APP_KEYS["open-pages"]
583
583
  },
584
584
  {
@@ -249,16 +249,16 @@ export declare const PRIVATE_LINKS: {
249
249
  readonly appKey: "web-shop";
250
250
  }, {
251
251
  readonly name: "Hjelp mobil";
252
- readonly link: "/mobil/hjelp/";
252
+ readonly link: "/mobilabonnement/hjelp/";
253
253
  readonly appKey: "open-pages";
254
254
  }];
255
255
  }, {
256
256
  readonly name: "Mobilabonnement";
257
- readonly link: "/mobil/mobilabonnement/";
257
+ readonly link: "/mobilabonnement/";
258
258
  readonly appKey: "open-pages";
259
259
  readonly highlightedLinks: [{
260
260
  readonly name: "Fyll på kontantkort";
261
- readonly link: "/mobil/mobilabonnement/kontantkort/lade/";
261
+ readonly link: "/mobilabonnement/kontantkort/lade/";
262
262
  readonly appKey: "web-shop";
263
263
  }, {
264
264
  readonly name: "Kampanjer";
@@ -266,7 +266,7 @@ export declare const PRIVATE_LINKS: {
266
266
  readonly appKey: "open-pages";
267
267
  }, {
268
268
  readonly name: "SIM, PIN og PUK";
269
- readonly link: "/mobil/mobilabonnement/sim-kort/";
269
+ readonly link: "/mobilabonnement/sim-kort/";
270
270
  readonly appKey: "open-pages";
271
271
  }, {
272
272
  readonly name: "Hjelp til faktura";
@@ -274,11 +274,11 @@ export declare const PRIVATE_LINKS: {
274
274
  readonly appKey: "open-pages";
275
275
  }, {
276
276
  readonly name: "Alt om utland";
277
- readonly link: "/mobil/mobilabonnement/utland/";
277
+ readonly link: "/mobilabonnement/utland/";
278
278
  readonly appKey: "open-pages";
279
279
  }, {
280
280
  readonly name: "Data og datapakker";
281
- readonly link: "/mobil/mobilabonnement/data-og-datapakker/";
281
+ readonly link: "/mobilabonnement/data-og-datapakker/";
282
282
  readonly appKey: "web-shop";
283
283
  }, {
284
284
  readonly name: "Trygghetstjenester";
@@ -286,7 +286,7 @@ export declare const PRIVATE_LINKS: {
286
286
  readonly appKey: "open-pages";
287
287
  }, {
288
288
  readonly name: "Bytte eier";
289
- readonly link: "/mobil/hjelp/bytte-eier/";
289
+ readonly link: "/mobilabonnement/hjelp/bytte-eier/";
290
290
  readonly appKey: "open-pages";
291
291
  }];
292
292
  readonly links: [{
@@ -315,11 +315,11 @@ export declare const PRIVATE_LINKS: {
315
315
  readonly appKey: "web-shop";
316
316
  }, {
317
317
  readonly name: "Hjelp mobil";
318
- readonly link: "/mobil/hjelp/";
318
+ readonly link: "/mobilabonnement/hjelp/";
319
319
  readonly appKey: "open-pages";
320
320
  }, {
321
321
  readonly name: "Alt om mobilabonnement";
322
- readonly link: "/mobil/mobilabonnement/";
322
+ readonly link: "/mobilabonnement/";
323
323
  readonly appKey: "open-pages";
324
324
  }];
325
325
  }, {
@@ -518,7 +518,7 @@ export declare const PRIVATE_LINKS: {
518
518
  readonly appKey: "open-pages";
519
519
  readonly highlightedLinks: [{
520
520
  readonly name: "SIM, PIN og PUK";
521
- readonly link: "/mobil/mobilabonnement/sim-kort/";
521
+ readonly link: "/mobilabonnement/sim-kort/";
522
522
  readonly appKey: "open-pages";
523
523
  }, {
524
524
  readonly name: "Driftsmeldinger";
@@ -543,7 +543,7 @@ export declare const PRIVATE_LINKS: {
543
543
  }];
544
544
  readonly links: [{
545
545
  readonly name: "Hjelp mobil";
546
- readonly link: "/mobil/hjelp/";
546
+ readonly link: "/mobilabonnement/hjelp/";
547
547
  readonly appKey: "open-pages";
548
548
  }, {
549
549
  readonly name: "Hjelp TV";
@@ -783,16 +783,16 @@ export declare const getLinks: (ukko?: boolean) => [{
783
783
  readonly appKey: "web-shop";
784
784
  }, {
785
785
  readonly name: "Hjelp mobil";
786
- readonly link: "/mobil/hjelp/";
786
+ readonly link: "/mobilabonnement/hjelp/";
787
787
  readonly appKey: "open-pages";
788
788
  }];
789
789
  }, {
790
790
  readonly name: "Mobilabonnement";
791
- readonly link: "/mobil/mobilabonnement/";
791
+ readonly link: "/mobilabonnement/";
792
792
  readonly appKey: "open-pages";
793
793
  readonly highlightedLinks: [{
794
794
  readonly name: "Fyll på kontantkort";
795
- readonly link: "/mobil/mobilabonnement/kontantkort/lade/";
795
+ readonly link: "/mobilabonnement/kontantkort/lade/";
796
796
  readonly appKey: "web-shop";
797
797
  }, {
798
798
  readonly name: "Kampanjer";
@@ -800,7 +800,7 @@ export declare const getLinks: (ukko?: boolean) => [{
800
800
  readonly appKey: "open-pages";
801
801
  }, {
802
802
  readonly name: "SIM, PIN og PUK";
803
- readonly link: "/mobil/mobilabonnement/sim-kort/";
803
+ readonly link: "/mobilabonnement/sim-kort/";
804
804
  readonly appKey: "open-pages";
805
805
  }, {
806
806
  readonly name: "Hjelp til faktura";
@@ -808,11 +808,11 @@ export declare const getLinks: (ukko?: boolean) => [{
808
808
  readonly appKey: "open-pages";
809
809
  }, {
810
810
  readonly name: "Alt om utland";
811
- readonly link: "/mobil/mobilabonnement/utland/";
811
+ readonly link: "/mobilabonnement/utland/";
812
812
  readonly appKey: "open-pages";
813
813
  }, {
814
814
  readonly name: "Data og datapakker";
815
- readonly link: "/mobil/mobilabonnement/data-og-datapakker/";
815
+ readonly link: "/mobilabonnement/data-og-datapakker/";
816
816
  readonly appKey: "web-shop";
817
817
  }, {
818
818
  readonly name: "Trygghetstjenester";
@@ -820,7 +820,7 @@ export declare const getLinks: (ukko?: boolean) => [{
820
820
  readonly appKey: "open-pages";
821
821
  }, {
822
822
  readonly name: "Bytte eier";
823
- readonly link: "/mobil/hjelp/bytte-eier/";
823
+ readonly link: "/mobilabonnement/hjelp/bytte-eier/";
824
824
  readonly appKey: "open-pages";
825
825
  }];
826
826
  readonly links: [{
@@ -849,11 +849,11 @@ export declare const getLinks: (ukko?: boolean) => [{
849
849
  readonly appKey: "web-shop";
850
850
  }, {
851
851
  readonly name: "Hjelp mobil";
852
- readonly link: "/mobil/hjelp/";
852
+ readonly link: "/mobilabonnement/hjelp/";
853
853
  readonly appKey: "open-pages";
854
854
  }, {
855
855
  readonly name: "Alt om mobilabonnement";
856
- readonly link: "/mobil/mobilabonnement/";
856
+ readonly link: "/mobilabonnement/";
857
857
  readonly appKey: "open-pages";
858
858
  }];
859
859
  }, {
@@ -1052,7 +1052,7 @@ export declare const getLinks: (ukko?: boolean) => [{
1052
1052
  readonly appKey: "open-pages";
1053
1053
  readonly highlightedLinks: [{
1054
1054
  readonly name: "SIM, PIN og PUK";
1055
- readonly link: "/mobil/mobilabonnement/sim-kort/";
1055
+ readonly link: "/mobilabonnement/sim-kort/";
1056
1056
  readonly appKey: "open-pages";
1057
1057
  }, {
1058
1058
  readonly name: "Driftsmeldinger";
@@ -1077,7 +1077,7 @@ export declare const getLinks: (ukko?: boolean) => [{
1077
1077
  }];
1078
1078
  readonly links: [{
1079
1079
  readonly name: "Hjelp mobil";
1080
- readonly link: "/mobil/hjelp/";
1080
+ readonly link: "/mobilabonnement/hjelp/";
1081
1081
  readonly appKey: "open-pages";
1082
1082
  }, {
1083
1083
  readonly name: "Hjelp TV";
@@ -201,19 +201,19 @@ const PRIVATE_LINKS = {
201
201
  },
202
202
  {
203
203
  name: "Hjelp mobil",
204
- link: "/mobil/hjelp/",
204
+ link: "/mobilabonnement/hjelp/",
205
205
  appKey: APP_KEYS["open-pages"]
206
206
  }
207
207
  ]
208
208
  },
209
209
  {
210
210
  name: "Mobilabonnement",
211
- link: "/mobil/mobilabonnement/",
211
+ link: "/mobilabonnement/",
212
212
  appKey: APP_KEYS["open-pages"],
213
213
  highlightedLinks: [
214
214
  {
215
215
  name: "Fyll på kontantkort",
216
- link: "/mobil/mobilabonnement/kontantkort/lade/",
216
+ link: "/mobilabonnement/kontantkort/lade/",
217
217
  appKey: APP_KEYS["web-shop"]
218
218
  },
219
219
  {
@@ -223,7 +223,7 @@ const PRIVATE_LINKS = {
223
223
  },
224
224
  {
225
225
  name: "SIM, PIN og PUK",
226
- link: "/mobil/mobilabonnement/sim-kort/",
226
+ link: "/mobilabonnement/sim-kort/",
227
227
  appKey: APP_KEYS["open-pages"]
228
228
  },
229
229
  {
@@ -233,12 +233,12 @@ const PRIVATE_LINKS = {
233
233
  },
234
234
  {
235
235
  name: "Alt om utland",
236
- link: "/mobil/mobilabonnement/utland/",
236
+ link: "/mobilabonnement/utland/",
237
237
  appKey: APP_KEYS["open-pages"]
238
238
  },
239
239
  {
240
240
  name: "Data og datapakker",
241
- link: "/mobil/mobilabonnement/data-og-datapakker/",
241
+ link: "/mobilabonnement/data-og-datapakker/",
242
242
  appKey: APP_KEYS["web-shop"]
243
243
  },
244
244
  {
@@ -248,7 +248,7 @@ const PRIVATE_LINKS = {
248
248
  },
249
249
  {
250
250
  name: "Bytte eier",
251
- link: "/mobil/hjelp/bytte-eier/",
251
+ link: "/mobilabonnement/hjelp/bytte-eier/",
252
252
  appKey: APP_KEYS["open-pages"]
253
253
  }
254
254
  ],
@@ -285,12 +285,12 @@ const PRIVATE_LINKS = {
285
285
  },
286
286
  {
287
287
  name: "Hjelp mobil",
288
- link: "/mobil/hjelp/",
288
+ link: "/mobilabonnement/hjelp/",
289
289
  appKey: APP_KEYS["open-pages"]
290
290
  },
291
291
  {
292
292
  name: "Alt om mobilabonnement",
293
- link: "/mobil/mobilabonnement/",
293
+ link: "/mobilabonnement/",
294
294
  appKey: APP_KEYS["open-pages"]
295
295
  }
296
296
  ]
@@ -544,7 +544,7 @@ const PRIVATE_LINKS = {
544
544
  highlightedLinks: [
545
545
  {
546
546
  name: "SIM, PIN og PUK",
547
- link: "/mobil/mobilabonnement/sim-kort/",
547
+ link: "/mobilabonnement/sim-kort/",
548
548
  appKey: APP_KEYS["open-pages"]
549
549
  },
550
550
  {
@@ -576,7 +576,7 @@ const PRIVATE_LINKS = {
576
576
  links: [
577
577
  {
578
578
  name: "Hjelp mobil",
579
- link: "/mobil/hjelp/",
579
+ link: "/mobilabonnement/hjelp/",
580
580
  appKey: APP_KEYS["open-pages"]
581
581
  },
582
582
  {
@@ -33,7 +33,7 @@ require("../drawer/index.cjs");
33
33
  require("../image/image.cjs");
34
34
  require("../chip/index.cjs");
35
35
  require("../../assets/sprite.1321fab0-teddy.svg");
36
- require("../notification/notification.cjs");
36
+ require("../notification/index.cjs");
37
37
  require("../radio-group/index.cjs");
38
38
  require("../box/box.cjs");
39
39
  require("../flex/flex.cjs");
@@ -31,7 +31,7 @@ import "../drawer/index.js";
31
31
  import "../image/image.js";
32
32
  import "../chip/index.js";
33
33
  import "../../assets/sprite.1321fab0-teddy.svg";
34
- import "../notification/notification.js";
34
+ import "../notification/index.js";
35
35
  import "../radio-group/index.js";
36
36
  import "../box/box.js";
37
37
  import "../flex/flex.js";
@@ -1,16 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const components_notabene_notabene_content = require("./notabene.content.cjs");
3
+ const components_notabene_notabeneContent = require("./notabene-content.cjs");
4
4
  const components_notabene_notabeneHeading = require("./notabene-heading.cjs");
5
5
  const components_notabene_notabeneIcon = require("./notabene-icon.cjs");
6
6
  const components_notabene_notabeneRoot = require("./notabene-root.cjs");
7
- components_notabene_notabene_content.Content.displayName = "Notabene.Content";
8
- components_notabene_notabeneHeading.Heading.displayName = "Notabene.Heading";
9
- components_notabene_notabeneIcon.Icon.displayName = "Notabene.Icon";
10
- components_notabene_notabeneRoot.Root.displayName = "Notabene";
11
- const Notabene = Object.assign(components_notabene_notabeneRoot.Root, {
12
- Content: components_notabene_notabene_content.Content,
13
- Heading: components_notabene_notabeneHeading.Heading,
14
- Icon: components_notabene_notabeneIcon.Icon
15
- });
7
+ const Notabene = components_notabene_notabeneRoot.Root;
8
+ Notabene.Content = components_notabene_notabeneContent.Content;
9
+ Notabene.Heading = components_notabene_notabeneHeading.Heading;
10
+ Notabene.Icon = components_notabene_notabeneIcon.Icon;
16
11
  exports.Notabene = Notabene;
@@ -1,16 +1,59 @@
1
- import { Content, ContentProps } from './notabene.content';
1
+ import { Content, ContentProps } from './notabene-content';
2
2
  import { Heading, HeadingProps } from './notabene-heading';
3
3
  import { Icon, IconProps } from './notabene-icon';
4
- import { Root, RootProps } from './notabene-root';
4
+ import { RootProps } from './notabene-root';
5
5
 
6
- export declare const Notabene: typeof Root & {
7
- Content: typeof Content;
8
- Heading: typeof Heading;
9
- Icon: typeof Icon;
10
- };
11
- export type NotabeneProps = {
6
+ type NotabeneProps = {
7
+ Root: RootProps;
12
8
  Content: ContentProps;
13
9
  Heading: HeadingProps;
14
10
  Icon: IconProps;
15
- Root: RootProps;
16
11
  };
12
+ /**
13
+ * The Notabene Card is a component that is used to attract special attention to a message, where it would otherwise be lost in neighbouring content.
14
+ *
15
+ * @component
16
+ *
17
+ * @example
18
+ * <Notabene>
19
+ * <Notabene.Icon name="bulb" />
20
+ * <Notabene.Content>
21
+ * <Notabene.Heading>Good to know!</Notabene.Heading>
22
+ * <Text mb="50">Lorem ipsum dolor sit amet consectetur adipisicing elit. Tenetur, provident!</Text>
23
+ * <Link variant="standalone" href="https://www.example.com" target="_blank">
24
+ * Do not click me <Icon name="arrow-right" />
25
+ * </Link>
26
+ * </Notabene.Content>
27
+ * </Notabene>
28
+ */
29
+ declare const Notabene: import('react').ForwardRefExoticComponent<RootProps & import('react').RefAttributes<HTMLDivElement>> & {
30
+ /**
31
+ * Content component displays the detailed message.
32
+ *
33
+ * @component
34
+ *
35
+ * @example
36
+ * <Notabene.Content>This is the detailed message of the notabene.</Notabene.Content>
37
+ */
38
+ Content: typeof Content;
39
+ /**
40
+ * Heading component displays the title of the notabene.
41
+ *
42
+ * @component
43
+ *
44
+ * @example
45
+ * <Notabene.Heading as="h3">Notabene Title</Notabene.Heading>
46
+ */
47
+ Heading: typeof Heading;
48
+ /**
49
+ * Icon component displays an icon in the notabene.
50
+ *
51
+ * @component
52
+ *
53
+ * @example
54
+ * <Notabene.Icon name="info" />
55
+ */
56
+ Icon: typeof Icon;
57
+ };
58
+ export { Notabene };
59
+ export type { NotabeneProps };
@@ -1,16 +1,11 @@
1
- import { Content } from "./notabene.content.js";
1
+ import { Content } from "./notabene-content.js";
2
2
  import { Heading } from "./notabene-heading.js";
3
3
  import { Icon } from "./notabene-icon.js";
4
4
  import { Root } from "./notabene-root.js";
5
- Content.displayName = "Notabene.Content";
6
- Heading.displayName = "Notabene.Heading";
7
- Icon.displayName = "Notabene.Icon";
8
- Root.displayName = "Notabene";
9
- const Notabene = Object.assign(Root, {
10
- Content,
11
- Heading,
12
- Icon
13
- });
5
+ const Notabene = Root;
6
+ Notabene.Content = Content;
7
+ Notabene.Heading = Heading;
8
+ Notabene.Icon = Icon;
14
9
  export {
15
10
  Notabene
16
11
  };
@@ -14,5 +14,5 @@ const Icon = React.forwardRef(
14
14
  return /* @__PURE__ */ jsxRuntime.jsx(components_icon_icon.Icon, { size: "lg", ...props, name, ref: forwardRef, className: classes });
15
15
  }
16
16
  );
17
- Icon.displayName = "Notabene.Icon";
17
+ Icon.displayName = "Icon";
18
18
  exports.Icon = Icon;
@@ -12,7 +12,7 @@ const Icon = React__default.forwardRef(
12
12
  return /* @__PURE__ */ jsx(Icon$1, { size: "lg", ...props, name, ref: forwardRef, className: classes });
13
13
  }
14
14
  );
15
- Icon.displayName = "Notabene.Icon";
15
+ Icon.displayName = "Icon";
16
16
  export {
17
17
  Icon
18
18
  };
@@ -1,4 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const components_notification_notification = require("./notification.cjs");
4
- exports.Notification = components_notification_notification.Notification;
3
+ const components_notification_notificationDismiss = require("./notification-dismiss.cjs");
4
+ const components_notification_notificationHeading = require("./notification-heading.cjs");
5
+ const components_notification_notificationIcon = require("./notification-icon.cjs");
6
+ const components_notification_notificationRoot = require("./notification-root.cjs");
7
+ const components_notification_notificationText = require("./notification-text.cjs");
8
+ const components_notification_notificationFooter = require("./notification-footer.cjs");
9
+ const Notification = components_notification_notificationRoot.Root;
10
+ Notification.Text = components_notification_notificationText.Text;
11
+ Notification.Heading = components_notification_notificationHeading.Heading;
12
+ Notification.Footer = components_notification_notificationFooter.Footer;
13
+ Notification.Icon = components_notification_notificationIcon.Icon;
14
+ Notification.Dismiss = components_notification_notificationDismiss.Dismiss;
15
+ exports.Notification = Notification;