@beeq/tailwindcss 1.6.1 → 1.8.0-beta.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.
Files changed (3) hide show
  1. package/index.cjs.js +18 -13
  2. package/index.esm.js +18 -13
  3. package/package.json +23 -22
package/index.cjs.js CHANGED
@@ -147,6 +147,22 @@ const LogicalProperties = plugin(function ({
147
147
  'border-ie': value => ({
148
148
  'border-inline-end': value
149
149
  }),
150
+ 'p-b': value => ({
151
+ 'padding-block': value
152
+ }),
153
+ 'p-bs': value => ({
154
+ 'padding-block-start': value
155
+ }),
156
+ 'p-be': value => ({
157
+ 'padding-block-end': value
158
+ }),
159
+ 'p-i': value => ({
160
+ 'padding-inline': value
161
+ })
162
+ }, {
163
+ values: theme('spacing')
164
+ });
165
+ matchUtilities({
150
166
  'inset-b': value => ({
151
167
  'inset-block': value
152
168
  }),
@@ -176,21 +192,10 @@ const LogicalProperties = plugin(function ({
176
192
  }),
177
193
  'm-i': value => ({
178
194
  'margin-inline': value
179
- }),
180
- 'p-b': value => ({
181
- 'padding-block': value
182
- }),
183
- 'p-bs': value => ({
184
- 'padding-block-start': value
185
- }),
186
- 'p-be': value => ({
187
- 'padding-block-end': value
188
- }),
189
- 'p-i': value => ({
190
- 'padding-inline': value
191
195
  })
192
196
  }, {
193
- values: theme('spacing')
197
+ values: theme('spacing'),
198
+ supportsNegativeValues: true
194
199
  });
195
200
  });
196
201
 
package/index.esm.js CHANGED
@@ -143,6 +143,22 @@ const LogicalProperties = plugin(function ({
143
143
  'border-ie': value => ({
144
144
  'border-inline-end': value
145
145
  }),
146
+ 'p-b': value => ({
147
+ 'padding-block': value
148
+ }),
149
+ 'p-bs': value => ({
150
+ 'padding-block-start': value
151
+ }),
152
+ 'p-be': value => ({
153
+ 'padding-block-end': value
154
+ }),
155
+ 'p-i': value => ({
156
+ 'padding-inline': value
157
+ })
158
+ }, {
159
+ values: theme('spacing')
160
+ });
161
+ matchUtilities({
146
162
  'inset-b': value => ({
147
163
  'inset-block': value
148
164
  }),
@@ -172,21 +188,10 @@ const LogicalProperties = plugin(function ({
172
188
  }),
173
189
  'm-i': value => ({
174
190
  'margin-inline': value
175
- }),
176
- 'p-b': value => ({
177
- 'padding-block': value
178
- }),
179
- 'p-bs': value => ({
180
- 'padding-block-start': value
181
- }),
182
- 'p-be': value => ({
183
- 'padding-block-end': value
184
- }),
185
- 'p-i': value => ({
186
- 'padding-inline': value
187
191
  })
188
192
  }, {
189
- values: theme('spacing')
193
+ values: theme('spacing'),
194
+ supportsNegativeValues: true
190
195
  });
191
196
  });
192
197
 
package/package.json CHANGED
@@ -1,25 +1,26 @@
1
1
  {
2
- "name": "@beeq/tailwindcss",
3
- "version": "1.6.1",
4
- "license": "Apache-2.0",
5
- "description": "BEEQ's opinionated TailwindCSS configuration",
6
- "main": "./index.cjs.js",
7
- "module": "./index.esm.js",
8
- "types": "./src/index.d.ts",
9
- "peerDependencies": {
10
- "tailwindcss": "^3.4.4",
11
- "tailwindcss-theme-swapper": "^0.12.0"
12
- },
13
- "repository": {
14
- "type": "git",
15
- "url": "https://github.com/Endava/BEEQ"
16
- },
17
- "exports": {
18
- "./package.json": "./package.json",
19
- ".": {
20
- "module": "./index.esm.js",
21
- "import": "./index.cjs.mjs",
22
- "default": "./index.cjs.js"
2
+ "name": "@beeq/tailwindcss",
3
+ "version": "1.8.0-beta.0",
4
+ "license": "Apache-2.0",
5
+ "description": "BEEQ's opinionated TailwindCSS configuration",
6
+ "main": "./index.cjs.js",
7
+ "module": "./index.esm.js",
8
+ "types": "./src/index.d.ts",
9
+ "peerDependencies": {
10
+ "tailwindcss": "^3.4.4",
11
+ "tailwindcss-theme-swapper": "^0.12.0"
12
+ },
13
+ "repository": {
14
+ "type": "git",
15
+ "url": "https://github.com/Endava/BEEQ"
16
+ },
17
+ "exports": {
18
+ "./package.json": "./package.json",
19
+ ".": {
20
+ "module": "./index.esm.js",
21
+ "types": "./index.esm.d.ts",
22
+ "import": "./index.cjs.mjs",
23
+ "default": "./index.cjs.js"
24
+ }
23
25
  }
24
- }
25
26
  }