@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.
- package/.eslintrc.js +34 -33
- package/.storybook/main.js +7 -7
- package/.storybook/preview.js +10 -10
- package/README.md +19 -19
- package/__tests__/jest/AUButtonComponent.test.tsx +163 -163
- package/__tests__/jest/AUSpinnerComponent.test.tsx +57 -0
- package/__tests__/jest/helpers.test.ts +15 -15
- package/__tests__/jest/setupTests.ts +2 -2
- package/babel.config.js +8 -8
- package/build/umd/all.css +2 -2
- package/build/umd/all.js +1 -1
- package/build/umd/alphabox.js +1 -1
- package/build/umd/databox.js +1 -1
- package/build/umd/databox.js.map +1 -1
- package/build/umd/diagramme.js +1 -1
- package/build/umd/flowbox.js +1 -1
- package/build/umd/universe.js +1 -1
- package/package.json +107 -107
- package/src/components/AUAlertComponent.tsx +70 -70
- package/src/components/AUAutoSuggestComponent.js +158 -158
- package/src/components/AUButtonComponent.tsx +77 -77
- package/src/components/AUCalendarComponent.tsx +493 -493
- package/src/components/AUContentToggleComponent.tsx +33 -33
- package/src/components/AUDatepickerComponent.tsx +117 -117
- package/src/components/AUMobilePrefixComponent.tsx +15 -15
- package/src/components/AUModalComponent.tsx +80 -80
- package/src/components/AUReceiptComponent.tsx +33 -33
- package/src/components/AUSpinnerComponent.tsx +33 -91
- package/src/components/AUSubNavComponent.tsx +48 -48
- package/src/components/AUSubmitButtonContainerComponent.tsx +31 -31
- package/src/components/AUTabbedContentComponent.tsx +145 -145
- package/src/components/AUTableComponent.tsx +24 -24
- package/src/components/AUToastComponent.tsx +103 -103
- package/src/components/AUToolbarComponent.tsx +45 -45
- package/src/components/profile/AUProfileActions.js +128 -128
- package/src/components/profile/AUProfileAvatarComponent.js +83 -83
- package/src/components/profile/AUProfileAvatarV2Component.js +91 -91
- package/src/components/profile/AUProfileAvatarV3Component.tsx +42 -42
- package/src/components/profile/AUProfileContainerComponent.js +283 -283
- package/src/components/profile/AUProfileHooks.js +30 -30
- package/src/components/profile/AUProfileItemComponent.js +54 -54
- package/src/components/profile/AUProfileLanguageComponent.js +131 -131
- package/src/components/profile/AUProfileLoginComponent.tsx +26 -26
- package/src/components/profile/AUProfileMailComponent.js +307 -307
- package/src/components/profile/AUProfileMobileComponent.js +164 -164
- package/src/components/profile/AUProfileNameComponent.js +253 -253
- package/src/components/profile/AUProfileNextOfKinComponent.js +216 -216
- package/src/components/profile/AUProfileReducer.js +230 -230
- package/src/components/profile/AUProfileWidgetComponent.js +95 -95
- package/src/components/profile/AUProfileWidgetV2Component.js +116 -116
- package/src/components/profile/AUProfileWidgetV3Component.tsx +122 -122
- package/src/components/wrapping/AUEmbedComponent.js +47 -47
- package/src/layout-2016/components/alphabox/AlphaBoxComponent.js +143 -143
- package/src/layout-2016/components/alphabox/AlphaBoxContentComponent.js +136 -136
- package/src/layout-2016/components/common/AUCollapsibleComponent.js +152 -152
- package/src/layout-2016/components/common/AUSpinnerComponent.js +103 -103
- package/src/layout-2016/components/databox/DataBoxAlphabetComponent.js +144 -144
- package/src/layout-2016/components/databox/DataBoxAssociationComponent.js +122 -122
- package/src/layout-2016/components/databox/DataBoxButtonComponent.js +157 -157
- package/src/layout-2016/components/databox/DataBoxComponent.js +297 -297
- package/src/layout-2016/components/databox/DataBoxGroupingComponent.js +64 -64
- package/src/layout-2016/components/databox/DataBoxSearchResultComponent.js +36 -36
- package/src/layout-2016/components/databox/DataBoxStackedAssociationComponent.js +54 -54
- package/src/layout-2016/components/databox/DataBoxSuggestionComponent.js +39 -39
- package/src/layout-2016/components/diagramme/AUDiagrammeComponent.js +309 -309
- package/src/layout-2016/components/flowbox/FlowBoxComponent.js +126 -126
- package/src/layout-2016/components/flowbox/FlowBoxPhoneComponent.js +104 -104
- package/src/layout-2016/components/profile/AUProfileAvatar2016Component.js +103 -103
- package/src/layout-2016/components/universe/StaffTopComponent.js +363 -363
- package/src/layout-2016/components/universe/StudentTopComponent.js +137 -137
- package/src/layout-2016/components/universe/UniverseContainerComponent.js +65 -65
- package/src/layout-2016/lib/all.js +3 -3
- package/src/layout-2016/lib/au-alphabox.js +100 -100
- package/src/layout-2016/lib/au-databox.js +400 -400
- package/src/layout-2016/lib/au-diagramme.js +85 -85
- package/src/layout-2016/lib/au-flowbox.js +93 -93
- package/src/layout-2016/lib/universe.js +9 -9
- package/src/lib/helpers.ts +194 -194
- package/src/lib/hooks.ts +33 -33
- package/src/lib/i18n.ts +600 -600
- package/src/lib/tracking.ts +69 -69
- package/src/lib/wrapping.ts +21 -21
- package/src/styles/_settings.scss +10 -10
- package/src/styles/alphabox.scss +222 -222
- package/src/styles/app.scss +7 -7
- package/src/styles/autosuggest.scss +57 -57
- package/src/styles/databox.scss +563 -563
- package/src/styles/diagramme.scss +119 -119
- package/src/styles/flowbox.scss +72 -72
- package/src/styles/maps.scss +395 -395
- package/stories/AUButtonComponent.stories.tsx +85 -88
- package/stories/AUSpinnerComponent.stories.tsx +41 -0
- package/tsconfig.json +46 -46
- 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
|
+
|