@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 +1 @@
|
|
|
1
|
-
export { s as default } from '../OrExpansionPanelV3-
|
|
1
|
+
export { s as default } from '../OrExpansionPanelV3-6ed3c8e5.js';
|
|
@@ -30,6 +30,7 @@ declare const _default: import("vue-demi").DefineComponent<{
|
|
|
30
30
|
rootStyles: import("vue-demi").ComputedRef<string[]>;
|
|
31
31
|
headerStyles: import("vue-demi").ComputedRef<string[]>;
|
|
32
32
|
addonStyles: import("vue-demi").ComputedRef<string[]>;
|
|
33
|
+
contentStyles: import("vue-demi").ComputedRef<string[]>;
|
|
33
34
|
state: import("vue-demi").Ref<"open" | "closed">;
|
|
34
35
|
open: () => void;
|
|
35
36
|
close: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { b as ExpansionPanelBackgroundColor, a as ExpansionPanelColor, E as ExpansionPanelVariant, s as OrExpansionPanelV3 } from '../OrExpansionPanelV3-
|
|
1
|
+
export { b as ExpansionPanelBackgroundColor, a as ExpansionPanelColor, E as ExpansionPanelVariant, s as OrExpansionPanelV3 } from '../OrExpansionPanelV3-6ed3c8e5.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-6ed3c8e5.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-6ed3c8e5.js';
|
package/dist/bundled/v3/components/{OrExpansionPanelV3-685494dc.js → OrExpansionPanelV3-6ed3c8e5.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,
|
|
@@ -173,10 +178,12 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
173
178
|
variant: 'filled-bold'
|
|
174
179
|
}, null, 8 /* PROPS */, ["class"]), createElementVNode("span", _hoisted_4, toDisplayString(_ctx.label), 1 /* TEXT */)], 10 /* CLASS, PROPS */, _hoisted_3), createElementVNode("div", {
|
|
175
180
|
class: normalizeClass(_ctx.addonStyles)
|
|
176
|
-
}, [renderSlot(_ctx.$slots, "addon")], 2 /* CLASS */)]), withDirectives(createElementVNode("div",
|
|
181
|
+
}, [renderSlot(_ctx.$slots, "addon")], 2 /* CLASS */)]), withDirectives(createElementVNode("div", {
|
|
182
|
+
class: normalizeClass(_ctx.contentStyles)
|
|
183
|
+
}, [renderSlot(_ctx.$slots, "default")], 2 /* CLASS */), [[vShow, _ctx.state === 'open']])], 10 /* CLASS, PROPS */, _hoisted_1);
|
|
177
184
|
}
|
|
178
185
|
|
|
179
186
|
script.render = render;
|
|
180
187
|
script.__file = "src/components/or-expansion-panel-v3/OrExpansionPanel.vue";
|
|
181
188
|
|
|
182
|
-
export { ExpansionPanelVariant as E, ExpansionPanelColor as a, ExpansionPanelBackgroundColor as b, ExpansionPanel as c, ExpansionPanelVariants as d, ExpansionPanelBackgroundColors as e, ExpansionPanelHeader as f, ExpansionPanelHeaderColors as g, ExpansionPanelAddon as h, script as s };
|
|
189
|
+
export { ExpansionPanelVariant as E, 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, script as s };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { s as default } from '../OrSelectV3-
|
|
1
|
+
export { s as default } from '../OrSelectV3-bf0d3438.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { s as OrSelectV3 } from '../OrSelectV3-
|
|
1
|
+
export { s as OrSelectV3 } from '../OrSelectV3-bf0d3438.js';
|
|
2
2
|
export { I as SelectSize } from '../OrInputBoxV3-a079251d.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-bf0d3438.js';
|
|
@@ -5,7 +5,7 @@ import { i as isEmptyValue, u as useProxyModelValue, ac as useFocus, ad as isEqu
|
|
|
5
5
|
import { s as script$5, T as TagsOverflow } from './OrTagsV3-9625628a.js';
|
|
6
6
|
import { s as script$6 } from './OrCheckboxV3-b22cada7.js';
|
|
7
7
|
import { s as script$7 } from './OrErrorV3-f61387d6.js';
|
|
8
|
-
import { s as script$8 } from './OrExpansionPanelV3-
|
|
8
|
+
import { s as script$8 } from './OrExpansionPanelV3-6ed3c8e5.js';
|
|
9
9
|
import { s as script$9 } from './OrHintV3-1fcfaa19.js';
|
|
10
10
|
import { s as script$a } from './OrIconV3-85d7d26b.js';
|
|
11
11
|
import { s as script$b } from './OrIconButtonV3-48e98bc5.js';
|
|
@@ -35,7 +35,7 @@ export { E as EmptyStateSize, s as OrEmptyStateV3 } from './OrEmptyStateV3-964b6
|
|
|
35
35
|
export { default as OrError } from './OrError/OrError.js';
|
|
36
36
|
export { s as OrErrorTagV3 } from './OrErrorTagV3-c3da8496.js';
|
|
37
37
|
export { s as OrErrorV3 } from './OrErrorV3-f61387d6.js';
|
|
38
|
-
export { b as ExpansionPanelBackgroundColor, a as ExpansionPanelColor, E as ExpansionPanelVariant, s as OrExpansionPanelV3 } from './OrExpansionPanelV3-
|
|
38
|
+
export { b as ExpansionPanelBackgroundColor, a as ExpansionPanelColor, E as ExpansionPanelVariant, s as OrExpansionPanelV3 } from './OrExpansionPanelV3-6ed3c8e5.js';
|
|
39
39
|
export { F as FabColor, s as OrFabV3 } from './OrFabV3-70d705c3.js';
|
|
40
40
|
export { s as OrFloating, e as OrFloatingHideStrategy, O as OrFloatingPlacements } from './OrFloating-0d587434.js';
|
|
41
41
|
export { F as FormGroupDirection, s as OrFormGroupV3 } from './OrFormGroupV3-53cf45ee.js';
|
|
@@ -84,7 +84,7 @@ export { default as OrSearch } from './OrSearch/OrSearch.js';
|
|
|
84
84
|
export { OrSearchV3 } from './OrSearchV3/index.js';
|
|
85
85
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControlV3-a23c975e.js';
|
|
86
86
|
export { s as OrSelect } from './OrSelect-c8047252.js';
|
|
87
|
-
export { s as OrSelectV3 } from './OrSelectV3-
|
|
87
|
+
export { s as OrSelectV3 } from './OrSelectV3-bf0d3438.js';
|
|
88
88
|
export { OrSidebar, OrSidebarSide } from './OrSidebar/index.js';
|
|
89
89
|
export { S as OrSidebarPlacement, s as OrSidebarV3, S as SidebarPlacement } from './OrSidebarV3-7b217d46.js';
|
|
90
90
|
export { s as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from './OrSkeleton-abe4522d.js';
|