@onereach/ui-components-vue2 18.3.1 → 18.4.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.
@@ -23,6 +23,17 @@ var InputType;
23
23
  InputType["Password"] = "password";
24
24
  InputType["Search"] = "search";
25
25
  })(InputType || (InputType = {}));
26
+ var InputMode;
27
+ (function (InputMode) {
28
+ InputMode["None"] = "none";
29
+ InputMode["Text"] = "text";
30
+ InputMode["Tel"] = "tel";
31
+ InputMode["Url"] = "url";
32
+ InputMode["Email"] = "email";
33
+ InputMode["Numeric"] = "numeric";
34
+ InputMode["Decimal"] = "decimal";
35
+ InputMode["Search"] = "search";
36
+ })(InputMode || (InputMode = {}));
26
37
 
27
38
  var script = defineComponent({
28
39
  name: 'OrInput',
@@ -56,6 +67,10 @@ var script = defineComponent({
56
67
  type: String,
57
68
  default: 'off'
58
69
  },
70
+ inputmode: {
71
+ type: String,
72
+ default: InputMode.Text
73
+ },
59
74
  variant: {
60
75
  type: String,
61
76
  default: undefined
@@ -154,7 +169,7 @@ var script = defineComponent({
154
169
  }
155
170
  });
156
171
 
157
- var css_248z = "input[data-v-62cf22f4]{min-width:0;background:0 0;outline:0}input[type=search][data-v-62cf22f4]::-webkit-search-cancel-button{display:none}";
172
+ var css_248z = "input[data-v-dbc6b092]{min-width:0;background:0 0;outline:0}input[type=search][data-v-dbc6b092]::-webkit-search-cancel-button{display:none}";
158
173
  styleInject(css_248z);
159
174
 
160
175
  /* script */
@@ -251,6 +266,7 @@ var __vue_render__ = function () {
251
266
  attrs: {
252
267
  "name": _vm.name,
253
268
  "type": _vm.type === 'password' && _vm.disclosed ? 'text' : _vm.type,
269
+ "inputmode": _vm.inputmode,
254
270
  "autocomplete": _vm.autocomplete,
255
271
  "placeholder": _vm.placeholder,
256
272
  "required": _vm.required,
@@ -327,7 +343,7 @@ var __vue_staticRenderFns__ = [];
327
343
  /* style */
328
344
  const __vue_inject_styles__ = undefined;
329
345
  /* scoped */
330
- const __vue_scope_id__ = "data-v-62cf22f4";
346
+ const __vue_scope_id__ = "data-v-dbc6b092";
331
347
  /* module identifier */
332
348
  const __vue_module_identifier__ = undefined;
333
349
  /* functional template */
@@ -343,4 +359,4 @@ const __vue_component__ = /*#__PURE__*/normalizeComponent({
343
359
  staticRenderFns: __vue_staticRenderFns__
344
360
  }, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
345
361
 
346
- export { InputType, __vue_component__ as OrInputV3 };
362
+ export { InputMode, InputType, __vue_component__ as OrInputV3 };
@@ -6,3 +6,13 @@ export declare enum InputType {
6
6
  Password = "password",
7
7
  Search = "search"
8
8
  }
9
+ export declare enum InputMode {
10
+ None = "none",
11
+ Text = "text",
12
+ Tel = "tel",
13
+ Url = "url",
14
+ Email = "email",
15
+ Numeric = "numeric",
16
+ Decimal = "decimal",
17
+ Search = "search"
18
+ }
@@ -101,7 +101,7 @@ export { default as OrInlineTextareaV3 } from './OrInlineTextareaV3/OrInlineText
101
101
  export { default as OrInput } from './OrInput/OrInput.js';
102
102
  export { default as OrInputBoxV3 } from './OrInputBoxV3/OrInputBox.js';
103
103
  export { I as InputBoxDirection, b as InputBoxSize, a as InputBoxVariant } from '../types-98e9a758.js';
104
- export { InputType, OrInputV3 } from './OrInputV3/index.js';
104
+ export { InputMode, InputType, OrInputV3 } from './OrInputV3/index.js';
105
105
  export { default as OrLabel } from './OrLabel/OrLabel.js';
106
106
  export { default as OrLabelV3 } from './OrLabelV3/OrLabel.js';
107
107
  export { L as LabelVariant } from '../styles-9e50a422.js';
@@ -150,7 +150,7 @@ export { InlineTextEditTrimmingTypes, InlineTextEditTypes } from './components/O
150
150
  export { default as OrInput } from './components/OrInput/OrInput.js';
151
151
  export { default as OrInputBoxV3 } from './components/OrInputBoxV3/OrInputBox.js';
152
152
  export { I as InputBoxDirection, b as InputBoxSize, a as InputBoxVariant } from './types-98e9a758.js';
153
- export { InputType, OrInputV3 } from './components/OrInputV3/index.js';
153
+ export { InputMode, InputType, OrInputV3 } from './components/OrInputV3/index.js';
154
154
  export { default as OrLabel } from './components/OrLabel/OrLabel.js';
155
155
  export { default as OrLabelV3 } from './components/OrLabelV3/OrLabel.js';
156
156
  export { L as LabelVariant } from './styles-9e50a422.js';
@@ -73,7 +73,7 @@ export { OrInlineTextareaV3 } from './or-inline-textarea-v3/index.js';
73
73
  export { OrInput } from './or-input/index.js';
74
74
  export { OrInputBoxV3 } from './or-input-box-v3/index.js';
75
75
  export { I as InputBoxDirection, b as InputBoxSize, a as InputBoxVariant } from '../OrInputBox.vue_rollup-plugin-vue_script-0207994e.js';
76
- export { InputType, OrInputV3 } from './or-input-v3/index.js';
76
+ export { InputMode, InputType, OrInputV3 } from './or-input-v3/index.js';
77
77
  export { OrLabel } from './or-label/index.js';
78
78
  export { LabelVariant, OrLabelV3 } from './or-label-v3/index.js';
79
79
  export { LinkColor, OrLinkV3 } from './or-link-v3/index.js';
@@ -60,6 +60,17 @@ var InputType;
60
60
  InputType["Password"] = "password";
61
61
  InputType["Search"] = "search";
62
62
  })(InputType || (InputType = {}));
63
+ var InputMode;
64
+ (function (InputMode) {
65
+ InputMode["None"] = "none";
66
+ InputMode["Text"] = "text";
67
+ InputMode["Tel"] = "tel";
68
+ InputMode["Url"] = "url";
69
+ InputMode["Email"] = "email";
70
+ InputMode["Numeric"] = "numeric";
71
+ InputMode["Decimal"] = "decimal";
72
+ InputMode["Search"] = "search";
73
+ })(InputMode || (InputMode = {}));
63
74
 
64
75
  var script = defineComponent({
65
76
  name: 'OrInput',
@@ -93,6 +104,10 @@ var script = defineComponent({
93
104
  type: String,
94
105
  default: 'off'
95
106
  },
107
+ inputmode: {
108
+ type: String,
109
+ default: InputMode.Text
110
+ },
96
111
  variant: {
97
112
  type: String,
98
113
  default: undefined
@@ -191,7 +206,7 @@ var script = defineComponent({
191
206
  }
192
207
  });
193
208
 
194
- var css_248z = "input[data-v-62cf22f4]{min-width:0;background:0 0;outline:0}input[type=search][data-v-62cf22f4]::-webkit-search-cancel-button{display:none}";
209
+ var css_248z = "input[data-v-dbc6b092]{min-width:0;background:0 0;outline:0}input[type=search][data-v-dbc6b092]::-webkit-search-cancel-button{display:none}";
195
210
  styleInject(css_248z);
196
211
 
197
212
  /* script */
@@ -288,6 +303,7 @@ var __vue_render__ = function () {
288
303
  attrs: {
289
304
  "name": _vm.name,
290
305
  "type": _vm.type === 'password' && _vm.disclosed ? 'text' : _vm.type,
306
+ "inputmode": _vm.inputmode,
291
307
  "autocomplete": _vm.autocomplete,
292
308
  "placeholder": _vm.placeholder,
293
309
  "required": _vm.required,
@@ -364,7 +380,7 @@ var __vue_staticRenderFns__ = [];
364
380
  /* style */
365
381
  const __vue_inject_styles__ = undefined;
366
382
  /* scoped */
367
- const __vue_scope_id__ = "data-v-62cf22f4";
383
+ const __vue_scope_id__ = "data-v-dbc6b092";
368
384
  /* module identifier */
369
385
  const __vue_module_identifier__ = undefined;
370
386
  /* functional template */
@@ -380,4 +396,4 @@ const __vue_component__ = /*#__PURE__*/normalizeComponent({
380
396
  staticRenderFns: __vue_staticRenderFns__
381
397
  }, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
382
398
 
383
- export { InputType, __vue_component__ as OrInputV3 };
399
+ export { InputMode, InputType, __vue_component__ as OrInputV3 };
@@ -6,3 +6,13 @@ export declare enum InputType {
6
6
  Password = "password",
7
7
  Search = "search"
8
8
  }
9
+ export declare enum InputMode {
10
+ None = "none",
11
+ Text = "text",
12
+ Tel = "tel",
13
+ Url = "url",
14
+ Email = "email",
15
+ Numeric = "numeric",
16
+ Decimal = "decimal",
17
+ Search = "search"
18
+ }
package/dist/esm/index.js CHANGED
@@ -73,7 +73,7 @@ export { OrInlineTextareaV3 } from './components/or-inline-textarea-v3/index.js'
73
73
  export { OrInput } from './components/or-input/index.js';
74
74
  export { OrInputBoxV3 } from './components/or-input-box-v3/index.js';
75
75
  export { I as InputBoxDirection, b as InputBoxSize, a as InputBoxVariant } from './OrInputBox.vue_rollup-plugin-vue_script-0207994e.js';
76
- export { InputType, OrInputV3 } from './components/or-input-v3/index.js';
76
+ export { InputMode, InputType, OrInputV3 } from './components/or-input-v3/index.js';
77
77
  export { OrLabel } from './components/or-label/index.js';
78
78
  export { LabelVariant, OrLabelV3 } from './components/or-label-v3/index.js';
79
79
  export { LinkColor, OrLinkV3 } from './components/or-link-v3/index.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/ui-components-vue2",
3
- "version": "18.3.1",
3
+ "version": "18.4.0",
4
4
  "npmUnpacked": "4.15.2",
5
5
  "description": "Vue components library for v2",
6
6
  "sideEffects": false,
@@ -35,7 +35,7 @@
35
35
  "@codemirror/view": "^6",
36
36
  "@floating-ui/dom": "1.5.3",
37
37
  "@lezer/highlight": "*",
38
- "@onereach/styles": "^18.3.1",
38
+ "@onereach/styles": "^18.4.0",
39
39
  "@splidejs/splide": "4.0.6",
40
40
  "@tiptap/core": "2.0.3",
41
41
  "@tiptap/extension-blockquote": "2.0.3",
@@ -134,5 +134,5 @@
134
134
  "default": "./dist/bundled/components/*/index.js"
135
135
  }
136
136
  },
137
- "gitHead": "1074d7c1aac1e2a4faad179b16af71ccce18e332"
137
+ "gitHead": "2c41b88e586ea6469c9a1941bee011e0b2b134d4"
138
138
  }