@davincihealthcare/elty-design-system-vue 1.10.4 → 1.11.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 CHANGED
@@ -94,17 +94,17 @@ As it has been set the following as `peer dependencies`
94
94
 
95
95
  This section handles the styling for your Vue component library, leveraging Tailwind CSS for efficiency. Here's a breakdown of the process:
96
96
 
97
- 1. Base Styles (src/style.css):
97
+ 1. Base Styles (`src/style.css`):
98
98
 
99
99
  This file is where you define the foundational CSS styles that you want to use in conjunction with Tailwind. Focus on including essential styles that are unlikely to change frequently. This helps maintain a clean separation between your core design principles and the dynamic nature of Tailwind classes.
100
100
 
101
- 2. Tailwind Processing (yarn build):
101
+ 2. Tailwind Processing (`yarn build`):
102
102
  Running yarn build triggers postcss, a CSS preprocessor. It scans src/style.css and replaces Tailwind directives (@apply, etc.) with actual CSS classes based on your Tailwind configuration. The processed output is saved as dist/style.css.
103
103
 
104
- 3. CJS Conversion (yarn build-prejss):
104
+ 3. CJS Conversion (`yarn build-prejss`):
105
105
  A separate script (potentially yarn build-prejss) is called during yarn build. It takes the processed CSS file (dist/style.css) and generates a CommonJS module (dist/style.cjs). This format is necessary because your src/tailwind.plugin.ts file will import it (explained below).
106
106
 
107
- 4. Tailwind Integration (src/tailwind.plugin.ts):
107
+ 4. Tailwind Integration (`src/tailwind.plugin.ts`):
108
108
  This file defines the Tailwind plugin used within your library. It imports the generated dist/style.cjs file. When you integrate your library into another project that has Tailwind installed, this import will work seamlessly because the library will include the compiled style.cjs file.
109
109
 
110
110
  Key Points:
@@ -1,4 +1,4 @@
1
- export declare const elCalendarCardColors: readonly ["purple", "orange", "brandBlue", "green", "rose", "indigo", "red", "pink", "cyan", "sapphire", "teal", "yellow"];
1
+ export declare const elCalendarCardColors: readonly ["purple", "orange", "brandBlue", "green", "rose", "indigo", "red", "pink", "cyan", "sapphire", "teal", "yellow", "gray"];
2
2
  export type ElCalendarCardColor = (typeof elCalendarCardColors)[number];
3
3
  export declare const elCalendarCardStatuses: readonly ["confirmed", "to-be-confirmed", "past"];
4
4
  export type ElCalendarCardStatus = (typeof elCalendarCardStatuses)[number];
@@ -5,7 +5,7 @@ export declare const elTagSizes: readonly ["xxs", "xs"];
5
5
  export type ElTagSize = (typeof elTagSizes)[number];
6
6
  declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
7
7
  text: string;
8
- color?: "pink" | "yellow" | "orange" | "cyan" | "rose" | "green" | "red" | "purple" | "indigo" | "primary" | "teal" | "blue" | "gray" | undefined;
8
+ color?: "pink" | "yellow" | "orange" | "cyan" | "rose" | "green" | "red" | "purple" | "indigo" | "primary" | "teal" | "gray" | "blue" | undefined;
9
9
  size?: "xs" | "xxs" | undefined;
10
10
  outlined?: boolean | undefined;
11
11
  leadingIcon?: ElIconProps | undefined;
@@ -18,7 +18,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
18
18
  trailingIcon: undefined;
19
19
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
20
20
  text: string;
21
- color?: "pink" | "yellow" | "orange" | "cyan" | "rose" | "green" | "red" | "purple" | "indigo" | "primary" | "teal" | "blue" | "gray" | undefined;
21
+ color?: "pink" | "yellow" | "orange" | "cyan" | "rose" | "green" | "red" | "purple" | "indigo" | "primary" | "teal" | "gray" | "blue" | undefined;
22
22
  size?: "xs" | "xxs" | undefined;
23
23
  outlined?: boolean | undefined;
24
24
  leadingIcon?: ElIconProps | undefined;
package/dist/index.js CHANGED
@@ -16551,7 +16551,8 @@ const Nh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
16551
16551
  "cyan",
16552
16552
  "sapphire",
16553
16553
  "teal",
16554
- "yellow"
16554
+ "yellow",
16555
+ "gray"
16555
16556
  ], fB = ["confirmed", "to-be-confirmed", "past"], vB = /* @__PURE__ */ a0({
16556
16557
  __name: "ElCalendarCard",
16557
16558
  props: {
@@ -16576,7 +16577,8 @@ const Nh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
16576
16577
  cyan: "bg-cyan-500",
16577
16578
  sapphire: "bg-brandBlue-500",
16578
16579
  teal: "bg-teal-500",
16579
- yellow: "bg-yellow-500"
16580
+ yellow: "bg-yellow-500",
16581
+ gray: "bg-neutral-500"
16580
16582
  }, O = {
16581
16583
  purple: "bg-purple-300",
16582
16584
  orange: "bg-orange-300",
@@ -16589,7 +16591,8 @@ const Nh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
16589
16591
  cyan: "bg-cyan-300",
16590
16592
  sapphire: "bg-brandBlue-300",
16591
16593
  teal: "bg-teal-300",
16592
- yellow: "bg-yellow-300"
16594
+ yellow: "bg-yellow-300",
16595
+ gray: "bg-neutral-300"
16593
16596
  }, a = {
16594
16597
  purple: "text-purple-500 border-purple-500",
16595
16598
  orange: "text-orange-500 border-orange-500",
@@ -16602,7 +16605,8 @@ const Nh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
16602
16605
  cyan: "text-cyan-500 border-cyan-500",
16603
16606
  sapphire: "text-brandBlue-500 border-brandBlue-500",
16604
16607
  teal: "text-teal-500 border-teal-500",
16605
- yellow: "text-yellow-500 border-yellow-500"
16608
+ yellow: "text-yellow-500 border-yellow-500",
16609
+ gray: "text-neutral-500 border-neutral-500"
16606
16610
  };
16607
16611
  return (i, l) => (E(), o("div", {
16608
16612
  class: Q(["-ml-1 -mr-1 pr-0.5", { "pl-3": i.horizontalPaddingLeft }]),