@onereach/ui-components 3.0.0 → 3.0.1-beta.2469.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/{OrFab-3ae17aed.js → OrFab-c2321877.js} +2 -2
- package/dist/bundled/v2/components/index.js +1 -1
- package/dist/bundled/v2/components/or-fab-v3/index.js +1 -1
- package/dist/bundled/v2/index.js +1 -1
- package/dist/bundled/v3/index.js +5 -5
- package/dist/esm/v2/{OrFab-d1275424.js → OrFab-83550865.js} +2 -2
- package/dist/esm/v2/components/index.js +1 -1
- package/dist/esm/v2/components/or-fab-v3/index.js +1 -1
- package/dist/esm/v2/index.js +1 -1
- package/dist/esm/v3/{OrFab-5f5fdd1e.js → OrFab-fb3ecb60.js} +5 -5
- package/dist/esm/v3/components/index.js +1 -1
- package/dist/esm/v3/components/or-fab-v3/index.js +1 -1
- package/dist/esm/v3/index.js +1 -1
- package/package.json +2 -3
- package/src/components/or-fab-v3/OrFab.stories3.ts +26 -2
- package/src/components/or-fab-v3/OrFab.vue +1 -0
|
@@ -66,14 +66,14 @@ var __vue_render__ = function () {
|
|
|
66
66
|
var _vm = this;
|
|
67
67
|
var _h = _vm.$createElement;
|
|
68
68
|
var _c = _vm._self._c || _h;
|
|
69
|
-
return _c('button', {
|
|
69
|
+
return _c('button', _vm._g({
|
|
70
70
|
ref: "root",
|
|
71
71
|
class: _vm.rootStyles,
|
|
72
72
|
attrs: {
|
|
73
73
|
"type": 'button',
|
|
74
74
|
"disabled": _vm.disabled
|
|
75
75
|
}
|
|
76
|
-
}, [_c('OrIcon', {
|
|
76
|
+
}, _vm.$listeners), [_c('OrIcon', {
|
|
77
77
|
attrs: {
|
|
78
78
|
"icon": _vm.icon,
|
|
79
79
|
"size": 'l'
|
|
@@ -26,7 +26,7 @@ export { _ as OrErrorTagV3 } from '../OrErrorTag-79922468.js';
|
|
|
26
26
|
export { O as OrErrorV3 } from '../OrError-1186b62f.js';
|
|
27
27
|
export { E as EmptyStateSize, _ as OrEmptyStateV3 } from '../OrEmptyState-a38727b9.js';
|
|
28
28
|
export { a as ExpansionPanelColor, E as ExpansionPanelVariant, O as OrExpansionPanelV3 } from '../OrExpansionPanel-7cd552fa.js';
|
|
29
|
-
export { F as FabColor, _ as OrFabV3 } from '../OrFab-
|
|
29
|
+
export { F as FabColor, _ as OrFabV3 } from '../OrFab-c2321877.js';
|
|
30
30
|
export { O as OrFloating, b as OrFloatingHideStrategy, a as OrFloatingPlacements } from '../OrFloating-507e8028.js';
|
|
31
31
|
export { O as OrHint } from '../OrHint-664117aa.js';
|
|
32
32
|
export { O as OrHintV3 } from '../OrHint-29b31ba4.js';
|
package/dist/bundled/v2/index.js
CHANGED
|
@@ -32,7 +32,7 @@ export { _ as OrErrorTagV3 } from './OrErrorTag-79922468.js';
|
|
|
32
32
|
export { O as OrErrorV3 } from './OrError-1186b62f.js';
|
|
33
33
|
export { E as EmptyStateSize, _ as OrEmptyStateV3 } from './OrEmptyState-a38727b9.js';
|
|
34
34
|
export { a as ExpansionPanelColor, E as ExpansionPanelVariant, O as OrExpansionPanelV3 } from './OrExpansionPanel-7cd552fa.js';
|
|
35
|
-
export { F as FabColor, _ as OrFabV3 } from './OrFab-
|
|
35
|
+
export { F as FabColor, _ as OrFabV3 } from './OrFab-c2321877.js';
|
|
36
36
|
export { O as OrFloating, b as OrFloatingHideStrategy, a as OrFloatingPlacements } from './OrFloating-507e8028.js';
|
|
37
37
|
export { O as OrHint } from './OrHint-664117aa.js';
|
|
38
38
|
export { O as OrHintV3 } from './OrHint-29b31ba4.js';
|
package/dist/bundled/v3/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
|
2
2
|
import { R as RX_ABBREVIATION_FROM_STRING } from './color-1f348774.js';
|
|
3
3
|
import { s as script } from './OrAvatar.vue_vue_type_script_lang-a013315b.js';
|
|
4
4
|
export { O as OR_AVATAR_SIZE, s as OrAvatar } from './OrAvatar.vue_vue_type_script_lang-a013315b.js';
|
|
5
|
-
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, renderSlot, createCommentVNode, mergeProps, createVNode, Transition, withCtx, withDirectives, vShow, createElementVNode, createTextVNode, toDisplayString, Fragment, renderList, normalizeProps, guardReactiveProps, normalizeStyle, withModifiers, pushScopeId, popScopeId, vModelText, vModelDynamic, createSlots, withKeys, vModelRadio, resolveDirective, resolveDynamicComponent, vModelCheckbox } from 'vue';
|
|
5
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, renderSlot, createCommentVNode, mergeProps, createVNode, Transition, withCtx, withDirectives, vShow, createElementVNode, createTextVNode, toDisplayString, Fragment, renderList, normalizeProps, guardReactiveProps, normalizeStyle, withModifiers, pushScopeId, popScopeId, vModelText, toHandlers, vModelDynamic, createSlots, withKeys, vModelRadio, resolveDirective, resolveDynamicComponent, vModelCheckbox } from 'vue';
|
|
6
6
|
import { s as script$1 } from './OrAvatar.vue_vue_type_script_lang-45732c41.js';
|
|
7
7
|
export { a as AvatarColor, A as AvatarSize, s as OrAvatarV3 } from './OrAvatar.vue_vue_type_script_lang-45732c41.js';
|
|
8
8
|
export { P as MenuPlacement, s as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from './OrPopover.vue_vue_type_script_lang-1caf28d1.js';
|
|
@@ -1055,15 +1055,15 @@ script$d.__file = "src/components/or-empty-state-v3/OrEmptyState.vue";
|
|
|
1055
1055
|
const _hoisted_1$p = ["disabled"];
|
|
1056
1056
|
function render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1057
1057
|
const _component_OrIcon = resolveComponent("OrIcon");
|
|
1058
|
-
return openBlock(), createElementBlock("button", {
|
|
1058
|
+
return openBlock(), createElementBlock("button", mergeProps({
|
|
1059
1059
|
ref: "root",
|
|
1060
|
-
class:
|
|
1060
|
+
class: _ctx.rootStyles,
|
|
1061
1061
|
type: 'button',
|
|
1062
1062
|
disabled: _ctx.disabled
|
|
1063
|
-
}, [createVNode(_component_OrIcon, {
|
|
1063
|
+
}, toHandlers(_ctx.$listeners, true)), [createVNode(_component_OrIcon, {
|
|
1064
1064
|
icon: _ctx.icon,
|
|
1065
1065
|
size: 'l'
|
|
1066
|
-
}, null, 8 /* PROPS */, ["icon"])],
|
|
1066
|
+
}, null, 8 /* PROPS */, ["icon"])], 16 /* FULL_PROPS */, _hoisted_1$p);
|
|
1067
1067
|
}
|
|
1068
1068
|
|
|
1069
1069
|
script$e.render = render$E;
|
|
@@ -65,14 +65,14 @@ var __vue_render__ = function () {
|
|
|
65
65
|
var _vm = this;
|
|
66
66
|
var _h = _vm.$createElement;
|
|
67
67
|
var _c = _vm._self._c || _h;
|
|
68
|
-
return _c('button', {
|
|
68
|
+
return _c('button', _vm._g({
|
|
69
69
|
ref: "root",
|
|
70
70
|
class: _vm.rootStyles,
|
|
71
71
|
attrs: {
|
|
72
72
|
"type": 'button',
|
|
73
73
|
"disabled": _vm.disabled
|
|
74
74
|
}
|
|
75
|
-
}, [_c('OrIcon', {
|
|
75
|
+
}, _vm.$listeners), [_c('OrIcon', {
|
|
76
76
|
attrs: {
|
|
77
77
|
"icon": _vm.icon,
|
|
78
78
|
"size": 'l'
|
|
@@ -26,7 +26,7 @@ export { _ as OrErrorTagV3 } from '../OrErrorTag-a55ae01a.js';
|
|
|
26
26
|
export { _ as OrErrorV3 } from '../OrError-4ffc1c39.js';
|
|
27
27
|
export { E as EmptyStateSize, _ as OrEmptyStateV3 } from '../OrEmptyState-2d3fd68d.js';
|
|
28
28
|
export { a as ExpansionPanelColor, E as ExpansionPanelVariant, _ as OrExpansionPanelV3 } from '../OrExpansionPanel-7c359bb0.js';
|
|
29
|
-
export { F as FabColor, _ as OrFabV3 } from '../OrFab-
|
|
29
|
+
export { F as FabColor, _ as OrFabV3 } from '../OrFab-83550865.js';
|
|
30
30
|
export { _ as OrFloating, a as OrFloatingHideStrategy, O as OrFloatingPlacements } from '../OrFloating-67b6592e.js';
|
|
31
31
|
export { _ as OrHint } from '../OrHint-fe65fbe6.js';
|
|
32
32
|
export { _ as OrHintV3 } from '../OrHint-aa221198.js';
|
package/dist/esm/v2/index.js
CHANGED
|
@@ -26,7 +26,7 @@ export { _ as OrErrorTagV3 } from './OrErrorTag-a55ae01a.js';
|
|
|
26
26
|
export { _ as OrErrorV3 } from './OrError-4ffc1c39.js';
|
|
27
27
|
export { E as EmptyStateSize, _ as OrEmptyStateV3 } from './OrEmptyState-2d3fd68d.js';
|
|
28
28
|
export { a as ExpansionPanelColor, E as ExpansionPanelVariant, _ as OrExpansionPanelV3 } from './OrExpansionPanel-7c359bb0.js';
|
|
29
|
-
export { F as FabColor, _ as OrFabV3 } from './OrFab-
|
|
29
|
+
export { F as FabColor, _ as OrFabV3 } from './OrFab-83550865.js';
|
|
30
30
|
export { _ as OrFloating, a as OrFloatingHideStrategy, O as OrFloatingPlacements } from './OrFloating-67b6592e.js';
|
|
31
31
|
export { _ as OrHint } from './OrHint-fe65fbe6.js';
|
|
32
32
|
export { _ as OrHintV3 } from './OrHint-aa221198.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
2
|
import { s as script$1 } from './OrIcon-62793572.js';
|
|
3
|
-
import { resolveComponent, openBlock, createElementBlock,
|
|
3
|
+
import { resolveComponent, openBlock, createElementBlock, mergeProps, toHandlers, createVNode } from 'vue';
|
|
4
4
|
|
|
5
5
|
var FabColor;
|
|
6
6
|
(function (FabColor) {
|
|
@@ -60,15 +60,15 @@ var script = defineComponent({
|
|
|
60
60
|
const _hoisted_1 = ["disabled"];
|
|
61
61
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
62
62
|
const _component_OrIcon = resolveComponent("OrIcon");
|
|
63
|
-
return openBlock(), createElementBlock("button", {
|
|
63
|
+
return openBlock(), createElementBlock("button", mergeProps({
|
|
64
64
|
ref: "root",
|
|
65
|
-
class:
|
|
65
|
+
class: _ctx.rootStyles,
|
|
66
66
|
type: 'button',
|
|
67
67
|
disabled: _ctx.disabled
|
|
68
|
-
}, [createVNode(_component_OrIcon, {
|
|
68
|
+
}, toHandlers(_ctx.$listeners, true)), [createVNode(_component_OrIcon, {
|
|
69
69
|
icon: _ctx.icon,
|
|
70
70
|
size: 'l'
|
|
71
|
-
}, null, 8 /* PROPS */, ["icon"])],
|
|
71
|
+
}, null, 8 /* PROPS */, ["icon"])], 16 /* FULL_PROPS */, _hoisted_1);
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
script.render = render;
|
|
@@ -23,7 +23,7 @@ export { s as OrErrorTagV3 } from '../OrErrorTag-ade9192b.js';
|
|
|
23
23
|
export { s as OrErrorV3 } from '../OrError-c01d0c29.js';
|
|
24
24
|
export { E as EmptyStateSize, s as OrEmptyStateV3 } from '../OrEmptyState-5349a1f9.js';
|
|
25
25
|
export { a as ExpansionPanelColor, E as ExpansionPanelVariant, s as OrExpansionPanelV3 } from '../OrExpansionPanel-99ca7ed7.js';
|
|
26
|
-
export { F as FabColor, s as OrFabV3 } from '../OrFab-
|
|
26
|
+
export { F as FabColor, s as OrFabV3 } from '../OrFab-fb3ecb60.js';
|
|
27
27
|
export { s as OrFloating, a as OrFloatingHideStrategy, O as OrFloatingPlacements } from '../OrFloating-291c7653.js';
|
|
28
28
|
export { s as OrHint } from '../OrHint-1414c530.js';
|
|
29
29
|
export { s as OrHintV3 } from '../OrHint-06ab89d7.js';
|
package/dist/esm/v3/index.js
CHANGED
|
@@ -23,7 +23,7 @@ export { s as OrErrorTagV3 } from './OrErrorTag-ade9192b.js';
|
|
|
23
23
|
export { s as OrErrorV3 } from './OrError-c01d0c29.js';
|
|
24
24
|
export { E as EmptyStateSize, s as OrEmptyStateV3 } from './OrEmptyState-5349a1f9.js';
|
|
25
25
|
export { a as ExpansionPanelColor, E as ExpansionPanelVariant, s as OrExpansionPanelV3 } from './OrExpansionPanel-99ca7ed7.js';
|
|
26
|
-
export { F as FabColor, s as OrFabV3 } from './OrFab-
|
|
26
|
+
export { F as FabColor, s as OrFabV3 } from './OrFab-fb3ecb60.js';
|
|
27
27
|
export { s as OrFloating, a as OrFloatingHideStrategy, O as OrFloatingPlacements } from './OrFloating-291c7653.js';
|
|
28
28
|
export { s as OrHint } from './OrHint-1414c530.js';
|
|
29
29
|
export { s as OrHintV3 } from './OrHint-06ab89d7.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onereach/ui-components",
|
|
3
|
-
"version": "3.0.0",
|
|
3
|
+
"version": "3.0.1-beta.2469.0",
|
|
4
4
|
"description": "Vue components library for v2/3",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./dist/auto/index.js",
|
|
@@ -124,6 +124,5 @@
|
|
|
124
124
|
"default": "./dist/bundled/v3/components/*/index.js"
|
|
125
125
|
},
|
|
126
126
|
"./package.json": "./package.json"
|
|
127
|
-
}
|
|
128
|
-
"gitHead": "328075686d9061371cbec452ada057987d5c9790"
|
|
127
|
+
}
|
|
129
128
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Meta, StoryFn } from '@storybook/vue3';
|
|
2
|
+
import { action } from '@storybook/addon-actions';
|
|
2
3
|
import { OrIconV3 as OrIcon } from '../or-icon-v3';
|
|
3
4
|
import OrFabDocs from './OrFab.docs.mdx';
|
|
4
5
|
import OrFab from './OrFab.vue';
|
|
@@ -43,10 +44,33 @@ const Template: StoryFn<typeof OrFab> = (args) => ({
|
|
|
43
44
|
},
|
|
44
45
|
|
|
45
46
|
setup() {
|
|
46
|
-
return {
|
|
47
|
+
return {
|
|
48
|
+
args,
|
|
49
|
+
handleClick: action('click'),
|
|
50
|
+
handleFocus: action('focus'),
|
|
51
|
+
handleBlur: action('blur'),
|
|
52
|
+
handleMouseover: action('mouseover'),
|
|
53
|
+
handleMouseout: action('moouseout'),
|
|
54
|
+
handleMousemove: action('moousemove'),
|
|
55
|
+
handleMouseenter: action('mouseenter'),
|
|
56
|
+
handleMouseleave: action('museleave'),
|
|
57
|
+
};
|
|
47
58
|
},
|
|
48
59
|
|
|
49
|
-
template:
|
|
60
|
+
template: `
|
|
61
|
+
<OrFab
|
|
62
|
+
v-bind="args"
|
|
63
|
+
@click="handleClick"
|
|
64
|
+
@focus="handleFocus"
|
|
65
|
+
@blur="handleBlur"
|
|
66
|
+
@mouseover="handleMouseover"
|
|
67
|
+
@mouseout="handleMouseout"
|
|
68
|
+
@mousemove="handleMousemove"
|
|
69
|
+
@mouseenter="handleMouseenter"
|
|
70
|
+
@mouseleave="handleMouseleave"
|
|
71
|
+
class="test-class"
|
|
72
|
+
/>
|
|
73
|
+
`,
|
|
50
74
|
});
|
|
51
75
|
|
|
52
76
|
export const Default = Template.bind({});
|