@simsustech/quasar-components 0.11.25 → 0.11.26

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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @simsustech/quasar-components
2
2
 
3
+ ## 0.11.26
4
+
5
+ ### Patch Changes
6
+
7
+ - 16439cd: feat(components): add disable prop to NavigationRailFabs
8
+ - 89c6493: feat(ResponsiveDialog): use css variables for colors
9
+
3
10
  ## 0.11.25
4
11
 
5
12
  ### Patch Changes
package/dist/general.js CHANGED
@@ -132,17 +132,17 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
132
132
  createVNode(_component_q_layout, {
133
133
  view: "LHh lpR fff",
134
134
  container: "",
135
- class: "bg-light-surface dark:bg-dark-surface",
135
+ class: "bg-$light-surface dark:bg-$dark-surface",
136
136
  style: { "min-width": "85vw" }
137
137
  }, {
138
138
  default: withCtx(() => [
139
- createVNode(_component_q_header, { class: "bg-light-surface-container-high dark:bg-dark-surface-container-high" }, {
139
+ createVNode(_component_q_header, { class: "bg-$light-surface-container-high dark:bg-$dark-surface-container-high" }, {
140
140
  default: withCtx(() => [
141
141
  createVNode(_component_q_toolbar, null, {
142
142
  default: withCtx(() => [
143
143
  createVNode(_component_q_btn, {
144
144
  icon: __props.icons.close,
145
- class: "text-light-on-surface dark:text-dark-on-surface",
145
+ class: "text-$light-on-surface dark:text-$dark-on-surface",
146
146
  flat: "",
147
147
  round: "",
148
148
  dense: "",
@@ -157,7 +157,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
157
157
  !__props.display ? (openBlock(), createBlock(_sfc_main$5, {
158
158
  key: 0,
159
159
  flat: "",
160
- class: "text-light-primary dark:text-dark-primary",
160
+ class: "text-$light-primary dark:text-$dark-primary",
161
161
  type: __props.buttonType,
162
162
  onSubmit: submit
163
163
  }, null, 8, ["type"])) : createCommentVNode("", true)
package/dist/md3.js CHANGED
@@ -7,6 +7,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
7
7
  type: {},
8
8
  showSticky: { type: Boolean },
9
9
  seekAttention: { type: Boolean },
10
+ disable: { type: Boolean },
10
11
  busEmits: {},
11
12
  icons: {}
12
13
  },
@@ -37,8 +38,9 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
37
38
  }),
38
39
  fab: "",
39
40
  icon: unref(addIcon),
41
+ disable: __props.disable,
40
42
  onClick: _cache[0] || (_cache[0] = ($event) => unref(bus).emit(__props.busEmits.add))
41
- }, null, 8, ["class", "icon"])) : createCommentVNode("", true),
43
+ }, null, 8, ["class", "icon", "disable"])) : createCommentVNode("", true),
42
44
  __props.busEmits.edit && unref(type) === "edit" ? (openBlock(), createBlock(_component_q_btn, {
43
45
  key: 1,
44
46
  id: "fabEdit",
@@ -50,8 +52,9 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
50
52
  }),
51
53
  fab: "",
52
54
  icon: unref(editIcon),
55
+ disable: __props.disable,
53
56
  onClick: _cache[1] || (_cache[1] = ($event) => unref(bus).emit(__props.busEmits.edit))
54
- }, null, 8, ["class", "icon"])) : createCommentVNode("", true)
57
+ }, null, 8, ["class", "icon", "disable"])) : createCommentVNode("", true)
55
58
  ])) : createCommentVNode("", true),
56
59
  __props.showSticky ? (openBlock(), createBlock(_component_q_page_sticky, {
57
60
  key: 1,
@@ -69,8 +72,9 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
69
72
  }),
70
73
  fab: "",
71
74
  icon: unref(addIcon),
75
+ disable: __props.disable,
72
76
  onClick: _cache[2] || (_cache[2] = ($event) => unref(bus).emit(__props.busEmits.add))
73
- }, null, 8, ["class", "icon"])) : createCommentVNode("", true),
77
+ }, null, 8, ["class", "icon", "disable"])) : createCommentVNode("", true),
74
78
  __props.busEmits.edit && unref(type) === "edit" ? (openBlock(), createBlock(_component_q_btn, {
75
79
  key: 1,
76
80
  class: normalizeClass({
@@ -81,8 +85,9 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
81
85
  }),
82
86
  fab: "",
83
87
  icon: unref(editIcon),
88
+ disable: __props.disable,
84
89
  onClick: _cache[3] || (_cache[3] = ($event) => unref(bus).emit(__props.busEmits.edit))
85
- }, null, 8, ["class", "icon"])) : createCommentVNode("", true)
90
+ }, null, 8, ["class", "icon", "disable"])) : createCommentVNode("", true)
86
91
  ]),
87
92
  _: 1
88
93
  })) : createCommentVNode("", true)
@@ -2,6 +2,7 @@ interface Props {
2
2
  type?: 'add' | 'edit';
3
3
  showSticky?: boolean;
4
4
  seekAttention?: boolean;
5
+ disable?: boolean;
5
6
  busEmits: {
6
7
  add?: string;
7
8
  edit?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simsustech/quasar-components",
3
- "version": "0.11.25",
3
+ "version": "0.11.26",
4
4
  "author": "Stefan van Herwijnen",
5
5
  "description": "High level components for Quasar Framework",
6
6
  "license": "MIT",
@@ -51,7 +51,7 @@
51
51
  },
52
52
  "bugs": "https://github.com/simsusech/quasar-components/issues",
53
53
  "dependencies": {
54
- "@vueuse/core": "^14.1.0",
54
+ "@vueuse/core": "^14.2.1",
55
55
  "validator": "^13.15.26"
56
56
  },
57
57
  "peerDependencies": {
@@ -59,30 +59,30 @@
59
59
  },
60
60
  "devDependencies": {
61
61
  "@iconify-json/flagpack": "^1.2.7",
62
- "@types/node": "^25.1.0",
62
+ "@types/node": "^25.3.0",
63
63
  "@types/validator": "^13.15.10",
64
64
  "@types/ws": "^8.18.1",
65
- "@typescript-eslint/eslint-plugin": "^8.54.0",
66
- "@typescript-eslint/parser": "^8.54.0",
67
- "@vitejs/plugin-vue": "^6.0.3",
68
- "@vue/server-renderer": "^3.5.27",
69
- "eslint": "^9.39.2",
65
+ "@typescript-eslint/eslint-plugin": "^8.56.0",
66
+ "@typescript-eslint/parser": "^8.56.0",
67
+ "@vitejs/plugin-vue": "^6.0.4",
68
+ "@vue/server-renderer": "^3.5.28",
69
+ "eslint": "^10.0.0",
70
70
  "eslint-config-prettier": "^10.1.8",
71
71
  "eslint-plugin-prettier": "^5.5.5",
72
72
  "eslint-plugin-prettier-vue": "^5.0.0",
73
- "eslint-plugin-vue": "^10.7.0",
74
- "glob": "^13.0.0",
73
+ "eslint-plugin-vue": "^10.8.0",
74
+ "glob": "^13.0.5",
75
75
  "local-pkg": "^1.1.2",
76
76
  "prettier": "^3.8.1",
77
77
  "quasar": "^2.18.6",
78
- "rimraf": "^6.1.2",
78
+ "rimraf": "^6.1.3",
79
79
  "typescript": "5.9.3",
80
- "typescript-eslint": "^8.54.0",
80
+ "typescript-eslint": "^8.56.0",
81
81
  "unplugin-vue-components": "^31.0.0",
82
82
  "vite": "^7.3.1",
83
- "vue": "^3.5.27",
84
- "vue-eslint-parser": "^10.2.0",
85
- "vue-router": "^4.6.4",
83
+ "vue": "^3.5.28",
84
+ "vue-eslint-parser": "^10.4.0",
85
+ "vue-router": "^5.0.2",
86
86
  "vue-tsc": "^3.2.4"
87
87
  },
88
88
  "scripts": {
@@ -3,16 +3,16 @@
3
3
  <q-layout
4
4
  view="LHh lpR fff"
5
5
  container
6
- class="bg-light-surface dark:bg-dark-surface"
6
+ class="bg-$light-surface dark:bg-$dark-surface"
7
7
  style="min-width: 85vw"
8
8
  >
9
9
  <q-header
10
- class="bg-light-surface-container-high dark:bg-dark-surface-container-high"
10
+ class="bg-$light-surface-container-high dark:bg-$dark-surface-container-high"
11
11
  >
12
12
  <q-toolbar>
13
13
  <q-btn
14
14
  :icon="icons.close"
15
- class="text-light-on-surface dark:text-dark-on-surface"
15
+ class="text-$light-on-surface dark:text-$dark-on-surface"
16
16
  flat
17
17
  round
18
18
  dense
@@ -24,7 +24,7 @@
24
24
  <q-submit-button
25
25
  v-if="!display"
26
26
  flat
27
- class="text-light-primary dark:text-dark-primary"
27
+ class="text-$light-primary dark:text-$dark-primary"
28
28
  :type="buttonType"
29
29
  @submit="submit"
30
30
  ></q-submit-button>
@@ -11,6 +11,7 @@
11
11
  }"
12
12
  fab
13
13
  :icon="addIcon"
14
+ :disable="disable"
14
15
  @click="bus.emit(busEmits.add)"
15
16
  />
16
17
  <q-btn
@@ -24,6 +25,7 @@
24
25
  }"
25
26
  fab
26
27
  :icon="editIcon"
28
+ :disable="disable"
27
29
  @click="bus.emit(busEmits.edit)"
28
30
  />
29
31
  </div>
@@ -38,6 +40,7 @@
38
40
  }"
39
41
  fab
40
42
  :icon="addIcon"
43
+ :disable="disable"
41
44
  @click="bus.emit(busEmits.add)"
42
45
  />
43
46
  <q-btn
@@ -50,6 +53,7 @@
50
53
  }"
51
54
  fab
52
55
  :icon="editIcon"
56
+ :disable="disable"
53
57
  @click="bus.emit(busEmits.edit)"
54
58
  />
55
59
  </q-page-sticky>
@@ -63,6 +67,7 @@ interface Props {
63
67
  type?: 'add' | 'edit'
64
68
  showSticky?: boolean
65
69
  seekAttention?: boolean
70
+ disable?: boolean
66
71
  busEmits: {
67
72
  add?: string
68
73
  edit?: string