@uqds/form 0.0.12-alpha.0 → 0.0.13-alpha.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uqds/form",
3
- "version": "0.0.12-alpha.0",
3
+ "version": "0.0.13-alpha.0",
4
4
  "description": "Form element style rules",
5
5
  "keywords": [
6
6
  "uqds",
@@ -42,8 +42,8 @@
42
42
  "url": "https://github.com/uq-its-ss/design-system/issues"
43
43
  },
44
44
  "dependencies": {
45
- "@uqds/core": "^0.0.12-alpha.0",
46
- "@uqds/icon": "^0.0.12-alpha.0"
45
+ "@uqds/core": "^1.0.0",
46
+ "@uqds/icon": "^0.0.13-alpha.0"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@svgdotjs/svg.js": "^3.0.16",
@@ -54,5 +54,5 @@
54
54
  "svgdom": "^0.1.8",
55
55
  "svgo": "^1.3.2"
56
56
  },
57
- "gitHead": "125e487dfd2f7e46f2b29cc0e8646b92e61d6f2c"
57
+ "gitHead": "07bdc5a8169d386baae8ea4ffa5b4a75fc7e9ebb"
58
58
  }
@@ -74,7 +74,7 @@ $use-encapsulation: false !default;
74
74
  display: inline-flex;
75
75
  font-size: core.$font-size;
76
76
  line-height: core.$line-height;
77
- margin-bottom: core.$space-m;
77
+ margin-bottom: core.$space-l;
78
78
 
79
79
  input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
80
80
  select,
@@ -84,8 +84,8 @@ $use-encapsulation: false !default;
84
84
  + textarea {
85
85
  max-width: none;
86
86
  min-width: 200px;
87
- margin-left: core.$space;
88
- margin-right: core.$space-m;
87
+ margin-left: core.$space-m;
88
+ margin-right: core.$space-l;
89
89
  width: auto;
90
90
  }
91
91
 
@@ -131,11 +131,11 @@ $use-encapsulation: false !default;
131
131
  font-size: core.$font-size;
132
132
  font-weight: core.$font-weight-normal;
133
133
  line-height: $form-checkbox-size;
134
- margin-bottom: core.$space;
134
+ margin-bottom: core.$space-m;
135
135
  margin-left: core.$space-s;
136
136
  margin-right: $form-spacing;
137
137
  padding-top: core.$space-xs;
138
- padding-left: core.$space-m;
138
+ padding-left: core.$space-l;
139
139
  vertical-align: top;
140
140
  }
141
141
 
@@ -171,7 +171,7 @@ $use-encapsulation: false !default;
171
171
  font-size: $form-text-size;
172
172
  color: $form-text-color;
173
173
  line-height: core.$line-height-ui;
174
- margin-bottom: core.$space-m;
174
+ margin-bottom: core.$space-l;
175
175
 
176
176
  &:focus {
177
177
  border-color: $form-border-color-focus;
@@ -216,13 +216,13 @@ $use-encapsulation: false !default;
216
216
  }
217
217
 
218
218
  &.uq-input--large {
219
- padding: 1.15625rem core.$space-m;
219
+ padding: 1.15625rem core.$space-l;
220
220
  border-radius: core.$space-xs;
221
221
  }
222
222
 
223
223
  + .uq-error-message,
224
224
  + .uq-success-message {
225
- margin-top: -(core.$space-m);
225
+ margin-top: -(core.$space-l);
226
226
  border-radius: 0 0 $form-border-radius $form-border-radius;
227
227
  }
228
228
  }
@@ -292,11 +292,11 @@ $use-encapsulation: false !default;
292
292
  font-size: core.$font-size;
293
293
  font-weight: core.$font-weight-normal;
294
294
  line-height: core.$line-height-h;
295
- margin-bottom: core.$space;
295
+ margin-bottom: core.$space-m;
296
296
  margin-left: core.$space-s;
297
297
  margin-right: $form-spacing;
298
298
  padding-top: core.$space-compressed-xs;
299
- padding-left: core.$space-m;
299
+ padding-left: core.$space-l;
300
300
  vertical-align: top;
301
301
  }
302
302
 
@@ -423,25 +423,25 @@ $use-encapsulation: false !default;
423
423
  background-color: lighten(core.$alert-light, 10%);
424
424
  border: 1px solid core.$alert;
425
425
  border-left-width: core.$space-xs;
426
- padding: core.$space;
427
- margin-bottom: core.$space-m;
426
+ padding: core.$space-m;
427
+ margin-bottom: core.$space-l;
428
428
 
429
429
  &__title {
430
430
  color: core.$text;
431
431
  font-size: core.$font-size-m;
432
432
  font-weight: core.$font-weight-bold;
433
433
  line-height: core.$line-height-h;
434
- margin: core.$space-none core.$space-none core.$space core.$space-none;
434
+ margin: core.$space-none core.$space-none core.$space-m core.$space-none;
435
435
  }
436
436
 
437
437
  &_body {
438
438
  color: core.$text;
439
- font-size: core.$space;
439
+ font-size: core.$space-m;
440
440
  }
441
441
 
442
442
  &__list {
443
443
  color: core.$text;
444
- font-size: core.$space;
444
+ font-size: core.$space-m;
445
445
  margin: core.$space-none;
446
446
 
447
447
  &__item {
@@ -469,9 +469,9 @@ $use-encapsulation: false !default;
469
469
  font-style: normal;
470
470
  font-weight: core.$font-weight-normal;
471
471
  line-height: core.$line-height;
472
- margin-bottom: core.$space-m;
473
- padding: calc(#{core.$space-s} - 1px) core.$space core.$space-s
474
- core.$space-xxl;
472
+ margin-bottom: core.$space-l;
473
+ padding: calc(#{core.$space-s} - 1px) core.$space-m core.$space-s
474
+ core.$space-xxxl;
475
475
  position: relative;
476
476
 
477
477
  &::before {
@@ -481,7 +481,7 @@ $use-encapsulation: false !default;
481
481
  background-repeat: no-repeat;
482
482
  background-size: contain;
483
483
  height: core.$space-compressed-xl;
484
- left: core.$space;
484
+ left: core.$space-m;
485
485
  margin-right: core.$space-s;
486
486
  margin-top: calc(#{- (core.$space-compressed-xl) * 0.5} - 1px);
487
487
  position: absolute;
@@ -7,11 +7,11 @@ $form-border-width: 1px;
7
7
  $form-color-error: core.$alert;
8
8
  $form-color-success: core.$success;
9
9
  $form-description-size: core.$font-size-xs;
10
- $form-element-height: core.$space-xl;
10
+ $form-element-height: core.$space-xxl;
11
11
  $form-focus-color: core.$link;
12
12
  $form-label-size: core.$font-size-s;
13
13
  $form-placeholder-color: core.$uq-neutral-dark40;
14
- $form-spacing: core.$space;
14
+ $form-spacing: core.$space-m;
15
15
  $form-text-color: core.$text;
16
16
  $form-text-disabled-color: core.$uq-neutral-dark20;
17
17
  $form-text-size: core.$font-size;