@onereach/ui-components 3.0.4-beta.2502.0 → 3.0.4-beta.2505.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.
Files changed (52) hide show
  1. package/dist/bundled/v2/{OrDatePicker-19e467e2.js → OrDatePicker-9501411f.js} +1 -1
  2. package/dist/bundled/v2/{OrDateTimePicker-1011dc69.js → OrDateTimePicker-86460841.js} +2 -2
  3. package/dist/bundled/v2/{OrTimePicker-1b3a758a.js → OrTimePicker-8eb90e22.js} +1 -1
  4. package/dist/bundled/v2/components/index.js +3 -3
  5. package/dist/bundled/v2/components/or-date-picker-v3/index.js +1 -1
  6. package/dist/bundled/v2/components/or-date-time-picker-v3/index.js +1 -1
  7. package/dist/bundled/v2/components/or-time-picker-v3/index.js +1 -1
  8. package/dist/bundled/v2/index.js +3 -3
  9. package/dist/bundled/v3/index.js +4 -4
  10. package/dist/esm/v2/{OrDatePicker-454f5267.js → OrDatePicker-816c3d28.js} +1 -1
  11. package/dist/esm/v2/{OrDateTimePicker-3f533d0c.js → OrDateTimePicker-bfa205b5.js} +2 -2
  12. package/dist/esm/v2/{OrTimePicker-f23c8577.js → OrTimePicker-66cf402d.js} +1 -1
  13. package/dist/esm/v2/components/index.js +3 -3
  14. package/dist/esm/v2/components/or-date-picker-v3/index.js +1 -1
  15. package/dist/esm/v2/components/or-date-time-picker-v3/index.js +1 -1
  16. package/dist/esm/v2/components/or-time-picker-v3/index.js +1 -1
  17. package/dist/esm/v2/index.js +3 -3
  18. package/dist/esm/v3/{OrDatePicker-390f7f11.js → OrDatePicker-4c200902.js} +1 -1
  19. package/dist/esm/v3/{OrDateTimePicker-54db4170.js → OrDateTimePicker-e0552821.js} +2 -2
  20. package/dist/esm/v3/{OrTimePicker-362ca566.js → OrTimePicker-b96ec56f.js} +1 -1
  21. package/dist/esm/v3/components/index.js +3 -3
  22. package/dist/esm/v3/components/or-date-picker-v3/index.js +1 -1
  23. package/dist/esm/v3/components/or-date-time-picker-v3/index.js +1 -1
  24. package/dist/esm/v3/components/or-time-picker-v3/index.js +1 -1
  25. package/dist/esm/v3/index.js +3 -3
  26. package/package.json +2 -2
  27. package/src/components/or-checkbox-v3/OrCheckbox.stories3.ts +1 -1
  28. package/src/components/or-combined-input-v3/OrCombinedInput.stories3.ts +1 -1
  29. package/src/components/or-date-picker-v3/OrDatePicker.stories3.ts +1 -1
  30. package/src/components/or-date-picker-v3/OrDatePicker.vue +2 -1
  31. package/src/components/or-date-time-picker-v3/OrDateTimePicker.stories3.ts +1 -1
  32. package/src/components/or-date-time-picker-v3/OrDateTimePicker.vue +3 -2
  33. package/src/components/or-inline-input-v3/OrInlineInput.stories3.ts +1 -1
  34. package/src/components/or-inline-textarea-v3/OrInlineTextarea.stories3.ts +1 -1
  35. package/src/components/or-input-v3/OrInput.stories3.ts +2 -2
  36. package/src/components/or-radio-v3/OrRadio.stories3.ts +1 -1
  37. package/src/components/or-segmented-control-v3/OrSegmentedControl.stories3.ts +1 -1
  38. package/src/components/or-select-v3/OrSelect.stories3.ts +1 -1
  39. package/src/components/or-switch-v3/OrSwitch.stories3.ts +1 -1
  40. package/src/components/or-textarea-v3/OrTextarea.stories3.ts +1 -1
  41. package/src/components/or-time-picker-v3/OrTimePicker.stories3.ts +1 -1
  42. package/src/components/or-time-picker-v3/OrTimePicker.vue +1 -1
  43. package/src/components/or-error-v3/OrError.docs.mdx +0 -7
  44. package/src/components/or-error-v3/OrError.stories3.ts +0 -77
  45. package/src/components/or-hint-v3/OrHint.docs.mdx +0 -7
  46. package/src/components/or-hint-v3/OrHint.stories3.ts +0 -77
  47. package/src/components/or-inline-input-box-v3/OrInlineInputBox.docs.mdx +0 -3
  48. package/src/components/or-inline-input-box-v3/OrInlineInputBox.stories3.ts +0 -67
  49. package/src/components/or-input-box-v3/OrInputBox.docs.mdx +0 -3
  50. package/src/components/or-input-box-v3/OrInputBox.stories3.ts +0 -80
  51. package/src/components/or-label-v3/OrLabel.docs.mdx +0 -11
  52. package/src/components/or-label-v3/OrLabel.stories3.ts +0 -91
@@ -235,7 +235,7 @@ var __vue_render__ = function () {
235
235
  "readonly": _vm.readonly,
236
236
  "disabled": _vm.disabled
237
237
  }
238
- }, 'div', _vm.controlAttributes, false), [_vm._v("\n " + _vm._s(_vm.formatDate(_vm.proxyModelValue)) + "\n ")]), _vm._v(" "), _c('OrPopover', {
238
+ }, 'div', _vm.controlAttributes, false), [_vm._v("\n " + _vm._s(_vm.formatDate(_vm.draftModelValue)) + "\n ")]), _vm._v(" "), _c('OrPopover', {
239
239
  ref: "popover",
240
240
  attrs: {
241
241
  "variant": 'auto',
@@ -284,7 +284,7 @@ var __vue_render__ = function () {
284
284
  "readonly": _vm.readonly,
285
285
  "disabled": _vm.disabled
286
286
  }
287
- }, 'div', _vm.controlAttributes, false), [_vm._v("\n " + _vm._s(_vm.formatDate(_vm.proxyModelValue)) + "\n ")]), _vm._v(" "), _c('div', _vm._b({
287
+ }, 'div', _vm.controlAttributes, false), [_vm._v("\n " + _vm._s(_vm.formatDate(_vm.draftModelValue)) + "\n ")]), _vm._v(" "), _c('div', _vm._b({
288
288
  directives: [{
289
289
  name: "dropdown-open",
290
290
  rawName: "v-dropdown-open",
@@ -304,7 +304,7 @@ var __vue_render__ = function () {
304
304
  "readonly": _vm.readonly,
305
305
  "disabled": _vm.disabled
306
306
  }
307
- }, 'div', _vm.controlAttributes, false), [_vm._v("\n " + _vm._s(_vm.formatTime(_vm.proxyModelValue)) + "\n ")]), _vm._v(" "), _c('OrPopover', {
307
+ }, 'div', _vm.controlAttributes, false), [_vm._v("\n " + _vm._s(_vm.formatTime(_vm.draftModelValue)) + "\n ")]), _vm._v(" "), _c('OrPopover', {
308
308
  ref: "datePopover",
309
309
  attrs: {
310
310
  "variant": 'auto',
@@ -234,7 +234,7 @@ var __vue_render__ = function () {
234
234
  "readonly": _vm.readonly,
235
235
  "disabled": _vm.disabled
236
236
  }
237
- }, 'div', _vm.controlAttributes, false), [_vm._v("\n " + _vm._s(_vm.formatTime(_vm.proxyModelValue)) + "\n ")]), _vm._v(" "), _c('OrPopover', {
237
+ }, 'div', _vm.controlAttributes, false), [_vm._v("\n " + _vm._s(_vm.formatTime(_vm.draftModelValue)) + "\n ")]), _vm._v(" "), _c('OrPopover', {
238
238
  ref: "popover",
239
239
  attrs: {
240
240
  "variant": 'auto',
@@ -20,10 +20,10 @@ export { O as OrCollapse } from '../OrCollapse-f7cbcd25.js';
20
20
  export { _ 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-8fa65edd.js';
21
21
  export { _ as OrConfirm } from '../OrConfirm-4d08c38d.js';
22
22
  export { C as ConfirmType, _ as OrConfirmV3 } from '../OrConfirm-d548aac0.js';
23
- export { _ as OrDatePickerV3 } from '../OrDatePicker-19e467e2.js';
23
+ export { _ as OrDatePickerV3 } from '../OrDatePicker-9501411f.js';
24
24
  export { I as DatePickerSize, I as DateTimePickerSize, I as InputBoxSize, a as InputBoxVariant, I as InputSize, I as SearchSize, I as SelectSize, I as TextareaSize, I as TimePickerSize } from '../props-c966ae5f.js';
25
25
  export { D as DEFAULT_TEXT, _ as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from '../OrDateTimePicker-def82ca4.js';
26
- export { _ as OrDateTimePickerV3 } from '../OrDateTimePicker-1011dc69.js';
26
+ export { _ as OrDateTimePickerV3 } from '../OrDateTimePicker-86460841.js';
27
27
  export { E as EmptyStateSize, _ as OrEmptyStateV3 } from '../OrEmptyState-a38727b9.js';
28
28
  export { O as OrError } from '../OrError-29f0ce95.js';
29
29
  export { _ as OrErrorTagV3 } from '../OrErrorTag-79922468.js';
@@ -96,7 +96,7 @@ export { _ as OrTextV3 } from '../OrText-7887212a.js';
96
96
  export { _ as OrTextarea } from '../OrTextarea-8653f1b4.js';
97
97
  export { _ as OrTextareaV3 } from '../OrTextarea-8d35e641.js';
98
98
  export { _ as OrTextbox, T as TextboxTypes } from '../OrTextbox-dbd1eae6.js';
99
- export { _ as OrTimePickerV3 } from '../OrTimePicker-1b3a758a.js';
99
+ export { _ as OrTimePickerV3 } from '../OrTimePicker-8eb90e22.js';
100
100
  export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from '../useToast-1faa828c.js';
101
101
  export { O as OrToast, _ as OrToastContainer } from '../OrToastContainer-a021147e.js';
102
102
  export { _ as OrToastContainerV3, O as OrToastV3, t as TypesV3 } from '../types-8d0c1236.js';
@@ -1,4 +1,4 @@
1
- export { _ as OrDatePickerV3 } from '../../OrDatePicker-19e467e2.js';
1
+ export { _ as OrDatePickerV3 } from '../../OrDatePicker-9501411f.js';
2
2
  export { I as DatePickerSize } from '../../props-c966ae5f.js';
3
3
  import '../../index-fa6eb4ca.js';
4
4
  import 'vue';
@@ -1,4 +1,4 @@
1
- export { _ as OrDateTimePickerV3 } from '../../OrDateTimePicker-1011dc69.js';
1
+ export { _ as OrDateTimePickerV3 } from '../../OrDateTimePicker-86460841.js';
2
2
  export { I as DateTimePickerSize } from '../../props-c966ae5f.js';
3
3
  import '../../index-fa6eb4ca.js';
4
4
  import 'vue';
@@ -1,4 +1,4 @@
1
- export { _ as OrTimePickerV3 } from '../../OrTimePicker-1b3a758a.js';
1
+ export { _ as OrTimePickerV3 } from '../../OrTimePicker-8eb90e22.js';
2
2
  export { I as TimePickerSize } from '../../props-c966ae5f.js';
3
3
  import '../../index-fa6eb4ca.js';
4
4
  import 'vue';
@@ -26,10 +26,10 @@ export { O as OrCollapse } from './OrCollapse-f7cbcd25.js';
26
26
  export { _ 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-8fa65edd.js';
27
27
  export { _ as OrConfirm } from './OrConfirm-4d08c38d.js';
28
28
  export { C as ConfirmType, _ as OrConfirmV3 } from './OrConfirm-d548aac0.js';
29
- export { _ as OrDatePickerV3 } from './OrDatePicker-19e467e2.js';
29
+ export { _ as OrDatePickerV3 } from './OrDatePicker-9501411f.js';
30
30
  export { I as DatePickerSize, I as DateTimePickerSize, I as InputBoxSize, a as InputBoxVariant, I as InputSize, I as SearchSize, I as SelectSize, I as TextareaSize, I as TimePickerSize } from './props-c966ae5f.js';
31
31
  export { D as DEFAULT_TEXT, _ as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from './OrDateTimePicker-def82ca4.js';
32
- export { _ as OrDateTimePickerV3 } from './OrDateTimePicker-1011dc69.js';
32
+ export { _ as OrDateTimePickerV3 } from './OrDateTimePicker-86460841.js';
33
33
  export { E as EmptyStateSize, _ as OrEmptyStateV3 } from './OrEmptyState-a38727b9.js';
34
34
  export { O as OrError } from './OrError-29f0ce95.js';
35
35
  export { _ as OrErrorTagV3 } from './OrErrorTag-79922468.js';
@@ -102,7 +102,7 @@ export { _ as OrTextV3 } from './OrText-7887212a.js';
102
102
  export { _ as OrTextarea } from './OrTextarea-8653f1b4.js';
103
103
  export { _ as OrTextareaV3 } from './OrTextarea-8d35e641.js';
104
104
  export { _ as OrTextbox, T as TextboxTypes } from './OrTextbox-dbd1eae6.js';
105
- export { _ as OrTimePickerV3 } from './OrTimePicker-1b3a758a.js';
105
+ export { _ as OrTimePickerV3 } from './OrTimePicker-8eb90e22.js';
106
106
  export { O as OrToast, _ as OrToastContainer } from './OrToastContainer-a021147e.js';
107
107
  export { _ as OrToastContainerV3, O as OrToastV3, t as TypesV3 } from './types-8d0c1236.js';
108
108
  export { O as OrTooltip } from './OrTooltip-e62cdd46.js';
@@ -849,7 +849,7 @@ function render$K(_ctx, _cache, $props, $setup, $data, $options) {
849
849
  required: _ctx.required,
850
850
  readonly: _ctx.readonly,
851
851
  disabled: _ctx.disabled
852
- }), [createTextVNode(toDisplayString(_ctx.formatDate(_ctx.proxyModelValue)), 1 /* TEXT */)], 16 /* FULL_PROPS */, _hoisted_1$v)), [[_directive_dropdown_open, _ctx.togglePopover], [_directive_dropdown_close, _ctx.closePopover]]), createVNode(_component_OrPopover, {
852
+ }), [createTextVNode(toDisplayString(_ctx.formatDate(_ctx.draftModelValue)), 1 /* TEXT */)], 16 /* FULL_PROPS */, _hoisted_1$v)), [[_directive_dropdown_open, _ctx.togglePopover], [_directive_dropdown_close, _ctx.closePopover]]), createVNode(_component_OrPopover, {
853
853
  ref: "popover",
854
854
  variant: 'auto',
855
855
  trigger: _ctx.control,
@@ -1188,7 +1188,7 @@ function render$I(_ctx, _cache, $props, $setup, $data, $options) {
1188
1188
  required: _ctx.required,
1189
1189
  readonly: _ctx.readonly,
1190
1190
  disabled: _ctx.disabled
1191
- }), [createTextVNode(toDisplayString(_ctx.formatDate(_ctx.proxyModelValue)), 1 /* TEXT */)], 16 /* FULL_PROPS */, _hoisted_1$t)), [[_directive_dropdown_open, _ctx.toggleDatePopover], [_directive_dropdown_close, _ctx.closeDatePopover]]), withDirectives((openBlock(), createElementBlock("div", mergeProps({
1191
+ }), [createTextVNode(toDisplayString(_ctx.formatDate(_ctx.draftModelValue)), 1 /* TEXT */)], 16 /* FULL_PROPS */, _hoisted_1$t)), [[_directive_dropdown_open, _ctx.toggleDatePopover], [_directive_dropdown_close, _ctx.closeDatePopover]]), withDirectives((openBlock(), createElementBlock("div", mergeProps({
1192
1192
  ref: "timeControl"
1193
1193
  }, _ctx.controlAttributes, {
1194
1194
  class: _ctx.controlStyles,
@@ -1196,7 +1196,7 @@ function render$I(_ctx, _cache, $props, $setup, $data, $options) {
1196
1196
  required: _ctx.required,
1197
1197
  readonly: _ctx.readonly,
1198
1198
  disabled: _ctx.disabled
1199
- }), [createTextVNode(toDisplayString(_ctx.formatTime(_ctx.proxyModelValue)), 1 /* TEXT */)], 16 /* FULL_PROPS */, _hoisted_2$i)), [[_directive_dropdown_open, _ctx.toggleTimePopover], [_directive_dropdown_close, _ctx.closeTimePopover]]), createVNode(_component_OrPopover, {
1199
+ }), [createTextVNode(toDisplayString(_ctx.formatTime(_ctx.draftModelValue)), 1 /* TEXT */)], 16 /* FULL_PROPS */, _hoisted_2$i)), [[_directive_dropdown_open, _ctx.toggleTimePopover], [_directive_dropdown_close, _ctx.closeTimePopover]]), createVNode(_component_OrPopover, {
1200
1200
  ref: "datePopover",
1201
1201
  variant: 'auto',
1202
1202
  trigger: _ctx.dateControl,
@@ -3439,7 +3439,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
3439
3439
  required: _ctx.required,
3440
3440
  readonly: _ctx.readonly,
3441
3441
  disabled: _ctx.disabled
3442
- }), [createTextVNode(toDisplayString(_ctx.formatTime(_ctx.proxyModelValue)), 1 /* TEXT */)], 16 /* FULL_PROPS */, _hoisted_1)), [[_directive_dropdown_open, _ctx.togglePopover], [_directive_dropdown_close, _ctx.closePopover]]), createVNode(_component_OrPopover, {
3442
+ }), [createTextVNode(toDisplayString(_ctx.formatTime(_ctx.draftModelValue)), 1 /* TEXT */)], 16 /* FULL_PROPS */, _hoisted_1)), [[_directive_dropdown_open, _ctx.togglePopover], [_directive_dropdown_close, _ctx.closePopover]]), createVNode(_component_OrPopover, {
3443
3443
  ref: "popover",
3444
3444
  variant: 'auto',
3445
3445
  trigger: _ctx.control,
@@ -235,7 +235,7 @@ var __vue_render__ = function () {
235
235
  "readonly": _vm.readonly,
236
236
  "disabled": _vm.disabled
237
237
  }
238
- }, 'div', _vm.controlAttributes, false), [_vm._v("\n " + _vm._s(_vm.formatDate(_vm.proxyModelValue)) + "\n ")]), _vm._v(" "), _c('OrPopover', {
238
+ }, 'div', _vm.controlAttributes, false), [_vm._v("\n " + _vm._s(_vm.formatDate(_vm.draftModelValue)) + "\n ")]), _vm._v(" "), _c('OrPopover', {
239
239
  ref: "popover",
240
240
  attrs: {
241
241
  "variant": 'auto',
@@ -284,7 +284,7 @@ var __vue_render__ = function () {
284
284
  "readonly": _vm.readonly,
285
285
  "disabled": _vm.disabled
286
286
  }
287
- }, 'div', _vm.controlAttributes, false), [_vm._v("\n " + _vm._s(_vm.formatDate(_vm.proxyModelValue)) + "\n ")]), _vm._v(" "), _c('div', _vm._b({
287
+ }, 'div', _vm.controlAttributes, false), [_vm._v("\n " + _vm._s(_vm.formatDate(_vm.draftModelValue)) + "\n ")]), _vm._v(" "), _c('div', _vm._b({
288
288
  directives: [{
289
289
  name: "dropdown-open",
290
290
  rawName: "v-dropdown-open",
@@ -304,7 +304,7 @@ var __vue_render__ = function () {
304
304
  "readonly": _vm.readonly,
305
305
  "disabled": _vm.disabled
306
306
  }
307
- }, 'div', _vm.controlAttributes, false), [_vm._v("\n " + _vm._s(_vm.formatTime(_vm.proxyModelValue)) + "\n ")]), _vm._v(" "), _c('OrPopover', {
307
+ }, 'div', _vm.controlAttributes, false), [_vm._v("\n " + _vm._s(_vm.formatTime(_vm.draftModelValue)) + "\n ")]), _vm._v(" "), _c('OrPopover', {
308
308
  ref: "datePopover",
309
309
  attrs: {
310
310
  "variant": 'auto',
@@ -234,7 +234,7 @@ var __vue_render__ = function () {
234
234
  "readonly": _vm.readonly,
235
235
  "disabled": _vm.disabled
236
236
  }
237
- }, 'div', _vm.controlAttributes, false), [_vm._v("\n " + _vm._s(_vm.formatTime(_vm.proxyModelValue)) + "\n ")]), _vm._v(" "), _c('OrPopover', {
237
+ }, 'div', _vm.controlAttributes, false), [_vm._v("\n " + _vm._s(_vm.formatTime(_vm.draftModelValue)) + "\n ")]), _vm._v(" "), _c('OrPopover', {
238
238
  ref: "popover",
239
239
  attrs: {
240
240
  "variant": 'auto',
@@ -20,11 +20,11 @@ export { _ as OrCollapse } from '../OrCollapse-50e3914c.js';
20
20
  export { _ 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-fa92b4fa.js';
21
21
  export { _ as OrConfirm } from '../OrConfirm-64e815c7.js';
22
22
  export { C as ConfirmType, _ as OrConfirmV3 } from '../OrConfirm-1be17f86.js';
23
- export { _ as OrDatePickerV3 } from '../OrDatePicker-454f5267.js';
23
+ export { _ as OrDatePickerV3 } from '../OrDatePicker-816c3d28.js';
24
24
  export { _ as OrInputBoxV3 } from '../OrInputBox-0f4e8500.js';
25
25
  export { I as DatePickerSize, I as DateTimePickerSize, I as InputBoxSize, a as InputBoxVariant, I as InputSize, I as SearchSize, I as SelectSize, I as TextareaSize, I as TimePickerSize } from '../OrInputBox.vue_rollup-plugin-vue_script-b2d0c353.js';
26
26
  export { D as DEFAULT_TEXT, _ as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from '../OrDateTimePicker-85e5e03e.js';
27
- export { _ as OrDateTimePickerV3 } from '../OrDateTimePicker-3f533d0c.js';
27
+ export { _ as OrDateTimePickerV3 } from '../OrDateTimePicker-bfa205b5.js';
28
28
  export { E as EmptyStateSize, _ as OrEmptyStateV3 } from '../OrEmptyState-2d3fd68d.js';
29
29
  export { _ as OrError } from '../OrError-efc74907.js';
30
30
  export { _ as OrErrorTagV3 } from '../OrErrorTag-a55ae01a.js';
@@ -96,7 +96,7 @@ export { _ as OrTextV3 } from '../OrText-6097bca5.js';
96
96
  export { _ as OrTextarea } from '../OrTextarea-724a4d6f.js';
97
97
  export { _ as OrTextareaV3 } from '../OrTextarea-839a422d.js';
98
98
  export { _ as OrTextbox, T as TextboxTypes } from '../OrTextbox-cd85a59f.js';
99
- export { _ as OrTimePickerV3 } from '../OrTimePicker-f23c8577.js';
99
+ export { _ as OrTimePickerV3 } from '../OrTimePicker-66cf402d.js';
100
100
  export { _ as OrToast, a as OrToastContainer } from '../OrToastContainer-41b56042.js';
101
101
  export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from '../useToast-4fbe0e5a.js';
102
102
  export { a as OrToastContainerV3, _ as OrToastV3, t as TypesV3 } from '../types-b1ac5808.js';
@@ -1,4 +1,4 @@
1
- export { _ as OrDatePickerV3 } from '../../OrDatePicker-454f5267.js';
1
+ export { _ as OrDatePickerV3 } from '../../OrDatePicker-816c3d28.js';
2
2
  export { I as DatePickerSize } from '../../OrInputBox.vue_rollup-plugin-vue_script-b2d0c353.js';
3
3
  import 'vue-demi';
4
4
  import '../../dropdown-open-e1f90e0a.js';
@@ -1,4 +1,4 @@
1
- export { _ as OrDateTimePickerV3 } from '../../OrDateTimePicker-3f533d0c.js';
1
+ export { _ as OrDateTimePickerV3 } from '../../OrDateTimePicker-bfa205b5.js';
2
2
  export { I as DateTimePickerSize } from '../../OrInputBox.vue_rollup-plugin-vue_script-b2d0c353.js';
3
3
  import 'vue-demi';
4
4
  import '../../dropdown-open-e1f90e0a.js';
@@ -1,4 +1,4 @@
1
- export { _ as OrTimePickerV3 } from '../../OrTimePicker-f23c8577.js';
1
+ export { _ as OrTimePickerV3 } from '../../OrTimePicker-66cf402d.js';
2
2
  export { I as TimePickerSize } from '../../OrInputBox.vue_rollup-plugin-vue_script-b2d0c353.js';
3
3
  import 'vue-demi';
4
4
  import '../../dropdown-open-e1f90e0a.js';
@@ -20,11 +20,11 @@ export { _ as OrCollapse } from './OrCollapse-50e3914c.js';
20
20
  export { _ 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-fa92b4fa.js';
21
21
  export { _ as OrConfirm } from './OrConfirm-64e815c7.js';
22
22
  export { C as ConfirmType, _ as OrConfirmV3 } from './OrConfirm-1be17f86.js';
23
- export { _ as OrDatePickerV3 } from './OrDatePicker-454f5267.js';
23
+ export { _ as OrDatePickerV3 } from './OrDatePicker-816c3d28.js';
24
24
  export { _ as OrInputBoxV3 } from './OrInputBox-0f4e8500.js';
25
25
  export { I as DatePickerSize, I as DateTimePickerSize, I as InputBoxSize, a as InputBoxVariant, I as InputSize, I as SearchSize, I as SelectSize, I as TextareaSize, I as TimePickerSize } from './OrInputBox.vue_rollup-plugin-vue_script-b2d0c353.js';
26
26
  export { D as DEFAULT_TEXT, _ as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from './OrDateTimePicker-85e5e03e.js';
27
- export { _ as OrDateTimePickerV3 } from './OrDateTimePicker-3f533d0c.js';
27
+ export { _ as OrDateTimePickerV3 } from './OrDateTimePicker-bfa205b5.js';
28
28
  export { E as EmptyStateSize, _ as OrEmptyStateV3 } from './OrEmptyState-2d3fd68d.js';
29
29
  export { _ as OrError } from './OrError-efc74907.js';
30
30
  export { _ as OrErrorTagV3 } from './OrErrorTag-a55ae01a.js';
@@ -96,7 +96,7 @@ export { _ as OrTextV3 } from './OrText-6097bca5.js';
96
96
  export { _ as OrTextarea } from './OrTextarea-724a4d6f.js';
97
97
  export { _ as OrTextareaV3 } from './OrTextarea-839a422d.js';
98
98
  export { _ as OrTextbox, T as TextboxTypes } from './OrTextbox-cd85a59f.js';
99
- export { _ as OrTimePickerV3 } from './OrTimePicker-f23c8577.js';
99
+ export { _ as OrTimePickerV3 } from './OrTimePicker-66cf402d.js';
100
100
  export { _ as OrToast, a as OrToastContainer } from './OrToastContainer-41b56042.js';
101
101
  export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from './useToast-4fbe0e5a.js';
102
102
  export { a as OrToastContainerV3, _ as OrToastV3, t as TypesV3 } from './types-b1ac5808.js';
@@ -220,7 +220,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
220
220
  required: _ctx.required,
221
221
  readonly: _ctx.readonly,
222
222
  disabled: _ctx.disabled
223
- }), [createTextVNode(toDisplayString(_ctx.formatDate(_ctx.proxyModelValue)), 1 /* TEXT */)], 16 /* FULL_PROPS */, _hoisted_1)), [[_directive_dropdown_open, _ctx.togglePopover], [_directive_dropdown_close, _ctx.closePopover]]), createVNode(_component_OrPopover, {
223
+ }), [createTextVNode(toDisplayString(_ctx.formatDate(_ctx.draftModelValue)), 1 /* TEXT */)], 16 /* FULL_PROPS */, _hoisted_1)), [[_directive_dropdown_open, _ctx.togglePopover], [_directive_dropdown_close, _ctx.closePopover]]), createVNode(_component_OrPopover, {
224
224
  ref: "popover",
225
225
  variant: 'auto',
226
226
  trigger: _ctx.control,
@@ -271,7 +271,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
271
271
  required: _ctx.required,
272
272
  readonly: _ctx.readonly,
273
273
  disabled: _ctx.disabled
274
- }), [createTextVNode(toDisplayString(_ctx.formatDate(_ctx.proxyModelValue)), 1 /* TEXT */)], 16 /* FULL_PROPS */, _hoisted_1)), [[_directive_dropdown_open, _ctx.toggleDatePopover], [_directive_dropdown_close, _ctx.closeDatePopover]]), withDirectives((openBlock(), createElementBlock("div", mergeProps({
274
+ }), [createTextVNode(toDisplayString(_ctx.formatDate(_ctx.draftModelValue)), 1 /* TEXT */)], 16 /* FULL_PROPS */, _hoisted_1)), [[_directive_dropdown_open, _ctx.toggleDatePopover], [_directive_dropdown_close, _ctx.closeDatePopover]]), withDirectives((openBlock(), createElementBlock("div", mergeProps({
275
275
  ref: "timeControl"
276
276
  }, _ctx.controlAttributes, {
277
277
  class: _ctx.controlStyles,
@@ -279,7 +279,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
279
279
  required: _ctx.required,
280
280
  readonly: _ctx.readonly,
281
281
  disabled: _ctx.disabled
282
- }), [createTextVNode(toDisplayString(_ctx.formatTime(_ctx.proxyModelValue)), 1 /* TEXT */)], 16 /* FULL_PROPS */, _hoisted_2)), [[_directive_dropdown_open, _ctx.toggleTimePopover], [_directive_dropdown_close, _ctx.closeTimePopover]]), createVNode(_component_OrPopover, {
282
+ }), [createTextVNode(toDisplayString(_ctx.formatTime(_ctx.draftModelValue)), 1 /* TEXT */)], 16 /* FULL_PROPS */, _hoisted_2)), [[_directive_dropdown_open, _ctx.toggleTimePopover], [_directive_dropdown_close, _ctx.closeTimePopover]]), createVNode(_component_OrPopover, {
283
283
  ref: "datePopover",
284
284
  variant: 'auto',
285
285
  trigger: _ctx.dateControl,
@@ -218,7 +218,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
218
218
  required: _ctx.required,
219
219
  readonly: _ctx.readonly,
220
220
  disabled: _ctx.disabled
221
- }), [createTextVNode(toDisplayString(_ctx.formatTime(_ctx.proxyModelValue)), 1 /* TEXT */)], 16 /* FULL_PROPS */, _hoisted_1)), [[_directive_dropdown_open, _ctx.togglePopover], [_directive_dropdown_close, _ctx.closePopover]]), createVNode(_component_OrPopover, {
221
+ }), [createTextVNode(toDisplayString(_ctx.formatTime(_ctx.draftModelValue)), 1 /* TEXT */)], 16 /* FULL_PROPS */, _hoisted_1)), [[_directive_dropdown_open, _ctx.togglePopover], [_directive_dropdown_close, _ctx.closePopover]]), createVNode(_component_OrPopover, {
222
222
  ref: "popover",
223
223
  variant: 'auto',
224
224
  trigger: _ctx.control,
@@ -17,10 +17,10 @@ export { s as OrCollapse } from '../OrCollapse-37a52e8f.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-9a149e6b.js';
18
18
  export { s as OrConfirm } from '../OrConfirm-f408faf5.js';
19
19
  export { C as ConfirmType, s as OrConfirmV3 } from '../OrConfirm-ecb8c576.js';
20
- export { s as OrDatePickerV3 } from '../OrDatePicker-390f7f11.js';
20
+ export { s as OrDatePickerV3 } from '../OrDatePicker-4c200902.js';
21
21
  export { I as DatePickerSize, I as DateTimePickerSize, I as InputBoxSize, a as InputBoxVariant, I as InputSize, s as OrInputBoxV3, I as SearchSize, I as SelectSize, I as TextareaSize, I as TimePickerSize } from '../OrInputBox-901887a1.js';
22
22
  export { D as DEFAULT_TEXT, s as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from '../OrDateTimePicker-30749526.js';
23
- export { s as OrDateTimePickerV3 } from '../OrDateTimePicker-54db4170.js';
23
+ export { s as OrDateTimePickerV3 } from '../OrDateTimePicker-e0552821.js';
24
24
  export { E as EmptyStateSize, s as OrEmptyStateV3 } from '../OrEmptyState-5349a1f9.js';
25
25
  export { s as OrError } from '../OrError-f90296db.js';
26
26
  export { s as OrErrorTagV3 } from '../OrErrorTag-ade9192b.js';
@@ -92,7 +92,7 @@ export { s as OrTextV3 } from '../OrText-de6b2fe2.js';
92
92
  export { s as OrTextarea } from '../OrTextarea-de1ecb0f.js';
93
93
  export { s as OrTextareaV3 } from '../OrTextarea-2002e190.js';
94
94
  export { s as OrTextbox, T as TextboxTypes } from '../OrTextbox-b025d6e4.js';
95
- export { s as OrTimePickerV3 } from '../OrTimePicker-362ca566.js';
95
+ export { s as OrTimePickerV3 } from '../OrTimePicker-b96ec56f.js';
96
96
  export { s as OrToast, a as OrToastContainer } from '../OrToastContainer-70cd8d1d.js';
97
97
  export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from '../useToast-4fbe0e5a.js';
98
98
  export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from '../types-af033805.js';
@@ -1,4 +1,4 @@
1
- export { s as OrDatePickerV3 } from '../../OrDatePicker-390f7f11.js';
1
+ export { s as OrDatePickerV3 } from '../../OrDatePicker-4c200902.js';
2
2
  export { I as DatePickerSize } from '../../OrInputBox-901887a1.js';
3
3
  import 'vue-demi';
4
4
  import '../../dropdown-open-e1f90e0a.js';
@@ -1,4 +1,4 @@
1
- export { s as OrDateTimePickerV3 } from '../../OrDateTimePicker-54db4170.js';
1
+ export { s as OrDateTimePickerV3 } from '../../OrDateTimePicker-e0552821.js';
2
2
  export { I as DateTimePickerSize } from '../../OrInputBox-901887a1.js';
3
3
  import 'vue-demi';
4
4
  import '../../dropdown-open-e1f90e0a.js';
@@ -1,4 +1,4 @@
1
- export { s as OrTimePickerV3 } from '../../OrTimePicker-362ca566.js';
1
+ export { s as OrTimePickerV3 } from '../../OrTimePicker-b96ec56f.js';
2
2
  export { I as TimePickerSize } from '../../OrInputBox-901887a1.js';
3
3
  import 'vue-demi';
4
4
  import '../../dropdown-open-e1f90e0a.js';
@@ -17,10 +17,10 @@ export { s as OrCollapse } from './OrCollapse-37a52e8f.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-9a149e6b.js';
18
18
  export { s as OrConfirm } from './OrConfirm-f408faf5.js';
19
19
  export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-ecb8c576.js';
20
- export { s as OrDatePickerV3 } from './OrDatePicker-390f7f11.js';
20
+ export { s as OrDatePickerV3 } from './OrDatePicker-4c200902.js';
21
21
  export { I as DatePickerSize, I as DateTimePickerSize, I as InputBoxSize, a as InputBoxVariant, I as InputSize, s as OrInputBoxV3, I as SearchSize, I as SelectSize, I as TextareaSize, I as TimePickerSize } from './OrInputBox-901887a1.js';
22
22
  export { D as DEFAULT_TEXT, s as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from './OrDateTimePicker-30749526.js';
23
- export { s as OrDateTimePickerV3 } from './OrDateTimePicker-54db4170.js';
23
+ export { s as OrDateTimePickerV3 } from './OrDateTimePicker-e0552821.js';
24
24
  export { E as EmptyStateSize, s as OrEmptyStateV3 } from './OrEmptyState-5349a1f9.js';
25
25
  export { s as OrError } from './OrError-f90296db.js';
26
26
  export { s as OrErrorTagV3 } from './OrErrorTag-ade9192b.js';
@@ -92,7 +92,7 @@ export { s as OrTextV3 } from './OrText-de6b2fe2.js';
92
92
  export { s as OrTextarea } from './OrTextarea-de1ecb0f.js';
93
93
  export { s as OrTextareaV3 } from './OrTextarea-2002e190.js';
94
94
  export { s as OrTextbox, T as TextboxTypes } from './OrTextbox-b025d6e4.js';
95
- export { s as OrTimePickerV3 } from './OrTimePicker-362ca566.js';
95
+ export { s as OrTimePickerV3 } from './OrTimePicker-b96ec56f.js';
96
96
  export { s as OrToast, a as OrToastContainer } from './OrToastContainer-70cd8d1d.js';
97
97
  export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from './useToast-4fbe0e5a.js';
98
98
  export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from './types-af033805.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/ui-components",
3
- "version": "3.0.4-beta.2502.0",
3
+ "version": "3.0.4-beta.2505.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.37.4-beta.2502.0",
41
+ "@onereach/styles": "^2.37.4-beta.2505.0",
42
42
  "@splidejs/splide": "4.0.6",
43
43
  "@types/lodash": "4.14.173",
44
44
  "@types/sortablejs": "1.10.7",
@@ -7,7 +7,7 @@ import OrCheckboxDocs from './OrCheckbox.docs.mdx';
7
7
  import OrCheckbox from './OrCheckbox.vue';
8
8
 
9
9
  export default {
10
- title: 'Components/Forms/Checkbox',
10
+ title: 'Components/Checkbox',
11
11
  component: OrCheckbox,
12
12
 
13
13
  argTypes: {
@@ -8,7 +8,7 @@ import OrCombinedInput from './OrCombinedInput.vue';
8
8
  import { CombinedInputSize } from './props';
9
9
 
10
10
  export default {
11
- title: 'Components/Forms/Combined Input',
11
+ title: 'Components/Combined Input',
12
12
  component: OrCombinedInput,
13
13
 
14
14
  argTypes: {
@@ -8,7 +8,7 @@ import OrDatePicker from './OrDatePicker.vue';
8
8
  import { DatePickerSize } from './props';
9
9
 
10
10
  export default {
11
- title: 'Components/Forms/Date Picker',
11
+ title: 'Components/Date Picker',
12
12
  component: OrDatePicker,
13
13
 
14
14
  argTypes: {
@@ -38,7 +38,7 @@
38
38
  :readonly="readonly"
39
39
  :disabled="disabled"
40
40
  >
41
- {{ formatDate(proxyModelValue) }}
41
+ {{ formatDate(draftModelValue) }}
42
42
  </div>
43
43
 
44
44
  <OrPopover
@@ -57,6 +57,7 @@
57
57
  v-model="draftModelValue"
58
58
  :filter="filter"
59
59
  />
60
+
60
61
  <OrDateTimePickerDaySelect
61
62
  v-model="draftModelValue"
62
63
  :filter="filter"
@@ -8,7 +8,7 @@ import OrDateTimePicker from './OrDateTimePicker.vue';
8
8
  import { DateTimePickerSize } from './props';
9
9
 
10
10
  export default {
11
- title: 'Components/Forms/Date & Time Picker',
11
+ title: 'Components/Date & Time Picker',
12
12
  component: OrDateTimePicker,
13
13
 
14
14
  argTypes: {
@@ -38,7 +38,7 @@
38
38
  :readonly="readonly"
39
39
  :disabled="disabled"
40
40
  >
41
- {{ formatDate(proxyModelValue) }}
41
+ {{ formatDate(draftModelValue) }}
42
42
  </div>
43
43
 
44
44
  <div
@@ -52,7 +52,7 @@
52
52
  :readonly="readonly"
53
53
  :disabled="disabled"
54
54
  >
55
- {{ formatTime(proxyModelValue) }}
55
+ {{ formatTime(draftModelValue) }}
56
56
  </div>
57
57
 
58
58
  <OrPopover
@@ -75,6 +75,7 @@
75
75
  v-model="draftModelValue"
76
76
  :filter="filter"
77
77
  />
78
+
78
79
  <OrDateTimePickerDaySelect
79
80
  v-model="draftModelValue"
80
81
  :filter="filter"
@@ -6,7 +6,7 @@ import OrInlineInput from './OrInlineInput.vue';
6
6
  import { InlineInputSize, InlineInputType } from './props';
7
7
 
8
8
  export default {
9
- title: 'Components/Forms/Inline Input',
9
+ title: 'Components/Inline Input',
10
10
  component: OrInlineInput,
11
11
 
12
12
  argTypes: {
@@ -5,7 +5,7 @@ import OrInlineTextareaDocs from './OrInlineTextarea.docs.mdx';
5
5
  import OrInlineTextarea from './OrInlineTextarea.vue';
6
6
 
7
7
  export default {
8
- title: 'Components/Forms/Inline Textarea',
8
+ title: 'Components/Inline Textarea',
9
9
  component: OrInlineTextarea,
10
10
 
11
11
  argTypes: {
@@ -1,14 +1,14 @@
1
1
  import { action } from '@storybook/addon-actions';
2
2
  import { Meta, StoryFn } from '@storybook/vue3';
3
+ import * as Faker from 'faker';
3
4
  import { ref, watch } from 'vue-demi';
4
5
  import { OrIconV3 as OrIcon } from '../or-icon-v3';
5
6
  import OrInputDocs from './OrInput.docs.mdx';
6
7
  import OrInput from './OrInput.vue';
7
8
  import { InputSize, InputType } from './props';
8
- import * as Faker from 'faker';
9
9
 
10
10
  export default {
11
- title: 'Components/Forms/Input',
11
+ title: 'Components/Input',
12
12
  component: OrInput,
13
13
 
14
14
  argTypes: {
@@ -7,7 +7,7 @@ import OrRadioDocs from './OrRadio.docs.mdx';
7
7
  import OrRadio from './OrRadio.vue';
8
8
 
9
9
  export default {
10
- title: 'Components/Forms/Radio',
10
+ title: 'Components/Radio',
11
11
  component: OrRadio,
12
12
 
13
13
  argTypes: {
@@ -7,7 +7,7 @@ import { SegmentedControlSize } from './props';
7
7
  import { SegmentedControlOption } from './types';
8
8
 
9
9
  export default {
10
- title: 'Components/Forms/Segmented Control',
10
+ title: 'Components/Segmented Control',
11
11
  component: OrSegmentedControl,
12
12
 
13
13
  argTypes: {
@@ -8,7 +8,7 @@ import { SelectSize } from './props';
8
8
  import { SelectOption, SelectSearchFunction } from './types';
9
9
 
10
10
  export default {
11
- title: 'Components/Forms/Select',
11
+ title: 'Components/Select',
12
12
  component: OrSelect,
13
13
 
14
14
  argTypes: {
@@ -7,7 +7,7 @@ import OrSwitchDocs from './OrSwitch.docs.mdx';
7
7
  import OrSwitch from './OrSwitch.vue';
8
8
 
9
9
  export default {
10
- title: 'Components/Forms/Switch',
10
+ title: 'Components/Switch',
11
11
  component: OrSwitch,
12
12
 
13
13
  argTypes: {
@@ -7,7 +7,7 @@ import OrTextarea from './OrTextarea.vue';
7
7
  import { TextareaSize } from './props';
8
8
 
9
9
  export default {
10
- title: 'Components/Forms/Textarea',
10
+ title: 'Components/Textarea',
11
11
  component: OrTextarea,
12
12
 
13
13
  argTypes: {
@@ -8,7 +8,7 @@ import OrTimePicker from './OrTimePicker.vue';
8
8
  import { TimePickerSize } from './props';
9
9
 
10
10
  export default {
11
- title: 'Components/Forms/Time Picker',
11
+ title: 'Components/Time Picker',
12
12
  component: OrTimePicker,
13
13
 
14
14
  argTypes: {
@@ -38,7 +38,7 @@
38
38
  :readonly="readonly"
39
39
  :disabled="disabled"
40
40
  >
41
- {{ formatTime(proxyModelValue) }}
41
+ {{ formatTime(draftModelValue) }}
42
42
  </div>
43
43
 
44
44
  <OrPopover
@@ -1,7 +0,0 @@
1
- import { DocsPage } from '@storybook/addon-docs';
2
-
3
- ```ts
4
- import { OrErrorV3 as OrError } from '@onereach/ui-components';
5
- ```
6
-
7
- <DocsPage />
@@ -1,77 +0,0 @@
1
- import { Meta, StoryFn } from '@storybook/vue3';
2
- import { OrIconV3 as OrIcon } from '../or-icon-v3';
3
- import OrErrorDocs from './OrError.docs.mdx';
4
- import OrError from './OrError.vue';
5
-
6
- export default {
7
- title: 'Components/Forms/Parts/Error',
8
- component: OrError,
9
-
10
- argTypes: {
11
- // Slots
12
- default: {
13
- type: {
14
- name: 'string',
15
- required: true,
16
- },
17
-
18
- control: { type: 'text' },
19
- },
20
-
21
- addon: {
22
- type: {
23
- name: 'string',
24
- required: false,
25
- },
26
-
27
- control: { type: 'text' },
28
- },
29
-
30
- // Props
31
- disabled: {
32
- control: { type: 'boolean' },
33
- },
34
- },
35
-
36
- parameters: {
37
- layout: 'centered',
38
-
39
- docs: {
40
- page: OrErrorDocs,
41
- },
42
-
43
- design: {
44
- type: 'figma',
45
- url: 'https://www.figma.com/file/o7DdkaznUW2PtX4wiSuhhQ/Core?node-id=202%3A10',
46
- },
47
- },
48
- } as Meta<typeof OrError>;
49
-
50
- const Template: StoryFn<typeof OrError> = (args) => ({
51
- components: {
52
- OrError,
53
- OrIcon,
54
- },
55
-
56
- setup() {
57
- return { args };
58
- },
59
-
60
- template: `
61
- <OrError v-bind="args">
62
- ${args.default}
63
-
64
- <template #addon>
65
- ${args.addon}
66
- </template>
67
- </OrError>
68
- `,
69
- });
70
-
71
- export const Error = Template.bind({});
72
-
73
- Error.args = {
74
- // Slots
75
- default: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',
76
- addon: '<OrIcon icon="info" />',
77
- };
@@ -1,7 +0,0 @@
1
- import { DocsPage } from '@storybook/addon-docs';
2
-
3
- ```ts
4
- import { OrHintV3 as OrHint } from '@onereach/ui-components';
5
- ```
6
-
7
- <DocsPage />
@@ -1,77 +0,0 @@
1
- import { Meta, StoryFn } from '@storybook/vue3';
2
- import { OrIconV3 as OrIcon } from '../or-icon-v3';
3
- import OrHintDocs from './OrHint.docs.mdx';
4
- import OrHint from './OrHint.vue';
5
-
6
- export default {
7
- title: 'Components/Forms/Parts/Hint',
8
- component: OrHint,
9
-
10
- argTypes: {
11
- // Slots
12
- default: {
13
- type: {
14
- name: 'string',
15
- required: true,
16
- },
17
-
18
- control: { type: 'text' },
19
- },
20
-
21
- addon: {
22
- type: {
23
- name: 'string',
24
- required: false,
25
- },
26
-
27
- control: { type: 'text' },
28
- },
29
-
30
- // Props
31
- disabled: {
32
- control: { type: 'boolean' },
33
- },
34
- },
35
-
36
- parameters: {
37
- layout: 'centered',
38
-
39
- docs: {
40
- page: OrHintDocs,
41
- },
42
-
43
- design: {
44
- type: 'figma',
45
- url: 'https://www.figma.com/file/o7DdkaznUW2PtX4wiSuhhQ/Core?node-id=202%3A10',
46
- },
47
- },
48
- } as Meta<typeof OrHint>;
49
-
50
- const Template: StoryFn<typeof OrHint> = (args) => ({
51
- components: {
52
- OrHint,
53
- OrIcon,
54
- },
55
-
56
- setup() {
57
- return { args };
58
- },
59
-
60
- template: `
61
- <OrHint v-bind="args">
62
- ${args.default}
63
-
64
- <template #addon>
65
- ${args.addon}
66
- </template>
67
- </OrHint>
68
- `,
69
- });
70
-
71
- export const Hint = Template.bind({});
72
-
73
- Hint.args = {
74
- // Slots
75
- default: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',
76
- addon: '<OrIcon icon="info" />',
77
- };
@@ -1,3 +0,0 @@
1
- import { DocsPage } from '@storybook/addon-docs';
2
-
3
- <DocsPage />
@@ -1,67 +0,0 @@
1
- import { Meta, StoryFn } from '@storybook/vue3';
2
- import OrInlineInputBoxDocs from './OrInlineInputBox.docs.mdx';
3
- import OrInlineInputBox from './OrInlineInputBox.vue';
4
- import { InlineInputBoxSize } from './props';
5
-
6
- export default {
7
- title: 'Components/Forms/Parts/Inline Input Box',
8
- component: OrInlineInputBox,
9
-
10
- argTypes: {
11
- // Slots
12
- default: {
13
- type: {
14
- name: 'string',
15
- required: true,
16
- },
17
-
18
- control: { type: 'text' },
19
- },
20
-
21
- // Props
22
- size: {
23
- control: { type: 'select' },
24
- options: Object.values(InlineInputBoxSize),
25
- },
26
-
27
- invalid: {
28
- control: { type: 'boolean' },
29
- },
30
- },
31
-
32
- parameters: {
33
- layout: 'centered',
34
-
35
- docs: {
36
- page: OrInlineInputBoxDocs,
37
- },
38
-
39
- design: {
40
- type: 'figma',
41
- url: 'https://www.figma.com/file/o7DdkaznUW2PtX4wiSuhhQ/Core?node-id=761%3A3372',
42
- },
43
- },
44
- } as Meta<typeof OrInlineInputBox>;
45
-
46
- const Template: StoryFn<typeof OrInlineInputBox> = (args) => ({
47
- components: {
48
- OrInlineInputBox,
49
- },
50
-
51
- setup() {
52
- return { args };
53
- },
54
-
55
- template: `
56
- <OrInlineInputBox v-bind="args">
57
- ${args.default}
58
- </OrInlineInputBox>
59
- `,
60
- });
61
-
62
- export const InlineInputBox = Template.bind({});
63
-
64
- InlineInputBox.args = {
65
- // Slots
66
- default: 'Input',
67
- };
@@ -1,3 +0,0 @@
1
- import { DocsPage } from '@storybook/addon-docs';
2
-
3
- <DocsPage />
@@ -1,80 +0,0 @@
1
- import { Meta, StoryFn } from '@storybook/vue3';
2
- import OrInputBoxDocs from './OrInputBox.docs.mdx';
3
- import OrInputBox from './OrInputBox.vue';
4
- import { InputBoxSize, InputBoxVariant } from './props';
5
-
6
- export default {
7
- title: 'Components/Forms/Parts/Input Box',
8
- component: OrInputBox,
9
-
10
- argTypes: {
11
- // Slots
12
- default: {
13
- type: {
14
- name: 'string',
15
- required: true,
16
- },
17
-
18
- control: { type: 'text' },
19
- },
20
-
21
- // Props
22
- variant: {
23
- control: { type: 'select' },
24
- options: Object.values(InputBoxVariant),
25
- },
26
-
27
- size: {
28
- control: { type: 'select' },
29
- options: Object.values(InputBoxSize),
30
- },
31
-
32
- invalid: {
33
- control: { type: 'boolean' },
34
- },
35
-
36
- readonly: {
37
- control: { type: 'boolean' },
38
- },
39
-
40
- disabled: {
41
- control: { type: 'boolean' },
42
- },
43
- },
44
-
45
- parameters: {
46
- layout: 'centered',
47
-
48
- docs: {
49
- page: OrInputBoxDocs,
50
- },
51
-
52
- design: {
53
- type: 'figma',
54
- url: 'https://www.figma.com/file/o7DdkaznUW2PtX4wiSuhhQ/Core?node-id=202%3A10',
55
- },
56
- },
57
- } as Meta<typeof OrInputBox>;
58
-
59
- const Template: StoryFn<typeof OrInputBox> = (args) => ({
60
- components: {
61
- OrInputBox,
62
- },
63
-
64
- setup() {
65
- return { args };
66
- },
67
-
68
- template: `
69
- <OrInputBox v-bind="args">
70
- ${args.default}
71
- </OrInputBox>
72
- `,
73
- });
74
-
75
- export const InputBox = Template.bind({});
76
-
77
- InputBox.args = {
78
- // Slots
79
- default: 'Input',
80
- };
@@ -1,11 +0,0 @@
1
- import { DocsPage } from '@storybook/addon-docs';
2
-
3
- ```ts
4
- import { OrLabelV3 as OrLabel } from '@onereach/ui-components';
5
- ```
6
-
7
- <DocsPage />
8
-
9
- ## Migration Guide from V1
10
- - added property `variant`
11
- - property `isRequired` renamed to `required`
@@ -1,91 +0,0 @@
1
- import { Meta, StoryFn } from '@storybook/vue3';
2
- import { OrIconV3 as OrIcon } from '../or-icon-v3';
3
- import OrLabelDocs from './OrLabel.docs.mdx';
4
- import OrLabel from './OrLabel.vue';
5
- import { LabelVariant } from './props';
6
-
7
- export default {
8
- title: 'Components/Forms/Parts/Label',
9
- component: OrLabel,
10
-
11
- argTypes: {
12
- // Slots
13
- default: {
14
- type: {
15
- name: 'string',
16
- required: true,
17
- },
18
-
19
- control: { type: 'text' },
20
- },
21
-
22
- addon: {
23
- type: {
24
- name: 'string',
25
- required: false,
26
- },
27
-
28
- control: { type: 'text' },
29
- },
30
-
31
- // Props
32
- controlId: {
33
- control: { type: 'text' },
34
- },
35
-
36
- variant: {
37
- control: { type: 'select' },
38
- options: Object.values(LabelVariant),
39
- },
40
-
41
- required: {
42
- control: { type: 'boolean' },
43
- },
44
-
45
- disabled: {
46
- control: { type: 'boolean' },
47
- },
48
- },
49
-
50
- parameters: {
51
- layout: 'centered',
52
-
53
- docs: {
54
- page: OrLabelDocs,
55
- },
56
-
57
- design: {
58
- type: 'figma',
59
- url: 'https://www.figma.com/file/o7DdkaznUW2PtX4wiSuhhQ/Core?node-id=202%3A10',
60
- },
61
- },
62
- } as Meta<typeof OrLabel>;
63
-
64
- const Template: StoryFn<typeof OrLabel> = (args) => ({
65
- components: {
66
- OrIcon,
67
- OrLabel,
68
- },
69
-
70
- setup() {
71
- return { args };
72
- },
73
-
74
- template: `
75
- <OrLabel v-bind="args">
76
- ${args.default}
77
-
78
- <template #addon>
79
- ${args.addon}
80
- </template>
81
- </OrLabel>
82
- `,
83
- });
84
-
85
- export const Label = Template.bind({});
86
-
87
- Label.args = {
88
- // Slots
89
- default: 'Input Label',
90
- addon: '<OrIcon icon="info" />',
91
- };