@slimr/css 2.1.88 → 2.1.92

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.
@@ -45,9 +45,9 @@ export interface ShorthandProps {
45
45
  /** shorthand for css:margin-left & margin-right */
46
46
  mx?: number | string;
47
47
  /** shorthand for css:max-width */
48
- maxW?: number | string;
48
+ maxw?: number | string;
49
49
  /** shorthand for css:min-width */
50
- minW?: number | string;
50
+ minw?: number | string;
51
51
  /** shorthand for css:padding */
52
52
  p?: number | string;
53
53
  /** shorthand for css:padding-left */
@@ -39,8 +39,8 @@ exports.shorthandPropsMap = {
39
39
  mr: "margin-right",
40
40
  mt: "margin-top",
41
41
  mb: "margin-bottom",
42
- maxW: "max-width",
43
- minW: "min-width",
42
+ maxw: "max-width",
43
+ minw: "min-width",
44
44
  p: "padding",
45
45
  pl: "padding-left",
46
46
  pr: "padding-right",
@@ -45,9 +45,9 @@ export interface ShorthandProps {
45
45
  /** shorthand for css:margin-left & margin-right */
46
46
  mx?: number | string
47
47
  /** shorthand for css:max-width */
48
- maxW?: number | string
48
+ maxw?: number | string
49
49
  /** shorthand for css:min-width */
50
- minW?: number | string
50
+ minw?: number | string
51
51
  /** shorthand for css:padding */
52
52
  p?: number | string
53
53
  /** shorthand for css:padding-left */
@@ -113,8 +113,8 @@ export const shorthandPropsMap: Record<
113
113
  mr: "margin-right",
114
114
  mt: "margin-top",
115
115
  mb: "margin-bottom",
116
- maxW: "max-width",
117
- minW: "min-width",
116
+ maxw: "max-width",
117
+ minw: "min-width",
118
118
  p: "padding",
119
119
  pl: "padding-left",
120
120
  pr: "padding-right",
@@ -45,9 +45,9 @@ export interface ShorthandProps {
45
45
  /** shorthand for css:margin-left & margin-right */
46
46
  mx?: number | string;
47
47
  /** shorthand for css:max-width */
48
- maxW?: number | string;
48
+ maxw?: number | string;
49
49
  /** shorthand for css:min-width */
50
- minW?: number | string;
50
+ minw?: number | string;
51
51
  /** shorthand for css:padding */
52
52
  p?: number | string;
53
53
  /** shorthand for css:padding-left */
@@ -35,8 +35,8 @@ export const shorthandPropsMap = {
35
35
  mr: "margin-right",
36
36
  mt: "margin-top",
37
37
  mb: "margin-bottom",
38
- maxW: "max-width",
39
- minW: "min-width",
38
+ maxw: "max-width",
39
+ minw: "min-width",
40
40
  p: "padding",
41
41
  pl: "padding-left",
42
42
  pr: "padding-right",
@@ -45,9 +45,9 @@ export interface ShorthandProps {
45
45
  /** shorthand for css:margin-left & margin-right */
46
46
  mx?: number | string
47
47
  /** shorthand for css:max-width */
48
- maxW?: number | string
48
+ maxw?: number | string
49
49
  /** shorthand for css:min-width */
50
- minW?: number | string
50
+ minw?: number | string
51
51
  /** shorthand for css:padding */
52
52
  p?: number | string
53
53
  /** shorthand for css:padding-left */
@@ -113,8 +113,8 @@ export const shorthandPropsMap: Record<
113
113
  mr: "margin-right",
114
114
  mt: "margin-top",
115
115
  mb: "margin-bottom",
116
- maxW: "max-width",
117
- minW: "min-width",
116
+ maxw: "max-width",
117
+ minw: "min-width",
118
118
  p: "padding",
119
119
  pl: "padding-left",
120
120
  pr: "padding-right",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@slimr/css",
3
- "version": "2.1.88",
3
+ "version": "2.1.92",
4
4
  "author": "Brian Dombrowski",
5
5
  "license": "ISC",
6
6
  "private": false,
@@ -34,6 +34,6 @@
34
34
  "start": "nodemon -w src -e '*' -x 'npm run build && cd ../demo && npm start'"
35
35
  },
36
36
  "dependencies": {
37
- "@slimr/util": "^3.2.74"
37
+ "@slimr/util": "^3.2.76"
38
38
  }
39
39
  }
@@ -45,9 +45,9 @@ export interface ShorthandProps {
45
45
  /** shorthand for css:margin-left & margin-right */
46
46
  mx?: number | string
47
47
  /** shorthand for css:max-width */
48
- maxW?: number | string
48
+ maxw?: number | string
49
49
  /** shorthand for css:min-width */
50
- minW?: number | string
50
+ minw?: number | string
51
51
  /** shorthand for css:padding */
52
52
  p?: number | string
53
53
  /** shorthand for css:padding-left */
@@ -113,8 +113,8 @@ export const shorthandPropsMap: Record<
113
113
  mr: "margin-right",
114
114
  mt: "margin-top",
115
115
  mb: "margin-bottom",
116
- maxW: "max-width",
117
- minW: "min-width",
116
+ maxw: "max-width",
117
+ minw: "min-width",
118
118
  p: "padding",
119
119
  pl: "padding-left",
120
120
  pr: "padding-right",