sme-pos-package 1.0.12 → 1.0.13
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/chunk-OZOYVV24.mjs +63 -0
- package/dist/index.mjs +44789 -52
- package/dist/tailwind.preset.mjs +31 -2
- package/package.json +1 -1
- package/tsup.config.ts +12 -12
package/dist/tailwind.preset.mjs
CHANGED
|
@@ -1,2 +1,31 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import "./chunk-OZOYVV24.mjs";
|
|
2
|
+
|
|
3
|
+
// tailwind.preset.ts
|
|
4
|
+
var tailwind_preset_default = {
|
|
5
|
+
theme: {
|
|
6
|
+
extend: {
|
|
7
|
+
colors: {
|
|
8
|
+
primary: "var(--color-primary)",
|
|
9
|
+
secondary: "var(--color-secondary)",
|
|
10
|
+
text: {
|
|
11
|
+
primary: "#060606",
|
|
12
|
+
disable: "#666",
|
|
13
|
+
btn: "var(--text-button)",
|
|
14
|
+
active: "var(--text-active-primary)",
|
|
15
|
+
secondary: "var(--text-active-secondary)"
|
|
16
|
+
},
|
|
17
|
+
table: {
|
|
18
|
+
unavailable: "var(--text-unavailable-table-color)",
|
|
19
|
+
takeaway: "var(--text-take-away-color)"
|
|
20
|
+
},
|
|
21
|
+
surface: {
|
|
22
|
+
default: "#FAFAFA",
|
|
23
|
+
primary: "var(--text-surface-primary)"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
export {
|
|
30
|
+
tailwind_preset_default as default
|
|
31
|
+
};
|
package/package.json
CHANGED
package/tsup.config.ts
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { defineConfig } from "tsup";
|
|
2
2
|
|
|
3
3
|
export default defineConfig({
|
|
4
|
-
target: "es2020",
|
|
4
|
+
// target: "es2020",
|
|
5
5
|
entry: {
|
|
6
6
|
index: "src/index.ts",
|
|
7
7
|
"tailwind.preset": "tailwind.preset.ts",
|
|
8
8
|
},
|
|
9
9
|
format: ["esm"],
|
|
10
|
-
platform: "neutral",
|
|
10
|
+
// platform: "neutral",
|
|
11
11
|
dts: true, // Generate TypeScript declaration files
|
|
12
|
-
splitting: false,
|
|
13
|
-
clean: true,
|
|
14
|
-
sourcemap: true,
|
|
15
|
-
minify: true,
|
|
12
|
+
// splitting: false,
|
|
13
|
+
// clean: true,
|
|
14
|
+
// sourcemap: true,
|
|
15
|
+
// minify: true,
|
|
16
16
|
external: [
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
"react",
|
|
18
|
+
"react-dom",
|
|
19
|
+
"react-router-dom",
|
|
20
20
|
// "@fctc/sme-widget-ui",
|
|
21
21
|
// "@fctc/widget-logic",
|
|
22
22
|
// "lottie-react",
|
|
@@ -24,7 +24,7 @@ export default defineConfig({
|
|
|
24
24
|
// "stream",
|
|
25
25
|
// "mqtt",
|
|
26
26
|
],
|
|
27
|
-
define: {
|
|
28
|
-
|
|
29
|
-
},
|
|
27
|
+
// define: {
|
|
28
|
+
// "process.env.NODE_ENV": '"production"',
|
|
29
|
+
// },
|
|
30
30
|
});
|