@onereach/ui-components 5.0.1-beta.3131.0 → 5.0.1

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 (273) hide show
  1. package/dist/bundled/v2/components/OrCheckboxV3/OrCheckbox.js +2 -3
  2. package/dist/bundled/v2/components/OrCheckboxV3/OrCheckbox.vue.d.ts +5 -5
  3. package/dist/bundled/v2/components/OrDatePickerV3/OrDatePicker.js +1 -1
  4. package/dist/bundled/v2/components/OrDatePickerV3/index.js +1 -1
  5. package/dist/bundled/v2/components/OrDateTimePickerV3/OrDateTimePicker.js +1 -1
  6. package/dist/bundled/v2/components/OrDateTimePickerV3/index.js +1 -1
  7. package/dist/bundled/v2/components/OrInputV3/OrInput.js +2 -2
  8. package/dist/bundled/v2/components/OrLabelV3/OrLabel.js +3 -7
  9. package/dist/bundled/v2/components/OrLabelV3/OrLabel.vue.d.ts +5 -16
  10. package/dist/bundled/v2/components/OrLabelV3/props.d.ts +1 -2
  11. package/dist/bundled/v2/components/OrLabelV3/props.js +0 -1
  12. package/dist/bundled/v2/components/OrLabelV3/styles.d.ts +2 -2
  13. package/dist/bundled/v2/components/OrLabelV3/styles.js +5 -14
  14. package/dist/bundled/v2/components/OrSelectV3/OrSelect.js +24 -142
  15. package/dist/bundled/v2/components/OrSelectV3/OrSelect.vue.d.ts +0 -14
  16. package/dist/bundled/v2/components/OrSelectV3/styles.d.ts +1 -3
  17. package/dist/bundled/v2/components/OrSelectV3/styles.js +2 -12
  18. package/dist/bundled/v2/components/OrTimePickerV3/OrTimePicker.js +1 -1
  19. package/dist/bundled/v2/components/OrTimePickerV3/index.js +1 -1
  20. package/dist/bundled/v2/components/index.js +1 -1
  21. package/dist/bundled/v2/directives/dropdown-close.js +2 -0
  22. package/dist/bundled/v2/directives/dropdown-open.js +3 -1
  23. package/dist/bundled/v2/index.js +2 -2
  24. package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-c93da401.js → OrCardCollection.vue_vue_type_script_lang-40124ef0.js} +1 -1
  25. package/dist/bundled/v3/{OrCheckbox.vue_vue_type_script_lang-38736023.js → OrCheckbox.vue_vue_type_script_lang-eeb6b419.js} +1 -1
  26. package/dist/bundled/v3/{OrCheckboxGroup.vue_vue_type_script_lang-51bbd047.js → OrCheckboxGroup.vue_vue_type_script_lang-3b25afe5.js} +2 -2
  27. package/dist/bundled/v3/{OrCheckboxTree.vue_vue_type_script_lang-e67747a4.js → OrCheckboxTree.vue_vue_type_script_lang-ab30a5c4.js} +1 -1
  28. package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-0e34e3c4.js → OrCode.vue_vue_type_script_lang-a99a2768.js} +1 -1
  29. package/dist/bundled/v3/{OrCombinedInput.vue_vue_type_script_lang-230d4d9c.js → OrCombinedInput.vue_vue_type_script_lang-cb7a88f3.js} +1 -1
  30. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-383e286f.js → OrConfirm.vue_vue_type_script_lang-3f6484d7.js} +1 -1
  31. package/dist/bundled/v3/{OrDatePicker.vue_vue_type_script_lang-ae3aabc6.js → OrDatePicker.vue_vue_type_script_lang-15cde361.js} +2 -2
  32. package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-911a50a3.js → OrDateTimePicker.vue_vue_type_script_lang-e3f9a844.js} +2 -2
  33. package/dist/bundled/v3/{OrDateTimePickerPopoverHeader-eff1f44b.js → OrDateTimePickerPopoverHeader-d9eef487.js} +1 -1
  34. package/dist/bundled/v3/{OrFormGroup.vue_vue_type_script_lang-d67479fc.js → OrFormGroup.vue_vue_type_script_lang-1c6844d6.js} +1 -1
  35. package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-ec80afeb.js → OrInput.vue_vue_type_script_lang-0ddddd27.js} +1 -1
  36. package/dist/bundled/v3/{OrLabel.vue_vue_type_script_lang-fcdfd80d.js → OrLabel.vue_vue_type_script_lang-3e11ab8a.js} +3 -6
  37. package/dist/bundled/v3/{OrRadio.vue_vue_type_script_lang-08ab2220.js → OrRadio.vue_vue_type_script_lang-48c2bc6b.js} +1 -1
  38. package/dist/bundled/v3/{OrRadioGroup.vue_vue_type_script_lang-d84948fc.js → OrRadioGroup.vue_vue_type_script_lang-d7f6f8ca.js} +2 -2
  39. package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-12bbade9.js → OrSearch.vue_vue_type_script_lang-495149b0.js} +1 -1
  40. package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-5f42a363.js → OrSelect.vue_vue_type_script_lang-cb556343.js} +8 -36
  41. package/dist/bundled/v3/{OrSwitch.vue_vue_type_script_lang-14b4ec0a.js → OrSwitch.vue_vue_type_script_lang-ee55263f.js} +1 -1
  42. package/dist/bundled/v3/{OrTagInput.vue_vue_type_script_lang-00010fb4.js → OrTagInput.vue_vue_type_script_lang-9f594179.js} +1 -1
  43. package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-a7cfbe82.js → OrTextarea.vue_vue_type_script_lang-7562cca1.js} +1 -1
  44. package/dist/bundled/v3/{OrTimePicker.vue_vue_type_script_lang-a3554386.js → OrTimePicker.vue_vue_type_script_lang-7de3a004.js} +2 -2
  45. package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.js +5 -5
  46. package/dist/bundled/v3/components/OrCardCollectionV3/index.js +4 -4
  47. package/dist/bundled/v3/components/OrCheckboxGroupV3/OrCheckboxGroup.js +6 -6
  48. package/dist/bundled/v3/components/OrCheckboxGroupV3/index.js +5 -5
  49. package/dist/bundled/v3/components/OrCheckboxTreeV3/OrCheckboxTree.js +4 -4
  50. package/dist/bundled/v3/components/OrCheckboxTreeV3/index.js +3 -3
  51. package/dist/bundled/v3/components/OrCheckboxV3/OrCheckbox.js +4 -5
  52. package/dist/bundled/v3/components/OrCheckboxV3/OrCheckbox.vue.d.ts +3 -3
  53. package/dist/bundled/v3/components/OrCheckboxV3/index.js +2 -2
  54. package/dist/bundled/v3/components/OrCodeV3/OrCode.js +3 -3
  55. package/dist/bundled/v3/components/OrCodeV3/index.js +2 -2
  56. package/dist/bundled/v3/components/OrCombinedInputV3/OrCombinedInput.js +3 -3
  57. package/dist/bundled/v3/components/OrCombinedInputV3/index.js +2 -2
  58. package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.js +4 -4
  59. package/dist/bundled/v3/components/OrConfirmV3/index.js +3 -3
  60. package/dist/bundled/v3/components/OrDatePickerV3/OrDatePicker.js +4 -4
  61. package/dist/bundled/v3/components/OrDatePickerV3/index.js +3 -3
  62. package/dist/bundled/v3/components/OrDateTimePickerV3/OrDateTimePicker.js +4 -4
  63. package/dist/bundled/v3/components/OrDateTimePickerV3/index.js +3 -3
  64. package/dist/bundled/v3/components/OrFormGroupV3/OrFormGroup.js +3 -3
  65. package/dist/bundled/v3/components/OrFormGroupV3/index.js +2 -2
  66. package/dist/bundled/v3/components/OrInputV3/OrInput.js +3 -3
  67. package/dist/bundled/v3/components/OrInputV3/index.js +2 -2
  68. package/dist/bundled/v3/components/OrLabelV3/OrLabel.js +3 -4
  69. package/dist/bundled/v3/components/OrLabelV3/OrLabel.vue.d.ts +3 -12
  70. package/dist/bundled/v3/components/OrLabelV3/index.js +1 -1
  71. package/dist/bundled/v3/components/OrLabelV3/props.d.ts +1 -2
  72. package/dist/bundled/v3/components/OrLabelV3/props.js +0 -1
  73. package/dist/bundled/v3/components/OrLabelV3/styles.d.ts +2 -2
  74. package/dist/bundled/v3/components/OrLabelV3/styles.js +5 -14
  75. package/dist/bundled/v3/components/OrRadioGroupV3/OrRadioGroup.js +5 -5
  76. package/dist/bundled/v3/components/OrRadioGroupV3/index.js +4 -4
  77. package/dist/bundled/v3/components/OrRadioV3/OrRadio.js +3 -3
  78. package/dist/bundled/v3/components/OrRadioV3/index.js +2 -2
  79. package/dist/bundled/v3/components/OrSearchV3/OrSearch.js +4 -4
  80. package/dist/bundled/v3/components/OrSearchV3/index.js +3 -3
  81. package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +43 -93
  82. package/dist/bundled/v3/components/OrSelectV3/OrSelect.vue.d.ts +0 -7
  83. package/dist/bundled/v3/components/OrSelectV3/index.js +4 -4
  84. package/dist/bundled/v3/components/OrSelectV3/styles.d.ts +1 -3
  85. package/dist/bundled/v3/components/OrSelectV3/styles.js +2 -12
  86. package/dist/bundled/v3/components/OrSwitchV3/OrSwitch.js +3 -3
  87. package/dist/bundled/v3/components/OrSwitchV3/index.js +2 -2
  88. package/dist/bundled/v3/components/OrTagInputV3/OrTagInput.js +3 -3
  89. package/dist/bundled/v3/components/OrTagInputV3/index.js +2 -2
  90. package/dist/bundled/v3/components/OrTextareaV3/OrTextarea.js +3 -3
  91. package/dist/bundled/v3/components/OrTextareaV3/index.js +2 -2
  92. package/dist/bundled/v3/components/OrTimePickerV3/OrTimePicker.js +4 -4
  93. package/dist/bundled/v3/components/OrTimePickerV3/index.js +3 -3
  94. package/dist/bundled/v3/components/index.js +21 -21
  95. package/dist/bundled/v3/directives/dropdown-close.js +2 -0
  96. package/dist/bundled/v3/directives/dropdown-open.js +3 -1
  97. package/dist/bundled/v3/index.js +22 -22
  98. package/dist/esm/v2/{OrCardCollection-10ae5e3a.js → OrCardCollection-9aaa7a3c.js} +1 -1
  99. package/dist/esm/v2/{OrCheckbox-ae903071.js → OrCheckbox-db66b4ea.js} +3 -4
  100. package/dist/esm/v2/{OrCheckboxGroup-74dc7c1d.js → OrCheckboxGroup-a04f27fe.js} +2 -2
  101. package/dist/esm/v2/{OrCheckboxTree-19f5d69b.js → OrCheckboxTree-f48db82f.js} +1 -1
  102. package/dist/esm/v2/{OrCode-65f78f9f.js → OrCode-dd915faf.js} +1 -1
  103. package/dist/esm/v2/{OrCombinedInput-2639e3e1.js → OrCombinedInput-45187323.js} +1 -1
  104. package/dist/esm/v2/{OrConfirm-d2ae622a.js → OrConfirm-a0875502.js} +1 -1
  105. package/dist/esm/v2/{OrDatePicker-3eef3059.js → OrDatePicker-0b119ef4.js} +3 -3
  106. package/dist/esm/v2/{OrDateTimePicker-aeebd5ea.js → OrDateTimePicker-061c7472.js} +1 -1
  107. package/dist/esm/v2/{OrDateTimePicker.vue_rollup-plugin-vue_script-5044ee23.js → OrDateTimePicker.vue_rollup-plugin-vue_script-18dea32e.js} +3 -3
  108. package/dist/esm/v2/{OrDateTimePickerPopoverHeader-83eb5ad1.js → OrDateTimePickerPopoverHeader-30ec0bf4.js} +1 -1
  109. package/dist/esm/v2/{OrFormGroup-9000fcdf.js → OrFormGroup-29a514db.js} +1 -1
  110. package/dist/esm/v2/{OrInput-fbed0b61.js → OrInput-99ccfff7.js} +3 -3
  111. package/dist/esm/v2/{OrLabel-4a3d8904.js → OrLabel-63380256.js} +6 -18
  112. package/dist/esm/v2/{OrRadio-0fc3ae14.js → OrRadio-b32dfbfe.js} +1 -1
  113. package/dist/esm/v2/{OrRadioGroup-1108883d.js → OrRadioGroup-d1c2e460.js} +2 -2
  114. package/dist/esm/v2/{OrSearch-598dee09.js → OrSearch-f49e5f70.js} +1 -1
  115. package/dist/esm/v2/{OrSelect-36461157.js → OrSelect-5e9508c9.js} +27 -156
  116. package/dist/esm/v2/{OrSwitch-a3da6bec.js → OrSwitch-e49ce2d8.js} +1 -1
  117. package/dist/esm/v2/{OrTagInput-400f0605.js → OrTagInput-5b1ac86e.js} +1 -1
  118. package/dist/esm/v2/{OrTextarea-6fe8b65f.js → OrTextarea-824f7048.js} +1 -1
  119. package/dist/esm/v2/{OrTimePicker-b6c79be1.js → OrTimePicker-d73ce31e.js} +4 -4
  120. package/dist/esm/v2/components/index.js +23 -23
  121. package/dist/esm/v2/components/or-card-collection-v3/index.js +4 -4
  122. package/dist/esm/v2/components/or-checkbox-group-v3/index.js +5 -5
  123. package/dist/esm/v2/components/or-checkbox-tree-v3/index.js +3 -3
  124. package/dist/esm/v2/components/or-checkbox-v3/OrCheckbox.vue.d.ts +5 -5
  125. package/dist/esm/v2/components/or-checkbox-v3/index.js +2 -2
  126. package/dist/esm/v2/components/or-code-v3/index.js +2 -2
  127. package/dist/esm/v2/components/or-combined-input-v3/index.js +2 -2
  128. package/dist/esm/v2/components/or-confirm-v3/index.js +3 -3
  129. package/dist/esm/v2/components/or-date-picker-v3/index.js +4 -4
  130. package/dist/esm/v2/components/or-date-time-picker-v3/index.js +5 -5
  131. package/dist/esm/v2/components/or-form-group-v3/index.js +2 -2
  132. package/dist/esm/v2/components/or-input-v3/index.js +2 -2
  133. package/dist/esm/v2/components/or-label-v3/OrLabel.vue.d.ts +5 -16
  134. package/dist/esm/v2/components/or-label-v3/index.js +1 -1
  135. package/dist/esm/v2/components/or-label-v3/props.d.ts +1 -2
  136. package/dist/esm/v2/components/or-label-v3/styles.d.ts +2 -2
  137. package/dist/esm/v2/components/or-radio-group-v3/index.js +4 -4
  138. package/dist/esm/v2/components/or-radio-v3/index.js +2 -2
  139. package/dist/esm/v2/components/or-search-v3/index.js +3 -3
  140. package/dist/esm/v2/components/or-select-v3/OrSelect.vue.d.ts +0 -14
  141. package/dist/esm/v2/components/or-select-v3/index.js +6 -6
  142. package/dist/esm/v2/components/or-select-v3/styles.d.ts +1 -3
  143. package/dist/esm/v2/components/or-switch-v3/index.js +2 -2
  144. package/dist/esm/v2/components/or-tag-input-v3/index.js +2 -2
  145. package/dist/esm/v2/components/or-textarea-v3/index.js +2 -2
  146. package/dist/esm/v2/components/or-time-picker-v3/index.js +5 -5
  147. package/dist/esm/v2/directives/index.js +1 -1
  148. package/dist/esm/{v3/dropdown-open-06d651cf.js → v2/dropdown-open-e1f90e0a.js} +5 -1
  149. package/dist/esm/v2/index.js +23 -23
  150. package/dist/esm/v3/{OrCardCollection-7d647b53.js → OrCardCollection-5a10ca80.js} +1 -1
  151. package/dist/esm/v3/{OrCheckbox-a571fc90.js → OrCheckbox-09f62aab.js} +2 -3
  152. package/dist/esm/v3/{OrCheckboxGroup-7fe25d85.js → OrCheckboxGroup-6c054793.js} +2 -2
  153. package/dist/esm/v3/{OrCheckboxTree-bea23696.js → OrCheckboxTree-bb32455e.js} +1 -1
  154. package/dist/esm/v3/{OrCode-fd372d76.js → OrCode-98aceeef.js} +1 -1
  155. package/dist/esm/v3/{OrCombinedInput-6dd0f75d.js → OrCombinedInput-2800ee8b.js} +1 -1
  156. package/dist/esm/v3/{OrConfirm-de678c6c.js → OrConfirm-8d0351b9.js} +1 -1
  157. package/dist/esm/v3/{OrDatePicker-10c4e1ea.js → OrDatePicker-819007d7.js} +3 -3
  158. package/dist/esm/v3/{OrDateTimePicker-044dd6fb.js → OrDateTimePicker-7b08665c.js} +3 -3
  159. package/dist/esm/v3/{OrDateTimePickerPopoverHeader-ae493df9.js → OrDateTimePickerPopoverHeader-c3900e9a.js} +1 -1
  160. package/dist/esm/v3/{OrFormGroup-c4631ef0.js → OrFormGroup-9f581536.js} +1 -1
  161. package/dist/esm/v3/{OrInput-487c7632.js → OrInput-cfc9d445.js} +1 -1
  162. package/dist/esm/v3/{OrLabel-d4c46bb6.js → OrLabel-4da56db0.js} +7 -19
  163. package/dist/esm/v3/{OrRadio-48cd02a9.js → OrRadio-7b722b16.js} +1 -1
  164. package/dist/esm/v3/{OrRadioGroup-82d10aa8.js → OrRadioGroup-58c0214c.js} +2 -2
  165. package/dist/esm/v3/{OrSearch-998e4390.js → OrSearch-c823ee5e.js} +1 -1
  166. package/dist/esm/v3/{OrSelect-1ef6f9d9.js → OrSelect-d4bbddf1.js} +47 -135
  167. package/dist/esm/v3/{OrSwitch-f4d9e196.js → OrSwitch-a6efd081.js} +1 -1
  168. package/dist/esm/v3/{OrTagInput-65e725b0.js → OrTagInput-b5f6be7c.js} +1 -1
  169. package/dist/esm/v3/{OrTextarea-f3412790.js → OrTextarea-6c471ccd.js} +1 -1
  170. package/dist/esm/v3/{OrTimePicker-ef98ec36.js → OrTimePicker-27be4172.js} +4 -4
  171. package/dist/esm/v3/components/index.js +22 -22
  172. package/dist/esm/v3/components/or-card-collection-v3/index.js +4 -4
  173. package/dist/esm/v3/components/or-checkbox-group-v3/index.js +5 -5
  174. package/dist/esm/v3/components/or-checkbox-tree-v3/index.js +3 -3
  175. package/dist/esm/v3/components/or-checkbox-v3/OrCheckbox.vue.d.ts +3 -3
  176. package/dist/esm/v3/components/or-checkbox-v3/index.js +2 -2
  177. package/dist/esm/v3/components/or-code-v3/index.js +2 -2
  178. package/dist/esm/v3/components/or-combined-input-v3/index.js +2 -2
  179. package/dist/esm/v3/components/or-confirm-v3/index.js +3 -3
  180. package/dist/esm/v3/components/or-date-picker-v3/index.js +4 -4
  181. package/dist/esm/v3/components/or-date-time-picker-v3/index.js +4 -4
  182. package/dist/esm/v3/components/or-form-group-v3/index.js +2 -2
  183. package/dist/esm/v3/components/or-input-v3/index.js +2 -2
  184. package/dist/esm/v3/components/or-label-v3/OrLabel.vue.d.ts +3 -12
  185. package/dist/esm/v3/components/or-label-v3/index.js +1 -1
  186. package/dist/esm/v3/components/or-label-v3/props.d.ts +1 -2
  187. package/dist/esm/v3/components/or-label-v3/styles.d.ts +2 -2
  188. package/dist/esm/v3/components/or-radio-group-v3/index.js +4 -4
  189. package/dist/esm/v3/components/or-radio-v3/index.js +2 -2
  190. package/dist/esm/v3/components/or-search-v3/index.js +3 -3
  191. package/dist/esm/v3/components/or-select-v3/OrSelect.vue.d.ts +0 -7
  192. package/dist/esm/v3/components/or-select-v3/index.js +6 -6
  193. package/dist/esm/v3/components/or-select-v3/styles.d.ts +1 -3
  194. package/dist/esm/v3/components/or-switch-v3/index.js +2 -2
  195. package/dist/esm/v3/components/or-tag-input-v3/index.js +2 -2
  196. package/dist/esm/v3/components/or-textarea-v3/index.js +2 -2
  197. package/dist/esm/v3/components/or-time-picker-v3/index.js +5 -5
  198. package/dist/esm/v3/directives/index.js +1 -1
  199. package/dist/esm/{v2/dropdown-open-06d651cf.js → v3/dropdown-open-e1f90e0a.js} +5 -1
  200. package/dist/esm/v3/index.js +22 -22
  201. package/package.json +4 -9
  202. package/src/components/or-checkbox-v3/OrCheckbox.vue +0 -1
  203. package/src/components/or-input-v3/OrInput.vue +0 -1
  204. package/src/components/or-label-v3/OrLabel.vue +5 -9
  205. package/src/components/or-label-v3/props.ts +0 -1
  206. package/src/components/or-label-v3/styles.ts +4 -16
  207. package/src/components/or-select-v3/OrSelect.vue +27 -123
  208. package/src/components/or-select-v3/styles.ts +1 -18
  209. package/src/components/or-toast/constants.ts +4 -4
  210. package/src/directives/dropdown-close.ts +3 -0
  211. package/src/directives/dropdown-open.ts +4 -1
  212. package/dist/bundled/v2/components/OrSelect/stories.helpers.d.ts +0 -6
  213. package/dist/bundled/v3/components/OrSelect/stories.helpers.d.ts +0 -6
  214. package/dist/esm/v2/components/or-select/stories.helpers.d.ts +0 -6
  215. package/dist/esm/v3/components/or-select/stories.helpers.d.ts +0 -6
  216. package/src/components/or-avatar/OrAvatar.stories.ts +0 -44
  217. package/src/components/or-button/OrButton.stories.ts +0 -364
  218. package/src/components/or-button-v2/OrButton.stories.ts +0 -136
  219. package/src/components/or-card/OrCard.stories.ts +0 -58
  220. package/src/components/or-card-collection/OrCardCollection.stories.ts +0 -110
  221. package/src/components/or-checkbox/OrCheckbox.stories.ts +0 -383
  222. package/src/components/or-chips/OrChips.stories.ts +0 -96
  223. package/src/components/or-chips/or-chip/OrChip.stories.ts +0 -59
  224. package/src/components/or-code/OrCode.stories.ts +0 -328
  225. package/src/components/or-collapse/OrCollapse.stories.ts +0 -654
  226. package/src/components/or-color-picker/OrColorPicker.stories.ts +0 -48
  227. package/src/components/or-confirm/OrConfirm.stories.ts +0 -175
  228. package/src/components/or-date-time-picker/OrDateTimePicker.stories.ts +0 -162
  229. package/src/components/or-error/OrError.stories.ts +0 -35
  230. package/src/components/or-floating/OrFloating.stories.ts +0 -81
  231. package/src/components/or-hint/OrHint.stories.ts +0 -26
  232. package/src/components/or-icon/OrIcon.stories.ts +0 -74
  233. package/src/components/or-icon/or-icon-tips.stories.mdx +0 -26
  234. package/src/components/or-icon-button-v2/OrIconButton.stories.ts +0 -134
  235. package/src/components/or-inline-text-edit/OrInlineTextEdit.stories.ts +0 -187
  236. package/src/components/or-input/OrInput.stories.ts +0 -375
  237. package/src/components/or-input/or-textbox-migration.stories.mdx +0 -32
  238. package/src/components/or-label/OrLabel.stories.ts +0 -64
  239. package/src/components/or-list/OrList.stories.ts +0 -229
  240. package/src/components/or-list-of-inputs/OrListOfInputs.stories.ts +0 -164
  241. package/src/components/or-loader/OrLoader.stories.ts +0 -43
  242. package/src/components/or-modal/OrModal.stories.ts +0 -215
  243. package/src/components/or-notification/OrNotification.stories.ts +0 -98
  244. package/src/components/or-number-input/OrNumberInput.stories.ts +0 -354
  245. package/src/components/or-overflow-menu/OrOverflowMenu.stories.ts +0 -167
  246. package/src/components/or-overlay/OrOverlay.stories.ts +0 -53
  247. package/src/components/or-password/OrPassword.stories.ts +0 -367
  248. package/src/components/or-progress/OrProgress.stories.ts +0 -162
  249. package/src/components/or-radio/OrRadio.stories.ts +0 -143
  250. package/src/components/or-search/OrSearch.stories.ts +0 -402
  251. package/src/components/or-select/OrSelect.stories.ts +0 -330
  252. package/src/components/or-select/partials/OrSelectContent.stories.ts +0 -191
  253. package/src/components/or-select/partials/OrSelectInput.stories.ts +0 -115
  254. package/src/components/or-select/stories.helpers.ts +0 -40
  255. package/src/components/or-sidebar/OrSidebar.stories.ts +0 -242
  256. package/src/components/or-skeleton/OrSkeleton.stories.ts +0 -120
  257. package/src/components/or-skeleton/or-skeleton-circle/OrSkeletonCircle.stories.ts +0 -35
  258. package/src/components/or-skeleton/or-skeleton-rect/OrSkeletonRect.stories.ts +0 -53
  259. package/src/components/or-skeleton/or-skeleton-text/OrSkeletonText.stories.ts +0 -52
  260. package/src/components/or-slider/OrSlider.stories.ts +0 -49
  261. package/src/components/or-stepper/OrStepper.stories.ts +0 -50
  262. package/src/components/or-switch/OrSwitch.stories.ts +0 -194
  263. package/src/components/or-tabs/OrTabs.stories.ts +0 -166
  264. package/src/components/or-tag/OrTag.stories.ts +0 -87
  265. package/src/components/or-teleport/OrTeleport.stories.ts +0 -54
  266. package/src/components/or-textarea/OrTextarea.stories.ts +0 -367
  267. package/src/components/or-textbox/OrTextbox.stories.ts +0 -596
  268. package/src/components/or-toast/OrToast.stories.ts +0 -59
  269. package/src/components/or-toast/or-toast-container/OrToastContainer.stories.mdx +0 -101
  270. package/src/components/or-toast/or-toast-container/OrToastContainer.stories.ts +0 -96
  271. package/src/components/or-tooltip/OrTooltip.stories.ts +0 -205
  272. package/src/hooks/useResponsive/useResponsive.stories.mdx +0 -26
  273. /package/dist/bundled/v2/{OrDateTimePickerPopoverHeader-f3d67e5d.js → OrDateTimePickerPopoverHeader-a4f77733.js} +0 -0
@@ -1,383 +0,0 @@
1
- import { ArgTypes, Story } from '@storybook/vue';
2
-
3
- import OrCheckbox from './OrCheckbox.vue';
4
- import { OrButtonV2 as OrButton } from '../or-button-v2';
5
- import { action } from '@storybook/addon-actions';
6
-
7
- export default {
8
- title: 'Components/OrCheckbox',
9
- component: OrCheckbox,
10
- };
11
-
12
- const components = {
13
- OrCheckbox,
14
- OrButton,
15
- };
16
-
17
- const props = (argTypes: ArgTypes) => Object.keys(argTypes);
18
-
19
- const defaultMixin = (argTypes: ArgTypes) => ({
20
- props: props(argTypes),
21
-
22
- components,
23
-
24
- data() {
25
- return {
26
- currentValue: false,
27
- selected: [],
28
- selectedObjects: [],
29
- };
30
- },
31
-
32
- methods: {
33
- action: action('update:modelValue'),
34
- onFocus: action('focus'),
35
- onBlur: action('blur'),
36
- },
37
- });
38
-
39
- const defaultMixinWithValue = (argTypes: ArgTypes) => ({
40
- props: props(argTypes),
41
-
42
- components,
43
-
44
- data() {
45
- return {
46
- currentValue: true,
47
- selected: ['Foo'],
48
- selectedObjects: [
49
- {
50
- label: 'Foo',
51
- value: 'Foo',
52
- items: [
53
- {
54
- label: 'Foo',
55
- value: 'Foo',
56
- },
57
- {
58
- label: 'Foo',
59
- value: 'Foo',
60
- },
61
- ],
62
- },
63
- ],
64
- };
65
- },
66
-
67
- methods: {
68
- action: action('update:modelValue'),
69
- onFocus: action('focus'),
70
- onBlur: action('blur'),
71
- },
72
- });
73
-
74
- const DefaultTemplate: Story = (_args, { argTypes }) => ({
75
- mixins: [defaultMixin(argTypes)],
76
-
77
- template: `
78
- <or-checkbox
79
- v-model="currentValue"
80
- v-bind="$props"
81
- :label="$props.label ? $props.label + '. Value: ' + currentValue : ''"
82
- @update:modelValue="action"
83
- @focus="onFocus"
84
- @blur="onBlur"
85
- >
86
- <span>Slot content. Value: {{ currentValue }}</span>
87
- </or-checkbox>
88
- `,
89
- });
90
-
91
- const DefaultTemplateWithValue: Story = (_args, { argTypes }) => ({
92
- mixins: [defaultMixinWithValue(argTypes)],
93
-
94
- template: `
95
- <or-checkbox
96
- v-model="currentValue"
97
- v-bind="$props"
98
- :label="$props.label ? $props.label + '. Value: ' + currentValue : ''"
99
- @update:modelValue="action"
100
- @focus="onFocus"
101
- @blur="onBlur"
102
- >
103
- <span>Slot content. Value: {{ currentValue }}</span>
104
- </or-checkbox>
105
- `,
106
- });
107
-
108
- const TemplateWithLink: Story = (_args, { argTypes }) => ({
109
- mixins: [defaultMixin(argTypes)],
110
-
111
- template: `
112
- <or-checkbox
113
- v-model="currentValue"
114
- v-bind="$props"
115
- @update:modelValue="action"
116
- @focus="onFocus"
117
- @blur="onBlur"
118
- >
119
- Do you agree with <a href="https://google.com">this</a> rules?
120
- </or-checkbox>
121
- `,
122
- });
123
-
124
- const TemplateWithComponent: Story = (_args, { argTypes }) => ({
125
- mixins: [defaultMixin(argTypes)],
126
-
127
- template: `
128
- <or-checkbox
129
- v-model="currentValue"
130
- v-bind="$props"
131
- @update:modelValue="action"
132
- @focus="onFocus"
133
- @blur="onBlur"
134
- >
135
- content and <or-button color="error" content="Button" @click="onClick"/>
136
- </or-checkbox>
137
- `,
138
-
139
- methods: {
140
- onClick: action('click'),
141
- },
142
- });
143
-
144
- const TemplateGroup: Story = (_args, { argTypes }) => ({
145
- mixins: [defaultMixin(argTypes)],
146
- template: `
147
- <div>
148
- <or-checkbox
149
- v-model.trim="selected"
150
- label="Foo"
151
- value="Foo"
152
- @update:modelValue="action"
153
- @focus="onFocus"
154
- @blur="onBlur"
155
- />
156
-
157
- <or-checkbox
158
- v-model.trim="selected"
159
- label="Bar"
160
- value="Bar"
161
- @update:modelValue="action"
162
- @focus="onFocus"
163
- @blur="onBlur"
164
- />
165
-
166
- <or-checkbox
167
- v-model.trim="selected"
168
- label="Baz"
169
- value="Baz"
170
- @update:modelValue="action"
171
- @focus="onFocus"
172
- @blur="onBlur"
173
- />
174
- </div>
175
- `,
176
- });
177
-
178
- const TemplateGroupWithValue: Story = (_args, { argTypes }) => ({
179
- mixins: [defaultMixinWithValue(argTypes)],
180
-
181
- template: `
182
- <div>
183
- <or-checkbox
184
- v-model.trim="selected"
185
- label="Foo"
186
- value="Foo"
187
- @update:modelValue="action"
188
- @focus="onFocus"
189
- @blur="onBlur"
190
- />
191
-
192
- <or-checkbox
193
- v-model.trim="selected"
194
- label="Bar"
195
- value="Bar"
196
- @update:modelValue="action"
197
- @focus="onFocus"
198
- @blur="onBlur"
199
- />
200
-
201
- <or-checkbox
202
- v-model.trim="selected"
203
- label="Baz"
204
- value="Baz"
205
- @update:modelValue="action"
206
- @focus="onFocus"
207
- @blur="onBlur"
208
- />
209
- </div>
210
- `,
211
- });
212
-
213
- const TemplateGroupObjects: Story = (_args, { argTypes }) => ({
214
- mixins: [defaultMixin(argTypes)],
215
-
216
- template: `
217
- <div>
218
- <or-checkbox
219
- v-model="selectedObjects"
220
- label="Foo"
221
- :value="{label: 'Foo', value: 'Foo', items: [{label: 'Foo', value: 'Foo'}, {label: 'Foo', value: 'Foo'}]}"
222
- @update:modelValue="action"
223
- @focus="onFocus"
224
- @blur="onBlur"
225
- />
226
-
227
- <or-checkbox
228
- v-model="selectedObjects"
229
- label="Bar"
230
- :value="{label: 'Bar', value: 'Bar', items: [{label: 'Bar', value: 'Bar'}, {label: 'Bar', value: 'Bar'}]}"
231
- @update:modelValue="action"
232
- @focus="onFocus"
233
- @blur="onBlur"
234
- />
235
-
236
- <or-checkbox
237
- v-model="selectedObjects"
238
- label="Baz"
239
- :value="{label: 'Baz', value: 'Baz', items: [{label: 'Baz', value: 'Baz'}, {label: 'Baz', value: 'Baz'}]}"
240
- @update:modelValue="action"
241
- @focus="onFocus"
242
- @blur="onBlur"
243
- />
244
- </div>
245
- `,
246
- });
247
-
248
- const TemplateGroupObjectsWithValue: Story = (_args, { argTypes }) => ({
249
- mixins: [defaultMixinWithValue(argTypes)],
250
-
251
- template: `
252
- <div>
253
- <or-checkbox
254
- v-model="selectedObjects"
255
- label="Foo"
256
- :value="{label: 'Foo', value: 'Foo', items: [{label: 'Foo', value: 'Foo'}, {label: 'Foo', value: 'Foo'}]}"
257
- @update:modelValue="action"
258
- @focus="onFocus"
259
- @blur="onBlur"
260
- />
261
-
262
- <or-checkbox
263
- v-model="selectedObjects"
264
- label="Bar"
265
- :value="{label: 'Bar', value: 'Bar', items: [{label: 'Bar', value: 'Bar'}, {label: 'Bar', value: 'Bar'}]}"
266
- @update:modelValue="action"
267
- @focus="onFocus"
268
- @blur="onBlur"
269
- />
270
-
271
- <or-checkbox
272
- v-model="selectedObjects"
273
- label="Baz"
274
- :value="{label: 'Baz', value: 'Baz', items: [{label: 'Baz', value: 'Baz'}, {label: 'Baz', value: 'Baz'}]}"
275
- @update:modelValue="action"
276
- @focus="onFocus"
277
- @blur="onBlur"
278
- />
279
- </div>
280
- `,
281
- });
282
-
283
- const StateTemplate: Story = (_args, { argTypes }) => ({
284
- mixins: [defaultMixin(argTypes)],
285
-
286
- data() {
287
- return {
288
- count: 0,
289
-
290
- state: [
291
- {
292
- icon: '',
293
- value: 'default',
294
- },
295
- {
296
- icon: 'remove',
297
- value: 'remove',
298
- },
299
- {
300
- icon: 'done',
301
- value: 'done',
302
- },
303
- {
304
- icon: 'bolt',
305
- value: 'bolt',
306
- },
307
- {
308
- icon: 'remove',
309
- value: 'remove',
310
- },
311
- {
312
- icon: 'done',
313
- value: 'done',
314
- },
315
- {
316
- icon: 'bolt',
317
- value: 'bolt',
318
- },
319
- ],
320
- };
321
- },
322
-
323
- computed: {
324
- activeState() {
325
- return (this as any).state[(this as any).count];
326
- },
327
- },
328
-
329
- template: `
330
- <or-checkbox
331
- v-model="activeState"
332
- v-bind="$props"
333
- @update:modelValue="onChange"
334
- @focus="onFocus"
335
- @blur="onBlur"
336
- >
337
- {{ activeState }}
338
- <br>
339
- {{ state }}
340
- </or-checkbox>
341
- `,
342
-
343
- methods: {
344
- onChange(): void {
345
- const { length } = (this as any).state;
346
- (this as any).count += 1;
347
-
348
- if (length === (this as any).count) {
349
- (this as any).count = 0;
350
- }
351
- },
352
- },
353
- });
354
-
355
- export const Default = DefaultTemplate.bind({});
356
- Default.args = { label: 'Label' };
357
-
358
- export const DefaultValue = DefaultTemplateWithValue.bind({});
359
- DefaultValue.args = { ...Default.args };
360
-
361
- export const DefaultSlot = DefaultTemplate.bind({});
362
-
363
- export const DefaultDisabled = DefaultTemplate.bind({});
364
- DefaultDisabled.args = { isDisabled: true };
365
-
366
- export const DefaultDisabledWithValue = DefaultTemplateWithValue.bind({});
367
- DefaultDisabledWithValue.args = { ...DefaultDisabled.args };
368
-
369
- export const DefaultWithLink = TemplateWithLink.bind({});
370
-
371
- export const DefaultWithComponent = TemplateWithComponent.bind({});
372
-
373
- // groups
374
- export const GroupDefault = TemplateGroup.bind({});
375
- export const GroupDefaultWithValue = TemplateGroupWithValue.bind({});
376
-
377
- export const GroupObjects = TemplateGroupObjects.bind({});
378
- export const GroupObjectsWithValue = TemplateGroupObjectsWithValue.bind({});
379
-
380
- export const StateDefault = StateTemplate.bind({});
381
- StateDefault.args = {
382
- withState: true,
383
- };
@@ -1,96 +0,0 @@
1
- import Faker from 'faker';
2
- import { Story } from '@storybook/vue';
3
- import { action } from '@storybook/addon-actions';
4
-
5
- import OrChips from './OrChips.vue';
6
-
7
- export default {
8
- title: 'Components/OrChips/OrChips',
9
- component: OrChips,
10
- };
11
-
12
- const Template: Story = (args, { argTypes }) => ({
13
- props: Object.keys(argTypes),
14
- components: { OrChips },
15
- template: `
16
- <or-chips
17
- v-bind="$props"
18
- @update:modelValue="onInput"
19
- @blur="onBlur"
20
- @focus="onFocus"
21
- @add-chip="addChip"
22
- @delete-chip="deleteChip"
23
- />`,
24
- methods: {
25
- onInput: action('update:modelValue'),
26
- onFocus: action('focus'),
27
- onBlur: action('blur'),
28
- addChip: action('add-chip'),
29
- deleteChip: action('delete-chip'),
30
- },
31
- });
32
-
33
- export const Default = Template.bind({});
34
- Default.args = {
35
- label: Faker.commerce.productName(),
36
- placeholder: Faker.commerce.productName(),
37
- modelValue: [Faker.commerce.productName()],
38
- };
39
-
40
- export const Disabled = Template.bind({});
41
- Disabled.args = {
42
- isDisabled: true,
43
- label: Faker.commerce.productName(),
44
- placeholder: Faker.commerce.productName(),
45
- modelValue: [Faker.commerce.productName()],
46
- };
47
-
48
- export const LotsOfChips = Template.bind({});
49
- LotsOfChips.args = {
50
- label: Faker.commerce.productName(),
51
- placeholder: Faker.commerce.productName(),
52
- modelValue: Array.from(Array(10).keys()).map(Faker.commerce.productName),
53
- };
54
-
55
- export const VeryLongText = Template.bind({});
56
- const getLongText = () =>
57
- Faker.random.alpha({
58
- count: 250,
59
- upcase: true,
60
- });
61
-
62
- VeryLongText.args = {
63
- isInvalid: true,
64
- label: getLongText(),
65
- placeholder: Faker.commerce.productName(),
66
- error: getLongText(),
67
- modelValue: [getLongText(), getLongText(), getLongText()],
68
- };
69
-
70
- const DemoTemplate: Story = () => ({
71
- components: { OrChips },
72
- template: `
73
- <or-chips
74
- v-model="chips"
75
- :label="label"
76
- :placeholder="placeholder"
77
- :error="error"
78
- :is-invalid="isInvalid"
79
- />
80
- `,
81
- data() {
82
- return {
83
- chips: [],
84
- label: 'Tags',
85
- placeholder: Faker.commerce.productName(),
86
- error: 'Should have at least one tag!',
87
- };
88
- },
89
- computed: {
90
- isInvalid(): boolean {
91
- return !((this as any).chips as string[]).length;
92
- },
93
- },
94
- });
95
-
96
- export const Demo = DemoTemplate.bind({});
@@ -1,59 +0,0 @@
1
- import Faker from 'faker';
2
- import { Story } from '@storybook/vue';
3
- import { action } from '@storybook/addon-actions';
4
- import OrChip from './OrChip.vue';
5
-
6
- export default {
7
- title: 'Components/OrChips/OrChip',
8
- component: OrChip,
9
- args: {
10
- canDelete: true,
11
- isDisabled: false,
12
- },
13
- argTypes: {
14
- color: {
15
- control: 'select',
16
- options: ['default', 'error'],
17
- },
18
- canDelete: {
19
- control: 'boolean',
20
- },
21
- isDisabled: {
22
- control: 'boolean',
23
- },
24
- },
25
- };
26
-
27
- const Template: Story = (args, { argTypes }) => ({
28
- props: Object.keys(argTypes),
29
- components: { OrChip },
30
- template: '<or-chip v-bind="$props" @delete="onDelete" />',
31
- methods: {
32
- onDelete: action('delete'),
33
- },
34
- });
35
-
36
- export const Default = Template.bind({});
37
- Default.args = {
38
- content: Faker.commerce.productName(),
39
- };
40
-
41
- export const Disabled = Template.bind({});
42
- Disabled.args = {
43
- isDisabled: true,
44
- content: Faker.commerce.productName(),
45
- };
46
-
47
- export const VeryLongContent = Template.bind({});
48
- VeryLongContent.args = {
49
- content: Faker.random.alpha({
50
- count: 250,
51
- upcase: true,
52
- }),
53
- };
54
-
55
- export const Error = Template.bind({});
56
- Error.args = {
57
- color: 'error',
58
- content: Faker.commerce.productName(),
59
- };