@wlloyalty/wll-react-sdk 1.0.38 → 1.0.41

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/README.md CHANGED
@@ -72,6 +72,34 @@ type(scope?): subject
72
72
  | `revert` | Reverting previous changes |
73
73
  | `wip` | Work in progress |
74
74
 
75
+ ### Automated Release Process
76
+
77
+ We use automated versioning and release management through GitHub Actions. Here's how it works:
78
+
79
+ 1. **Version Bumping**:
80
+ - When Pull Requests are merged to `main`, our automation will increment the package version
81
+ - The version bump follows semantic versioning based on conventional commit types:
82
+ - `feat:` commits trigger new minor versions
83
+ - `fix:` commits trigger new patch versions
84
+ - Adding `BREAKING CHANGE:` in the commit body triggers major versions
85
+
86
+ 2. **Release Triggering**:
87
+ New releases are automatically created when:
88
+ - A PR title starts with `feat:` or `fix:`
89
+ - A PR has the `release` label
90
+ - A PR title contains `RELEASE`
91
+
92
+ Other types of changes (like `docs:`, `style:`, `chore:`) won't trigger releases.
93
+
94
+ 3. **Changelog Generation**:
95
+ - Each release automatically generates an updated CHANGELOG.md
96
+ - The changelog is organized by commit types (Features, Bug Fixes, etc.)
97
+ - Release notes are created from the consolidated changes
98
+
99
+ 4. **NPM Publishing**:
100
+ - New versions are automatically published to NPM
101
+ - The package is always published with public access
102
+
75
103
  ### Development Workflow
76
104
 
77
105
  We use several tools to maintain code quality:
package/dist/index.js CHANGED
@@ -20446,12 +20446,16 @@ var Group = function (_a) {
20446
20446
  if (!groupData) {
20447
20447
  return /*#__PURE__*/React$1.createElement(View$2, {
20448
20448
  style: commonStyles.emptyContainer
20449
- }, /*#__PURE__*/React$1.createElement(Text$3, null, "No group data available"));
20449
+ }, /*#__PURE__*/React$1.createElement(Text, {
20450
+ variant: "body"
20451
+ }, "No group data available"));
20450
20452
  }
20451
20453
  if (!groupData.sections || groupData.sections.length === 0) {
20452
20454
  return /*#__PURE__*/React$1.createElement(View$2, {
20453
20455
  style: commonStyles.emptyContainer
20454
- }, /*#__PURE__*/React$1.createElement(Text$3, null, "No sections available"));
20456
+ }, /*#__PURE__*/React$1.createElement(Text, {
20457
+ variant: "body"
20458
+ }, "No sections available"));
20455
20459
  }
20456
20460
  var sortedSections = sortByPriority(groupData.sections);
20457
20461
  return /*#__PURE__*/React$1.createElement(View$2, null, sortedSections.map(function (section) {
@@ -20969,7 +20973,6 @@ TierTile.Empty = TierTileEmpty;
20969
20973
 
20970
20974
  var TileContainer = function (_a) {
20971
20975
  var tiles = _a.tiles;
20972
- var isDesktop = useResponsive$1().isDesktop;
20973
20976
  var renderTile = function (tile) {
20974
20977
  switch (tile.type) {
20975
20978
  case exports.TileType.Content:
@@ -21003,15 +21006,13 @@ var TileContainer = function (_a) {
21003
21006
  return tile.tileHeight === exports.TileHeight.Half;
21004
21007
  });
21005
21008
  return /*#__PURE__*/React__namespace.createElement(View$2, {
21006
- style: [styles.container, isDesktop && allHalfTiles ? {
21007
- aspectRatio: 2
21008
- } : {
21009
- aspectRatio: 1
21009
+ style: [styles.container, {
21010
+ aspectRatio: allHalfTiles ? 2 : 1
21010
21011
  }]
21011
21012
  }, tiles.map(function (tile, index) {
21012
21013
  return /*#__PURE__*/React__namespace.createElement(View$2, {
21013
21014
  key: tile.id,
21014
- style: [styles.tileContainer, index > 0 && {
21015
+ style: [styles.tileContainer, tile.tileHeight === exports.TileHeight.Half && styles.halfTileContainer, index > 0 && {
21015
21016
  marginTop: GRID_GAP
21016
21017
  }]
21017
21018
  }, renderTile(tile));
@@ -21019,10 +21020,14 @@ var TileContainer = function (_a) {
21019
21020
  };
21020
21021
  var styles = StyleSheet$1.create({
21021
21022
  container: {
21022
- flexDirection: 'column'
21023
+ flexDirection: 'column',
21024
+ flex: 1
21023
21025
  },
21024
21026
  tileContainer: {
21025
21027
  flex: 1
21028
+ },
21029
+ halfTileContainer: {
21030
+ flex: 1 // Take up half the height of a full tile
21026
21031
  }
21027
21032
  });
21028
21033