pangea-lib 2.8.5 → 2.9.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/main.es.js CHANGED
@@ -991,15 +991,15 @@ var yn = { exports: {} };
991
991
  })(yn);
992
992
  var a5 = yn.exports;
993
993
  const dz = {
994
- mainFirst: {
994
+ textFirst: {
995
995
  light: "#000000",
996
996
  dark: "#ffffff"
997
997
  },
998
- mainSecond: {
998
+ textSecond: {
999
999
  light: "#585858",
1000
1000
  dark: "#d7d7d7"
1001
1001
  },
1002
- mainThird: {
1002
+ textThird: {
1003
1003
  light: "#9B9B9B",
1004
1004
  dark: "#afafaf"
1005
1005
  },
@@ -1017,47 +1017,47 @@ const dz = {
1017
1017
  }
1018
1018
  }, mz = {
1019
1019
  primary: {
1020
- color: "#218c5a",
1020
+ main: "#218c5a",
1021
1021
  contrast: "#ffffff"
1022
1022
  },
1023
1023
  secondary: {
1024
- color: "#218c5a",
1024
+ main: "#218c5a",
1025
1025
  contrast: "#ffffff"
1026
1026
  },
1027
1027
  success: {
1028
- color: "#95cd41",
1028
+ main: "#95cd41",
1029
1029
  contrast: "#ffffff"
1030
1030
  },
1031
1031
  warning: {
1032
- color: "#ffbd35",
1032
+ main: "#ffbd35",
1033
1033
  contrast: "#ffffff"
1034
1034
  },
1035
1035
  danger: {
1036
- color: "#ff5959",
1036
+ main: "#ff5959",
1037
1037
  contrast: "#ffffff"
1038
1038
  },
1039
1039
  dark: {
1040
- color: "#1e1e1e",
1040
+ main: "#1e1e1e",
1041
1041
  contrast: "#ffffff"
1042
1042
  },
1043
1043
  light: {
1044
- color: "#f0f0f0",
1044
+ main: "#f0f0f0",
1045
1045
  contrast: "#000000"
1046
1046
  },
1047
1047
  red: {
1048
- color: "#de4795",
1048
+ main: "#de4795",
1049
1049
  contrast: "#ffffff"
1050
1050
  },
1051
1051
  purple: {
1052
- color: "#7746db",
1052
+ main: "#7746db",
1053
1053
  contrast: "#ffffff"
1054
1054
  },
1055
1055
  sky: {
1056
- color: "#1ab8c3",
1056
+ main: "#1ab8c3",
1057
1057
  contrast: "#ffffff"
1058
1058
  },
1059
1059
  beige: {
1060
- color: "#fdf5e6",
1060
+ main: "#fdf5e6",
1061
1061
  contrast: "#ffffff"
1062
1062
  }
1063
1063
  }, vz = {
@@ -1086,7 +1086,7 @@ function A6(e) {
1086
1086
  return "informative";
1087
1087
  if ("light" in e && "dark" in e)
1088
1088
  return "theme";
1089
- if ("color" in e && "contrast" in e)
1089
+ if ("main" in e && "contrast" in e)
1090
1090
  return "prop";
1091
1091
  }
1092
1092
  function _7(e, c) {
@@ -1155,13 +1155,13 @@ const zz = { class: "badge" }, Mz = /* @__PURE__ */ q1({
1155
1155
  },
1156
1156
  setup(e) {
1157
1157
  r8((n) => ({
1158
- "3497d5d0": a.value,
1159
- "675cfe4a": t.value
1158
+ "743fd213": a.value,
1159
+ "73a8fd85": t.value
1160
1160
  }));
1161
1161
  const c = e, a = Q(() => {
1162
1162
  let n = v4().colors[c.color];
1163
1163
  return n || c.color;
1164
- }), t = Q(() => I4(a.value, 0.05));
1164
+ }), t = Q(() => I4(a.value, 0.1));
1165
1165
  return (n, r) => (T(), K("div", zz, [
1166
1166
  M1(n.$slots, "default", {}, void 0, !0)
1167
1167
  ]));
@@ -1172,7 +1172,7 @@ const v3 = (e, c) => {
1172
1172
  for (const [t, n] of c)
1173
1173
  a[t] = n;
1174
1174
  return a;
1175
- }, Hz = /* @__PURE__ */ v3(Mz, [["__scopeId", "data-v-f0351ebd"]]);
1175
+ }, Hz = /* @__PURE__ */ v3(Mz, [["__scopeId", "data-v-fd7f1deb"]]);
1176
1176
  function ha(e, c) {
1177
1177
  var a = Object.keys(e);
1178
1178
  if (Object.getOwnPropertySymbols) {
@@ -4396,8 +4396,8 @@ const $H = /* @__PURE__ */ v3(IH, [["__scopeId", "data-v-915ee16a"]]), YH = { cl
4396
4396
  emits: ["update:itemSelectedId"],
4397
4397
  setup(e) {
4398
4398
  r8((n) => ({
4399
- "093cfafc": a.value,
4400
- 94213380: t.value
4399
+ aeda19fe: a.value,
4400
+ "1e9e69e1": t.value
4401
4401
  }));
4402
4402
  const c = O5(e, "itemSelectedId"), a = Q(() => I4(v4().colors.primary, 0.08)), t = Q(() => I4(v4().colors.primary, 0.05));
4403
4403
  return (n, r) => {
@@ -4427,7 +4427,7 @@ const $H = /* @__PURE__ */ v3(IH, [["__scopeId", "data-v-915ee16a"]]), YH = { cl
4427
4427
  };
4428
4428
  }
4429
4429
  });
4430
- const jH = /* @__PURE__ */ v3(UH, [["__scopeId", "data-v-89b55c2d"]]), GH = { class: "spinner" }, ZH = /* @__PURE__ */ q1({
4430
+ const jH = /* @__PURE__ */ v3(UH, [["__scopeId", "data-v-af0df78a"]]), GH = { class: "spinner" }, ZH = /* @__PURE__ */ q1({
4431
4431
  __name: "PgaSpinner",
4432
4432
  props: {
4433
4433
  color: { default: "primary" },
@@ -11549,7 +11549,7 @@ const tL = /* @__PURE__ */ aL("bar", i5), nL = /* @__PURE__ */ q1({
11549
11549
  };
11550
11550
  }
11551
11551
  });
11552
- const oL = /* @__PURE__ */ v3(sL, [["__scopeId", "data-v-10b5081d"]]), lL = ["textContent"], fL = /* @__PURE__ */ q1({
11552
+ const oL = /* @__PURE__ */ v3(sL, [["__scopeId", "data-v-2cc66951"]]), lL = ["textContent"], fL = /* @__PURE__ */ q1({
11553
11553
  __name: "PgaDisplayText",
11554
11554
  props: {
11555
11555
  text: { type: [String, Function] }
@@ -3,7 +3,7 @@ export type ColorRgb = `rgb(${number}, ${number}, ${number})`;
3
3
  export type ColorRgba = `rgba(${number}, ${number}, ${number}, ${number})`;
4
4
  export type ColorHex = `#${string}`;
5
5
  export type Color = ColorRgb | ColorRgba | ColorHex;
6
- export type AppColorNameTheme = 'mainFirst' | 'mainSecond' | 'mainThird' | 'backgroundFirst' | 'backgroundSecond' | 'backgroundThird';
6
+ export type AppColorNameTheme = 'textFirst' | 'textSecond' | 'textThird' | 'backgroundFirst' | 'backgroundSecond' | 'backgroundThird';
7
7
  export type AppColorNameProp = 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'dark' | 'light' | 'red' | 'purple' | 'sky' | 'beige';
8
8
  export type AppColorNameInformative = 'info' | 'link' | 'error';
9
9
  export type AppColorName = AppColorNameTheme | AppColorNameProp | AppColorNameInformative;
@@ -12,7 +12,7 @@ export type AppColorTheme = {
12
12
  dark: Color;
13
13
  };
14
14
  export type AppColorProp = {
15
- color: Color;
15
+ main: Color;
16
16
  contrast: Color;
17
17
  };
18
18
  export type AppColorInformative = Color;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pangea-lib",
3
3
  "description": "",
4
- "version": "2.8.5",
4
+ "version": "2.9.0",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"