@nice2dev/icons 1.3.6 → 1.3.7

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.
@@ -203,7 +203,7 @@ export interface NtdIconProps extends Omit<SVGProps<SVGSVGElement>, 'ref'> {
203
203
  secondaryOpacity?: number;
204
204
  /** Opacity for accent/detail elements (0-1) */
205
205
  accentOpacity?: number;
206
- /** Base stroke width for outline / duotone icons (default 2) */
206
+ /** Base stroke width for outline / duotone icons (default 1) */
207
207
  strokeWidth?: number;
208
208
  /** Stroke line cap style (default 'round') */
209
209
  strokeLinecap?: 'round' | 'square' | 'butt';
@@ -296,6 +296,16 @@ export interface NtdIconProps extends Omit<SVGProps<SVGSVGElement>, 'ref'> {
296
296
  * Its own contents and text turn with it.
297
297
  */
298
298
  stackRotation?: number;
299
+ /**
300
+ * Moves this icon, when stacked in another, from where `stackAlign` puts it — in percent of the
301
+ * parent icon's width, positive to the right (1.3.7). `10` = a tenth of the parent across.
302
+ */
303
+ stackOffsetX?: number;
304
+ /**
305
+ * Moves this icon, when stacked in another, from where `stackAlign` puts it — in percent of the
306
+ * parent icon's height, positive downwards (1.3.7).
307
+ */
308
+ stackOffsetY?: number;
299
309
  /** Accessible title for screen readers */
300
310
  title?: string;
301
311
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nice2dev/icons",
3
- "version": "1.3.6",
3
+ "version": "1.3.7",
4
4
  "description": "Beautiful, lightweight, multi-color SVG icon library for React with animations",
5
5
  "author": "NiceToDev <contact@nicetodev.com>",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -109,7 +109,7 @@
109
109
  },
110
110
  "devDependencies": {
111
111
  "@chromatic-com/storybook": "^5.3.1",
112
- "@nice2dev/ui-core": "^1.3.6",
112
+ "@nice2dev/ui-core": "^1.3.7",
113
113
  "@rollup/plugin-commonjs": "^29.0.3",
114
114
  "@rollup/plugin-node-resolve": "^16.0.3",
115
115
  "@rollup/plugin-typescript": "^12.3.0",