@a-type/ui 6.0.1 → 6.0.2

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.
@@ -112,18 +112,20 @@
112
112
  border-radius: var(--m-radius-lg);
113
113
  }
114
114
 
115
- &[data-w='auto'] {
116
- width: auto;
117
- }
118
115
  &[data-w='full'] {
119
116
  width: 100%;
120
117
  }
121
- &[data-h='auto'] {
122
- height: auto;
123
- }
124
118
  &[data-h='full'] {
125
119
  height: 100%;
126
120
  }
121
+ &[data-full='width'],
122
+ &[data-full='true'] {
123
+ width: 100%;
124
+ }
125
+ &[data-full='height'],
126
+ &[data-full='true'] {
127
+ height: 100%;
128
+ }
127
129
 
128
130
  &[data-overflow='visible'] {
129
131
  overflow: visible;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@a-type/ui",
3
- "version": "6.0.1",
3
+ "version": "6.0.2",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "url": "https://github.com/a-type/ui"
@@ -112,18 +112,20 @@
112
112
  border-radius: var(--m-radius-lg);
113
113
  }
114
114
 
115
- &[data-w='auto'] {
116
- width: auto;
117
- }
118
115
  &[data-w='full'] {
119
116
  width: 100%;
120
117
  }
121
- &[data-h='auto'] {
122
- height: auto;
123
- }
124
118
  &[data-h='full'] {
125
119
  height: 100%;
126
120
  }
121
+ &[data-full='width'],
122
+ &[data-full='true'] {
123
+ width: 100%;
124
+ }
125
+ &[data-full='height'],
126
+ &[data-full='true'] {
127
+ height: 100%;
128
+ }
127
129
 
128
130
  &[data-overflow='visible'] {
129
131
  overflow: visible;