@onereach/ui-components 2.62.7-beta.1920.0 → 2.62.7-beta.1922.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/v2/OrSegmentedControls-cd8b1cd3.js +230 -0
- package/dist/v2/components/index.d.ts +1 -0
- package/dist/v2/components/or-segmented-controls-v3/OrSegmentedControls.stories3.d.ts +12 -0
- package/dist/v2/components/or-segmented-controls-v3/OrSegmentedControls.vue.d.ts +77 -0
- package/dist/v2/components/or-segmented-controls-v3/components/or-segmented-controls-item/OrSegmentedControlsItem.vue.d.ts +47 -0
- package/dist/v2/components/or-segmented-controls-v3/components/or-segmented-controls-item/styles.d.ts +3 -0
- package/dist/v2/components/or-segmented-controls-v3/index.d.ts +3 -0
- package/dist/v2/components/or-segmented-controls-v3/props.d.ts +4 -0
- package/dist/v2/components/or-segmented-controls-v3/styles.d.ts +3 -0
- package/dist/v2/components/or-segmented-controls-v3/types.d.ts +4 -0
- package/dist/v2/index.js +1 -0
- package/dist/v2/index2.js +1 -0
- package/dist/v2/index63.js +2 -16
- package/dist/v2/index64.js +15 -24
- package/dist/v2/index65.js +26 -4
- package/dist/v2/index66.js +2 -1
- package/dist/v2/index67.js +3 -4
- package/dist/v2/index68.js +3 -4
- package/dist/v2/index69.js +3 -10
- package/dist/v2/index70.js +3 -6
- package/dist/v2/index71.js +13 -2
- package/dist/v2/index72.js +4 -6
- package/dist/v2/index73.js +6 -4
- package/dist/v2/index74.js +2 -1
- package/dist/v2/index75.js +3 -3
- package/dist/v2/index76.js +3 -4
- package/dist/v2/index77.js +4 -15
- package/dist/v2/index78.js +14 -11
- package/dist/v2/index79.js +11 -13
- package/dist/v2/index80.js +14 -2
- package/dist/v2/index81.js +2 -2
- package/dist/v2/index82.js +2 -3
- package/dist/v2/index83.js +1 -6
- package/dist/v2/index84.js +7 -20
- package/dist/v2/index85.js +12 -9
- package/dist/v2/index86.js +18 -1
- package/dist/v2/index87.js +2 -18
- package/dist/v2/index88.js +18 -2
- package/dist/v2/index89.js +2 -10
- package/dist/v2/index90.js +9 -11
- package/dist/v2/index91.js +12 -1
- package/dist/v2/index92.js +1 -6
- package/dist/v2/index93.js +5 -1
- package/dist/v2/index94.js +3 -0
- package/dist/v3/OrSegmentedControls-e4522910.js +183 -0
- package/dist/v3/components/index.d.ts +1 -0
- package/dist/v3/components/or-segmented-controls-v3/OrSegmentedControls.stories3.d.ts +12 -0
- package/dist/v3/components/or-segmented-controls-v3/OrSegmentedControls.vue.d.ts +77 -0
- package/dist/v3/components/or-segmented-controls-v3/components/or-segmented-controls-item/OrSegmentedControlsItem.vue.d.ts +47 -0
- package/dist/v3/components/or-segmented-controls-v3/components/or-segmented-controls-item/styles.d.ts +3 -0
- package/dist/v3/components/or-segmented-controls-v3/index.d.ts +3 -0
- package/dist/v3/components/or-segmented-controls-v3/props.d.ts +4 -0
- package/dist/v3/components/or-segmented-controls-v3/styles.d.ts +3 -0
- package/dist/v3/components/or-segmented-controls-v3/types.d.ts +4 -0
- package/dist/v3/index.js +1 -0
- package/dist/v3/index2.js +1 -0
- package/dist/v3/index63.js +2 -15
- package/dist/v3/index64.js +13 -22
- package/dist/v3/index65.js +24 -3
- package/dist/v3/index66.js +2 -1
- package/dist/v3/index67.js +3 -4
- package/dist/v3/index68.js +3 -4
- package/dist/v3/index69.js +3 -9
- package/dist/v3/index70.js +3 -4
- package/dist/v3/index71.js +10 -2
- package/dist/v3/index72.js +3 -5
- package/dist/v3/index73.js +5 -3
- package/dist/v3/index74.js +2 -1
- package/dist/v3/index75.js +3 -3
- package/dist/v3/index76.js +3 -4
- package/dist/v3/index77.js +4 -14
- package/dist/v3/index78.js +13 -10
- package/dist/v3/index79.js +10 -12
- package/dist/v3/index80.js +13 -1
- package/dist/v3/index81.js +1 -1
- package/dist/v3/index82.js +1 -3
- package/dist/v3/index83.js +1 -6
- package/dist/v3/index84.js +6 -16
- package/dist/v3/index85.js +12 -9
- package/dist/v3/index86.js +15 -1
- package/dist/v3/index87.js +2 -17
- package/dist/v3/index88.js +17 -2
- package/dist/v3/index89.js +2 -8
- package/dist/v3/index90.js +6 -9
- package/dist/v3/index91.js +11 -1
- package/dist/v3/index92.js +1 -6
- package/dist/v3/index93.js +5 -1
- package/dist/v3/index94.js +3 -0
- package/package.json +2 -2
- package/src/components/index.ts +1 -0
- package/src/components/or-segmented-controls-v3/OrSegmentedControls.docs.mdx +7 -0
- package/src/components/or-segmented-controls-v3/OrSegmentedControls.stories3.ts +118 -0
- package/src/components/or-segmented-controls-v3/OrSegmentedControls.vue +109 -0
- package/src/components/or-segmented-controls-v3/components/or-segmented-controls-item/OrSegmentedControlsItem.vue +63 -0
- package/src/components/or-segmented-controls-v3/components/or-segmented-controls-item/styles.ts +50 -0
- package/src/components/or-segmented-controls-v3/index.ts +3 -0
- package/src/components/or-segmented-controls-v3/props.ts +4 -0
- package/src/components/or-segmented-controls-v3/styles.ts +24 -0
- package/src/components/or-segmented-controls-v3/types.ts +4 -0
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
+
import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
3
|
+
import '@vueuse/core';
|
|
4
|
+
import { n as normalizeComponent } from './normalize-component-6e8e3d80.js';
|
|
5
|
+
|
|
6
|
+
const SegmentedControlsItemRoot = [
|
|
7
|
+
// Layout
|
|
8
|
+
'flex', 'items-center', 'justify-center',
|
|
9
|
+
// Shape
|
|
10
|
+
'rounded-md',
|
|
11
|
+
// Interactivity
|
|
12
|
+
'interactivity-auto',
|
|
13
|
+
// Theme
|
|
14
|
+
'theme-foreground-default', 'dark:theme-foreground-default-dark',
|
|
15
|
+
// Theme (selected)
|
|
16
|
+
'selected:theme-background-default', 'dark:selected:theme-background-default-dark',
|
|
17
|
+
// Theme (selected, enabled)
|
|
18
|
+
'selected:enabled:shadow-card', 'dark:selected:enabled:shadow-card-dark'];
|
|
19
|
+
const SegmentedControlsItemRootSizes = {
|
|
20
|
+
'm': [
|
|
21
|
+
// Box
|
|
22
|
+
'h-[44px] md:h-[36px]',
|
|
23
|
+
// Spacing
|
|
24
|
+
'px-sm+ md:px-sm+',
|
|
25
|
+
// Typography
|
|
26
|
+
'typography-body-2-regular'],
|
|
27
|
+
's': [
|
|
28
|
+
// Box
|
|
29
|
+
'h-[36px] md:h-[32px]',
|
|
30
|
+
// Spacing
|
|
31
|
+
'px-sm+ md:px-sm',
|
|
32
|
+
// Typography
|
|
33
|
+
'typography-caption-regular']
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
var script$1 = defineComponent({
|
|
37
|
+
name: 'OrSegmentedControlsItem',
|
|
38
|
+
inheritAttrs: false,
|
|
39
|
+
props: {
|
|
40
|
+
size: {
|
|
41
|
+
type: String,
|
|
42
|
+
required: true
|
|
43
|
+
},
|
|
44
|
+
selected: {
|
|
45
|
+
type: Boolean,
|
|
46
|
+
default: false
|
|
47
|
+
},
|
|
48
|
+
disabled: {
|
|
49
|
+
type: Boolean,
|
|
50
|
+
default: false
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
setup(props) {
|
|
54
|
+
// Refs
|
|
55
|
+
const root = ref();
|
|
56
|
+
// Styles
|
|
57
|
+
const classAttribute = useClassAttribute();
|
|
58
|
+
const rootStyles = computed(() => ['or-segmented-controls-item', ...SegmentedControlsItemRoot, ...SegmentedControlsItemRootSizes[props.size], classAttribute.value]);
|
|
59
|
+
return {
|
|
60
|
+
root,
|
|
61
|
+
rootStyles
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
|
|
66
|
+
/* script */
|
|
67
|
+
const __vue_script__$1 = script$1;
|
|
68
|
+
|
|
69
|
+
/* template */
|
|
70
|
+
var __vue_render__$1 = function () {
|
|
71
|
+
var _vm = this;
|
|
72
|
+
var _h = _vm.$createElement;
|
|
73
|
+
var _c = _vm._self._c || _h;
|
|
74
|
+
return _c('div', _vm._b({
|
|
75
|
+
ref: "root",
|
|
76
|
+
class: _vm.rootStyles,
|
|
77
|
+
attrs: {
|
|
78
|
+
"selected": _vm.selected ? '' : null,
|
|
79
|
+
"disabled": _vm.disabled ? '' : null
|
|
80
|
+
}
|
|
81
|
+
}, 'div', _vm.$attrs, false), [_c('div', {
|
|
82
|
+
class: ['truncate']
|
|
83
|
+
}, [_vm._t("default")], 2)]);
|
|
84
|
+
};
|
|
85
|
+
var __vue_staticRenderFns__$1 = [];
|
|
86
|
+
|
|
87
|
+
/* style */
|
|
88
|
+
const __vue_inject_styles__$1 = undefined;
|
|
89
|
+
/* scoped */
|
|
90
|
+
const __vue_scope_id__$1 = undefined;
|
|
91
|
+
/* module identifier */
|
|
92
|
+
const __vue_module_identifier__$1 = undefined;
|
|
93
|
+
/* functional template */
|
|
94
|
+
const __vue_is_functional_template__$1 = false;
|
|
95
|
+
/* style inject */
|
|
96
|
+
|
|
97
|
+
/* style inject SSR */
|
|
98
|
+
|
|
99
|
+
/* style inject shadow dom */
|
|
100
|
+
|
|
101
|
+
const __vue_component__$1 = /*#__PURE__*/normalizeComponent({
|
|
102
|
+
render: __vue_render__$1,
|
|
103
|
+
staticRenderFns: __vue_staticRenderFns__$1
|
|
104
|
+
}, __vue_inject_styles__$1, __vue_script__$1, __vue_scope_id__$1, __vue_is_functional_template__$1, __vue_module_identifier__$1, false, undefined, undefined, undefined);
|
|
105
|
+
|
|
106
|
+
var SegmentedControlsSize;
|
|
107
|
+
(function (SegmentedControlsSize) {
|
|
108
|
+
SegmentedControlsSize["M"] = "m";
|
|
109
|
+
SegmentedControlsSize["S"] = "s";
|
|
110
|
+
})(SegmentedControlsSize || (SegmentedControlsSize = {}));
|
|
111
|
+
|
|
112
|
+
const SegmentedControlsRoot = [
|
|
113
|
+
// Layout
|
|
114
|
+
'grid', 'grid-flow-col', 'auto-cols-fr',
|
|
115
|
+
// Shape
|
|
116
|
+
'rounded-md',
|
|
117
|
+
// Spacing
|
|
118
|
+
'px-[2px]', 'py-[2px]',
|
|
119
|
+
// Theme
|
|
120
|
+
'theme-background-surface-variant', 'dark:theme-background-surface-variant-dark'];
|
|
121
|
+
const SegmentedControlsRootSizes = {
|
|
122
|
+
'm': [],
|
|
123
|
+
's': []
|
|
124
|
+
};
|
|
125
|
+
|
|
126
|
+
var script = defineComponent({
|
|
127
|
+
name: 'OrSegmentedControls',
|
|
128
|
+
components: {
|
|
129
|
+
OrSegmentedControlsItem: __vue_component__$1
|
|
130
|
+
},
|
|
131
|
+
inheritAttrs: false,
|
|
132
|
+
props: {
|
|
133
|
+
options: {
|
|
134
|
+
type: Array,
|
|
135
|
+
default: []
|
|
136
|
+
},
|
|
137
|
+
modelValue: {
|
|
138
|
+
type: String,
|
|
139
|
+
default: undefined
|
|
140
|
+
},
|
|
141
|
+
value: {
|
|
142
|
+
type: String,
|
|
143
|
+
default: undefined
|
|
144
|
+
},
|
|
145
|
+
size: {
|
|
146
|
+
type: String,
|
|
147
|
+
default: SegmentedControlsSize.M
|
|
148
|
+
},
|
|
149
|
+
disabled: {
|
|
150
|
+
type: Boolean,
|
|
151
|
+
default: false
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
emits: ['update:modelValue', 'input', 'focus', 'blur'],
|
|
155
|
+
expose: ['root'],
|
|
156
|
+
setup(props, context) {
|
|
157
|
+
// Refs
|
|
158
|
+
const root = ref();
|
|
159
|
+
// Styles
|
|
160
|
+
const classAttribute = useClassAttribute();
|
|
161
|
+
const rootStyles = computed(() => ['or-segmented-controls', ...SegmentedControlsRoot, ...SegmentedControlsRootSizes[props.size], classAttribute.value]);
|
|
162
|
+
// State
|
|
163
|
+
const proxyModelValue = computed({
|
|
164
|
+
get: () => {
|
|
165
|
+
var _a;
|
|
166
|
+
return (_a = props.modelValue) !== null && _a !== void 0 ? _a : props.value; // TODO: Remove Vue 2 fallback
|
|
167
|
+
},
|
|
168
|
+
|
|
169
|
+
set: value => {
|
|
170
|
+
context.emit('input', value);
|
|
171
|
+
context.emit('update:modelValue', value);
|
|
172
|
+
}
|
|
173
|
+
});
|
|
174
|
+
return {
|
|
175
|
+
root,
|
|
176
|
+
rootStyles,
|
|
177
|
+
proxyModelValue
|
|
178
|
+
};
|
|
179
|
+
}
|
|
180
|
+
});
|
|
181
|
+
|
|
182
|
+
/* script */
|
|
183
|
+
const __vue_script__ = script;
|
|
184
|
+
|
|
185
|
+
/* template */
|
|
186
|
+
var __vue_render__ = function () {
|
|
187
|
+
var _vm = this;
|
|
188
|
+
var _h = _vm.$createElement;
|
|
189
|
+
var _c = _vm._self._c || _h;
|
|
190
|
+
return _c('div', _vm._b({
|
|
191
|
+
ref: "root",
|
|
192
|
+
class: _vm.rootStyles
|
|
193
|
+
}, 'div', _vm.$attrs, false), _vm._l(_vm.options, function (option) {
|
|
194
|
+
return _c('OrSegmentedControlsItem', {
|
|
195
|
+
key: option.value,
|
|
196
|
+
attrs: {
|
|
197
|
+
"size": _vm.size,
|
|
198
|
+
"selected": option.value === _vm.proxyModelValue,
|
|
199
|
+
"disabled": _vm.disabled
|
|
200
|
+
},
|
|
201
|
+
on: {
|
|
202
|
+
"click": function ($event) {
|
|
203
|
+
_vm.proxyModelValue = option.value;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
}, [_vm._v("\n " + _vm._s(option.label) + "\n ")]);
|
|
207
|
+
}), 1);
|
|
208
|
+
};
|
|
209
|
+
var __vue_staticRenderFns__ = [];
|
|
210
|
+
|
|
211
|
+
/* style */
|
|
212
|
+
const __vue_inject_styles__ = undefined;
|
|
213
|
+
/* scoped */
|
|
214
|
+
const __vue_scope_id__ = undefined;
|
|
215
|
+
/* module identifier */
|
|
216
|
+
const __vue_module_identifier__ = undefined;
|
|
217
|
+
/* functional template */
|
|
218
|
+
const __vue_is_functional_template__ = false;
|
|
219
|
+
/* style inject */
|
|
220
|
+
|
|
221
|
+
/* style inject SSR */
|
|
222
|
+
|
|
223
|
+
/* style inject shadow dom */
|
|
224
|
+
|
|
225
|
+
const __vue_component__ = /*#__PURE__*/normalizeComponent({
|
|
226
|
+
render: __vue_render__,
|
|
227
|
+
staticRenderFns: __vue_staticRenderFns__
|
|
228
|
+
}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
|
|
229
|
+
|
|
230
|
+
export { SegmentedControlsSize as S, __vue_component__ as _ };
|
|
@@ -58,6 +58,7 @@ export * from './or-radio';
|
|
|
58
58
|
export * from './or-radio-group';
|
|
59
59
|
export * from './or-radio-v3';
|
|
60
60
|
export * from './or-search-v3';
|
|
61
|
+
export * from './or-segmented-controls-v3';
|
|
61
62
|
export * from './or-select';
|
|
62
63
|
export * from './or-select-v3';
|
|
63
64
|
export * from './or-sidebar';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Meta, StoryFn } from '@storybook/vue3';
|
|
2
|
+
declare const _default: Meta<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
3
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
4
|
+
} | string[], {} & {}, {
|
|
5
|
+
[x: number]: string;
|
|
6
|
+
} | {}, true>)>;
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Base: StoryFn<import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<unknown>, import("@vue/composition-api").MethodOptions, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>, import("@vue/composition-api").ExtractPropTypes<import("@vue/composition-api").ComponentPropsOptions<import("@vue/composition-api").Data>>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
9
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
10
|
+
} | string[], {} & {}, {
|
|
11
|
+
[x: number]: string;
|
|
12
|
+
} | {}, true>)>;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { PropType } from 'vue-demi';
|
|
2
|
+
import { SegmentedControlsSize } from './props';
|
|
3
|
+
import { SegmentedControlsOption } from './types';
|
|
4
|
+
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
5
|
+
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
6
|
+
rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
|
|
7
|
+
proxyModelValue: import("@vue/composition-api").WritableComputedRef<string>;
|
|
8
|
+
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
9
|
+
options: {
|
|
10
|
+
type: PropType<SegmentedControlsOption[]>;
|
|
11
|
+
default: SegmentedControlsOption[];
|
|
12
|
+
};
|
|
13
|
+
modelValue: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: undefined;
|
|
16
|
+
};
|
|
17
|
+
value: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: undefined;
|
|
20
|
+
};
|
|
21
|
+
size: {
|
|
22
|
+
type: PropType<SegmentedControlsSize>;
|
|
23
|
+
default: SegmentedControlsSize;
|
|
24
|
+
};
|
|
25
|
+
disabled: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
}, import("@vue/composition-api").ExtractPropTypes<{
|
|
30
|
+
options: {
|
|
31
|
+
type: PropType<SegmentedControlsOption[]>;
|
|
32
|
+
default: SegmentedControlsOption[];
|
|
33
|
+
};
|
|
34
|
+
modelValue: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
default: undefined;
|
|
37
|
+
};
|
|
38
|
+
value: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
default: undefined;
|
|
41
|
+
};
|
|
42
|
+
size: {
|
|
43
|
+
type: PropType<SegmentedControlsSize>;
|
|
44
|
+
default: SegmentedControlsSize;
|
|
45
|
+
};
|
|
46
|
+
disabled: {
|
|
47
|
+
type: BooleanConstructor;
|
|
48
|
+
default: boolean;
|
|
49
|
+
};
|
|
50
|
+
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
51
|
+
options: SegmentedControlsOption[];
|
|
52
|
+
modelValue: string;
|
|
53
|
+
value: string;
|
|
54
|
+
size: SegmentedControlsSize;
|
|
55
|
+
disabled: boolean;
|
|
56
|
+
} & {} & {
|
|
57
|
+
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
58
|
+
}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
59
|
+
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
60
|
+
rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
|
|
61
|
+
proxyModelValue: import("@vue/composition-api").WritableComputedRef<string>;
|
|
62
|
+
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
63
|
+
options: SegmentedControlsOption[];
|
|
64
|
+
modelValue: string;
|
|
65
|
+
value: string;
|
|
66
|
+
size: SegmentedControlsSize;
|
|
67
|
+
disabled: boolean;
|
|
68
|
+
} & {} & {
|
|
69
|
+
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
70
|
+
}, {
|
|
71
|
+
options: SegmentedControlsOption[];
|
|
72
|
+
modelValue: string;
|
|
73
|
+
value: string;
|
|
74
|
+
size: SegmentedControlsSize;
|
|
75
|
+
disabled: boolean;
|
|
76
|
+
}, true>);
|
|
77
|
+
export default _default;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { PropType } from 'vue-demi';
|
|
2
|
+
import { SegmentedControlsSize } 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 | undefined)[]>;
|
|
6
|
+
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
7
|
+
size: {
|
|
8
|
+
type: PropType<SegmentedControlsSize>;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
selected: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
15
|
+
disabled: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
}, import("@vue/composition-api").ExtractPropTypes<{
|
|
20
|
+
size: {
|
|
21
|
+
type: PropType<SegmentedControlsSize>;
|
|
22
|
+
required: true;
|
|
23
|
+
};
|
|
24
|
+
selected: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
disabled: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
33
|
+
size: SegmentedControlsSize;
|
|
34
|
+
selected: boolean;
|
|
35
|
+
disabled: boolean;
|
|
36
|
+
} & {}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
37
|
+
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
38
|
+
rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
|
|
39
|
+
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, {}, {
|
|
40
|
+
size: SegmentedControlsSize;
|
|
41
|
+
selected: boolean;
|
|
42
|
+
disabled: boolean;
|
|
43
|
+
} & {}, {
|
|
44
|
+
selected: boolean;
|
|
45
|
+
disabled: boolean;
|
|
46
|
+
}, true>);
|
|
47
|
+
export default _default;
|
package/dist/v2/index.js
CHANGED
|
@@ -63,6 +63,7 @@ export { _ as OrRadio } from './OrRadio-514e8de8.js';
|
|
|
63
63
|
export { _ as OrRadioGroup } from './OrRadioGroup-11424644.js';
|
|
64
64
|
export { _ as OrRadioV3 } from './OrRadio-4ba56887.js';
|
|
65
65
|
export { _ as OrSearchV3 } from './OrSearch-978a3a6e.js';
|
|
66
|
+
export { _ as OrSegmentedControlsV3, S as SegmentedControlsSize } from './OrSegmentedControls-cd8b1cd3.js';
|
|
66
67
|
export { _ as OrSelect } from './OrSelect-ea27a70e.js';
|
|
67
68
|
export { _ as OrSelectV3 } from './OrSelect-c6d0a69e.js';
|
|
68
69
|
export { _ as OrSidebar, O as OrSidebarSide } from './OrSidebar-feacf13a.js';
|
package/dist/v2/index2.js
CHANGED
|
@@ -63,6 +63,7 @@ export { _ as OrRadio } from './OrRadio-514e8de8.js';
|
|
|
63
63
|
export { _ as OrRadioGroup } from './OrRadioGroup-11424644.js';
|
|
64
64
|
export { _ as OrRadioV3 } from './OrRadio-4ba56887.js';
|
|
65
65
|
export { _ as OrSearchV3 } from './OrSearch-978a3a6e.js';
|
|
66
|
+
export { _ as OrSegmentedControlsV3, S as SegmentedControlsSize } from './OrSegmentedControls-cd8b1cd3.js';
|
|
66
67
|
export { _ as OrSelect } from './OrSelect-ea27a70e.js';
|
|
67
68
|
export { _ as OrSelectV3 } from './OrSelect-c6d0a69e.js';
|
|
68
69
|
export { _ as OrSidebar, O as OrSidebarSide } from './OrSidebar-feacf13a.js';
|
package/dist/v2/index63.js
CHANGED
|
@@ -1,19 +1,5 @@
|
|
|
1
|
-
export { _ as
|
|
1
|
+
export { _ as OrSegmentedControlsV3, S as SegmentedControlsSize } from './OrSegmentedControls-cd8b1cd3.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
|
+
import './useClassAttribute-47fdb016.js';
|
|
3
4
|
import '@vueuse/core';
|
|
4
|
-
import 'lodash';
|
|
5
|
-
import './OrIcon-7cd10497.js';
|
|
6
|
-
import './OrTooltip.vue_rollup-plugin-vue_styles.0-54c17910.js';
|
|
7
|
-
import './style-inject.es-4c6f2515.js';
|
|
8
5
|
import './normalize-component-6e8e3d80.js';
|
|
9
|
-
import './OrFloating-b15309d1.js';
|
|
10
|
-
import '@floating-ui/dom';
|
|
11
|
-
import './OrTeleportVue2-fce4676d.js';
|
|
12
|
-
import 'vue';
|
|
13
|
-
import './dom-7a41831b.js';
|
|
14
|
-
import './px-to-rem-0b26b83e.js';
|
|
15
|
-
import './OrChips.vue_rollup-plugin-vue_styles.0-c780c5eb.js';
|
|
16
|
-
import './OrLabel-931394a5.js';
|
|
17
|
-
import './OrError-efc74907.js';
|
|
18
|
-
import './OrLoader-212ef381.js';
|
|
19
|
-
import './OrCheckbox-ed1f2666.js';
|
package/dist/v2/index64.js
CHANGED
|
@@ -1,28 +1,19 @@
|
|
|
1
|
-
export { _ as
|
|
2
|
-
export { a as SelectSize } from './OrInputBox-208dceac.js';
|
|
1
|
+
export { _ as OrSelect } from './OrSelect-ea27a70e.js';
|
|
3
2
|
import 'vue-demi';
|
|
4
|
-
import './dropdown-open-0d314aa4.js';
|
|
5
|
-
import './useClassAttribute-47fdb016.js';
|
|
6
|
-
import './useOverflow-ac506c65.js';
|
|
7
3
|
import '@vueuse/core';
|
|
8
|
-
import '
|
|
9
|
-
import './
|
|
10
|
-
import './
|
|
4
|
+
import 'lodash';
|
|
5
|
+
import './OrIcon-7cd10497.js';
|
|
6
|
+
import './OrTooltip.vue_rollup-plugin-vue_styles.0-54c17910.js';
|
|
11
7
|
import './style-inject.es-4c6f2515.js';
|
|
12
|
-
import './
|
|
13
|
-
import './
|
|
14
|
-
import './OrIcon-124f3bad.js';
|
|
15
|
-
import './OrHint-44356417.js';
|
|
16
|
-
import './OrInput-24028f23.js';
|
|
17
|
-
import './OrIconButton-2088a37f.js';
|
|
18
|
-
import './OrTooltip-afe7030b.js';
|
|
19
|
-
import './OrPopover-9080fc00.js';
|
|
8
|
+
import './normalize-component-6e8e3d80.js';
|
|
9
|
+
import './OrFloating-b15309d1.js';
|
|
20
10
|
import '@floating-ui/dom';
|
|
21
|
-
import './
|
|
22
|
-
import '
|
|
23
|
-
import './
|
|
24
|
-
import './
|
|
25
|
-
import './
|
|
26
|
-
import '
|
|
27
|
-
import './
|
|
28
|
-
import './
|
|
11
|
+
import './OrTeleportVue2-fce4676d.js';
|
|
12
|
+
import 'vue';
|
|
13
|
+
import './dom-7a41831b.js';
|
|
14
|
+
import './px-to-rem-0b26b83e.js';
|
|
15
|
+
import './OrChips.vue_rollup-plugin-vue_styles.0-c780c5eb.js';
|
|
16
|
+
import './OrLabel-931394a5.js';
|
|
17
|
+
import './OrError-efc74907.js';
|
|
18
|
+
import './OrLoader-212ef381.js';
|
|
19
|
+
import './OrCheckbox-ed1f2666.js';
|
package/dist/v2/index65.js
CHANGED
|
@@ -1,6 +1,28 @@
|
|
|
1
|
-
export { _ as
|
|
2
|
-
|
|
3
|
-
import 'lodash';
|
|
1
|
+
export { _ as OrSelectV3 } from './OrSelect-c6d0a69e.js';
|
|
2
|
+
export { a as SelectSize } from './OrInputBox-208dceac.js';
|
|
4
3
|
import 'vue-demi';
|
|
5
|
-
import './
|
|
4
|
+
import './dropdown-open-0d314aa4.js';
|
|
5
|
+
import './useClassAttribute-47fdb016.js';
|
|
6
|
+
import './useOverflow-ac506c65.js';
|
|
7
|
+
import '@vueuse/core';
|
|
8
|
+
import './OrCheckbox-eb833bab.js';
|
|
9
|
+
import './OrLabel-5670468e.js';
|
|
6
10
|
import './normalize-component-6e8e3d80.js';
|
|
11
|
+
import './style-inject.es-4c6f2515.js';
|
|
12
|
+
import './OrError-be656098.js';
|
|
13
|
+
import './OrExpansionPanel-ce82a6fd.js';
|
|
14
|
+
import './OrIcon-124f3bad.js';
|
|
15
|
+
import './OrHint-44356417.js';
|
|
16
|
+
import './OrInput-24028f23.js';
|
|
17
|
+
import './OrIconButton-2088a37f.js';
|
|
18
|
+
import './OrTooltip-afe7030b.js';
|
|
19
|
+
import './OrPopover-9080fc00.js';
|
|
20
|
+
import '@floating-ui/dom';
|
|
21
|
+
import './useElevation-0e973238.js';
|
|
22
|
+
import './useResponsive-a02e95b7.js';
|
|
23
|
+
import './OrBottomSheet-f09adbbb.js';
|
|
24
|
+
import './OrOverlay-4838a9b0.js';
|
|
25
|
+
import './OrTeleport.vue2-fb92f29f.js';
|
|
26
|
+
import 'portal-vue';
|
|
27
|
+
import './OrMenuItem-3a28db7b.js';
|
|
28
|
+
import './OrTag-1ced4e58.js';
|
package/dist/v2/index66.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { _ as OrSidebar, O as OrSidebarSide } from './OrSidebar-feacf13a.js';
|
|
2
2
|
import '@vueuse/core';
|
|
3
3
|
import 'lodash';
|
|
4
4
|
import 'vue-demi';
|
|
5
|
+
import './style-inject.es-4c6f2515.js';
|
|
5
6
|
import './normalize-component-6e8e3d80.js';
|
package/dist/v2/index67.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
export {
|
|
2
|
-
import '
|
|
3
|
-
import './px-to-rem-0b26b83e.js';
|
|
1
|
+
export { O as OrSidebarPlacement, _ as OrSidebarV3 } from './OrSidebar-fabc7bc9.js';
|
|
2
|
+
import '@vueuse/core';
|
|
4
3
|
import 'lodash';
|
|
5
|
-
import '
|
|
4
|
+
import 'vue-demi';
|
|
6
5
|
import './normalize-component-6e8e3d80.js';
|
package/dist/v2/index68.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
export { _ as
|
|
1
|
+
export { _ as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from './OrSkeletonText-38aef640.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
|
-
import 'lodash';
|
|
4
3
|
import './px-to-rem-0b26b83e.js';
|
|
5
|
-
import '
|
|
6
|
-
import '
|
|
4
|
+
import 'lodash';
|
|
5
|
+
import './style-inject.es-4c6f2515.js';
|
|
7
6
|
import './normalize-component-6e8e3d80.js';
|
package/dist/v2/index69.js
CHANGED
|
@@ -1,14 +1,7 @@
|
|
|
1
|
-
export { _ as
|
|
2
|
-
import './OrIcon-7cd10497.js';
|
|
1
|
+
export { _ as OrSkeletonCircleV3, a as OrSkeletonRectV3, b as OrSkeletonTextV3 } from './OrSkeletonText-950be6a2.js';
|
|
3
2
|
import 'vue-demi';
|
|
4
3
|
import 'lodash';
|
|
5
|
-
import './OrTooltip.vue_rollup-plugin-vue_styles.0-54c17910.js';
|
|
6
|
-
import './style-inject.es-4c6f2515.js';
|
|
7
|
-
import './normalize-component-6e8e3d80.js';
|
|
8
|
-
import './OrFloating-b15309d1.js';
|
|
9
|
-
import '@floating-ui/dom';
|
|
10
|
-
import './OrTeleportVue2-fce4676d.js';
|
|
11
|
-
import 'vue';
|
|
12
|
-
import './dom-7a41831b.js';
|
|
13
4
|
import './px-to-rem-0b26b83e.js';
|
|
5
|
+
import './useClassAttribute-47fdb016.js';
|
|
14
6
|
import '@vueuse/core';
|
|
7
|
+
import './normalize-component-6e8e3d80.js';
|
package/dist/v2/index70.js
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
export { _ as
|
|
2
|
-
import 'vue-demi';
|
|
3
|
-
import './OrButton-56baef5e.js';
|
|
4
|
-
import './OrIconButton.vue_rollup-plugin-vue_styles.0-dc224e53.js';
|
|
1
|
+
export { _ as OrSlider } from './OrSlider-021736ec.js';
|
|
5
2
|
import './OrIcon-7cd10497.js';
|
|
3
|
+
import 'vue-demi';
|
|
6
4
|
import 'lodash';
|
|
7
5
|
import './OrTooltip.vue_rollup-plugin-vue_styles.0-54c17910.js';
|
|
8
6
|
import './style-inject.es-4c6f2515.js';
|
|
@@ -13,5 +11,4 @@ import './OrTeleportVue2-fce4676d.js';
|
|
|
13
11
|
import 'vue';
|
|
14
12
|
import './dom-7a41831b.js';
|
|
15
13
|
import './px-to-rem-0b26b83e.js';
|
|
16
|
-
import '
|
|
17
|
-
import './OrTooltip-b31bd78d.js';
|
|
14
|
+
import '@vueuse/core';
|
package/dist/v2/index71.js
CHANGED
|
@@ -1,6 +1,17 @@
|
|
|
1
|
-
export { _ as
|
|
1
|
+
export { _ as OrStepper } from './OrStepper-a0b4da52.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
|
+
import './OrButton-56baef5e.js';
|
|
4
|
+
import './OrIconButton.vue_rollup-plugin-vue_styles.0-dc224e53.js';
|
|
5
|
+
import './OrIcon-7cd10497.js';
|
|
3
6
|
import 'lodash';
|
|
4
|
-
import './
|
|
7
|
+
import './OrTooltip.vue_rollup-plugin-vue_styles.0-54c17910.js';
|
|
5
8
|
import './style-inject.es-4c6f2515.js';
|
|
6
9
|
import './normalize-component-6e8e3d80.js';
|
|
10
|
+
import './OrFloating-b15309d1.js';
|
|
11
|
+
import '@floating-ui/dom';
|
|
12
|
+
import './OrTeleportVue2-fce4676d.js';
|
|
13
|
+
import 'vue';
|
|
14
|
+
import './dom-7a41831b.js';
|
|
15
|
+
import './px-to-rem-0b26b83e.js';
|
|
16
|
+
import './OrLoader-212ef381.js';
|
|
17
|
+
import './OrTooltip-b31bd78d.js';
|
package/dist/v2/index72.js
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
export { _ as
|
|
1
|
+
export { _ as OrSwitch } from './OrSwitch-cd24ee40.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
|
-
import '
|
|
4
|
-
import '
|
|
5
|
-
import './OrLabel-5670468e.js';
|
|
6
|
-
import './normalize-component-6e8e3d80.js';
|
|
7
|
-
import './OrLoader-bd088836.js';
|
|
3
|
+
import 'lodash';
|
|
4
|
+
import './OrLoader-212ef381.js';
|
|
8
5
|
import './style-inject.es-4c6f2515.js';
|
|
6
|
+
import './normalize-component-6e8e3d80.js';
|
package/dist/v2/index73.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
export { _ as
|
|
1
|
+
export { _ as OrSwitchV3 } from './OrSwitch-21a7e693.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
|
-
import '
|
|
4
|
-
import '
|
|
5
|
-
import './
|
|
3
|
+
import './useClassAttribute-47fdb016.js';
|
|
4
|
+
import '@vueuse/core';
|
|
5
|
+
import './OrLabel-5670468e.js';
|
|
6
6
|
import './normalize-component-6e8e3d80.js';
|
|
7
|
+
import './OrLoader-bd088836.js';
|
|
8
|
+
import './style-inject.es-4c6f2515.js';
|
package/dist/v2/index74.js
CHANGED