@onereach/ui-components 2.69.7-beta.2168.0 → 2.69.7-beta.2171.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/{OrCardCollection-aa6b8553.js → OrCardCollection-c4209a92.js} +1 -1
- package/dist/bundled/v2/{OrCheckbox-4f665252.js → OrCheckbox-dbef9f9a.js} +3 -3
- package/dist/bundled/v2/{OrConfirm-dc704484.js → OrConfirm-cab6535b.js} +1 -1
- package/dist/bundled/v2/{OrExpansionPanel-995caa85.js → OrExpansionPanel-d9a260e2.js} +32 -5
- package/dist/bundled/v2/{OrInlineInput-6af4fe07.js → OrInlineInput-9add2e1e.js} +2 -2
- package/dist/bundled/v2/{OrInlineTextarea-ddf84267.js → OrInlineTextarea-9c6f9044.js} +2 -2
- package/dist/bundled/v2/{OrInput-e7b864c1.js → OrInput-8b90e08f.js} +13 -20
- package/dist/bundled/v2/{OrInputBox-de8ce3ac.js → OrInputBox-79ec54ad.js} +12 -2
- package/dist/bundled/v2/{OrRadio-a60fc5c0.js → OrRadio-cd39b20b.js} +3 -3
- package/dist/bundled/v2/{OrSearch-ad84b460.js → OrSearch-76b002cf.js} +2 -2
- package/dist/bundled/v2/{OrSelect-b393f564.js → OrSelect-9658e0f2.js} +5 -13
- package/dist/bundled/v2/{OrSwitch-fe9b7de7.js → OrSwitch-237a2081.js} +3 -3
- package/dist/bundled/v2/{OrTextarea-59fba95c.js → OrTextarea-5593fbe9.js} +11 -14
- package/dist/bundled/v2/components/index.js +13 -14
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +4 -5
- package/dist/bundled/v2/components/or-checkbox-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-confirm-v3/index.js +3 -4
- package/dist/bundled/v2/components/or-expansion-panel-v3/OrExpansionPanel.vue.d.ts +22 -3
- package/dist/bundled/v2/components/or-expansion-panel-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-inline-input-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-input-box-v3/index.js +1 -2
- package/dist/bundled/v2/components/or-input-v3/index.js +2 -3
- package/dist/bundled/v2/components/or-radio-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-search-v3/index.js +3 -4
- package/dist/bundled/v2/components/or-select-v3/OrSelect.vue.d.ts +0 -11
- package/dist/bundled/v2/components/or-select-v3/index.js +5 -6
- package/dist/bundled/v2/components/or-switch-v3/index.js +1 -1
- package/dist/bundled/v2/components/or-textarea-v3/index.js +2 -3
- package/dist/bundled/v2/index.js +14 -15
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-ece2eab6.js → OrCardCollection.vue_vue_type_script_lang-9a2ae9a3.js} +1 -1
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-fcbdf2c6.js → OrConfirm.vue_vue_type_script_lang-f57ffa1a.js} +2 -2
- package/dist/bundled/v3/{OrExpansionPanel.vue_vue_type_script_lang-7f9c6721.js → OrExpansionPanel.vue_vue_type_script_lang-5360f580.js} +31 -4
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-84c521f9.js → OrInlineInput.vue_vue_type_script_lang-f29483f4.js} +2 -2
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-9c58faeb.js → OrInlineTextarea.vue_vue_type_script_lang-cc40af48.js} +2 -2
- package/dist/bundled/v3/{OrInput-4ccc2c7b.js → OrInput-fa782fc1.js} +14 -17
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-96ce8121.js → OrInput.vue_vue_type_script_lang-f6d793d3.js} +4 -5
- package/dist/bundled/v3/{OrInputBox-27aa1cec.js → OrInputBox-eb54d73d.js} +1 -1
- package/dist/{esm/v2/OrInputBox.vue_rollup-plugin-vue_script-328ae841.js → bundled/v3/OrInputBox.vue_vue_type_script_lang-5ee4ee45.js} +2 -3
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-71fbb2fc.js → OrSearch.vue_vue_type_script_lang-014ad470.js} +3 -3
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-363605c5.js → OrSelect.vue_vue_type_script_lang-359d1a58.js} +9 -17
- package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-9f2a0234.js → OrTextarea.vue_vue_type_script_lang-8e3531cd.js} +4 -5
- package/dist/bundled/v3/components/index.js +12 -13
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +6 -7
- package/dist/bundled/v3/components/or-confirm-v3/index.js +5 -6
- package/dist/bundled/v3/components/or-expansion-panel-v3/OrExpansionPanel.vue.d.ts +22 -3
- package/dist/bundled/v3/components/or-expansion-panel-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-inline-input-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +1 -1
- package/dist/bundled/v3/components/or-input-box-v3/index.js +1 -2
- package/dist/bundled/v3/components/or-input-v3/index.js +3 -4
- package/dist/bundled/v3/components/or-search-v3/index.js +5 -6
- package/dist/bundled/v3/components/or-select-v3/OrSelect.vue.d.ts +0 -11
- package/dist/bundled/v3/components/or-select-v3/index.js +6 -7
- package/dist/bundled/v3/components/or-textarea-v3/index.js +3 -4
- package/dist/bundled/v3/index.js +36 -41
- package/dist/esm/v2/{OrCardCollection-fe34fef3.js → OrCardCollection-57d11adf.js} +2 -2
- package/dist/esm/v2/{OrCheckbox-ea48d156.js → OrCheckbox-567e387c.js} +3 -3
- package/dist/esm/v2/{OrConfirm-3bead0be.js → OrConfirm-ec7aef0e.js} +1 -1
- package/dist/esm/v2/{OrExpansionPanel-968ddc61.js → OrExpansionPanel-a123024e.js} +32 -5
- package/dist/esm/v2/{OrInlineInput-e32f322f.js → OrInlineInput-cfeeea33.js} +2 -2
- package/dist/esm/v2/{OrInlineTextarea-7296fbdb.js → OrInlineTextarea-897b5377.js} +2 -2
- package/dist/esm/v2/{OrInput-db0e2368.js → OrInput-2f16a7ac.js} +13 -20
- package/dist/{bundled/v3/OrInputBox.vue_vue_type_script_lang-28353c10.js → esm/v2/OrInputBox-4d5a318d.js} +55 -4
- package/dist/esm/v2/{OrRadio-6e10f071.js → OrRadio-848ce55d.js} +3 -3
- package/dist/esm/v2/{OrSearch-9d9459f5.js → OrSearch-2f260b09.js} +2 -2
- package/dist/esm/v2/{OrSelect-e6aa1b2a.js → OrSelect-7a2f6001.js} +5 -13
- package/dist/esm/v2/{OrSwitch-c628d2c5.js → OrSwitch-13b6a7ee.js} +3 -3
- package/dist/esm/v2/{OrTextarea-52354386.js → OrTextarea-6712a150.js} +11 -14
- package/dist/esm/v2/components/index.js +13 -14
- package/dist/esm/v2/components/or-card-collection-v3/index.js +4 -5
- package/dist/esm/v2/components/or-checkbox-v3/index.js +1 -1
- package/dist/esm/v2/components/or-confirm-v3/index.js +3 -4
- package/dist/esm/v2/components/or-expansion-panel-v3/OrExpansionPanel.vue.d.ts +22 -3
- package/dist/esm/v2/components/or-expansion-panel-v3/index.js +1 -1
- package/dist/esm/v2/components/or-inline-input-v3/index.js +1 -1
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +1 -1
- package/dist/esm/v2/components/or-input-box-v3/index.js +2 -3
- package/dist/esm/v2/components/or-input-v3/index.js +2 -3
- package/dist/esm/v2/components/or-radio-v3/index.js +1 -1
- package/dist/esm/v2/components/or-search-v3/index.js +3 -4
- package/dist/esm/v2/components/or-select-v3/OrSelect.vue.d.ts +0 -11
- package/dist/esm/v2/components/or-select-v3/index.js +5 -6
- package/dist/esm/v2/components/or-switch-v3/index.js +1 -1
- package/dist/esm/v2/components/or-textarea-v3/index.js +2 -3
- package/dist/esm/v2/index.js +13 -14
- package/dist/esm/v3/{OrCardCollection-8a84f69c.js → OrCardCollection-2a6514f3.js} +1 -1
- package/dist/esm/v3/{OrCheckbox-d1b516c8.js → OrCheckbox-3e139eac.js} +2 -3
- package/dist/esm/v3/{OrConfirm-5bd1f4db.js → OrConfirm-5d56cbd3.js} +1 -1
- package/dist/esm/v3/{OrExpansionPanel-311e64cf.js → OrExpansionPanel-f8d7ff8d.js} +32 -5
- package/dist/esm/v3/{OrInlineInput-00f0d1b8.js → OrInlineInput-31026cd0.js} +2 -2
- package/dist/esm/v3/{OrInlineTextarea-c1babfda.js → OrInlineTextarea-b28c3d8c.js} +2 -2
- package/dist/esm/v3/{OrInput-2b447f81.js → OrInput-41691fb3.js} +15 -18
- package/dist/esm/v3/{OrRadio-ef9d4c6e.js → OrRadio-54b6d0de.js} +2 -3
- package/dist/esm/v3/{OrSearch-d72cfc74.js → OrSearch-e5a2e93e.js} +1 -1
- package/dist/esm/v3/{OrSelect-e6e006d5.js → OrSelect-4415b8d2.js} +5 -12
- package/dist/esm/v3/{OrSwitch-cc797a48.js → OrSwitch-cca30aa0.js} +3 -3
- package/dist/esm/v3/{OrTextarea-ed35cd0b.js → OrTextarea-bb9ef3f2.js} +14 -16
- package/dist/esm/v3/components/index.js +12 -12
- package/dist/esm/v3/components/or-card-collection-v3/index.js +3 -3
- package/dist/esm/v3/components/or-checkbox-v3/index.js +1 -1
- package/dist/esm/v3/components/or-confirm-v3/index.js +2 -2
- package/dist/esm/v3/components/or-expansion-panel-v3/OrExpansionPanel.vue.d.ts +22 -3
- package/dist/esm/v3/components/or-expansion-panel-v3/index.js +1 -1
- package/dist/esm/v3/components/or-inline-input-v3/index.js +1 -1
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +1 -1
- package/dist/esm/v3/components/or-input-v3/index.js +1 -1
- package/dist/esm/v3/components/or-radio-v3/index.js +1 -1
- package/dist/esm/v3/components/or-search-v3/index.js +2 -2
- package/dist/esm/v3/components/or-select-v3/OrSelect.vue.d.ts +0 -11
- package/dist/esm/v3/components/or-select-v3/index.js +4 -4
- package/dist/esm/v3/components/or-switch-v3/index.js +1 -1
- package/dist/esm/v3/components/or-textarea-v3/index.js +1 -1
- package/dist/esm/v3/index.js +12 -12
- package/package.json +2 -2
- package/src/components/or-checkbox-v3/OrCheckbox.vue +1 -1
- package/src/components/or-expansion-panel-v3/OrExpansionPanel.stories3.ts +12 -2
- package/src/components/or-expansion-panel-v3/OrExpansionPanel.vue +39 -3
- package/src/components/or-inline-input-v3/styles.ts +2 -2
- package/src/components/or-inline-textarea-v3/styles.ts +2 -2
- package/src/components/or-input-v3/OrInput.vue +22 -28
- package/src/components/or-input-v3/styles.ts +2 -2
- package/src/components/or-radio-v3/OrRadio.vue +1 -1
- package/src/components/or-select-v3/OrSelect.stories3.ts +0 -4
- package/src/components/or-select-v3/OrSelect.vue +0 -6
- package/src/components/or-select-v3/styles.ts +1 -4
- package/src/components/or-switch-v3/OrSwitch.vue +1 -1
- package/src/components/or-textarea-v3/OrTextarea.vue +1 -5
- package/src/components/or-textarea-v3/styles.ts +2 -2
- package/dist/bundled/v2/components/or-combined-input-v3/OrCombinedInput.stories3.d.ts +0 -27
- package/dist/bundled/v2/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +0 -98
- package/dist/bundled/v2/components/or-combined-input-v3/index.d.ts +0 -2
- package/dist/bundled/v2/components/or-combined-input-v3/index.js +0 -149
- package/dist/bundled/v2/components/or-combined-input-v3/props.d.ts +0 -1
- package/dist/bundled/v2/components/or-combined-input-v3/styles.d.ts +0 -2
- package/dist/bundled/v2/props-78496a2d.js +0 -12
- package/dist/bundled/v3/components/or-combined-input-v3/OrCombinedInput.stories3.d.ts +0 -27
- package/dist/bundled/v3/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +0 -98
- package/dist/bundled/v3/components/or-combined-input-v3/index.d.ts +0 -2
- package/dist/bundled/v3/components/or-combined-input-v3/index.js +0 -132
- package/dist/bundled/v3/components/or-combined-input-v3/props.d.ts +0 -1
- package/dist/bundled/v3/components/or-combined-input-v3/styles.d.ts +0 -2
- package/dist/bundled/v3/props-78496a2d.js +0 -12
- package/dist/esm/v2/OrInputBox-9d1193b5.js +0 -43
- package/dist/esm/v2/components/or-combined-input-v3/OrCombinedInput.stories3.d.ts +0 -27
- package/dist/esm/v2/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +0 -98
- package/dist/esm/v2/components/or-combined-input-v3/index.d.ts +0 -2
- package/dist/esm/v2/components/or-combined-input-v3/index.js +0 -147
- package/dist/esm/v2/components/or-combined-input-v3/props.d.ts +0 -1
- package/dist/esm/v2/components/or-combined-input-v3/styles.d.ts +0 -2
- package/dist/esm/v3/components/or-combined-input-v3/OrCombinedInput.stories3.d.ts +0 -27
- package/dist/esm/v3/components/or-combined-input-v3/OrCombinedInput.vue.d.ts +0 -98
- package/dist/esm/v3/components/or-combined-input-v3/index.d.ts +0 -2
- package/dist/esm/v3/components/or-combined-input-v3/index.js +0 -132
- package/dist/esm/v3/components/or-combined-input-v3/props.d.ts +0 -1
- package/dist/esm/v3/components/or-combined-input-v3/styles.d.ts +0 -2
- package/src/components/or-combined-input-v3/OrCombinedInput.docs.mdx +0 -7
- package/src/components/or-combined-input-v3/OrCombinedInput.stories3.ts +0 -202
- package/src/components/or-combined-input-v3/OrCombinedInput.vue +0 -134
- package/src/components/or-combined-input-v3/index.ts +0 -2
- package/src/components/or-combined-input-v3/props.ts +0 -1
- package/src/components/or-combined-input-v3/styles.ts +0 -25
|
@@ -5,7 +5,7 @@ import { s as script$1 } from './OrError-ec8c709d.js';
|
|
|
5
5
|
import { s as script$2 } from './OrHint-74bb732d.js';
|
|
6
6
|
import { s as script$3, a as InputBoxSize } from './OrInputBox-6d1b6059.js';
|
|
7
7
|
import { s as script$4 } from './OrLabel-bdaec602.js';
|
|
8
|
-
import { resolveComponent, openBlock, createElementBlock,
|
|
8
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createVNode, withDirectives, createElementVNode, mergeProps, vModelText, Fragment, createSlots } from 'vue';
|
|
9
9
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
10
10
|
|
|
11
11
|
const TextareaRoot = [
|
|
@@ -14,8 +14,8 @@ const TextareaRoot = [
|
|
|
14
14
|
// Spacing
|
|
15
15
|
'gap-xs'];
|
|
16
16
|
const TextareaControl = [
|
|
17
|
-
//
|
|
18
|
-
'
|
|
17
|
+
// Layout
|
|
18
|
+
'grow',
|
|
19
19
|
// Typography
|
|
20
20
|
'typography-inherit',
|
|
21
21
|
// Theme
|
|
@@ -113,17 +113,16 @@ var script = defineComponent({
|
|
|
113
113
|
}
|
|
114
114
|
});
|
|
115
115
|
|
|
116
|
-
const _hoisted_1 = ["id", "placeholder", "required", "disabled"
|
|
116
|
+
const _hoisted_1 = ["id", "placeholder", "required", "disabled"];
|
|
117
117
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
118
118
|
const _component_OrLabel = resolveComponent("OrLabel");
|
|
119
119
|
const _component_OrInputBox = resolveComponent("OrInputBox");
|
|
120
120
|
const _component_OrHint = resolveComponent("OrHint");
|
|
121
121
|
const _component_OrError = resolveComponent("OrError");
|
|
122
|
-
return openBlock(), createElementBlock("div",
|
|
123
|
-
ref: "root"
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
}), [_ctx.label ? (openBlock(), createBlock(_component_OrLabel, {
|
|
122
|
+
return openBlock(), createElementBlock("div", {
|
|
123
|
+
ref: "root",
|
|
124
|
+
class: normalizeClass(_ctx.rootStyles)
|
|
125
|
+
}, [_ctx.label ? (openBlock(), createBlock(_component_OrLabel, {
|
|
127
126
|
key: 0,
|
|
128
127
|
"control-id": _ctx.controlId,
|
|
129
128
|
variant: 'input',
|
|
@@ -140,20 +139,19 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
140
139
|
readonly: _ctx.readonly,
|
|
141
140
|
disabled: _ctx.disabled
|
|
142
141
|
}, {
|
|
143
|
-
default: withCtx(() => [withDirectives(createElementVNode("textarea", {
|
|
142
|
+
default: withCtx(() => [withDirectives(createElementVNode("textarea", mergeProps({
|
|
144
143
|
id: _ctx.controlId,
|
|
145
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.proxyModelValue = $event)
|
|
146
|
-
|
|
144
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => _ctx.proxyModelValue = $event)
|
|
145
|
+
}, _ctx.$attrs, {
|
|
146
|
+
class: _ctx.controlStyles,
|
|
147
147
|
placeholder: _ctx.placeholder,
|
|
148
148
|
required: _ctx.required,
|
|
149
149
|
disabled: _ctx.disabled,
|
|
150
|
-
readonly: _ctx.readonly,
|
|
151
|
-
maxlength: _ctx.maxLength,
|
|
152
150
|
onKeydown: _cache[1] || (_cache[1] = $event => _ctx.$emit('keydown', $event)),
|
|
153
151
|
onKeyup: _cache[2] || (_cache[2] = $event => _ctx.$emit('keyup', $event)),
|
|
154
152
|
onFocus: _cache[3] || (_cache[3] = $event => _ctx.$emit('focus', $event)),
|
|
155
153
|
onBlur: _cache[4] || (_cache[4] = $event => _ctx.$emit('blur', $event))
|
|
156
|
-
}, null,
|
|
154
|
+
}), null, 16 /* FULL_PROPS */, _hoisted_1), [[vModelText, _ctx.proxyModelValue]])]),
|
|
157
155
|
_: 1 /* STABLE */
|
|
158
156
|
}, 8 /* PROPS */, ["size", "invalid", "readonly", "disabled"]), !_ctx.invalid ? (openBlock(), createElementBlock(Fragment, {
|
|
159
157
|
key: 1
|
|
@@ -181,7 +179,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
181
179
|
fn: withCtx(() => [createTextVNode(toDisplayString(_ctx.currentLength) + " / " + toDisplayString(_ctx.maxLength), 1 /* TEXT */)]),
|
|
182
180
|
|
|
183
181
|
key: "0"
|
|
184
|
-
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"]))],
|
|
182
|
+
} : undefined]), 1032 /* PROPS, DYNAMIC_SLOTS */, ["disabled"]))], 2 /* CLASS */);
|
|
185
183
|
}
|
|
186
184
|
|
|
187
185
|
var css_248z = "\ntextarea[data-v-10a22fb4] {\n min-width: 0;\n background: none;\n outline: none;\n}\n";
|
|
@@ -6,23 +6,23 @@ export { b as BUTTON_COLOR, d as BUTTON_LOADER_TYPE, c as BUTTON_SIZE, B as BUTT
|
|
|
6
6
|
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from '../OrButton-bb6bf8a9.js';
|
|
7
7
|
export { s as OrCard } from '../OrCard-e3a5aea4.js';
|
|
8
8
|
export { C as CARD_COLLECTION_LAYOUT, s as OrCardCollection } from '../OrCardCollection-a5e326ef.js';
|
|
9
|
-
export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection-
|
|
9
|
+
export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../OrCardCollection-2a6514f3.js';
|
|
10
10
|
export { s as OrCardV3 } from '../OrCard-fd92f7c8.js';
|
|
11
11
|
export { a as OrCarousel, s as OrCarouselItem } from '../OrCarouselItem-636d99a1.js';
|
|
12
12
|
export { s as OrCheckbox } from '../OrCheckbox-ed4a19cf.js';
|
|
13
|
-
export { s as OrCheckboxV3 } from '../OrCheckbox-
|
|
13
|
+
export { s as OrCheckboxV3 } from '../OrCheckbox-3e139eac.js';
|
|
14
14
|
export { s as OrChip, a as OrChips } from '../OrChips-9afba42f.js';
|
|
15
15
|
export { s as OrCode, O as OrCodeLanguages } from '../OrCode-5ed69c23.js';
|
|
16
16
|
export { s as OrCollapse } from '../OrCollapse-445141ab.js';
|
|
17
17
|
export { s as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k as brown, c as cyan, j as deepOrange, d as deepPurple, g as green, i as indigo, l as lightBlue, e as lightGreen, f as lime, o as orange, p as pink, a as purple, r as red, t as teal, w as white, y as yellow } from '../OrColorPicker-189cb097.js';
|
|
18
18
|
export { s as OrConfirm } from '../OrConfirm-f39bd784.js';
|
|
19
|
-
export { C as ConfirmType, s as OrConfirmV3 } from '../OrConfirm-
|
|
19
|
+
export { C as ConfirmType, s as OrConfirmV3 } from '../OrConfirm-5d56cbd3.js';
|
|
20
20
|
export { D as DEFAULT_TEXT, s as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from '../OrDateTimePicker-f2e08564.js';
|
|
21
21
|
export { s as OrError } from '../OrError-f90296db.js';
|
|
22
22
|
export { s as OrErrorTagV3 } from '../OrErrorTag-98252eef.js';
|
|
23
23
|
export { s as OrErrorV3 } from '../OrError-ec8c709d.js';
|
|
24
24
|
export { E as EmptyStateSize, s as OrEmptyStateV3 } from '../OrEmptyState-bb8e3145.js';
|
|
25
|
-
export { a as ExpansionPanelColor, E as ExpansionPanelVariant, s as OrExpansionPanelV3 } from '../OrExpansionPanel-
|
|
25
|
+
export { a as ExpansionPanelColor, E as ExpansionPanelVariant, s as OrExpansionPanelV3 } from '../OrExpansionPanel-f8d7ff8d.js';
|
|
26
26
|
export { F as FabColor, s as OrFabV3 } from '../OrFab-c8ae6e01.js';
|
|
27
27
|
export { s as OrFloating, a as OrFloatingHideStrategy, O as OrFloatingPlacements } from '../OrFloating-5240e758.js';
|
|
28
28
|
export { s as OrHint } from '../OrHint-1414c530.js';
|
|
@@ -31,11 +31,11 @@ export { s as OrIcon, O as OrIconColors, a as OrIconType } from '../OrIcon-66950
|
|
|
31
31
|
export { I as IconButtonColor, s as OrIconButtonV3 } from '../OrIconButton-1eebcafc.js';
|
|
32
32
|
export { I as IconButtonSize, I as IconSize, a as IconVariant, s as OrIconV3 } from '../OrIcon-b195169c.js';
|
|
33
33
|
export { I as InlineInputBoxSize, I as InlineInputSize, s as OrInlineInputBoxV3 } from '../OrInlineInputBox-8049f95a.js';
|
|
34
|
-
export { I as InlineInputType, s as OrInlineInputV3 } from '../OrInlineInput-
|
|
34
|
+
export { I as InlineInputType, s as OrInlineInputV3 } from '../OrInlineInput-31026cd0.js';
|
|
35
35
|
export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, s as OrInlineTextEdit } from '../OrInlineTextEdit-1aa477b5.js';
|
|
36
|
-
export { s as OrInlineTextareaV3 } from '../OrInlineTextarea-
|
|
36
|
+
export { s as OrInlineTextareaV3 } from '../OrInlineTextarea-b28c3d8c.js';
|
|
37
37
|
export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, s as OrInputBoxV3, a as SearchSize, a as SelectSize, a as TextareaSize } from '../OrInputBox-6d1b6059.js';
|
|
38
|
-
export { I as InputType, s as OrInputV3 } from '../OrInput-
|
|
38
|
+
export { I as InputType, s as OrInputV3 } from '../OrInput-41691fb3.js';
|
|
39
39
|
export { a as OrInput, b as OrNumberInput, c as OrPassword, d as OrSearch, s as OrTextarea } from '../OrSearch-7cb2c91c.js';
|
|
40
40
|
export { s as OrLabel } from '../OrLabel-876f8729.js';
|
|
41
41
|
export { L as LabelVariant, s as OrLabelV3 } from '../OrLabel-bdaec602.js';
|
|
@@ -58,11 +58,11 @@ export { s as OrProgress, O as OrProgressColors, a as OrProgressTypes } from '..
|
|
|
58
58
|
export { s as OrProgressV3, P as ProgressColor, a as ProgressType } from '../OrProgress-407002e0.js';
|
|
59
59
|
export { s as OrRadio } from '../OrRadio-c3ab11f2.js';
|
|
60
60
|
export { s as OrRadioGroup } from '../OrRadioGroup-00785e41.js';
|
|
61
|
-
export { s as OrRadioV3 } from '../OrRadio-
|
|
62
|
-
export { s as OrSearchV3 } from '../OrSearch-
|
|
61
|
+
export { s as OrRadioV3 } from '../OrRadio-54b6d0de.js';
|
|
62
|
+
export { s as OrSearchV3 } from '../OrSearch-e5a2e93e.js';
|
|
63
63
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from '../OrSegmentedControl-171cad78.js';
|
|
64
64
|
export { s as OrSelect } from '../OrSelect-0821b907.js';
|
|
65
|
-
export { s as OrSelectV3 } from '../OrSelect-
|
|
65
|
+
export { s as OrSelectV3 } from '../OrSelect-4415b8d2.js';
|
|
66
66
|
export { s as OrSidebar, O as OrSidebarSide } from '../OrSidebar-375c85a3.js';
|
|
67
67
|
export { O as OrSidebarPlacement, s as OrSidebarV3 } from '../OrSidebar-a62972f5.js';
|
|
68
68
|
export { s as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from '../OrSkeletonText-2b1610ce.js';
|
|
@@ -71,7 +71,7 @@ export { s as OrSlider } from '../OrSlider-87e2da8c.js';
|
|
|
71
71
|
export { s as OrSortHeaderV3 } from '../OrSortHeader-fe1a9cf8.js';
|
|
72
72
|
export { s as OrStepper } from '../OrStepper-f19b4eac.js';
|
|
73
73
|
export { s as OrSwitch } from '../OrSwitch-c333ee32.js';
|
|
74
|
-
export { s as OrSwitchV3 } from '../OrSwitch-
|
|
74
|
+
export { s as OrSwitchV3 } from '../OrSwitch-cca30aa0.js';
|
|
75
75
|
export { s as OrTab } from '../OrTab-bc98be02.js';
|
|
76
76
|
export { s as OrTabHeaderItem } from '../OrTabHeaderItem-d668cc59.js';
|
|
77
77
|
export { s as OrTabV3 } from '../OrTab-c131cf60.js';
|
|
@@ -82,7 +82,7 @@ export { s as OrTagV3, a as TagColor, T as TagVariant } from '../OrTag-c0bbaa58.
|
|
|
82
82
|
export { s as OrTeleport } from '../OrTeleportVue3-ad639f12.js';
|
|
83
83
|
export { s as OrTeleportV3 } from '../OrTeleport.vue3-8099178c.js';
|
|
84
84
|
export { s as OrTextV3 } from '../OrText-ecb46923.js';
|
|
85
|
-
export { s as OrTextareaV3 } from '../OrTextarea-
|
|
85
|
+
export { s as OrTextareaV3 } from '../OrTextarea-bb9ef3f2.js';
|
|
86
86
|
export { s as OrTextbox, T as TextboxTypes } from '../OrTextbox-2f33e9c3.js';
|
|
87
87
|
export { s as OrToast, a as OrToastContainer } from '../OrToastContainer-40c4c1c8.js';
|
|
88
88
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from '../useToast-4fbe0e5a.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection-
|
|
1
|
+
export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from '../../OrCardCollection-2a6514f3.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import '../../useClassAttribute-47fdb016.js';
|
|
4
4
|
import '@vueuse/core';
|
|
@@ -17,8 +17,8 @@ import '../../OrMenu-840038cd.js';
|
|
|
17
17
|
import '../../OrMenuItem-9da279f6.js';
|
|
18
18
|
import '../../OrButton-bb6bf8a9.js';
|
|
19
19
|
import '../../OrLoader-b3cf4231.js';
|
|
20
|
-
import '../../OrSearch-
|
|
21
|
-
import '../../OrInput-
|
|
20
|
+
import '../../OrSearch-e5a2e93e.js';
|
|
21
|
+
import '../../OrInput-41691fb3.js';
|
|
22
22
|
import '../../OrError-ec8c709d.js';
|
|
23
23
|
import '../../OrHint-74bb732d.js';
|
|
24
24
|
import '../../OrInputBox-6d1b6059.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as ConfirmType, s as OrConfirmV3 } from '../../OrConfirm-
|
|
1
|
+
export { C as ConfirmType, s as OrConfirmV3 } from '../../OrConfirm-5d56cbd3.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import '../../OrButton-bb6bf8a9.js';
|
|
4
4
|
import '../../useClassAttribute-47fdb016.js';
|
|
@@ -8,7 +8,7 @@ import 'vue';
|
|
|
8
8
|
import '../../OrOverlay-738a44d5.js';
|
|
9
9
|
import '../../useElevation-31bfe1f6.js';
|
|
10
10
|
import '../../OrTeleport.vue3-8099178c.js';
|
|
11
|
-
import '../../OrInput-
|
|
11
|
+
import '../../OrInput-41691fb3.js';
|
|
12
12
|
import '../../OrError-ec8c709d.js';
|
|
13
13
|
import '../../OrHint-74bb732d.js';
|
|
14
14
|
import '../../OrIconButton-1eebcafc.js';
|
|
@@ -6,11 +6,17 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
6
6
|
headerStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
7
7
|
addonStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
8
8
|
expanded: import("@vue/composition-api").Ref<boolean>;
|
|
9
|
+
open: () => void;
|
|
10
|
+
close: () => void;
|
|
9
11
|
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
10
12
|
label: {
|
|
11
13
|
type: StringConstructor;
|
|
12
14
|
required: true;
|
|
13
15
|
};
|
|
16
|
+
isOpen: {
|
|
17
|
+
type: PropType<boolean>;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
14
20
|
variant: {
|
|
15
21
|
type: PropType<ExpansionPanelVariant>;
|
|
16
22
|
default: ExpansionPanelVariant;
|
|
@@ -28,6 +34,10 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
28
34
|
type: StringConstructor;
|
|
29
35
|
required: true;
|
|
30
36
|
};
|
|
37
|
+
isOpen: {
|
|
38
|
+
type: PropType<boolean>;
|
|
39
|
+
default: boolean;
|
|
40
|
+
};
|
|
31
41
|
variant: {
|
|
32
42
|
type: PropType<ExpansionPanelVariant>;
|
|
33
43
|
default: ExpansionPanelVariant;
|
|
@@ -42,21 +52,30 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
42
52
|
};
|
|
43
53
|
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
44
54
|
label: string;
|
|
55
|
+
isOpen: boolean;
|
|
45
56
|
variant: ExpansionPanelVariant;
|
|
46
57
|
color: ExpansionPanelColor;
|
|
47
58
|
disabled: boolean;
|
|
48
|
-
} & {}
|
|
59
|
+
} & {} & {
|
|
60
|
+
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
61
|
+
}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
49
62
|
root: import("@vue/composition-api").Ref<HTMLElement | undefined>;
|
|
50
63
|
rootStyles: import("@vue/composition-api").ComputedRef<(string | undefined)[]>;
|
|
51
64
|
headerStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
52
65
|
addonStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
53
66
|
expanded: import("@vue/composition-api").Ref<boolean>;
|
|
54
|
-
|
|
67
|
+
open: () => void;
|
|
68
|
+
close: () => void;
|
|
69
|
+
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
55
70
|
label: string;
|
|
71
|
+
isOpen: boolean;
|
|
56
72
|
variant: ExpansionPanelVariant;
|
|
57
73
|
color: ExpansionPanelColor;
|
|
58
74
|
disabled: boolean;
|
|
59
|
-
} & {}
|
|
75
|
+
} & {} & {
|
|
76
|
+
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
77
|
+
}, {
|
|
78
|
+
isOpen: boolean;
|
|
60
79
|
variant: ExpansionPanelVariant;
|
|
61
80
|
color: ExpansionPanelColor;
|
|
62
81
|
disabled: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a as ExpansionPanelColor, E as ExpansionPanelVariant, s as OrExpansionPanelV3 } from '../../OrExpansionPanel-
|
|
1
|
+
export { a as ExpansionPanelColor, E as ExpansionPanelVariant, s as OrExpansionPanelV3 } from '../../OrExpansionPanel-f8d7ff8d.js';
|
|
2
2
|
import 'vue-demi';
|
|
3
3
|
import '../../useClassAttribute-47fdb016.js';
|
|
4
4
|
import '@vueuse/core';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { I as InlineInputType, s as OrInlineInputV3 } from '../../OrInlineInput-
|
|
1
|
+
export { I as InlineInputType, s as OrInlineInputV3 } from '../../OrInlineInput-31026cd0.js';
|
|
2
2
|
export { I as InlineInputSize } from '../../OrInlineInputBox-8049f95a.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../useClassAttribute-47fdb016.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { I as InputType, s as OrInputV3 } from '../../OrInput-
|
|
1
|
+
export { I as InputType, s as OrInputV3 } from '../../OrInput-41691fb3.js';
|
|
2
2
|
export { a as InputSize } from '../../OrInputBox-6d1b6059.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../useClassAttribute-47fdb016.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { s as OrSearchV3 } from '../../OrSearch-
|
|
1
|
+
export { s as OrSearchV3 } from '../../OrSearch-e5a2e93e.js';
|
|
2
2
|
export { a as SearchSize } from '../../OrInputBox-6d1b6059.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '@vueuse/core';
|
|
5
5
|
import '../../useClassAttribute-47fdb016.js';
|
|
6
|
-
import '../../OrInput-
|
|
6
|
+
import '../../OrInput-41691fb3.js';
|
|
7
7
|
import '../../OrError-ec8c709d.js';
|
|
8
8
|
import 'vue';
|
|
9
9
|
import '../../OrHint-74bb732d.js';
|
|
@@ -88,10 +88,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
88
88
|
type: BooleanConstructor;
|
|
89
89
|
default: boolean;
|
|
90
90
|
};
|
|
91
|
-
disableDefaultStyles: {
|
|
92
|
-
type: BooleanConstructor;
|
|
93
|
-
default: boolean;
|
|
94
|
-
};
|
|
95
91
|
enableSearch: {
|
|
96
92
|
type: BooleanConstructor;
|
|
97
93
|
default: boolean;
|
|
@@ -157,10 +153,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
157
153
|
type: BooleanConstructor;
|
|
158
154
|
default: boolean;
|
|
159
155
|
};
|
|
160
|
-
disableDefaultStyles: {
|
|
161
|
-
type: BooleanConstructor;
|
|
162
|
-
default: boolean;
|
|
163
|
-
};
|
|
164
156
|
enableSearch: {
|
|
165
157
|
type: BooleanConstructor;
|
|
166
158
|
default: boolean;
|
|
@@ -190,7 +182,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
190
182
|
error: string;
|
|
191
183
|
required: boolean;
|
|
192
184
|
disabled: boolean;
|
|
193
|
-
disableDefaultStyles: boolean;
|
|
194
185
|
enableSearch: boolean;
|
|
195
186
|
searchFunction: SelectSearchFunction;
|
|
196
187
|
groupByFunction: SelectGroupByFunction;
|
|
@@ -248,7 +239,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
248
239
|
error: string;
|
|
249
240
|
required: boolean;
|
|
250
241
|
disabled: boolean;
|
|
251
|
-
disableDefaultStyles: boolean;
|
|
252
242
|
enableSearch: boolean;
|
|
253
243
|
searchFunction: SelectSearchFunction;
|
|
254
244
|
groupByFunction: SelectGroupByFunction;
|
|
@@ -268,7 +258,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
268
258
|
error: string;
|
|
269
259
|
required: boolean;
|
|
270
260
|
disabled: boolean;
|
|
271
|
-
disableDefaultStyles: boolean;
|
|
272
261
|
enableSearch: boolean;
|
|
273
262
|
searchFunction: SelectSearchFunction;
|
|
274
263
|
groupByFunction: SelectGroupByFunction;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export { s as OrSelectV3 } from '../../OrSelect-
|
|
1
|
+
export { s as OrSelectV3 } from '../../OrSelect-4415b8d2.js';
|
|
2
2
|
export { a as SelectSize } from '../../OrInputBox-6d1b6059.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../../dropdown-open-0d314aa4.js';
|
|
5
5
|
import '../../useClassAttribute-47fdb016.js';
|
|
6
6
|
import '../../useOverflow-af6161c8.js';
|
|
7
7
|
import '@vueuse/core';
|
|
8
|
-
import '../../OrCheckbox-
|
|
8
|
+
import '../../OrCheckbox-3e139eac.js';
|
|
9
9
|
import '../../OrLabel-bdaec602.js';
|
|
10
10
|
import 'vue';
|
|
11
11
|
import '../../style-inject.es-4c6f2515.js';
|
|
12
12
|
import '../../OrError-ec8c709d.js';
|
|
13
|
-
import '../../OrExpansionPanel-
|
|
13
|
+
import '../../OrExpansionPanel-f8d7ff8d.js';
|
|
14
14
|
import '../../OrIcon-b195169c.js';
|
|
15
15
|
import '../../OrHint-74bb732d.js';
|
|
16
|
-
import '../../OrInput-
|
|
16
|
+
import '../../OrInput-41691fb3.js';
|
|
17
17
|
import '../../OrIconButton-1eebcafc.js';
|
|
18
18
|
import '../../OrTooltip-50d27b4f.js';
|
|
19
19
|
import '../../OrPopover-1075dd38.js';
|
package/dist/esm/v3/index.js
CHANGED
|
@@ -6,23 +6,23 @@ export { b as BUTTON_COLOR, d as BUTTON_LOADER_TYPE, c as BUTTON_SIZE, B as BUTT
|
|
|
6
6
|
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from './OrButton-bb6bf8a9.js';
|
|
7
7
|
export { s as OrCard } from './OrCard-e3a5aea4.js';
|
|
8
8
|
export { C as CARD_COLLECTION_LAYOUT, s as OrCardCollection } from './OrCardCollection-a5e326ef.js';
|
|
9
|
-
export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-
|
|
9
|
+
export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-2a6514f3.js';
|
|
10
10
|
export { s as OrCardV3 } from './OrCard-fd92f7c8.js';
|
|
11
11
|
export { a as OrCarousel, s as OrCarouselItem } from './OrCarouselItem-636d99a1.js';
|
|
12
12
|
export { s as OrCheckbox } from './OrCheckbox-ed4a19cf.js';
|
|
13
|
-
export { s as OrCheckboxV3 } from './OrCheckbox-
|
|
13
|
+
export { s as OrCheckboxV3 } from './OrCheckbox-3e139eac.js';
|
|
14
14
|
export { s as OrChip, a as OrChips } from './OrChips-9afba42f.js';
|
|
15
15
|
export { s as OrCode, O as OrCodeLanguages } from './OrCode-5ed69c23.js';
|
|
16
16
|
export { s as OrCollapse } from './OrCollapse-445141ab.js';
|
|
17
17
|
export { s as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k as brown, c as cyan, j as deepOrange, d as deepPurple, g as green, i as indigo, l as lightBlue, e as lightGreen, f as lime, o as orange, p as pink, a as purple, r as red, t as teal, w as white, y as yellow } from './OrColorPicker-189cb097.js';
|
|
18
18
|
export { s as OrConfirm } from './OrConfirm-f39bd784.js';
|
|
19
|
-
export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-
|
|
19
|
+
export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-5d56cbd3.js';
|
|
20
20
|
export { D as DEFAULT_TEXT, s as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from './OrDateTimePicker-f2e08564.js';
|
|
21
21
|
export { s as OrError } from './OrError-f90296db.js';
|
|
22
22
|
export { s as OrErrorTagV3 } from './OrErrorTag-98252eef.js';
|
|
23
23
|
export { s as OrErrorV3 } from './OrError-ec8c709d.js';
|
|
24
24
|
export { E as EmptyStateSize, s as OrEmptyStateV3 } from './OrEmptyState-bb8e3145.js';
|
|
25
|
-
export { a as ExpansionPanelColor, E as ExpansionPanelVariant, s as OrExpansionPanelV3 } from './OrExpansionPanel-
|
|
25
|
+
export { a as ExpansionPanelColor, E as ExpansionPanelVariant, s as OrExpansionPanelV3 } from './OrExpansionPanel-f8d7ff8d.js';
|
|
26
26
|
export { F as FabColor, s as OrFabV3 } from './OrFab-c8ae6e01.js';
|
|
27
27
|
export { s as OrFloating, a as OrFloatingHideStrategy, O as OrFloatingPlacements } from './OrFloating-5240e758.js';
|
|
28
28
|
export { s as OrHint } from './OrHint-1414c530.js';
|
|
@@ -31,11 +31,11 @@ export { s as OrIcon, O as OrIconColors, a as OrIconType } from './OrIcon-669503
|
|
|
31
31
|
export { I as IconButtonColor, s as OrIconButtonV3 } from './OrIconButton-1eebcafc.js';
|
|
32
32
|
export { I as IconButtonSize, I as IconSize, a as IconVariant, s as OrIconV3 } from './OrIcon-b195169c.js';
|
|
33
33
|
export { I as InlineInputBoxSize, I as InlineInputSize, s as OrInlineInputBoxV3 } from './OrInlineInputBox-8049f95a.js';
|
|
34
|
-
export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-
|
|
34
|
+
export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-31026cd0.js';
|
|
35
35
|
export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, s as OrInlineTextEdit } from './OrInlineTextEdit-1aa477b5.js';
|
|
36
|
-
export { s as OrInlineTextareaV3 } from './OrInlineTextarea-
|
|
36
|
+
export { s as OrInlineTextareaV3 } from './OrInlineTextarea-b28c3d8c.js';
|
|
37
37
|
export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, s as OrInputBoxV3, a as SearchSize, a as SelectSize, a as TextareaSize } from './OrInputBox-6d1b6059.js';
|
|
38
|
-
export { I as InputType, s as OrInputV3 } from './OrInput-
|
|
38
|
+
export { I as InputType, s as OrInputV3 } from './OrInput-41691fb3.js';
|
|
39
39
|
export { a as OrInput, b as OrNumberInput, c as OrPassword, d as OrSearch, s as OrTextarea } from './OrSearch-7cb2c91c.js';
|
|
40
40
|
export { s as OrLabel } from './OrLabel-876f8729.js';
|
|
41
41
|
export { L as LabelVariant, s as OrLabelV3 } from './OrLabel-bdaec602.js';
|
|
@@ -58,11 +58,11 @@ export { s as OrProgress, O as OrProgressColors, a as OrProgressTypes } from './
|
|
|
58
58
|
export { s as OrProgressV3, P as ProgressColor, a as ProgressType } from './OrProgress-407002e0.js';
|
|
59
59
|
export { s as OrRadio } from './OrRadio-c3ab11f2.js';
|
|
60
60
|
export { s as OrRadioGroup } from './OrRadioGroup-00785e41.js';
|
|
61
|
-
export { s as OrRadioV3 } from './OrRadio-
|
|
62
|
-
export { s as OrSearchV3 } from './OrSearch-
|
|
61
|
+
export { s as OrRadioV3 } from './OrRadio-54b6d0de.js';
|
|
62
|
+
export { s as OrSearchV3 } from './OrSearch-e5a2e93e.js';
|
|
63
63
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-171cad78.js';
|
|
64
64
|
export { s as OrSelect } from './OrSelect-0821b907.js';
|
|
65
|
-
export { s as OrSelectV3 } from './OrSelect-
|
|
65
|
+
export { s as OrSelectV3 } from './OrSelect-4415b8d2.js';
|
|
66
66
|
export { s as OrSidebar, O as OrSidebarSide } from './OrSidebar-375c85a3.js';
|
|
67
67
|
export { O as OrSidebarPlacement, s as OrSidebarV3 } from './OrSidebar-a62972f5.js';
|
|
68
68
|
export { s as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from './OrSkeletonText-2b1610ce.js';
|
|
@@ -71,7 +71,7 @@ export { s as OrSlider } from './OrSlider-87e2da8c.js';
|
|
|
71
71
|
export { s as OrSortHeaderV3 } from './OrSortHeader-fe1a9cf8.js';
|
|
72
72
|
export { s as OrStepper } from './OrStepper-f19b4eac.js';
|
|
73
73
|
export { s as OrSwitch } from './OrSwitch-c333ee32.js';
|
|
74
|
-
export { s as OrSwitchV3 } from './OrSwitch-
|
|
74
|
+
export { s as OrSwitchV3 } from './OrSwitch-cca30aa0.js';
|
|
75
75
|
export { s as OrTab } from './OrTab-bc98be02.js';
|
|
76
76
|
export { s as OrTabHeaderItem } from './OrTabHeaderItem-d668cc59.js';
|
|
77
77
|
export { s as OrTabV3 } from './OrTab-c131cf60.js';
|
|
@@ -82,7 +82,7 @@ export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-c0bbaa58.j
|
|
|
82
82
|
export { s as OrTeleport } from './OrTeleportVue3-ad639f12.js';
|
|
83
83
|
export { s as OrTeleportV3 } from './OrTeleport.vue3-8099178c.js';
|
|
84
84
|
export { s as OrTextV3 } from './OrText-ecb46923.js';
|
|
85
|
-
export { s as OrTextareaV3 } from './OrTextarea-
|
|
85
|
+
export { s as OrTextareaV3 } from './OrTextarea-bb9ef3f2.js';
|
|
86
86
|
export { s as OrTextbox, T as TextboxTypes } from './OrTextbox-2f33e9c3.js';
|
|
87
87
|
export { s as OrToast, a as OrToastContainer } from './OrToastContainer-40c4c1c8.js';
|
|
88
88
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from './useToast-4fbe0e5a.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onereach/ui-components",
|
|
3
|
-
"version": "2.69.7-beta.
|
|
3
|
+
"version": "2.69.7-beta.2171.0",
|
|
4
4
|
"description": "Vue components library for v2/3",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./dist/auto/index.js",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@codemirror/lang-json": "6.0.0",
|
|
39
39
|
"@codemirror/lang-markdown": "6.0.1",
|
|
40
40
|
"@floating-ui/dom": "0.3.1",
|
|
41
|
-
"@onereach/styles": "^2.33.
|
|
41
|
+
"@onereach/styles": "^2.33.0",
|
|
42
42
|
"@splidejs/splide": "4.0.6",
|
|
43
43
|
"@types/lodash": "4.14.173",
|
|
44
44
|
"@types/sortablejs": "1.10.7",
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { Meta, StoryFn } from '@storybook/vue3';
|
|
2
|
+
import { action } from '@storybook/addon-actions';
|
|
3
|
+
|
|
2
4
|
import { OrIconV3 as OrIcon } from '../or-icon-v3';
|
|
3
5
|
import OrExpansionPanelDocs from './OrExpansionPanel.docs.mdx';
|
|
4
6
|
import OrExpansionPanel from './OrExpansionPanel.vue';
|
|
@@ -67,11 +69,19 @@ const Template: StoryFn<typeof OrExpansionPanel> = (args) => ({
|
|
|
67
69
|
},
|
|
68
70
|
|
|
69
71
|
setup() {
|
|
70
|
-
return {
|
|
72
|
+
return {
|
|
73
|
+
args,
|
|
74
|
+
handleOpen: action('open'),
|
|
75
|
+
handleClose: action('close'),
|
|
76
|
+
};
|
|
71
77
|
},
|
|
72
78
|
|
|
73
79
|
template: `
|
|
74
|
-
<OrExpansionPanel
|
|
80
|
+
<OrExpansionPanel
|
|
81
|
+
v-bind="args"
|
|
82
|
+
@open="handleOpen"
|
|
83
|
+
@close="handleClose"
|
|
84
|
+
>
|
|
75
85
|
${args.default}
|
|
76
86
|
|
|
77
87
|
<template #addon>
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
:class="headerStyles"
|
|
11
11
|
:tabindex="!disabled ? 0 : null"
|
|
12
12
|
:disabled="disabled ? '' : null"
|
|
13
|
-
@click.stop="expanded
|
|
13
|
+
@click.stop="expanded ? close(): open()"
|
|
14
14
|
>
|
|
15
15
|
<OrIcon
|
|
16
16
|
:class="[expanded ? 'rotate-0' : 'rotate-[-90deg]']"
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
</template>
|
|
34
34
|
|
|
35
35
|
<script lang="ts">
|
|
36
|
-
import { computed, defineComponent, PropType, ref } from 'vue-demi';
|
|
36
|
+
import { computed, defineComponent, PropType, ref, watch } from 'vue-demi';
|
|
37
37
|
import { useClassAttribute } from '../../hooks';
|
|
38
38
|
import { OrIconV3 as OrIcon } from '../or-icon-v3';
|
|
39
39
|
import { ExpansionPanelColor, ExpansionPanelVariant } from './props';
|
|
@@ -54,6 +54,11 @@ export default defineComponent({
|
|
|
54
54
|
required: true,
|
|
55
55
|
},
|
|
56
56
|
|
|
57
|
+
isOpen: {
|
|
58
|
+
type: Boolean as PropType<boolean>,
|
|
59
|
+
default: false,
|
|
60
|
+
},
|
|
61
|
+
|
|
57
62
|
variant: {
|
|
58
63
|
type: String as PropType<ExpansionPanelVariant>,
|
|
59
64
|
default: ExpansionPanelVariant.Default,
|
|
@@ -70,11 +75,18 @@ export default defineComponent({
|
|
|
70
75
|
},
|
|
71
76
|
},
|
|
72
77
|
|
|
78
|
+
emits: [
|
|
79
|
+
'open',
|
|
80
|
+
'close',
|
|
81
|
+
],
|
|
82
|
+
|
|
73
83
|
expose: [
|
|
74
84
|
'root',
|
|
85
|
+
'open',
|
|
86
|
+
'close',
|
|
75
87
|
],
|
|
76
88
|
|
|
77
|
-
setup(props) {
|
|
89
|
+
setup(props, context) {
|
|
78
90
|
// Refs
|
|
79
91
|
const root = ref<HTMLElement>();
|
|
80
92
|
|
|
@@ -100,12 +112,36 @@ export default defineComponent({
|
|
|
100
112
|
// State
|
|
101
113
|
const expanded = ref(false);
|
|
102
114
|
|
|
115
|
+
// Events
|
|
116
|
+
watch(expanded, (value) => {
|
|
117
|
+
context.emit(value ? 'open' : 'close');
|
|
118
|
+
});
|
|
119
|
+
|
|
120
|
+
watch(() => props.isOpen, (newIsOpen) => {
|
|
121
|
+
if (newIsOpen) {
|
|
122
|
+
open();
|
|
123
|
+
} else {
|
|
124
|
+
close();
|
|
125
|
+
}
|
|
126
|
+
}, { immediate: true });
|
|
127
|
+
|
|
128
|
+
// Methods
|
|
129
|
+
function open(): void {
|
|
130
|
+
expanded.value = true;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
function close(): void {
|
|
134
|
+
expanded.value = false;
|
|
135
|
+
}
|
|
136
|
+
|
|
103
137
|
return {
|
|
104
138
|
root,
|
|
105
139
|
rootStyles,
|
|
106
140
|
headerStyles,
|
|
107
141
|
addonStyles,
|
|
108
142
|
expanded,
|
|
143
|
+
open,
|
|
144
|
+
close,
|
|
109
145
|
};
|
|
110
146
|
},
|
|
111
147
|
});
|