@onereach/ui-components 2.62.7-beta.1921.0 → 2.62.7-beta.1928.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/{OrConfirm-edc537b3.js → OrConfirm-24e2a1a2.js} +1 -1
- package/dist/v2/{OrInlineInput-73ec1b85.js → OrInlineInput-8455f9da.js} +5 -5
- package/dist/v2/{OrInlineTextarea-1858a348.js → OrInlineTextarea-1127e512.js} +5 -5
- package/dist/v2/{OrInput-655bed71.js → OrInput-24028f23.js} +5 -5
- package/dist/v2/{OrSearch-287a08a9.js → OrSearch-978a3a6e.js} +1 -1
- package/dist/v2/OrSegmentedControl-58b5db14.js +231 -0
- package/dist/v2/{OrSelect-1a353817.js → OrSelect-c6d0a69e.js} +3 -3
- package/dist/v2/{OrTextarea-cc70afc9.js → OrTextarea-8773d494.js} +5 -5
- package/dist/v2/components/index.d.ts +1 -2
- package/dist/v2/components/{or-sort-header-v3/OrSortHeader.stories3.d.ts → or-segmented-control-v3/OrSegmentedControl.stories3.d.ts} +1 -1
- package/dist/{v3/components/or-sort-header-v3/OrSortHeader.vue.d.ts → v2/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts} +45 -25
- package/dist/v2/components/or-segmented-control-v3/components/or-segmented-control-item/OrSegmentedControlItem.vue.d.ts +47 -0
- package/dist/v2/components/or-segmented-control-v3/components/or-segmented-control-item/styles.d.ts +3 -0
- package/dist/v2/components/or-segmented-control-v3/index.d.ts +3 -0
- package/dist/v2/components/or-segmented-control-v3/props.d.ts +4 -0
- package/dist/v2/components/or-segmented-control-v3/styles.d.ts +3 -0
- package/dist/v2/components/or-segmented-control-v3/types.d.ts +4 -0
- package/dist/v2/index.js +8 -9
- package/dist/v2/index11.js +1 -20
- package/dist/v2/index12.js +12 -3
- package/dist/v2/index13.js +2 -3
- package/dist/v2/index14.js +5 -11
- package/dist/v2/index15.js +14 -5
- package/dist/v2/index16.js +19 -4
- package/dist/v2/index17.js +4 -28
- package/dist/v2/index18.js +7 -3
- package/dist/v2/index19.js +23 -5
- package/dist/v2/index2.js +8 -9
- package/dist/v2/index20.js +21 -25
- package/dist/v2/index21.js +18 -21
- package/dist/v2/index22.js +2 -20
- package/dist/v2/index23.js +4 -2
- package/dist/v2/index24.js +1 -2
- package/dist/v2/index25.js +2 -1
- package/dist/v2/index26.js +2 -2
- package/dist/v2/index27.js +7 -4
- package/dist/v2/index28.js +2 -6
- package/dist/v2/index29.js +3 -3
- package/dist/v2/index30.js +10 -3
- package/dist/v2/index31.js +12 -9
- package/dist/v2/index32.js +1 -11
- package/dist/v2/index33.js +1 -1
- package/dist/v2/index34.js +16 -1
- package/dist/v2/index35.js +17 -17
- package/dist/v2/index36.js +17 -17
- package/dist/v2/index37.js +1 -16
- package/dist/v2/index38.js +17 -1
- package/dist/v2/index39.js +22 -18
- package/dist/v2/index40.js +2 -22
- package/dist/v2/index41.js +3 -3
- package/dist/v2/index42.js +1 -1
- package/dist/v2/index43.js +20 -3
- package/dist/v2/index44.js +7 -1
- package/dist/v2/index45.js +1 -24
- package/dist/v2/index46.js +3 -3
- package/dist/v2/index47.js +2 -1
- package/dist/v2/index48.js +9 -2
- package/dist/v2/index49.js +17 -10
- package/dist/v2/index50.js +13 -17
- package/dist/v2/index51.js +14 -13
- package/dist/v2/index52.js +13 -14
- package/dist/v2/index53.js +15 -12
- package/dist/v2/index54.js +1 -16
- package/dist/v2/index55.js +6 -2
- package/dist/v2/index56.js +5 -1
- package/dist/v2/index57.js +3 -10
- package/dist/v2/index58.js +4 -2
- package/dist/v2/index59.js +3 -5
- package/dist/v2/index60.js +1 -2
- package/dist/v2/index61.js +5 -2
- package/dist/v2/index62.js +18 -3
- package/dist/v2/index63.js +2 -19
- package/dist/v2/index65.js +2 -2
- package/dist/v2/index71.js +15 -4
- package/dist/v2/index72.js +2 -13
- package/dist/v2/index73.js +6 -4
- package/dist/v2/index74.js +4 -6
- package/dist/v2/index75.js +1 -2
- package/dist/v2/index76.js +3 -3
- package/dist/v2/index77.js +4 -3
- package/dist/v2/index78.js +15 -4
- package/dist/v2/index79.js +11 -14
- package/dist/v2/index80.js +13 -11
- package/dist/v2/index81.js +2 -14
- package/dist/v2/index82.js +2 -2
- package/dist/v2/index83.js +3 -2
- package/dist/v2/index84.js +6 -1
- package/dist/v2/index85.js +20 -7
- package/dist/v2/index86.js +9 -12
- package/dist/v2/index87.js +1 -18
- package/dist/v2/index88.js +18 -2
- package/dist/v2/index89.js +2 -18
- package/dist/v2/index90.js +10 -2
- package/dist/v2/index91.js +11 -9
- package/dist/v2/index92.js +1 -12
- package/dist/v2/index93.js +6 -1
- package/dist/v2/index94.js +1 -5
- package/dist/v3/{OrConfirm-0bafcc7b.js → OrConfirm-371630a4.js} +1 -1
- package/dist/v3/{OrInlineInput-dc71bbcb.js → OrInlineInput-a080b0a3.js} +3 -5
- package/dist/v3/{OrInlineTextarea-bdebb784.js → OrInlineTextarea-08767485.js} +3 -5
- package/dist/v3/{OrInput-db4813b4.js → OrInput-256d2530.js} +3 -5
- package/dist/v3/{OrSearch-0c29f499.js → OrSearch-375eab55.js} +1 -1
- package/dist/v3/OrSegmentedControl-e45af169.js +183 -0
- package/dist/v3/{OrSelect-323a87b4.js → OrSelect-52cfb10d.js} +4 -6
- package/dist/v3/{OrTextarea-98895b2a.js → OrTextarea-09aa33dc.js} +4 -6
- package/dist/v3/components/index.d.ts +1 -2
- package/dist/v3/components/{or-sort-header-v3/OrSortHeader.stories3.d.ts → or-segmented-control-v3/OrSegmentedControl.stories3.d.ts} +1 -1
- package/dist/{v2/components/or-sort-header-v3/OrSortHeader.vue.d.ts → v3/components/or-segmented-control-v3/OrSegmentedControl.vue.d.ts} +45 -25
- package/dist/v3/components/or-segmented-control-v3/components/or-segmented-control-item/OrSegmentedControlItem.vue.d.ts +47 -0
- package/dist/v3/components/or-segmented-control-v3/components/or-segmented-control-item/styles.d.ts +3 -0
- package/dist/v3/components/or-segmented-control-v3/index.d.ts +3 -0
- package/dist/v3/components/or-segmented-control-v3/props.d.ts +4 -0
- package/dist/v3/components/or-segmented-control-v3/styles.d.ts +3 -0
- package/dist/v3/components/or-segmented-control-v3/types.d.ts +4 -0
- package/dist/v3/index.js +8 -9
- package/dist/v3/index11.js +1 -19
- package/dist/v3/index12.js +11 -3
- package/dist/v3/index13.js +2 -3
- package/dist/v3/index14.js +4 -9
- package/dist/v3/index15.js +11 -4
- package/dist/v3/index16.js +17 -3
- package/dist/v3/index17.js +4 -25
- package/dist/v3/index18.js +6 -3
- package/dist/v3/index19.js +20 -5
- package/dist/v3/index2.js +8 -9
- package/dist/v3/index20.js +20 -21
- package/dist/v3/index21.js +15 -20
- package/dist/v3/index22.js +1 -16
- package/dist/v3/index23.js +4 -2
- package/dist/v3/index24.js +1 -2
- package/dist/v3/index25.js +2 -1
- package/dist/v3/index26.js +2 -2
- package/dist/v3/index27.js +6 -4
- package/dist/v3/index28.js +2 -5
- package/dist/v3/index29.js +3 -3
- package/dist/v3/index30.js +9 -3
- package/dist/v3/index31.js +11 -8
- package/dist/v3/index32.js +1 -10
- package/dist/v3/index33.js +1 -1
- package/dist/v3/index34.js +15 -1
- package/dist/v3/index35.js +14 -16
- package/dist/v3/index36.js +16 -14
- package/dist/v3/index37.js +2 -16
- package/dist/v3/index38.js +17 -2
- package/dist/v3/index39.js +17 -17
- package/dist/v3/index40.js +1 -16
- package/dist/v3/index41.js +3 -3
- package/dist/v3/index42.js +1 -1
- package/dist/v3/index43.js +16 -3
- package/dist/v3/index44.js +7 -1
- package/dist/v3/index45.js +1 -20
- package/dist/v3/index46.js +3 -3
- package/dist/v3/index47.js +2 -1
- package/dist/v3/index48.js +8 -2
- package/dist/v3/index49.js +14 -9
- package/dist/v3/index50.js +12 -14
- package/dist/v3/index51.js +11 -12
- package/dist/v3/index52.js +12 -11
- package/dist/v3/index53.js +11 -11
- package/dist/v3/index54.js +1 -12
- package/dist/v3/index55.js +5 -2
- package/dist/v3/index56.js +5 -1
- package/dist/v3/index57.js +3 -9
- package/dist/v3/index58.js +4 -2
- package/dist/v3/index59.js +3 -5
- package/dist/v3/index60.js +1 -2
- package/dist/v3/index61.js +4 -1
- package/dist/v3/index62.js +17 -3
- package/dist/v3/index63.js +2 -18
- package/dist/v3/index65.js +2 -2
- package/dist/v3/index71.js +12 -4
- package/dist/v3/index72.js +2 -10
- package/dist/v3/index73.js +5 -3
- package/dist/v3/index74.js +3 -5
- package/dist/v3/index75.js +1 -2
- package/dist/v3/index76.js +3 -3
- package/dist/v3/index77.js +4 -3
- package/dist/v3/index78.js +14 -4
- package/dist/v3/index79.js +10 -13
- package/dist/v3/index80.js +12 -10
- package/dist/v3/index81.js +1 -13
- package/dist/v3/index82.js +1 -1
- package/dist/v3/index83.js +3 -1
- package/dist/v3/index84.js +6 -1
- package/dist/v3/index85.js +16 -6
- package/dist/v3/index86.js +9 -12
- package/dist/v3/index87.js +1 -15
- package/dist/v3/index88.js +17 -2
- package/dist/v3/index89.js +2 -17
- package/dist/v3/index90.js +8 -2
- package/dist/v3/index91.js +9 -6
- package/dist/v3/index92.js +1 -11
- package/dist/v3/index93.js +6 -1
- package/dist/v3/index94.js +1 -5
- package/package.json +1 -1
- package/src/components/index.ts +1 -2
- package/src/components/or-checkbox-v3/OrCheckbox.stories3.ts +1 -1
- package/src/components/or-inline-input-v3/OrInlineInput.vue +10 -12
- package/src/components/or-inline-textarea-v3/OrInlineTextarea.vue +10 -12
- package/src/components/or-input-v3/OrInput.vue +10 -12
- package/src/components/or-radio-v3/OrRadio.stories3.ts +1 -1
- package/src/components/or-segmented-control-v3/OrSegmentedControl.docs.mdx +7 -0
- package/src/components/or-segmented-control-v3/OrSegmentedControl.stories3.ts +118 -0
- package/src/components/{or-sort-header-v3/OrSortHeader.vue → or-segmented-control-v3/OrSegmentedControl.vue} +34 -36
- package/src/components/or-segmented-control-v3/components/or-segmented-control-item/OrSegmentedControlItem.vue +63 -0
- package/src/components/or-segmented-control-v3/components/or-segmented-control-item/styles.ts +50 -0
- package/src/components/or-segmented-control-v3/index.ts +3 -0
- package/src/components/or-segmented-control-v3/props.ts +4 -0
- package/src/components/or-segmented-control-v3/styles.ts +24 -0
- package/src/components/or-segmented-control-v3/types.ts +4 -0
- package/src/components/or-select-v3/OrSelect.vue +3 -5
- package/src/components/or-switch-v3/OrSwitch.stories3.ts +1 -1
- package/src/components/or-textarea-v3/OrTextarea.vue +10 -12
- package/dist/v2/OrCardCollection-5d5046f1.js +0 -227
- package/dist/v2/OrSortHeader-a6004b24.js +0 -133
- package/dist/v2/components/or-card-collection-v3/OrCardCollection.stories3.d.ts +0 -17
- package/dist/v2/components/or-card-collection-v3/OrCardCollection.vue.d.ts +0 -98
- package/dist/v2/components/or-card-collection-v3/index.d.ts +0 -3
- package/dist/v2/components/or-card-collection-v3/props.d.ts +0 -4
- package/dist/v2/components/or-card-collection-v3/styles.d.ts +0 -6
- package/dist/v2/components/or-card-collection-v3/types.d.ts +0 -7
- package/dist/v2/components/or-sort-header-v3/index.d.ts +0 -2
- package/dist/v2/components/or-sort-header-v3/styles.d.ts +0 -1
- package/dist/v2/components/or-sort-header-v3/types.d.ts +0 -4
- package/dist/v2/index95.js +0 -3
- package/dist/v3/OrCardCollection-c6f3ac23.js +0 -198
- package/dist/v3/OrSortHeader-5eba50cd.js +0 -104
- package/dist/v3/components/or-card-collection-v3/OrCardCollection.stories3.d.ts +0 -17
- package/dist/v3/components/or-card-collection-v3/OrCardCollection.vue.d.ts +0 -98
- package/dist/v3/components/or-card-collection-v3/index.d.ts +0 -3
- package/dist/v3/components/or-card-collection-v3/props.d.ts +0 -4
- package/dist/v3/components/or-card-collection-v3/styles.d.ts +0 -6
- package/dist/v3/components/or-card-collection-v3/types.d.ts +0 -7
- package/dist/v3/components/or-sort-header-v3/index.d.ts +0 -2
- package/dist/v3/components/or-sort-header-v3/styles.d.ts +0 -1
- package/dist/v3/components/or-sort-header-v3/types.d.ts +0 -4
- package/dist/v3/index95.js +0 -3
- package/src/components/or-card-collection-v3/OrCardCollection.docs.mdx +0 -3
- package/src/components/or-card-collection-v3/OrCardCollection.stories3.ts +0 -162
- package/src/components/or-card-collection-v3/OrCardCollection.vue +0 -210
- package/src/components/or-card-collection-v3/index.ts +0 -3
- package/src/components/or-card-collection-v3/props.ts +0 -4
- package/src/components/or-card-collection-v3/styles.ts +0 -53
- package/src/components/or-card-collection-v3/types.ts +0 -8
- package/src/components/or-sort-header-v3/OrSortHeader.docs.mdx +0 -3
- package/src/components/or-sort-header-v3/OrSortHeader.stories3.ts +0 -132
- package/src/components/or-sort-header-v3/index.ts +0 -2
- package/src/components/or-sort-header-v3/styles.ts +0 -23
- package/src/components/or-sort-header-v3/types.ts +0 -4
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
+
import { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
3
|
+
import '@vueuse/core';
|
|
4
|
+
import { openBlock, createElementBlock, mergeProps, createElementVNode, renderSlot, normalizeClass, resolveComponent, Fragment, renderList, createBlock, withModifiers, withCtx, createTextVNode, toDisplayString } from 'vue';
|
|
5
|
+
|
|
6
|
+
const SegmentedControlItemRoot = [
|
|
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 SegmentedControlItemRootSizes = {
|
|
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: 'OrSegmentedControlItem',
|
|
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-control-item', ...SegmentedControlItemRoot, ...SegmentedControlItemRootSizes[props.size], classAttribute.value]);
|
|
59
|
+
return {
|
|
60
|
+
root,
|
|
61
|
+
rootStyles
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
|
|
66
|
+
const _hoisted_1 = ["selected", "disabled"];
|
|
67
|
+
const _hoisted_2 = {
|
|
68
|
+
class: /*#__PURE__*/normalizeClass(['truncate'])
|
|
69
|
+
};
|
|
70
|
+
function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
71
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
72
|
+
ref: "root"
|
|
73
|
+
}, _ctx.$attrs, {
|
|
74
|
+
class: _ctx.rootStyles,
|
|
75
|
+
selected: _ctx.selected ? '' : null,
|
|
76
|
+
disabled: _ctx.disabled ? '' : null
|
|
77
|
+
}), [createElementVNode("div", _hoisted_2, [renderSlot(_ctx.$slots, "default")])], 16 /* FULL_PROPS */, _hoisted_1);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
script$1.render = render$1;
|
|
81
|
+
script$1.__file = "src/components/or-segmented-control-v3/components/or-segmented-control-item/OrSegmentedControlItem.vue";
|
|
82
|
+
|
|
83
|
+
var SegmentedControlSize;
|
|
84
|
+
(function (SegmentedControlSize) {
|
|
85
|
+
SegmentedControlSize["M"] = "m";
|
|
86
|
+
SegmentedControlSize["S"] = "s";
|
|
87
|
+
})(SegmentedControlSize || (SegmentedControlSize = {}));
|
|
88
|
+
|
|
89
|
+
const SegmentedControlRoot = [
|
|
90
|
+
// Layout
|
|
91
|
+
'grid', 'grid-flow-col', 'auto-cols-fr',
|
|
92
|
+
// Shape
|
|
93
|
+
'rounded-md',
|
|
94
|
+
// Spacing
|
|
95
|
+
'px-[2px]', 'py-[2px]',
|
|
96
|
+
// Theme
|
|
97
|
+
'theme-background-surface-variant', 'dark:theme-background-surface-variant-dark'];
|
|
98
|
+
const SegmentedControlRootSizes = {
|
|
99
|
+
'm': [],
|
|
100
|
+
's': []
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
var script = defineComponent({
|
|
104
|
+
name: 'OrSegmentedControl',
|
|
105
|
+
components: {
|
|
106
|
+
OrSegmentedControlItem: script$1
|
|
107
|
+
},
|
|
108
|
+
inheritAttrs: false,
|
|
109
|
+
props: {
|
|
110
|
+
options: {
|
|
111
|
+
type: Array,
|
|
112
|
+
default: []
|
|
113
|
+
},
|
|
114
|
+
modelValue: {
|
|
115
|
+
type: String,
|
|
116
|
+
default: undefined
|
|
117
|
+
},
|
|
118
|
+
value: {
|
|
119
|
+
type: String,
|
|
120
|
+
default: undefined
|
|
121
|
+
},
|
|
122
|
+
size: {
|
|
123
|
+
type: String,
|
|
124
|
+
default: SegmentedControlSize.M
|
|
125
|
+
},
|
|
126
|
+
disabled: {
|
|
127
|
+
type: Boolean,
|
|
128
|
+
default: false
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
emits: ['update:modelValue', 'input', 'focus', 'blur'],
|
|
132
|
+
expose: ['root'],
|
|
133
|
+
setup(props, context) {
|
|
134
|
+
// Refs
|
|
135
|
+
const root = ref();
|
|
136
|
+
// Styles
|
|
137
|
+
const classAttribute = useClassAttribute();
|
|
138
|
+
const rootStyles = computed(() => ['or-segmented-control', ...SegmentedControlRoot, ...SegmentedControlRootSizes[props.size], classAttribute.value]);
|
|
139
|
+
// State
|
|
140
|
+
const proxyModelValue = computed({
|
|
141
|
+
get: () => {
|
|
142
|
+
var _a;
|
|
143
|
+
return (_a = props.modelValue) !== null && _a !== void 0 ? _a : props.value; // TODO: Remove Vue 2 fallback
|
|
144
|
+
},
|
|
145
|
+
|
|
146
|
+
set: value => {
|
|
147
|
+
context.emit('input', value);
|
|
148
|
+
context.emit('update:modelValue', value);
|
|
149
|
+
}
|
|
150
|
+
});
|
|
151
|
+
return {
|
|
152
|
+
root,
|
|
153
|
+
rootStyles,
|
|
154
|
+
proxyModelValue
|
|
155
|
+
};
|
|
156
|
+
}
|
|
157
|
+
});
|
|
158
|
+
|
|
159
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
160
|
+
const _component_OrSegmentedControlItem = resolveComponent("OrSegmentedControlItem");
|
|
161
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
162
|
+
ref: "root"
|
|
163
|
+
}, _ctx.$attrs, {
|
|
164
|
+
class: _ctx.rootStyles
|
|
165
|
+
}), [(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.options, option => {
|
|
166
|
+
return openBlock(), createBlock(_component_OrSegmentedControlItem, {
|
|
167
|
+
key: option.value,
|
|
168
|
+
size: _ctx.size,
|
|
169
|
+
selected: option.value === _ctx.proxyModelValue,
|
|
170
|
+
disabled: _ctx.disabled,
|
|
171
|
+
onClick: withModifiers($event => _ctx.proxyModelValue = option.value, ["stop"])
|
|
172
|
+
}, {
|
|
173
|
+
default: withCtx(() => [createTextVNode(toDisplayString(option.label), 1 /* TEXT */)]),
|
|
174
|
+
|
|
175
|
+
_: 2 /* DYNAMIC */
|
|
176
|
+
}, 1032 /* PROPS, DYNAMIC_SLOTS */, ["size", "selected", "disabled", "onClick"]);
|
|
177
|
+
}), 128 /* KEYED_FRAGMENT */))], 16 /* FULL_PROPS */);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
script.render = render;
|
|
181
|
+
script.__file = "src/components/or-segmented-control-v3/OrSegmentedControl.vue";
|
|
182
|
+
|
|
183
|
+
export { SegmentedControlSize as S, script as s };
|
|
@@ -9,7 +9,7 @@ import { s as script$3 } from './OrExpansionPanel-1e2a6375.js';
|
|
|
9
9
|
import { s as script$4 } from './OrHint-73835593.js';
|
|
10
10
|
import { s as script$5 } from './OrIcon-b3906e35.js';
|
|
11
11
|
import { s as script$7, a as InputBoxSize } from './OrInputBox-634230b1.js';
|
|
12
|
-
import { s as script$6 } from './OrInput-
|
|
12
|
+
import { s as script$6 } from './OrInput-256d2530.js';
|
|
13
13
|
import { s as script$8 } from './OrLabel-7d4fe80b.js';
|
|
14
14
|
import { s as script$9 } from './OrMenuItem-8773d073.js';
|
|
15
15
|
import { s as script$a } from './OrPopover-3525c670.js';
|
|
@@ -464,16 +464,14 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
464
464
|
_: 3 /* FORWARDED */
|
|
465
465
|
}, 8 /* PROPS */, ["class", "trigger"])]),
|
|
466
466
|
_: 3 /* FORWARDED */
|
|
467
|
-
}, 8 /* PROPS */, ["class", "size", "invalid", "readonly", "disabled"])), [[_directive_dropdown_open, _ctx.toggle], [_directive_dropdown_close, _ctx.close]]), !_ctx.invalid ? (openBlock(),
|
|
468
|
-
key: 1
|
|
469
|
-
}, [_ctx.hint ? (openBlock(), createBlock(_component_OrHint, {
|
|
470
|
-
key: 0,
|
|
467
|
+
}, 8 /* PROPS */, ["class", "size", "invalid", "readonly", "disabled"])), [[_directive_dropdown_open, _ctx.toggle], [_directive_dropdown_close, _ctx.close]]), !_ctx.invalid ? (openBlock(), createBlock(_component_OrHint, {
|
|
468
|
+
key: 1,
|
|
471
469
|
disabled: _ctx.disabled
|
|
472
470
|
}, {
|
|
473
471
|
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.hint), 1 /* TEXT */)]),
|
|
474
472
|
|
|
475
473
|
_: 1 /* STABLE */
|
|
476
|
-
}, 8 /* PROPS */, ["disabled"])) :
|
|
474
|
+
}, 8 /* PROPS */, ["disabled"])) : (openBlock(), createBlock(_component_OrError, {
|
|
477
475
|
key: 2,
|
|
478
476
|
disabled: _ctx.disabled
|
|
479
477
|
}, {
|
|
@@ -5,7 +5,7 @@ import { s as script$1 } from './OrError-19a62a18.js';
|
|
|
5
5
|
import { s as script$2 } from './OrHint-73835593.js';
|
|
6
6
|
import { s as script$3, a as InputBoxSize } from './OrInputBox-634230b1.js';
|
|
7
7
|
import { s as script$4 } from './OrLabel-7d4fe80b.js';
|
|
8
|
-
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createVNode, withDirectives, createElementVNode, mergeProps, vModelText,
|
|
8
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createVNode, withDirectives, createElementVNode, mergeProps, vModelText, createSlots } from 'vue';
|
|
9
9
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
10
10
|
|
|
11
11
|
const TextareaRoot = [
|
|
@@ -153,10 +153,8 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
153
153
|
onBlur: _cache[4] || (_cache[4] = $event => _ctx.$emit('blur', $event))
|
|
154
154
|
}), null, 16 /* FULL_PROPS */, _hoisted_1), [[vModelText, _ctx.proxyModelValue]])]),
|
|
155
155
|
_: 1 /* STABLE */
|
|
156
|
-
}, 8 /* PROPS */, ["size", "invalid", "readonly", "disabled"]), !_ctx.invalid ? (openBlock(),
|
|
157
|
-
key: 1
|
|
158
|
-
}, [_ctx.hint || _ctx.maxLength ? (openBlock(), createBlock(_component_OrHint, {
|
|
159
|
-
key: 0,
|
|
156
|
+
}, 8 /* PROPS */, ["size", "invalid", "readonly", "disabled"]), !_ctx.invalid ? (openBlock(), createBlock(_component_OrHint, {
|
|
157
|
+
key: 1,
|
|
160
158
|
disabled: _ctx.disabled
|
|
161
159
|
}, createSlots({
|
|
162
160
|
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.hint) + " ", 1 /* TEXT */)]),
|
|
@@ -167,7 +165,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
167
165
|
fn: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLength) + " / " + toDisplayString(_ctx.maxLength), 1 /* TEXT */)]),
|
|
168
166
|
|
|
169
167
|
key: "0"
|
|
170
|
-
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"])) :
|
|
168
|
+
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"])) : (openBlock(), createBlock(_component_OrError, {
|
|
171
169
|
key: 2,
|
|
172
170
|
disabled: _ctx.disabled
|
|
173
171
|
}, createSlots({
|
|
@@ -6,7 +6,6 @@ export * from './or-button-v2';
|
|
|
6
6
|
export * from './or-button-v3';
|
|
7
7
|
export * from './or-card';
|
|
8
8
|
export * from './or-card-collection';
|
|
9
|
-
export * from './or-card-collection-v3';
|
|
10
9
|
export * from './or-card-v3';
|
|
11
10
|
export * from './or-carousel';
|
|
12
11
|
export * from './or-checkbox';
|
|
@@ -59,6 +58,7 @@ export * from './or-radio';
|
|
|
59
58
|
export * from './or-radio-group';
|
|
60
59
|
export * from './or-radio-v3';
|
|
61
60
|
export * from './or-search-v3';
|
|
61
|
+
export * from './or-segmented-control-v3';
|
|
62
62
|
export * from './or-select';
|
|
63
63
|
export * from './or-select-v3';
|
|
64
64
|
export * from './or-sidebar';
|
|
@@ -66,7 +66,6 @@ export * from './or-sidebar-v3';
|
|
|
66
66
|
export * from './or-skeleton';
|
|
67
67
|
export * from './or-skeleton-v3';
|
|
68
68
|
export * from './or-slider';
|
|
69
|
-
export * from './or-sort-header-v3';
|
|
70
69
|
export * from './or-stepper';
|
|
71
70
|
export * from './or-switch';
|
|
72
71
|
export * from './or-switch-v3';
|
|
@@ -5,7 +5,7 @@ declare const _default: Meta<import("vue").ComponentOptions<import("vue").defaul
|
|
|
5
5
|
[x: number]: string;
|
|
6
6
|
} | {}, true>)>;
|
|
7
7
|
export default _default;
|
|
8
|
-
export declare const
|
|
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
9
|
[x: string]: ((...args: any[]) => any) | null;
|
|
10
10
|
} | string[], {} & {}, {
|
|
11
11
|
[x: number]: string;
|
|
@@ -1,57 +1,77 @@
|
|
|
1
1
|
import { PropType } from 'vue-demi';
|
|
2
|
-
import {
|
|
2
|
+
import { SegmentedControlSize } from './props';
|
|
3
|
+
import { SegmentedControlOption } from './types';
|
|
3
4
|
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
4
5
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
5
6
|
rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
|
|
6
|
-
proxyModelValue: import("@vue/composition-api").WritableComputedRef<
|
|
7
|
-
activated: import("@vue/composition-api").ComputedRef<boolean>;
|
|
8
|
-
toggleDirection: () => void;
|
|
7
|
+
proxyModelValue: import("@vue/composition-api").WritableComputedRef<string>;
|
|
9
8
|
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
9
|
+
options: {
|
|
10
|
+
type: PropType<SegmentedControlOption[]>;
|
|
11
|
+
default: SegmentedControlOption[];
|
|
12
|
+
};
|
|
10
13
|
modelValue: {
|
|
11
|
-
type:
|
|
14
|
+
type: StringConstructor;
|
|
12
15
|
default: undefined;
|
|
13
16
|
};
|
|
14
17
|
value: {
|
|
15
|
-
type:
|
|
18
|
+
type: StringConstructor;
|
|
16
19
|
default: undefined;
|
|
17
20
|
};
|
|
18
|
-
|
|
19
|
-
type:
|
|
20
|
-
|
|
21
|
+
size: {
|
|
22
|
+
type: PropType<SegmentedControlSize>;
|
|
23
|
+
default: SegmentedControlSize;
|
|
24
|
+
};
|
|
25
|
+
disabled: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
21
28
|
};
|
|
22
29
|
}, import("@vue/composition-api").ExtractPropTypes<{
|
|
30
|
+
options: {
|
|
31
|
+
type: PropType<SegmentedControlOption[]>;
|
|
32
|
+
default: SegmentedControlOption[];
|
|
33
|
+
};
|
|
23
34
|
modelValue: {
|
|
24
|
-
type:
|
|
35
|
+
type: StringConstructor;
|
|
25
36
|
default: undefined;
|
|
26
37
|
};
|
|
27
38
|
value: {
|
|
28
|
-
type:
|
|
39
|
+
type: StringConstructor;
|
|
29
40
|
default: undefined;
|
|
30
41
|
};
|
|
31
|
-
|
|
32
|
-
type:
|
|
33
|
-
|
|
42
|
+
size: {
|
|
43
|
+
type: PropType<SegmentedControlSize>;
|
|
44
|
+
default: SegmentedControlSize;
|
|
45
|
+
};
|
|
46
|
+
disabled: {
|
|
47
|
+
type: BooleanConstructor;
|
|
48
|
+
default: boolean;
|
|
34
49
|
};
|
|
35
50
|
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
51
|
+
options: SegmentedControlOption[];
|
|
52
|
+
modelValue: string;
|
|
53
|
+
value: string;
|
|
54
|
+
size: SegmentedControlSize;
|
|
55
|
+
disabled: boolean;
|
|
39
56
|
} & {} & {
|
|
40
57
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
41
58
|
}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
42
59
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
43
60
|
rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
|
|
44
|
-
proxyModelValue: import("@vue/composition-api").WritableComputedRef<
|
|
45
|
-
activated: import("@vue/composition-api").ComputedRef<boolean>;
|
|
46
|
-
toggleDirection: () => void;
|
|
61
|
+
proxyModelValue: import("@vue/composition-api").WritableComputedRef<string>;
|
|
47
62
|
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
63
|
+
options: SegmentedControlOption[];
|
|
64
|
+
modelValue: string;
|
|
65
|
+
value: string;
|
|
66
|
+
size: SegmentedControlSize;
|
|
67
|
+
disabled: boolean;
|
|
51
68
|
} & {} & {
|
|
52
69
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
53
70
|
}, {
|
|
54
|
-
|
|
55
|
-
|
|
71
|
+
options: SegmentedControlOption[];
|
|
72
|
+
modelValue: string;
|
|
73
|
+
value: string;
|
|
74
|
+
size: SegmentedControlSize;
|
|
75
|
+
disabled: boolean;
|
|
56
76
|
}, true>);
|
|
57
77
|
export default _default;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { PropType } from 'vue-demi';
|
|
2
|
+
import { SegmentedControlSize } 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<SegmentedControlSize>;
|
|
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<SegmentedControlSize>;
|
|
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: SegmentedControlSize;
|
|
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: SegmentedControlSize;
|
|
41
|
+
selected: boolean;
|
|
42
|
+
disabled: boolean;
|
|
43
|
+
} & {}, {
|
|
44
|
+
selected: boolean;
|
|
45
|
+
disabled: boolean;
|
|
46
|
+
}, true>);
|
|
47
|
+
export default _default;
|
package/dist/v3/index.js
CHANGED
|
@@ -6,7 +6,6 @@ export { b as BUTTON_COLOR, d as BUTTON_LOADER_TYPE, c as BUTTON_SIZE, B as BUTT
|
|
|
6
6
|
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from './OrButton-12b36e89.js';
|
|
7
7
|
export { s as OrCard } from './OrCard-e3a5aea4.js';
|
|
8
8
|
export { C as CARD_COLLECTION_LAYOUT, s as OrCardCollection } from './OrCardCollection-737f073a.js';
|
|
9
|
-
export { C as CardCollectionView, s as OrCardCollectionV3 } from './OrCardCollection-c6f3ac23.js';
|
|
10
9
|
export { s as OrCardV3 } from './OrCard-b63658a8.js';
|
|
11
10
|
export { a as OrCarousel, s as OrCarouselItem } from './OrCarouselItem-ec8333c7.js';
|
|
12
11
|
export { s as OrCheckbox } from './OrCheckbox-56e4171e.js';
|
|
@@ -16,7 +15,7 @@ export { s as OrCode, O as OrCodeLanguages } from './OrCode-feeec003.js';
|
|
|
16
15
|
export { s as OrCollapse } from './OrCollapse-37a52e8f.js';
|
|
17
16
|
export { s as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k as brown, c as cyan, j as deepOrange, d as deepPurple, g as green, i as indigo, l as lightBlue, e as lightGreen, f as lime, o as orange, p as pink, a as purple, r as red, t as teal, w as white, y as yellow } from './OrColorPicker-0a944d25.js';
|
|
18
17
|
export { s as OrConfirm } from './OrConfirm-00134f53.js';
|
|
19
|
-
export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-
|
|
18
|
+
export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-371630a4.js';
|
|
20
19
|
export { D as DEFAULT_TEXT, s as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from './OrDateTimePicker-6c79a764.js';
|
|
21
20
|
export { s as OrError } from './OrError-f90296db.js';
|
|
22
21
|
export { s as OrErrorTagV3 } from './OrErrorTag-ceefd643.js';
|
|
@@ -30,11 +29,11 @@ export { s as OrIcon, O as OrIconColors, a as OrIconType } from './OrIcon-e23028
|
|
|
30
29
|
export { I as IconButtonColor, s as OrIconButtonV3 } from './OrIconButton-5fb3a9aa.js';
|
|
31
30
|
export { a as IconSize, I as IconVariant, s as OrIconV3 } from './OrIcon-b3906e35.js';
|
|
32
31
|
export { I as InlineInputBoxSize, I as InlineInputSize, s as OrInlineInputBoxV3 } from './OrInlineInputBox-1b473796.js';
|
|
33
|
-
export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-
|
|
32
|
+
export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-a080b0a3.js';
|
|
34
33
|
export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, s as OrInlineTextEdit } from './OrInlineTextEdit-455a2d64.js';
|
|
35
|
-
export { s as OrInlineTextareaV3 } from './OrInlineTextarea-
|
|
34
|
+
export { s as OrInlineTextareaV3 } from './OrInlineTextarea-08767485.js';
|
|
36
35
|
export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, s as OrInputBoxV3, a as SearchSize, a as SelectSize, a as TextareaSize } from './OrInputBox-634230b1.js';
|
|
37
|
-
export { I as InputType, s as OrInputV3 } from './OrInput-
|
|
36
|
+
export { I as InputType, s as OrInputV3 } from './OrInput-256d2530.js';
|
|
38
37
|
export { a as OrInput, b as OrNumberInput, c as OrPassword, d as OrSearch, s as OrTextarea } from './OrSearch-2874026c.js';
|
|
39
38
|
export { s as OrLabel } from './OrLabel-876f8729.js';
|
|
40
39
|
export { L as LabelVariant, s as OrLabelV3 } from './OrLabel-7d4fe80b.js';
|
|
@@ -58,15 +57,15 @@ export { s as OrProgressV3, P as ProgressColor, a as ProgressType } from './OrPr
|
|
|
58
57
|
export { s as OrRadio } from './OrRadio-c3ab11f2.js';
|
|
59
58
|
export { s as OrRadioGroup } from './OrRadioGroup-00785e41.js';
|
|
60
59
|
export { s as OrRadioV3 } from './OrRadio-0c1883f2.js';
|
|
61
|
-
export { s as OrSearchV3 } from './OrSearch-
|
|
60
|
+
export { s as OrSearchV3 } from './OrSearch-375eab55.js';
|
|
61
|
+
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-e45af169.js';
|
|
62
62
|
export { s as OrSelect } from './OrSelect-056731af.js';
|
|
63
|
-
export { s as OrSelectV3 } from './OrSelect-
|
|
63
|
+
export { s as OrSelectV3 } from './OrSelect-52cfb10d.js';
|
|
64
64
|
export { s as OrSidebar, O as OrSidebarSide } from './OrSidebar-375c85a3.js';
|
|
65
65
|
export { O as OrSidebarPlacement, s as OrSidebarV3 } from './OrSidebar-a62972f5.js';
|
|
66
66
|
export { s as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from './OrSkeletonText-2b1610ce.js';
|
|
67
67
|
export { s as OrSkeletonCircleV3, a as OrSkeletonRectV3, b as OrSkeletonTextV3 } from './OrSkeletonText-3965ff71.js';
|
|
68
68
|
export { s as OrSlider } from './OrSlider-af80bac9.js';
|
|
69
|
-
export { s as OrSortHeaderV3 } from './OrSortHeader-5eba50cd.js';
|
|
70
69
|
export { s as OrStepper } from './OrStepper-f355b7b7.js';
|
|
71
70
|
export { s as OrSwitch } from './OrSwitch-c333ee32.js';
|
|
72
71
|
export { s as OrSwitchV3 } from './OrSwitch-ec454b76.js';
|
|
@@ -80,7 +79,7 @@ export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-deaff080.j
|
|
|
80
79
|
export { s as OrTeleport } from './OrTeleportVue3-ad639f12.js';
|
|
81
80
|
export { s as OrTeleportV3 } from './OrTeleport.vue3-8099178c.js';
|
|
82
81
|
export { s as OrTextV3 } from './OrText-ecb46923.js';
|
|
83
|
-
export { s as OrTextareaV3 } from './OrTextarea-
|
|
82
|
+
export { s as OrTextareaV3 } from './OrTextarea-09aa33dc.js';
|
|
84
83
|
export { s as OrTextbox, T as TextboxTypes } from './OrTextbox-faa4f81a.js';
|
|
85
84
|
export { s as OrToast, a as OrToastContainer } from './OrToastContainer-fe6abe90.js';
|
|
86
85
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from './useToast-4fbe0e5a.js';
|
package/dist/v3/index11.js
CHANGED
|
@@ -1,23 +1,5 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { s as OrCardV3 } from './OrCard-b63658a8.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import './useClassAttribute-47fdb016.js';
|
|
4
4
|
import '@vueuse/core';
|
|
5
|
-
import './OrCard-b63658a8.js';
|
|
6
5
|
import 'vue';
|
|
7
|
-
import './OrIconButton-5fb3a9aa.js';
|
|
8
|
-
import './OrIcon-b3906e35.js';
|
|
9
|
-
import './OrTooltip-36c6728c.js';
|
|
10
|
-
import './OrPopover-3525c670.js';
|
|
11
|
-
import '@floating-ui/dom';
|
|
12
|
-
import './useElevation-0e973238.js';
|
|
13
|
-
import './useResponsive-a02e95b7.js';
|
|
14
|
-
import './OrBottomSheet-9de57dd0.js';
|
|
15
|
-
import './OrOverlay-27050c19.js';
|
|
16
|
-
import './OrTeleport.vue3-8099178c.js';
|
|
17
|
-
import './OrInput-db4813b4.js';
|
|
18
|
-
import './OrError-19a62a18.js';
|
|
19
|
-
import './OrHint-73835593.js';
|
|
20
|
-
import './OrInputBox-634230b1.js';
|
|
21
|
-
import './OrLabel-7d4fe80b.js';
|
|
22
|
-
import './style-inject.es-4c6f2515.js';
|
|
23
|
-
import './OrSortHeader-5eba50cd.js';
|
package/dist/v3/index12.js
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
|
-
export { s as
|
|
1
|
+
export { a as OrCarousel, s as OrCarouselItem } from './OrCarouselItem-ec8333c7.js';
|
|
2
|
+
import '@splidejs/splide';
|
|
3
|
+
import './OrIcon-e23028f8.js';
|
|
2
4
|
import 'vue-demi';
|
|
3
|
-
import '
|
|
4
|
-
import '
|
|
5
|
+
import 'lodash';
|
|
6
|
+
import './OrTooltip-121eae2b.js';
|
|
5
7
|
import 'vue';
|
|
8
|
+
import './style-inject.es-4c6f2515.js';
|
|
9
|
+
import './OrFloating-3da814a2.js';
|
|
10
|
+
import '@floating-ui/dom';
|
|
11
|
+
import './OrTeleportVue3-ad639f12.js';
|
|
12
|
+
import './dom-7a41831b.js';
|
|
13
|
+
import './px-to-rem-0b26b83e.js';
|
package/dist/v3/index13.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
export {
|
|
2
|
-
import '@splidejs/splide';
|
|
3
|
-
import './OrIcon-e23028f8.js';
|
|
1
|
+
export { s as OrCheckbox } from './OrCheckbox-56e4171e.js';
|
|
4
2
|
import 'vue-demi';
|
|
5
3
|
import 'lodash';
|
|
4
|
+
import './OrIcon-e23028f8.js';
|
|
6
5
|
import './OrTooltip-121eae2b.js';
|
|
7
6
|
import 'vue';
|
|
8
7
|
import './style-inject.es-4c6f2515.js';
|
package/dist/v3/index14.js
CHANGED
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
export { s as
|
|
1
|
+
export { s as OrCheckboxV3 } from './OrCheckbox-a20fcc04.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
|
-
import '
|
|
4
|
-
import '
|
|
5
|
-
import './
|
|
3
|
+
import './useClassAttribute-47fdb016.js';
|
|
4
|
+
import '@vueuse/core';
|
|
5
|
+
import './OrLabel-7d4fe80b.js';
|
|
6
6
|
import 'vue';
|
|
7
7
|
import './style-inject.es-4c6f2515.js';
|
|
8
|
-
import './OrFloating-3da814a2.js';
|
|
9
|
-
import '@floating-ui/dom';
|
|
10
|
-
import './OrTeleportVue3-ad639f12.js';
|
|
11
|
-
import './dom-7a41831b.js';
|
|
12
|
-
import './px-to-rem-0b26b83e.js';
|
package/dist/v3/index15.js
CHANGED
|
@@ -1,7 +1,14 @@
|
|
|
1
|
-
export { s as
|
|
1
|
+
export { s as OrChip, a as OrChips } from './OrChips-feab2a38.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
|
-
import './
|
|
4
|
-
import '
|
|
5
|
-
import './
|
|
3
|
+
import './OrIcon-e23028f8.js';
|
|
4
|
+
import 'lodash';
|
|
5
|
+
import './OrTooltip-121eae2b.js';
|
|
6
6
|
import 'vue';
|
|
7
7
|
import './style-inject.es-4c6f2515.js';
|
|
8
|
+
import './OrFloating-3da814a2.js';
|
|
9
|
+
import '@floating-ui/dom';
|
|
10
|
+
import './OrTeleportVue3-ad639f12.js';
|
|
11
|
+
import './dom-7a41831b.js';
|
|
12
|
+
import './px-to-rem-0b26b83e.js';
|
|
13
|
+
import './OrLabel-876f8729.js';
|
|
14
|
+
import './OrError-f90296db.js';
|
package/dist/v3/index16.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
export { s as
|
|
1
|
+
export { s as OrCode, O as OrCodeLanguages } from './OrCode-feeec003.js';
|
|
2
|
+
import '@codemirror/state';
|
|
3
|
+
import '@vueuse/core';
|
|
4
|
+
import 'codemirror';
|
|
5
|
+
import 'lodash';
|
|
2
6
|
import 'vue-demi';
|
|
7
|
+
import './OrIconButton-f72cb8d9.js';
|
|
3
8
|
import './OrIcon-e23028f8.js';
|
|
4
|
-
import 'lodash';
|
|
5
9
|
import './OrTooltip-121eae2b.js';
|
|
6
10
|
import 'vue';
|
|
7
11
|
import './style-inject.es-4c6f2515.js';
|
|
@@ -10,5 +14,15 @@ import '@floating-ui/dom';
|
|
|
10
14
|
import './OrTeleportVue3-ad639f12.js';
|
|
11
15
|
import './dom-7a41831b.js';
|
|
12
16
|
import './px-to-rem-0b26b83e.js';
|
|
13
|
-
import './
|
|
17
|
+
import './OrLoader-15174477.js';
|
|
14
18
|
import './OrError-f90296db.js';
|
|
19
|
+
import './OrHint-1414c530.js';
|
|
20
|
+
import './OrLabel-876f8729.js';
|
|
21
|
+
import './OrModal-75c8e5b6.js';
|
|
22
|
+
import './OrOverlay-451dce49.js';
|
|
23
|
+
import '@vueuse/integrations/useFocusTrap';
|
|
24
|
+
import '@codemirror/lang-html';
|
|
25
|
+
import '@codemirror/lang-css';
|
|
26
|
+
import '@codemirror/lang-json';
|
|
27
|
+
import '@codemirror/lang-javascript';
|
|
28
|
+
import '@codemirror/lang-markdown';
|