@onereach/ui-components 8.16.0-beta.3826.0 → 8.16.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/OrCardCollectionV3/styles.js +1 -1
- package/dist/bundled/v2/components/OrRatingV3/OrRating.js +1 -0
- package/dist/bundled/v2/components/OrTabsV3/OrTabs.js +1 -1
- package/dist/bundled/v2/components/OrTabsV3/styles.js +9 -9
- package/dist/bundled/v2/index.js +1 -1
- package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.js +1 -1
- package/dist/bundled/v3/components/OrCardCollectionV3/index.js +1 -1
- package/dist/bundled/v3/components/OrCardCollectionV3/props.js +1 -1
- package/dist/bundled/v3/components/OrCardCollectionV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrCardCollectionV3-af35c6ed.js → OrCardCollectionV3-db70636f.js} +1 -1
- package/dist/bundled/v3/components/OrRatingV3/OrRating.js +1 -1
- package/dist/bundled/v3/components/OrRatingV3/index.js +1 -1
- package/dist/bundled/v3/components/OrRatingV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrRatingV3-9531b621.js → OrRatingV3-b6b47938.js} +5 -2
- package/dist/bundled/v3/components/OrTabsV3/OrTabs.js +1 -1
- package/dist/bundled/v3/components/OrTabsV3/index.js +1 -1
- package/dist/bundled/v3/components/OrTabsV3/props.js +1 -1
- package/dist/bundled/v3/components/OrTabsV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrTabsV3-962b35aa.js → OrTabsV3-04c6d108.js} +10 -10
- package/dist/bundled/v3/components/index.js +3 -3
- package/dist/bundled/v3/index.js +4 -4
- package/dist/esm/v2/{OrCardCollection-38f8afb9.js → OrCardCollection-a5af5643.js} +1 -1
- package/dist/esm/v2/{OrRating-daf4f801.js → OrRating-abf1b609.js} +1 -0
- package/dist/esm/v2/{OrTabs-5d967a02.js → OrTabs-778ce12d.js} +10 -10
- package/dist/esm/v2/components/index.js +3 -3
- package/dist/esm/v2/components/or-card-collection-v3/index.js +1 -1
- package/dist/esm/v2/components/or-rating-v3/index.js +1 -1
- package/dist/esm/v2/components/or-tabs-v3/index.js +1 -1
- package/dist/esm/v2/index.js +3 -3
- package/dist/esm/v3/{OrCardCollection-bbb40f43.js → OrCardCollection-66ef68c6.js} +1 -1
- package/dist/esm/v3/{OrRating-65159952.js → OrRating-ec9462c5.js} +5 -2
- package/dist/esm/v3/{OrTabs-dc3137e8.js → OrTabs-e53980aa.js} +10 -10
- package/dist/esm/v3/components/index.js +3 -3
- package/dist/esm/v3/components/or-card-collection-v3/index.js +1 -1
- package/dist/esm/v3/components/or-rating-v3/index.js +1 -1
- package/dist/esm/v3/components/or-tabs-v3/index.js +1 -1
- package/dist/esm/v3/index.js +3 -3
- package/package.json +3 -2
- package/src/components/or-card-collection-v3/styles.ts +1 -1
- package/src/components/or-rating-v3/OrRating.vue +1 -1
- package/src/components/or-tabs-v3/OrTabs.vue +1 -1
- package/src/components/or-tabs-v3/styles.ts +8 -12
|
@@ -46,7 +46,7 @@ const CardCollectionContent = [
|
|
|
46
46
|
// Overflow
|
|
47
47
|
'overflow-auto',
|
|
48
48
|
// Spacing
|
|
49
|
-
'-mx-sm', '-my-sm', '-mr-[calc(theme(spacing.sm) * 2)]', 'px-sm', 'py-sm', 'gap-sm
|
|
49
|
+
'-mx-sm', '-my-sm', '-mr-[calc(theme(spacing.sm) * 2)]', 'px-sm', 'py-sm', 'gap-sm'];
|
|
50
50
|
const CardCollectionContentViews = {
|
|
51
51
|
[CardCollectionView.Grid]: [
|
|
52
52
|
// Layout
|
|
@@ -26,26 +26,26 @@ const TabsContainer = [
|
|
|
26
26
|
'gap-lg'];
|
|
27
27
|
const Tabs = [
|
|
28
28
|
// Layout
|
|
29
|
-
'grid
|
|
30
|
-
// Box
|
|
31
|
-
'shrink-0',
|
|
32
|
-
// Spacing
|
|
33
|
-
'gap-lg',
|
|
29
|
+
'grid grid-flow-col items-center shrink-0',
|
|
34
30
|
// Theme
|
|
35
31
|
'theme-border-underline', 'theme-border-1-outline', 'dark:theme-border-1-outline'];
|
|
36
32
|
const TabsVariants = {
|
|
37
33
|
'default': [
|
|
38
34
|
// Layout
|
|
39
|
-
'auto-cols-max'
|
|
35
|
+
'auto-cols-max',
|
|
36
|
+
// Spacing
|
|
37
|
+
'gap-lg'],
|
|
40
38
|
'fitted': [
|
|
41
39
|
// Layout
|
|
42
|
-
'auto-cols-auto'
|
|
40
|
+
'auto-cols-auto',
|
|
41
|
+
// Spacing (children)
|
|
42
|
+
'children:px-lg']
|
|
43
43
|
};
|
|
44
44
|
const TabsContent = [
|
|
45
45
|
// Layout
|
|
46
46
|
'grow',
|
|
47
|
-
//
|
|
48
|
-
'
|
|
47
|
+
// Overflow
|
|
48
|
+
'overflow-auto'];
|
|
49
49
|
|
|
50
50
|
var script = defineComponent({
|
|
51
51
|
name: 'OrTabs',
|
|
@@ -121,7 +121,7 @@ var script = defineComponent({
|
|
|
121
121
|
[...children].reverse().forEach(element => {
|
|
122
122
|
if (currentWidth > rootElement.clientWidth) {
|
|
123
123
|
nextHiddenTabs.unshift(nextNormalTabs.pop());
|
|
124
|
-
currentWidth -= element.clientWidth + 16;
|
|
124
|
+
currentWidth -= element.clientWidth + (props.variant === TabsVariant.Default ? 16 : 0);
|
|
125
125
|
}
|
|
126
126
|
});
|
|
127
127
|
if (nextHiddenTabs.includes(activeTab)) {
|
|
@@ -10,7 +10,7 @@ export { _ as OrIconButton, _ as OrIconButtonV2 } from '../OrIconButton-f6370222
|
|
|
10
10
|
export { a as BUTTON_COLOR, c as BUTTON_LOADER_TYPE, b as BUTTON_SIZE, B as BUTTON_TYPE, I as ICON_BUTTON_TYPE } from '../OrIconButton.vue_rollup-plugin-vue_styles.0-02ba7b68.js';
|
|
11
11
|
export { _ as OrCard } from '../OrCard-c44d9783.js';
|
|
12
12
|
export { C as CARD_COLLECTION_LAYOUT, _ as OrCardCollection } from '../OrCardCollection-d7e546a0.js';
|
|
13
|
-
export { C as CardCollectionView, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection-
|
|
13
|
+
export { C as CardCollectionView, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection-a5af5643.js';
|
|
14
14
|
export { C as CardPadding, _ as OrCardV3 } from '../OrCard-54dce216.js';
|
|
15
15
|
export { _ as OrCheckbox } from '../OrCheckbox-3337d903.js';
|
|
16
16
|
export { _ as OrCheckboxGroupV3 } from '../OrCheckboxGroup-f8781127.js';
|
|
@@ -95,7 +95,7 @@ export { _ as OrRadioV3 } from '../OrRadio-3d341a8c.js';
|
|
|
95
95
|
export { _ as OrRangeSliderV3 } from '../OrRangeSlider-23be9910.js';
|
|
96
96
|
export { _ as OrSliderV3 } from '../OrSlider-a474445c.js';
|
|
97
97
|
export { S as RangeSliderColor, a as RangeSliderOrientation, S as SliderColor, a as SliderOrientation } from '../OrSlider.vue_rollup-plugin-vue_script-09b4700b.js';
|
|
98
|
-
export { _ as OrRatingV3 } from '../OrRating-
|
|
98
|
+
export { _ as OrRatingV3 } from '../OrRating-abf1b609.js';
|
|
99
99
|
export { _ as OrResizeablePanelV3, R as ResizeablePanelPadding, a as ResizeablePanelPlacement, R as SidebarPadding } from '../OrResizeablePanel-c4c84bde.js';
|
|
100
100
|
export { F as Formats, _ as OrRichTextEditorV3 } from '../OrRichTextEditor-598c582f.js';
|
|
101
101
|
export { _ as OrSearch } from '../OrSearch-ddf244e6.js';
|
|
@@ -122,7 +122,7 @@ export { _ as OrTab } from '../OrTab-58821c9b.js';
|
|
|
122
122
|
export { _ as OrTabHeaderItem } from '../OrTabHeaderItem-424f2986.js';
|
|
123
123
|
export { _ as OrTabV3 } from '../OrTab-a989b4fd.js';
|
|
124
124
|
export { _ as OrTabs } from '../OrTabs-62e7e478.js';
|
|
125
|
-
export { _ as OrTabsV3, T as TabsVariant } from '../OrTabs-
|
|
125
|
+
export { _ as OrTabsV3, T as TabsVariant } from '../OrTabs-778ce12d.js';
|
|
126
126
|
export { _ as OrTag } from '../OrTag-ce728fad.js';
|
|
127
127
|
export { _ as OrTagInputV3 } from '../OrTagInput-2642f4d9.js';
|
|
128
128
|
export { _ as OrTagV3, a as TagColor, T as TagVariant } from '../OrTag-bf15f5ad.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as CardCollectionView, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection-
|
|
1
|
+
export { C as CardCollectionView, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection-a5af5643.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import '../../OrIconButton-edff56d4.js';
|
|
4
4
|
import '../../OrIcon-3f99ef27.js';
|
package/dist/esm/v2/index.js
CHANGED
|
@@ -10,7 +10,7 @@ export { _ as OrIconButton, _ as OrIconButtonV2 } from './OrIconButton-f6370222.
|
|
|
10
10
|
export { a as BUTTON_COLOR, c as BUTTON_LOADER_TYPE, b as BUTTON_SIZE, B as BUTTON_TYPE, I as ICON_BUTTON_TYPE } from './OrIconButton.vue_rollup-plugin-vue_styles.0-02ba7b68.js';
|
|
11
11
|
export { _ as OrCard } from './OrCard-c44d9783.js';
|
|
12
12
|
export { C as CARD_COLLECTION_LAYOUT, _ as OrCardCollection } from './OrCardCollection-d7e546a0.js';
|
|
13
|
-
export { C as CardCollectionView, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-
|
|
13
|
+
export { C as CardCollectionView, _ as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-a5af5643.js';
|
|
14
14
|
export { C as CardPadding, _ as OrCardV3 } from './OrCard-54dce216.js';
|
|
15
15
|
export { _ as OrCheckbox } from './OrCheckbox-3337d903.js';
|
|
16
16
|
export { _ as OrCheckboxGroupV3 } from './OrCheckboxGroup-f8781127.js';
|
|
@@ -95,7 +95,7 @@ export { _ as OrRadioV3 } from './OrRadio-3d341a8c.js';
|
|
|
95
95
|
export { _ as OrRangeSliderV3 } from './OrRangeSlider-23be9910.js';
|
|
96
96
|
export { _ as OrSliderV3 } from './OrSlider-a474445c.js';
|
|
97
97
|
export { S as RangeSliderColor, a as RangeSliderOrientation, S as SliderColor, a as SliderOrientation } from './OrSlider.vue_rollup-plugin-vue_script-09b4700b.js';
|
|
98
|
-
export { _ as OrRatingV3 } from './OrRating-
|
|
98
|
+
export { _ as OrRatingV3 } from './OrRating-abf1b609.js';
|
|
99
99
|
export { _ as OrResizeablePanelV3, R as ResizeablePanelPadding, a as ResizeablePanelPlacement, R as SidebarPadding } from './OrResizeablePanel-c4c84bde.js';
|
|
100
100
|
export { F as Formats, _ as OrRichTextEditorV3 } from './OrRichTextEditor-598c582f.js';
|
|
101
101
|
export { _ as OrSearch } from './OrSearch-ddf244e6.js';
|
|
@@ -122,7 +122,7 @@ export { _ as OrTab } from './OrTab-58821c9b.js';
|
|
|
122
122
|
export { _ as OrTabHeaderItem } from './OrTabHeaderItem-424f2986.js';
|
|
123
123
|
export { _ as OrTabV3 } from './OrTab-a989b4fd.js';
|
|
124
124
|
export { _ as OrTabs } from './OrTabs-62e7e478.js';
|
|
125
|
-
export { _ as OrTabsV3, T as TabsVariant } from './OrTabs-
|
|
125
|
+
export { _ as OrTabsV3, T as TabsVariant } from './OrTabs-778ce12d.js';
|
|
126
126
|
export { _ as OrTag } from './OrTag-ce728fad.js';
|
|
127
127
|
export { _ as OrTagInputV3 } from './OrTagInput-2642f4d9.js';
|
|
128
128
|
export { _ as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-bf15f5ad.js';
|
|
@@ -46,7 +46,7 @@ const CardCollectionContent = [
|
|
|
46
46
|
// Overflow
|
|
47
47
|
'overflow-auto',
|
|
48
48
|
// Spacing
|
|
49
|
-
'-mx-sm', '-my-sm', '-mr-[calc(theme(spacing.sm) * 2)]', 'px-sm', 'py-sm', 'gap-sm
|
|
49
|
+
'-mx-sm', '-my-sm', '-mr-[calc(theme(spacing.sm) * 2)]', 'px-sm', 'py-sm', 'gap-sm'];
|
|
50
50
|
const CardCollectionContentViews = {
|
|
51
51
|
[CardCollectionView.Grid]: [
|
|
52
52
|
// Layout
|
|
@@ -90,7 +90,7 @@ var script = defineComponent({
|
|
|
90
90
|
});
|
|
91
91
|
|
|
92
92
|
const _hoisted_1 = ["disabled"];
|
|
93
|
-
const _hoisted_2 = ["activated", "disabled", "onMouseenter", "onMousemove", "onMouseleave"];
|
|
93
|
+
const _hoisted_2 = ["activated", "disabled", "onMouseenter", "onMousemove", "onMouseleave", "onClick"];
|
|
94
94
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
95
95
|
const _component_OrIcon = resolveComponent("OrIcon");
|
|
96
96
|
return openBlock(), createElementBlock("div", {
|
|
@@ -108,7 +108,10 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
108
108
|
onMouseenter: $event => _ctx.onMouseEnter($event, value - 1),
|
|
109
109
|
onMousemove: $event => _ctx.onMouseMove($event, value - 1),
|
|
110
110
|
onMouseleave: $event => _ctx.onMouseLeave($event, value - 1),
|
|
111
|
-
onClick:
|
|
111
|
+
onClick: $event => {
|
|
112
|
+
_ctx.proxyModelValue = _ctx.draftModelValue;
|
|
113
|
+
_ctx.hoverIndex[value - 1] = false;
|
|
114
|
+
}
|
|
112
115
|
}, [createVNode(_component_OrIcon, {
|
|
113
116
|
icon: _ctx.draftModelValue - value + 1 === 0.5 ? 'star_half' : 'star',
|
|
114
117
|
variant: value <= _ctx.draftModelValue ? 'filled' : 'outlined',
|
|
@@ -26,26 +26,26 @@ const TabsContainer = [
|
|
|
26
26
|
'gap-lg'];
|
|
27
27
|
const Tabs = [
|
|
28
28
|
// Layout
|
|
29
|
-
'grid
|
|
30
|
-
// Box
|
|
31
|
-
'shrink-0',
|
|
32
|
-
// Spacing
|
|
33
|
-
'gap-lg',
|
|
29
|
+
'grid grid-flow-col items-center shrink-0',
|
|
34
30
|
// Theme
|
|
35
31
|
'theme-border-underline', 'theme-border-1-outline', 'dark:theme-border-1-outline'];
|
|
36
32
|
const TabsVariants = {
|
|
37
33
|
'default': [
|
|
38
34
|
// Layout
|
|
39
|
-
'auto-cols-max'
|
|
35
|
+
'auto-cols-max',
|
|
36
|
+
// Spacing
|
|
37
|
+
'gap-lg'],
|
|
40
38
|
'fitted': [
|
|
41
39
|
// Layout
|
|
42
|
-
'auto-cols-auto'
|
|
40
|
+
'auto-cols-auto',
|
|
41
|
+
// Spacing (children)
|
|
42
|
+
'children:px-lg']
|
|
43
43
|
};
|
|
44
44
|
const TabsContent = [
|
|
45
45
|
// Layout
|
|
46
46
|
'grow',
|
|
47
|
-
//
|
|
48
|
-
'
|
|
47
|
+
// Overflow
|
|
48
|
+
'overflow-auto'];
|
|
49
49
|
|
|
50
50
|
var script = defineComponent({
|
|
51
51
|
name: 'OrTabs',
|
|
@@ -121,7 +121,7 @@ var script = defineComponent({
|
|
|
121
121
|
[...children].reverse().forEach(element => {
|
|
122
122
|
if (currentWidth > rootElement.clientWidth) {
|
|
123
123
|
nextHiddenTabs.unshift(nextNormalTabs.pop());
|
|
124
|
-
currentWidth -= element.clientWidth + 16;
|
|
124
|
+
currentWidth -= element.clientWidth + (props.variant === TabsVariant.Default ? 16 : 0);
|
|
125
125
|
}
|
|
126
126
|
});
|
|
127
127
|
if (nextHiddenTabs.includes(activeTab)) {
|
|
@@ -8,7 +8,7 @@ export { s as OrButtonV2 } from '../OrButton-f4098587.js';
|
|
|
8
8
|
export { a as BUTTON_COLOR, c as BUTTON_LOADER_TYPE, b as BUTTON_SIZE, B as BUTTON_TYPE, I as ICON_BUTTON_TYPE, s as OrIconButton, s as OrIconButtonV2 } from '../OrIconButton-4424a0dc.js';
|
|
9
9
|
export { s as OrCard } from '../OrCard-e3a5aea4.js';
|
|
10
10
|
export { C as CARD_COLLECTION_LAYOUT, s as OrCardCollection } from '../OrCardCollection-7fd78cc8.js';
|
|
11
|
-
export { C as CardCollectionView, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection-
|
|
11
|
+
export { C as CardCollectionView, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection-66ef68c6.js';
|
|
12
12
|
export { C as CardPadding, s as OrCardV3 } from '../OrCard-d3320b27.js';
|
|
13
13
|
export { s as OrCheckbox } from '../OrCheckbox-42ed332c.js';
|
|
14
14
|
export { s as OrCheckboxGroupV3 } from '../OrCheckboxGroup-e12e94c8.js';
|
|
@@ -91,7 +91,7 @@ export { s as OrRadioGroupV3 } from '../OrRadioGroup-201ee01c.js';
|
|
|
91
91
|
export { s as OrRadioV3 } from '../OrRadio-09a6916c.js';
|
|
92
92
|
export { s as OrRangeSliderV3 } from '../OrRangeSlider-758f8cc7.js';
|
|
93
93
|
export { s as OrSliderV3, S as RangeSliderColor, a as RangeSliderOrientation, S as SliderColor, a as SliderOrientation } from '../OrSlider-1437f51e.js';
|
|
94
|
-
export { s as OrRatingV3 } from '../OrRating-
|
|
94
|
+
export { s as OrRatingV3 } from '../OrRating-ec9462c5.js';
|
|
95
95
|
export { s as OrResizeablePanelV3, R as ResizeablePanelPadding, a as ResizeablePanelPlacement, R as SidebarPadding } from '../OrResizeablePanel-65d7e4fb.js';
|
|
96
96
|
export { F as Formats, s as OrRichTextEditorV3 } from '../OrRichTextEditor-31ca0236.js';
|
|
97
97
|
export { s as OrSearch } from '../OrSearch-aa57d4e8.js';
|
|
@@ -118,7 +118,7 @@ export { s as OrTab } from '../OrTab-d8d4e871.js';
|
|
|
118
118
|
export { s as OrTabHeaderItem } from '../OrTabHeaderItem-c2af7ca3.js';
|
|
119
119
|
export { s as OrTabV3 } from '../OrTab-42be32d1.js';
|
|
120
120
|
export { s as OrTabs } from '../OrTabs-3da3ea89.js';
|
|
121
|
-
export { s as OrTabsV3, T as TabsVariant } from '../OrTabs-
|
|
121
|
+
export { s as OrTabsV3, T as TabsVariant } from '../OrTabs-e53980aa.js';
|
|
122
122
|
export { s as OrTag } from '../OrTag-bc8177a4.js';
|
|
123
123
|
export { s as OrTagInputV3 } from '../OrTagInput-4cec4018.js';
|
|
124
124
|
export { s as OrTagV3, a as TagColor, T as TagVariant } from '../OrTag-ccb7734c.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as CardCollectionView, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection-
|
|
1
|
+
export { C as CardCollectionView, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection-66ef68c6.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import '../../OrIconButton-13fd3f96.js';
|
|
4
4
|
import '../../OrIcon-b2e2d0aa.js';
|
package/dist/esm/v3/index.js
CHANGED
|
@@ -8,7 +8,7 @@ export { s as OrButtonV2 } from './OrButton-f4098587.js';
|
|
|
8
8
|
export { a as BUTTON_COLOR, c as BUTTON_LOADER_TYPE, b as BUTTON_SIZE, B as BUTTON_TYPE, I as ICON_BUTTON_TYPE, s as OrIconButton, s as OrIconButtonV2 } from './OrIconButton-4424a0dc.js';
|
|
9
9
|
export { s as OrCard } from './OrCard-e3a5aea4.js';
|
|
10
10
|
export { C as CARD_COLLECTION_LAYOUT, s as OrCardCollection } from './OrCardCollection-7fd78cc8.js';
|
|
11
|
-
export { C as CardCollectionView, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-
|
|
11
|
+
export { C as CardCollectionView, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-66ef68c6.js';
|
|
12
12
|
export { C as CardPadding, s as OrCardV3 } from './OrCard-d3320b27.js';
|
|
13
13
|
export { s as OrCheckbox } from './OrCheckbox-42ed332c.js';
|
|
14
14
|
export { s as OrCheckboxGroupV3 } from './OrCheckboxGroup-e12e94c8.js';
|
|
@@ -91,7 +91,7 @@ export { s as OrRadioGroupV3 } from './OrRadioGroup-201ee01c.js';
|
|
|
91
91
|
export { s as OrRadioV3 } from './OrRadio-09a6916c.js';
|
|
92
92
|
export { s as OrRangeSliderV3 } from './OrRangeSlider-758f8cc7.js';
|
|
93
93
|
export { s as OrSliderV3, S as RangeSliderColor, a as RangeSliderOrientation, S as SliderColor, a as SliderOrientation } from './OrSlider-1437f51e.js';
|
|
94
|
-
export { s as OrRatingV3 } from './OrRating-
|
|
94
|
+
export { s as OrRatingV3 } from './OrRating-ec9462c5.js';
|
|
95
95
|
export { s as OrResizeablePanelV3, R as ResizeablePanelPadding, a as ResizeablePanelPlacement, R as SidebarPadding } from './OrResizeablePanel-65d7e4fb.js';
|
|
96
96
|
export { F as Formats, s as OrRichTextEditorV3 } from './OrRichTextEditor-31ca0236.js';
|
|
97
97
|
export { s as OrSearch } from './OrSearch-aa57d4e8.js';
|
|
@@ -118,7 +118,7 @@ export { s as OrTab } from './OrTab-d8d4e871.js';
|
|
|
118
118
|
export { s as OrTabHeaderItem } from './OrTabHeaderItem-c2af7ca3.js';
|
|
119
119
|
export { s as OrTabV3 } from './OrTab-42be32d1.js';
|
|
120
120
|
export { s as OrTabs } from './OrTabs-3da3ea89.js';
|
|
121
|
-
export { s as OrTabsV3, T as TabsVariant } from './OrTabs-
|
|
121
|
+
export { s as OrTabsV3, T as TabsVariant } from './OrTabs-e53980aa.js';
|
|
122
122
|
export { s as OrTag } from './OrTag-bc8177a4.js';
|
|
123
123
|
export { s as OrTagInputV3 } from './OrTagInput-4cec4018.js';
|
|
124
124
|
export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-ccb7734c.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onereach/ui-components",
|
|
3
|
-
"version": "8.16.0
|
|
3
|
+
"version": "8.16.0",
|
|
4
4
|
"npmUnpacked": "4.15.2",
|
|
5
5
|
"description": "Vue components library for v2/3",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -176,5 +176,6 @@
|
|
|
176
176
|
"default": "./dist/bundled/v3/components/*/index.js"
|
|
177
177
|
},
|
|
178
178
|
"./package.json": "./package.json"
|
|
179
|
-
}
|
|
179
|
+
},
|
|
180
|
+
"gitHead": "3d295f3c7bb755087bcd6fcd7317807d64dfe17e"
|
|
180
181
|
}
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
@mouseenter="onMouseEnter($event, value - 1)"
|
|
15
15
|
@mousemove="onMouseMove($event, value - 1)"
|
|
16
16
|
@mouseleave="onMouseLeave($event, value - 1)"
|
|
17
|
-
@click="proxyModelValue = draftModelValue"
|
|
17
|
+
@click="proxyModelValue = draftModelValue; hoverIndex[value - 1] = false"
|
|
18
18
|
>
|
|
19
19
|
<OrIcon
|
|
20
20
|
:icon="draftModelValue - value + 1 === 0.5 ? 'star_half' : 'star'"
|
|
@@ -162,7 +162,7 @@ export default defineComponent({
|
|
|
162
162
|
[...children].reverse().forEach((element) => {
|
|
163
163
|
if (currentWidth > rootElement.clientWidth) {
|
|
164
164
|
nextHiddenTabs.unshift(nextNormalTabs.pop()!);
|
|
165
|
-
currentWidth -= element.clientWidth + 16;
|
|
165
|
+
currentWidth -= element.clientWidth + (props.variant === TabsVariant.Default ? 16 : 0);
|
|
166
166
|
}
|
|
167
167
|
});
|
|
168
168
|
|
|
@@ -13,16 +13,7 @@ export const TabsContainer: string[] = [
|
|
|
13
13
|
|
|
14
14
|
export const Tabs: string[] = [
|
|
15
15
|
// Layout
|
|
16
|
-
'grid',
|
|
17
|
-
'grid-flow-col',
|
|
18
|
-
|
|
19
|
-
'items-center',
|
|
20
|
-
|
|
21
|
-
// Box
|
|
22
|
-
'shrink-0',
|
|
23
|
-
|
|
24
|
-
// Spacing
|
|
25
|
-
'gap-lg',
|
|
16
|
+
'grid grid-flow-col items-center shrink-0',
|
|
26
17
|
|
|
27
18
|
// Theme
|
|
28
19
|
'theme-border-underline',
|
|
@@ -35,11 +26,17 @@ export const TabsVariants: Record<TabsVariant, string[]> = {
|
|
|
35
26
|
'default': [
|
|
36
27
|
// Layout
|
|
37
28
|
'auto-cols-max',
|
|
29
|
+
|
|
30
|
+
// Spacing
|
|
31
|
+
'gap-lg',
|
|
38
32
|
],
|
|
39
33
|
|
|
40
34
|
'fitted': [
|
|
41
35
|
// Layout
|
|
42
36
|
'auto-cols-auto',
|
|
37
|
+
|
|
38
|
+
// Spacing (children)
|
|
39
|
+
'children:px-lg',
|
|
43
40
|
],
|
|
44
41
|
};
|
|
45
42
|
|
|
@@ -47,7 +44,6 @@ export const TabsContent: string[] = [
|
|
|
47
44
|
// Layout
|
|
48
45
|
'grow',
|
|
49
46
|
|
|
50
|
-
//
|
|
51
|
-
'h-full',
|
|
47
|
+
// Overflow
|
|
52
48
|
'overflow-auto',
|
|
53
49
|
];
|