@narmi/design_system 3.14.0-beta.4 → 3.14.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/dist/index.d.ts +12 -0
- package/dist/index.js +1 -1
- package/dist/index.js.LICENSE.txt +9 -0
- package/dist/index.js.map +1 -1
- package/dist/style.css +3 -3
- package/dist/style.css.map +1 -1
- package/dist/tokens/css/rgbColors.css +1 -1
- package/dist/tokens/css/tokens.css +1 -1
- package/dist/tokens/js/colors.js +2 -2
- package/dist/tokens/js/manifest.js +139 -139
- package/dist/tokens/js/reactNativeWeb.js +1 -1
- package/package.json +3 -5
- package/dist/types/index.d.ts +0 -23
package/package.json
CHANGED
|
@@ -1,25 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@narmi/design_system",
|
|
3
|
-
"version": "3.14.
|
|
3
|
+
"version": "3.14.1",
|
|
4
4
|
"description": "⚡ A consistent look-and-feel and extensible interface for Narmi experiences 🔥",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist/*"
|
|
8
8
|
],
|
|
9
|
-
"types": "dist/types/index.d.ts",
|
|
10
9
|
"engineStrict": true,
|
|
11
10
|
"engines": {
|
|
12
11
|
"node": ">=18"
|
|
13
12
|
},
|
|
14
13
|
"scripts": {
|
|
15
14
|
"watch": "watch 'npm run build' src",
|
|
16
|
-
"build:types": "node ./scripts/buildTypes.mjs && npx tsc",
|
|
17
15
|
"build:jsdoc": "node ./scripts/jsDoc.mjs",
|
|
18
16
|
"build:classdoc": "node ./scripts/classManifest.mjs",
|
|
19
17
|
"build:tokens": "style-dictionary build --config=./tokens/config.js",
|
|
20
18
|
"build:components": "webpack --mode=production",
|
|
21
|
-
"build": "npm run build:
|
|
22
|
-
"build:clean": "rm -rf dist/ && npm run build",
|
|
19
|
+
"build": "npm run build:tokens && npm run build:jsdoc && npm run build:classdoc && npm run build:components",
|
|
23
20
|
"prepublish": "npm run build",
|
|
24
21
|
"test": "jest",
|
|
25
22
|
"lint": "eslint \"./src/**\" \"./scripts/**\" \"./tokens/**\" --no-error-on-unmatched-pattern",
|
|
@@ -100,6 +97,7 @@
|
|
|
100
97
|
"style-dictionary": "^3.7.1",
|
|
101
98
|
"style-loader": "^0.23.1",
|
|
102
99
|
"tinycolor2": "^1.4.2",
|
|
100
|
+
"ts-loader": "^9.5.0",
|
|
103
101
|
"typescript": "^5.2.2",
|
|
104
102
|
"use-clipboard-copy": "^0.2.0",
|
|
105
103
|
"watch": "^1.0.2",
|
package/dist/types/index.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare module "types/Icon.types" {
|
|
3
|
-
/**
|
|
4
|
-
* Generated by `scripts/buildTypes.mjs` at Sun Nov 19 2023 15:45:57 GMT-0500 (Eastern Standard Time)
|
|
5
|
-
*/
|
|
6
|
-
export type IconName = "filter-2" | "business" | "profiles" | "star-filled" | "car-outline" | "dining" | "fingerprint" | "heart-pulse" | "paw" | "receipt" | "self-care" | "stroller" | "security, narmi-fat-security" | "feed, narmi-feed" | "activity" | "airplay" | "alert-circle" | "alert-octagon" | "alert-triangle" | "align-center" | "align-justify" | "align-left" | "align-right" | "anchor" | "aperture" | "archive" | "arrow-down" | "arrow-down-circle" | "arrow-down-left" | "arrow-down-right" | "arrow-left" | "arrow-left-circle" | "arrow-right" | "arrow-right-circle" | "arrow-up" | "arrow-up-circle" | "arrow-up-left" | "arrow-up-right" | "at-sign" | "award" | "bar-chart" | "bar-chart-2" | "battery" | "battery-charging" | "bell" | "bell-off" | "bluetooth" | "bold" | "book" | "book-open" | "bookmark" | "box" | "briefcase" | "calendar" | "camera" | "camera-off" | "cast" | "check" | "check-circle" | "check-square" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "chevrons-down" | "chevrons-left" | "chevrons-right" | "chevrons-up" | "chrome" | "circle" | "clipboard" | "clock" | "cloud" | "cloud-drizzle" | "cloud-lightning" | "cloud-off" | "cloud-rain" | "cloud-snow" | "code" | "codepen" | "codesandbox" | "coffee" | "columns" | "command" | "compass" | "copy" | "corner-down-left" | "corner-down-right" | "corner-left-down" | "corner-left-up" | "corner-right-down" | "corner-right-up" | "corner-up-left" | "corner-up-right" | "cpu" | "credit-card1" | "crop" | "crosshair" | "database" | "delete" | "disc" | "dollar-sign" | "download" | "download-cloud" | "droplet" | "edit" | "edit-2" | "edit-3" | "external-link" | "eye" | "eye-off" | "facebook" | "fast-forward" | "feather" | "figma" | "file" | "file-minus" | "file-plus" | "file-text1" | "film" | "filter" | "flag" | "folder" | "folder-minus" | "folder-plus" | "framer" | "frown" | "gift" | "git-branch" | "git-commit" | "git-merge" | "git-pull-request" | "github" | "gitlab" | "globe" | "grid" | "hard-drive" | "hash" | "headphones" | "heart" | "help-circle" | "hexagon" | "home" | "image" | "inbox" | "info" | "instagram" | "italic" | "key" | "layers" | "layout" | "life-buoy" | "link" | "link-2" | "linkedin" | "list" | "loader" | "lock" | "log-in" | "log-out" | "mail" | "map" | "map-pin" | "maximize" | "maximize-2" | "meh" | "menu" | "message-circle" | "message-square" | "mic" | "mic-off" | "minimize" | "minimize-2" | "minus" | "minus-circle" | "minus-square" | "monitor" | "moon" | "more-horizontal" | "more-vertical" | "mouse-pointer" | "move" | "music" | "navigation" | "navigation-2" | "octagon" | "package" | "paperclip" | "pause" | "pause-circle" | "pen-tool" | "percent" | "phone" | "phone-call" | "phone-forwarded" | "phone-incoming" | "phone-missed" | "phone-off" | "phone-outgoing" | "pie-chart" | "play" | "play-circle" | "plus" | "plus-circle" | "plus-square" | "pocket" | "power" | "printer" | "radio" | "refresh-ccw" | "refresh-cw" | "repeat" | "rewind" | "rotate-ccw" | "rotate-cw" | "rss" | "save" | "scissors" | "search" | "send" | "server" | "settings" | "share" | "share-2" | "shield" | "shield-off" | "shopping-bag" | "shopping-cart" | "shuffle" | "sidebar" | "skip-back" | "skip-forward" | "slack" | "slash" | "sliders" | "smartphone" | "smile" | "speaker" | "square" | "star" | "stop-circle" | "sun" | "sunrise" | "sunset" | "tablet" | "tag" | "target" | "terminal" | "thermometer" | "thumbs-down" | "thumbs-up" | "toggle-left" | "toggle-right" | "tool" | "trash" | "trash-2" | "trello" | "trending-down" | "trending-up" | "triangle" | "truck" | "tv" | "twitch" | "twitter" | "type" | "umbrella" | "underline" | "unlock" | "upload" | "upload-cloud" | "user" | "user-check" | "user-minus" | "user-plus" | "user-x" | "users" | "video" | "video-off" | "voicemail" | "volume" | "volume-1" | "volume-2" | "volume-x" | "watch" | "wifi" | "wifi-off" | "wind" | "x" | "x-circle" | "x-octagon" | "x-square" | "youtube" | "zap" | "zap-off" | "zoom-in" | "zoom-out" | "student" | "hand-spock" | "solid-circle" | "GroupOutlined" | "LocalAtm" | "MonetizationOnOutlined" | "SyncAlt" | "p2p" | "check-endorsed" | "piggy-bank" | "venmo" | "folder-open" | "group" | "settings-gear" | "admin-user" | "transfer-arrows, narmi-transfer" | "blob" | "bill" | "credit-card" | "logo-remitly" | "zelle-outline" | "question" | "signal" | "car" | "check-front" | "dollar-bill-line" | "wires" | "m2m" | "venmo-logo" | "face-id" | "library" | "profile" | "bank" | "office" | "file-text";
|
|
7
|
-
}
|
|
8
|
-
declare module "SeparatorList/index" {
|
|
9
|
-
import React from "react";
|
|
10
|
-
import { IconName } from "types/Icon.types";
|
|
11
|
-
interface SeparatorListProps {
|
|
12
|
-
items: React.ReactNode[];
|
|
13
|
-
separator?: string;
|
|
14
|
-
noWrap?: boolean;
|
|
15
|
-
testId?: string;
|
|
16
|
-
icon?: IconName;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Takes a list of elements and places a visual separator between items.
|
|
20
|
-
*/
|
|
21
|
-
const SeparatorList: React.FC<SeparatorListProps>;
|
|
22
|
-
export default SeparatorList;
|
|
23
|
-
}
|