@eightshift/frontend-libs-tailwind 1.1.0 → 1.1.1

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/CHANGELOG.md CHANGED
@@ -4,7 +4,11 @@ All notable changes to this project will be documented in this file.
4
4
 
5
5
  This projects adheres to [Semantic Versioning](https://semver.org/) and [Keep a CHANGELOG](https://keepachangelog.com/).
6
6
 
7
- ## [1.1.0] - 2024-06
7
+ ## [1.1.1] - 2024-07-11
8
+ - Fixed default global manifest.
9
+ - Removed erroneous styles.
10
+
11
+ ## [1.1.0] - 2024-07-09
8
12
  - Updated dependencies.
9
13
  - Tweaked fetch script to use WP `apiFetch`.
10
14
  - Added new options to the fetch script: `truncateTitle` and `labelProp`
@@ -23,5 +27,6 @@ This projects adheres to [Semantic Versioning](https://semver.org/) and [Keep a
23
27
 
24
28
  [Unreleased]: https://github.com/infinum/eightshift-frontend-libs-tailwind/compare/master...HEAD
25
29
 
30
+ [1.1.1]: https://github.com/infinum/eightshift-frontend-libs-tailwind/compare/1.1.0...1.1.1
26
31
  [1.1.0]: https://github.com/infinum/eightshift-frontend-libs-tailwind/compare/1.0.0...1.1.0
27
32
  [1.0.0]: https://github.com/infinum/eightshift-frontend-libs-tailwind/compare/0.0.1...1.0.0
@@ -7,6 +7,3 @@
7
7
  * Usage: `WordPress frontend screen`.
8
8
  *
9
9
  */
10
-
11
- /* OpenLayers */
12
- @import '~ol/ol.css';
@@ -5,10 +5,28 @@
5
5
  "foreground": "#0F766E",
6
6
  "globalVariables": {
7
7
  "breakpoints": {
8
- "mobile": 27,
9
- "tablet": 80,
10
- "desktop": 90,
11
- "large": 120
8
+ "sm": 40,
9
+ "md": 80,
10
+ "lg": 90,
11
+ "xl": 120
12
+ },
13
+ "breakpointData": {
14
+ "sm": {
15
+ "icon": "screenMobile",
16
+ "label": "Mobile"
17
+ },
18
+ "md": {
19
+ "icon": "screenTablet",
20
+ "label": "Tablet"
21
+ },
22
+ "lg": {
23
+ "icon": "screenDesktop",
24
+ "label": "Desktop"
25
+ },
26
+ "xl": {
27
+ "icon": "screenLarge",
28
+ "label": "Large"
29
+ }
12
30
  }
13
31
  }
14
32
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eightshift/frontend-libs-tailwind",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "A framework for creating modern Gutenberg themes with styling provided by Tailwind CSS.",
5
5
  "author": {
6
6
  "name": "Eightshift team",
@@ -16,7 +16,7 @@ import apiFetch from '@wordpress/api-fetch';
16
16
  * @param {string} [options.fields='id,title'] - A comma-separated list of field names to fetch from the API. Good to include as it makes the query faster and the output terser.
17
17
  * @param {SearchColumnsConfig} [options.searchColumns] - Allows narrowing the search scope.
18
18
  * @param {boolean} [options.noUnescapeTitle] - If `true`, the post title will not unescape HTML entities.
19
- * @param {Number?} [options.truncateTitle=26] - If set, the title will be truncated to this length.
19
+ * @param {Number?} [options.truncateTitle=32] - If set, the title will be truncated to this length.
20
20
  *
21
21
  * @returns {Function} The `(searchText, [abortSignal]) => Promise` function.
22
22
  *