@odx/icons 4.0.0-rc.24 → 4.0.0-rc.26

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 (2) hide show
  1. package/README.md +12 -3
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -110,6 +110,17 @@ icon.name='core::user'
110
110
  document.body.appendChild(icon);
111
111
  ```
112
112
 
113
+ ### Import specific icon sets
114
+ To optimize your bundle, you can import only the specific icon set you need:
115
+
116
+ ```js
117
+ // All icon sets
118
+ import '@odx/icons/all';
119
+
120
+ // Core icons (default set)
121
+ import '@odx/icons/core';
122
+ ```
123
+
113
124
  ### SCSS Example
114
125
 
115
126
  ```scss
@@ -150,11 +161,9 @@ This library leverages modern web technologies such as Shadow DOM for encapsulat
150
161
  - Chrome **97+**
151
162
  - Edge **97+**
152
163
  - Firefox **104+**
153
- - Safari **16.4+**
164
+ - Safari **14+**
154
165
  - Opera **83+**
155
166
 
156
- > In order to support Safari versions <16.4 you have to include a polyfill for the [CSSStyleSheet API](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleSheet).
157
-
158
167
  ## Live demo ⭐
159
168
 
160
169
  For a overview of all available assets please refer to our [**Asset Viewer**](https://assets.draeger.com/icons).
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.24",
4
+ "version": "4.0.0-rc.26",
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.1.0"
17
+ "@odx/assets-utils": "^1.2.0"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@odx/assets-cli": "*",