@progressio_resources/gravity-design-system 2.0.8 → 2.0.10
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/esm2022/lib/components/gravity-attach-file/gravity-attach-file.component.mjs +1 -1
- package/esm2022/lib/components/gravity-button/gravity-button.component.mjs +6 -3
- package/esm2022/lib/components/gravity-calendar/gravity-calendar.component.mjs +3 -3
- package/esm2022/lib/components/gravity-checkbox/gravity-checkbox.component.mjs +10 -4
- package/esm2022/lib/components/gravity-dialog/gravity-dialog.component.mjs +1 -1
- package/esm2022/lib/components/gravity-dropdown-list/gravity-dropdown-list.component.mjs +3 -3
- package/esm2022/lib/components/gravity-icon/gravity-icon.component.mjs +8 -3
- package/esm2022/lib/components/gravity-notification/gravity-notification.component.mjs +1 -1
- package/esm2022/lib/components/gravity-notification-instant/gravity-notification-instant-container.component.mjs +1 -1
- package/esm2022/lib/components/gravity-text-field/gravity-text-field.component.mjs +3 -3
- package/fesm2022/progressio_resources-gravity-design-system.mjs +30 -16
- package/fesm2022/progressio_resources-gravity-design-system.mjs.map +1 -1
- package/lib/components/gravity-button/gravity-button.component.d.ts +4 -3
- package/lib/components/gravity-checkbox/gravity-checkbox.component.d.ts +5 -1
- package/lib/components/gravity-dropdown-list/gravity-dropdown-list.component.d.ts +1 -1
- package/lib/components/gravity-icon/gravity-icon.component.d.ts +2 -1
- package/package.json +1 -1
- package/src/lib/assets/icons/calendar.svg +4 -13
- package/src/lib/assets/icons/copy.svg +4 -7
- package/src/lib/assets/icons/download.svg +4 -6
- package/src/lib/assets/icons/eye_closed.svg +4 -7
- package/src/lib/assets/icons/eye_open.svg +10 -4
- package/src/lib/assets/icons/forgot_password.svg +10 -6
- package/src/lib/assets/icons/lock.svg +4 -5
- package/src/lib/assets/icons/log_out.svg +5 -0
- package/src/lib/assets/icons/mail.svg +4 -5
- package/src/lib/assets/icons/my_profile.svg +8 -0
- package/src/lib/assets/icons/search.svg +4 -7
- package/src/lib/assets/icons/settings.svg +7 -11
- package/src/lib/assets/icons/show_less.svg +7 -5
- package/src/lib/assets/icons/show_more.svg +7 -5
- package/src/lib/assets/icons/success.svg +5 -0
- package/src/lib/assets/icons/unlock.svg +5 -0
- package/src/lib/assets/icons/unsuccess.svg +5 -0
- package/src/lib/assets/icons/update.svg +12 -0
- package/src/lib/assets/json/icons.json +17 -17
- package/src/lib/styles/foundations/spacing/_spacing.scss +11 -10
- package/src/lib/assets/icons/check.svg +0 -3
- package/src/lib/assets/icons/edit.svg +0 -8
- package/src/lib/assets/icons/logout.svg +0 -9
- package/src/lib/assets/icons/notifications/error.svg +0 -6
- package/src/lib/assets/icons/notifications/success.svg +0 -3
- package/src/lib/assets/icons/user.svg +0 -6
- package/src/lib/assets/icons/x.svg +0 -6
- /package/src/lib/assets/icons/{notifications/warning.svg → warning.svg} +0 -0
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
$scss-types: padding, margin;
|
|
2
|
-
$spacing-sizes: xs, sm, md, lg, xl, xxl, xxxl, xxxxl;
|
|
2
|
+
$spacing-sizes: none, xs, sm, md, lg, xl, xxl, xxxl, xxxxl;
|
|
3
3
|
$spacing-types: '', -top, -bottom, -left, -right, -block, -inline;
|
|
4
4
|
|
|
5
5
|
$spacing-values: (
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
6
|
+
none: 0,
|
|
7
|
+
xs: 0.5rem,
|
|
8
|
+
sm: 1rem,
|
|
9
|
+
md: 1.5rem,
|
|
10
|
+
lg: 2rem,
|
|
11
|
+
xl: 3rem,
|
|
12
|
+
xxl: 4rem,
|
|
13
|
+
xxxl: 6rem,
|
|
14
|
+
xxxxl: 12rem
|
|
14
15
|
);
|
|
15
16
|
|
|
16
17
|
@each $scss-type in $scss-types {
|
|
@@ -18,7 +19,7 @@ $spacing-values: (
|
|
|
18
19
|
@each $spacing-type in $spacing-types {
|
|
19
20
|
//.gravity-{{padding,margin}}-{{top,bottom,left,right,block,inline}}-{{xs,sm,md,lg,xl,xxl,xxxl,xxxxl}}
|
|
20
21
|
.gravity-#{$scss-type}#{$spacing-type}-#{$size} {
|
|
21
|
-
#{$scss-type}#{$spacing-type}: map-get($spacing-values, $size);
|
|
22
|
+
#{$scss-type}#{$spacing-type}: map-get($spacing-values, $size) !important;
|
|
22
23
|
}
|
|
23
24
|
}
|
|
24
25
|
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="17.641" height="13.755" viewBox="0 0 17.641 13.755">
|
|
2
|
-
<path d="M5.251,12.755a.731.731,0,0,1-.531-.233L.219,7.738a.834.834,0,0,1,0-1.127.72.72,0,0,1,1.061,0L5.249,10.83l9.97-10.6a.72.72,0,0,1,1.061,0,.834.834,0,0,1,0,1.127L5.779,12.522a.725.725,0,0,1-.531.233Z" transform="translate(0.571 0.5)" fill="var(--icon-color, #888)" stroke="var(--icon-color, #888)" stroke-miterlimit="10" stroke-width="1"/>
|
|
3
|
-
</svg>
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
|
|
2
|
-
<g transform="translate(1.29 2.499)">
|
|
3
|
-
<path d="M10,15.833,15.833,10l2.5,2.5L12.5,18.333Z" transform="translate(-1.29 -2.499)" fill="none" stroke="var(--icon-color, #888)" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.667"/>
|
|
4
|
-
<path d="M15,10.833l-1.25-6.25L1.667,1.667,4.583,13.75,10.833,15Z" transform="translate(-1.29 -2.499)" fill="none" stroke="var(--icon-color, #888)" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.667"/>
|
|
5
|
-
<path d="M1.667,1.667,7.988,7.988" transform="translate(-1.29 -2.499)" stroke="var(--icon-color, #888)" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.667"/>
|
|
6
|
-
<circle cx="1.667" cy="1.667" r="1.667" transform="translate(6.21 5.001)" fill="none" stroke="var(--icon-color, #888)" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.667"/>
|
|
7
|
-
</g>
|
|
8
|
-
</svg>
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
|
|
2
|
-
<g transform="translate(0.312 0.312)">
|
|
3
|
-
<g transform="translate(2.422 2.422)">
|
|
4
|
-
<path d="M7.344,17.033H4.115A1.615,1.615,0,0,1,2.5,15.417V4.115A1.615,1.615,0,0,1,4.115,2.5H7.344" transform="translate(-2.5 -2.5)" fill="none" stroke="var(--icon-color, #888)" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.667"/>
|
|
5
|
-
<path d="M13.333,13.907,17.37,9.87,13.333,5.833" transform="translate(-2.838 -2.604)" fill="none" stroke="var(--icon-color, #888)" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.667"/>
|
|
6
|
-
<line x1="9.688" transform="translate(4.844 7.266)" stroke="var(--icon-color, #888)" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.667"/>
|
|
7
|
-
</g>
|
|
8
|
-
</g>
|
|
9
|
-
</svg>
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="13.58" height="17.487" viewBox="0 0 13.58 17.487">
|
|
2
|
-
<g transform="translate(1.413 1.664)">
|
|
3
|
-
<path d="M0,0,10.754,10.016" transform="translate(0 2.071)" fill="none" stroke="var(--icon-color, #888)" stroke-linecap="round" stroke-width="2"/>
|
|
4
|
-
<path d="M0,0,12.766,7.058" transform="matrix(0.259, -0.966, 0.966, 0.259, 0.338, 12.331)" fill="none" stroke="var(--icon-color, #888)" stroke-linecap="round" stroke-width="2"/>
|
|
5
|
-
</g>
|
|
6
|
-
</svg>
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="18.598" height="20.672" viewBox="0 0 18.598 20.672">
|
|
2
|
-
<g transform="translate(-5 -3.5)">
|
|
3
|
-
<path d="M22.6,28.724V26.649A4.149,4.149,0,0,0,18.448,22.5h-8.3A4.149,4.149,0,0,0,6,26.649v2.075" transform="translate(0 -5.552)" fill="none" stroke="var(--icon-color, #888)" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"/>
|
|
4
|
-
<path d="M20.3,8.649A4.149,4.149,0,1,1,16.149,4.5,4.149,4.149,0,0,1,20.3,8.649Z" transform="translate(-1.851)" fill="none" stroke="var(--icon-color, #888)" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"/>
|
|
5
|
-
</g>
|
|
6
|
-
</svg>
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="19.166" height="24.645" viewBox="0 0 19.166 24.645">
|
|
2
|
-
<g transform="translate(2.12 2.497)">
|
|
3
|
-
<path d="M0,0,14.926,13.9" transform="translate(0 2.875)" stroke="var(--icon-color, #888)" stroke-linecap="round" stroke-width="3"/>
|
|
4
|
-
<path d="M0,0,17.72,9.8" transform="matrix(0.259, -0.966, 0.966, 0.259, 0.469, 17.116)" stroke="var(--icon-color, #888)" stroke-linecap="round" stroke-width="3"/>
|
|
5
|
-
</g>
|
|
6
|
-
</svg>
|
|
File without changes
|