@onereach/ui-components 2.71.1 → 2.71.2-beta.2238.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 (148) hide show
  1. package/dist/bundled/v2/{OrCardCollection-89428bbf.js → OrCardCollection-166cfcc6.js} +5 -5
  2. package/dist/bundled/v2/{OrConfirm-56d01cff.js → OrConfirm-55b89b17.js} +4 -4
  3. package/dist/bundled/v2/{OrListOfInputs-8f076650.js → OrListOfInputs-ab7f9d97.js} +4 -4
  4. package/dist/bundled/v2/OrNumberInput-face8ccc.js +227 -0
  5. package/dist/bundled/v2/OrPassword-a818e7b5.js +227 -0
  6. package/dist/bundled/v2/{OrSearch-f7cfa52f.js → OrSearch-832d7978.js} +4 -4
  7. package/dist/bundled/v2/{OrPassword-7da938aa.js → OrTextarea-71ff236d.js} +7 -449
  8. package/dist/bundled/v2/components/index.d.ts +5 -1
  9. package/dist/bundled/v2/components/index.js +9 -7
  10. package/dist/bundled/v2/components/or-card-collection/index.js +4 -4
  11. package/dist/bundled/v2/components/or-confirm/index.js +2 -2
  12. package/dist/bundled/v2/components/or-input/index.d.ts +1 -0
  13. package/dist/bundled/v2/components/or-input/index.js +13 -0
  14. package/dist/bundled/v2/components/or-list-of-inputs/index.js +2 -2
  15. package/dist/bundled/v2/components/or-number-input/index.d.ts +1 -0
  16. package/dist/bundled/v2/components/or-number-input/index.js +14 -0
  17. package/dist/bundled/v2/components/or-password/index.d.ts +1 -0
  18. package/dist/bundled/v2/components/{or-inputs → or-password}/index.js +3 -4
  19. package/dist/bundled/v2/components/or-search/index.d.ts +1 -0
  20. package/dist/bundled/v2/components/or-search/index.js +25 -0
  21. package/dist/bundled/v2/components/or-textarea/index.d.ts +1 -0
  22. package/dist/bundled/v2/components/or-textarea/index.js +13 -0
  23. package/dist/bundled/v2/index.js +8 -6
  24. package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-d8124dda.js → OrCardCollection.vue_vue_type_script_lang-cd84f344.js} +4 -4
  25. package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-0f16fc67.js → OrConfirm.vue_vue_type_script_lang-41b4d791.js} +2 -1
  26. package/dist/bundled/v3/{OrInput-7d4b571a.js → OrInput-704e72ba.js} +5 -193
  27. package/dist/bundled/v3/OrInput.vue_vue_type_script_lang-409235cc.js +190 -0
  28. package/dist/bundled/v3/{OrListOfInputs.vue_vue_type_script_lang-62dbf1e7.js → OrListOfInputs.vue_vue_type_script_lang-6c5cf7a5.js} +2 -1
  29. package/dist/bundled/v3/OrNumberInput.vue_vue_type_script_lang-f061d829.js +113 -0
  30. package/dist/bundled/v3/OrPassword.vue_vue_type_script_lang-b75f6543.js +99 -0
  31. package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-16fbccc0.js → OrSearch.vue_vue_type_script_lang-5356fa79.js} +2 -1
  32. package/dist/bundled/v3/OrTextarea.vue_vue_type_script_lang-69ea22e9.js +187 -0
  33. package/dist/bundled/v3/components/index.d.ts +5 -1
  34. package/dist/bundled/v3/components/index.js +10 -7
  35. package/dist/bundled/v3/components/or-card-collection/index.js +5 -4
  36. package/dist/bundled/v3/components/or-confirm/index.js +3 -2
  37. package/dist/bundled/v3/components/or-input/index.d.ts +1 -0
  38. package/dist/bundled/v3/components/or-input/index.js +14 -0
  39. package/dist/bundled/v3/components/or-list-of-inputs/index.js +3 -2
  40. package/dist/bundled/v3/components/or-number-input/index.d.ts +1 -0
  41. package/dist/bundled/v3/components/or-number-input/index.js +16 -0
  42. package/dist/bundled/v3/components/or-password/index.d.ts +1 -0
  43. package/dist/bundled/v3/components/or-password/index.js +31 -0
  44. package/dist/bundled/v3/components/or-search/index.d.ts +1 -0
  45. package/dist/bundled/v3/components/{or-inputs → or-search}/index.js +4 -5
  46. package/dist/bundled/v3/components/or-textarea/index.d.ts +1 -0
  47. package/dist/bundled/v3/components/or-textarea/index.js +14 -0
  48. package/dist/bundled/v3/index.js +658 -653
  49. package/dist/esm/v2/{OrCardCollection-f6b07557.js → OrCardCollection-19582949.js} +6 -7
  50. package/dist/esm/v2/{OrConfirm-d7112dd3.js → OrConfirm-ede619eb.js} +4 -4
  51. package/dist/esm/v2/{OrSearch.vue_rollup-plugin-vue_script-197d77fc.js → OrInput-6e6cfd11.js} +4 -492
  52. package/dist/esm/v2/{OrListOfInputs-50aa1ef1.js → OrListOfInputs-4298fa2c.js} +5 -5
  53. package/dist/esm/v2/OrNumberInput-b20d75d2.js +225 -0
  54. package/dist/esm/v2/OrPassword-e6d5e968.js +225 -0
  55. package/dist/esm/v2/{OrSearch-0589d17d.js → OrSearch-b4f4d59b.js} +122 -5
  56. package/dist/esm/v2/{OrPassword-1fa97156.js → OrTextarea-91a95068.js} +187 -245
  57. package/dist/esm/v2/components/index.d.ts +5 -1
  58. package/dist/esm/v2/components/index.js +9 -7
  59. package/dist/esm/v2/components/or-card-collection/index.js +3 -4
  60. package/dist/esm/v2/components/or-confirm/index.js +2 -3
  61. package/dist/esm/v2/components/or-input/index.d.ts +1 -0
  62. package/dist/esm/v2/components/or-input/index.js +11 -0
  63. package/dist/esm/v2/components/or-list-of-inputs/index.js +2 -4
  64. package/dist/esm/v2/components/or-number-input/index.d.ts +1 -0
  65. package/dist/esm/v2/components/or-number-input/index.js +12 -0
  66. package/dist/esm/v2/components/or-password/index.d.ts +1 -0
  67. package/dist/esm/v2/components/{or-inputs → or-password}/index.js +5 -6
  68. package/dist/esm/v2/components/or-search/index.d.ts +1 -0
  69. package/dist/esm/v2/components/or-search/index.js +23 -0
  70. package/dist/esm/v2/components/or-textarea/index.d.ts +1 -0
  71. package/dist/esm/v2/components/or-textarea/index.js +11 -0
  72. package/dist/esm/v2/index.js +8 -6
  73. package/dist/esm/v3/{OrCardCollection-a5e326ef.js → OrCardCollection-1e44c758.js} +2 -2
  74. package/dist/esm/v3/{OrConfirm-f39bd784.js → OrConfirm-c11ee2ec.js} +1 -1
  75. package/dist/esm/v3/OrInput-81125804.js +295 -0
  76. package/dist/esm/v3/{OrListOfInputs-7a67440f.js → OrListOfInputs-508e056f.js} +1 -1
  77. package/dist/esm/v3/OrNumberInput-b32b5ce3.js +170 -0
  78. package/dist/esm/v3/OrPassword-b0cbb578.js +162 -0
  79. package/dist/esm/v3/OrSearch-11fdf667.js +188 -0
  80. package/dist/esm/v3/OrTextarea-1f5c3be1.js +290 -0
  81. package/dist/esm/v3/components/index.d.ts +5 -1
  82. package/dist/esm/v3/components/index.js +9 -5
  83. package/dist/esm/v3/components/or-card-collection/index.js +3 -3
  84. package/dist/esm/v3/components/or-confirm/index.js +2 -3
  85. package/dist/esm/v3/components/or-input/index.d.ts +1 -0
  86. package/dist/esm/v3/components/or-input/index.js +11 -0
  87. package/dist/esm/v3/components/or-list-of-inputs/index.js +2 -4
  88. package/dist/esm/v3/components/or-number-input/index.d.ts +1 -0
  89. package/dist/esm/v3/components/or-number-input/index.js +12 -0
  90. package/dist/esm/v3/components/or-password/index.d.ts +1 -0
  91. package/dist/esm/v3/components/{or-inputs → or-password}/index.js +3 -2
  92. package/dist/esm/v3/components/or-search/index.d.ts +1 -0
  93. package/dist/esm/v3/components/or-search/index.js +20 -0
  94. package/dist/esm/v3/components/or-textarea/index.d.ts +1 -0
  95. package/dist/esm/v3/components/or-textarea/index.js +11 -0
  96. package/dist/esm/v3/index.js +8 -4
  97. package/package.json +2 -3
  98. package/src/components/index.ts +5 -1
  99. package/src/components/or-card-collection/OrCardCollection.vue +8 -8
  100. package/src/components/or-confirm/OrConfirm.vue +1 -1
  101. package/src/components/or-input/index.ts +1 -0
  102. package/src/components/or-list/OrList.stories.ts +1 -1
  103. package/src/components/or-list-of-inputs/OrListOfInputs.vue +1 -1
  104. package/src/components/or-modal/OrModal.stories.ts +1 -1
  105. package/src/components/{or-inputs → or-number-input}/OrNumberInput.vue +1 -1
  106. package/src/components/or-number-input/index.ts +1 -0
  107. package/src/components/{or-inputs → or-password}/OrPassword.vue +1 -1
  108. package/src/components/or-password/index.ts +1 -0
  109. package/src/components/{or-inputs → or-search}/OrSearch.vue +1 -1
  110. package/src/components/or-search/index.ts +1 -0
  111. package/src/components/{or-inputs → or-textarea}/OrTextarea.vue +225 -6
  112. package/src/components/or-textarea/index.ts +1 -0
  113. package/dist/bundled/v2/components/or-inputs/index.d.ts +0 -5
  114. package/dist/bundled/v3/OrPassword.vue_vue_type_script_lang-13bc5b00.js +0 -390
  115. package/dist/bundled/v3/components/or-inputs/index.d.ts +0 -5
  116. package/dist/esm/v2/components/or-inputs/index.d.ts +0 -5
  117. package/dist/esm/v3/OrSearch-7cb2c91c.js +0 -1075
  118. package/dist/esm/v3/components/or-inputs/index.d.ts +0 -5
  119. package/src/components/or-inputs/index.ts +0 -5
  120. /package/dist/bundled/v2/{OrInput-08f2f666.js → OrInput-df1a14fa.js} +0 -0
  121. /package/dist/bundled/v2/components/{or-inputs → or-input}/OrInput.vue.d.ts +0 -0
  122. /package/dist/bundled/v2/components/{or-inputs → or-number-input}/OrNumberInput.vue.d.ts +0 -0
  123. /package/dist/bundled/v2/components/{or-inputs → or-password}/OrPassword.vue.d.ts +0 -0
  124. /package/dist/bundled/v2/components/{or-inputs → or-search}/OrSearch.vue.d.ts +0 -0
  125. /package/dist/bundled/v2/components/{or-inputs → or-textarea}/OrTextarea.vue.d.ts +0 -0
  126. /package/dist/bundled/v3/components/{or-inputs → or-input}/OrInput.vue.d.ts +0 -0
  127. /package/dist/bundled/v3/components/{or-inputs → or-number-input}/OrNumberInput.vue.d.ts +0 -0
  128. /package/dist/bundled/v3/components/{or-inputs → or-password}/OrPassword.vue.d.ts +0 -0
  129. /package/dist/bundled/v3/components/{or-inputs → or-search}/OrSearch.vue.d.ts +0 -0
  130. /package/dist/bundled/v3/components/{or-inputs → or-textarea}/OrTextarea.vue.d.ts +0 -0
  131. /package/dist/esm/v2/components/{or-inputs → or-input}/OrInput.vue.d.ts +0 -0
  132. /package/dist/esm/v2/components/{or-inputs → or-number-input}/OrNumberInput.vue.d.ts +0 -0
  133. /package/dist/esm/v2/components/{or-inputs → or-password}/OrPassword.vue.d.ts +0 -0
  134. /package/dist/esm/v2/components/{or-inputs → or-search}/OrSearch.vue.d.ts +0 -0
  135. /package/dist/esm/v2/components/{or-inputs → or-textarea}/OrTextarea.vue.d.ts +0 -0
  136. /package/dist/esm/v3/components/{or-inputs → or-input}/OrInput.vue.d.ts +0 -0
  137. /package/dist/esm/v3/components/{or-inputs → or-number-input}/OrNumberInput.vue.d.ts +0 -0
  138. /package/dist/esm/v3/components/{or-inputs → or-password}/OrPassword.vue.d.ts +0 -0
  139. /package/dist/esm/v3/components/{or-inputs → or-search}/OrSearch.vue.d.ts +0 -0
  140. /package/dist/esm/v3/components/{or-inputs → or-textarea}/OrTextarea.vue.d.ts +0 -0
  141. /package/src/components/{or-inputs → or-input}/OrInput.stories.ts +0 -0
  142. /package/src/components/{or-inputs → or-input}/OrInput.vue +0 -0
  143. /package/src/components/{or-inputs → or-input}/or-textbox-migration.stories.mdx +0 -0
  144. /package/src/components/{or-inputs → or-input}/styles.scss +0 -0
  145. /package/src/components/{or-inputs → or-number-input}/OrNumberInput.stories.ts +0 -0
  146. /package/src/components/{or-inputs → or-password}/OrPassword.stories.ts +0 -0
  147. /package/src/components/{or-inputs → or-search}/OrSearch.stories.ts +0 -0
  148. /package/src/components/{or-inputs → or-textarea}/OrTextarea.stories.ts +0 -0
@@ -5,7 +5,7 @@ export { s as OrButton, a as OrButtonColors, b as OrButtonSizes, O as OrButtonVi
5
5
  export { b as BUTTON_COLOR, d as BUTTON_LOADER_TYPE, c as BUTTON_SIZE, B as BUTTON_TYPE, I as ICON_BUTTON_TYPE, s as OrButtonV2, a as OrIconButton } from './OrIconButton-8be9c89f.js';
6
6
  export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from './OrButton-c56998e7.js';
7
7
  export { s as OrCard } from './OrCard-e3a5aea4.js';
8
- export { C as CARD_COLLECTION_LAYOUT, s as OrCardCollection } from './OrCardCollection-a5e326ef.js';
8
+ export { C as CARD_COLLECTION_LAYOUT, s as OrCardCollection } from './OrCardCollection-1e44c758.js';
9
9
  export { D as DefaultCardCollectionViews, s as OrCardCollectionV3, d as defaultViewModes, g as gridView, l as listView } from './OrCardCollection-47f61c40.js';
10
10
  export { s as OrCardV3 } from './OrCard-cd6af82e.js';
11
11
  export { a as OrCarousel, s as OrCarouselItem } from './OrCarouselItem-636d99a1.js';
@@ -15,7 +15,7 @@ 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
- export { s as OrConfirm } from './OrConfirm-f39bd784.js';
18
+ export { s as OrConfirm } from './OrConfirm-c11ee2ec.js';
19
19
  export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-e7cbf54c.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';
@@ -36,12 +36,12 @@ export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, s as OrInli
36
36
  export { s as OrInlineTextareaV3 } from './OrInlineTextarea-56328f22.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-e16ade90.js';
38
38
  export { I as InputType, s as OrInputV3 } from './OrInput-6fb81556.js';
39
- export { a as OrInput, b as OrNumberInput, c as OrPassword, d as OrSearch, s as OrTextarea } from './OrSearch-7cb2c91c.js';
39
+ export { s as OrInput } from './OrInput-81125804.js';
40
40
  export { s as OrLabel } from './OrLabel-876f8729.js';
41
41
  export { L as LabelVariant, s as OrLabelV3 } from './OrLabel-f700f9fb.js';
42
42
  export { L as LinkColor, s as OrLinkV3 } from './OrLink-07f6f27d.js';
43
43
  export { s as OrList } from './OrList-b740d13e.js';
44
- export { s as OrListOfInputs } from './OrListOfInputs-7a67440f.js';
44
+ export { s as OrListOfInputs } from './OrListOfInputs-508e056f.js';
45
45
  export { L as LoaderViews, s as OrLoader } from './OrLoader-15174477.js';
46
46
  export { a as LoaderColor, b as LoaderSize, L as LoaderVariant, s as OrLoaderV3 } from './OrLoader-a53d2edf.js';
47
47
  export { s as OrMenuItemV3 } from './OrMenuItem-58707d47.js';
@@ -51,15 +51,18 @@ export { s as OrModal, O as OrModalSizes } from './OrModal-8b074b0c.js';
51
51
  export { M as ModalSize, s as OrModalV3 } from './OrModal-10838da7.js';
52
52
  export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, s as OrNotification } from './OrNotification-e85a4956.js';
53
53
  export { N as NotificationVariant, s as OrNotificationV3 } from './OrNotification-25da89ca.js';
54
+ export { s as OrNumberInput } from './OrNumberInput-b32b5ce3.js';
54
55
  export { s as OrOverflowMenu } from './OrOverflowMenu-e82cbcbe.js';
55
56
  export { s as OrOverlay } from './OrOverlay-451dce49.js';
56
57
  export { s as OrOverlayV3 } from './OrOverlay-afad3aa4.js';
58
+ export { s as OrPassword } from './OrPassword-b0cbb578.js';
57
59
  export { s as OrPaginationV3 } from './OrPagination-da9e5017.js';
58
60
  export { s as OrProgress, O as OrProgressColors, a as OrProgressTypes } from './OrProgress-d0d52c86.js';
59
61
  export { s as OrProgressV3, P as ProgressColor, a as ProgressType } from './OrProgress-639ed5e8.js';
60
62
  export { s as OrRadio } from './OrRadio-c3ab11f2.js';
61
63
  export { s as OrRadioGroup } from './OrRadioGroup-00785e41.js';
62
64
  export { s as OrRadioV3 } from './OrRadio-bb9b37c1.js';
65
+ export { s as OrSearch } from './OrSearch-11fdf667.js';
63
66
  export { s as OrSearchV3 } from './OrSearch-e15955a7.js';
64
67
  export { s as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-880b4911.js';
65
68
  export { s as OrSelect } from './OrSelect-0821b907.js';
@@ -83,6 +86,7 @@ export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-21ba5e15.j
83
86
  export { s as OrTeleport } from './OrTeleportVue3-ad639f12.js';
84
87
  export { s as OrTeleportV3 } from './OrTeleport.vue3-8099178c.js';
85
88
  export { s as OrTextV3 } from './OrText-6b4f7cd1.js';
89
+ export { s as OrTextarea } from './OrTextarea-1f5c3be1.js';
86
90
  export { s as OrTextareaV3 } from './OrTextarea-37566985.js';
87
91
  export { s as OrTextbox, T as TextboxTypes } from './OrTextbox-2f33e9c3.js';
88
92
  export { s as OrToast, a as OrToastContainer } from './OrToastContainer-40c4c1c8.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/ui-components",
3
- "version": "2.71.1",
3
+ "version": "2.71.2-beta.2238.0",
4
4
  "description": "Vue components library for v2/3",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/auto/index.js",
@@ -124,6 +124,5 @@
124
124
  "default": "./dist/bundled/v3/components/*/index.js"
125
125
  },
126
126
  "./package.json": "./package.json"
127
- },
128
- "gitHead": "b429baeec8510dcd3d91adad68deda284c42711f"
127
+ }
129
128
  }
@@ -36,7 +36,7 @@ export * from './or-inline-text-edit';
36
36
  export * from './or-inline-textarea-v3';
37
37
  export * from './or-input-box-v3';
38
38
  export * from './or-input-v3';
39
- export * from './or-inputs';
39
+ export * from './or-input';
40
40
  export * from './or-label';
41
41
  export * from './or-label-v3';
42
42
  export * from './or-link-v3';
@@ -50,9 +50,11 @@ export * from './or-modal';
50
50
  export * from './or-modal-v3';
51
51
  export * from './or-notification';
52
52
  export * from './or-notification-v3';
53
+ export * from './or-number-input';
53
54
  export * from './or-overflow-menu';
54
55
  export * from './or-overlay';
55
56
  export * from './or-overlay-v3';
57
+ export * from './or-password';
56
58
  export * from './or-pagination-v3';
57
59
  export * from './or-popover-v3';
58
60
  export * from './or-progress';
@@ -60,6 +62,7 @@ export * from './or-progress-v3';
60
62
  export * from './or-radio';
61
63
  export * from './or-radio-group';
62
64
  export * from './or-radio-v3';
65
+ export * from './or-search';
63
66
  export * from './or-search-v3';
64
67
  export * from './or-segmented-control-v3';
65
68
  export * from './or-select';
@@ -83,6 +86,7 @@ export * from './or-tag-v3';
83
86
  export * from './or-teleport';
84
87
  export * from './or-teleport-v3';
85
88
  export * from './or-text-v3';
89
+ export * from './or-textarea';
86
90
  export * from './or-textarea-v3';
87
91
  export * from './or-textbox';
88
92
  export * from './or-toast';
@@ -73,7 +73,7 @@ import { defineComponent, PropType, ref } from 'vue-demi';
73
73
  import { CARD_COLLECTION_LAYOUT } from './constants';
74
74
  import { OrCard } from '../or-card';
75
75
  import { OrIcon } from '../or-icon';
76
- import { OrSearch } from '../or-inputs';
76
+ import { OrSearch } from '../or-search';
77
77
  import { OrIconButton } from '../or-button-v2';
78
78
  import { LayoutOption, SortableColumn } from './types';
79
79
 
@@ -177,9 +177,9 @@ export default defineComponent({
177
177
  .or-card-collection {
178
178
  .or-card-collection-toolbar {
179
179
  display: flex;
180
- justify-content: space-between;
181
- align-items: center;
182
180
  column-gap: $s-4;
181
+ align-items: center;
182
+ justify-content: space-between;
183
183
  margin: 0 $s-4;
184
184
 
185
185
  .or-card-collection-sorting {
@@ -189,21 +189,21 @@ export default defineComponent({
189
189
  .or-card-collection-sorting-column {
190
190
  display: inline-flex;
191
191
  margin: $s-2 $s-6;
192
- text-transform: capitalize;
193
- color: $c-neutral-4;
194
192
  font-size: $fs-0;
195
193
  font-weight: $fw-0;
196
- letter-spacing: 0;
197
194
  line-height: $lh-0;
195
+ color: $c-neutral-4;
196
+ text-transform: capitalize;
197
+ letter-spacing: 0;
198
198
  user-select: none;
199
199
 
200
200
  &.sorting-selected {
201
- color: $c-neutral-6;
202
201
  font-weight: bold;
202
+ color: $c-neutral-6;
203
203
 
204
204
  .or-card-collection-sort-direction {
205
- height: 14px;
206
205
  width: 14px;
206
+ height: 14px;
207
207
  margin-left: $s-1;
208
208
  }
209
209
  }
@@ -53,7 +53,7 @@
53
53
  import { computed, defineComponent, PropType, ref } from 'vue-demi';
54
54
  import { OrButtonV2 as OrButton, BUTTON_COLOR } from '../or-button-v2';
55
55
  import { OrModal, OrModalSizes } from '../or-modal';
56
- import { OrInput } from '../or-inputs';
56
+ import { OrInput } from '../or-input';
57
57
  import { useActiveElement, useMagicKeys, whenever } from '@vueuse/core';
58
58
  import { logicAnd } from '@vueuse/math';
59
59
 
@@ -0,0 +1 @@
1
+ export { default as OrInput } from './OrInput.vue';
@@ -1,7 +1,7 @@
1
1
  import OrList from './OrList.vue';
2
2
  import { OrIcon } from '../or-icon';
3
3
  import { OrButtonV2 as OrButton } from '../or-button-v2';
4
- import { OrInput } from '../or-inputs';
4
+ import { OrInput } from '../or-input';
5
5
 
6
6
  import { ArgTypes, Story } from '@storybook/vue';
7
7
  import { action } from '@storybook/addon-actions';
@@ -76,7 +76,7 @@ import { defineComponent, PropType } from 'vue-demi';
76
76
  import _ from 'lodash';
77
77
 
78
78
  import { OrList } from '../or-list';
79
- import { OrInput } from '../or-inputs';
79
+ import { OrInput } from '../or-input';
80
80
  import { OrIcon } from '../or-icon';
81
81
  import { OrIconButton } from '../or-button-v2';
82
82
 
@@ -7,7 +7,7 @@ import { OrOverflowMenu } from '../or-overflow-menu';
7
7
  import { OrModalSizes } from './constants';
8
8
  import { OrCollapse } from '../or-collapse';
9
9
  import { OrSelect } from '../or-select';
10
- import { OrInput } from '../or-inputs';
10
+ import { OrInput } from '../or-input';
11
11
  import { getTestOption } from '../or-select/stories.helpers';
12
12
  import _ from 'lodash';
13
13
 
@@ -62,7 +62,7 @@
62
62
  </template>
63
63
  <script lang="ts">
64
64
  import { defineComponent, ref } from 'vue-demi';
65
- import OrInput from './OrInput.vue';
65
+ import { OrInput } from '../or-input';
66
66
 
67
67
  export default defineComponent({
68
68
  name: 'OrNumberInput',
@@ -0,0 +1 @@
1
+ export { default as OrNumberInput } from './OrNumberInput.vue';
@@ -64,8 +64,8 @@
64
64
  </template>
65
65
  <script lang="ts">
66
66
  import { defineComponent, ref } from 'vue-demi';
67
- import OrInput from './OrInput.vue';
68
67
  import { useVModel } from '@vueuse/core';
68
+ import { OrInput } from '../or-input';
69
69
  import { useToggle } from '../../hooks';
70
70
  import { BUTTON_SIZE, OrIconButton } from '../or-button-v2';
71
71
 
@@ -0,0 +1 @@
1
+ export { default as OrPassword } from './OrPassword.vue';
@@ -66,7 +66,7 @@
66
66
  </template>
67
67
  <script lang="ts">
68
68
  import { defineComponent, ref } from 'vue-demi';
69
- import OrInput from './OrInput.vue';
69
+ import { OrInput } from '../or-input';
70
70
  import { debouncedWatch } from '@vueuse/core';
71
71
  import { BUTTON_SIZE, OrIconButton } from '../or-button-v2';
72
72
 
@@ -0,0 +1 @@
1
+ export { default as OrSearch } from './OrSearch.vue';
@@ -114,11 +114,7 @@
114
114
  </template>
115
115
 
116
116
  <script lang="ts">
117
- import {
118
- defineComponent,
119
- ref,
120
- getCurrentInstance,
121
- } from 'vue-demi';
117
+ import { defineComponent, ref, getCurrentInstance } from 'vue-demi';
122
118
  import { pxToRem } from '../../utils/functions/px-to-rem';
123
119
  import {
124
120
  cancelAF,
@@ -319,5 +315,228 @@ export default defineComponent({
319
315
  </script>
320
316
 
321
317
  <style lang="scss" scoped>
322
- @import "./styles.scss";
318
+ @use "~@onereach/styles/src/global" as *;
319
+
320
+ .or-textbox {
321
+ display: flex;
322
+ align-items: flex-start;
323
+ justify-content: flex-start;
324
+ width: 100%;
325
+
326
+ &.is-show-info.has-label {
327
+ align-items: center;
328
+ }
329
+
330
+ &.has-label {
331
+ align-items: flex-end;
332
+ }
333
+
334
+ .or-label {
335
+ margin-bottom: $s-1;
336
+ }
337
+
338
+ &--append,
339
+ &--prepend {
340
+ position: relative;
341
+ display: flex;
342
+ align-items: center;
343
+ height: px-to-rem(36);
344
+ }
345
+
346
+ &--append {
347
+ margin-left: px-to-rem(10);
348
+ }
349
+
350
+ &--prepend {
351
+ margin-right: px-to-rem(10);
352
+ }
353
+
354
+ &--wrapper {
355
+ width: 100%;
356
+ }
357
+
358
+ &--input {
359
+ width: 100%;
360
+ min-width: px-to-rem(114);
361
+ height: px-to-rem(36);
362
+ padding: px-to-rem(10);
363
+ font-family: inherit;
364
+ font-size: $fs-1;
365
+ background-color: $c-neutral-1;
366
+ border: 1px solid $c-neutral-2;
367
+ border-radius: $s-2;
368
+ outline: none;
369
+
370
+ @include transition(border-color, background-color, -webkit-box-shadow);
371
+
372
+ &-textarea {
373
+ /* stylelint-disable-next-line scss/at-extend-no-missing-placeholder */
374
+ @extend .or-textbox--input;
375
+
376
+ min-height: px-to-rem(79);
377
+ max-height: px-to-rem(142);
378
+ overflow-x: hidden;
379
+ overflow-y: auto;
380
+ resize: none;
381
+ }
382
+
383
+ &-wrapper {
384
+ position: relative;
385
+ width: 100%;
386
+ }
387
+
388
+ &::placeholder {
389
+ color: $c-neutral-4;
390
+
391
+ @include transition(opacity);
392
+ }
393
+
394
+ &:-webkit-autofill {
395
+ -webkit-box-shadow: inset 0 0 0 50px $c-neutral-1;
396
+
397
+ @include focus {
398
+ -webkit-box-shadow: inset 0 0 0 50px $c-white;
399
+ }
400
+ }
401
+
402
+ @include hover {
403
+ background-color: $c-white;
404
+ border-color: $c-neutral-2-darken-3;
405
+ -webkit-box-shadow: inset 0 0 0 50px $c-white;
406
+ }
407
+
408
+ @include active {
409
+ &:not(:focus) {
410
+ border-color: $c-neutral-2-darken-5;
411
+ }
412
+ }
413
+
414
+ @include focus {
415
+ background-color: $c-white;
416
+ border-color: $c-primary;
417
+
418
+ &::placeholder {
419
+ opacity: 0;
420
+ }
421
+ }
422
+
423
+ @include disabled {
424
+ background-color: $c-neutral-2;
425
+ border-color: $c-neutral-2;
426
+ }
427
+
428
+ @include has-error {
429
+ border-color: $c-error;
430
+
431
+ @include hover {
432
+ border-color: $c-error-darken-3;
433
+ }
434
+
435
+ @include focus {
436
+ border-color: $c-error-darken-5;
437
+ }
438
+
439
+ @include disabled {
440
+ border-color: $c-error-lighten-20;
441
+ }
442
+ }
443
+ }
444
+
445
+ &--textarea {
446
+ /* stylelint-disable-next-line scss/at-extend-no-missing-placeholder */
447
+ @extend .or-textbox--input;
448
+
449
+ min-height: px-to-rem(79);
450
+ max-height: px-to-rem(142);
451
+ overflow-x: hidden;
452
+ overflow-y: auto;
453
+ resize: none;
454
+ }
455
+
456
+ &--info {
457
+ width: 100%;
458
+ margin: 0;
459
+
460
+ @include transition(height, opacity);
461
+ }
462
+
463
+ &--counter {
464
+ flex-shrink: 0;
465
+ margin-left: auto;
466
+ font-size: $fs-0;
467
+ line-height: px-to-rem(14);
468
+ color: $c-neutral-4;
469
+ }
470
+
471
+ &--hint,
472
+ &-error {
473
+ flex-shrink: 1;
474
+
475
+ @include transition(height, opacity);
476
+ }
477
+
478
+ &.is-small {
479
+ .or-textbox {
480
+ &--input {
481
+ height: px-to-rem(30);
482
+ padding: px-to-rem(8) px-to-rem(10);
483
+ font-size: $fs-0;
484
+
485
+ &-toggle-btn {
486
+ .material-icons {
487
+ font-size: $fs-1;
488
+ }
489
+ }
490
+ }
491
+ }
492
+ }
493
+
494
+ &.has-counter {
495
+ .or-textbox {
496
+ &--hint,
497
+ &--error {
498
+ padding-right: px-to-rem(15);
499
+ }
500
+ }
501
+ }
502
+
503
+ &.is-show-info {
504
+ .or-textbox {
505
+ &--info {
506
+ display: flex;
507
+ align-items: flex-start;
508
+ justify-content: space-between;
509
+ padding-top: px-to-rem(4);
510
+ }
511
+ }
512
+ }
513
+
514
+ @include disabled {
515
+ .or-textbox {
516
+ &--input-toggle-btn {
517
+ pointer-events: none;
518
+ }
519
+ }
520
+ }
521
+
522
+ @include has-error {
523
+ .or-textbox {
524
+ &--input {
525
+ border-color: $c-error;
526
+
527
+ @include hover {
528
+ border-color: $c-error-darken-3;
529
+ }
530
+
531
+ @include focus {
532
+ border-color: $c-error-darken-5;
533
+ }
534
+
535
+ @include disabled {
536
+ border-color: $c-error;
537
+ }
538
+ }
539
+ }
540
+ }
541
+ }
323
542
  </style>
@@ -0,0 +1 @@
1
+ export { default as OrTextarea } from './OrTextarea.vue';
@@ -1,5 +0,0 @@
1
- export { default as OrTextarea } from './OrTextarea.vue';
2
- export { default as OrInput } from './OrInput.vue';
3
- export { default as OrNumberInput } from './OrNumberInput.vue';
4
- export { default as OrPassword } from './OrPassword.vue';
5
- export { default as OrSearch } from './OrSearch.vue';