@onereach/ui-components 8.9.1 → 8.10.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/OrExpansionPanelV3/OrExpansionPanel.js +1 -1
- package/dist/bundled/v2/components/OrExpansionPanelV3/OrExpansionPanel.vue.d.ts +2 -0
- package/dist/bundled/v2/components/OrExpansionPanelV3/index.js +1 -1
- package/dist/bundled/v2/components/OrExpansionPanelV3/props.js +1 -1
- package/dist/bundled/v2/components/OrExpansionPanelV3/styles.d.ts +1 -0
- package/dist/bundled/v2/components/OrExpansionPanelV3/styles.js +1 -1
- package/dist/bundled/v2/components/{OrExpansionPanelV3-31f3376b.js → OrExpansionPanelV3-3e7149d3.js} +12 -6
- package/dist/bundled/v2/components/OrSelectV3/OrSelect.js +1 -1
- package/dist/bundled/v2/components/OrSelectV3/index.js +1 -1
- package/dist/bundled/v2/components/OrSelectV3/styles.js +1 -1
- package/dist/bundled/v2/components/{OrSelectV3-fd80a145.js → OrSelectV3-6ef4292a.js} +1 -1
- package/dist/bundled/v2/components/index.js +2 -2
- package/dist/bundled/v2/index.js +3 -3
- package/dist/bundled/v3/components/OrExpansionPanelV3/OrExpansionPanel.js +1 -1
- package/dist/bundled/v3/components/OrExpansionPanelV3/OrExpansionPanel.vue.d.ts +1 -0
- package/dist/bundled/v3/components/OrExpansionPanelV3/index.js +1 -1
- package/dist/bundled/v3/components/OrExpansionPanelV3/props.js +1 -1
- package/dist/bundled/v3/components/OrExpansionPanelV3/styles.d.ts +1 -0
- package/dist/bundled/v3/components/OrExpansionPanelV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrExpansionPanelV3-685494dc.js → OrExpansionPanelV3-6ed3c8e5.js} +13 -6
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +1 -1
- package/dist/bundled/v3/components/OrSelectV3/index.js +1 -1
- package/dist/bundled/v3/components/OrSelectV3/styles.js +1 -1
- package/dist/bundled/v3/components/{OrSelectV3-148bcd66.js → OrSelectV3-bf0d3438.js} +1 -1
- package/dist/bundled/v3/components/index.js +2 -2
- package/dist/bundled/v3/index.js +3 -3
- package/dist/esm/v2/{OrExpansionPanel-ed96bdde.js → OrExpansionPanel-3468cce1.js} +11 -5
- package/dist/esm/v2/{OrSelect-8b0979f7.js → OrSelect-e7df9dd9.js} +1 -1
- package/dist/esm/v2/components/index.js +2 -2
- package/dist/esm/v2/components/or-expansion-panel-v3/OrExpansionPanel.vue.d.ts +2 -0
- package/dist/esm/v2/components/or-expansion-panel-v3/index.js +1 -1
- package/dist/esm/v2/components/or-expansion-panel-v3/styles.d.ts +1 -0
- package/dist/esm/v2/components/or-select-v3/index.js +2 -2
- package/dist/esm/v2/index.js +2 -2
- package/dist/esm/v3/{OrExpansionPanel-abe63bbb.js → OrExpansionPanel-691107c8.js} +12 -5
- package/dist/esm/v3/{OrSelect-a821cc23.js → OrSelect-f915f049.js} +1 -1
- package/dist/esm/v3/components/index.js +2 -2
- package/dist/esm/v3/components/or-expansion-panel-v3/OrExpansionPanel.vue.d.ts +1 -0
- package/dist/esm/v3/components/or-expansion-panel-v3/index.js +1 -1
- package/dist/esm/v3/components/or-expansion-panel-v3/styles.d.ts +1 -0
- package/dist/esm/v3/components/or-select-v3/index.js +2 -2
- package/dist/esm/v3/index.js +2 -2
- package/package.json +2 -2
- package/src/components/or-expansion-panel-v3/OrExpansionPanel.vue +11 -2
- package/src/components/or-expansion-panel-v3/styles.ts +10 -5
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { _ as default } from '../OrExpansionPanelV3-
|
|
1
|
+
export { _ as default } from '../OrExpansionPanelV3-3e7149d3.js';
|
|
2
2
|
import '../OrAvatar-7bdb7c9d.js';
|
|
@@ -5,6 +5,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
5
5
|
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
6
6
|
headerStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
7
7
|
addonStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
8
|
+
contentStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
8
9
|
state: import("@vue/composition-api").Ref<"open" | "closed">;
|
|
9
10
|
open: () => void;
|
|
10
11
|
close: () => void;
|
|
@@ -73,6 +74,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
73
74
|
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
74
75
|
headerStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
75
76
|
addonStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
77
|
+
contentStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
76
78
|
state: import("@vue/composition-api").Ref<"open" | "closed">;
|
|
77
79
|
open: () => void;
|
|
78
80
|
close: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { b as ExpansionPanelBackgroundColor, a as ExpansionPanelColor, E as ExpansionPanelVariant, _ as OrExpansionPanelV3 } from '../OrExpansionPanelV3-
|
|
1
|
+
export { b as ExpansionPanelBackgroundColor, a as ExpansionPanelColor, E as ExpansionPanelVariant, _ as OrExpansionPanelV3 } from '../OrExpansionPanelV3-3e7149d3.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { b as ExpansionPanelBackgroundColor, a as ExpansionPanelColor, E as ExpansionPanelVariant } from '../OrExpansionPanelV3-
|
|
1
|
+
export { b as ExpansionPanelBackgroundColor, a as ExpansionPanelColor, E as ExpansionPanelVariant } from '../OrExpansionPanelV3-3e7149d3.js';
|
|
@@ -5,3 +5,4 @@ export declare const ExpansionPanelBackgroundColors: Record<`${ExpansionPanelBac
|
|
|
5
5
|
export declare const ExpansionPanelHeader: string[];
|
|
6
6
|
export declare const ExpansionPanelHeaderColors: Record<ExpansionPanelColor, string[]>;
|
|
7
7
|
export declare const ExpansionPanelAddon: string[];
|
|
8
|
+
export declare const ExpansionPanelContent: string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { c as ExpansionPanel, h as ExpansionPanelAddon, e as ExpansionPanelBackgroundColors, f as ExpansionPanelHeader, g as ExpansionPanelHeaderColors, d as ExpansionPanelVariants } from '../OrExpansionPanelV3-
|
|
1
|
+
export { c as ExpansionPanel, h as ExpansionPanelAddon, e as ExpansionPanelBackgroundColors, i as ExpansionPanelContent, f as ExpansionPanelHeader, g as ExpansionPanelHeaderColors, d as ExpansionPanelVariants } from '../OrExpansionPanelV3-3e7149d3.js';
|
package/dist/bundled/v2/components/{OrExpansionPanelV3-31f3376b.js → OrExpansionPanelV3-3e7149d3.js}
RENAMED
|
@@ -24,10 +24,10 @@ const ExpansionPanel = [
|
|
|
24
24
|
// Layout
|
|
25
25
|
'layout-column'];
|
|
26
26
|
const ExpansionPanelVariants = {
|
|
27
|
-
|
|
27
|
+
[ExpansionPanelVariant.Default]: [
|
|
28
28
|
// Spacing
|
|
29
29
|
'gap-sm'],
|
|
30
|
-
|
|
30
|
+
[ExpansionPanelVariant.Card]: [
|
|
31
31
|
// Shape
|
|
32
32
|
'rounded-md',
|
|
33
33
|
// Spacing
|
|
@@ -50,12 +50,12 @@ const ExpansionPanelBackgroundColors = {
|
|
|
50
50
|
const ExpansionPanelHeader = [
|
|
51
51
|
// Layout
|
|
52
52
|
'layout-row',
|
|
53
|
+
// Interactivity
|
|
54
|
+
'interactivity-click',
|
|
53
55
|
// Box
|
|
54
56
|
'min-w-[16px]',
|
|
55
57
|
// Spacing
|
|
56
58
|
'gap-sm',
|
|
57
|
-
// Interactivity
|
|
58
|
-
'interactivity-click',
|
|
59
59
|
// Typography
|
|
60
60
|
'typography-body-2-bold',
|
|
61
61
|
// Theme
|
|
@@ -87,6 +87,9 @@ const ExpansionPanelAddon = [
|
|
|
87
87
|
'typography-body-2-regular',
|
|
88
88
|
// Theme
|
|
89
89
|
'theme-foreground-outline', 'dark:theme-foreground-outline-dark'];
|
|
90
|
+
const ExpansionPanelContent = [
|
|
91
|
+
// Spacing
|
|
92
|
+
'ml-[28px] md:ml-[24px]'];
|
|
90
93
|
|
|
91
94
|
var script = defineComponent({
|
|
92
95
|
name: 'OrExpansionPanel',
|
|
@@ -128,6 +131,7 @@ var script = defineComponent({
|
|
|
128
131
|
const rootStyles = computed(() => ['or-expansion-panel-v3', ...ExpansionPanel, ...ExpansionPanelVariants[props.variant], ...ExpansionPanelBackgroundColors[`${props.backgroundColor}-${props.variant}`]]);
|
|
129
132
|
const headerStyles = computed(() => [...ExpansionPanelHeader, ...ExpansionPanelHeaderColors[props.color]]);
|
|
130
133
|
const addonStyles = computed(() => [...ExpansionPanelAddon]);
|
|
134
|
+
const contentStyles = computed(() => [...ExpansionPanelContent]);
|
|
131
135
|
// State
|
|
132
136
|
const {
|
|
133
137
|
state,
|
|
@@ -140,6 +144,7 @@ var script = defineComponent({
|
|
|
140
144
|
rootStyles,
|
|
141
145
|
headerStyles,
|
|
142
146
|
addonStyles,
|
|
147
|
+
contentStyles,
|
|
143
148
|
state,
|
|
144
149
|
open,
|
|
145
150
|
close,
|
|
@@ -192,7 +197,8 @@ var __vue_render__ = function () {
|
|
|
192
197
|
rawName: "v-show",
|
|
193
198
|
value: _vm.state === 'open',
|
|
194
199
|
expression: "state === 'open'"
|
|
195
|
-
}]
|
|
200
|
+
}],
|
|
201
|
+
class: _vm.contentStyles
|
|
196
202
|
}, [_vm._t("default")], 2)]);
|
|
197
203
|
};
|
|
198
204
|
var __vue_staticRenderFns__ = [];
|
|
@@ -216,4 +222,4 @@ const __vue_component__ = /*#__PURE__*/normalizeComponent({
|
|
|
216
222
|
staticRenderFns: __vue_staticRenderFns__
|
|
217
223
|
}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);
|
|
218
224
|
|
|
219
|
-
export { ExpansionPanelVariant as E, __vue_component__ as _, ExpansionPanelColor as a, ExpansionPanelBackgroundColor as b, ExpansionPanel as c, ExpansionPanelVariants as d, ExpansionPanelBackgroundColors as e, ExpansionPanelHeader as f, ExpansionPanelHeaderColors as g, ExpansionPanelAddon as h };
|
|
225
|
+
export { ExpansionPanelVariant as E, __vue_component__ as _, ExpansionPanelColor as a, ExpansionPanelBackgroundColor as b, ExpansionPanel as c, ExpansionPanelVariants as d, ExpansionPanelBackgroundColors as e, ExpansionPanelHeader as f, ExpansionPanelHeaderColors as g, ExpansionPanelAddon as h, ExpansionPanelContent as i };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { _ as default } from '../OrSelectV3-
|
|
1
|
+
export { _ as default } from '../OrSelectV3-6ef4292a.js';
|
|
2
2
|
import '../OrAvatar-7bdb7c9d.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { _ as OrSelectV3 } from '../OrSelectV3-
|
|
1
|
+
export { _ as OrSelectV3 } from '../OrSelectV3-6ef4292a.js';
|
|
2
2
|
export { I as SelectSize } from '../OrInputBoxV3-35d1e3a6.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { S as Select, a as SelectControl, c as SelectDropdown, d as SelectDropdownDefault, e as SelectDropdownFlipped, f as SelectDropdownItem, g as SelectNoSearchResults, b as SelectSearchControl } from '../OrSelectV3-
|
|
1
|
+
export { S as Select, a as SelectControl, c as SelectDropdown, d as SelectDropdownDefault, e as SelectDropdownFlipped, f as SelectDropdownItem, g as SelectNoSearchResults, b as SelectSearchControl } from '../OrSelectV3-6ef4292a.js';
|
|
@@ -5,7 +5,7 @@ import { i as isEmptyValue, u as useProxyModelValue, ac as useFocus, ad as isEqu
|
|
|
5
5
|
import { _ as __vue_component__$5, T as TagsOverflow } from './OrTagsV3-2758e5e4.js';
|
|
6
6
|
import { _ as __vue_component__$6 } from './OrCheckboxV3-01363dbc.js';
|
|
7
7
|
import { _ as __vue_component__$7 } from './OrErrorV3-6fa1b69a.js';
|
|
8
|
-
import { _ as __vue_component__$8 } from './OrExpansionPanelV3-
|
|
8
|
+
import { _ as __vue_component__$8 } from './OrExpansionPanelV3-3e7149d3.js';
|
|
9
9
|
import { _ as __vue_component__$9 } from './OrHintV3-467244f9.js';
|
|
10
10
|
import { _ as __vue_component__$a } from './OrIconV3-98337f2d.js';
|
|
11
11
|
import { _ as __vue_component__$b } from './OrIconButtonV3-d4d38cf6.js';
|
|
@@ -35,7 +35,7 @@ export { E as EmptyStateSize, _ as OrEmptyStateV3 } from './OrEmptyStateV3-1d3f9
|
|
|
35
35
|
export { default as OrError } from './OrError/OrError.js';
|
|
36
36
|
export { _ as OrErrorTagV3 } from './OrErrorTagV3-96425380.js';
|
|
37
37
|
export { _ as OrErrorV3 } from './OrErrorV3-6fa1b69a.js';
|
|
38
|
-
export { b as ExpansionPanelBackgroundColor, a as ExpansionPanelColor, E as ExpansionPanelVariant, _ as OrExpansionPanelV3 } from './OrExpansionPanelV3-
|
|
38
|
+
export { b as ExpansionPanelBackgroundColor, a as ExpansionPanelColor, E as ExpansionPanelVariant, _ as OrExpansionPanelV3 } from './OrExpansionPanelV3-3e7149d3.js';
|
|
39
39
|
export { F as FabColor, _ as OrFabV3 } from './OrFabV3-75aa899f.js';
|
|
40
40
|
export { _ as OrFloating, d as OrFloatingHideStrategy, O as OrFloatingPlacements } from './OrFloating-867638ff.js';
|
|
41
41
|
export { F as FormGroupDirection, _ as OrFormGroupV3 } from './OrFormGroupV3-a4d81c9b.js';
|
|
@@ -84,7 +84,7 @@ export { default as OrSearch } from './OrSearch/OrSearch.js';
|
|
|
84
84
|
export { OrSearchV3 } from './OrSearchV3/index.js';
|
|
85
85
|
export { _ as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControlV3-e9f59954.js';
|
|
86
86
|
export { _ as OrSelect } from './OrSelect-53700d8d.js';
|
|
87
|
-
export { _ as OrSelectV3 } from './OrSelectV3-
|
|
87
|
+
export { _ as OrSelectV3 } from './OrSelectV3-6ef4292a.js';
|
|
88
88
|
export { OrSidebar, OrSidebarSide } from './OrSidebar/index.js';
|
|
89
89
|
export { S as OrSidebarPlacement, _ as OrSidebarV3, S as SidebarPlacement } from './OrSidebarV3-214fa007.js';
|
|
90
90
|
export { _ as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from './OrSkeleton-3b4eca6a.js';
|