@narmi/design_system 4.20.1 → 4.22.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/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/style.css +5 -3
- package/dist/style.css.map +1 -1
- package/dist/tokens/css/rgbColors.css +2 -1
- package/dist/tokens/css/tokens.css +2 -1
- package/dist/tokens/js/colors.js +2 -1
- package/dist/tokens/js/manifest.js +20 -1
- package/dist/tokens/js/reactNativeWeb.js +2 -1
- package/dist/tokens/json/tokens.json +1 -0
- package/dist/types/Avatar/index.d.ts +3 -1
- package/dist/types/Avatar/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Fri, 09 May 2025 14:25:28 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
:root {
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
--rgb-pistachio: 181, 233, 149;
|
|
19
19
|
--rgb-cactus: 127, 188, 91;
|
|
20
20
|
--rgb-sand: 220, 193, 162;
|
|
21
|
+
--rgb-amethyst: 85, 20, 184;
|
|
21
22
|
--rgb-black: 51, 51, 51;
|
|
22
23
|
--rgb-grey: 76, 76, 76;
|
|
23
24
|
--rgb-mediumGrey: 140, 140, 140;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Fri, 09 May 2025 14:25:28 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
:root {
|
|
@@ -46,6 +46,7 @@
|
|
|
46
46
|
--color-mediumGrey: #8c8c8c;
|
|
47
47
|
--color-grey: #4c4c4c;
|
|
48
48
|
--color-black: #333333;
|
|
49
|
+
--color-amethyst: #5514b8;
|
|
49
50
|
--color-sand800: #fcf0e9;
|
|
50
51
|
--color-sand700: #f4e3d6;
|
|
51
52
|
--color-sand600: #eed6c3;
|
package/dist/tokens/js/colors.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Fri, 09 May 2025 14:25:28 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
module.exports = {
|
|
@@ -78,6 +78,7 @@ module.exports = {
|
|
|
78
78
|
"ColorNarmiSand700": "#f4e3d6",
|
|
79
79
|
"ColorNarmiSand800": "#fcf0e9",
|
|
80
80
|
"ColorNarmiSand": "#dcc1a2",
|
|
81
|
+
"ColorNarmiAmethyst": "#5514b8",
|
|
81
82
|
"ColorNarmiBlack": "#333333",
|
|
82
83
|
"ColorNarmiGrey": "#4c4c4c",
|
|
83
84
|
"ColorNarmiMediumGrey": "#8c8c8c",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Fri, 09 May 2025 14:25:28 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
module.exports = {
|
|
@@ -1614,6 +1614,25 @@ module.exports = {
|
|
|
1614
1614
|
"sand"
|
|
1615
1615
|
]
|
|
1616
1616
|
},
|
|
1617
|
+
"amethyst": {
|
|
1618
|
+
"value": "#5514b8",
|
|
1619
|
+
"filePath": "/home/runner/work/design_system/design_system/tokens/src/color/narmi.json",
|
|
1620
|
+
"isSource": true,
|
|
1621
|
+
"original": {
|
|
1622
|
+
"value": "#5514B8"
|
|
1623
|
+
},
|
|
1624
|
+
"name": "color-amethyst",
|
|
1625
|
+
"attributes": {
|
|
1626
|
+
"category": "color",
|
|
1627
|
+
"type": "narmi",
|
|
1628
|
+
"item": "amethyst"
|
|
1629
|
+
},
|
|
1630
|
+
"path": [
|
|
1631
|
+
"color",
|
|
1632
|
+
"narmi",
|
|
1633
|
+
"amethyst"
|
|
1634
|
+
]
|
|
1635
|
+
},
|
|
1617
1636
|
"black": {
|
|
1618
1637
|
"value": "#333333",
|
|
1619
1638
|
"filePath": "/home/runner/work/design_system/design_system/tokens/src/color/narmi.json",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* DO NOT EDIT
|
|
3
|
-
* Generated by style-dictionary on
|
|
3
|
+
* Generated by style-dictionary on Fri May 09 2025 14:25:28 GMT+0000 (Coordinated Universal Time)
|
|
4
4
|
* github.com/narmi/design_system/
|
|
5
5
|
*/
|
|
6
6
|
|
|
@@ -104,6 +104,7 @@ const tokens = {
|
|
|
104
104
|
"sand700": "#F4E3D6",
|
|
105
105
|
"sand800": "#FCF0E9",
|
|
106
106
|
"sand": "#DCC1A2",
|
|
107
|
+
"amethyst": "#5514B8",
|
|
107
108
|
"black": "#333333",
|
|
108
109
|
"grey": "#4C4C4C",
|
|
109
110
|
"mediumGrey": "#8C8C8C",
|
|
@@ -3,6 +3,8 @@ export interface AvatarProps {
|
|
|
3
3
|
label: string;
|
|
4
4
|
/** Fixed height and width of the avatar. Default: "s". */
|
|
5
5
|
size?: "xs" | "s" | "m";
|
|
6
|
+
/** Style variant of avatar */
|
|
7
|
+
kind?: "primary" | "tonal";
|
|
6
8
|
/** String to display in the avatar. If imgurl is provided, this will be ignored. */
|
|
7
9
|
initials?: string;
|
|
8
10
|
/** Optional: URL of the image to display in the avatar. If provided, initials will be ignored. */
|
|
@@ -10,6 +12,6 @@ export interface AvatarProps {
|
|
|
10
12
|
/** Optional: URL to navigate to when the avatar is clicked */
|
|
11
13
|
linkurl?: string;
|
|
12
14
|
}
|
|
13
|
-
declare const Avatar: ({ label, size, initials, imgurl, linkurl, }: AvatarProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
declare const Avatar: ({ label, size, kind, initials, imgurl, linkurl, }: AvatarProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
16
|
export default Avatar;
|
|
15
17
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Avatar/index.tsx"],"names":[],"mappings":"AAIA,MAAM,WAAW,WAAW;IAC1B,mCAAmC;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,0DAA0D;IAC1D,IAAI,CAAC,EAAE,IAAI,GAAG,GAAG,GAAG,GAAG,CAAC;IACxB,oFAAoF;IACpF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,kGAAkG;IAClG,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,8DAA8D;IAC9D,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,QAAA,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Avatar/index.tsx"],"names":[],"mappings":"AAIA,MAAM,WAAW,WAAW;IAC1B,mCAAmC;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,0DAA0D;IAC1D,IAAI,CAAC,EAAE,IAAI,GAAG,GAAG,GAAG,GAAG,CAAC;IACxB,8BAA8B;IAC9B,IAAI,CAAC,EAAE,SAAS,GAAG,OAAO,CAAC;IAC3B,oFAAoF;IACpF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,kGAAkG;IAClG,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,8DAA8D;IAC9D,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,QAAA,MAAM,MAAM,sDAOT,WAAW,4CAwBb,CAAC;AAEF,eAAe,MAAM,CAAC"}
|