@ds-mo/icons 2.0.2 → 2.1.0

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
@@ -2,7 +2,7 @@
2
2
 
3
3
  [![npm version](https://img.shields.io/npm/v/@ds-mo/icons.svg)](https://www.npmjs.com/package/@ds-mo/icons)
4
4
 
5
- IcoMo — **424 SVG icons** (392 system icons + 32 country flags) as tree-shakeable React components, framework-agnostic SVG strings, TypeScript definitions, and an SVG sprite.
5
+ IcoMo — **426 SVG icons** (394 system icons + 32 country flags) as tree-shakeable React components, framework-agnostic SVG strings, TypeScript definitions, and an SVG sprite.
6
6
 
7
7
  Part of the **ds-mo design system trilogy**: [@ds-mo/tokens](https://www.npmjs.com/package/@ds-mo/tokens) → **@ds-mo/icons** → [@ds-mo/ui](https://www.npmjs.com/package/@ds-mo/ui) (CompoMo).
8
8
 
@@ -28,7 +28,7 @@ Icons are grouped into **categories** so the pipeline can treat them differently
28
28
 
29
29
  | Category | Count | Themeable | Description |
30
30
  |---|---|---|---|
31
- | `system` | 392 | ✅ `currentColor` | Monochrome UI icons — respond to CSS `color` and the `color` prop |
31
+ | `system` | 394 | ✅ `currentColor` | Monochrome UI icons — respond to CSS `color` and the `color` prop |
32
32
  | `flag` | 32 | ❌ preserved | Multi-color country flags — hex + P3 wide-gamut colors kept verbatim |
33
33
 
34
34
  Flag component names are prefixed with `Flag` (e.g. `FlagFrance`, `FlagUnitedStates`) so every export is globally unique.
@@ -0,0 +1,2 @@
1
+ import { IconComponent } from '../createIcon.mjs';
2
+ export declare const KeyCmd: IconComponent;
@@ -0,0 +1,9 @@
1
+ import { createElement } from 'react';
2
+ import { createIcon } from '../createIcon.mjs';
3
+
4
+ const KeyCmd = createIcon('key-cmd', [
5
+ createElement('path', { d: "M5.66699 10.333H4.33301C3.59678 10.3332 3 10.9307 3 11.667C3.00018 12.4031 3.59689 12.9998 4.33301 13C5.06928 13 5.66682 12.4032 5.66699 11.667V10.333ZM13 11.667C13 10.9307 12.4032 10.3332 11.667 10.333H10.333V11.667C10.3332 12.4032 10.9307 13 11.667 13C12.4031 12.9998 12.9998 12.4031 13 11.667ZM6.66699 9.33301H9.33301V6.66699H6.66699V9.33301ZM5.66699 4.33301C5.66682 3.59678 5.06928 3 4.33301 3C3.59689 3.00018 3.00018 3.59689 3 4.33301C3 5.06928 3.59678 5.66682 4.33301 5.66699H5.66699V4.33301ZM13 4.33301C12.9998 3.59689 12.4031 3.00018 11.667 3C10.9307 3 10.3332 3.59678 10.333 4.33301V5.66699H11.667C12.4032 5.66682 13 5.06928 13 4.33301ZM14 4.33301C14 5.62156 12.9555 6.66682 11.667 6.66699H10.333V9.33301H11.667C12.9555 9.33318 14 10.3784 14 11.667C13.9998 12.9554 12.9554 13.9998 11.667 14C10.3784 14 9.33318 12.9555 9.33301 11.667V10.333H6.66699V11.667C6.66682 12.9555 5.62156 14 4.33301 14C3.0446 13.9998 2.00018 12.9554 2 11.667C2 10.3784 3.04449 9.33318 4.33301 9.33301H5.66699V6.66699H4.33301C3.04449 6.66682 2 5.62156 2 4.33301C2.00018 3.0446 3.0446 2.00018 4.33301 2C5.62156 2 6.66682 3.04449 6.66699 4.33301V5.66699H9.33301V4.33301C9.33318 3.04449 10.3784 2 11.667 2C12.9554 2.00018 13.9998 3.0446 14 4.33301Z", key: "a" }),
6
+ ]);
7
+
8
+ KeyCmd.displayName = 'KeyCmd';
9
+ export { KeyCmd };
@@ -0,0 +1,2 @@
1
+ import { IconComponent } from '../createIcon.mjs';
2
+ export declare const KeyShift: IconComponent;
@@ -0,0 +1,9 @@
1
+ import { createElement } from 'react';
2
+ import { createIcon } from '../createIcon.mjs';
3
+
4
+ const KeyShift = createIcon('key-shift', [
5
+ createElement('path', { d: "M8.35352 2.14648L14.8535 8.64648L14.5 9.5H11.5V13.5L11 14H5L4.5 13.5V9.5H1.5L1.14648 8.64648L7.64648 2.14648H8.35352ZM2.70703 8.5H5L5.5 9V13H10.5V9L11 8.5H13.293L8 3.20703L2.70703 8.5Z", key: "a" }),
6
+ ]);
7
+
8
+ KeyShift.displayName = 'KeyShift';
9
+ export { KeyShift };
@@ -192,6 +192,8 @@ export { IosFilled } from './IosFilled.mjs';
192
192
  export { Jerrycan } from './Jerrycan.mjs';
193
193
  export { KeyA } from './KeyA.mjs';
194
194
  export { KeyB } from './KeyB.mjs';
195
+ export { KeyCmd } from './KeyCmd.mjs';
196
+ export { KeyShift } from './KeyShift.mjs';
195
197
  export { LED } from './LED.mjs';
196
198
  export { Layers } from './Layers.mjs';
197
199
  export { Leaf } from './Leaf.mjs';
@@ -192,6 +192,8 @@ export { IosFilled } from './IosFilled.mjs';
192
192
  export { Jerrycan } from './Jerrycan.mjs';
193
193
  export { KeyA } from './KeyA.mjs';
194
194
  export { KeyB } from './KeyB.mjs';
195
+ export { KeyCmd } from './KeyCmd.mjs';
196
+ export { KeyShift } from './KeyShift.mjs';
195
197
  export { LED } from './LED.mjs';
196
198
  export { Layers } from './Layers.mjs';
197
199
  export { Leaf } from './Leaf.mjs';
package/dist/index.d.ts CHANGED
@@ -197,6 +197,8 @@ export { IosFilled } from './icons/IosFilled.mjs';
197
197
  export { Jerrycan } from './icons/Jerrycan.mjs';
198
198
  export { KeyA } from './icons/KeyA.mjs';
199
199
  export { KeyB } from './icons/KeyB.mjs';
200
+ export { KeyCmd } from './icons/KeyCmd.mjs';
201
+ export { KeyShift } from './icons/KeyShift.mjs';
200
202
  export { LED } from './icons/LED.mjs';
201
203
  export { Layers } from './icons/Layers.mjs';
202
204
  export { Leaf } from './icons/Leaf.mjs';
package/dist/index.mjs CHANGED
@@ -195,6 +195,8 @@ export { IosFilled } from './icons/IosFilled.mjs';
195
195
  export { Jerrycan } from './icons/Jerrycan.mjs';
196
196
  export { KeyA } from './icons/KeyA.mjs';
197
197
  export { KeyB } from './icons/KeyB.mjs';
198
+ export { KeyCmd } from './icons/KeyCmd.mjs';
199
+ export { KeyShift } from './icons/KeyShift.mjs';
198
200
  export { LED } from './icons/LED.mjs';
199
201
  export { Layers } from './icons/Layers.mjs';
200
202
  export { Leaf } from './icons/Leaf.mjs';
package/dist/meta.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
- "version": "2.0.2",
3
- "count": 424,
2
+ "version": "2.1.0",
3
+ "count": 426,
4
4
  "categories": {
5
5
  "system": {
6
- "count": 392,
6
+ "count": 394,
7
7
  "themeable": true
8
8
  },
9
9
  "flag": {
@@ -1968,6 +1968,28 @@
1968
1968
  "password-variant"
1969
1969
  ]
1970
1970
  },
1971
+ {
1972
+ "name": "KeyCmd",
1973
+ "category": "system",
1974
+ "kebab": "key-cmd",
1975
+ "aliases": [
1976
+ "command",
1977
+ "cmd",
1978
+ "keyboard-command",
1979
+ "modifier-command"
1980
+ ]
1981
+ },
1982
+ {
1983
+ "name": "KeyShift",
1984
+ "category": "system",
1985
+ "kebab": "key-shift",
1986
+ "aliases": [
1987
+ "shift",
1988
+ "keyboard-shift",
1989
+ "modifier-shift",
1990
+ "uppercase"
1991
+ ]
1992
+ },
1971
1993
  {
1972
1994
  "name": "LED",
1973
1995
  "category": "system",
package/dist/sprite.svg CHANGED
@@ -581,6 +581,12 @@
581
581
  <symbol id="key-b" viewBox="0 0 16 16" fill="currentColor">
582
582
  <path fill-rule="evenodd" clip-rule="evenodd" d="M10 2.5C11.933 2.5 13.5 4.067 13.5 6C13.5 7.933 11.933 9.5 10 9.5C9.21297 9.5 8.48657 9.2402 7.90193 8.80167L6.45679 10.2497L7.85359 11.6465L6.44479 13.0553L5.04834 11.6588L2.85359 13.8536L2.14648 13.1465L7.19504 8.09366C6.75853 7.50979 6.50004 6.78508 6.50004 6C6.50004 4.067 8.06705 2.5 10 2.5ZM12.5 6C12.5 4.61929 11.3808 3.5 10 3.5C8.61933 3.5 7.50004 4.61929 7.50004 6C7.50004 7.38071 8.61933 8.5 10 8.5C11.3808 8.5 12.5 7.38071 12.5 6Z" fill="currentColor"/>
583
583
  </symbol>
584
+ <symbol id="key-cmd" viewBox="0 0 16 16" fill="currentColor">
585
+ <path d="M5.66699 10.333H4.33301C3.59678 10.3332 3 10.9307 3 11.667C3.00018 12.4031 3.59689 12.9998 4.33301 13C5.06928 13 5.66682 12.4032 5.66699 11.667V10.333ZM13 11.667C13 10.9307 12.4032 10.3332 11.667 10.333H10.333V11.667C10.3332 12.4032 10.9307 13 11.667 13C12.4031 12.9998 12.9998 12.4031 13 11.667ZM6.66699 9.33301H9.33301V6.66699H6.66699V9.33301ZM5.66699 4.33301C5.66682 3.59678 5.06928 3 4.33301 3C3.59689 3.00018 3.00018 3.59689 3 4.33301C3 5.06928 3.59678 5.66682 4.33301 5.66699H5.66699V4.33301ZM13 4.33301C12.9998 3.59689 12.4031 3.00018 11.667 3C10.9307 3 10.3332 3.59678 10.333 4.33301V5.66699H11.667C12.4032 5.66682 13 5.06928 13 4.33301ZM14 4.33301C14 5.62156 12.9555 6.66682 11.667 6.66699H10.333V9.33301H11.667C12.9555 9.33318 14 10.3784 14 11.667C13.9998 12.9554 12.9554 13.9998 11.667 14C10.3784 14 9.33318 12.9555 9.33301 11.667V10.333H6.66699V11.667C6.66682 12.9555 5.62156 14 4.33301 14C3.0446 13.9998 2.00018 12.9554 2 11.667C2 10.3784 3.04449 9.33318 4.33301 9.33301H5.66699V6.66699H4.33301C3.04449 6.66682 2 5.62156 2 4.33301C2.00018 3.0446 3.0446 2.00018 4.33301 2C5.62156 2 6.66682 3.04449 6.66699 4.33301V5.66699H9.33301V4.33301C9.33318 3.04449 10.3784 2 11.667 2C12.9554 2.00018 13.9998 3.0446 14 4.33301Z" fill="currentColor"/>
586
+ </symbol>
587
+ <symbol id="key-shift" viewBox="0 0 16 16" fill="currentColor">
588
+ <path d="M8.35352 2.14648L14.8535 8.64648L14.5 9.5H11.5V13.5L11 14H5L4.5 13.5V9.5H1.5L1.14648 8.64648L7.64648 2.14648H8.35352ZM2.70703 8.5H5L5.5 9V13H10.5V9L11 8.5H13.293L8 3.20703L2.70703 8.5Z" fill="currentColor"/>
589
+ </symbol>
584
590
  <symbol id="led" viewBox="0 0 16 16" fill="currentColor">
585
591
  <path d="M5.87868 5.17153L3.40381 2.69666L2.6967 3.40376L5.17158 5.87864L5.87868 5.17153Z" fill="currentColor"/><path d="M8 9.5C8.82843 9.5 9.5 8.82843 9.5 8C9.5 7.17157 8.82843 6.5 8 6.5C7.17157 6.5 6.5 7.17157 6.5 8C6.5 8.82843 7.17157 9.5 8 9.5Z" fill="currentColor"/><path d="M1 7.5H4.5V8.5H1V7.5Z" fill="currentColor"/><path d="M2.69678 12.5962L5.17165 10.1213L5.87876 10.8284L3.40388 13.3033L2.69678 12.5962Z" fill="currentColor"/><path d="M15 7.5H11.5V8.5H15V7.5Z" fill="currentColor"/><path d="M10.8284 10.1213L13.3032 12.5962L12.5961 13.3033L10.1213 10.8284L10.8284 10.1213Z" fill="currentColor"/><path d="M12.5962 2.69676L10.1213 5.17163L10.8284 5.87874L13.3033 3.40386L12.5962 2.69676Z" fill="currentColor"/>
586
592
  </symbol>
@@ -0,0 +1 @@
1
+ export declare const KeyCmd: string;
@@ -0,0 +1 @@
1
+ export const KeyCmd = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M5.66699 10.333H4.33301C3.59678 10.3332 3 10.9307 3 11.667C3.00018 12.4031 3.59689 12.9998 4.33301 13C5.06928 13 5.66682 12.4032 5.66699 11.667V10.333ZM13 11.667C13 10.9307 12.4032 10.3332 11.667 10.333H10.333V11.667C10.3332 12.4032 10.9307 13 11.667 13C12.4031 12.9998 12.9998 12.4031 13 11.667ZM6.66699 9.33301H9.33301V6.66699H6.66699V9.33301ZM5.66699 4.33301C5.66682 3.59678 5.06928 3 4.33301 3C3.59689 3.00018 3.00018 3.59689 3 4.33301C3 5.06928 3.59678 5.66682 4.33301 5.66699H5.66699V4.33301ZM13 4.33301C12.9998 3.59689 12.4031 3.00018 11.667 3C10.9307 3 10.3332 3.59678 10.333 4.33301V5.66699H11.667C12.4032 5.66682 13 5.06928 13 4.33301ZM14 4.33301C14 5.62156 12.9555 6.66682 11.667 6.66699H10.333V9.33301H11.667C12.9555 9.33318 14 10.3784 14 11.667C13.9998 12.9554 12.9554 13.9998 11.667 14C10.3784 14 9.33318 12.9555 9.33301 11.667V10.333H6.66699V11.667C6.66682 12.9555 5.62156 14 4.33301 14C3.0446 13.9998 2.00018 12.9554 2 11.667C2 10.3784 3.04449 9.33318 4.33301 9.33301H5.66699V6.66699H4.33301C3.04449 6.66682 2 5.62156 2 4.33301C2.00018 3.0446 3.0446 2.00018 4.33301 2C5.62156 2 6.66682 3.04449 6.66699 4.33301V5.66699H9.33301V4.33301C9.33318 3.04449 10.3784 2 11.667 2C12.9554 2.00018 13.9998 3.0446 14 4.33301Z\" fill=\"currentColor\"/></svg>";
@@ -0,0 +1 @@
1
+ export declare const KeyShift: string;
@@ -0,0 +1 @@
1
+ export const KeyShift = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M8.35352 2.14648L14.8535 8.64648L14.5 9.5H11.5V13.5L11 14H5L4.5 13.5V9.5H1.5L1.14648 8.64648L7.64648 2.14648H8.35352ZM2.70703 8.5H5L5.5 9V13H10.5V9L11 8.5H13.293L8 3.20703L2.70703 8.5Z\" fill=\"currentColor\"/></svg>";
@@ -192,6 +192,8 @@ export { IosFilled } from './IosFilled.mjs';
192
192
  export { Jerrycan } from './Jerrycan.mjs';
193
193
  export { KeyA } from './KeyA.mjs';
194
194
  export { KeyB } from './KeyB.mjs';
195
+ export { KeyCmd } from './KeyCmd.mjs';
196
+ export { KeyShift } from './KeyShift.mjs';
195
197
  export { LED } from './LED.mjs';
196
198
  export { Layers } from './Layers.mjs';
197
199
  export { Leaf } from './Leaf.mjs';
@@ -192,6 +192,8 @@ export { IosFilled } from './IosFilled.mjs';
192
192
  export { Jerrycan } from './Jerrycan.mjs';
193
193
  export { KeyA } from './KeyA.mjs';
194
194
  export { KeyB } from './KeyB.mjs';
195
+ export { KeyCmd } from './KeyCmd.mjs';
196
+ export { KeyShift } from './KeyShift.mjs';
195
197
  export { LED } from './LED.mjs';
196
198
  export { Layers } from './Layers.mjs';
197
199
  export { Leaf } from './Leaf.mjs';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ds-mo/icons",
3
- "version": "2.0.2",
4
- "description": "IcoMo — 424 SVG icons (392 system icons + 32 country flags) as tree-shakeable React components, framework-agnostic SVG strings, TypeScript definitions, and SVG sprite",
3
+ "version": "2.1.0",
4
+ "description": "IcoMo — 426 SVG icons (394 system icons + 32 country flags) as tree-shakeable React components, framework-agnostic SVG strings, TypeScript definitions, and SVG sprite",
5
5
  "keywords": [
6
6
  "icons",
7
7
  "svg",