@onereach/styles 0.1.9 → 0.1.11

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": "@onereach/styles",
3
- "version": "0.1.9",
3
+ "version": "0.1.11",
4
4
  "description": "Styles for or-ui-next",
5
5
  "main": "./dist/index.min.css",
6
6
  "unpkg": "./dist/index.css",
@@ -38,5 +38,5 @@
38
38
  "sass": "^1.35.1",
39
39
  "stylelint": "^13.13.1"
40
40
  },
41
- "gitHead": "38c8899af7984dc3da05648a3862111e38750ad4"
41
+ "gitHead": "326b4f160c6e53f42eb12645685d00bd9dc95346"
42
42
  }
@@ -40,7 +40,8 @@ $textbox-label-color: var(--c-neutral-4) !default;
40
40
 
41
41
  .#{$textbox-prefix}-textbox {
42
42
  display: flex;
43
- flex-direction: column;
43
+ align-items: flex-end;
44
+ width: 100%;
44
45
 
45
46
  &--content {
46
47
  width: 100%;
@@ -187,10 +188,10 @@ $textbox-label-color: var(--c-neutral-4) !default;
187
188
  }
188
189
  }
189
190
 
190
- &.has-slot {
191
- flex-direction: row;
192
- align-items: flex-end;
193
- }
191
+ //&.has-slot {
192
+ // flex-direction: row;
193
+ // align-items: flex-end;
194
+ //}
194
195
 
195
196
  &.has-counter {
196
197
  .#{$textbox-prefix}-textbox {
@@ -1,5 +1,5 @@
1
1
  @mixin active {
2
- &:not(&:disabled, &.is-loading, &.is-disabled) {
2
+ &:not(&:disabled, &.is-loading, &.is-disabled, &:read-only, &.is-readonly) {
3
3
  &:active {
4
4
  @content;
5
5
  }
@@ -1,5 +1,5 @@
1
1
  @mixin focus {
2
- &:not(&:disabled, &.is-loading) {
2
+ &:not(&:disabled, &:read-only, &.is-readonly, &.is-loading) {
3
3
  &:focus {
4
4
  @content;
5
5
  }
@@ -1,6 +1,6 @@
1
1
  @mixin hover {
2
2
  @media (hover: hover) and (pointer: fine) {
3
- &:not(&:disabled, &.is-loading, &.is-disabled) {
3
+ &:not(&:disabled, &.is-loading, &.is-disabled, &.is-readonly, &:read-only) {
4
4
  &:hover {
5
5
  @content;
6
6
  }
@@ -8,7 +8,7 @@
8
8
  }
9
9
 
10
10
  @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
11
- &:not(&:disabled, &.is-loading, &.is-disabled) {
11
+ &:not(&:disabled, &.is-loading, &.is-disabled, &.is-readonly, &:read-only) {
12
12
  &:hover {
13
13
  @content;
14
14
  }