@mapbox/assembly 1.9.1 → 1.10.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": "@mapbox/assembly",
3
- "version": "1.9.1",
3
+ "version": "1.10.0",
4
4
  "description": "A CSS framework",
5
5
  "main": "index.js",
6
6
  "files": [
package/src/layout.css CHANGED
@@ -163,13 +163,18 @@
163
163
  */
164
164
 
165
165
  /**
166
- * Set `auto` margins on left and right. This pattern is useful for horizontally centering block elements.
166
+ * Set `auto` margins on left and right. This pattern is useful for horizontally centering block elements
167
+ * or aligning block elements to the start or end of their container.
167
168
  *
168
169
  * @example
169
170
  * <div class='mx-auto w60 bg-darken10'>mx-auto</div>
171
+ * <div class='ml-auto w60 bg-darken10'>ml-auto</div>
172
+ * <div class='mr-auto w60 bg-darken10'>mr-auto</div>
170
173
  * @memberof Margins
171
174
  */
172
175
  .mx-auto { margin-left: auto !important; margin-right: auto !important; }
176
+ .ml-auto { margin-left: auto !important; }
177
+ .mr-auto { margin-right: auto !important; }
173
178
 
174
179
  /**
175
180
  * All padding classes fit the following pattern: `m<side><size>`.
package/src/theming.css CHANGED
@@ -196,6 +196,8 @@
196
196
  * <div class='cursor-notallowed'>cursor-notallowed</div>
197
197
  * <div class='cursor-grab'>cursor-grab</div>
198
198
  * <div class='cursor-grabbing'>cursor-grabbing</div>
199
+ * <div class='cursor-col-resize'>cursor-col-resize</div>
200
+ * <div class='cursor-row-resize'>cursor-row-resize</div>
199
201
  */
200
202
  .cursor-default { cursor: default !important; }
201
203
  .cursor-pointer { cursor: pointer !important; }
@@ -204,6 +206,8 @@
204
206
  .cursor-notallowed { cursor: not-allowed !important; }
205
207
  .cursor-grab { cursor: grab !important; }
206
208
  .cursor-grabbing { cursor: grabbing !important; }
209
+ .cursor-col-resize { cursor: col-resize !important; }
210
+ .cursor-row-resize { cursor: row-resize !important; }
207
211
 
208
212
  /** @endgroup */
209
213