quasar-ui-danx 0.2.26 → 0.2.28

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
@@ -81,9 +81,14 @@ export default ({ command }) => {
81
81
  * Settings -> Directories -> Add
82
82
  * Create a new directory w/ name node_modules and set the directory to the node_modules directory in your project
83
83
  * Symlink Danx UI library
84
+ * FOR LOCAL DEVELOPMENT ONLY: if you plan on updating Danx UI
85
+ * Symlinking the danx UI library allows for better integration w/ PHPStorm + tailwindcss + HMR w/ vite.
86
+ * NOTE: Setting this up w/ `npm link` or trying to modify tsconfig.json / vite.config.ts only can be quite
87
+ challenging to get everything configured correctly. I found this to be the best solution.
84
88
  * copy/paste and run `./danx-local.sh`
85
- * (or manually symlink node_modules/quasar-ui-danx to ../../quasar-ui-danx/ui/src)
86
- * Directory structure of your project relative to quasar-ui-danx:
89
+ * (recommended) if using docker, add this to your entrypoint script
90
+ * (or manually symlink node_modules/quasar-ui-danx to ../../quasar-ui-danx/ui/src)
91
+ * Directory structure of your project relative to quasar-ui-danx:
87
92
 
88
93
  ```
89
94
  - parent-directory
package/danx-local.sh ADDED
@@ -0,0 +1,14 @@
1
+ #!/bin/bash
2
+
3
+ set +x
4
+
5
+ # Resolve path to quasar-ui-danx (can be up 1 or 2 directories)
6
+ DANX_PATH="$(realpath $(find ../.. -maxdepth 2 -type d -name "quasar-ui-danx" | head -n 1))/ui/src"
7
+ MODULE_PATH="$(pwd)/node_modules/quasar-ui-danx"
8
+
9
+ # symlink ../quasar-ui-danx to node_modules/quasar-ui-danx if the directory exists
10
+ if [ -d "$DANX_PATH" ]; then
11
+ rm -rf node_modules/quasar-ui-danx
12
+ ln -s "$DANX_PATH" "$MODULE_PATH"
13
+ printf "Symlinked $DANX_PATH --> $MODULE_PATH\n"
14
+ fi
package/dist/danx.es.js CHANGED
@@ -16117,7 +16117,7 @@ const Aw = { class: "flex items-center" }, Dw = { key: 0 }, Pw = { class: "flex-
16117
16117
  dense: "",
16118
16118
  inputmode: "numeric",
16119
16119
  "input-class": { [t.inputClass]: !0, "text-right bg-white": !t.hidePrependLabel, "text-right !text-xs text-black font-normal": t.hidePrependLabel },
16120
- class: R({ "no-prepend-icon w-32": t.hidePrependLabel, "prepend-label": !t.hidePrependLabel }),
16120
+ class: R({ "no-prepend-icon w-32 max-w-full": t.hidePrependLabel, "prepend-label": !t.hidePrependLabel }),
16121
16121
  "onUpdate:modelValue": a
16122
16122
  }, {
16123
16123
  prepend: D(() => [
@@ -18809,7 +18809,7 @@ const IS = {
18809
18809
  });
18810
18810
  };
18811
18811
  }
18812
- }, X4 = "quasar-ui-danx", K4 = "0.2.25", J4 = "Dan <dan@flytedesk.com>", eT = "DanX Vue / Quasar component library", tT = "MIT", nT = "module", rT = "dist/danx.es.js", iT = "dist/danx.es.js", oT = {
18812
+ }, X4 = "quasar-ui-danx", K4 = "0.2.27", J4 = "Dan <dan@flytedesk.com>", eT = "DanX Vue / Quasar component library", tT = "MIT", nT = "module", rT = "dist/danx.es.js", iT = "dist/danx.es.js", oT = {
18813
18813
  dev: "cd dev && quasar dev && cd ..",
18814
18814
  build: "vite build",
18815
18815
  preview: "vite preview"