@onereach/ui-components 4.3.14 → 4.3.15-beta.2694.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/OrTagV3/OrTag.vue.d.ts +5 -5
- package/dist/bundled/v2/components/OrTagsV3/OrTags.js +163 -0
- package/dist/bundled/v2/components/OrTagsV3/OrTags.vue.d.ts +80 -0
- package/dist/bundled/v2/components/OrTagsV3/index.d.ts +1 -0
- package/dist/bundled/v2/components/OrTagsV3/index.js +37 -0
- package/dist/bundled/v2/components/OrTagsV3/styles.d.ts +4 -0
- package/dist/bundled/v2/components/OrTagsV3/styles.js +26 -0
- package/dist/bundled/v2/components/index.d.ts +1 -0
- package/dist/bundled/v2/components/index.js +2 -0
- package/dist/bundled/v2/index.js +3 -1
- package/dist/bundled/v3/OrTags.vue_vue_type_script_lang-e75444b5.js +70 -0
- package/dist/bundled/v3/components/OrTagV3/OrTag.vue.d.ts +5 -5
- package/dist/bundled/v3/components/OrTagsV3/OrTags.js +101 -0
- package/dist/bundled/v3/components/OrTagsV3/OrTags.vue.d.ts +36 -0
- package/dist/bundled/v3/components/OrTagsV3/index.d.ts +1 -0
- package/dist/bundled/v3/components/OrTagsV3/index.js +46 -0
- package/dist/bundled/v3/components/OrTagsV3/styles.d.ts +4 -0
- package/dist/bundled/v3/components/OrTagsV3/styles.js +26 -0
- package/dist/bundled/v3/components/index.d.ts +1 -0
- package/dist/bundled/v3/components/index.js +2 -0
- package/dist/bundled/v3/index.js +4 -1
- package/dist/esm/v2/OrTags-4ffaa13b.js +159 -0
- package/dist/esm/v2/components/index.d.ts +1 -0
- package/dist/esm/v2/components/index.js +1 -0
- package/dist/esm/v2/components/or-tag-v3/OrTag.vue.d.ts +5 -5
- package/dist/esm/v2/components/or-tags-v3/OrTags.vue.d.ts +80 -0
- package/dist/esm/v2/components/or-tags-v3/index.d.ts +1 -0
- package/dist/esm/v2/components/or-tags-v3/index.js +19 -0
- package/dist/esm/v2/components/or-tags-v3/styles.d.ts +4 -0
- package/dist/esm/v2/components/or-teleport/OrTeleport.vue2.vue.d.ts +2 -2
- package/dist/esm/v2/index.js +1 -0
- package/dist/esm/v3/OrTags-a082de82.js +147 -0
- package/dist/esm/v3/components/index.d.ts +1 -0
- package/dist/esm/v3/components/index.js +1 -0
- package/dist/esm/v3/components/or-tag-v3/OrTag.vue.d.ts +5 -5
- package/dist/esm/v3/components/or-tags-v3/OrTags.vue.d.ts +36 -0
- package/dist/esm/v3/components/or-tags-v3/index.d.ts +1 -0
- package/dist/esm/v3/components/or-tags-v3/index.js +18 -0
- package/dist/esm/v3/components/or-tags-v3/styles.d.ts +4 -0
- package/dist/esm/v3/index.js +1 -0
- package/package.json +2 -3
- package/src/components/index.ts +1 -0
- package/src/components/or-tag-v3/OrTag.vue +3 -2
- package/src/components/or-tags-v3/OrTags.docs.mdx +7 -0
- package/src/components/or-tags-v3/OrTags.stories3.ts +101 -0
- package/src/components/or-tags-v3/OrTags.vue +129 -0
- package/src/components/or-tags-v3/index.ts +1 -0
- package/src/components/or-tags-v3/styles.ts +41 -0
|
@@ -6,7 +6,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
6
6
|
custom: import("@vue/composition-api").ComputedRef<boolean>;
|
|
7
7
|
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
8
8
|
variant: {
|
|
9
|
-
type: PropType<
|
|
9
|
+
type: PropType<"tag" | "button" | "reset">;
|
|
10
10
|
default: TagVariant;
|
|
11
11
|
};
|
|
12
12
|
color: {
|
|
@@ -19,7 +19,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
19
19
|
};
|
|
20
20
|
}, import("@vue/composition-api").ExtractPropTypes<{
|
|
21
21
|
variant: {
|
|
22
|
-
type: PropType<
|
|
22
|
+
type: PropType<"tag" | "button" | "reset">;
|
|
23
23
|
default: TagVariant;
|
|
24
24
|
};
|
|
25
25
|
color: {
|
|
@@ -31,7 +31,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
31
31
|
default: boolean;
|
|
32
32
|
};
|
|
33
33
|
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
34
|
-
variant:
|
|
34
|
+
variant: "tag" | "button" | "reset";
|
|
35
35
|
color: string;
|
|
36
36
|
disabled: boolean;
|
|
37
37
|
} & {} & {
|
|
@@ -41,13 +41,13 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
41
41
|
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
42
42
|
custom: import("@vue/composition-api").ComputedRef<boolean>;
|
|
43
43
|
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
44
|
-
variant:
|
|
44
|
+
variant: "tag" | "button" | "reset";
|
|
45
45
|
color: string;
|
|
46
46
|
disabled: boolean;
|
|
47
47
|
} & {} & {
|
|
48
48
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
49
49
|
}, {
|
|
50
|
-
variant:
|
|
50
|
+
variant: "tag" | "button" | "reset";
|
|
51
51
|
color: string;
|
|
52
52
|
disabled: boolean;
|
|
53
53
|
}, true>);
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
+
import { Tags, TagsContainer, TagsOverflowButton, TagsOverflowPopover } from './styles.js';
|
|
3
|
+
import __vue_component__$1 from '../OrButtonV3/OrButton.js';
|
|
4
|
+
import __vue_component__$2 from '../OrPopoverV3/OrPopover.js';
|
|
5
|
+
import __vue_component__$3 from '../OrTagV3/OrTag.js';
|
|
6
|
+
import { useOverflow } from '../../hooks/useOverflow.js';
|
|
7
|
+
import { n as normalizeComponent } from '../../normalize-component-6e8e3d80.js';
|
|
8
|
+
import '../OrButtonV3/props.js';
|
|
9
|
+
import '../OrButtonV3/styles.js';
|
|
10
|
+
import '../OrLoaderV3/OrLoader.js';
|
|
11
|
+
import '@vueuse/core';
|
|
12
|
+
import '../OrLoaderV3/props.js';
|
|
13
|
+
import '../OrLoaderV3/styles.js';
|
|
14
|
+
import '../../floating-ui.dom.esm-83eba816.js';
|
|
15
|
+
import '../OrPopoverV3/props.js';
|
|
16
|
+
import '../OrPopoverV3/styles.js';
|
|
17
|
+
import '../OrBottomSheetV3/OrBottomSheet.js';
|
|
18
|
+
import '../OrBottomSheetV3/props.js';
|
|
19
|
+
import '../OrBottomSheetV3/styles.js';
|
|
20
|
+
import '../OrOverlayV3/OrOverlay.js';
|
|
21
|
+
import '../OrOverlayV3/styles.js';
|
|
22
|
+
import '../OrTeleportV3/OrTeleport.js';
|
|
23
|
+
import 'portal-vue';
|
|
24
|
+
import '../../hooks/useElevation.js';
|
|
25
|
+
import '../../utils/isVisible.js';
|
|
26
|
+
import '../../hooks/useResponsive/useResponsive.js';
|
|
27
|
+
import '../OrTagV3/props.js';
|
|
28
|
+
import '../OrTagV3/styles.js';
|
|
29
|
+
import '../OrIconButtonV3/OrIconButton.js';
|
|
30
|
+
import '../OrIconButtonV3/props.js';
|
|
31
|
+
import '../OrIconV3/props.js';
|
|
32
|
+
import '../OrIconButtonV3/styles.js';
|
|
33
|
+
import '../OrIconV3/OrIcon.js';
|
|
34
|
+
import '../OrIconV3/styles.js';
|
|
35
|
+
import '../OrTooltipV3/OrTooltip.js';
|
|
36
|
+
import '../OrTooltipV3/styles.js';
|
|
37
|
+
|
|
38
|
+
var script = defineComponent({
|
|
39
|
+
name: 'OrTags',
|
|
40
|
+
components: {
|
|
41
|
+
OrButton: __vue_component__$1,
|
|
42
|
+
OrPopover: __vue_component__$2,
|
|
43
|
+
OrTag: __vue_component__$3
|
|
44
|
+
},
|
|
45
|
+
props: {
|
|
46
|
+
items: {
|
|
47
|
+
type: Array,
|
|
48
|
+
default: () => []
|
|
49
|
+
},
|
|
50
|
+
tagProps: {
|
|
51
|
+
type: Object,
|
|
52
|
+
default: undefined
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
setup(props) {
|
|
56
|
+
// Refs
|
|
57
|
+
const root = ref();
|
|
58
|
+
const container = ref();
|
|
59
|
+
const overflowButton = ref();
|
|
60
|
+
const overflowButtonRoot = computed(() => {
|
|
61
|
+
var _a;
|
|
62
|
+
return (_a = overflowButton.value) === null || _a === void 0 ? void 0 : _a.root;
|
|
63
|
+
});
|
|
64
|
+
const overflowPopover = ref();
|
|
65
|
+
const overflowPopoverRoot = computed(() => {
|
|
66
|
+
var _a;
|
|
67
|
+
return (_a = overflowPopover.value) === null || _a === void 0 ? void 0 : _a.root;
|
|
68
|
+
});
|
|
69
|
+
// Styles
|
|
70
|
+
const rootStyles = computed(() => ['or-tags-v3', ...Tags]);
|
|
71
|
+
const containerStyles = computed(() => [...TagsContainer]);
|
|
72
|
+
const overflowButtonStyles = computed(() => [...TagsOverflowButton]);
|
|
73
|
+
const overflowPopoverStyles = computed(() => [...TagsOverflowPopover]);
|
|
74
|
+
// State
|
|
75
|
+
const {
|
|
76
|
+
innerItems
|
|
77
|
+
} = useOverflow(container);
|
|
78
|
+
const overflowItems = computed(() => {
|
|
79
|
+
return props.items.slice(innerItems.value.length);
|
|
80
|
+
});
|
|
81
|
+
return {
|
|
82
|
+
root,
|
|
83
|
+
container,
|
|
84
|
+
overflowButton,
|
|
85
|
+
overflowButtonRoot,
|
|
86
|
+
overflowPopover,
|
|
87
|
+
overflowPopoverRoot,
|
|
88
|
+
rootStyles,
|
|
89
|
+
containerStyles,
|
|
90
|
+
overflowButtonStyles,
|
|
91
|
+
overflowPopoverStyles,
|
|
92
|
+
overflowItems
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
|
|
97
|
+
/* script */
|
|
98
|
+
const __vue_script__ = script;
|
|
99
|
+
|
|
100
|
+
/* template */
|
|
101
|
+
var __vue_render__ = function () {
|
|
102
|
+
var _vm = this;
|
|
103
|
+
var _h = _vm.$createElement;
|
|
104
|
+
var _c = _vm._self._c || _h;
|
|
105
|
+
return _c('div', {
|
|
106
|
+
ref: "root",
|
|
107
|
+
class: _vm.rootStyles
|
|
108
|
+
}, [_c('div', {
|
|
109
|
+
ref: "container",
|
|
110
|
+
class: _vm.containerStyles
|
|
111
|
+
}, _vm._l(_vm.items, function (item) {
|
|
112
|
+
return _c('OrTag', _vm._b({
|
|
113
|
+
key: item
|
|
114
|
+
}, 'OrTag', _vm.tagProps, false), [_vm._v("\n " + _vm._s(item) + "\n ")]);
|
|
115
|
+
}), 1), _vm._v(" "), _vm.overflowItems.length > 0 ? [_c('OrButton', {
|
|
116
|
+
ref: "overflowButton",
|
|
117
|
+
class: _vm.overflowButtonStyles,
|
|
118
|
+
attrs: {
|
|
119
|
+
"type": 'button',
|
|
120
|
+
"variant": 'link',
|
|
121
|
+
"color": 'inherit'
|
|
122
|
+
},
|
|
123
|
+
on: {
|
|
124
|
+
"click": function ($event) {
|
|
125
|
+
$event.stopPropagation();
|
|
126
|
+
return _vm.overflowPopover.open();
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}, [_vm._v("\n +" + _vm._s(_vm.overflowItems.length) + "\n ")]), _vm._v(" "), _c('OrPopover', {
|
|
130
|
+
ref: "overflowPopover",
|
|
131
|
+
attrs: {
|
|
132
|
+
"trigger": _vm.overflowButtonRoot
|
|
133
|
+
}
|
|
134
|
+
}, [_c('div', {
|
|
135
|
+
class: _vm.overflowPopoverStyles
|
|
136
|
+
}, _vm._l(_vm.overflowItems, function (item) {
|
|
137
|
+
return _c('OrTag', _vm._b({
|
|
138
|
+
key: item
|
|
139
|
+
}, 'OrTag', _vm.tagProps, false), [_vm._v("\n " + _vm._s(item) + "\n ")]);
|
|
140
|
+
}), 1)])] : _vm._e()], 2);
|
|
141
|
+
};
|
|
142
|
+
var __vue_staticRenderFns__ = [];
|
|
143
|
+
|
|
144
|
+
/* style */
|
|
145
|
+
const __vue_inject_styles__ = undefined;
|
|
146
|
+
/* scoped */
|
|
147
|
+
const __vue_scope_id__ = undefined;
|
|
148
|
+
/* module identifier */
|
|
149
|
+
const __vue_module_identifier__ = undefined;
|
|
150
|
+
/* functional template */
|
|
151
|
+
const __vue_is_functional_template__ = false;
|
|
152
|
+
/* style inject */
|
|
153
|
+
|
|
154
|
+
/* style inject SSR */
|
|
155
|
+
|
|
156
|
+
/* style inject shadow dom */
|
|
157
|
+
|
|
158
|
+
const __vue_component__ = /*#__PURE__*/normalizeComponent({
|
|
159
|
+
render: __vue_render__,
|
|
160
|
+
staticRenderFns: __vue_staticRenderFns__
|
|
161
|
+
}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
|
|
162
|
+
|
|
163
|
+
export { __vue_component__ as default };
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { PropType } from 'vue-demi';
|
|
2
|
+
declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
3
|
+
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
4
|
+
container: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
5
|
+
overflowButton: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
6
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
7
|
+
} | string[], {} & {}, {
|
|
8
|
+
[x: number]: string;
|
|
9
|
+
} | {}, true> | undefined>;
|
|
10
|
+
overflowButtonRoot: import("@vue/composition-api").ComputedRef<undefined>;
|
|
11
|
+
overflowPopover: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
12
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
13
|
+
} | string[], {} & {}, {
|
|
14
|
+
[x: number]: string;
|
|
15
|
+
} | {}, true> | undefined>;
|
|
16
|
+
overflowPopoverRoot: import("@vue/composition-api").ComputedRef<undefined>;
|
|
17
|
+
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
18
|
+
containerStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
19
|
+
overflowButtonStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
20
|
+
overflowPopoverStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
21
|
+
overflowItems: import("@vue/composition-api").ComputedRef<string[]>;
|
|
22
|
+
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
23
|
+
items: {
|
|
24
|
+
type: PropType<string[]>;
|
|
25
|
+
default: () => never[];
|
|
26
|
+
};
|
|
27
|
+
tagProps: {
|
|
28
|
+
type: PropType<Readonly<Partial<{
|
|
29
|
+
[x: number]: string;
|
|
30
|
+
} | {}> & Omit<{} & {}, never>>>;
|
|
31
|
+
default: undefined;
|
|
32
|
+
};
|
|
33
|
+
}, import("@vue/composition-api").ExtractPropTypes<{
|
|
34
|
+
items: {
|
|
35
|
+
type: PropType<string[]>;
|
|
36
|
+
default: () => never[];
|
|
37
|
+
};
|
|
38
|
+
tagProps: {
|
|
39
|
+
type: PropType<Readonly<Partial<{
|
|
40
|
+
[x: number]: string;
|
|
41
|
+
} | {}> & Omit<{} & {}, never>>>;
|
|
42
|
+
default: undefined;
|
|
43
|
+
};
|
|
44
|
+
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
45
|
+
items: string[];
|
|
46
|
+
tagProps: Readonly<Partial<{
|
|
47
|
+
[x: number]: string;
|
|
48
|
+
} | {}> & Omit<{} & {}, never>>;
|
|
49
|
+
} & {}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
50
|
+
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
51
|
+
container: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
52
|
+
overflowButton: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
53
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
54
|
+
} | string[], {} & {}, {
|
|
55
|
+
[x: number]: string;
|
|
56
|
+
} | {}, true> | undefined>;
|
|
57
|
+
overflowButtonRoot: import("@vue/composition-api").ComputedRef<undefined>;
|
|
58
|
+
overflowPopover: import("@vue/composition-api").Ref<import("@vue/composition-api").ComponentRenderProxy<{} & {}, import("@vue/composition-api").ShallowUnwrapRef<unknown>, unknown, import("@vue/composition-api").ComputedOptions, import("@vue/composition-api").MethodOptions, unknown, unknown, {
|
|
59
|
+
[x: string]: ((...args: any[]) => any) | null;
|
|
60
|
+
} | string[], {} & {}, {
|
|
61
|
+
[x: number]: string;
|
|
62
|
+
} | {}, true> | undefined>;
|
|
63
|
+
overflowPopoverRoot: import("@vue/composition-api").ComputedRef<undefined>;
|
|
64
|
+
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
65
|
+
containerStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
66
|
+
overflowButtonStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
67
|
+
overflowPopoverStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
68
|
+
overflowItems: import("@vue/composition-api").ComputedRef<string[]>;
|
|
69
|
+
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, {}, {
|
|
70
|
+
items: string[];
|
|
71
|
+
tagProps: Readonly<Partial<{
|
|
72
|
+
[x: number]: string;
|
|
73
|
+
} | {}> & Omit<{} & {}, never>>;
|
|
74
|
+
} & {}, {
|
|
75
|
+
items: string[];
|
|
76
|
+
tagProps: Readonly<Partial<{
|
|
77
|
+
[x: number]: string;
|
|
78
|
+
} | {}> & Omit<{} & {}, never>>;
|
|
79
|
+
}, true>);
|
|
80
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as OrTagsV3 } from './OrTags.vue';
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export { default as OrTagsV3 } from './OrTags.js';
|
|
2
|
+
import 'vue-demi';
|
|
3
|
+
import './styles.js';
|
|
4
|
+
import '../OrButtonV3/OrButton.js';
|
|
5
|
+
import '../OrButtonV3/props.js';
|
|
6
|
+
import '../OrButtonV3/styles.js';
|
|
7
|
+
import '../OrLoaderV3/OrLoader.js';
|
|
8
|
+
import '@vueuse/core';
|
|
9
|
+
import '../OrLoaderV3/props.js';
|
|
10
|
+
import '../OrLoaderV3/styles.js';
|
|
11
|
+
import '../../normalize-component-6e8e3d80.js';
|
|
12
|
+
import '../OrPopoverV3/OrPopover.js';
|
|
13
|
+
import '../../floating-ui.dom.esm-83eba816.js';
|
|
14
|
+
import '../OrPopoverV3/props.js';
|
|
15
|
+
import '../OrPopoverV3/styles.js';
|
|
16
|
+
import '../OrBottomSheetV3/OrBottomSheet.js';
|
|
17
|
+
import '../OrBottomSheetV3/props.js';
|
|
18
|
+
import '../OrBottomSheetV3/styles.js';
|
|
19
|
+
import '../OrOverlayV3/OrOverlay.js';
|
|
20
|
+
import '../OrOverlayV3/styles.js';
|
|
21
|
+
import '../OrTeleportV3/OrTeleport.js';
|
|
22
|
+
import 'portal-vue';
|
|
23
|
+
import '../../hooks/useElevation.js';
|
|
24
|
+
import '../../utils/isVisible.js';
|
|
25
|
+
import '../../hooks/useResponsive/useResponsive.js';
|
|
26
|
+
import '../OrTagV3/OrTag.js';
|
|
27
|
+
import '../OrTagV3/props.js';
|
|
28
|
+
import '../OrTagV3/styles.js';
|
|
29
|
+
import '../OrIconButtonV3/OrIconButton.js';
|
|
30
|
+
import '../OrIconButtonV3/props.js';
|
|
31
|
+
import '../OrIconV3/props.js';
|
|
32
|
+
import '../OrIconButtonV3/styles.js';
|
|
33
|
+
import '../OrIconV3/OrIcon.js';
|
|
34
|
+
import '../OrIconV3/styles.js';
|
|
35
|
+
import '../OrTooltipV3/OrTooltip.js';
|
|
36
|
+
import '../OrTooltipV3/styles.js';
|
|
37
|
+
import '../../hooks/useOverflow.js';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
const Tags = [
|
|
2
|
+
// Layout
|
|
3
|
+
'layout-row',
|
|
4
|
+
// Spacing
|
|
5
|
+
'gap-sm',
|
|
6
|
+
// Theme
|
|
7
|
+
'theme-foreground-default', 'dark:theme-foreground-default-dark'];
|
|
8
|
+
const TagsContainer = [
|
|
9
|
+
// Layout
|
|
10
|
+
'layout-row',
|
|
11
|
+
// Overflow
|
|
12
|
+
'overflow-hidden',
|
|
13
|
+
// Spacing
|
|
14
|
+
'gap-sm'];
|
|
15
|
+
const TagsOverflowButton = [
|
|
16
|
+
// Typography
|
|
17
|
+
'typography-caption-regular'];
|
|
18
|
+
const TagsOverflowPopover = [
|
|
19
|
+
// Layout
|
|
20
|
+
'layout-row !flex-wrap',
|
|
21
|
+
// Box
|
|
22
|
+
'max-w-[192px]',
|
|
23
|
+
// Spacing
|
|
24
|
+
'px-md', 'py-md', 'gap-sm'];
|
|
25
|
+
|
|
26
|
+
export { Tags, TagsContainer, TagsOverflowButton, TagsOverflowPopover };
|
|
@@ -136,6 +136,7 @@ export { TabsVariant } from './OrTabsV3/props.js';
|
|
|
136
136
|
export { default as OrTag } from './OrTag/OrTag.js';
|
|
137
137
|
export { default as OrTagV3 } from './OrTagV3/OrTag.js';
|
|
138
138
|
export { TagColor, TagVariant } from './OrTagV3/props.js';
|
|
139
|
+
export { default as OrTagsV3 } from './OrTagsV3/OrTags.js';
|
|
139
140
|
export { default as OrTeleport } from './OrTeleport/OrTeleport.js';
|
|
140
141
|
export { default as OrTeleportV3 } from './OrTeleportV3/OrTeleport.js';
|
|
141
142
|
export { default as OrTextV3 } from './OrTextV3/OrText.js';
|
|
@@ -247,6 +248,7 @@ import './OrSortHeaderV3/styles.js';
|
|
|
247
248
|
import './OrSwitchV3/styles.js';
|
|
248
249
|
import './OrTabV3/styles.js';
|
|
249
250
|
import './OrTabsV3/styles.js';
|
|
251
|
+
import './OrTagsV3/styles.js';
|
|
250
252
|
import './OrTextV3/styles.js';
|
|
251
253
|
import './OrTextareaV3/styles.js';
|
|
252
254
|
import './OrTimePickerV3/styles.js';
|