tosijs-ui 1.5.11 → 1.5.12

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/dist/icons.js CHANGED
@@ -825,7 +825,10 @@ export function resolveIcon(prop, parts) {
825
825
  const segments = prop.split('$');
826
826
  // Last segment is the base (sets the size), rest are overlays
827
827
  const base = resolveIcon(segments[segments.length - 1], []);
828
- const overlays = segments.slice(0, -1).map((name) => {
828
+ const overlays = segments
829
+ .slice(0, -1)
830
+ .reverse()
831
+ .map((name) => {
829
832
  const icon = resolveIcon(name, []);
830
833
  Object.assign(icon.style, {
831
834
  position: 'absolute',