@onereach/ui-components 2.75.2-beta.2390.0 → 2.75.2-beta.2391.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 (151) hide show
  1. package/dist/bundled/v2/{OrCardCollection-e3986f07.js → OrCardCollection-04e767c2.js} +1 -1
  2. package/dist/bundled/v2/{OrConfirm-498fa802.js → OrConfirm-a76ff6d2.js} +1 -1
  3. package/dist/bundled/v2/{OrInlineInput-5f0b99f9.js → OrInlineInput-9304f205.js} +11 -25
  4. package/dist/bundled/v2/{OrInlineTextarea-975b8706.js → OrInlineTextarea-e0d28fc6.js} +11 -25
  5. package/dist/bundled/v2/{OrInput-822eb9f5.js → OrInput-b8511a0c.js} +12 -27
  6. package/dist/bundled/v2/{OrInputBox-9a31d211.js → OrInputBox-e54dcef9.js} +12 -2
  7. package/dist/bundled/v2/{OrModal-d845da2d.js → OrModal-5f094323.js} +4 -4
  8. package/dist/bundled/v2/{OrSearch-f9d46a70.js → OrSearch-60b64568.js} +2 -2
  9. package/dist/bundled/v2/{OrSelect-0c0c01d4.js → OrSelect-752bdd3b.js} +10 -27
  10. package/dist/bundled/v2/{OrTextarea-c56f19db.js → OrTextarea-5fdf63d0.js} +12 -27
  11. package/dist/bundled/v2/components/index.js +10 -11
  12. package/dist/bundled/v2/components/or-card-collection-v3/index.js +4 -5
  13. package/dist/bundled/v2/components/or-confirm-v3/index.js +3 -4
  14. package/dist/bundled/v2/components/or-inline-input-v3/OrInlineInput.vue.d.ts +7 -5
  15. package/dist/bundled/v2/components/or-inline-input-v3/index.js +1 -1
  16. package/dist/bundled/v2/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +7 -5
  17. package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +1 -1
  18. package/dist/bundled/v2/components/or-input-box-v3/index.js +1 -2
  19. package/dist/bundled/v2/components/or-input-v3/OrInput.vue.d.ts +7 -5
  20. package/dist/bundled/v2/components/or-input-v3/index.js +2 -3
  21. package/dist/bundled/v2/components/or-modal-v3/index.js +1 -1
  22. package/dist/bundled/v2/components/or-search-v3/index.js +3 -4
  23. package/dist/bundled/v2/components/or-select-v3/OrSelect.vue.d.ts +7 -5
  24. package/dist/bundled/v2/components/or-select-v3/index.js +3 -4
  25. package/dist/bundled/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +7 -5
  26. package/dist/bundled/v2/components/or-textarea-v3/index.js +2 -3
  27. package/dist/bundled/v2/index.js +11 -12
  28. package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-f2fdaa33.js → OrCardCollection.vue_vue_type_script_lang-e71a0ea0.js} +1 -1
  29. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-2bb4e530.js → OrConfirm.vue_vue_type_script_lang-b550c3d3.js} +2 -2
  30. package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-18853dd7.js → OrInlineInput.vue_vue_type_script_lang-cd4a64f6.js} +5 -3
  31. package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-3cb238d6.js → OrInlineTextarea.vue_vue_type_script_lang-a73ff1ee.js} +5 -3
  32. package/dist/bundled/v3/{OrInput-13a84d53.js → OrInput-6d49f353.js} +9 -12
  33. package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-09a6138d.js → OrInput.vue_vue_type_script_lang-af68d0e7.js} +7 -6
  34. package/dist/bundled/v3/{OrInputBox-44f37541.js → OrInputBox-358d4856.js} +1 -1
  35. package/dist/{esm/v2/OrInputBox.vue_rollup-plugin-vue_script-4ba46db4.js → bundled/v3/OrInputBox.vue_vue_type_script_lang-b387d4ba.js} +1 -1
  36. package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-3f3ce339.js → OrModal.vue_vue_type_script_lang-92339e0f.js} +4 -4
  37. package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-9028a3c5.js → OrSearch.vue_vue_type_script_lang-8c37e5a7.js} +3 -3
  38. package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-30c61027.js → OrSelect.vue_vue_type_script_lang-35ac0247.js} +8 -9
  39. package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-b2899ba6.js → OrTextarea.vue_vue_type_script_lang-de99a858.js} +7 -6
  40. package/dist/bundled/v3/components/index.js +12 -13
  41. package/dist/bundled/v3/components/or-card-collection-v3/index.js +6 -7
  42. package/dist/bundled/v3/components/or-confirm-v3/index.js +5 -6
  43. package/dist/bundled/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +7 -5
  44. package/dist/bundled/v3/components/or-inline-input-v3/index.js +1 -1
  45. package/dist/bundled/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +7 -5
  46. package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +1 -1
  47. package/dist/bundled/v3/components/or-input-box-v3/index.js +1 -2
  48. package/dist/bundled/v3/components/or-input-v3/OrInput.vue.d.ts +7 -5
  49. package/dist/bundled/v3/components/or-input-v3/index.js +3 -4
  50. package/dist/bundled/v3/components/or-modal-v3/index.js +1 -1
  51. package/dist/bundled/v3/components/or-search-v3/index.js +5 -6
  52. package/dist/bundled/v3/components/or-select-v3/OrSelect.vue.d.ts +7 -5
  53. package/dist/bundled/v3/components/or-select-v3/index.js +5 -6
  54. package/dist/bundled/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +7 -5
  55. package/dist/bundled/v3/components/or-textarea-v3/index.js +3 -4
  56. package/dist/bundled/v3/index.js +131 -142
  57. package/dist/esm/v2/{OrCardCollection-59455d23.js → OrCardCollection-f7856175.js} +2 -2
  58. package/dist/esm/v2/{OrConfirm-b31e3d3d.js → OrConfirm-98d62065.js} +1 -1
  59. package/dist/esm/v2/{OrInlineInput-36d79e50.js → OrInlineInput-df02ab5d.js} +11 -25
  60. package/dist/esm/v2/{OrInlineTextarea-e2d61e44.js → OrInlineTextarea-ad120656.js} +11 -25
  61. package/dist/esm/v2/{OrInput-06003aad.js → OrInput-3bb91436.js} +12 -27
  62. package/dist/{bundled/v3/OrInputBox.vue_vue_type_script_lang-c4f9c8ef.js → esm/v2/OrInputBox-53d1f66d.js} +53 -3
  63. package/dist/esm/v2/{OrModal-370cfc3b.js → OrModal-407f3ac7.js} +4 -4
  64. package/dist/esm/v2/{OrSearch-44645202.js → OrSearch-dad9b02f.js} +2 -2
  65. package/dist/esm/v2/{OrSelect-a51044ed.js → OrSelect-7ef80130.js} +10 -27
  66. package/dist/esm/v2/{OrTextarea-5fa93c9a.js → OrTextarea-0a64f718.js} +12 -27
  67. package/dist/esm/v2/components/index.js +10 -11
  68. package/dist/esm/v2/components/or-card-collection-v3/index.js +4 -5
  69. package/dist/esm/v2/components/or-confirm-v3/index.js +3 -4
  70. package/dist/esm/v2/components/or-inline-input-v3/OrInlineInput.vue.d.ts +7 -5
  71. package/dist/esm/v2/components/or-inline-input-v3/index.js +1 -1
  72. package/dist/esm/v2/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +7 -5
  73. package/dist/esm/v2/components/or-inline-textarea-v3/index.js +1 -1
  74. package/dist/esm/v2/components/or-input-box-v3/index.js +2 -3
  75. package/dist/esm/v2/components/or-input-v3/OrInput.vue.d.ts +7 -5
  76. package/dist/esm/v2/components/or-input-v3/index.js +2 -3
  77. package/dist/esm/v2/components/or-modal-v3/index.js +1 -1
  78. package/dist/esm/v2/components/or-search-v3/index.js +3 -4
  79. package/dist/esm/v2/components/or-select-v3/OrSelect.vue.d.ts +7 -5
  80. package/dist/esm/v2/components/or-select-v3/index.js +3 -4
  81. package/dist/esm/v2/components/or-textarea-v3/OrTextarea.vue.d.ts +7 -5
  82. package/dist/esm/v2/components/or-textarea-v3/index.js +2 -3
  83. package/dist/esm/v2/index.js +10 -11
  84. package/dist/esm/v3/{OrCardCollection-5c0d53e0.js → OrCardCollection-4cb41408.js} +1 -1
  85. package/dist/esm/v3/{OrConfirm-c7304c10.js → OrConfirm-19da64d1.js} +1 -1
  86. package/dist/esm/v3/{OrInlineInput-651c9155.js → OrInlineInput-cd3753ee.js} +14 -14
  87. package/dist/esm/v3/{OrInlineTextarea-d16af66a.js → OrInlineTextarea-4c5b0390.js} +14 -14
  88. package/dist/esm/v3/{OrInput-b3939d15.js → OrInput-ae9f6871.js} +13 -14
  89. package/dist/esm/v3/{OrModal-f9f2279b.js → OrModal-17c3a1cb.js} +4 -4
  90. package/dist/esm/v3/{OrSearch-d16d0331.js → OrSearch-6f6b4fcd.js} +1 -1
  91. package/dist/esm/v3/{OrSelect-19c2e7d2.js → OrSelect-96bf9b63.js} +13 -16
  92. package/dist/esm/v3/{OrTextarea-dfc6a453.js → OrTextarea-42d21f77.js} +13 -14
  93. package/dist/esm/v3/components/index.js +9 -9
  94. package/dist/esm/v3/components/or-card-collection-v3/index.js +3 -3
  95. package/dist/esm/v3/components/or-confirm-v3/index.js +2 -2
  96. package/dist/esm/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +7 -5
  97. package/dist/esm/v3/components/or-inline-input-v3/index.js +1 -1
  98. package/dist/esm/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +7 -5
  99. package/dist/esm/v3/components/or-inline-textarea-v3/index.js +1 -1
  100. package/dist/esm/v3/components/or-input-v3/OrInput.vue.d.ts +7 -5
  101. package/dist/esm/v3/components/or-input-v3/index.js +1 -1
  102. package/dist/esm/v3/components/or-modal-v3/index.js +1 -1
  103. package/dist/esm/v3/components/or-search-v3/index.js +2 -2
  104. package/dist/esm/v3/components/or-select-v3/OrSelect.vue.d.ts +7 -5
  105. package/dist/esm/v3/components/or-select-v3/index.js +2 -2
  106. package/dist/esm/v3/components/or-textarea-v3/OrTextarea.vue.d.ts +7 -5
  107. package/dist/esm/v3/components/or-textarea-v3/index.js +1 -1
  108. package/dist/esm/v3/index.js +9 -9
  109. package/package.json +2 -2
  110. package/src/components/or-inline-input-v3/OrInlineInput.vue +9 -12
  111. package/src/components/or-inline-input-v3/styles.ts +2 -2
  112. package/src/components/or-inline-textarea-v3/OrInlineTextarea.vue +9 -12
  113. package/src/components/or-inline-textarea-v3/styles.ts +2 -2
  114. package/src/components/or-input-v3/OrInput.vue +9 -12
  115. package/src/components/or-input-v3/styles.ts +2 -2
  116. package/src/components/or-modal-v3/OrModal.stories3.ts +19 -0
  117. package/src/components/or-modal-v3/styles.ts +1 -4
  118. package/src/components/or-select-v3/OrSelect.stories3.ts +0 -4
  119. package/src/components/or-select-v3/OrSelect.vue +8 -12
  120. package/src/components/or-select-v3/styles.ts +1 -4
  121. package/src/components/or-textarea-v3/OrTextarea.vue +9 -12
  122. package/src/components/or-textarea-v3/styles.ts +2 -2
  123. package/dist/bundled/v2/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +0 -105
  124. package/dist/bundled/v2/components/or-combined-input-v3/index.d.ts +0 -2
  125. package/dist/bundled/v2/components/or-combined-input-v3/index.js +0 -162
  126. package/dist/bundled/v2/components/or-combined-input-v3/props.d.ts +0 -1
  127. package/dist/bundled/v2/components/or-combined-input-v3/styles.d.ts +0 -2
  128. package/dist/bundled/v2/props-78496a2d.js +0 -12
  129. package/dist/bundled/v3/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +0 -105
  130. package/dist/bundled/v3/components/or-combined-input-v3/index.d.ts +0 -2
  131. package/dist/bundled/v3/components/or-combined-input-v3/index.js +0 -131
  132. package/dist/bundled/v3/components/or-combined-input-v3/props.d.ts +0 -1
  133. package/dist/bundled/v3/components/or-combined-input-v3/styles.d.ts +0 -2
  134. package/dist/bundled/v3/props-78496a2d.js +0 -12
  135. package/dist/esm/v2/OrInputBox-5c4b3104.js +0 -43
  136. package/dist/esm/v2/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +0 -105
  137. package/dist/esm/v2/components/or-combined-input-v3/index.d.ts +0 -2
  138. package/dist/esm/v2/components/or-combined-input-v3/index.js +0 -159
  139. package/dist/esm/v2/components/or-combined-input-v3/props.d.ts +0 -1
  140. package/dist/esm/v2/components/or-combined-input-v3/styles.d.ts +0 -2
  141. package/dist/esm/v3/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +0 -105
  142. package/dist/esm/v3/components/or-combined-input-v3/index.d.ts +0 -2
  143. package/dist/esm/v3/components/or-combined-input-v3/index.js +0 -130
  144. package/dist/esm/v3/components/or-combined-input-v3/props.d.ts +0 -1
  145. package/dist/esm/v3/components/or-combined-input-v3/styles.d.ts +0 -2
  146. package/src/components/or-combined-input-v3/OrCombinedInput.docs.mdx +0 -7
  147. package/src/components/or-combined-input-v3/OrCombinedInput.stories3.ts +0 -201
  148. package/src/components/or-combined-input-v3/OrCombinedInput.vue +0 -133
  149. package/src/components/or-combined-input-v3/index.ts +0 -2
  150. package/src/components/or-combined-input-v3/props.ts +0 -1
  151. package/src/components/or-combined-input-v3/styles.ts +0 -25
@@ -1,105 +0,0 @@
1
- import { PropType } from 'vue-demi';
2
- import { CombinedInputSize } from './props';
3
- declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
4
- root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
5
- rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
6
- controlGroup: import("@vue/composition-api").ComputedRef<string[]>;
7
- }> & import("@vue/composition-api").Data, {}, {}, {
8
- size: {
9
- type: PropType<CombinedInputSize>;
10
- default: CombinedInputSize;
11
- };
12
- label: {
13
- type: StringConstructor;
14
- default: undefined;
15
- };
16
- hint: {
17
- type: StringConstructor;
18
- default: undefined;
19
- };
20
- error: {
21
- type: (BooleanConstructor | StringConstructor)[];
22
- default: undefined;
23
- };
24
- required: {
25
- type: BooleanConstructor;
26
- default: boolean;
27
- };
28
- readonly: {
29
- type: BooleanConstructor;
30
- default: boolean;
31
- };
32
- disabled: {
33
- type: BooleanConstructor;
34
- default: boolean;
35
- };
36
- disableDefaultStyles: {
37
- type: BooleanConstructor;
38
- default: boolean;
39
- };
40
- }, import("@vue/composition-api").ExtractPropTypes<{
41
- size: {
42
- type: PropType<CombinedInputSize>;
43
- default: CombinedInputSize;
44
- };
45
- label: {
46
- type: StringConstructor;
47
- default: undefined;
48
- };
49
- hint: {
50
- type: StringConstructor;
51
- default: undefined;
52
- };
53
- error: {
54
- type: (BooleanConstructor | StringConstructor)[];
55
- default: undefined;
56
- };
57
- required: {
58
- type: BooleanConstructor;
59
- default: boolean;
60
- };
61
- readonly: {
62
- type: BooleanConstructor;
63
- default: boolean;
64
- };
65
- disabled: {
66
- type: BooleanConstructor;
67
- default: boolean;
68
- };
69
- disableDefaultStyles: {
70
- type: BooleanConstructor;
71
- default: boolean;
72
- };
73
- }>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
74
- size: CombinedInputSize;
75
- label: string;
76
- hint: string;
77
- error: string | boolean;
78
- required: boolean;
79
- readonly: boolean;
80
- disabled: boolean;
81
- disableDefaultStyles: boolean;
82
- } & {}, import("@vue/composition-api").ShallowUnwrapRef<{
83
- root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
84
- rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
85
- controlGroup: import("@vue/composition-api").ComputedRef<string[]>;
86
- }>, import("@vue/composition-api").Data, {}, {}, {}, {}, {}, {
87
- size: CombinedInputSize;
88
- label: string;
89
- hint: string;
90
- error: string | boolean;
91
- required: boolean;
92
- readonly: boolean;
93
- disabled: boolean;
94
- disableDefaultStyles: boolean;
95
- } & {}, {
96
- size: CombinedInputSize;
97
- label: string;
98
- hint: string;
99
- error: string | boolean;
100
- required: boolean;
101
- readonly: boolean;
102
- disabled: boolean;
103
- disableDefaultStyles: boolean;
104
- }, true>);
105
- export default _default;
@@ -1,2 +0,0 @@
1
- export { default as OrCombinedInputV3 } from './OrCombinedInput.vue';
2
- export * from './props';
@@ -1,131 +0,0 @@
1
- import { defineComponent, ref, computed, resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createElementVNode, withDirectives, vShow, createVNode } from 'vue';
2
- import '../../OrHint-5d5e4d99.js';
3
- import '../../OrLabel-c556887e.js';
4
- import { s as script$1 } from '../../OrError.vue_vue_type_script_lang-53648a65.js';
5
- import { s as script$2 } from '../../OrHint.vue_vue_type_script_lang-e322f61e.js';
6
- import { s as script$3 } from '../../OrLabel.vue_vue_type_script_lang-191d2304.js';
7
- import { a as InputBoxSize } from '../../props-78496a2d.js';
8
- export { a as CombinedInputSize } from '../../props-78496a2d.js';
9
-
10
- const CombinedInputRoot = [
11
- // Layout
12
- 'layout-column',
13
- // Spacing
14
- 'gap-xs'];
15
- const CombinedInputControlGroup = [
16
- // Layout
17
- 'layout-row',
18
- // Box
19
- 'w-full',
20
- // Shape (.or-input-box)
21
- '[&_.or-input-box]:first-child:rounded-r-0', '[&_.or-input-box]:intermediate-child:rounded-0', '[&_.or-input-box]:last-child:rounded-l-0',
22
- // Spacing (.or-input-box)
23
- '[&_.or-input-box]:first-child:mr-[-1px]', '[&_.or-input-box]:intermediate-child:border-x-0', '[&_.or-input-box]:last-child:ml-[-1px]'];
24
-
25
- var script = defineComponent({
26
- name: 'OrCombinedInput',
27
- components: {
28
- OrError: script$1,
29
- OrHint: script$2,
30
- OrLabel: script$3
31
- },
32
- props: {
33
- size: {
34
- type: String,
35
- default: InputBoxSize.M
36
- },
37
- label: {
38
- type: String,
39
- default: undefined
40
- },
41
- hint: {
42
- type: String,
43
- default: undefined
44
- },
45
- error: {
46
- type: [String, Boolean],
47
- default: undefined
48
- },
49
- required: {
50
- type: Boolean,
51
- default: false
52
- },
53
- readonly: {
54
- type: Boolean,
55
- default: false
56
- },
57
- disabled: {
58
- type: Boolean,
59
- default: false
60
- },
61
- disableDefaultStyles: {
62
- type: Boolean,
63
- default: false
64
- }
65
- },
66
- setup(props, context) {
67
- // Refs
68
- const root = ref();
69
- // Styles
70
- const rootStyles = computed(() => ['or-combined-input', ...CombinedInputRoot]);
71
- const controlGroup = computed(() => [...CombinedInputControlGroup]);
72
- return {
73
- root,
74
- rootStyles,
75
- controlGroup
76
- };
77
- }
78
- });
79
-
80
- const _hoisted_1 = {
81
- class: /*#__PURE__*/normalizeClass(['contents'])
82
- };
83
- const _hoisted_2 = {
84
- class: /*#__PURE__*/normalizeClass(['contents'])
85
- };
86
- function render(_ctx, _cache, $props, $setup, $data, $options) {
87
- const _component_OrLabel = resolveComponent("OrLabel");
88
- const _component_OrHint = resolveComponent("OrHint");
89
- const _component_OrError = resolveComponent("OrError");
90
- return openBlock(), createElementBlock("div", {
91
- ref: "root",
92
- class: normalizeClass(_ctx.rootStyles)
93
- }, [_ctx.label ? (openBlock(), createBlock(_component_OrLabel, {
94
- key: 0,
95
- variant: 'input',
96
- required: _ctx.required,
97
- disabled: _ctx.disabled
98
- }, {
99
- addon: withCtx(() => [renderSlot(_ctx.$slots, "addon")]),
100
- default: withCtx(() => [createTextVNode(toDisplayString(_ctx.label) + " ", 1 /* TEXT */)]),
101
-
102
- _: 3 /* FORWARDED */
103
- }, 8 /* PROPS */, ["required", "disabled"])) : createCommentVNode("v-if", true), createElementVNode("div", {
104
- class: normalizeClass(_ctx.controlGroup)
105
- }, [renderSlot(_ctx.$slots, "default", {
106
- size: _ctx.size,
107
- error: !!_ctx.error,
108
- required: _ctx.required,
109
- readonly: _ctx.readonly,
110
- disabled: _ctx.disabled,
111
- disableDefaultStyles: _ctx.disableDefaultStyles
112
- })], 2 /* CLASS */), withDirectives(createElementVNode("div", _hoisted_1, [_ctx.hint ? (openBlock(), createBlock(_component_OrHint, {
113
- key: 0,
114
- disabled: _ctx.disabled
115
- }, {
116
- default: withCtx(() => [createTextVNode(toDisplayString(_ctx.hint), 1 /* TEXT */)]),
117
-
118
- _: 1 /* STABLE */
119
- }, 8 /* PROPS */, ["disabled"])) : createCommentVNode("v-if", true)], 512 /* NEED_PATCH */), [[vShow, !_ctx.error]]), withDirectives(createElementVNode("div", _hoisted_2, [createVNode(_component_OrError, {
120
- disabled: _ctx.disabled
121
- }, {
122
- default: withCtx(() => [createTextVNode(toDisplayString(_ctx.error), 1 /* TEXT */)]),
123
-
124
- _: 1 /* STABLE */
125
- }, 8 /* PROPS */, ["disabled"])], 512 /* NEED_PATCH */), [[vShow, typeof _ctx.error === 'string']])], 2 /* CLASS */);
126
- }
127
-
128
- script.render = render;
129
- script.__file = "src/components/or-combined-input-v3/OrCombinedInput.vue";
130
-
131
- export { script as OrCombinedInputV3 };
@@ -1 +0,0 @@
1
- export { InputBoxSize as CombinedInputSize } from '../or-input-box-v3';
@@ -1,2 +0,0 @@
1
- export declare const CombinedInputRoot: string[];
2
- export declare const CombinedInputControlGroup: string[];
@@ -1,12 +0,0 @@
1
- var InputBoxVariant;
2
- (function (InputBoxVariant) {
3
- InputBoxVariant["Styled"] = "styled";
4
- InputBoxVariant["Unstyled"] = "unstyled";
5
- })(InputBoxVariant || (InputBoxVariant = {}));
6
- var InputBoxSize;
7
- (function (InputBoxSize) {
8
- InputBoxSize["M"] = "m";
9
- InputBoxSize["S"] = "s";
10
- })(InputBoxSize || (InputBoxSize = {}));
11
-
12
- export { InputBoxVariant as I, InputBoxSize as a };
@@ -1,43 +0,0 @@
1
- import { s as script } from './OrInputBox.vue_rollup-plugin-vue_script-4ba46db4.js';
2
- import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
3
-
4
- /* script */
5
- const __vue_script__ = script;
6
-
7
- /* template */
8
- var __vue_render__ = function () {
9
- var _vm = this;
10
- var _h = _vm.$createElement;
11
- var _c = _vm._self._c || _h;
12
- return _c('div', {
13
- ref: "root",
14
- class: _vm.rootStyles,
15
- attrs: {
16
- "invalid": _vm.invalid ? '' : null,
17
- "readonly": _vm.readonly ? '' : null,
18
- "disabled": _vm.disabled ? '' : null
19
- }
20
- }, [_vm._t("default")], 2);
21
- };
22
- var __vue_staticRenderFns__ = [];
23
-
24
- /* style */
25
- const __vue_inject_styles__ = undefined;
26
- /* scoped */
27
- const __vue_scope_id__ = undefined;
28
- /* module identifier */
29
- const __vue_module_identifier__ = undefined;
30
- /* functional template */
31
- const __vue_is_functional_template__ = false;
32
- /* style inject */
33
-
34
- /* style inject SSR */
35
-
36
- /* style inject shadow dom */
37
-
38
- const __vue_component__ = /*#__PURE__*/normalizeComponent({
39
- render: __vue_render__,
40
- staticRenderFns: __vue_staticRenderFns__
41
- }, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
42
-
43
- export { __vue_component__ as _ };
@@ -1,105 +0,0 @@
1
- import { PropType } from 'vue-demi';
2
- import { CombinedInputSize } from './props';
3
- declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
4
- root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
5
- rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
6
- controlGroup: import("@vue/composition-api").ComputedRef<string[]>;
7
- }> & import("@vue/composition-api").Data, {}, {}, {
8
- size: {
9
- type: PropType<CombinedInputSize>;
10
- default: CombinedInputSize;
11
- };
12
- label: {
13
- type: StringConstructor;
14
- default: undefined;
15
- };
16
- hint: {
17
- type: StringConstructor;
18
- default: undefined;
19
- };
20
- error: {
21
- type: (BooleanConstructor | StringConstructor)[];
22
- default: undefined;
23
- };
24
- required: {
25
- type: BooleanConstructor;
26
- default: boolean;
27
- };
28
- readonly: {
29
- type: BooleanConstructor;
30
- default: boolean;
31
- };
32
- disabled: {
33
- type: BooleanConstructor;
34
- default: boolean;
35
- };
36
- disableDefaultStyles: {
37
- type: BooleanConstructor;
38
- default: boolean;
39
- };
40
- }, import("@vue/composition-api").ExtractPropTypes<{
41
- size: {
42
- type: PropType<CombinedInputSize>;
43
- default: CombinedInputSize;
44
- };
45
- label: {
46
- type: StringConstructor;
47
- default: undefined;
48
- };
49
- hint: {
50
- type: StringConstructor;
51
- default: undefined;
52
- };
53
- error: {
54
- type: (BooleanConstructor | StringConstructor)[];
55
- default: undefined;
56
- };
57
- required: {
58
- type: BooleanConstructor;
59
- default: boolean;
60
- };
61
- readonly: {
62
- type: BooleanConstructor;
63
- default: boolean;
64
- };
65
- disabled: {
66
- type: BooleanConstructor;
67
- default: boolean;
68
- };
69
- disableDefaultStyles: {
70
- type: BooleanConstructor;
71
- default: boolean;
72
- };
73
- }>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
74
- size: CombinedInputSize;
75
- label: string;
76
- hint: string;
77
- error: string | boolean;
78
- required: boolean;
79
- readonly: boolean;
80
- disabled: boolean;
81
- disableDefaultStyles: boolean;
82
- } & {}, import("@vue/composition-api").ShallowUnwrapRef<{
83
- root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
84
- rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
85
- controlGroup: import("@vue/composition-api").ComputedRef<string[]>;
86
- }>, import("@vue/composition-api").Data, {}, {}, {}, {}, {}, {
87
- size: CombinedInputSize;
88
- label: string;
89
- hint: string;
90
- error: string | boolean;
91
- required: boolean;
92
- readonly: boolean;
93
- disabled: boolean;
94
- disableDefaultStyles: boolean;
95
- } & {}, {
96
- size: CombinedInputSize;
97
- label: string;
98
- hint: string;
99
- error: string | boolean;
100
- required: boolean;
101
- readonly: boolean;
102
- disabled: boolean;
103
- disableDefaultStyles: boolean;
104
- }, true>);
105
- export default _default;
@@ -1,2 +0,0 @@
1
- export { default as OrCombinedInputV3 } from './OrCombinedInput.vue';
2
- export * from './props';
@@ -1,159 +0,0 @@
1
- import { defineComponent, ref, computed } from 'vue-demi';
2
- import { _ as __vue_component__$1 } from '../../OrError-13845bb0.js';
3
- import { _ as __vue_component__$2 } from '../../OrHint-78b399cb.js';
4
- import { _ as __vue_component__$3 } from '../../OrLabel-0945a4d9.js';
5
- import { a as InputBoxSize } from '../../OrInputBox.vue_rollup-plugin-vue_script-4ba46db4.js';
6
- export { a as CombinedInputSize } from '../../OrInputBox.vue_rollup-plugin-vue_script-4ba46db4.js';
7
- import { n as normalizeComponent } from '../../normalize-component-6e8e3d80.js';
8
-
9
- const CombinedInputRoot = [
10
- // Layout
11
- 'layout-column',
12
- // Spacing
13
- 'gap-xs'];
14
- const CombinedInputControlGroup = [
15
- // Layout
16
- 'layout-row',
17
- // Box
18
- 'w-full',
19
- // Shape (.or-input-box)
20
- '[&_.or-input-box]:first-child:rounded-r-0', '[&_.or-input-box]:intermediate-child:rounded-0', '[&_.or-input-box]:last-child:rounded-l-0',
21
- // Spacing (.or-input-box)
22
- '[&_.or-input-box]:first-child:mr-[-1px]', '[&_.or-input-box]:intermediate-child:border-x-0', '[&_.or-input-box]:last-child:ml-[-1px]'];
23
-
24
- var script = defineComponent({
25
- name: 'OrCombinedInput',
26
- components: {
27
- OrError: __vue_component__$1,
28
- OrHint: __vue_component__$2,
29
- OrLabel: __vue_component__$3
30
- },
31
- props: {
32
- size: {
33
- type: String,
34
- default: InputBoxSize.M
35
- },
36
- label: {
37
- type: String,
38
- default: undefined
39
- },
40
- hint: {
41
- type: String,
42
- default: undefined
43
- },
44
- error: {
45
- type: [String, Boolean],
46
- default: undefined
47
- },
48
- required: {
49
- type: Boolean,
50
- default: false
51
- },
52
- readonly: {
53
- type: Boolean,
54
- default: false
55
- },
56
- disabled: {
57
- type: Boolean,
58
- default: false
59
- },
60
- disableDefaultStyles: {
61
- type: Boolean,
62
- default: false
63
- }
64
- },
65
- setup(props, context) {
66
- // Refs
67
- const root = ref();
68
- // Styles
69
- const rootStyles = computed(() => ['or-combined-input', ...CombinedInputRoot]);
70
- const controlGroup = computed(() => [...CombinedInputControlGroup]);
71
- return {
72
- root,
73
- rootStyles,
74
- controlGroup
75
- };
76
- }
77
- });
78
-
79
- /* script */
80
- const __vue_script__ = script;
81
-
82
- /* template */
83
- var __vue_render__ = function () {
84
- var _vm = this;
85
- var _h = _vm.$createElement;
86
- var _c = _vm._self._c || _h;
87
- return _c('div', {
88
- ref: "root",
89
- class: _vm.rootStyles
90
- }, [_vm.label ? [_c('OrLabel', {
91
- attrs: {
92
- "variant": 'input',
93
- "required": _vm.required,
94
- "disabled": _vm.disabled
95
- },
96
- scopedSlots: _vm._u([{
97
- key: "addon",
98
- fn: function () {
99
- return [_vm._t("addon")];
100
- },
101
- proxy: true
102
- }], null, true)
103
- }, [_vm._v("\n " + _vm._s(_vm.label) + "\n\n ")])] : _vm._e(), _vm._v(" "), _c('div', {
104
- class: _vm.controlGroup
105
- }, [_vm._t("default", null, {
106
- "size": _vm.size,
107
- "error": !!_vm.error,
108
- "required": _vm.required,
109
- "readonly": _vm.readonly,
110
- "disabled": _vm.disabled,
111
- "disableDefaultStyles": _vm.disableDefaultStyles
112
- })], 2), _vm._v(" "), _c('div', {
113
- directives: [{
114
- name: "show",
115
- rawName: "v-show",
116
- value: !_vm.error,
117
- expression: "!error"
118
- }],
119
- class: ['contents']
120
- }, [_vm.hint ? [_c('OrHint', {
121
- attrs: {
122
- "disabled": _vm.disabled
123
- }
124
- }, [_vm._v("\n " + _vm._s(_vm.hint) + "\n ")])] : _vm._e()], 2), _vm._v(" "), _c('div', {
125
- directives: [{
126
- name: "show",
127
- rawName: "v-show",
128
- value: typeof _vm.error === 'string',
129
- expression: "typeof error === 'string'"
130
- }],
131
- class: ['contents']
132
- }, [_c('OrError', {
133
- attrs: {
134
- "disabled": _vm.disabled
135
- }
136
- }, [_vm._v("\n " + _vm._s(_vm.error) + "\n ")])], 1)], 2);
137
- };
138
- var __vue_staticRenderFns__ = [];
139
-
140
- /* style */
141
- const __vue_inject_styles__ = undefined;
142
- /* scoped */
143
- const __vue_scope_id__ = undefined;
144
- /* module identifier */
145
- const __vue_module_identifier__ = undefined;
146
- /* functional template */
147
- const __vue_is_functional_template__ = false;
148
- /* style inject */
149
-
150
- /* style inject SSR */
151
-
152
- /* style inject shadow dom */
153
-
154
- const __vue_component__ = /*#__PURE__*/normalizeComponent({
155
- render: __vue_render__,
156
- staticRenderFns: __vue_staticRenderFns__
157
- }, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
158
-
159
- export { __vue_component__ as OrCombinedInputV3 };
@@ -1 +0,0 @@
1
- export { InputBoxSize as CombinedInputSize } from '../or-input-box-v3';
@@ -1,2 +0,0 @@
1
- export declare const CombinedInputRoot: string[];
2
- export declare const CombinedInputControlGroup: string[];
@@ -1,105 +0,0 @@
1
- import { PropType } from 'vue-demi';
2
- import { CombinedInputSize } from './props';
3
- declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
4
- root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
5
- rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
6
- controlGroup: import("@vue/composition-api").ComputedRef<string[]>;
7
- }> & import("@vue/composition-api").Data, {}, {}, {
8
- size: {
9
- type: PropType<CombinedInputSize>;
10
- default: CombinedInputSize;
11
- };
12
- label: {
13
- type: StringConstructor;
14
- default: undefined;
15
- };
16
- hint: {
17
- type: StringConstructor;
18
- default: undefined;
19
- };
20
- error: {
21
- type: (BooleanConstructor | StringConstructor)[];
22
- default: undefined;
23
- };
24
- required: {
25
- type: BooleanConstructor;
26
- default: boolean;
27
- };
28
- readonly: {
29
- type: BooleanConstructor;
30
- default: boolean;
31
- };
32
- disabled: {
33
- type: BooleanConstructor;
34
- default: boolean;
35
- };
36
- disableDefaultStyles: {
37
- type: BooleanConstructor;
38
- default: boolean;
39
- };
40
- }, import("@vue/composition-api").ExtractPropTypes<{
41
- size: {
42
- type: PropType<CombinedInputSize>;
43
- default: CombinedInputSize;
44
- };
45
- label: {
46
- type: StringConstructor;
47
- default: undefined;
48
- };
49
- hint: {
50
- type: StringConstructor;
51
- default: undefined;
52
- };
53
- error: {
54
- type: (BooleanConstructor | StringConstructor)[];
55
- default: undefined;
56
- };
57
- required: {
58
- type: BooleanConstructor;
59
- default: boolean;
60
- };
61
- readonly: {
62
- type: BooleanConstructor;
63
- default: boolean;
64
- };
65
- disabled: {
66
- type: BooleanConstructor;
67
- default: boolean;
68
- };
69
- disableDefaultStyles: {
70
- type: BooleanConstructor;
71
- default: boolean;
72
- };
73
- }>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
74
- size: CombinedInputSize;
75
- label: string;
76
- hint: string;
77
- error: string | boolean;
78
- required: boolean;
79
- readonly: boolean;
80
- disabled: boolean;
81
- disableDefaultStyles: boolean;
82
- } & {}, import("@vue/composition-api").ShallowUnwrapRef<{
83
- root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
84
- rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
85
- controlGroup: import("@vue/composition-api").ComputedRef<string[]>;
86
- }>, import("@vue/composition-api").Data, {}, {}, {}, {}, {}, {
87
- size: CombinedInputSize;
88
- label: string;
89
- hint: string;
90
- error: string | boolean;
91
- required: boolean;
92
- readonly: boolean;
93
- disabled: boolean;
94
- disableDefaultStyles: boolean;
95
- } & {}, {
96
- size: CombinedInputSize;
97
- label: string;
98
- hint: string;
99
- error: string | boolean;
100
- required: boolean;
101
- readonly: boolean;
102
- disabled: boolean;
103
- disableDefaultStyles: boolean;
104
- }, true>);
105
- export default _default;
@@ -1,2 +0,0 @@
1
- export { default as OrCombinedInputV3 } from './OrCombinedInput.vue';
2
- export * from './props';