@odx/icons 4.0.0-rc.17 → 4.0.0-rc.19

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.
@@ -0,0 +1,8 @@
1
+ declare const _default: import("@odx/assets-utils").OdxAsset;
2
+ export default _default;
3
+ declare global {
4
+ interface _OdxIcon {
5
+ 'core::finance-service': 'finance-service';
6
+ }
7
+ }
8
+ //# sourceMappingURL=finance-service.d.ts.map
@@ -0,0 +1,2 @@
1
+ import { OdxAssetRegistry } from '@odx/assets-utils';
2
+ export default OdxAssetRegistry.registerAsset({ namespace: 'odx-icon', set: 'core', name: 'finance-service' }, `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M7.21 13.28c-.2.15-.36.39-.45.7h1.75v.72H6.63v.58h1.88V16H6.75q.15.48.45.72c.3.24.44.24.72.24s.49-.08.68-.24.34-.38.44-.67l.97.51c-.2.46-.48.81-.85 1.07a2.1 2.1 0 0 1-1.23.37c-.6 0-1.1-.17-1.53-.52-.42-.35-.7-.84-.85-1.48h-.54v-.72h.44v-.58h-.44v-.72h.55c.15-.63.43-1.12.85-1.46.42-.35.93-.52 1.52-.52.47 0 .89.12 1.25.36s.64.6.83 1.09l-.97.51c-.1-.3-.25-.52-.44-.68-.19-.15-.41-.23-.68-.23s-.51.08-.71.24ZM20 21h2v-8h-2zm-3 0h2v-5h-2zm-3 0h2v-2h-2zm8-18v7h-2V6.41l-3.73 3.73-3-1-1.34 1.34A6 6 0 0 1 14 15c0 3.31-2.69 6-6 6s-6-2.69-6-6 2.69-6 6-6c.77 0 1.5.15 2.17.41l2.56-2.56 3 1 2.86-2.86H15v-2h7ZM12 15c0-2.21-1.79-4-4-4s-4 1.79-4 4 1.79 4 4 4 4-1.79 4-4"/></svg>`);
@@ -2,7 +2,7 @@ declare const _default: import("@odx/assets-utils").OdxAsset;
2
2
  export default _default;
3
3
  declare global {
4
4
  interface _OdxIcon {
5
- 'core::financeservice': 'financeservice';
5
+ 'core::sports': 'sports';
6
6
  }
7
7
  }
8
- //# sourceMappingURL=financeservice.d.ts.map
8
+ //# sourceMappingURL=sports.d.ts.map
@@ -0,0 +1,2 @@
1
+ import { OdxAssetRegistry } from '@odx/assets-utils';
2
+ export default OdxAssetRegistry.registerAsset({ namespace: 'odx-icon', set: 'core', name: 'sports' }, `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="m21.6 17.86-1.91-2.09a5.1 5.1 0 0 1-1.08-1.83l-2.6-7.28V2h-2v4.36c-.89.33-1.87.43-2.8.24-1.24-.25-2.2-1.34-2.2-2.61v-2h-2v1.6L2.64 7.4c-.34.31-.54.73-.57 1.19-.02.46.14.9.45 1.24l8.38 9.12c1.75 1.9 4.41 3.04 7.11 3.04h2c.95 0 1.73-.5 2.1-1.34.41-.92.21-2.02-.51-2.8ZM10.8 8.57c1.22.24 2.49.16 3.67-.23l.6 1.67H13v1h2.43l.36 1h-1.78v1h2.14l.36 1h-1.5v1h1.87c.32.78.76 1.49 1.33 2.12l1.27 1.39h-.93c-1.47 0-2.85-.57-3.88-1.6l-8.78-9.7 1.56-1.36c.6 1.36 1.83 2.4 3.36 2.71Zm9.47 11.28c-.03.08-.09.15-.27.15h-2c-2.12 0-4.29-.92-5.64-2.39l-8.17-8.9.95-.83 8.81 9.73a6.46 6.46 0 0 0 4.6 1.91h1.74c.03.13.03.25-.01.34ZM7 18H2v-1h5zm-3 3h7v1H4zm5-1H3v-1h6z"/></svg>`);
@@ -173,7 +173,7 @@ const assetMetadata = {
173
173
  'filter-close': { code: '<odx-icon name="filter-close" set="core"></odx-icon>' },
174
174
  'filter-settings': { code: '<odx-icon name="filter-settings" set="core"></odx-icon>' },
175
175
  filter: { code: '<odx-icon name="filter" set="core"></odx-icon>' },
176
- financeservice: { code: '<odx-icon name="financeservice" set="core"></odx-icon>' },
176
+ 'finance-service': { code: '<odx-icon name="finance-service" set="core"></odx-icon>' },
177
177
  'fitness-discount': { code: '<odx-icon name="fitness-discount" set="core"></odx-icon>' },
178
178
  flag: { code: '<odx-icon name="flag" set="core"></odx-icon>' },
179
179
  'folder-in': { code: '<odx-icon name="folder-in" set="core"></odx-icon>' },
@@ -323,6 +323,7 @@ const assetMetadata = {
323
323
  'sort-down': { code: '<odx-icon name="sort-down" set="core"></odx-icon>' },
324
324
  'sort-up': { code: '<odx-icon name="sort-up" set="core"></odx-icon>' },
325
325
  sortable: { code: '<odx-icon name="sortable" set="core"></odx-icon>' },
326
+ sports: { code: '<odx-icon name="sports" set="core"></odx-icon>' },
326
327
  standby: { code: '<odx-icon name="standby" set="core"></odx-icon>' },
327
328
  'sync-off-success-mono': { code: '<odx-icon name="sync-off-success-mono" set="core"></odx-icon>' },
328
329
  'sync-off-success': { code: '<odx-icon name="sync-off-success" set="core"></odx-icon>' },
@@ -171,7 +171,7 @@ export declare const File: import("@odx/assets-utils").OdxAsset;
171
171
  export declare const FilterClose: import("@odx/assets-utils").OdxAsset;
172
172
  export declare const FilterSettings: import("@odx/assets-utils").OdxAsset;
173
173
  export declare const Filter: import("@odx/assets-utils").OdxAsset;
174
- export declare const Financeservice: import("@odx/assets-utils").OdxAsset;
174
+ export declare const FinanceService: import("@odx/assets-utils").OdxAsset;
175
175
  export declare const FitnessDiscount: import("@odx/assets-utils").OdxAsset;
176
176
  export declare const Flag: import("@odx/assets-utils").OdxAsset;
177
177
  export declare const FolderIn: import("@odx/assets-utils").OdxAsset;
@@ -321,6 +321,7 @@ export declare const SocialYoutube: import("@odx/assets-utils").OdxAsset;
321
321
  export declare const SortDown: import("@odx/assets-utils").OdxAsset;
322
322
  export declare const SortUp: import("@odx/assets-utils").OdxAsset;
323
323
  export declare const Sortable: import("@odx/assets-utils").OdxAsset;
324
+ export declare const Sports: import("@odx/assets-utils").OdxAsset;
324
325
  export declare const Standby: import("@odx/assets-utils").OdxAsset;
325
326
  export declare const SyncOffSuccessMono: import("@odx/assets-utils").OdxAsset;
326
327
  export declare const SyncOffSuccess: import("@odx/assets-utils").OdxAsset;
@@ -553,7 +554,7 @@ declare global {
553
554
  'core::filter-close': 'filter-close';
554
555
  'core::filter-settings': 'filter-settings';
555
556
  'core::filter': 'filter';
556
- 'core::financeservice': 'financeservice';
557
+ 'core::finance-service': 'finance-service';
557
558
  'core::fitness-discount': 'fitness-discount';
558
559
  'core::flag': 'flag';
559
560
  'core::folder-in': 'folder-in';
@@ -703,6 +704,7 @@ declare global {
703
704
  'core::sort-down': 'sort-down';
704
705
  'core::sort-up': 'sort-up';
705
706
  'core::sortable': 'sortable';
707
+ 'core::sports': 'sports';
706
708
  'core::standby': 'standby';
707
709
  'core::sync-off-success-mono': 'sync-off-success-mono';
708
710
  'core::sync-off-success': 'sync-off-success';
@@ -172,7 +172,7 @@ export const File = OdxAssetRegistry.registerAsset({ namespace: 'odx-icon', set:
172
172
  export const FilterClose = OdxAssetRegistry.registerAsset({ namespace: 'odx-icon', set: 'core', name: 'filter-close' }, `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M21 12h-7c-1.1 0-2 .9-2 2v7c0 1.1.9 2 2 2h7c1.1 0 2-.9 2-2v-7c0-1.1-.9-2-2-2m0 8.13-.87.87-2.63-2.63L14.87 21l-.87-.87 2.63-2.63L14 14.87l.87-.87 2.63 2.63L20.13 14l.87.87-2.63 2.63zM9 21.28v-8.95L2 3h20l-6 8h-2c-.19 0-.36.02-.54.05L18 5H6l4.6 6.13c.26.35.4.77.4 1.2v8.45z"/></svg>`);
173
173
  export const FilterSettings = OdxAssetRegistry.registerAsset({ namespace: 'odx-icon', set: 'core', name: 'filter-settings' }, `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M9 21.28v-8.95L2 3h20l-6.17 8.23c-1.08.29-2.05.84-2.83 1.59v-.49c0-.43.14-.85.4-1.2L18 5H6l4.6 6.13c.26.35.4.77.4 1.2v6.39l.11-.03c.12.67.35 1.31.66 1.89l-2.78.69Zm14.04-2.54a5.7 5.7 0 0 1-1.68 2.92l-1.16-.51c-.28.21-.59.4-.91.54l-.11 1.23c-.53.17-1.09.28-1.67.28s-1.14-.11-1.67-.28l-.1-1.22c-.34-.14-.65-.34-.94-.56l-1.14.53a5.7 5.7 0 0 1-1.68-2.89l1.04-.73c-.02-.18-.05-.35-.05-.54s.03-.37.06-.55l-1.04-.73c.26-1.13.86-2.13 1.68-2.89l1.14.53c.28-.21.57-.39.9-.53l.13-1.24c.54-.17 1.09-.28 1.68-.28s1.15.12 1.68.28l.13 1.24q.465.21.87.51l1.16-.52a5.6 5.6 0 0 1 1.69 2.91l-1.04.76c.02.17.05.33.05.5s-.03.32-.05.48l1.04.76Zm-3.38-1.24c0-1.2-.97-2.17-2.17-2.17s-2.17.97-2.17 2.17.97 2.17 2.17 2.17 2.17-.97 2.17-2.17"/></svg>`);
174
174
  export const Filter = OdxAssetRegistry.registerAsset({ namespace: 'odx-icon', set: 'core', name: 'filter' }, `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="m2 3 7 9.33v8.95l4.49-1.12c.89-.22 1.51-1.02 1.51-1.94v-5.89L22 3zm11 9.33v5.89l-2 .5v-6.39c0-.43-.14-.85-.4-1.2L6 5h12l-4.6 6.13c-.26.35-.4.77-.4 1.2"/></svg>`);
175
- export const Financeservice = OdxAssetRegistry.registerAsset({ namespace: 'odx-icon', set: 'core', name: 'financeservice' }, `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M7.21 13.28c-.2.15-.36.39-.45.7h1.75v.72H6.63v.58h1.88V16H6.75q.15.48.45.72c.3.24.44.24.72.24s.49-.08.68-.24.34-.38.44-.67l.97.51c-.2.46-.48.81-.85 1.07a2.1 2.1 0 0 1-1.23.37c-.6 0-1.1-.17-1.53-.52-.42-.35-.7-.84-.85-1.48h-.54v-.72h.44v-.58h-.44v-.72h.55c.15-.63.43-1.12.85-1.46.42-.35.93-.52 1.52-.52.47 0 .89.12 1.25.36s.64.6.83 1.09l-.97.51c-.1-.3-.25-.52-.44-.68-.19-.15-.41-.23-.68-.23s-.51.08-.71.24ZM20 21h2v-8h-2zm-3 0h2v-5h-2zm-3 0h2v-2h-2zm8-18v7h-2V6.41l-3.73 3.73-3-1-1.34 1.34A6 6 0 0 1 14 15c0 3.31-2.69 6-6 6s-6-2.69-6-6 2.69-6 6-6c.77 0 1.5.15 2.17.41l2.56-2.56 3 1 2.86-2.86H15v-2h7ZM12 15c0-2.21-1.79-4-4-4s-4 1.79-4 4 1.79 4 4 4 4-1.79 4-4"/></svg>`);
175
+ export const FinanceService = OdxAssetRegistry.registerAsset({ namespace: 'odx-icon', set: 'core', name: 'finance-service' }, `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M7.21 13.28c-.2.15-.36.39-.45.7h1.75v.72H6.63v.58h1.88V16H6.75q.15.48.45.72c.3.24.44.24.72.24s.49-.08.68-.24.34-.38.44-.67l.97.51c-.2.46-.48.81-.85 1.07a2.1 2.1 0 0 1-1.23.37c-.6 0-1.1-.17-1.53-.52-.42-.35-.7-.84-.85-1.48h-.54v-.72h.44v-.58h-.44v-.72h.55c.15-.63.43-1.12.85-1.46.42-.35.93-.52 1.52-.52.47 0 .89.12 1.25.36s.64.6.83 1.09l-.97.51c-.1-.3-.25-.52-.44-.68-.19-.15-.41-.23-.68-.23s-.51.08-.71.24ZM20 21h2v-8h-2zm-3 0h2v-5h-2zm-3 0h2v-2h-2zm8-18v7h-2V6.41l-3.73 3.73-3-1-1.34 1.34A6 6 0 0 1 14 15c0 3.31-2.69 6-6 6s-6-2.69-6-6 2.69-6 6-6c.77 0 1.5.15 2.17.41l2.56-2.56 3 1 2.86-2.86H15v-2h7ZM12 15c0-2.21-1.79-4-4-4s-4 1.79-4 4 1.79 4 4 4 4-1.79 4-4"/></svg>`);
176
176
  export const FitnessDiscount = OdxAssetRegistry.registerAsset({ namespace: 'odx-icon', set: 'core', name: 'fitness-discount' }, `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M16.08 15.5c0-.33-.26-.58-.59-.58s-.59.25-.59.58.26.6.59.6.59-.26.59-.6m4.01 3.99c0-.33-.26-.58-.59-.58s-.59.25-.59.58.26.6.59.6.59-.26.59-.6m3.35-1.84c.09-.08.09-.22 0-.31l-1.06-1.04q-.09-.09-.06-.21l.4-1.43a.223.223 0 0 0-.15-.27l-1.44-.37a.23.23 0 0 1-.15-.15l-.37-1.44c-.03-.12-.15-.18-.27-.15l-1.43.4c-.07.02-.16 0-.21-.06l-1.04-1.06c-.08-.09-.22-.09-.31 0l-1.04 1.06q-.09.09-.21.06l-1.43-.4a.223.223 0 0 0-.27.15l-.37 1.44c-.02.07-.08.13-.15.15l-1.44.37c-.12.03-.18.15-.15.27l.4 1.43c.02.07 0 .16-.06.21l-1.06 1.04c-.09.08-.09.22 0 .31l1.06 1.04q.09.09.06.21l-.4 1.43c-.03.12.04.24.15.27l1.44.37c.07.02.13.08.15.15l.37 1.44c.03.12.15.18.27.15l1.43-.4c.07-.02.16 0 .21.06l1.04 1.06c.08.09.22.09.31 0l1.04-1.06q.09-.09.21-.06l1.43.4c.12.03.24-.04.27-.15l.37-1.44c.02-.07.08-.13.15-.15l1.44-.37c.12-.03.18-.15.15-.27l-.4-1.43c-.02-.07 0-.16.06-.21zm-9.5-2.16c0-.88.67-1.55 1.57-1.55s1.56.67 1.56 1.55-.66 1.57-1.56 1.57-1.57-.67-1.57-1.57M16.02 21h-1.16L19 14h1.16zm3.48.07c-.9 0-1.57-.66-1.57-1.57s.67-1.57 1.57-1.57 1.57.67 1.57 1.57-.67 1.57-1.57 1.57M22 10V9c0-1.1-.9-2-2-2h-1V6c0-1.1-.9-2-2-2h-1c-1.1 0-2 .9-2 2v4h-4V6c0-1.1-.9-2-2-2H7c-1.1 0-2 .9-2 2v1H4c-1.1 0-2 .9-2 2v1c-.55 0-1 .45-1 1v2c0 .55.45 1 1 1v1c0 1.1.9 2 2 2h1v1c0 1.1.9 2 2 2h1c1.1 0 2-.9 2-2v-4h.89c.03-.09.07-.17.11-.25.2-.35.53-.61.91-.75H9.99v-2h3.8c.24-.13.51-.23.8-.23.16 0 .31.02.46.06l.7.2.23-.24v-4.8h1v4.08c.16-.05.33-.08.5-.08.46 0 .91.19 1.22.51l.28.28v-1.8h1v1.83c.13-.03.26-.05.39-.05.78 0 1.46.53 1.66 1.29l.18.7.71.18s.04.02.06.02v-1.97c0-.55-.45-1-1-1ZM5 15H4V9h1zm3 3H7V6h1z"/></svg>`);
177
177
  export const Flag = OdxAssetRegistry.registerAsset({ namespace: 'odx-icon', set: 'core', name: 'flag' }, `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M21 2H4v20h2v-8h15l-2.33-5.62c-.1-.25-.1-.52 0-.77L21 1.99Zm-3.06 10H6V4h11.94L16.6 7.23c-.2.49-.2 1.04 0 1.53l1.34 3.23Z"/></svg>`);
178
178
  export const FolderIn = OdxAssetRegistry.registerAsset({ namespace: 'odx-icon', set: 'core', name: 'folder-in' }, `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M22 7v11c0 1.1-.9 2-2 2h-6.51l2-2H20V7h-9V5H6v10H4V5c0-1.1.9-2 2-2h5c1.1 0 2 .9 2 2h7c1.1 0 2 .9 2 2M9.42 11.34l-1.41 1.41 3.24 3.24H1v2h10.25l-3.24 3.24 1.41 1.41 5.66-5.66-5.66-5.66Z"/></svg>`);
@@ -322,6 +322,7 @@ export const SocialYoutube = OdxAssetRegistry.registerAsset({ namespace: 'odx-ic
322
322
  export const SortDown = OdxAssetRegistry.registerAsset({ namespace: 'odx-icon', set: 'core', name: 'sort-down' }, `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="m8 16 4 4 4-4h-3V4h-2v12z"/></svg>`);
323
323
  export const SortUp = OdxAssetRegistry.registerAsset({ namespace: 'odx-icon', set: 'core', name: 'sort-up' }, `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="m16 8-4-4-4 4h3v12h2V8z"/></svg>`);
324
324
  export const Sortable = OdxAssetRegistry.registerAsset({ namespace: 'odx-icon', set: 'core', name: 'sortable' }, `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M21 8H3V6h18zm-6 3H3v2h12zm-6 5H3v2h6z"/></svg>`);
325
+ export const Sports = OdxAssetRegistry.registerAsset({ namespace: 'odx-icon', set: 'core', name: 'sports' }, `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="m21.6 17.86-1.91-2.09a5.1 5.1 0 0 1-1.08-1.83l-2.6-7.28V2h-2v4.36c-.89.33-1.87.43-2.8.24-1.24-.25-2.2-1.34-2.2-2.61v-2h-2v1.6L2.64 7.4c-.34.31-.54.73-.57 1.19-.02.46.14.9.45 1.24l8.38 9.12c1.75 1.9 4.41 3.04 7.11 3.04h2c.95 0 1.73-.5 2.1-1.34.41-.92.21-2.02-.51-2.8ZM10.8 8.57c1.22.24 2.49.16 3.67-.23l.6 1.67H13v1h2.43l.36 1h-1.78v1h2.14l.36 1h-1.5v1h1.87c.32.78.76 1.49 1.33 2.12l1.27 1.39h-.93c-1.47 0-2.85-.57-3.88-1.6l-8.78-9.7 1.56-1.36c.6 1.36 1.83 2.4 3.36 2.71Zm9.47 11.28c-.03.08-.09.15-.27.15h-2c-2.12 0-4.29-.92-5.64-2.39l-8.17-8.9.95-.83 8.81 9.73a6.46 6.46 0 0 0 4.6 1.91h1.74c.03.13.03.25-.01.34ZM7 18H2v-1h5zm-3 3h7v1H4zm5-1H3v-1h6z"/></svg>`);
325
326
  export const Standby = OdxAssetRegistry.registerAsset({ namespace: 'odx-icon', set: 'core', name: 'standby' }, `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M11 10.25V2c0-.55.45-1 1-1s1 .45 1 1v8.25c0 .55-.45 1-1 1s-1-.45-1-1m5.12-7.37c-.5-.23-1.1 0-1.32.5-.23.5 0 1.1.5 1.32C18.16 6 20 8.86 20 11.99c0 4.42-3.59 8.01-8 8.01s-8-3.59-8-8.01A8.04 8.04 0 0 1 8.7 4.7a1 1 0 0 0-.82-1.82C4.31 4.5 2 8.08 2 11.99 2 17.51 6.49 22 12 22s10-4.49 10-10.01c0-3.91-2.31-7.49-5.88-9.11"/></svg>`);
326
327
  export const SyncOffSuccessMono = OdxAssetRegistry.registerAsset({ namespace: 'odx-icon', set: 'core', name: 'sync-off-success-mono' }, `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M17.5 23c-3.03 0-5.5-2.47-5.5-5.5s2.47-5.5 5.5-5.5 5.5 2.47 5.5 5.5-2.47 5.5-5.5 5.5m3.96-7.59-.78-.78-4.84 4.84-1.81-1.81-.78.78 2.59 2.59 5.61-5.61ZM8.67 5.85 7.22 4.4a8.9 8.9 0 0 1 4.79-1.39c2.83 0 5.35 1.32 7 3.37V3.01h2v7h-7v-2h3.74c-1.27-1.81-3.36-3-5.74-3-1.21 0-2.34.31-3.33.85ZM3 12h2c0-1.57.53-3.02 1.4-4.18l5.85 5.85c.4-.54.87-1.02 1.41-1.41L2.71 1.29 1.3 2.7l3.68 3.68A8.97 8.97 0 0 0 3 11.99Zm8.17 6.95A7 7 0 0 1 6.26 16H10v-2H3v7h2v-3.37C6.65 19.68 9.17 21 12 21h.03a6.4 6.4 0 0 1-.86-2.05"/></svg>`);
327
328
  export const SyncOffSuccess = OdxAssetRegistry.registerAsset({ namespace: 'odx-icon', set: 'core', name: 'sync-off-success' }, `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="#00dd31" d="M17.5 23c-3.03 0-5.5-2.47-5.5-5.5s2.47-5.5 5.5-5.5 5.5 2.47 5.5 5.5-2.47 5.5-5.5 5.5"/><path fill="#002766" d="m15.85 21.03-2.59-2.59.78-.78 1.81 1.81 4.84-4.83.77.77z"/><path fill="currentColor" d="M8.67 5.85 7.22 4.4a8.9 8.9 0 0 1 4.79-1.39c2.83 0 5.35 1.32 7 3.37V3.01h2v7h-7v-2h3.74c-1.27-1.81-3.36-3-5.74-3-1.21 0-2.34.31-3.33.85ZM3 12h2c0-1.57.53-3.02 1.4-4.18l5.85 5.85c.4-.54.87-1.02 1.41-1.41L2.71 1.29 1.3 2.7l3.68 3.68A8.97 8.97 0 0 0 3 11.99Zm8.17 6.95A7 7 0 0 1 6.26 16H10v-2H3v7h2v-3.37C6.65 19.68 9.17 21 12 21h.03a6.4 6.4 0 0 1-.86-2.05"/></svg>`);
@@ -1,12 +1,14 @@
1
- import { OdxAssetElement } from '@odx/assets-utils';
1
+ import { type ExtractAssetName, type ExtractAssetSet, OdxAssetElement } from '@odx/assets-utils';
2
2
  declare global {
3
3
  export interface _OdxIcon {
4
4
  }
5
+ export type OdxIconName = keyof _OdxIcon | ExtractAssetName<keyof _OdxIcon>;
6
+ export type OdxIconSet = ExtractAssetSet<keyof _OdxIcon>;
5
7
  interface HTMLElementTagNameMap {
6
8
  'odx-icon': OdxIconElement;
7
9
  }
8
10
  }
9
- export declare class OdxIconElement extends OdxAssetElement<keyof _OdxIcon> {
11
+ export declare class OdxIconElement extends OdxAssetElement {
10
12
  static readonly assetAttributes: [{
11
13
  readonly name: "color";
12
14
  readonly values: ["currentColor"];
@@ -14,5 +16,9 @@ export declare class OdxIconElement extends OdxAssetElement<keyof _OdxIcon> {
14
16
  }];
15
17
  readonly namespace = "odx-icon";
16
18
  readonly defaultSet = "core";
19
+ set name(value: OdxIconName);
20
+ get name(): OdxIconName;
21
+ set set(value: OdxIconSet);
22
+ get set(): OdxIconSet;
17
23
  }
18
24
  //# sourceMappingURL=main.d.ts.map
package/dist/src/main.js CHANGED
@@ -5,5 +5,17 @@ export class OdxIconElement extends OdxAssetElement {
5
5
  ];
6
6
  namespace = 'odx-icon';
7
7
  defaultSet = 'core';
8
+ set name(value) {
9
+ super.name = value;
10
+ }
11
+ get name() {
12
+ return super.name;
13
+ }
14
+ set set(value) {
15
+ super.set = value;
16
+ }
17
+ get set() {
18
+ return super.set;
19
+ }
8
20
  }
9
21
  registerAssetElement('odx-icon', OdxIconElement);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@odx/icons",
3
3
  "description": "A library of icon assets for ODX",
4
- "version": "4.0.0-rc.17",
4
+ "version": "4.0.0-rc.19",
5
5
  "author": "Drägerwerk AG & Co.KGaA",
6
6
  "license": "SEE LICENSE IN LICENSE",
7
7
  "homepage": "https://odx.draeger.com",
@@ -14,7 +14,7 @@
14
14
  "generate-assets": "npx generate-assets && biome check --write --no-errors-on-unmatched --files-ignore-unknown=true"
15
15
  },
16
16
  "dependencies": {
17
- "@odx/assets-utils": "^1.0.0"
17
+ "@odx/assets-utils": "^1.1.0"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@odx/assets-cli": "*",
@@ -1,2 +0,0 @@
1
- import { OdxAssetRegistry } from '@odx/assets-utils';
2
- export default OdxAssetRegistry.registerAsset({ namespace: 'odx-icon', set: 'core', name: 'financeservice' }, `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M7.21 13.28c-.2.15-.36.39-.45.7h1.75v.72H6.63v.58h1.88V16H6.75q.15.48.45.72c.3.24.44.24.72.24s.49-.08.68-.24.34-.38.44-.67l.97.51c-.2.46-.48.81-.85 1.07a2.1 2.1 0 0 1-1.23.37c-.6 0-1.1-.17-1.53-.52-.42-.35-.7-.84-.85-1.48h-.54v-.72h.44v-.58h-.44v-.72h.55c.15-.63.43-1.12.85-1.46.42-.35.93-.52 1.52-.52.47 0 .89.12 1.25.36s.64.6.83 1.09l-.97.51c-.1-.3-.25-.52-.44-.68-.19-.15-.41-.23-.68-.23s-.51.08-.71.24ZM20 21h2v-8h-2zm-3 0h2v-5h-2zm-3 0h2v-2h-2zm8-18v7h-2V6.41l-3.73 3.73-3-1-1.34 1.34A6 6 0 0 1 14 15c0 3.31-2.69 6-6 6s-6-2.69-6-6 2.69-6 6-6c.77 0 1.5.15 2.17.41l2.56-2.56 3 1 2.86-2.86H15v-2h7ZM12 15c0-2.21-1.79-4-4-4s-4 1.79-4 4 1.79 4 4 4 4-1.79 4-4"/></svg>`);