@trackunit/react-components 0.4.1 → 0.4.3

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/index.cjs.js CHANGED
@@ -254,16 +254,6 @@ const cvaTag = cssClassVarianceUtilities.cvaMerge([
254
254
  unknown: "bg-unknown-100 text-unknown-700",
255
255
  moving: "bg-neutral-100 text-neutral-700",
256
256
  active: "bg-neutral-100 text-neutral-700",
257
- customer_type_contractor: "bg-customer_type_contractor-100 text-customer_type_contractor-700",
258
- customer_type_dealer: "bg-customer_type_dealer-100 text-customer_type_dealer-700",
259
- customer_type_rental: "bg-customer_type_rental-100 text-customer_type_rental-700",
260
- customer_type_oem: "bg-customer_type_oem-100 text-customer_type_oem-700",
261
- customer_type_service: "bg-customer_type_service-100 text-customer_type_service-700",
262
- customer_type_distributor: "bg-customer_type_distributor-100 text-customer_type_distributor-700",
263
- customer_type_other_customer_type: "bg-customer_type_other_customer_type-100 text-customer_type_other_customer_type-700",
264
- customer_source_user_defined: "bg-customer_source_user_defined-100 text-customer_source_user_defined-700",
265
- customer_source_classic_migration: "bg-customer_source_classic_migration-100 text-customer_source_classic_migration-700",
266
- customer_source_system_defined: "bg-customer_source_system_defined-100 text-customer_source_system_defined-700",
267
257
  },
268
258
  },
269
259
  defaultVariants: {
package/index.esm.js CHANGED
@@ -234,16 +234,6 @@ const cvaTag = cvaMerge([
234
234
  unknown: "bg-unknown-100 text-unknown-700",
235
235
  moving: "bg-neutral-100 text-neutral-700",
236
236
  active: "bg-neutral-100 text-neutral-700",
237
- customer_type_contractor: "bg-customer_type_contractor-100 text-customer_type_contractor-700",
238
- customer_type_dealer: "bg-customer_type_dealer-100 text-customer_type_dealer-700",
239
- customer_type_rental: "bg-customer_type_rental-100 text-customer_type_rental-700",
240
- customer_type_oem: "bg-customer_type_oem-100 text-customer_type_oem-700",
241
- customer_type_service: "bg-customer_type_service-100 text-customer_type_service-700",
242
- customer_type_distributor: "bg-customer_type_distributor-100 text-customer_type_distributor-700",
243
- customer_type_other_customer_type: "bg-customer_type_other_customer_type-100 text-customer_type_other_customer_type-700",
244
- customer_source_user_defined: "bg-customer_source_user_defined-100 text-customer_source_user_defined-700",
245
- customer_source_classic_migration: "bg-customer_source_classic_migration-100 text-customer_source_classic_migration-700",
246
- customer_source_system_defined: "bg-customer_source_system_defined-100 text-customer_source_system_defined-700",
247
237
  },
248
238
  },
249
239
  defaultVariants: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/react-components",
3
- "version": "0.4.1",
3
+ "version": "0.4.3",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -1,8 +1,8 @@
1
- import { ActivityColors, CriticalityColors, CustomerDataSourceColors, CustomerTypeColors, GeneralColors, IntentColors } from "@trackunit/ui-design-tokens";
1
+ import { ActivityColors, CriticalityColors, GeneralColors, IntentColors } from "@trackunit/ui-design-tokens";
2
2
  import * as React from "react";
3
3
  import { CommonProps, Size } from "../../common";
4
4
  export type TagSize = Extract<Size, "small" | "medium">;
5
- export type TagColors = IntentColors | GeneralColors | CriticalityColors | ActivityColors | CustomerTypeColors | CustomerDataSourceColors;
5
+ export type TagColors = IntentColors | GeneralColors | CriticalityColors | ActivityColors;
6
6
  export interface TagProps extends CommonProps {
7
7
  /**
8
8
  * The color of the tag.
@@ -1,7 +1,7 @@
1
1
  export declare const cvaTag: (props?: ({
2
2
  size?: "small" | "medium" | null | undefined;
3
3
  layout?: "default" | "withIcon" | null | undefined;
4
- color?: "primary" | "secondary" | "accent" | "neutral" | "black" | "white" | "info" | "success" | "warning" | "danger" | "good" | "low" | "critical" | "working" | "stopped" | "idle" | "unknown" | "moving" | "active" | "customer_type_contractor" | "customer_type_dealer" | "customer_type_rental" | "customer_type_oem" | "customer_type_service" | "customer_type_distributor" | "customer_type_other_customer_type" | "customer_source_user_defined" | "customer_source_classic_migration" | "customer_source_system_defined" | null | undefined;
4
+ color?: "primary" | "secondary" | "accent" | "neutral" | "black" | "white" | "info" | "success" | "warning" | "danger" | "good" | "low" | "critical" | "working" | "stopped" | "idle" | "unknown" | "moving" | "active" | null | undefined;
5
5
  } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
6
6
  export declare const cvaTagIconContainer: (props?: import("class-variance-authority/dist/types").ClassProp | undefined) => string;
7
7
  export declare const cvaTagIcon: (props?: import("class-variance-authority/dist/types").ClassProp | undefined) => string;