@onereach/styles 0.1.6 → 0.1.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@onereach/styles",
3
- "version": "0.1.6",
4
- "description": "Styles for or-ui components",
3
+ "version": "0.1.10",
4
+ "description": "Styles for or-ui-next",
5
5
  "main": "./dist/index.min.css",
6
6
  "unpkg": "./dist/index.css",
7
7
  "style": "./dist/index.min.css",
@@ -38,5 +38,5 @@
38
38
  "sass": "^1.35.1",
39
39
  "stylelint": "^13.13.1"
40
40
  },
41
- "gitHead": "373d6749a71a38e38d96e6144b47da0a30e92157"
41
+ "gitHead": "e95193ce2ad198e5bde960860cbb5a01272a5370"
42
42
  }
@@ -40,7 +40,7 @@ $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
44
 
45
45
  &--content {
46
46
  width: 100%;
@@ -187,10 +187,10 @@ $textbox-label-color: var(--c-neutral-4) !default;
187
187
  }
188
188
  }
189
189
 
190
- &.has-slot {
191
- flex-direction: row;
192
- align-items: flex-end;
193
- }
190
+ //&.has-slot {
191
+ // flex-direction: row;
192
+ // align-items: flex-end;
193
+ //}
194
194
 
195
195
  &.has-counter {
196
196
  .#{$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
  }