@simsustech/quasar-components 0.11.19 → 0.11.20

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,11 @@
1
1
  # @simsustech/quasar-components
2
2
 
3
+ ## 0.11.20
4
+
5
+ ### Patch Changes
6
+
7
+ - 3c91d3e: fix(components): fix icons in PasswordChangeStepper
8
+
3
9
  ## 0.11.19
4
10
 
5
11
  ### Patch Changes
@@ -870,7 +870,11 @@ const __default__$8 = {
870
870
  const _sfc_main$9 = /* @__PURE__ */ defineComponent({
871
871
  ...__default__$8,
872
872
  props: {
873
- input: {}
873
+ input: { default: void 0 },
874
+ icons: { default: () => ({
875
+ visibility: "visibility",
876
+ visibilityOff: "visibility_off"
877
+ }) }
874
878
  },
875
879
  emits: ["requestOtp", "changePassword"],
876
880
  setup(__props, { expose: __expose, emit: __emit }) {
@@ -974,8 +978,9 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
974
978
  form: { id: "passwordChangeForm" },
975
979
  email: email.value,
976
980
  input: _ctx.input,
981
+ icons: _ctx.icons,
977
982
  onSubmit: changePassword
978
- }, null, 8, ["email", "input"])
983
+ }, null, 8, ["email", "input", "icons"])
979
984
  ]),
980
985
  _: 1
981
986
  }, 8, ["title"])
@@ -3,6 +3,10 @@ export interface Props {
3
3
  input?: Omit<QInputProps, 'id' | 'name' | 'modelValue' | 'label' | 'rules' | 'type' | 'lazy-rules' | 'autofocus' | ('label' & {
4
4
  style?: Partial<CSSStyleDeclaration>;
5
5
  })>;
6
+ icons?: {
7
+ visibility: string;
8
+ visibilityOff: string;
9
+ };
6
10
  }
7
11
  declare const _default: import("vue").DefineComponent<Props, {
8
12
  variables: import("vue").Ref<{
@@ -41,5 +45,13 @@ declare const _default: import("vue").DefineComponent<Props, {
41
45
  email: string;
42
46
  done: () => void;
43
47
  }) => any) | undefined;
44
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
48
+ }>, {
49
+ icons: {
50
+ visibility: string;
51
+ visibilityOff: string;
52
+ };
53
+ input: Omit<QInputProps, "id" | "name" | "modelValue" | "label" | "rules" | "type" | "lazy-rules" | "autofocus" | ("label" & {
54
+ style?: Partial<CSSStyleDeclaration>;
55
+ })>;
56
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
45
57
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simsustech/quasar-components",
3
- "version": "0.11.19",
3
+ "version": "0.11.20",
4
4
  "author": "Stefan van Herwijnen",
5
5
  "description": "High level components for Quasar Framework",
6
6
  "license": "MIT",
@@ -15,6 +15,7 @@
15
15
  :form="{ id: 'passwordChangeForm' }"
16
16
  :email="email"
17
17
  :input="input"
18
+ :icons="icons"
18
19
  @submit="changePassword"
19
20
  >
20
21
  </password-change-form>
@@ -65,8 +66,18 @@ export interface Props {
65
66
  | 'autofocus'
66
67
  | ('label' & { style?: Partial<CSSStyleDeclaration> })
67
68
  >
69
+ icons?: {
70
+ visibility: string
71
+ visibilityOff: string
72
+ }
68
73
  }
69
- defineProps<Props>()
74
+ withDefaults(defineProps<Props>(), {
75
+ input: undefined,
76
+ icons: () => ({
77
+ visibility: 'visibility',
78
+ visibilityOff: 'visibility_off'
79
+ })
80
+ })
70
81
  // const attrs = useAttrs();
71
82
  const emit = defineEmits<{
72
83
  (