@ds-mo/icons 4.2.0 → 4.3.1
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 +4 -4
- package/dist/icons/SquareArrowTopRight.d.ts +2 -0
- package/dist/icons/SquareArrowTopRight.mjs +10 -0
- package/dist/icons/index.d.ts +1 -0
- package/dist/icons/index.mjs +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +1 -0
- package/dist/meta.json +14 -3
- package/dist/sprite.svg +3 -0
- package/dist/svg/SquareArrowTopRight.d.ts +1 -0
- package/dist/svg/SquareArrowTopRight.mjs +1 -0
- package/dist/svg/index.d.ts +1 -0
- package/dist/svg/index.mjs +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/@ds-mo/icons)
|
|
4
4
|
|
|
5
|
-
IcoMo — **
|
|
5
|
+
IcoMo — **428 SVG icons** (396 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` |
|
|
31
|
+
| `system` | 396 | ✅ `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.
|
|
@@ -108,8 +108,8 @@ Machine-readable icon list (for docs, agents, search indexes):
|
|
|
108
108
|
import meta from '@ds-mo/icons/meta';
|
|
109
109
|
|
|
110
110
|
meta.version // e.g. "0.7.3" — matches package version
|
|
111
|
-
meta.count //
|
|
112
|
-
meta.categories // { system: {count:
|
|
111
|
+
meta.count // 428
|
|
112
|
+
meta.categories // { system: {count:396,themeable:true}, flag: {count:32,themeable:false} }
|
|
113
113
|
meta.icons // [{ name, category, kebab, aliases }, ...]
|
|
114
114
|
```
|
|
115
115
|
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { createElement } from 'react';
|
|
2
|
+
import { createIcon } from '../createIcon.mjs';
|
|
3
|
+
|
|
4
|
+
const SquareArrowTopRight = createIcon('square-arrow-top-right', [
|
|
5
|
+
createElement('path', { d: "M11 10H10V6.70703L5.85352 10.8535L5.14648 10.1465L9.29297 6H6V5H11V10Z", key: "a" }),
|
|
6
|
+
createElement('path', { fillRule: "evenodd", clipRule: "evenodd", d: "M12.5 2C13.3284 2 14 2.67157 14 3.5V12.5C14 13.3284 13.3284 14 12.5 14H3.5C2.67157 14 2 13.3284 2 12.5V3.5C2 2.67157 2.67157 2 3.5 2H12.5ZM3.5 3C3.22386 3 3 3.22386 3 3.5V12.5C3 12.7761 3.22386 13 3.5 13H12.5C12.7761 13 13 12.7761 13 12.5V3.5C13 3.22386 12.7761 3 12.5 3H3.5Z", key: "b" }),
|
|
7
|
+
]);
|
|
8
|
+
|
|
9
|
+
SquareArrowTopRight.displayName = 'SquareArrowTopRight';
|
|
10
|
+
export { SquareArrowTopRight };
|
package/dist/icons/index.d.ts
CHANGED
|
@@ -330,6 +330,7 @@ export { SpeedometerRight } from './SpeedometerRight.mjs';
|
|
|
330
330
|
export { SpikeCirclePercentage } from './SpikeCirclePercentage.mjs';
|
|
331
331
|
export { SpikeCirclePercentageFilled } from './SpikeCirclePercentageFilled.mjs';
|
|
332
332
|
export { Square } from './Square.mjs';
|
|
333
|
+
export { SquareArrowTopRight } from './SquareArrowTopRight.mjs';
|
|
333
334
|
export { SquareCheck } from './SquareCheck.mjs';
|
|
334
335
|
export { SquareCheckFilled } from './SquareCheckFilled.mjs';
|
|
335
336
|
export { SquareDollar } from './SquareDollar.mjs';
|
package/dist/icons/index.mjs
CHANGED
|
@@ -330,6 +330,7 @@ export { SpeedometerRight } from './SpeedometerRight.mjs';
|
|
|
330
330
|
export { SpikeCirclePercentage } from './SpikeCirclePercentage.mjs';
|
|
331
331
|
export { SpikeCirclePercentageFilled } from './SpikeCirclePercentageFilled.mjs';
|
|
332
332
|
export { Square } from './Square.mjs';
|
|
333
|
+
export { SquareArrowTopRight } from './SquareArrowTopRight.mjs';
|
|
333
334
|
export { SquareCheck } from './SquareCheck.mjs';
|
|
334
335
|
export { SquareCheckFilled } from './SquareCheckFilled.mjs';
|
|
335
336
|
export { SquareDollar } from './SquareDollar.mjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -335,6 +335,7 @@ export { SpeedometerRight } from './icons/SpeedometerRight.mjs';
|
|
|
335
335
|
export { SpikeCirclePercentage } from './icons/SpikeCirclePercentage.mjs';
|
|
336
336
|
export { SpikeCirclePercentageFilled } from './icons/SpikeCirclePercentageFilled.mjs';
|
|
337
337
|
export { Square } from './icons/Square.mjs';
|
|
338
|
+
export { SquareArrowTopRight } from './icons/SquareArrowTopRight.mjs';
|
|
338
339
|
export { SquareCheck } from './icons/SquareCheck.mjs';
|
|
339
340
|
export { SquareCheckFilled } from './icons/SquareCheckFilled.mjs';
|
|
340
341
|
export { SquareDollar } from './icons/SquareDollar.mjs';
|
package/dist/index.mjs
CHANGED
|
@@ -333,6 +333,7 @@ export { SpeedometerRight } from './icons/SpeedometerRight.mjs';
|
|
|
333
333
|
export { SpikeCirclePercentage } from './icons/SpikeCirclePercentage.mjs';
|
|
334
334
|
export { SpikeCirclePercentageFilled } from './icons/SpikeCirclePercentageFilled.mjs';
|
|
335
335
|
export { Square } from './icons/Square.mjs';
|
|
336
|
+
export { SquareArrowTopRight } from './icons/SquareArrowTopRight.mjs';
|
|
336
337
|
export { SquareCheck } from './icons/SquareCheck.mjs';
|
|
337
338
|
export { SquareCheckFilled } from './icons/SquareCheckFilled.mjs';
|
|
338
339
|
export { SquareDollar } from './icons/SquareDollar.mjs';
|
package/dist/meta.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "4.
|
|
3
|
-
"count":
|
|
2
|
+
"version": "4.3.1",
|
|
3
|
+
"count": 428,
|
|
4
4
|
"categories": {
|
|
5
5
|
"system": {
|
|
6
|
-
"count":
|
|
6
|
+
"count": 396,
|
|
7
7
|
"themeable": true
|
|
8
8
|
},
|
|
9
9
|
"flag": {
|
|
@@ -3362,6 +3362,17 @@
|
|
|
3362
3362
|
"quadrilateral"
|
|
3363
3363
|
]
|
|
3364
3364
|
},
|
|
3365
|
+
{
|
|
3366
|
+
"name": "SquareArrowTopRight",
|
|
3367
|
+
"category": "system",
|
|
3368
|
+
"kebab": "square-arrow-top-right",
|
|
3369
|
+
"aliases": [
|
|
3370
|
+
"external-link-box",
|
|
3371
|
+
"open-in-new",
|
|
3372
|
+
"launch-box",
|
|
3373
|
+
"arrow-up-right-box"
|
|
3374
|
+
]
|
|
3375
|
+
},
|
|
3365
3376
|
{
|
|
3366
3377
|
"name": "SquareCheck",
|
|
3367
3378
|
"category": "system",
|
package/dist/sprite.svg
CHANGED
|
@@ -995,6 +995,9 @@
|
|
|
995
995
|
<symbol id="square" viewBox="0 0 16 16" fill="currentColor">
|
|
996
996
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M2 3.49649C2 2.67 2.67158 2 3.5 2L12.5 2.00003C13.3284 2.00003 14 2.67003 14 3.49652V12.5035C14 13.33 13.3284 14 12.5 14L3.5 14C2.67157 14 2 13.33 2 12.5035V3.49649ZM3.5 2.99766C3.22386 2.99766 3 3.22099 3 3.49649V12.5035C3 12.779 3.22386 13.0023 3.5 13.0023L12.5 13.0023C12.7761 13.0023 13 12.779 13 12.5035V3.49652C13 3.22102 12.7761 2.99769 12.5 2.99769L3.5 2.99766Z" fill="currentColor"/>
|
|
997
997
|
</symbol>
|
|
998
|
+
<symbol id="square-arrow-top-right" viewBox="0 0 16 16" fill="currentColor">
|
|
999
|
+
<path d="M11 10H10V6.70703L5.85352 10.8535L5.14648 10.1465L9.29297 6H6V5H11V10Z" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5 2C13.3284 2 14 2.67157 14 3.5V12.5C14 13.3284 13.3284 14 12.5 14H3.5C2.67157 14 2 13.3284 2 12.5V3.5C2 2.67157 2.67157 2 3.5 2H12.5ZM3.5 3C3.22386 3 3 3.22386 3 3.5V12.5C3 12.7761 3.22386 13 3.5 13H12.5C12.7761 13 13 12.7761 13 12.5V3.5C13 3.22386 12.7761 3 12.5 3H3.5Z" fill="currentColor"/>
|
|
1000
|
+
</symbol>
|
|
998
1001
|
<symbol id="square-check" viewBox="0 0 16 16" fill="currentColor">
|
|
999
1002
|
<path d="M7.16667 10.0404L10.8536 6.35356L10.1465 5.64645L7.16667 8.62623L5.85356 7.31312L5.14645 8.02023L7.16667 10.0404Z" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M3.5 2C2.67157 2 2 2.67157 2 3.5V12.5C2 13.3284 2.67157 14 3.5 14H12.5C13.3284 14 14 13.3284 14 12.5V3.5C14 2.67157 13.3284 2 12.5 2H3.5ZM3 3.5C3 3.22386 3.22386 3 3.5 3H12.5C12.7761 3 13 3.22386 13 3.5V12.5C13 12.7761 12.7761 13 12.5 13H3.5C3.22386 13 3 12.7761 3 12.5V3.5Z" fill="currentColor"/>
|
|
1000
1003
|
</symbol>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const SquareArrowTopRight: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const SquareArrowTopRight = "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M11 10H10V6.70703L5.85352 10.8535L5.14648 10.1465L9.29297 6H6V5H11V10Z\" fill=\"currentColor\"/><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M12.5 2C13.3284 2 14 2.67157 14 3.5V12.5C14 13.3284 13.3284 14 12.5 14H3.5C2.67157 14 2 13.3284 2 12.5V3.5C2 2.67157 2.67157 2 3.5 2H12.5ZM3.5 3C3.22386 3 3 3.22386 3 3.5V12.5C3 12.7761 3.22386 13 3.5 13H12.5C12.7761 13 13 12.7761 13 12.5V3.5C13 3.22386 12.7761 3 12.5 3H3.5Z\" fill=\"currentColor\"/></svg>";
|
package/dist/svg/index.d.ts
CHANGED
|
@@ -330,6 +330,7 @@ export { SpeedometerRight } from './SpeedometerRight.mjs';
|
|
|
330
330
|
export { SpikeCirclePercentage } from './SpikeCirclePercentage.mjs';
|
|
331
331
|
export { SpikeCirclePercentageFilled } from './SpikeCirclePercentageFilled.mjs';
|
|
332
332
|
export { Square } from './Square.mjs';
|
|
333
|
+
export { SquareArrowTopRight } from './SquareArrowTopRight.mjs';
|
|
333
334
|
export { SquareCheck } from './SquareCheck.mjs';
|
|
334
335
|
export { SquareCheckFilled } from './SquareCheckFilled.mjs';
|
|
335
336
|
export { SquareDollar } from './SquareDollar.mjs';
|
package/dist/svg/index.mjs
CHANGED
|
@@ -330,6 +330,7 @@ export { SpeedometerRight } from './SpeedometerRight.mjs';
|
|
|
330
330
|
export { SpikeCirclePercentage } from './SpikeCirclePercentage.mjs';
|
|
331
331
|
export { SpikeCirclePercentageFilled } from './SpikeCirclePercentageFilled.mjs';
|
|
332
332
|
export { Square } from './Square.mjs';
|
|
333
|
+
export { SquareArrowTopRight } from './SquareArrowTopRight.mjs';
|
|
333
334
|
export { SquareCheck } from './SquareCheck.mjs';
|
|
334
335
|
export { SquareCheckFilled } from './SquareCheckFilled.mjs';
|
|
335
336
|
export { SquareDollar } from './SquareDollar.mjs';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ds-mo/icons",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.3.1",
|
|
4
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",
|