@seamly/web-ui 21.0.5-beta.2 → 21.0.5

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": "@seamly/web-ui",
3
- "version": "21.0.5-beta.2",
3
+ "version": "21.0.5",
4
4
  "main": "build/dist/lib/index.js",
5
5
  "types": "build/src/javascripts/index.d.ts",
6
6
  "module": "",
@@ -3,9 +3,45 @@
3
3
 
4
4
  // PARTS
5
5
  // ----
6
+ .#{$n}-input__checkbox {
7
+ margin-right: $spacer * 0.5;
8
+
9
+ &[aria-disabled='true'] {
10
+ opacity: 0.5;
11
+ }
12
+ }
13
+
6
14
  .#{$n}-label {
7
15
  display: block;
16
+ margin-bottom: $spacer * 0.25;
8
17
  color: $brand3;
9
18
  font-size: $fontsize-medium;
10
19
  font-weight: $fontweight-bold;
11
20
  }
21
+
22
+ .#{$n}-input__checkbox[aria-disabled='true'] + .#{$n}-label {
23
+ opacity: 0.5;
24
+ }
25
+
26
+ .#{$n}-input__select {
27
+ appearance: none;
28
+ width: 100%;
29
+ min-height: $buttonsize;
30
+ padding: $spacer * 0.5;
31
+ border: $thin-border solid $grey-b;
32
+ border-radius: $borderradius-small;
33
+ background-color: $white;
34
+ background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNnB4IiBoZWlnaHQ9IjE2cHgiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiPjxkZWZzLz48cGF0aCBmaWxsPSIjNEE0OEMxIiBkPSJNMi45OTgsNi41MDNjMC0wLjI0NywwLjA5MS0wLjQ5NCwwLjI3My0wLjY4N2MwLjM4LTAuNDAxLDEuMDEzLTAuNDE5LDEuNDE0LTAuMDRsMi41ODUsMi40NDYJYzAuMzk0LDAuMzczLDEuMDYsMC4zNzMsMS40NTQsMGwyLjU4Ni0yLjQ0NmMwLjQtMC4zNzksMS4wMzMtMC4zNjIsMS40MTMsMC4wNGMwLjM3OSwwLjQsMC4zNjIsMS4wMzQtMC4wMzksMS40MTRsLTIuNTg2LDIuNDQ2CWMtMS4xNTksMS4wOTYtMy4wNDMsMS4wOTYtNC4yMDMsMEwzLjMxLDcuMjI5QzMuMTAyLDcuMDMzLDIuOTk4LDYuNzY4LDIuOTk4LDYuNTAzeiIvPjwvc3ZnPg==');
35
+ background-repeat: no-repeat;
36
+ background-position: right $spacer * 0.5 top 50%;
37
+ background-size: $spacer * 0.75 auto;
38
+ color: $grey-e;
39
+ font-size: $fontsize-default;
40
+ resize: none;
41
+
42
+ &[aria-disabled='true'] {
43
+ border: $thin-border solid $grey-c;
44
+ background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNnB4IiBoZWlnaHQ9IjE2cHgiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiPjxkZWZzLz48cGF0aCBmaWxsPSIjYTNiNGJmIiBkPSJNMi45OTgsNi41MDNjMC0wLjI0NywwLjA5MS0wLjQ5NCwwLjI3My0wLjY4N2MwLjM4LTAuNDAxLDEuMDEzLTAuNDE5LDEuNDE0LTAuMDRsMi41ODUsMi40NDYJYzAuMzk0LDAuMzczLDEuMDYsMC4zNzMsMS40NTQsMGwyLjU4Ni0yLjQ0NmMwLjQtMC4zNzksMS4wMzMtMC4zNjIsMS40MTMsMC4wNGMwLjM3OSwwLjQsMC4zNjIsMS4wMzQtMC4wMzksMS40MTRsLTIuNTg2LDIuNDQ2CWMtMS4xNTksMS4wOTYtMy4wNDMsMS4wOTYtNC4yMDMsMEwzLjMxLDcuMjI5QzMuMTAyLDcuMDMzLDIuOTk4LDYuNzY4LDIuOTk4LDYuNTAzeiIvPjwvc3ZnPg==');
45
+ color: $grey-c;
46
+ }
47
+ }
@@ -1,16 +1,3 @@
1
- a,
2
- input,
3
- button {
4
- &:focus {
5
- outline: none;
6
- }
7
-
8
- &:focus-visible {
9
- outline: 1px dotted #212121;
10
- outline: 1px auto -webkit-focus-ring-color;
11
- }
12
- }
13
-
14
1
  .#{$n}-button {
15
2
  display: inline-block;
16
3
  margin: 0;
@@ -238,7 +238,7 @@
238
238
  border-radius: $borderradius-small;
239
239
  font-size: $fontsize-default;
240
240
 
241
- &:focus-visible {
241
+ &:focus {
242
242
  border: $thin-border solid $grey-b;
243
243
  }
244
244
 
@@ -249,6 +249,11 @@
249
249
  }
250
250
  }
251
251
 
252
+ .#{$n}-options__active-language {
253
+ color: $grey-e;
254
+ font-size: $fontsize-medium;
255
+ }
256
+
252
257
  .#{$n}-options__actions {
253
258
  display: flex;
254
259
  flex: 0 0 auto;
@@ -14,9 +14,8 @@
14
14
  color: $white;
15
15
  font-size: $fontsize-small;
16
16
 
17
- &:focus-visible {
17
+ &:focus {
18
18
  transform: translate(-50%, 0%) scale(1);
19
- outline: none;
20
19
  opacity: 1;
21
20
  }
22
21
  }
@@ -84,9 +84,9 @@
84
84
  border-radius: $borderradius-small;
85
85
  }
86
86
 
87
- .#{$n}-file-upload.#{$n}-focus-within:has(.#{$n}-upload__input:focus-visible) {
87
+ .#{$n}-file-upload.#{$n}-focus-within {
88
88
  outline: 1px dotted #212121;
89
- outline: 1px auto -webkit-focus-ring-color;
89
+ outline: 5px auto -webkit-focus-ring-color;
90
90
  }
91
91
 
92
92
  // VISUALLY HIDDEN
@@ -13,7 +13,7 @@
13
13
  transition: fill $transition;
14
14
  }
15
15
 
16
- &:hover .#{$n}-icon svg path {
16
+ &:hover svg path {
17
17
  fill: $white;
18
18
  }
19
19
  }
@@ -77,19 +77,16 @@
77
77
  fill: $white;
78
78
  }
79
79
 
80
- .#{$n}-conversation__item--source-agent
81
- .#{$n}-download.#{$n}-download-link:hover
82
- .#{$n}-icon
83
- path {
84
- fill: $white;
85
- }
86
-
87
80
  .#{$n}-input__text {
88
81
  transition: padding $transition, border $transition;
89
82
 
90
83
  &:hover {
91
84
  border-color: $interaction-dark;
92
85
  }
86
+
87
+ &:focus {
88
+ border-color: transparent;
89
+ }
93
90
  }
94
91
 
95
92
  .#{$n}-input__submit:not([aria-disabled='true']):hover .#{$n}-icon path {