@onereach/ui-components 4.1.3-beta.2569.0 → 4.1.3-beta.2570.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.
- package/dist/bundled/v2/components/OrFormGroupV3/OrFormGroup.js +1 -1
- package/dist/bundled/v2/components/OrFormGroupV3/styles.js +6 -6
- package/dist/bundled/v3/components/OrCheckboxGroupV3/OrCheckboxGroup.js +1 -1
- package/dist/bundled/v3/components/OrCheckboxGroupV3/index.js +1 -1
- package/dist/bundled/v3/components/OrFormGroupV3/OrFormGroup.js +3 -3
- package/dist/bundled/v3/components/OrFormGroupV3/index.js +1 -1
- package/dist/bundled/v3/components/OrFormGroupV3/styles.js +6 -6
- package/dist/bundled/v3/components/OrRadioGroupV3/OrRadioGroup.js +1 -1
- package/dist/bundled/v3/components/OrRadioGroupV3/index.js +1 -1
- package/dist/esm/v2/{OrFormGroup-7a883bce.js → OrFormGroup-70c5f984.js} +7 -7
- package/dist/esm/v2/components/or-checkbox-group-v3/index.js +1 -1
- package/dist/esm/v2/components/or-form-group-v3/index.js +1 -1
- package/dist/esm/v2/components/or-radio-group-v3/index.js +1 -1
- package/dist/esm/v3/{OrFormGroup-d9255559.js → OrFormGroup-7163fe17.js} +7 -7
- package/dist/esm/v3/components/or-checkbox-group-v3/index.js +1 -1
- package/dist/esm/v3/components/or-form-group-v3/index.js +1 -1
- package/dist/esm/v3/components/or-radio-group-v3/index.js +1 -1
- package/package.json +1 -1
- package/src/components/or-form-group-v3/OrFormGroup.vue +2 -4
- package/src/components/or-form-group-v3/styles.ts +7 -7
- /package/dist/bundled/v3/{OrFormGroup.vue_vue_type_script_lang-360b258b.js → OrFormGroup.vue_vue_type_script_lang-f031bfde.js} +0 -0
|
@@ -2,19 +2,19 @@ import { FormGroupDirection } from './props.js';
|
|
|
2
2
|
|
|
3
3
|
const FormGroupRoot = [
|
|
4
4
|
// Layout
|
|
5
|
-
'
|
|
5
|
+
'layout-column', 'gap-md md:gap-sm'];
|
|
6
6
|
const FormGroupContent = [
|
|
7
7
|
// Layout
|
|
8
|
-
'
|
|
8
|
+
'pl-[10px] md:pl-[0]', 'gap-md md:gap-sm'];
|
|
9
9
|
const FormGroupLabel = [
|
|
10
10
|
// Typography
|
|
11
|
-
'!typography-body-2-regular', '!theme-foreground dark:!theme-foreground-dark'];
|
|
11
|
+
'!typography-body-2-regular', '!theme-foreground', 'dark:!theme-foreground-dark'];
|
|
12
12
|
const FormGroupLabelError = [
|
|
13
13
|
// Typography
|
|
14
|
-
'!theme-foreground-error dark:!theme-foreground-error-dark'];
|
|
14
|
+
'!theme-foreground-error', 'dark:!theme-foreground-error-dark'];
|
|
15
15
|
const FormGroupContentDirections = {
|
|
16
|
-
[FormGroupDirection.Vertical]: ['
|
|
17
|
-
[FormGroupDirection.Horizontal]: ['
|
|
16
|
+
[FormGroupDirection.Vertical]: ['layout-column', 'gap-sm'],
|
|
17
|
+
[FormGroupDirection.Horizontal]: ['layout-row', 'gap-[18px] md:gap-md']
|
|
18
18
|
};
|
|
19
19
|
|
|
20
20
|
export { FormGroupContent, FormGroupContentDirections, FormGroupLabel, FormGroupLabelError, FormGroupRoot };
|
|
@@ -4,7 +4,7 @@ import '../OrCheckboxTreeV3/OrCheckboxTree.js';
|
|
|
4
4
|
import { s as script$1 } from '../../OrCheckboxTree.vue_vue_type_script_lang-f9807b75.js';
|
|
5
5
|
import '../OrFormGroupV3/OrFormGroup.js';
|
|
6
6
|
import { FormGroupDirection } from '../OrFormGroupV3/props.js';
|
|
7
|
-
import { s as script$2 } from '../../OrFormGroup.vue_vue_type_script_lang-
|
|
7
|
+
import { s as script$2 } from '../../OrFormGroup.vue_vue_type_script_lang-f031bfde.js';
|
|
8
8
|
import { resolveComponent, openBlock, createBlock, withCtx, renderSlot, createElementBlock, Fragment, renderList } from 'vue';
|
|
9
9
|
import '../OrCheckboxTreeV3/styles.js';
|
|
10
10
|
import '../../utils/functions/flattenDeep.js';
|
|
@@ -29,7 +29,7 @@ import '../../OrLoader.vue_vue_type_script_lang-49907820.js';
|
|
|
29
29
|
import '../OrLoaderV3/props.js';
|
|
30
30
|
import '../OrLoaderV3/styles.js';
|
|
31
31
|
import '../OrFormGroupV3/OrFormGroup.js';
|
|
32
|
-
import '../../OrFormGroup.vue_vue_type_script_lang-
|
|
32
|
+
import '../../OrFormGroup.vue_vue_type_script_lang-f031bfde.js';
|
|
33
33
|
import '../OrFormGroupV3/props.js';
|
|
34
34
|
import '../OrFormGroupV3/styles.js';
|
|
35
35
|
import '../OrErrorV3/OrError.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as script } from '../../OrFormGroup.vue_vue_type_script_lang-
|
|
2
|
-
export { s as default } from '../../OrFormGroup.vue_vue_type_script_lang-
|
|
1
|
+
import { s as script } from '../../OrFormGroup.vue_vue_type_script_lang-f031bfde.js';
|
|
2
|
+
export { s as default } from '../../OrFormGroup.vue_vue_type_script_lang-f031bfde.js';
|
|
3
3
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, createBlock, withCtx, createTextVNode, toDisplayString, createCommentVNode } from 'vue';
|
|
4
4
|
import 'vue-demi';
|
|
5
5
|
import './props.js';
|
|
@@ -16,7 +16,7 @@ import '../../OrHint.vue_vue_type_script_lang-0f5e8377.js';
|
|
|
16
16
|
import '../OrHintV3/styles.js';
|
|
17
17
|
|
|
18
18
|
const _hoisted_1 = {
|
|
19
|
-
class: "
|
|
19
|
+
class: "layout-row"
|
|
20
20
|
};
|
|
21
21
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
22
22
|
const _component_OrLabel = resolveComponent("OrLabel");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { FormGroupDirection } from './props.js';
|
|
2
|
-
export { s as OrFormGroupV3 } from '../../OrFormGroup.vue_vue_type_script_lang-
|
|
2
|
+
export { s as OrFormGroupV3 } from '../../OrFormGroup.vue_vue_type_script_lang-f031bfde.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import './styles.js';
|
|
5
5
|
import '../OrLabelV3/OrLabel.js';
|
|
@@ -2,19 +2,19 @@ import { FormGroupDirection } from './props.js';
|
|
|
2
2
|
|
|
3
3
|
const FormGroupRoot = [
|
|
4
4
|
// Layout
|
|
5
|
-
'
|
|
5
|
+
'layout-column', 'gap-md md:gap-sm'];
|
|
6
6
|
const FormGroupContent = [
|
|
7
7
|
// Layout
|
|
8
|
-
'
|
|
8
|
+
'pl-[10px] md:pl-[0]', 'gap-md md:gap-sm'];
|
|
9
9
|
const FormGroupLabel = [
|
|
10
10
|
// Typography
|
|
11
|
-
'!typography-body-2-regular', '!theme-foreground dark:!theme-foreground-dark'];
|
|
11
|
+
'!typography-body-2-regular', '!theme-foreground', 'dark:!theme-foreground-dark'];
|
|
12
12
|
const FormGroupLabelError = [
|
|
13
13
|
// Typography
|
|
14
|
-
'!theme-foreground-error dark:!theme-foreground-error-dark'];
|
|
14
|
+
'!theme-foreground-error', 'dark:!theme-foreground-error-dark'];
|
|
15
15
|
const FormGroupContentDirections = {
|
|
16
|
-
[FormGroupDirection.Vertical]: ['
|
|
17
|
-
[FormGroupDirection.Horizontal]: ['
|
|
16
|
+
[FormGroupDirection.Vertical]: ['layout-column', 'gap-sm'],
|
|
17
|
+
[FormGroupDirection.Horizontal]: ['layout-row', 'gap-[18px] md:gap-md']
|
|
18
18
|
};
|
|
19
19
|
|
|
20
20
|
export { FormGroupContent, FormGroupContentDirections, FormGroupLabel, FormGroupLabelError, FormGroupRoot };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent } from 'vue-demi';
|
|
2
2
|
import { useVModel } from '@vueuse/core';
|
|
3
3
|
import '../OrFormGroupV3/OrFormGroup.js';
|
|
4
|
-
import { s as script$1 } from '../../OrFormGroup.vue_vue_type_script_lang-
|
|
4
|
+
import { s as script$1 } from '../../OrFormGroup.vue_vue_type_script_lang-f031bfde.js';
|
|
5
5
|
import '../OrRadioV3/OrRadio.js';
|
|
6
6
|
import { s as script$2 } from '../../OrRadio.vue_vue_type_script_lang-99b109c4.js';
|
|
7
7
|
import { resolveComponent, openBlock, createBlock, withCtx, renderSlot, createElementBlock, Fragment, renderList } from 'vue';
|
|
@@ -2,7 +2,7 @@ export { default as OrRadioGroupV3 } from './OrRadioGroup.js';
|
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import '@vueuse/core';
|
|
4
4
|
import '../OrFormGroupV3/OrFormGroup.js';
|
|
5
|
-
import '../../OrFormGroup.vue_vue_type_script_lang-
|
|
5
|
+
import '../../OrFormGroup.vue_vue_type_script_lang-f031bfde.js';
|
|
6
6
|
import '../OrFormGroupV3/props.js';
|
|
7
7
|
import '../OrFormGroupV3/styles.js';
|
|
8
8
|
import '../OrLabelV3/OrLabel.js';
|
|
@@ -12,19 +12,19 @@ var FormGroupDirection;
|
|
|
12
12
|
|
|
13
13
|
const FormGroupRoot = [
|
|
14
14
|
// Layout
|
|
15
|
-
'
|
|
15
|
+
'layout-column', 'gap-md md:gap-sm'];
|
|
16
16
|
const FormGroupContent = [
|
|
17
17
|
// Layout
|
|
18
|
-
'
|
|
18
|
+
'pl-[10px] md:pl-[0]', 'gap-md md:gap-sm'];
|
|
19
19
|
const FormGroupLabel = [
|
|
20
20
|
// Typography
|
|
21
|
-
'!typography-body-2-regular', '!theme-foreground dark:!theme-foreground-dark'];
|
|
21
|
+
'!typography-body-2-regular', '!theme-foreground', 'dark:!theme-foreground-dark'];
|
|
22
22
|
const FormGroupLabelError = [
|
|
23
23
|
// Typography
|
|
24
|
-
'!theme-foreground-error dark:!theme-foreground-error-dark'];
|
|
24
|
+
'!theme-foreground-error', 'dark:!theme-foreground-error-dark'];
|
|
25
25
|
const FormGroupContentDirections = {
|
|
26
|
-
[FormGroupDirection.Vertical]: ['
|
|
27
|
-
[FormGroupDirection.Horizontal]: ['
|
|
26
|
+
[FormGroupDirection.Vertical]: ['layout-column', 'gap-sm'],
|
|
27
|
+
[FormGroupDirection.Horizontal]: ['layout-row', 'gap-[18px] md:gap-md']
|
|
28
28
|
};
|
|
29
29
|
|
|
30
30
|
var script = defineComponent({
|
|
@@ -88,7 +88,7 @@ var __vue_render__ = function () {
|
|
|
88
88
|
ref: "root",
|
|
89
89
|
class: _vm.rootStyles
|
|
90
90
|
}, [_c('div', {
|
|
91
|
-
staticClass: "
|
|
91
|
+
staticClass: "layout-row"
|
|
92
92
|
}, [_vm._t("label", function () {
|
|
93
93
|
return [_vm.label ? _c('OrLabel', {
|
|
94
94
|
class: _vm.labelStyles,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent } from 'vue-demi';
|
|
2
2
|
import { useVModel } from '@vueuse/core';
|
|
3
|
-
import { _ as __vue_component__$2, F as FormGroupDirection } from '../../OrFormGroup-
|
|
3
|
+
import { _ as __vue_component__$2, F as FormGroupDirection } from '../../OrFormGroup-70c5f984.js';
|
|
4
4
|
import { _ as __vue_component__$1 } from '../../OrCheckboxTree-7b81e76c.js';
|
|
5
5
|
import { n as normalizeComponent } from '../../normalize-component-6e8e3d80.js';
|
|
6
6
|
import '../../OrLabel-63380256.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { F as FormGroupDirection, _ as OrFormGroupV3 } from '../../OrFormGroup-
|
|
1
|
+
export { F as FormGroupDirection, _ as OrFormGroupV3 } from '../../OrFormGroup-70c5f984.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import '../../OrLabel-63380256.js';
|
|
4
4
|
import '../../normalize-component-6e8e3d80.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent } from 'vue-demi';
|
|
2
2
|
import { useVModel } from '@vueuse/core';
|
|
3
|
-
import { _ as __vue_component__$1 } from '../../OrFormGroup-
|
|
3
|
+
import { _ as __vue_component__$1 } from '../../OrFormGroup-70c5f984.js';
|
|
4
4
|
import { _ as __vue_component__$2 } from '../../OrRadio-26031dd3.js';
|
|
5
5
|
import { n as normalizeComponent } from '../../normalize-component-6e8e3d80.js';
|
|
6
6
|
import '../../OrLabel-63380256.js';
|
|
@@ -12,19 +12,19 @@ var FormGroupDirection;
|
|
|
12
12
|
|
|
13
13
|
const FormGroupRoot = [
|
|
14
14
|
// Layout
|
|
15
|
-
'
|
|
15
|
+
'layout-column', 'gap-md md:gap-sm'];
|
|
16
16
|
const FormGroupContent = [
|
|
17
17
|
// Layout
|
|
18
|
-
'
|
|
18
|
+
'pl-[10px] md:pl-[0]', 'gap-md md:gap-sm'];
|
|
19
19
|
const FormGroupLabel = [
|
|
20
20
|
// Typography
|
|
21
|
-
'!typography-body-2-regular', '!theme-foreground dark:!theme-foreground-dark'];
|
|
21
|
+
'!typography-body-2-regular', '!theme-foreground', 'dark:!theme-foreground-dark'];
|
|
22
22
|
const FormGroupLabelError = [
|
|
23
23
|
// Typography
|
|
24
|
-
'!theme-foreground-error dark:!theme-foreground-error-dark'];
|
|
24
|
+
'!theme-foreground-error', 'dark:!theme-foreground-error-dark'];
|
|
25
25
|
const FormGroupContentDirections = {
|
|
26
|
-
[FormGroupDirection.Vertical]: ['
|
|
27
|
-
[FormGroupDirection.Horizontal]: ['
|
|
26
|
+
[FormGroupDirection.Vertical]: ['layout-column', 'gap-sm'],
|
|
27
|
+
[FormGroupDirection.Horizontal]: ['layout-row', 'gap-[18px] md:gap-md']
|
|
28
28
|
};
|
|
29
29
|
|
|
30
30
|
var script = defineComponent({
|
|
@@ -77,7 +77,7 @@ var script = defineComponent({
|
|
|
77
77
|
});
|
|
78
78
|
|
|
79
79
|
const _hoisted_1 = {
|
|
80
|
-
class: "
|
|
80
|
+
class: "layout-row"
|
|
81
81
|
};
|
|
82
82
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
83
83
|
const _component_OrLabel = resolveComponent("OrLabel");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent } from 'vue-demi';
|
|
2
2
|
import { useVModel } from '@vueuse/core';
|
|
3
|
-
import { s as script$2, F as FormGroupDirection } from '../../OrFormGroup-
|
|
3
|
+
import { s as script$2, F as FormGroupDirection } from '../../OrFormGroup-7163fe17.js';
|
|
4
4
|
import { s as script$1 } from '../../OrCheckboxTree-87d0528b.js';
|
|
5
5
|
import { resolveComponent, openBlock, createBlock, withCtx, renderSlot, createElementBlock, Fragment, renderList } from 'vue';
|
|
6
6
|
import '../../OrLabel-4da56db0.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent } from 'vue-demi';
|
|
2
2
|
import { useVModel } from '@vueuse/core';
|
|
3
|
-
import { s as script$1 } from '../../OrFormGroup-
|
|
3
|
+
import { s as script$1 } from '../../OrFormGroup-7163fe17.js';
|
|
4
4
|
import { s as script$2 } from '../../OrRadio-a890ee7c.js';
|
|
5
5
|
import { resolveComponent, openBlock, createBlock, withCtx, renderSlot, createElementBlock, Fragment, renderList } from 'vue';
|
|
6
6
|
import '../../OrLabel-4da56db0.js';
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
ref="root"
|
|
4
4
|
:class="rootStyles"
|
|
5
5
|
>
|
|
6
|
-
<div class="
|
|
6
|
+
<div class="layout-row">
|
|
7
7
|
<slot name="label">
|
|
8
8
|
<OrLabel
|
|
9
9
|
v-if="label"
|
|
@@ -19,9 +19,7 @@
|
|
|
19
19
|
</OrLabel>
|
|
20
20
|
</slot>
|
|
21
21
|
</div>
|
|
22
|
-
<div
|
|
23
|
-
:class="contentStyles"
|
|
24
|
-
>
|
|
22
|
+
<div :class="contentStyles">
|
|
25
23
|
<slot />
|
|
26
24
|
</div>
|
|
27
25
|
|
|
@@ -2,13 +2,11 @@ import { FormGroupDirection } from './props';
|
|
|
2
2
|
|
|
3
3
|
export const FormGroupRoot: string[] = [
|
|
4
4
|
// Layout
|
|
5
|
-
'
|
|
6
|
-
'flex-col',
|
|
5
|
+
'layout-column',
|
|
7
6
|
'gap-md md:gap-sm',
|
|
8
7
|
];
|
|
9
8
|
export const FormGroupContent: string[] = [
|
|
10
9
|
// Layout
|
|
11
|
-
'flex',
|
|
12
10
|
'pl-[10px] md:pl-[0]',
|
|
13
11
|
'gap-md md:gap-sm',
|
|
14
12
|
];
|
|
@@ -16,21 +14,23 @@ export const FormGroupContent: string[] = [
|
|
|
16
14
|
export const FormGroupLabel: string[] = [
|
|
17
15
|
// Typography
|
|
18
16
|
'!typography-body-2-regular',
|
|
19
|
-
'!theme-foreground
|
|
17
|
+
'!theme-foreground',
|
|
18
|
+
'dark:!theme-foreground-dark',
|
|
20
19
|
];
|
|
21
20
|
|
|
22
21
|
export const FormGroupLabelError: string[] = [
|
|
23
22
|
// Typography
|
|
24
|
-
'!theme-foreground-error
|
|
23
|
+
'!theme-foreground-error',
|
|
24
|
+
'dark:!theme-foreground-error-dark',
|
|
25
25
|
];
|
|
26
26
|
|
|
27
27
|
export const FormGroupContentDirections: Record<FormGroupDirection, string[]> = {
|
|
28
28
|
[FormGroupDirection.Vertical]: [
|
|
29
|
-
'
|
|
29
|
+
'layout-column',
|
|
30
30
|
'gap-sm',
|
|
31
31
|
],
|
|
32
32
|
[FormGroupDirection.Horizontal]: [
|
|
33
|
-
'
|
|
33
|
+
'layout-row',
|
|
34
34
|
'gap-[18px] md:gap-md',
|
|
35
35
|
],
|
|
36
36
|
};
|