@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.
Files changed (42) hide show
  1. package/dist/bundled/v2/components/OrCardCollectionV3/styles.js +1 -1
  2. package/dist/bundled/v2/components/OrRatingV3/OrRating.js +1 -0
  3. package/dist/bundled/v2/components/OrTabsV3/OrTabs.js +1 -1
  4. package/dist/bundled/v2/components/OrTabsV3/styles.js +9 -9
  5. package/dist/bundled/v2/index.js +1 -1
  6. package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.js +1 -1
  7. package/dist/bundled/v3/components/OrCardCollectionV3/index.js +1 -1
  8. package/dist/bundled/v3/components/OrCardCollectionV3/props.js +1 -1
  9. package/dist/bundled/v3/components/OrCardCollectionV3/styles.js +1 -1
  10. package/dist/bundled/v3/components/{OrCardCollectionV3-af35c6ed.js → OrCardCollectionV3-db70636f.js} +1 -1
  11. package/dist/bundled/v3/components/OrRatingV3/OrRating.js +1 -1
  12. package/dist/bundled/v3/components/OrRatingV3/index.js +1 -1
  13. package/dist/bundled/v3/components/OrRatingV3/styles.js +1 -1
  14. package/dist/bundled/v3/components/{OrRatingV3-9531b621.js → OrRatingV3-b6b47938.js} +5 -2
  15. package/dist/bundled/v3/components/OrTabsV3/OrTabs.js +1 -1
  16. package/dist/bundled/v3/components/OrTabsV3/index.js +1 -1
  17. package/dist/bundled/v3/components/OrTabsV3/props.js +1 -1
  18. package/dist/bundled/v3/components/OrTabsV3/styles.js +1 -1
  19. package/dist/bundled/v3/components/{OrTabsV3-962b35aa.js → OrTabsV3-04c6d108.js} +10 -10
  20. package/dist/bundled/v3/components/index.js +3 -3
  21. package/dist/bundled/v3/index.js +4 -4
  22. package/dist/esm/v2/{OrCardCollection-38f8afb9.js → OrCardCollection-a5af5643.js} +1 -1
  23. package/dist/esm/v2/{OrRating-daf4f801.js → OrRating-abf1b609.js} +1 -0
  24. package/dist/esm/v2/{OrTabs-5d967a02.js → OrTabs-778ce12d.js} +10 -10
  25. package/dist/esm/v2/components/index.js +3 -3
  26. package/dist/esm/v2/components/or-card-collection-v3/index.js +1 -1
  27. package/dist/esm/v2/components/or-rating-v3/index.js +1 -1
  28. package/dist/esm/v2/components/or-tabs-v3/index.js +1 -1
  29. package/dist/esm/v2/index.js +3 -3
  30. package/dist/esm/v3/{OrCardCollection-bbb40f43.js → OrCardCollection-66ef68c6.js} +1 -1
  31. package/dist/esm/v3/{OrRating-65159952.js → OrRating-ec9462c5.js} +5 -2
  32. package/dist/esm/v3/{OrTabs-dc3137e8.js → OrTabs-e53980aa.js} +10 -10
  33. package/dist/esm/v3/components/index.js +3 -3
  34. package/dist/esm/v3/components/or-card-collection-v3/index.js +1 -1
  35. package/dist/esm/v3/components/or-rating-v3/index.js +1 -1
  36. package/dist/esm/v3/components/or-tabs-v3/index.js +1 -1
  37. package/dist/esm/v3/index.js +3 -3
  38. package/package.json +3 -2
  39. package/src/components/or-card-collection-v3/styles.ts +1 -1
  40. package/src/components/or-rating-v3/OrRating.vue +1 -1
  41. package/src/components/or-tabs-v3/OrTabs.vue +1 -1
  42. package/src/components/or-tabs-v3/styles.ts +8 -12
@@ -1 +1 @@
1
- export { s as default } from '../OrCardCollectionV3-af35c6ed.js';
1
+ export { s as default } from '../OrCardCollectionV3-db70636f.js';
@@ -1 +1 @@
1
- export { C as CardCollectionView, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollectionV3-af35c6ed.js';
1
+ export { C as CardCollectionView, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollectionV3-db70636f.js';
@@ -1 +1 @@
1
- export { C as CardCollectionView, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollectionV3-af35c6ed.js';
1
+ export { C as CardCollectionView, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollectionV3-db70636f.js';
@@ -1 +1 @@
1
- export { a as CardCollection, e as CardCollectionContent, f as CardCollectionContentViews, b as CardCollectionToolbar, c as CardCollectionToolbarPanel } from '../OrCardCollectionV3-af35c6ed.js';
1
+ export { a as CardCollection, e as CardCollectionContent, f as CardCollectionContentViews, b as CardCollectionToolbar, c as CardCollectionToolbarPanel } from '../OrCardCollectionV3-db70636f.js';
@@ -45,7 +45,7 @@ const CardCollectionContent = [
45
45
  // Overflow
46
46
  'overflow-auto',
47
47
  // Spacing
48
- '-mx-sm', '-my-sm', '-mr-[calc(theme(spacing.sm) * 2)]', 'px-sm', 'py-sm', 'gap-sm md:gap-md'];
48
+ '-mx-sm', '-my-sm', '-mr-[calc(theme(spacing.sm) * 2)]', 'px-sm', 'py-sm', 'gap-sm'];
49
49
  const CardCollectionContentViews = {
50
50
  [CardCollectionView.Grid]: [
51
51
  // Layout
@@ -1 +1 @@
1
- export { b as RATING_LENGTH, s as default } from '../OrRatingV3-9531b621.js';
1
+ export { b as RATING_LENGTH, s as default } from '../OrRatingV3-b6b47938.js';
@@ -1 +1 @@
1
- export { s as OrRatingV3 } from '../OrRatingV3-9531b621.js';
1
+ export { s as OrRatingV3 } from '../OrRatingV3-b6b47938.js';
@@ -1 +1 @@
1
- export { R as Rating, a as RatingStar } from '../OrRatingV3-9531b621.js';
1
+ export { R as Rating, a as RatingStar } from '../OrRatingV3-b6b47938.js';
@@ -86,7 +86,7 @@ var script = defineComponent({
86
86
  });
87
87
 
88
88
  const _hoisted_1 = ["disabled"];
89
- const _hoisted_2 = ["activated", "disabled", "onMouseenter", "onMousemove", "onMouseleave"];
89
+ const _hoisted_2 = ["activated", "disabled", "onMouseenter", "onMousemove", "onMouseleave", "onClick"];
90
90
  function render(_ctx, _cache, $props, $setup, $data, $options) {
91
91
  const _component_OrIcon = resolveComponent("OrIcon");
92
92
  return openBlock(), createElementBlock("div", {
@@ -104,7 +104,10 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
104
104
  onMouseenter: $event => _ctx.onMouseEnter($event, value - 1),
105
105
  onMousemove: $event => _ctx.onMouseMove($event, value - 1),
106
106
  onMouseleave: $event => _ctx.onMouseLeave($event, value - 1),
107
- onClick: _cache[0] || (_cache[0] = $event => _ctx.proxyModelValue = _ctx.draftModelValue)
107
+ onClick: $event => {
108
+ _ctx.proxyModelValue = _ctx.draftModelValue;
109
+ _ctx.hoverIndex[value - 1] = false;
110
+ }
108
111
  }, [createVNode(_component_OrIcon, {
109
112
  icon: _ctx.draftModelValue - value + 1 === 0.5 ? 'star_half' : 'star',
110
113
  variant: value <= _ctx.draftModelValue ? 'filled' : 'outlined',
@@ -1 +1 @@
1
- export { s as default } from '../OrTabsV3-962b35aa.js';
1
+ export { s as default } from '../OrTabsV3-04c6d108.js';
@@ -1 +1 @@
1
- export { s as OrTabsV3, T as TabsVariant } from '../OrTabsV3-962b35aa.js';
1
+ export { s as OrTabsV3, T as TabsVariant } from '../OrTabsV3-04c6d108.js';
@@ -1 +1 @@
1
- export { T as TabsVariant } from '../OrTabsV3-962b35aa.js';
1
+ export { T as TabsVariant } from '../OrTabsV3-04c6d108.js';
@@ -1 +1 @@
1
- export { b as Tabs, a as TabsContainer, d as TabsContent, c as TabsVariants } from '../OrTabsV3-962b35aa.js';
1
+ export { b as Tabs, a as TabsContainer, d as TabsContent, c as TabsVariants } from '../OrTabsV3-04c6d108.js';
@@ -22,26 +22,26 @@ const TabsContainer = [
22
22
  'gap-lg'];
23
23
  const Tabs = [
24
24
  // Layout
25
- 'grid', 'grid-flow-col', 'items-center',
26
- // Box
27
- 'shrink-0',
28
- // Spacing
29
- 'gap-lg',
25
+ 'grid grid-flow-col items-center shrink-0',
30
26
  // Theme
31
27
  'theme-border-underline', 'theme-border-1-outline', 'dark:theme-border-1-outline'];
32
28
  const TabsVariants = {
33
29
  'default': [
34
30
  // Layout
35
- 'auto-cols-max'],
31
+ 'auto-cols-max',
32
+ // Spacing
33
+ 'gap-lg'],
36
34
  'fitted': [
37
35
  // Layout
38
- 'auto-cols-auto']
36
+ 'auto-cols-auto',
37
+ // Spacing (children)
38
+ 'children:px-lg']
39
39
  };
40
40
  const TabsContent = [
41
41
  // Layout
42
42
  'grow',
43
- // box
44
- 'h-full', 'overflow-auto'];
43
+ // Overflow
44
+ 'overflow-auto'];
45
45
 
46
46
  var script = defineComponent({
47
47
  name: 'OrTabs',
@@ -117,7 +117,7 @@ var script = defineComponent({
117
117
  [...children].reverse().forEach(element => {
118
118
  if (currentWidth > rootElement.clientWidth) {
119
119
  nextHiddenTabs.unshift(nextNormalTabs.pop());
120
- currentWidth -= element.clientWidth + 16;
120
+ currentWidth -= element.clientWidth + (props.variant === TabsVariant.Default ? 16 : 0);
121
121
  }
122
122
  });
123
123
  if (nextHiddenTabs.includes(activeTab)) {
@@ -8,7 +8,7 @@ export { B as BUTTON_COLOR, c as BUTTON_LOADER_TYPE, a as BUTTON_SIZE, b as BUTT
8
8
  export { default as OrIconButton, default as OrIconButtonV2 } from './OrIconButtonV2/OrIconButton.js';
9
9
  export { default as OrCard } from './OrCard/OrCard.js';
10
10
  export { CARD_COLLECTION_LAYOUT, OrCardCollection } from './OrCardCollection/index.js';
11
- export { C as CardCollectionView, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollectionV3-af35c6ed.js';
11
+ export { C as CardCollectionView, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollectionV3-db70636f.js';
12
12
  export { C as CardPadding, s as OrCardV3 } from './OrCardV3-f9908b34.js';
13
13
  export { default as OrCheckbox } from './OrCheckbox/OrCheckbox.js';
14
14
  export { default as OrCheckboxGroupV3 } from './OrCheckboxGroupV3/OrCheckboxGroup.js';
@@ -78,7 +78,7 @@ export { default as OrRadioGroupV3 } from './OrRadioGroupV3/OrRadioGroup.js';
78
78
  export { s as OrRadioV3 } from './OrRadioV3-0a5b52a5.js';
79
79
  export { s as OrRangeSliderV3 } from './OrRangeSliderV3-9d36a0c5.js';
80
80
  export { s as OrSliderV3, S as RangeSliderColor, a as RangeSliderOrientation, S as SliderColor, a as SliderOrientation } from './OrSliderV3-f0ac9b94.js';
81
- export { s as OrRatingV3 } from './OrRatingV3-9531b621.js';
81
+ export { s as OrRatingV3 } from './OrRatingV3-b6b47938.js';
82
82
  export { s as OrResizeablePanelV3, R as ResizeablePanelPadding, a as ResizeablePanelPlacement, R as SidebarPadding } from './OrResizeablePanelV3-a85c8811.js';
83
83
  export { F as Formats, s as OrRichTextEditorV3 } from './OrRichTextEditorV3-214b9748.js';
84
84
  export { default as OrSearch } from './OrSearch/OrSearch.js';
@@ -100,7 +100,7 @@ export { default as OrTab } from './OrTab/OrTab.js';
100
100
  export { default as OrTabHeaderItem } from './OrTabHeaderItem/OrTabHeaderItem.js';
101
101
  export { s as OrTabV3 } from './OrTabV3-9dbd8ad9.js';
102
102
  export { default as OrTabs } from './OrTabs/OrTabs.js';
103
- export { s as OrTabsV3, T as TabsVariant } from './OrTabsV3-962b35aa.js';
103
+ export { s as OrTabsV3, T as TabsVariant } from './OrTabsV3-04c6d108.js';
104
104
  export { default as OrTag } from './OrTag/OrTag.js';
105
105
  export { s as OrTagInputV3 } from './OrTagInputV3-7b240c91.js';
106
106
  export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTagV3-43ee9066.js';