@helsenorge/designsystem-react 1.0.0-beta75 → 1.0.0-beta79
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/Button-619210b9.js +2 -0
- package/Button-619210b9.js.map +1 -0
- package/Loader-084dd998.js +2 -0
- package/Loader-084dd998.js.map +1 -0
- package/Modal-52971fb1.js +2 -0
- package/Modal-52971fb1.js.map +1 -0
- package/color-acb834c6.js +2 -0
- package/color-acb834c6.js.map +1 -0
- package/components/AnchorLink/index.js +1 -1
- package/components/Avatar/index.js +1 -1
- package/components/Button/Button.d.ts.map +1 -1
- package/components/Button/index.js +1 -1
- package/components/Button/styles.module.scss +49 -35
- package/components/Button/styles.module.scss.d.ts +12 -25
- package/components/ButtonWithModal/componentdata.json +3 -0
- package/components/ButtonWithModal/index.js +1 -1
- package/components/ExpanderList/ExpanderList.d.ts.map +1 -1
- package/components/ExpanderList/index.js +1 -1
- package/components/ExpanderList/styles.module.scss +35 -19
- package/components/ExpanderList/styles.module.scss.d.ts +2 -3
- package/components/Icons/Icon.d.ts.map +1 -1
- package/components/Icons/Icon.js +1 -1
- package/components/Icons/index.d.ts +1 -0
- package/components/Icons/index.d.ts.map +1 -1
- package/components/Icons/index.js +1 -1
- package/components/LinkList/LinkList.d.ts +4 -3
- package/components/LinkList/LinkList.d.ts.map +1 -1
- package/components/LinkList/componentdata.json +19 -4
- package/components/LinkList/index.js +1 -1
- package/components/LinkList/styles.module.scss +46 -16
- package/components/LinkList/styles.module.scss.d.ts +3 -2
- package/components/Loader/Loader.d.ts +8 -0
- package/components/Loader/Loader.d.ts.map +1 -1
- package/components/Loader/componentdata.json +76 -0
- package/components/Loader/index.js +1 -1
- package/components/Loader/styles.module.scss +24 -0
- package/components/Loader/styles.module.scss.d.ts +3 -0
- package/components/Logo/index.js +1 -1
- package/components/Modal/Modal.d.ts +2 -1
- package/components/Modal/Modal.d.ts.map +1 -1
- package/components/Modal/componentdata.json +3 -0
- package/components/Modal/index.js +1 -1
- package/components/Modal/styles.module.scss +102 -66
- package/components/Modal/styles.module.scss.d.ts +19 -11
- package/components/NotificationPanel/index.js +1 -1
- package/components/Tile/Tile.d.ts.map +1 -1
- package/components/Tile/index.js +1 -1
- package/constants-d1f48e8e.js +2 -0
- package/constants-d1f48e8e.js.map +1 -0
- package/grid-11a70eb7.js +2 -0
- package/grid-11a70eb7.js.map +1 -0
- package/hooks/useBreakpoint.d.ts +9 -0
- package/hooks/useBreakpoint.d.ts.map +1 -0
- package/index-19b48c51.js +2 -0
- package/index-19b48c51.js.map +1 -0
- package/index.js +1 -1
- package/package.json +1 -1
- package/scss/_font-settings.scss +8 -4
- package/scss/_palette.scss +2 -0
- package/useBreakpoint-a8fa8a61.js +2 -0
- package/useBreakpoint-a8fa8a61.js.map +1 -0
- package/useWindowSize-c22d7634.js +2 -0
- package/useWindowSize-c22d7634.js.map +1 -0
- package/Button-f1380b34.js +0 -2
- package/Button-f1380b34.js.map +0 -1
- package/Icon-43100735.js +0 -2
- package/Icon-43100735.js.map +0 -1
- package/Loader-ad8bcd78.js +0 -2
- package/Loader-ad8bcd78.js.map +0 -1
- package/Modal-3353318a.js +0 -2
- package/Modal-3353318a.js.map +0 -1
- package/color-d7bbcfcc.js +0 -2
- package/color-d7bbcfcc.js.map +0 -1
- package/index-cf9fa51d.js +0 -2
- package/index-cf9fa51d.js.map +0 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { PaletteNames } from '../../theme/palette';
|
|
3
|
+
export declare type LinkListSize = 'small' | 'medium' | 'large';
|
|
3
4
|
export declare type LinkListColors = PaletteNames;
|
|
4
5
|
export declare type LinkType = React.ForwardRefExoticComponent<LinkProps & React.RefAttributes<HTMLLIElement>>;
|
|
5
6
|
export interface CompoundComponent extends React.ForwardRefExoticComponent<LinkListProps & React.RefAttributes<HTMLUListElement>> {
|
|
@@ -18,13 +19,13 @@ interface LinkListProps {
|
|
|
18
19
|
bottomBorder?: boolean;
|
|
19
20
|
/** Toggles the top border of the first child element. */
|
|
20
21
|
topBorder?: boolean;
|
|
21
|
-
/** Changes the
|
|
22
|
-
|
|
22
|
+
/** Changes size of the LinkList. */
|
|
23
|
+
size?: LinkListSize;
|
|
23
24
|
}
|
|
24
25
|
export interface LinkProps extends React.HTMLAttributes<HTMLAnchorElement> {
|
|
25
26
|
children: React.ReactNode;
|
|
26
27
|
color?: LinkListColors;
|
|
27
|
-
|
|
28
|
+
size?: LinkListSize;
|
|
28
29
|
chevron?: boolean;
|
|
29
30
|
className?: string;
|
|
30
31
|
icon?: React.ReactElement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinkList.d.ts","sourceRoot":"","sources":["../../../src/components/LinkList/LinkList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;
|
|
1
|
+
{"version":3,"file":"LinkList.d.ts","sourceRoot":"","sources":["../../../src/components/LinkList/LinkList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAQnD,oBAAY,YAAY,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAExD,oBAAY,cAAc,GAAG,YAAY,CAAC;AAC1C,oBAAY,QAAQ,GAAG,KAAK,CAAC,yBAAyB,CAAC,SAAS,GAAG,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC,CAAC;AACvG,MAAM,WAAW,iBAAkB,SAAQ,KAAK,CAAC,yBAAyB,CAAC,aAAa,GAAG,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC;IAC/H,IAAI,EAAE,QAAQ,CAAC;CAChB;AAED,UAAU,aAAa;IACrB,4BAA4B;IAC5B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uDAAuD;IACvD,KAAK,EAAE,cAAc,CAAC;IACtB,sCAAsC;IACtC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,2DAA2D;IAC3D,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,yDAAyD;IACzD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,oCAAoC;IACpC,IAAI,CAAC,EAAE,YAAY,CAAC;CACrB;AAED,MAAM,WAAW,SAAU,SAAQ,KAAK,CAAC,cAAc,CAAC,iBAAiB,CAAC;IACxE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AA6CD,eAAO,MAAM,QAAQ,mBAqBE,CAAC;AAKxB,eAAe,QAAQ,CAAC"}
|
|
@@ -141,10 +141,10 @@
|
|
|
141
141
|
"name": "boolean"
|
|
142
142
|
}
|
|
143
143
|
},
|
|
144
|
-
"
|
|
144
|
+
"size": {
|
|
145
145
|
"defaultValue": null,
|
|
146
|
-
"description": "Changes the
|
|
147
|
-
"name": "
|
|
146
|
+
"description": "Changes size of the LinkList.",
|
|
147
|
+
"name": "size",
|
|
148
148
|
"parent": {
|
|
149
149
|
"fileName": "src/components/LinkList/LinkList.tsx",
|
|
150
150
|
"name": "LinkListProps"
|
|
@@ -157,7 +157,22 @@
|
|
|
157
157
|
],
|
|
158
158
|
"required": false,
|
|
159
159
|
"type": {
|
|
160
|
-
"name": "
|
|
160
|
+
"name": "enum",
|
|
161
|
+
"raw": "\"small\" | \"medium\" | \"large\" | undefined",
|
|
162
|
+
"value": [
|
|
163
|
+
{
|
|
164
|
+
"value": "undefined"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"value": "\"small\""
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"value": "\"medium\""
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"value": "\"large\""
|
|
174
|
+
}
|
|
175
|
+
]
|
|
161
176
|
}
|
|
162
177
|
}
|
|
163
178
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as e}from"../../_rollupPluginBabelHelpers-e1c7fe69.js";import{_ as
|
|
1
|
+
import{a as e}from"../../_rollupPluginBabelHelpers-e1c7fe69.js";import{_ as l}from"../../_tslib-51c8a283.js";import r from"react";import{c as a}from"../../index-9b84fabc.js";import{a as i,I as o}from"../../constants-d1f48e8e.js";import{u as s,B as t}from"../../useBreakpoint-a8fa8a61.js";import{u as n}from"../../useHover-57ad4df9.js";import m from"./styles.module.scss";import"../../useWindowSize-c22d7634.js";import"../../grid-11a70eb7.js";var c=function(e){var l=e.isExtraSmall,a=e.isHovered,i=r.createElement("path",{d:"M19.171 32.951l1.409 1.42L31.031 24 20.58 13.63l-1.409 1.42 9.02 8.95z"}),o=r.createElement("path",{d:"M24.479 11.63L36.93 23.999 24.479 36.37l-1.409-1.419L33.083 25H13v-2h20.085L23.07 13.049z"}),s=r.createElement("path",{d:"M17.885 32.577l1.779 1.793 10.451-10.371L19.664 13.63l-1.779 1.793 8.644 8.576z"});return l?a?r.createElement("path",{d:"M25.98 11.103l12.977 12.896L25.98 36.897l-1.78-1.794 9.899-9.841-20.204.001v-2.526l20.204-.001-9.899-9.839z"}):s:a?o:i},d=r.forwardRef((function(d,f){var v,p=d.children,h=d.className,u=void 0===h?"":h,_=d.color,k=void 0===_?"neutral":_,E=d.icon,z=d.size,b=void 0===z?"medium":z,L=d.chevron,j=void 0!==L&&L,N=l(d,["children","className","color","icon","size","chevron"]),H=n(),g=H.hoverRef,B=H.isHovered,S=s(),M="small"!==b&&!(!j&&!E);return r.createElement("li",{ref:f},r.createElement("a",Object.assign({className:a(m["link-list__anchor"],m["link-list__anchor--"+k],(v={},e(v,m["link-list__anchor--hasicon"],M),e(v,m["link-list__anchor--small"],"small"===b),e(v,m["link-list__anchor--medium"],"medium"===b),e(v,m["link-list__anchor--large"],"large"===b),v),u),ref:g},N),M&&E&&r.createElement("span",{className:m["link-list__icon"]},r.cloneElement(E,{size:S===t.Xs?i.XSmall:i.Small,isHovered:B})),r.createElement("span",{className:m["link-list__content"]},p),M&&j&&r.createElement("span",{className:m["link-list__chevron"]},r.createElement(o,{svgIcon:c,isHovered:B,size:i.XSmall}))))})),f=r.forwardRef((function(l,i){var o,s=l.children,t=l.className,n=void 0===t?"":t,c=l.chevron,f=void 0!==c&&c,v=l.size,p=void 0===v?"medium":v,h=l.color,u=l.topBorder,_=void 0===u||u,k=l.bottomBorder,E=void 0===k||k;return r.createElement("ul",{ref:i,className:a(m["link-list"],(o={},e(o,m["link-list--hastopborder"],_),e(o,m["link-list--nobottomborder"],!E),o),n||"")},r.Children.map(s,(function(e){if(e.type===d)return r.cloneElement(e,{color:h,size:p,chevron:f})})))}));f.Link=d,d.displayName="LinkList.Link";export default f;
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -25,12 +25,8 @@
|
|
|
25
25
|
|
|
26
26
|
&__anchor {
|
|
27
27
|
display: flex;
|
|
28
|
-
padding: getSpacer(xs);
|
|
29
28
|
min-height: 4.5rem;
|
|
30
|
-
font-size: $font-size-md;
|
|
31
|
-
line-height: $lineheight-size-md;
|
|
32
29
|
text-decoration: none;
|
|
33
|
-
justify-content: space-between;
|
|
34
30
|
align-items: center;
|
|
35
31
|
color: $black;
|
|
36
32
|
cursor: pointer;
|
|
@@ -38,9 +34,40 @@
|
|
|
38
34
|
&--hasicon {
|
|
39
35
|
min-height: unset;
|
|
40
36
|
}
|
|
37
|
+
&--small {
|
|
38
|
+
padding: getSpacer(xs) 0 getSpacer(xs) 0;
|
|
39
|
+
font-size: $font-size-xs;
|
|
40
|
+
line-height: $lineheight-size-xs;
|
|
41
|
+
}
|
|
42
|
+
&--medium {
|
|
43
|
+
padding: getSpacer(xs) 0 getSpacer(xs) 0;
|
|
44
|
+
font-size: $font-size-sm;
|
|
45
|
+
line-height: $lineheight-size-sm;
|
|
46
|
+
}
|
|
41
47
|
&--large {
|
|
42
|
-
|
|
43
|
-
|
|
48
|
+
padding: getSpacer(xs) 0 getSpacer(xs) 0;
|
|
49
|
+
font-size: $font-size-md;
|
|
50
|
+
line-height: $lineheight-size-md;
|
|
51
|
+
}
|
|
52
|
+
@media (min-width: map-get($grid-breakpoints, md)) {
|
|
53
|
+
&--small {
|
|
54
|
+
padding-left: getSpacer(xs);
|
|
55
|
+
padding-right: getSpacer(xs);
|
|
56
|
+
font-size: $font-size-sm;
|
|
57
|
+
line-height: $lineheight-size-sm;
|
|
58
|
+
}
|
|
59
|
+
&--medium {
|
|
60
|
+
padding-left: getSpacer(xs);
|
|
61
|
+
padding-right: getSpacer(xs);
|
|
62
|
+
font-size: $font-size-md;
|
|
63
|
+
line-height: $lineheight-size-md;
|
|
64
|
+
}
|
|
65
|
+
&--large {
|
|
66
|
+
padding-left: getSpacer(xs);
|
|
67
|
+
padding-right: getSpacer(xs);
|
|
68
|
+
font-size: $font-size-lg;
|
|
69
|
+
line-height: $lineheight-size-lg;
|
|
70
|
+
}
|
|
44
71
|
}
|
|
45
72
|
|
|
46
73
|
&--banana {
|
|
@@ -96,9 +123,6 @@
|
|
|
96
123
|
|
|
97
124
|
&:focus {
|
|
98
125
|
outline: none;
|
|
99
|
-
.link-list__content {
|
|
100
|
-
border-color: $black;
|
|
101
|
-
}
|
|
102
126
|
}
|
|
103
127
|
}
|
|
104
128
|
|
|
@@ -106,15 +130,21 @@
|
|
|
106
130
|
display: flex;
|
|
107
131
|
align-items: center;
|
|
108
132
|
border-bottom: 1px solid transparent;
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
&__icon-container {
|
|
112
|
-
width: getSpacer(xl);
|
|
113
|
-
&--hasmargin {
|
|
114
|
-
margin-right: getSpacer(xs);
|
|
133
|
+
:focus > & {
|
|
134
|
+
border-color: $black;
|
|
115
135
|
}
|
|
116
136
|
}
|
|
137
|
+
|
|
117
138
|
&__icon {
|
|
118
|
-
|
|
139
|
+
display: flex;
|
|
140
|
+
align-items: center;
|
|
141
|
+
margin-right: getSpacer(xs);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
&__chevron {
|
|
145
|
+
display: flex;
|
|
146
|
+
align-items: center;
|
|
147
|
+
margin-left: auto;
|
|
148
|
+
padding-left: getSpacer(xs);
|
|
119
149
|
}
|
|
120
150
|
}
|
|
@@ -8,13 +8,14 @@ export type Styles = {
|
|
|
8
8
|
'link-list__anchor--hasicon': string;
|
|
9
9
|
'link-list__anchor--kiwi': string;
|
|
10
10
|
'link-list__anchor--large': string;
|
|
11
|
+
'link-list__anchor--medium': string;
|
|
11
12
|
'link-list__anchor--neutral': string;
|
|
12
13
|
'link-list__anchor--plum': string;
|
|
14
|
+
'link-list__anchor--small': string;
|
|
13
15
|
'link-list__anchor--white': string;
|
|
16
|
+
'link-list__chevron': string;
|
|
14
17
|
'link-list__content': string;
|
|
15
18
|
'link-list__icon': string;
|
|
16
|
-
'link-list__icon-container': string;
|
|
17
|
-
'link-list__icon-container--hasmargin': string;
|
|
18
19
|
'link-list--hastopborder': string;
|
|
19
20
|
'link-list--nobottomborder': string;
|
|
20
21
|
};
|
|
@@ -11,6 +11,14 @@ interface LoaderProps {
|
|
|
11
11
|
size?: LoaderSizes;
|
|
12
12
|
/** Sets the data-testid attribute. */
|
|
13
13
|
testId?: string;
|
|
14
|
+
/** Centers the loader in a container */
|
|
15
|
+
center?: boolean;
|
|
16
|
+
/** Loader is displayed with grey background covering the entire screen */
|
|
17
|
+
overlay?: boolean;
|
|
18
|
+
/** individual id for loading icon (aria-labelledby). */
|
|
19
|
+
ariaLabelledById?: string;
|
|
20
|
+
/** individual id for loading icon (aria-labelledby). */
|
|
21
|
+
ariaLabel?: string;
|
|
14
22
|
}
|
|
15
23
|
declare const Loader: React.ForwardRefExoticComponent<LoaderProps & React.RefAttributes<HTMLElement>>;
|
|
16
24
|
export default Loader;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Loader.d.ts","sourceRoot":"","sources":["../../../src/components/Loader/Loader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Loader.d.ts","sourceRoot":"","sources":["../../../src/components/Loader/Loader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAGnD,oBAAY,YAAY,GAAG,YAAY,CAAC;AACxC,oBAAY,WAAW,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEhE,UAAU,WAAW;IACnB,mCAAmC;IACnC,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sCAAsC;IACtC,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,sCAAsC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,wCAAwC;IACxC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,0EAA0E;IAC1E,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,0DAA0D;IAC1D,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,0DAA0D;IAC1D,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,MAAM,iFA0DV,CAAC;AAEH,eAAe,MAAM,CAAC"}
|
|
@@ -123,6 +123,82 @@
|
|
|
123
123
|
"type": {
|
|
124
124
|
"name": "string"
|
|
125
125
|
}
|
|
126
|
+
},
|
|
127
|
+
"center": {
|
|
128
|
+
"defaultValue": null,
|
|
129
|
+
"description": "Centers the loader in a container",
|
|
130
|
+
"name": "center",
|
|
131
|
+
"parent": {
|
|
132
|
+
"fileName": "src/components/Loader/Loader.tsx",
|
|
133
|
+
"name": "LoaderProps"
|
|
134
|
+
},
|
|
135
|
+
"declarations": [
|
|
136
|
+
{
|
|
137
|
+
"fileName": "src/components/Loader/Loader.tsx",
|
|
138
|
+
"name": "LoaderProps"
|
|
139
|
+
}
|
|
140
|
+
],
|
|
141
|
+
"required": false,
|
|
142
|
+
"type": {
|
|
143
|
+
"name": "boolean"
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
"overlay": {
|
|
147
|
+
"defaultValue": null,
|
|
148
|
+
"description": "Loader is displayed with grey background covering the entire screen",
|
|
149
|
+
"name": "overlay",
|
|
150
|
+
"parent": {
|
|
151
|
+
"fileName": "src/components/Loader/Loader.tsx",
|
|
152
|
+
"name": "LoaderProps"
|
|
153
|
+
},
|
|
154
|
+
"declarations": [
|
|
155
|
+
{
|
|
156
|
+
"fileName": "src/components/Loader/Loader.tsx",
|
|
157
|
+
"name": "LoaderProps"
|
|
158
|
+
}
|
|
159
|
+
],
|
|
160
|
+
"required": false,
|
|
161
|
+
"type": {
|
|
162
|
+
"name": "boolean"
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
"ariaLabelledById": {
|
|
166
|
+
"defaultValue": null,
|
|
167
|
+
"description": "individual id for loading icon (aria-labelledby).",
|
|
168
|
+
"name": "ariaLabelledById",
|
|
169
|
+
"parent": {
|
|
170
|
+
"fileName": "src/components/Loader/Loader.tsx",
|
|
171
|
+
"name": "LoaderProps"
|
|
172
|
+
},
|
|
173
|
+
"declarations": [
|
|
174
|
+
{
|
|
175
|
+
"fileName": "src/components/Loader/Loader.tsx",
|
|
176
|
+
"name": "LoaderProps"
|
|
177
|
+
}
|
|
178
|
+
],
|
|
179
|
+
"required": false,
|
|
180
|
+
"type": {
|
|
181
|
+
"name": "string"
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
"ariaLabel": {
|
|
185
|
+
"defaultValue": null,
|
|
186
|
+
"description": "individual id for loading icon (aria-labelledby).",
|
|
187
|
+
"name": "ariaLabel",
|
|
188
|
+
"parent": {
|
|
189
|
+
"fileName": "src/components/Loader/Loader.tsx",
|
|
190
|
+
"name": "LoaderProps"
|
|
191
|
+
},
|
|
192
|
+
"declarations": [
|
|
193
|
+
{
|
|
194
|
+
"fileName": "src/components/Loader/Loader.tsx",
|
|
195
|
+
"name": "LoaderProps"
|
|
196
|
+
}
|
|
197
|
+
],
|
|
198
|
+
"required": false,
|
|
199
|
+
"type": {
|
|
200
|
+
"name": "string"
|
|
201
|
+
}
|
|
126
202
|
}
|
|
127
203
|
}
|
|
128
204
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{L as
|
|
1
|
+
import{L as r}from"../../Loader-084dd998.js";export{L as default}from"../../Loader-084dd998.js";import"../../_rollupPluginBabelHelpers-e1c7fe69.js";import"react";import"../../index-9b84fabc.js";import"./styles.module.scss";import"crypto";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@import '../../scss/_palette.scss';
|
|
2
|
+
@import 'bootstrap/scss/mixins/_screen-reader.scss';
|
|
2
3
|
|
|
3
4
|
@mixin keyframes($name) {
|
|
4
5
|
@keyframes #{$name} {
|
|
@@ -35,6 +36,25 @@
|
|
|
35
36
|
@include animate($name, translate, 0.6s, infinite);
|
|
36
37
|
}
|
|
37
38
|
|
|
39
|
+
.loader-wrapper {
|
|
40
|
+
&--center {
|
|
41
|
+
text-align: center;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&--overlay {
|
|
45
|
+
z-index: 9999;
|
|
46
|
+
background: $transparentGrey;
|
|
47
|
+
position: fixed;
|
|
48
|
+
top: 0;
|
|
49
|
+
left: 0;
|
|
50
|
+
right: 0;
|
|
51
|
+
bottom: 0;
|
|
52
|
+
display: flex;
|
|
53
|
+
align-items: center;
|
|
54
|
+
justify-content: center;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
38
58
|
.loader {
|
|
39
59
|
display: inline-block;
|
|
40
60
|
position: relative;
|
|
@@ -56,6 +76,10 @@
|
|
|
56
76
|
height: 24px;
|
|
57
77
|
}
|
|
58
78
|
|
|
79
|
+
&__hidden-text {
|
|
80
|
+
@include sr-only();
|
|
81
|
+
}
|
|
82
|
+
|
|
59
83
|
&__dot {
|
|
60
84
|
position: absolute;
|
|
61
85
|
width: 8px;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export type Styles = {
|
|
2
|
+
center: string;
|
|
2
3
|
loader: string;
|
|
3
4
|
loader__dot: string;
|
|
5
|
+
' loader__hidden-text': string;
|
|
4
6
|
'loader__dot--banana': string;
|
|
5
7
|
'loader__dot--black': string;
|
|
6
8
|
'loader__dot--cherry': string;
|
|
@@ -14,6 +16,7 @@ export type Styles = {
|
|
|
14
16
|
'loader--large': string;
|
|
15
17
|
'loader--medium': string;
|
|
16
18
|
'loader--small': string;
|
|
19
|
+
overlay: string;
|
|
17
20
|
scale: string;
|
|
18
21
|
'scale-regular': string;
|
|
19
22
|
'scale-reverse': string;
|
package/components/Logo/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{_ as e}from"../../_tslib-51c8a283.js";import c from"react";import{g as l}from"../../color-
|
|
1
|
+
import{_ as e}from"../../_tslib-51c8a283.js";import c from"react";import{g as l}from"../../color-acb834c6.js";import"../../index-19b48c51.js";import"../../palette-f206f488.js";import"../../grid-11a70eb7.js";var t=function(e){var t=e.size,v=void 0===t?300:t,h=e.color,i=void 0===h?"black":h,r=e.className,a=void 0===r?"":r;return c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:v,role:"img","aria-labelledby":"logo-title",viewBox:"0 0 502 220",className:a},c.createElement("title",{id:"logo-title"},"Helsenorge"),c.createElement("g",{fill:l(i,500)},c.createElement("path",{d:"M39.8 2.5v26.9H17V2.5H1v69.9h16V43.6h22.8v28.8h16.1V2.5zM250.3 58.6V2.5h-16v69.9h43.5V58.6zM142.9 122.5c-16.1 0-27.4 13.6-27.4 33.1s11.2 33.1 27.4 33.1 27.4-13.6 27.4-33.1-11.3-33.1-27.4-33.1zm19 33.1c0 11.9-5 25.9-19 25.9s-19-13.9-19-25.9c0-11.9 5-25.9 19-25.9s19 14 19 25.9zM501 40c0-19.1-11.1-32.4-27-32.4-16.4 0-27.4 13.3-27.4 33.1 0 19.5 11.5 33.1 28 33.1 12.2 0 21.4-6 24.7-16.2l.5-1.6h-8.3l-.3.7c-2.8 6.2-8.8 9.8-16.6 9.8-12.9 0-18.5-11.5-19.5-22.7H501V40zm-8.3-3.2h-37.6c1-10.8 6.5-21.9 18.9-21.9 13.2 0 18.3 12.6 18.7 21.9zM30.4 122.4c-10.8 0-16.6 6.7-19.5 11.8v-9.9H3.3v62.6h8.1v-31.4c0-8.4 4.4-25.7 18.1-25.7 14 0 15.9 12 15.9 25v32.1h8.1v-32.1c.1-16.1-2.7-32.4-23.1-32.4zM134.3 59V43H157V30h-22.7V15.9H165V2.5h-46.4v69.9h47.3V59zM466.7 173.4v-16h22.7v-13h-22.7v-14.1h30.7v-13.4H451v69.9h47.3v-13.4zM246.7 140.5v-16.3h-7.6v62.6h8.1v-37.6l27.3-19.6v-9zM393.5 120.6l-14.7 10.5c-4.4-5.6-11.2-8.7-18.8-8.7-13.6 0-23.6 9.8-23.6 23.3 0 10.6 6.2 19.1 16 22.2l-16 17.5c-4 4.6-5.7 8.3-5.7 12.7 0 12.6 11.1 20.7 28.2 20.7 16.9 0 28.3-8.3 28.3-20.7 0-12.5-11.1-20.6-28.3-20.6-1.7 0-3.9.2-5.6.5l8-9c12.9-.7 22.2-10.4 22.2-23.3 0-2.8-.4-5.5-1.2-7.8 0-.1-.1-.2-.1-.3l11.2-8.1v-8.9zm-34.4 64.2c12.1 0 20 5.2 20 13.4s-7.8 13.5-20 13.5c-12.1 0-19.9-5.3-19.9-13.5 0-7.8 8.3-13.4 19.9-13.4zm.9-23c-8.8 0-15.2-6.8-15.2-16 0-9.3 6.4-16 15.2-16s15.2 6.7 15.2 16c0 9.2-6.4 16-15.2 16zM366.7 30.3c-6.6-2.3-13.5-4.7-13.5-9.2 0-4.8 4.2-7 9.3-7 5.4 0 9 4.5 9 8.5v.8h16.2v-.6c0-13-10.2-21.7-25.4-21.7-15.3 0-24.9 7.8-24.9 20.4 0 14.7 13.1 18.4 22.9 21.9 6.5 2.4 13.6 4.3 13.6 8.7 0 4.6-3.4 8-10.6 8-6.5 0-10.9-3.8-10.9-9.4v-.8h-16.7v.8c0 14.5 10.3 23.1 27.5 23.1 16.5 0 26-7.6 26-21.5 0-14.4-12.5-18.5-22.5-22z"})))},v=function(e){var t=e.size,v=void 0===t?300:t,h=e.color,i=void 0===h?"black":h,r=e.className,a=void 0===r?"":r;return c.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:v,role:"img","aria-labelledby":"logo-title",viewBox:"0 0 87 12",className:a},c.createElement("title",{id:"logo-title"},"Helsenorge"),c.createElement("g",{fill:l(i,500)},c.createElement("path",{d:"M5 .8v2.8H2.6V.8H1V8h1.6V5.1H5V8h1.6V.8zM20.9 6.6V.8h-1.6V8h4.5V6.6zM57.9 1.4c-1.7 0-2.8 1.4-2.8 3.4s1.2 3.4 2.8 3.4 2.8-1.4 2.8-3.4-1.1-3.4-2.8-3.4zm2 3.4c0 1.2-.5 2.7-2 2.7-1.4 0-2-1.4-2-2.7s.5-2.7 2-2.7 2 1.5 2 2.7zM86 4.7c0-2-1.1-3.3-2.8-3.3-1.7 0-2.8 1.4-2.8 3.4s1.2 3.4 2.9 3.4c1.2 0 2.2-.6 2.5-1.7l.1-.2H85v.1c-.3.6-.9 1-1.7 1-1.3 0-1.9-1.2-2-2.3H86v-.4zm-.9-.3h-3.9c.1-1.1.7-2.3 1.9-2.3 1.5 0 2 1.3 2 2.3zM49.2 1.4c-1.1 0-1.7.7-2 1.2v-1h-.8V8h.8V4.8c0-.9.5-2.6 1.9-2.6s1.6 1.2 1.6 2.6V8h.8V4.7c0-1.6-.2-3.3-2.3-3.3zM12.1 6.6V5h2.4V3.7h-2.4V2.2h3.2V.8h-4.8V8h4.9V6.6zM38.3 6.6V5h2.3V3.7h-2.3V2.2h3.2V.8h-4.8V8h4.9V6.6zM65.5 3.3V1.6h-.8V8h.8V4.1l2.8-2v-.9zM77.6 1.2l-1.5 1.1c-.5-.6-1.1-.9-1.9-.9-1.4 0-2.4 1-2.4 2.4 0 1.1.6 2 1.6 2.3l-1.6 1.8c-.4.5-.6.9-.6 1.3 0 1.3 1.1 2.1 2.9 2.1 1.7 0 2.9-.9 2.9-2.1 0-1.3-1.1-2.1-2.9-2.1h-.6l.8-.9c1.3-.1 2.3-1.1 2.3-2.4 0-.3 0-.6-.1-.8l1.2-.8v-1zM74 7.8c1.2 0 2.1.5 2.1 1.4 0 .8-.8 1.4-2.1 1.4-1.2 0-2-.5-2-1.4 0-.8.8-1.4 2-1.4zm.1-2.4c-.9 0-1.6-.7-1.6-1.7s.7-1.6 1.6-1.6c.9 0 1.6.7 1.6 1.6 0 1-.7 1.7-1.6 1.7zM30.4 3.7c-.7-.2-1.4-.5-1.4-1s.4-.7 1-.7.9.5.9.9V3h1.7v-.1c0-1.3-1.1-2.2-2.6-2.2-1.6 0-2.6.8-2.6 2.1 0 1.5 1.3 1.9 2.4 2.3.7.2 1.4.4 1.4.9s-.3.8-1.1.8c-.7 0-1.1-.4-1.1-1v-.1h-1.7v.1c0 1.5 1.1 2.4 2.8 2.4 1.7 0 2.7-.8 2.7-2.2-.1-1.5-1.4-2-2.4-2.3z"})))};export default function(l){var h=l.byline,i=void 0!==h&&h,r=e(l,["byline"]);return i?c.createElement(v,Object.assign({},r)):c.createElement(t,Object.assign({},r))}
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAgBzC,oBAAY,aAAa;IACvB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,KAAK,UAAU;CAChB;AAED,MAAM,WAAW,UAAU;IACzB,yBAAyB;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,yBAAyB;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,+BAA+B;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,+GAA+G;IAC/G,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,6BAA6B;IAC7B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,6BAA6B;IAC7B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,sCAAsC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,yBAAyB;IACzB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,2BAA2B;IAC3B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,uCAAuC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,4CAA4C;IAC5C,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,8BAA8B;IAC9B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,qCAAqC;IACrC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yDAAyD;IACzD,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,2DAA2D;IAC3D,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAgCD,QAAA,MAAM,KAAK,
|
|
1
|
+
{"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/Modal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoB,MAAM,OAAO,CAAC;AAgBzC,oBAAY,aAAa;IACvB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,KAAK,UAAU;CAChB;AAED,MAAM,WAAW,UAAU;IACzB,yBAAyB;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,yBAAyB;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,+BAA+B;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,+GAA+G;IAC/G,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,6BAA6B;IAC7B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,6BAA6B;IAC7B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,sCAAsC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,yBAAyB;IACzB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,2BAA2B;IAC3B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,uCAAuC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,4CAA4C;IAC5C,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,8BAA8B;IAC9B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,qCAAqC;IACrC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yDAAyD;IACzD,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,2DAA2D;IAC3D,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAgCD,QAAA,MAAM,KAAK,kFA0GT,CAAC;AAIH,eAAe,KAAK,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{M as s}from"../../Modal-
|
|
1
|
+
import{M as s}from"../../Modal-52971fb1.js";export{M as default}from"../../Modal-52971fb1.js";import"react";import"../../index-9b84fabc.js";import"../../palette-f206f488.js";import"../../Button-619210b9.js";import"../../_rollupPluginBabelHelpers-e1c7fe69.js";import"../../_tslib-51c8a283.js";import"../../color-acb834c6.js";import"../../index-19b48c51.js";import"../../grid-11a70eb7.js";import"../../constants-d1f48e8e.js";import"../../Loader-084dd998.js";import"../Loader/styles.module.scss";import"crypto";import"../../useHover-57ad4df9.js";import"../../useWindowSize-c22d7634.js";import"../Button/styles.module.scss";import"../../AlertSignFill-64bfef57.js";import"./styles.module.scss";import"../../Title-863af332.js";import"../Title/styles.module.scss";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -38,22 +38,22 @@
|
|
|
38
38
|
font-size: 20px;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
|
|
41
|
+
&--normal {
|
|
42
42
|
background-color: $white;
|
|
43
43
|
}
|
|
44
|
-
|
|
44
|
+
&--error {
|
|
45
45
|
background-color: $cherry100;
|
|
46
46
|
|
|
47
|
-
|
|
47
|
+
&__title {
|
|
48
48
|
color: $cherry600;
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
-
|
|
51
|
+
&--warning {
|
|
52
52
|
background-color: $banana50;
|
|
53
53
|
}
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
54
|
+
&--error,
|
|
55
|
+
&--warning {
|
|
56
|
+
&__title {
|
|
57
57
|
div:nth-child(2) {
|
|
58
58
|
padding-left: 8px;
|
|
59
59
|
}
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
width: 515px;
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
-
|
|
77
|
+
&--large {
|
|
78
78
|
@media (min-width: map-get($grid-breakpoints, md)) {
|
|
79
79
|
width: 612px;
|
|
80
80
|
}
|
|
@@ -82,78 +82,114 @@
|
|
|
82
82
|
width: 696px;
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
|
-
}
|
|
86
85
|
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
@media (max-width: map-get($grid-breakpoints, md)) {
|
|
92
|
-
right: 0px;
|
|
93
|
-
top: 0px;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
86
|
+
&--image {
|
|
87
|
+
max-height: calc(100vh - 24px);
|
|
88
|
+
max-width: calc(100vw - 24px);
|
|
89
|
+
width: 100%;
|
|
96
90
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
91
|
+
&__img {
|
|
92
|
+
max-height: calc(100vh - 185px);
|
|
93
|
+
max-width: calc(100vw - 40px);
|
|
94
|
+
width: 100%;
|
|
95
|
+
line-height: 0px;
|
|
96
|
+
overflow: hidden;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
&__text {
|
|
100
|
+
font-size: 12pt;
|
|
101
|
+
padding-top: 16px;
|
|
102
|
+
display: block;
|
|
103
|
+
}
|
|
101
104
|
}
|
|
102
|
-
|
|
103
|
-
|
|
105
|
+
|
|
106
|
+
&__close {
|
|
107
|
+
position: absolute;
|
|
108
|
+
right: 15px;
|
|
109
|
+
top: 15px;
|
|
110
|
+
@media (max-width: map-get($grid-breakpoints, md)) {
|
|
111
|
+
right: 0px;
|
|
112
|
+
top: 0px;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
&--image {
|
|
116
|
+
position: absolute;
|
|
117
|
+
right: 0px;
|
|
118
|
+
margin: 8px;
|
|
119
|
+
}
|
|
104
120
|
}
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
121
|
+
|
|
122
|
+
&__contentWrapper {
|
|
123
|
+
padding: 48px;
|
|
124
|
+
@media (max-width: map-get($grid-breakpoints, sm)) {
|
|
125
|
+
padding: 32px 24px;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
&--image {
|
|
129
|
+
padding: 48px 16px 32px;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
&__content {
|
|
133
|
+
margin: 20px 0;
|
|
134
|
+
|
|
135
|
+
&--image {
|
|
136
|
+
margin-top: 10px;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
&__title {
|
|
108
141
|
display: flex;
|
|
109
|
-
|
|
110
|
-
|
|
142
|
+
div {
|
|
143
|
+
display: flex;
|
|
144
|
+
justify-content: center;
|
|
145
|
+
align-items: center;
|
|
146
|
+
}
|
|
111
147
|
}
|
|
112
148
|
}
|
|
113
|
-
}
|
|
114
149
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
}
|
|
150
|
+
&__description {
|
|
151
|
+
white-space: pre-line;
|
|
152
|
+
}
|
|
118
153
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
border: 0;
|
|
124
|
-
background-color: transparent;
|
|
125
|
-
cursor: pointer;
|
|
126
|
-
|
|
127
|
-
&:hover,
|
|
128
|
-
&:active {
|
|
129
|
-
background-color: rgba(88, 171, 187, 0.1);
|
|
130
|
-
}
|
|
131
|
-
&:focus {
|
|
132
|
-
box-shadow: 0px 0px 0px 2px $black;
|
|
133
|
-
background-color: rgba(88, 171, 187, 0.1);
|
|
134
|
-
border-radius: 0;
|
|
154
|
+
&__lukkekryss {
|
|
155
|
+
height: 42px;
|
|
156
|
+
width: 42px;
|
|
157
|
+
padding: 0;
|
|
135
158
|
border: 0;
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
}
|
|
159
|
+
background-color: transparent;
|
|
160
|
+
cursor: pointer;
|
|
139
161
|
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
162
|
+
&:hover,
|
|
163
|
+
&:active {
|
|
164
|
+
background-color: rgba(88, 171, 187, 0.1);
|
|
165
|
+
}
|
|
166
|
+
&:focus {
|
|
167
|
+
box-shadow: 0px 0px 0px 2px $black;
|
|
168
|
+
background-color: rgba(88, 171, 187, 0.1);
|
|
169
|
+
border-radius: 0;
|
|
170
|
+
border: 0;
|
|
171
|
+
outline: none;
|
|
172
|
+
}
|
|
145
173
|
}
|
|
146
|
-
}
|
|
147
174
|
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
175
|
+
&__actions {
|
|
176
|
+
display: flex;
|
|
177
|
+
padding: 5px 0;
|
|
178
|
+
button:first-child {
|
|
179
|
+
margin-right: 24px;
|
|
180
|
+
}
|
|
153
181
|
}
|
|
154
182
|
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
183
|
+
/* animation on open */
|
|
184
|
+
@keyframes open {
|
|
185
|
+
0% {
|
|
186
|
+
opacity: 0;
|
|
187
|
+
transform: scale(0.9);
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
100% {
|
|
191
|
+
opacity: 1;
|
|
192
|
+
transform: scale(1);
|
|
193
|
+
}
|
|
158
194
|
}
|
|
159
195
|
}
|