simon-design-system 0.1.18 → 0.1.19

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.
@@ -0,0 +1,18 @@
1
+ export type VehicleStatusType = 'unreported' | 'moving' | 'stopped' | 'critical';
2
+ export type VehicleInfoCard = {
3
+ name: string;
4
+ speed: string;
5
+ location: string;
6
+ gps: boolean;
7
+ communication: boolean;
8
+ lastUpdate: Date;
9
+ };
10
+ export type CardVehicleProps = {
11
+ type: VehicleStatusType;
12
+ vehicle: VehicleInfoCard;
13
+ sx?: any;
14
+ };
15
+ declare const CardVehicle: ({ type, vehicle, sx }: CardVehicleProps) => import("react/jsx-runtime").JSX.Element;
16
+ export default CardVehicle;
17
+ export { CardVehicle };
18
+ //# sourceMappingURL=CardVehicle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardVehicle.d.ts","sourceRoot":"","sources":["../../../src/components/CardVehicle/CardVehicle.tsx"],"names":[],"mappings":"AAgBA,MAAM,MAAM,iBAAiB,GACzB,YAAY,GACZ,QAAQ,GACR,SAAS,GACT,UAAU,CAAC;AAEf,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,GAAG,EAAE,OAAO,CAAC;IACb,aAAa,EAAE,OAAO,CAAC;IACvB,UAAU,EAAE,IAAI,CAAC;CAClB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,EAAE,iBAAiB,CAAC;IACxB,OAAO,EAAE,eAAe,CAAC;IACzB,EAAE,CAAC,EAAE,GAAG,CAAC;CACV,CAAC;AA0CF,QAAA,MAAM,WAAW,GAAI,uBAAuB,gBAAgB,4CA8N3D,CAAC;AAGF,eAAe,WAAW,CAAC;AAC3B,OAAO,EAAE,WAAW,EAAE,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { CardVehicle } from './CardVehicle';
2
+ export type { CardVehicleProps } from './CardVehicle';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/CardVehicle/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC"}
@@ -0,0 +1,12 @@
1
+ export type KPIType = 'total' | 'moving' | 'stopped' | 'maintenance' | 'offline';
2
+ export type KPICardProps = {
3
+ type: KPIType;
4
+ quantity: number;
5
+ metric: number;
6
+ disabled?: boolean;
7
+ sx?: any;
8
+ };
9
+ declare const KPICard: ({ type, quantity, metric, disabled, sx, }: KPICardProps) => import("react/jsx-runtime").JSX.Element;
10
+ export default KPICard;
11
+ export { KPICard };
12
+ //# sourceMappingURL=KPICard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KPICard.d.ts","sourceRoot":"","sources":["../../../src/components/KPICard/KPICard.tsx"],"names":[],"mappings":"AAgBA,MAAM,MAAM,OAAO,GACf,OAAO,GACP,QAAQ,GACR,SAAS,GACT,aAAa,GACb,SAAS,CAAC;AAEd,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,OAAO,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,EAAE,CAAC,EAAE,GAAG,CAAC;CACV,CAAC;AA6CF,QAAA,MAAM,OAAO,GAAI,2CAMd,YAAY,4CAsGd,CAAC;AAEF,eAAe,OAAO,CAAC;AACvB,OAAO,EAAE,OAAO,EAAE,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { KPICard } from './KPICard';
2
+ export type { KPICardProps } from './KPICard';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/KPICard/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,YAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC"}
@@ -0,0 +1,3 @@
1
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M6 12L10 8L6 4" stroke="#888888" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M8 8.00016H3.33333C2.97971 8.00016 2.64057 8.14064 2.39052 8.39069C2.14048 8.64074 2 8.97987 2 9.3335V12.6668M2 12.6668C2 13.4032 2.59695 14.0002 3.33333 14.0002C4.06971 14.0002 4.66667 13.4032 4.66667 12.6668C4.66667 11.9305 4.06971 11.3335 3.33333 11.3335C2.59695 11.3335 2 11.9305 2 12.6668ZM7.33333 12.6668C7.33333 13.4032 7.93029 14.0002 8.66667 14.0002C9.40305 14.0002 10 13.4032 10 12.6668C10 11.9305 9.40305 11.3335 8.66667 11.3335C7.93029 11.3335 7.33333 11.9305 7.33333 12.6668ZM7.33333 12.6668H5.33333M10.6667 1.3335V12.6668H14.6667M4 8.00016V4.66683C4 3.9335 4.6 3.3335 5.33333 3.3335H7.33333L10.6667 6.66683" stroke="#888888" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M8 8.00016H3.33333C2.97971 8.00016 2.64057 8.14064 2.39052 8.39069C2.14048 8.64074 2 8.97987 2 9.3335V12.6668M2 12.6668C2 13.4032 2.59695 14.0002 3.33333 14.0002C4.06971 14.0002 4.66667 13.4032 4.66667 12.6668C4.66667 11.9305 4.06971 11.3335 3.33333 11.3335C2.59695 11.3335 2 11.9305 2 12.6668ZM7.33333 12.6668C7.33333 13.4032 7.93029 14.0002 8.66667 14.0002C9.40305 14.0002 10 13.4032 10 12.6668C10 11.9305 9.40305 11.3335 8.66667 11.3335C7.93029 11.3335 7.33333 11.9305 7.33333 12.6668ZM7.33333 12.6668H5.33333M10.6667 1.3335V12.6668H14.6667M4 8.00016V4.66683C4 3.9335 4.6 3.3335 5.33333 3.3335H7.33333L10.6667 6.66683" stroke="#18631D" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M8 8.00016H3.33333C2.97971 8.00016 2.64057 8.14064 2.39052 8.39069C2.14048 8.64074 2 8.97987 2 9.3335V12.6668M2 12.6668C2 13.4032 2.59695 14.0002 3.33333 14.0002C4.06971 14.0002 4.66667 13.4032 4.66667 12.6668C4.66667 11.9305 4.06971 11.3335 3.33333 11.3335C2.59695 11.3335 2 11.9305 2 12.6668ZM7.33333 12.6668C7.33333 13.4032 7.93029 14.0002 8.66667 14.0002C9.40305 14.0002 10 13.4032 10 12.6668C10 11.9305 9.40305 11.3335 8.66667 11.3335C7.93029 11.3335 7.33333 11.9305 7.33333 12.6668ZM7.33333 12.6668H5.33333M10.6667 1.3335V12.6668H14.6667M4 8.00016V4.66683C4 3.9335 4.6 3.3335 5.33333 3.3335H7.33333L10.6667 6.66683" stroke="#9E1616" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M8 8.00016H3.33333C2.97971 8.00016 2.64057 8.14064 2.39052 8.39069C2.14048 8.64074 2 8.97987 2 9.3335V12.6668M2 12.6668C2 13.4032 2.59695 14.0002 3.33333 14.0002C4.06971 14.0002 4.66667 13.4032 4.66667 12.6668C4.66667 11.9305 4.06971 11.3335 3.33333 11.3335C2.59695 11.3335 2 11.9305 2 12.6668ZM7.33333 12.6668C7.33333 13.4032 7.93029 14.0002 8.66667 14.0002C9.40305 14.0002 10 13.4032 10 12.6668C10 11.9305 9.40305 11.3335 8.66667 11.3335C7.93029 11.3335 7.33333 11.9305 7.33333 12.6668ZM7.33333 12.6668H5.33333M10.6667 1.3335V12.6668H14.6667M4 8.00016V4.66683C4 3.9335 4.6 3.3335 5.33333 3.3335H7.33333L10.6667 6.66683" stroke="#A67502" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M8 8.00016H3.33333C2.97971 8.00016 2.64057 8.14064 2.39052 8.39069C2.14048 8.64074 2 8.97987 2 9.3335V12.6668M2 12.6668C2 13.4032 2.59695 14.0002 3.33333 14.0002C4.06971 14.0002 4.66667 13.4032 4.66667 12.6668C4.66667 11.9305 4.06971 11.3335 3.33333 11.3335C2.59695 11.3335 2 11.9305 2 12.6668ZM7.33333 12.6668C7.33333 13.4032 7.93029 14.0002 8.66667 14.0002C9.40305 14.0002 10 13.4032 10 12.6668C10 11.9305 9.40305 11.3335 8.66667 11.3335C7.93029 11.3335 7.33333 11.9305 7.33333 12.6668ZM7.33333 12.6668H5.33333M10.6667 1.3335V12.6668H14.6667M4 8.00016V4.66683C4 3.9335 4.6 3.3335 5.33333 3.3335H7.33333L10.6667 6.66683" stroke="#1A1A1A" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M8.00065 9.33337L10.6673 6.66671M2.22732 12.6667C1.64213 11.6532 1.33403 10.5036 1.33398 9.3333C1.33394 8.16303 1.64195 7.01336 2.22706 5.99986C2.81217 4.98636 3.65377 4.14474 4.66724 3.55959C5.68072 2.97444 6.83038 2.66638 8.00065 2.66638C9.17092 2.66638 10.3206 2.97444 11.3341 3.55959C12.3475 4.14474 13.1891 4.98636 13.7742 5.99986C14.3593 7.01336 14.6674 8.16303 14.6673 9.3333C14.6673 10.5036 14.3592 11.6532 13.774 12.6667" stroke="#888888" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M13.3327 6.66671C13.3327 9.99537 9.64002 13.462 8.40002 14.5327C8.2845 14.6196 8.14388 14.6665 7.99935 14.6665C7.85482 14.6665 7.7142 14.6196 7.59868 14.5327C6.35868 13.462 2.66602 9.99537 2.66602 6.66671C2.66602 5.25222 3.22792 3.89567 4.22811 2.89547C5.22831 1.89528 6.58486 1.33337 7.99935 1.33337C9.41384 1.33337 10.7704 1.89528 11.7706 2.89547C12.7708 3.89567 13.3327 5.25222 13.3327 6.66671Z" stroke="#888888" stroke-linecap="round" stroke-linejoin="round"/>
3
+ <path d="M7.99935 8.66671C9.10392 8.66671 9.99935 7.77128 9.99935 6.66671C9.99935 5.56214 9.10392 4.66671 7.99935 4.66671C6.89478 4.66671 5.99935 5.56214 5.99935 6.66671C5.99935 7.77128 6.89478 8.66671 7.99935 8.66671Z" stroke="#888888" stroke-linecap="round" stroke-linejoin="round"/>
4
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M5.99951 10L7.99951 8M11.3328 8.66667C11.3328 7.6058 10.9114 6.58839 10.1613 5.83824C9.41113 5.08809 8.39371 4.66667 7.33285 4.66667M13.9995 8.66667C13.9995 6.89856 13.2971 5.20286 12.0469 3.95262C10.7966 2.70238 9.10096 2 7.33285 2M2.66618 6.66667C2.12247 7.59671 1.90227 8.6807 2.03999 9.74917C2.17772 10.8176 2.6656 11.8104 3.42737 12.5721C4.18915 13.3339 5.18187 13.8218 6.25034 13.9595C7.31881 14.0972 8.4028 13.877 9.33284 13.3333L2.66618 6.66667Z" stroke="#888888" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M1.33398 13.3334H1.34065M4.66732 13.3334V10.6667M8.00065 13.3334V8.00008M11.334 13.3334V5.33341M14.6673 2.66675V13.3334" stroke="#888888" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "simon-design-system",
3
3
  "description": "A design system for Simon Movilidad built with React and MUI.",
4
4
  "private": false,
5
- "version": "0.1.18",
5
+ "version": "0.1.19",
6
6
  "type": "module",
7
7
  "main": "./dist/index.cjs",
8
8
  "module": "./dist/index.js",