@privyid/persona 0.25.2 → 0.27.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.
Files changed (59) hide show
  1. package/dist/components/calendar/Calendar.vue.d.ts +3 -3
  2. package/dist/components/camera/Camera.vue.d.ts +4 -4
  3. package/dist/components/card/Card.vue.d.ts +1 -1
  4. package/dist/components/card/CardSection.vue.d.ts +1 -1
  5. package/dist/components/carousel/Carousel.vue.d.ts +2 -2
  6. package/dist/components/checkbox/index.mjs +4 -6
  7. package/dist/components/contextual-bar/ContextualBar.vue.d.ts +1 -1
  8. package/dist/components/cropper/Cropper.vue.d.ts +1 -1
  9. package/dist/components/datepicker/Datepicker.vue.d.ts +4 -4
  10. package/dist/components/dropdown/Dropdown.vue +4 -2
  11. package/dist/components/dropdown-subitem/DropdownSubitem.vue.d.ts +1 -1
  12. package/dist/components/dropzone/Dropzone.vue.d.ts +4 -4
  13. package/dist/components/filterbar/pinned/PinnedDate.vue.d.ts +2 -2
  14. package/dist/components/filterbar/pinned/PinnedMultiselect.vue.d.ts +1 -1
  15. package/dist/components/filterbar/pinned/PinnedSelect.vue.d.ts +1 -1
  16. package/dist/components/filterbar/pinned/PinnedToggle.vue.d.ts +1 -1
  17. package/dist/components/input/Input.vue.d.ts +2 -2
  18. package/dist/components/input-color/index.d.ts +1 -0
  19. package/dist/components/input-color/index.mjs +0 -0
  20. package/dist/components/input-color/inputColor.vue +257 -0
  21. package/dist/components/input-file/InputFile.vue.d.ts +5 -5
  22. package/dist/components/input-pin/InputPin.vue.d.ts +2 -2
  23. package/dist/components/input-range/InputRange.vue.d.ts +2 -2
  24. package/dist/components/list-group/ListGroup.vue.d.ts +1 -1
  25. package/dist/components/meta.json +7 -4
  26. package/dist/components/modal/Modal.vue.d.ts +1 -1
  27. package/dist/components/nav/Nav.vue.d.ts +1 -1
  28. package/dist/components/pagination/Pagination.vue.d.ts +1 -1
  29. package/dist/components/pdf-object/PdfObject.vue.d.ts +1 -1
  30. package/dist/components/pdf-text/PdfText.vue.d.ts +3 -3
  31. package/dist/components/popover/Popover.vue +131 -0
  32. package/dist/components/popover/index.d.ts +17 -0
  33. package/dist/components/popover/index.mjs +52 -0
  34. package/dist/components/progress-indicator/ProgressIndicator.vue.d.ts +1 -1
  35. package/dist/components/radio/Radio.vue.d.ts +1 -1
  36. package/dist/components/radio/index.mjs +2 -3
  37. package/dist/components/select/Select.vue +61 -49
  38. package/dist/components/shimmer/Shimmer.vue +125 -0
  39. package/dist/components/signature-draw/SignatureDraw.vue.d.ts +1 -1
  40. package/dist/components/signature-draw/SignatureDrawDesktop.vue +3 -1
  41. package/dist/components/signature-draw/SignatureDrawDesktop.vue.d.ts +1 -1
  42. package/dist/components/signature-draw/SignatureDrawMobile.vue +9 -1
  43. package/dist/components/signature-draw/SignatureDrawMobile.vue.d.ts +1 -1
  44. package/dist/components/signature-draw/utils/image.d.ts +7 -0
  45. package/dist/components/signature-draw/utils/{rotate-image.mjs → image.mjs} +12 -1
  46. package/dist/components/signature-text/SignatureText.vue.d.ts +1 -1
  47. package/dist/components/steps/Steps.vue.d.ts +1 -1
  48. package/dist/components/textarea/Textarea.vue.d.ts +2 -2
  49. package/dist/components/toggle/Toggle.vue.d.ts +1 -1
  50. package/dist/components/tooltip/Tooltip.vue +1 -1
  51. package/dist/components/tooltip/TooltipContainer.vue +3 -1
  52. package/dist/components/utils/date.d.ts +2 -2
  53. package/dist/core/index.d.ts +1 -0
  54. package/dist/core/index.mjs +3 -0
  55. package/dist/module.json +1 -1
  56. package/dist/types.d.mts +3 -2
  57. package/dist/types.d.ts +3 -2
  58. package/package.json +10 -10
  59. package/dist/components/signature-draw/utils/rotate-image.d.ts +0 -6
@@ -174,19 +174,19 @@ declare const _default: import("vue-demi").DefineComponent<{
174
174
  validator(value: string): boolean;
175
175
  };
176
176
  }>> & {
177
- onChange?: ((...args: any[]) => any) | undefined;
178
177
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
178
+ onChange?: ((...args: any[]) => any) | undefined;
179
179
  "onUpdate:start"?: ((...args: any[]) => any) | undefined;
180
180
  "onUpdate:end"?: ((...args: any[]) => any) | undefined;
181
181
  }, {
182
+ modelValue: Date | [Date, Date];
182
183
  start: Date;
184
+ mode: "date" | "month" | "year";
183
185
  end: Date;
184
186
  min: Date;
185
187
  max: Date;
186
- modelValue: Date | [Date, Date];
187
188
  disabled: boolean;
188
189
  readonly: boolean;
189
- mode: "date" | "month" | "year";
190
190
  range: boolean;
191
191
  minRange: string;
192
192
  maxRange: string;
@@ -49,7 +49,7 @@ declare const _default: import("vue-demi").DefineComponent<{
49
49
  toast: (text: string) => void;
50
50
  deviceId: ComputedRef<string | undefined>;
51
51
  constraints: ComputedRef<MediaStreamConstraints>;
52
- }, unknown, {}, {}, import("vue-demi").ComponentOptionsMixin, import("vue-demi").ComponentOptionsMixin, ("change" | "start" | "update:modelValue" | "result")[], "change" | "start" | "update:modelValue" | "result", import("vue-demi").VNodeProps & import("vue-demi").AllowedComponentProps & import("vue-demi").ComponentCustomProps, Readonly<import("vue-demi").ExtractPropTypes<{
52
+ }, unknown, {}, {}, import("vue-demi").ComponentOptionsMixin, import("vue-demi").ComponentOptionsMixin, ("change" | "update:modelValue" | "result" | "start")[], "change" | "update:modelValue" | "result" | "start", import("vue-demi").VNodeProps & import("vue-demi").AllowedComponentProps & import("vue-demi").ComponentCustomProps, Readonly<import("vue-demi").ExtractPropTypes<{
53
53
  modelValue: {
54
54
  type: PropType<string | string[] | File | File[]>;
55
55
  default: string;
@@ -79,15 +79,15 @@ declare const _default: import("vue-demi").DefineComponent<{
79
79
  default: boolean;
80
80
  };
81
81
  }>> & {
82
- onChange?: ((...args: any[]) => any) | undefined;
83
82
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
84
- onStart?: ((...args: any[]) => any) | undefined;
83
+ onChange?: ((...args: any[]) => any) | undefined;
85
84
  onResult?: ((...args: any[]) => any) | undefined;
85
+ onStart?: ((...args: any[]) => any) | undefined;
86
86
  }, {
87
- modelValue: string | string[] | File | File[];
88
87
  facingMode: ConstrainDOMString;
89
88
  mask: MaskVariant;
90
89
  mirror: boolean | "preview" | "all";
90
+ modelValue: string | string[] | File | File[];
91
91
  modelModifiers: ModelModifier;
92
92
  adapter: Adapter;
93
93
  silent: boolean;
@@ -67,8 +67,8 @@ declare const _default: import("vue-demi").DefineComponent<{
67
67
  onDismissed?: ((...args: any[]) => any) | undefined;
68
68
  }, {
69
69
  dismissable: boolean;
70
- disabled: boolean;
71
70
  title: string;
71
+ disabled: boolean;
72
72
  element: ElementVariant;
73
73
  sectioned: boolean;
74
74
  callout: boolean;
@@ -19,7 +19,7 @@ declare const _default: import("vue-demi").DefineComponent<{
19
19
  default: boolean;
20
20
  };
21
21
  }>>, {
22
- disabled: boolean;
23
22
  title: string;
23
+ disabled: boolean;
24
24
  }, {}>;
25
25
  export default _default;
@@ -94,15 +94,15 @@ declare const _default: import("vue-demi").DefineComponent<{
94
94
  default: boolean;
95
95
  };
96
96
  }>> & {
97
- onChange?: ((...args: any[]) => any) | undefined;
98
97
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
98
+ onChange?: ((...args: any[]) => any) | undefined;
99
99
  }, {
100
100
  modelValue: number;
101
101
  direction: DirectionVariant;
102
102
  align: AlignmentVariant;
103
103
  width: string | number;
104
- height: string | number;
105
104
  loop: boolean;
105
+ height: string | number;
106
106
  autoplay: boolean;
107
107
  autoplayInterval: string | number;
108
108
  splideOptions: Options;
@@ -12,21 +12,19 @@ function isChecked(modelValue, checked) {
12
12
  }
13
13
  export function useVModel(props) {
14
14
  const { emit } = getCurrentInstance();
15
- const checked = props.value;
16
- const unchecked = props.uncheckedValue;
17
- const localValue = ref(isChecked(props.modelValue, checked) || props.checked);
15
+ const localValue = ref(isChecked(props.modelValue, props.value) || props.checked);
18
16
  const model = computed({
19
17
  get() {
20
- return isChecked(props.modelValue, checked) || props.checked;
18
+ return isChecked(props.modelValue, props.value) || props.checked;
21
19
  },
22
20
  set(value) {
23
- const newValue = value ? checked : unchecked;
21
+ const newValue = value ? props.value : props.uncheckedValue;
24
22
  if (Array.isArray(props.modelValue)) {
25
23
  if (value) {
26
24
  if (!valueIn(props.modelValue, newValue))
27
25
  emit("update:modelValue", [...props.modelValue, newValue]);
28
26
  } else
29
- emit("update:modelValue", props.modelValue.filter((old) => !isEqual(old, checked)));
27
+ emit("update:modelValue", props.modelValue.filter((old) => !isEqual(old, props.value)));
30
28
  } else
31
29
  emit("update:modelValue", newValue);
32
30
  emit("change", value);
@@ -72,8 +72,8 @@ declare const _default: import("vue-demi").DefineComponent<{
72
72
  onHide?: ((...args: any[]) => any) | undefined;
73
73
  }, {
74
74
  dismissable: boolean;
75
- modelValue: boolean;
76
75
  title: string;
76
+ modelValue: boolean;
77
77
  message: string;
78
78
  align: AlignVariant;
79
79
  state: StyleVariant;
@@ -128,8 +128,8 @@ declare const _default: import("vue-demi").DefineComponent<{
128
128
  default: boolean;
129
129
  };
130
130
  }>> & {
131
- onChange?: ((...args: any[]) => any) | undefined;
132
131
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
132
+ onChange?: ((...args: any[]) => any) | undefined;
133
133
  onResult?: ((...args: any[]) => any) | undefined;
134
134
  onLoad?: ((...args: any[]) => any) | undefined;
135
135
  }, {
@@ -130,25 +130,25 @@ declare const _default: import("vue-demi").DefineComponent<{
130
130
  default: undefined;
131
131
  };
132
132
  }>> & {
133
- onChange?: ((...args: any[]) => any) | undefined;
134
133
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
134
+ onChange?: ((...args: any[]) => any) | undefined;
135
135
  "onUpdate:start"?: ((...args: any[]) => any) | undefined;
136
136
  "onUpdate:end"?: ((...args: any[]) => any) | undefined;
137
137
  }, {
138
138
  error: boolean;
139
139
  size: SizeVariant;
140
+ placeholder: string;
141
+ modelValue: Date | [Date, Date];
140
142
  start: Date;
143
+ mode: "date" | "month" | "year";
141
144
  end: Date;
142
145
  min: Date;
143
146
  max: Date;
144
- modelValue: Date | [Date, Date];
145
147
  disabled: boolean;
146
148
  readonly: boolean;
147
- mode: "date" | "month" | "year";
148
149
  range: boolean;
149
150
  minRange: string;
150
151
  maxRange: string;
151
- placeholder: string;
152
152
  format: string;
153
153
  }, {}>;
154
154
  export default _default;
@@ -197,8 +197,10 @@ defineEmits<{
197
197
  }>()
198
198
 
199
199
  const slots = defineSlots<{
200
- prepend(): VNode[],
201
- append(): VNode[],
200
+ 'activator'(props: { isOpen: boolean, open: () => void, close: () => void, toggle: () => void }): VNode[],
201
+ 'button-content'(): VNode[],
202
+ 'prepend'(): VNode[],
203
+ 'append'(): VNode[],
202
204
  }>()
203
205
 
204
206
  const root = ref<HTMLDivElement>()
@@ -15,7 +15,7 @@ declare const _default: import("vue-demi").DefineComponent<{
15
15
  back: () => void;
16
16
  reset: () => void;
17
17
  canBack: import("vue-demi").ComputedRef<boolean>;
18
- transition: import("vue-demi").Ref<"slide-left" | "slide-right" | "none">;
18
+ transition: import("vue-demi").Ref<"none" | "slide-left" | "slide-right">;
19
19
  handleOnClick: () => void;
20
20
  }, unknown, {}, {}, import("vue-demi").ComponentOptionsMixin, import("vue-demi").ComponentOptionsMixin, "click"[], "click", import("vue-demi").VNodeProps & import("vue-demi").AllowedComponentProps & import("vue-demi").ComponentCustomProps, Readonly<import("vue-demi").ExtractPropTypes<{
21
21
  text: {
@@ -77,15 +77,15 @@ declare const _default: import("vue-demi").DefineComponent<{
77
77
  default: boolean;
78
78
  };
79
79
  }>> & {
80
- onChange?: ((...args: any[]) => any) | undefined;
81
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
82
80
  onCancel?: ((...args: any[]) => any) | undefined;
81
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
82
+ onChange?: ((...args: any[]) => any) | undefined;
83
83
  }, {
84
+ accept: string;
84
85
  modelValue: string | string[] | File | File[];
86
+ modelModifiers: ModelModifier;
85
87
  disabled: boolean;
86
88
  readonly: boolean;
87
- accept: string;
88
- modelModifiers: ModelModifier;
89
89
  multiple: boolean | MultipleType;
90
90
  maxlength: string | number;
91
91
  clearOnCancel: boolean;
@@ -58,10 +58,10 @@ declare const _default: import("vue-demi").DefineComponent<{
58
58
  }>> & {
59
59
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
60
60
  }, {
61
- min: Date;
62
- max: Date;
63
61
  modelValue: Date;
64
62
  mode: "date" | "month" | "year";
63
+ min: Date;
64
+ max: Date;
65
65
  format: string;
66
66
  }, {}>;
67
67
  export default _default;
@@ -36,7 +36,7 @@ declare const _default: import("vue-demi").DefineComponent<{
36
36
  }>> & {
37
37
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
38
38
  }, {
39
- options: string[] | SelectItem[];
40
39
  modelValue: unknown[];
40
+ options: string[] | SelectItem[];
41
41
  }, {}>;
42
42
  export default _default;
@@ -36,7 +36,7 @@ declare const _default: import("vue-demi").DefineComponent<{
36
36
  }>> & {
37
37
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
38
38
  }, {
39
- options: string[] | SelectItem[];
40
39
  modelValue: string | number | boolean | Record<string, any> | unknown[] | Date;
40
+ options: string[] | SelectItem[];
41
41
  }, {}>;
42
42
  export default _default;
@@ -46,8 +46,8 @@ declare const _default: import("vue-demi").DefineComponent<{
46
46
  default: boolean;
47
47
  };
48
48
  }>> & {
49
- onChange?: ((...args: any[]) => any) | undefined;
50
49
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
50
+ onChange?: ((...args: any[]) => any) | undefined;
51
51
  }, {
52
52
  value: string | number | boolean | Record<string, any> | unknown[] | Date;
53
53
  modelValue: string | number | boolean | Record<string, any> | unknown[] | Date;
@@ -80,11 +80,11 @@ declare const _default: import("vue-demi").DefineComponent<{
80
80
  }, {
81
81
  error: boolean;
82
82
  size: SizeVariant;
83
+ clearable: boolean;
84
+ accept: AcceptVariant;
83
85
  modelValue: string | number;
84
86
  disabled: boolean;
85
87
  readonly: boolean;
86
- clearable: boolean;
87
- accept: AcceptVariant;
88
88
  containerClass: string | Record<string, any> | unknown[];
89
89
  }, {}>;
90
90
  export default _default;
@@ -0,0 +1 @@
1
+ export type StyleVariant = 'default' | 'circle';
File without changes
@@ -0,0 +1,257 @@
1
+ <template>
2
+ <div
3
+ class="input-color"
4
+ :class="[containerClass, inputClass]"
5
+ data-testid="input-color"
6
+ :style="`--p-input-color-bg:${model}`">
7
+ <span class="input-color__body">
8
+ <span class="input-color__face">
9
+ <IconAddPlus24
10
+ v-if="!model"
11
+ data-testid="input-color-add"
12
+ class="input-color__icon" />
13
+ <template v-else>
14
+ <IconCheckmarkCircleSolid20
15
+ v-if="variant === 'circle'"
16
+ data-testid="input-color-check-circle"
17
+ class="input-color__icon" />
18
+ <IconCheckmarkCircleSolid24
19
+ v-else
20
+ class="input-color__icon"
21
+ data-testid="input-color-check" />
22
+ </template>
23
+ </span>
24
+ <input
25
+ v-model="model"
26
+ :disabled="disabled"
27
+ type="color"
28
+ data-testid="input-color-form"
29
+ :class="[classNames, 'input-color__form']">
30
+ </span>
31
+ <slot
32
+ name="clearable"
33
+ :clear="clear">
34
+ <IconClear
35
+ v-if="model && clearable"
36
+ data-testid="input-color-clear"
37
+ class="input-color__clear"
38
+ @click="clear" />
39
+ </slot>
40
+ </div>
41
+ </template>
42
+ <script lang="ts" setup>
43
+ import type { PropType } from 'vue-demi'
44
+ import { computed } from 'vue-demi'
45
+ import { useVModel } from '../input'
46
+ import IconCheckmarkCircleSolid20 from '@privyid/persona-icon/vue/checkmark-circle-solid/20.vue'
47
+ import IconCheckmarkCircleSolid24 from '@privyid/persona-icon/vue/checkmark-circle-solid/24.vue'
48
+ import IconAddPlus24 from '@privyid/persona-icon/vue/add-plus/24.vue'
49
+ import IconClear from '@privyid/persona-icon/vue/close-circle-solid/20.vue'
50
+ import type { StyleVariant } from '.'
51
+
52
+ const props = defineProps({
53
+ modelValue: {
54
+ type : String,
55
+ default: '',
56
+ },
57
+ variant: {
58
+ type : String as PropType<StyleVariant>,
59
+ default: 'default',
60
+ },
61
+ clearable: {
62
+ type : Boolean,
63
+ default: false,
64
+ },
65
+ disabled: {
66
+ type : Boolean,
67
+ default: false,
68
+ },
69
+ error: {
70
+ type : Boolean,
71
+ default: false,
72
+ },
73
+ containerClass: {
74
+ type : [String, Object],
75
+ default: undefined,
76
+ },
77
+ })
78
+
79
+ const emit = defineEmits(['update:modelValue', 'clear'])
80
+ const model = useVModel(props)
81
+
82
+ const classNames = computed(() => {
83
+ const result: string[] = ['']
84
+
85
+ if (props.clearable)
86
+ result.push('input-color__form--clearable')
87
+
88
+ if (props.error)
89
+ result.push('input-color__form--error', 'state--error')
90
+
91
+ return result
92
+ })
93
+
94
+ const inputClass = computed(() => {
95
+ const result: string[] = ['']
96
+
97
+ if (props.variant)
98
+ result.push(`input-color--${props.variant}`)
99
+
100
+ if (props.disabled)
101
+ result.push('input-color--disabled')
102
+
103
+ if (model.value)
104
+ result.push('input-color--selected')
105
+
106
+ if (props.error)
107
+ result.push('input-color--error')
108
+
109
+ return result
110
+ })
111
+
112
+ function clear () {
113
+ emit('clear')
114
+ model.value = ''
115
+ }
116
+ </script>
117
+ <style lang="postcss">
118
+ .input-color {
119
+ /**
120
+ * define color-bg variable
121
+ * for change
122
+ */
123
+ --p-input-color-bg: theme(backgroundColor.base.DEFAULT);
124
+
125
+ @apply flex items-center space-x-3 relative;
126
+
127
+ /**
128
+ * default variant's
129
+ * size and shape
130
+ */
131
+ &--default {
132
+ .input-color__body {
133
+ @apply w-14 h-14 rounded;
134
+ }
135
+ }
136
+
137
+ /**
138
+ * set sizing of
139
+ * circle variant
140
+ */
141
+ &--circle {
142
+ .input-color__body {
143
+ @apply rounded-full w-10 h-10;
144
+ }
145
+ }
146
+
147
+ /**
148
+ * make icon in white
149
+ * when color is selected
150
+ */
151
+ &:where(&--selected) {
152
+ .input-color__icon {
153
+ @apply text-state-emphasis;
154
+ @apply dark:text-dark-state-emphasis;
155
+ }
156
+ }
157
+
158
+ /**
159
+ * selected state
160
+ */
161
+ &--selected {
162
+ /**
163
+ * coloring body of
164
+ * input-color via
165
+ * color-bg variable
166
+ * */
167
+ .input-color__body {
168
+ @apply border-[color:var(--p-input-color-bg)] bg-[color:var(--p-input-color-bg)];
169
+ @apply dark:border-[color:var(--p-input-color-bg)] dark:bg-[color:var(--p-input-color-bg)];
170
+ }
171
+
172
+ /**
173
+ * make circle has
174
+ * an outline when
175
+ * selected
176
+ */
177
+ &.input-color--circle {
178
+ .input-color__body {
179
+ @apply outline outline-4 outline-default;
180
+ @apply dark:outline-dark-default;
181
+ }
182
+ }
183
+ }
184
+
185
+ /**
186
+ * default style of
187
+ * body of input-color
188
+ */
189
+ &__body {
190
+ @apply relative border-2 border-dashed border-default bg-base text-subtle;
191
+ @apply dark:bg-dark-base dark:border-dark-default dark:text-dark-subtle;
192
+ }
193
+
194
+ /**
195
+ * wrapper of checked
196
+ * and add icon
197
+ */
198
+ &__face {
199
+ @apply h-full w-full flex justify-center items-center;
200
+ }
201
+
202
+ /**
203
+ * hide input-color
204
+ * form visually
205
+ */
206
+ &__form {
207
+ @apply w-full h-full absolute left-0 top-0 opacity-0;
208
+
209
+ /**
210
+ * cursor pointer
211
+ * when form is not
212
+ * disabled
213
+ */
214
+ &:not(&:disabled, &[disabled="true"], &--disabled) {
215
+ @apply hover:cursor-pointer;
216
+ }
217
+ }
218
+
219
+ /**
220
+ * clear button
221
+ */
222
+ &__clear {
223
+ @apply z-[10] text-default/30 cursor-pointer hover:text-danger absolute -right-2.5 -top-2.5;
224
+ @apply dark:text-base-black/30 dark:hover:text-dark-danger;
225
+ }
226
+
227
+ /**
228
+ * make input-color
229
+ * looks vague when
230
+ * disabled
231
+ */
232
+ &--disabled {
233
+ .input-color__body {
234
+ @apply opacity-50;
235
+ }
236
+ }
237
+
238
+ /**
239
+ * adding red border
240
+ * when input error
241
+ */
242
+ &--error {
243
+ .input-color__body {
244
+ @apply ring-1 ring-danger-emphasis ring-offset-2;
245
+ @apply dark:ring-dark-danger-emphasis;
246
+ }
247
+ }
248
+
249
+ /**
250
+ * make icon subtle
251
+ * by default */
252
+ &__icon {
253
+ @apply text-subtle;
254
+ @apply dark:text-dark-subtle;
255
+ }
256
+ }
257
+ </style>
@@ -113,20 +113,20 @@ declare const _default: import("vue-demi").DefineComponent<{
113
113
  default: string;
114
114
  };
115
115
  }>> & {
116
- onChange?: ((...args: any[]) => any) | undefined;
117
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
118
116
  onCancel?: ((...args: any[]) => any) | undefined;
117
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
118
+ onChange?: ((...args: any[]) => any) | undefined;
119
119
  onClear?: ((...args: any[]) => any) | undefined;
120
120
  }, {
121
121
  error: boolean;
122
122
  size: SizeVariant;
123
- modelValue: string | string[] | File | File[];
124
- disabled: boolean;
125
- readonly: boolean;
126
123
  placeholder: string;
127
124
  clearable: boolean;
128
125
  accept: string;
126
+ modelValue: string | string[] | File | File[];
129
127
  modelModifiers: ModelModifier;
128
+ disabled: boolean;
129
+ readonly: boolean;
130
130
  multiple: boolean | MultipleType;
131
131
  maxlength: string | number;
132
132
  clearOnCancel: boolean;
@@ -69,15 +69,15 @@ declare const _default: import("vue-demi").DefineComponent<{
69
69
  default: undefined;
70
70
  };
71
71
  }>> & {
72
- onChange?: ((...args: any[]) => any) | undefined;
73
72
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
73
+ onChange?: ((...args: any[]) => any) | undefined;
74
74
  }, {
75
75
  error: boolean;
76
76
  length: string | number;
77
77
  size: SizeVariant;
78
+ accept: AcceptVariant;
78
79
  modelValue: string;
79
80
  disabled: boolean;
80
81
  readonly: boolean;
81
- accept: AcceptVariant;
82
82
  }, {}>;
83
83
  export default _default;
@@ -89,17 +89,17 @@ declare const _default: import("vue-demi").DefineComponent<{
89
89
  default: boolean;
90
90
  };
91
91
  }>> & {
92
- onChange?: ((...args: any[]) => any) | undefined;
93
92
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
93
+ onChange?: ((...args: any[]) => any) | undefined;
94
94
  "onUpdate:start"?: ((...args: any[]) => any) | undefined;
95
95
  "onUpdate:end"?: ((...args: any[]) => any) | undefined;
96
96
  }, {
97
97
  error: boolean;
98
+ modelValue: number | [number, number];
98
99
  start: number;
99
100
  end: number;
100
101
  min: string | number;
101
102
  max: string | number;
102
- modelValue: number | [number, number];
103
103
  disabled: boolean;
104
104
  readonly: boolean;
105
105
  step: string | number;
@@ -35,8 +35,8 @@ declare const _default: import("vue-demi").DefineComponent<{
35
35
  default: boolean;
36
36
  };
37
37
  }>>, {
38
- horizontal: boolean;
39
38
  flush: boolean;
39
+ horizontal: boolean;
40
40
  rounded: boolean;
41
41
  borderless: boolean;
42
42
  }, {}>;