@goodhood-web/ui 1.1.0-development.6 → 1.1.0-development.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodhood-web/ui",
3
- "version": "1.1.0-development.6",
3
+ "version": "1.1.0-development.8",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {
File without changes
@@ -1,34 +0,0 @@
1
- @use 'sass:map';
2
-
3
- @mixin spacing($properties, $map: map.get($tokens, 'spacing')) {
4
- // Extract the correct spacing settings;
5
- @each $size, $i in $map {
6
- $value: map.get($tokens, 'spacing', $size);
7
- &-#{$size} {
8
- @each $property in $properties {
9
- #{$property}: #{$value};
10
- }
11
- }
12
- }
13
- }
14
-
15
- @mixin typography($type, $level) {
16
- // Extract the correct typography settings based on the provided type and level
17
- $typo-settings: map.get(map.get($tokens, $type), $level);
18
-
19
- // Ensure the level exists
20
- @if $typo-settings {
21
- margin-bottom: mapGet($typo-settings, 'paragraphSpacing');
22
- font-family: mapGet($typo-settings, 'fontFamily'), 'Helvetica Neue', 'Arial',
23
- sans-serif;
24
- font-size: mapGet($typo-settings, 'fontSize');
25
- font-weight: mapGet($typo-settings, 'fontWeight');
26
- letter-spacing: mapGet($typo-settings, 'letterSpacing');
27
- line-height: mapGet($typo-settings, 'lineHeight');
28
- text-decoration: mapGet($typo-settings, 'textDecoration');
29
- text-indent: mapGet($typo-settings, 'paragraphIndent');
30
- text-transform: mapGet($typo-settings, 'textCase');
31
- } @else {
32
- @error "Unknown typography type: #{$type} or level: #{$level}.";
33
- }
34
- }
package/styles/index.scss DELETED
@@ -1,3 +0,0 @@
1
- @import 'design-tokens';
2
- @import 'mixins';
3
- @import 'functions';
package/styles/reset.scss DELETED
@@ -1,67 +0,0 @@
1
- *,
2
- :after,
3
- :before {
4
- box-sizing: border-box;
5
- padding: 0;
6
- margin: 0;
7
- }
8
-
9
- [hidden] {
10
- display: none !important;
11
- }
12
-
13
- input {
14
- border: none;
15
- appearance: none;
16
-
17
- &[type='search'] {
18
- appearance: none;
19
- }
20
-
21
- &[type='file']::-webkit-file-upload-button {
22
- display: none;
23
- }
24
-
25
- &[type='number'] {
26
- appearance: textfield;
27
-
28
- &::-webkit-inner-spin-button,
29
- &::-webkit-outer-spin-button {
30
- appearance: none;
31
- }
32
- }
33
- }
34
-
35
- select {
36
- border: none;
37
- appearance: none;
38
- background-color: transparent;
39
-
40
- &::-ms-expand {
41
- display: none;
42
- }
43
- }
44
-
45
- textarea {
46
- border: none;
47
- appearance: none;
48
- -ms-overflow-style: none;
49
- resize: vertical;
50
- }
51
-
52
- button {
53
- border: none;
54
- background-color: transparent;
55
- text-align: left;
56
- }
57
-
58
- ul,
59
- ol {
60
- list-style-type: none;
61
- }
62
-
63
- img,
64
- svg {
65
- display: block;
66
- max-width: 100%;
67
- }