@aarhus-university/au-lib-react-components 10.5.0 → 10.6.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.
Files changed (94) hide show
  1. package/.eslintrc.js +34 -33
  2. package/.storybook/main.js +7 -7
  3. package/.storybook/preview.js +10 -10
  4. package/README.md +19 -19
  5. package/__tests__/jest/AUButtonComponent.test.tsx +163 -163
  6. package/__tests__/jest/AUSpinnerComponent.test.tsx +57 -0
  7. package/__tests__/jest/helpers.test.ts +15 -15
  8. package/__tests__/jest/setupTests.ts +2 -2
  9. package/babel.config.js +8 -8
  10. package/build/umd/all.css +2 -2
  11. package/build/umd/all.js +1 -1
  12. package/build/umd/alphabox.js +1 -1
  13. package/build/umd/databox.js +1 -1
  14. package/build/umd/databox.js.map +1 -1
  15. package/build/umd/diagramme.js +1 -1
  16. package/build/umd/flowbox.js +1 -1
  17. package/build/umd/universe.js +1 -1
  18. package/package.json +107 -107
  19. package/src/components/AUAlertComponent.tsx +70 -70
  20. package/src/components/AUAutoSuggestComponent.js +158 -158
  21. package/src/components/AUButtonComponent.tsx +77 -77
  22. package/src/components/AUCalendarComponent.tsx +493 -493
  23. package/src/components/AUContentToggleComponent.tsx +33 -33
  24. package/src/components/AUDatepickerComponent.tsx +117 -117
  25. package/src/components/AUMobilePrefixComponent.tsx +15 -15
  26. package/src/components/AUModalComponent.tsx +80 -80
  27. package/src/components/AUReceiptComponent.tsx +33 -33
  28. package/src/components/AUSpinnerComponent.tsx +33 -91
  29. package/src/components/AUSubNavComponent.tsx +48 -48
  30. package/src/components/AUSubmitButtonContainerComponent.tsx +31 -31
  31. package/src/components/AUTabbedContentComponent.tsx +145 -145
  32. package/src/components/AUTableComponent.tsx +24 -24
  33. package/src/components/AUToastComponent.tsx +103 -103
  34. package/src/components/AUToolbarComponent.tsx +45 -45
  35. package/src/components/profile/AUProfileActions.js +128 -128
  36. package/src/components/profile/AUProfileAvatarComponent.js +83 -83
  37. package/src/components/profile/AUProfileAvatarV2Component.js +91 -91
  38. package/src/components/profile/AUProfileAvatarV3Component.tsx +42 -42
  39. package/src/components/profile/AUProfileContainerComponent.js +283 -283
  40. package/src/components/profile/AUProfileHooks.js +30 -30
  41. package/src/components/profile/AUProfileItemComponent.js +54 -54
  42. package/src/components/profile/AUProfileLanguageComponent.js +131 -131
  43. package/src/components/profile/AUProfileLoginComponent.tsx +26 -26
  44. package/src/components/profile/AUProfileMailComponent.js +307 -307
  45. package/src/components/profile/AUProfileMobileComponent.js +164 -164
  46. package/src/components/profile/AUProfileNameComponent.js +253 -253
  47. package/src/components/profile/AUProfileNextOfKinComponent.js +216 -216
  48. package/src/components/profile/AUProfileReducer.js +230 -230
  49. package/src/components/profile/AUProfileWidgetComponent.js +95 -95
  50. package/src/components/profile/AUProfileWidgetV2Component.js +116 -116
  51. package/src/components/profile/AUProfileWidgetV3Component.tsx +122 -122
  52. package/src/components/wrapping/AUEmbedComponent.js +47 -47
  53. package/src/layout-2016/components/alphabox/AlphaBoxComponent.js +143 -143
  54. package/src/layout-2016/components/alphabox/AlphaBoxContentComponent.js +136 -136
  55. package/src/layout-2016/components/common/AUCollapsibleComponent.js +152 -152
  56. package/src/layout-2016/components/common/AUSpinnerComponent.js +103 -103
  57. package/src/layout-2016/components/databox/DataBoxAlphabetComponent.js +144 -144
  58. package/src/layout-2016/components/databox/DataBoxAssociationComponent.js +122 -122
  59. package/src/layout-2016/components/databox/DataBoxButtonComponent.js +157 -157
  60. package/src/layout-2016/components/databox/DataBoxComponent.js +297 -297
  61. package/src/layout-2016/components/databox/DataBoxGroupingComponent.js +64 -64
  62. package/src/layout-2016/components/databox/DataBoxSearchResultComponent.js +36 -36
  63. package/src/layout-2016/components/databox/DataBoxStackedAssociationComponent.js +54 -54
  64. package/src/layout-2016/components/databox/DataBoxSuggestionComponent.js +39 -39
  65. package/src/layout-2016/components/diagramme/AUDiagrammeComponent.js +309 -309
  66. package/src/layout-2016/components/flowbox/FlowBoxComponent.js +126 -126
  67. package/src/layout-2016/components/flowbox/FlowBoxPhoneComponent.js +104 -104
  68. package/src/layout-2016/components/profile/AUProfileAvatar2016Component.js +103 -103
  69. package/src/layout-2016/components/universe/StaffTopComponent.js +363 -363
  70. package/src/layout-2016/components/universe/StudentTopComponent.js +137 -137
  71. package/src/layout-2016/components/universe/UniverseContainerComponent.js +65 -65
  72. package/src/layout-2016/lib/all.js +3 -3
  73. package/src/layout-2016/lib/au-alphabox.js +100 -100
  74. package/src/layout-2016/lib/au-databox.js +400 -400
  75. package/src/layout-2016/lib/au-diagramme.js +85 -85
  76. package/src/layout-2016/lib/au-flowbox.js +93 -93
  77. package/src/layout-2016/lib/universe.js +9 -9
  78. package/src/lib/helpers.ts +194 -194
  79. package/src/lib/hooks.ts +33 -33
  80. package/src/lib/i18n.ts +600 -600
  81. package/src/lib/tracking.ts +69 -69
  82. package/src/lib/wrapping.ts +21 -21
  83. package/src/styles/_settings.scss +10 -10
  84. package/src/styles/alphabox.scss +222 -222
  85. package/src/styles/app.scss +7 -7
  86. package/src/styles/autosuggest.scss +57 -57
  87. package/src/styles/databox.scss +563 -563
  88. package/src/styles/diagramme.scss +119 -119
  89. package/src/styles/flowbox.scss +72 -72
  90. package/src/styles/maps.scss +395 -395
  91. package/stories/AUButtonComponent.stories.tsx +85 -88
  92. package/stories/AUSpinnerComponent.stories.tsx +41 -0
  93. package/tsconfig.json +46 -46
  94. package/webpack.config.js +89 -89
@@ -1,57 +1,57 @@
1
- .react-autosuggest__container {
2
- cursor: pointer;
3
-
4
- input[type="text"] {
5
- margin-bottom: 0;
6
- }
7
- }
8
-
9
- /* delphinus */
10
- .page__content__block {
11
- .react-autosuggest__container {
12
- position: relative;
13
- width: 100%;
14
- }
15
- .react-autosuggest__suggestions-list {
16
- margin-top: 0;
17
- }
18
- }
19
-
20
- .react-autosuggest__suggestions-container {
21
- border-left: 1px solid #ccc;
22
- border-right: 1px solid #ccc;
23
- position: absolute;
24
- left: 0;
25
- right: 0;
26
- background-color: #fff;
27
- margin: 0;
28
- z-index: 1;
29
- color: #333 !important;
30
- font-size: 1.272727272727rem;
31
- line-height: 1;
32
- max-height: 430px;
33
- overflow: auto;
34
-
35
- li, li:before {
36
- list-style-type: none !important;
37
- background-image: none !important;
38
- margin: 0;
39
- padding: 0;
40
- content: '' !important;
41
- line-height: 1 !important;
42
- background: none;
43
- }
44
- }
45
- li.react-autosuggest__suggestion {
46
- border-bottom: 1px solid #ccc;
47
- padding: 1.272727272727rem 1rem;
48
- }
49
- .react-autosuggest__suggestion--highlighted {
50
- background-color: #f0f0f0 !important;
51
- }
52
-
53
- .react-autosuggest__suggestions-list {
54
- margin-bottom: 0;
55
- margin-left: 0;
56
- }
57
-
1
+ .react-autosuggest__container {
2
+ cursor: pointer;
3
+
4
+ input[type="text"] {
5
+ margin-bottom: 0;
6
+ }
7
+ }
8
+
9
+ /* delphinus */
10
+ .page__content__block {
11
+ .react-autosuggest__container {
12
+ position: relative;
13
+ width: 100%;
14
+ }
15
+ .react-autosuggest__suggestions-list {
16
+ margin-top: 0;
17
+ }
18
+ }
19
+
20
+ .react-autosuggest__suggestions-container {
21
+ border-left: 1px solid #ccc;
22
+ border-right: 1px solid #ccc;
23
+ position: absolute;
24
+ left: 0;
25
+ right: 0;
26
+ background-color: #fff;
27
+ margin: 0;
28
+ z-index: 1;
29
+ color: #333 !important;
30
+ font-size: 1.272727272727rem;
31
+ line-height: 1;
32
+ max-height: 430px;
33
+ overflow: auto;
34
+
35
+ li, li:before {
36
+ list-style-type: none !important;
37
+ background-image: none !important;
38
+ margin: 0;
39
+ padding: 0;
40
+ content: '' !important;
41
+ line-height: 1 !important;
42
+ background: none;
43
+ }
44
+ }
45
+ li.react-autosuggest__suggestion {
46
+ border-bottom: 1px solid #ccc;
47
+ padding: 1.272727272727rem 1rem;
48
+ }
49
+ .react-autosuggest__suggestion--highlighted {
50
+ background-color: #f0f0f0 !important;
51
+ }
52
+
53
+ .react-autosuggest__suggestions-list {
54
+ margin-bottom: 0;
55
+ margin-left: 0;
56
+ }
57
+