@propelinc/citrus-ui 1.0.4 → 1.3.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 (202) hide show
  1. package/README.md +51 -14
  2. package/dist/citrus-ui.cdn.css +1 -0
  3. package/dist/citrus-ui.css +1 -0
  4. package/dist/colors/colors.d.ts +31 -0
  5. package/dist/colors/theme.d.ts +3 -0
  6. package/dist/colors/util-classes.d.ts +11 -0
  7. package/dist/components/CAccordion.vue.d.ts +34 -0
  8. package/dist/components/CAccordionItem.vue.d.ts +39 -0
  9. package/dist/components/CAppBar.vue.d.ts +59 -0
  10. package/dist/components/CBadge.vue.d.ts +35 -0
  11. package/dist/components/CBottomSheet.vue.d.ts +90 -0
  12. package/dist/components/CButton/CButton.vue.d.ts +97 -0
  13. package/dist/components/CButton/types.d.ts +5 -0
  14. package/dist/components/CButtonStack.vue.d.ts +27 -0
  15. package/dist/components/CCard.vue.d.ts +53 -0
  16. package/dist/components/CCardFooter.vue.d.ts +20 -0
  17. package/dist/components/CCardHeader.vue.d.ts +22 -0
  18. package/dist/components/CCardSection.vue.d.ts +26 -0
  19. package/dist/components/CCheckbox.vue.d.ts +62 -0
  20. package/dist/components/CCol.vue.d.ts +30 -0
  21. package/dist/components/CDivider.vue.d.ts +9 -0
  22. package/dist/components/CDobField.vue.d.ts +60 -0
  23. package/dist/components/CDobSelect.vue.d.ts +50 -0
  24. package/dist/components/CEmailField.vue.d.ts +48 -0
  25. package/dist/components/CExpandTransition.vue.d.ts +29 -0
  26. package/dist/components/CFadeTransition.vue.d.ts +20 -0
  27. package/dist/components/CFileInput.vue.d.ts +50 -0
  28. package/dist/components/CFixedPageFooter.vue.d.ts +153 -0
  29. package/dist/components/CForm.vue.d.ts +44 -0
  30. package/dist/components/CFormFieldCounter.vue.d.ts +15 -0
  31. package/dist/components/CIconButton.vue.d.ts +97 -0
  32. package/dist/components/CLabel.vue.d.ts +36 -0
  33. package/dist/components/CListItem.vue.d.ts +56 -0
  34. package/dist/components/CListItemContent.vue.d.ts +27 -0
  35. package/dist/components/CListItemIcon.vue.d.ts +28 -0
  36. package/dist/components/CLoader.vue.d.ts +23 -0
  37. package/dist/components/CLogo.vue.d.ts +9 -0
  38. package/dist/components/CMaskedTextField.vue.d.ts +511 -0
  39. package/dist/components/CMenu.vue.d.ts +17 -0
  40. package/dist/components/CMenuItem.vue.d.ts +37 -0
  41. package/dist/components/CMenuLabel.vue.d.ts +20 -0
  42. package/dist/components/CModal.vue.d.ts +59 -0
  43. package/dist/components/CModalLoading.vue.d.ts +36 -0
  44. package/dist/components/CNotification.vue.d.ts +64 -0
  45. package/dist/components/CPhoneField.vue.d.ts +792 -0
  46. package/dist/components/CPill.vue.d.ts +41 -0
  47. package/dist/components/CPillGroup.vue.d.ts +39 -0
  48. package/dist/components/CPopup.vue.d.ts +37 -0
  49. package/dist/components/CProgressLinear.vue.d.ts +21 -0
  50. package/dist/components/CProgressRing.vue.d.ts +48 -0
  51. package/dist/components/CRadio.vue.d.ts +40 -0
  52. package/dist/components/CRadioGroup.vue.d.ts +54 -0
  53. package/dist/components/CRebrand.vue.d.ts +28 -0
  54. package/dist/components/CRow.vue.d.ts +41 -0
  55. package/dist/components/CSafeArea.vue.d.ts +18 -0
  56. package/dist/components/CSectionHeader.vue.d.ts +29 -0
  57. package/dist/components/CSelect.vue.d.ts +96 -0
  58. package/dist/components/CSkeleton.vue.d.ts +3 -0
  59. package/dist/components/CSkeletonLoaderCard.vue.d.ts +9 -0
  60. package/dist/components/CSkeletonLoaderCircle.vue.d.ts +3 -0
  61. package/dist/components/CSkeletonLoaderText.vue.d.ts +16 -0
  62. package/dist/components/CSlideFadeTransition.vue.d.ts +36 -0
  63. package/dist/components/CSplitInput.vue.d.ts +56 -0
  64. package/dist/components/CSquaredIcon.vue.d.ts +33 -0
  65. package/dist/components/CSsnField.vue.d.ts +798 -0
  66. package/dist/components/CStatusDot.vue.d.ts +10 -0
  67. package/dist/components/CSwitch.vue.d.ts +39 -0
  68. package/dist/components/CSwitchListItem.vue.d.ts +48 -0
  69. package/dist/components/CTextArea.vue.d.ts +96 -0
  70. package/dist/components/CTextField.vue.d.ts +129 -0
  71. package/dist/components/CTextLink.vue.d.ts +36 -0
  72. package/dist/components/CThirdPartyLogo.vue.d.ts +22 -0
  73. package/dist/components/CTimeago.vue.d.ts +12 -0
  74. package/dist/components/CToast.vue.d.ts +69 -0
  75. package/dist/components/CToastsList.vue.d.ts +3 -0
  76. package/dist/components/CValidationMessage.vue.d.ts +37 -0
  77. package/dist/components/CZipcodeField.vue.d.ts +796 -0
  78. package/dist/components/index.d.ts +66 -0
  79. package/dist/components/internal/CCloseButton.vue.d.ts +14 -0
  80. package/dist/composables/accessibility.d.ts +1 -0
  81. package/dist/composables/animation.d.ts +12 -0
  82. package/dist/composables/binding.d.ts +19 -0
  83. package/dist/composables/colors.d.ts +13 -0
  84. package/dist/composables/elements.d.ts +3 -0
  85. package/dist/composables/fields.d.ts +10 -0
  86. package/dist/composables/gestures.d.ts +53 -0
  87. package/dist/composables/i18n.d.ts +3 -0
  88. package/dist/composables/id.d.ts +11 -0
  89. package/dist/composables/input-mask.d.ts +18 -0
  90. package/dist/composables/router.d.ts +30 -0
  91. package/dist/composables/slots.d.ts +2 -0
  92. package/dist/composables/toast.d.ts +21 -0
  93. package/dist/composables/validations.d.ts +77 -0
  94. package/dist/icons.cdn.mjs +3 -0
  95. package/dist/icons.cdn.mjs.map +1 -0
  96. package/dist/icons.d.ts +1 -0
  97. package/dist/icons.mjs +6 -0
  98. package/dist/icons.mjs.map +1 -0
  99. package/dist/index.cdn.mjs +9328 -12875
  100. package/dist/index.cdn.mjs.map +1 -1
  101. package/dist/index.cdn2.mjs +55255 -0
  102. package/dist/index.cdn2.mjs.map +1 -0
  103. package/dist/index.d.ts +8 -0
  104. package/dist/index.mjs +3946 -0
  105. package/dist/index.mjs.map +1 -0
  106. package/dist/plugin.d.ts +3 -0
  107. package/dist/services/animation.d.ts +17 -0
  108. package/dist/services/directives/index.d.ts +2 -0
  109. package/dist/services/directives/scroll-into-view.d.ts +7 -0
  110. package/dist/services/directives/tap-animation.d.ts +6 -0
  111. package/dist/services/id.d.ts +22 -0
  112. package/dist/services/injections/accordions.d.ts +3 -0
  113. package/dist/services/injections/animations.d.ts +2 -0
  114. package/dist/services/injections/buttons.d.ts +4 -0
  115. package/dist/services/injections/forms.d.ts +6 -0
  116. package/dist/services/injections/icon-buttons.d.ts +3 -0
  117. package/dist/services/injections/pills.d.ts +4 -0
  118. package/dist/services/injections/radio.d.ts +10 -0
  119. package/dist/{styles/main.css → styles.css} +40 -2
  120. package/dist/theme/icons.d.ts +36 -0
  121. package/dist/types/CForm.d.ts +12 -0
  122. package/dist/types/font-awesome.d.ts +5 -0
  123. package/dist/types.d.ts +13 -0
  124. package/package.json +11 -4
  125. package/src/colors/colors.ts +8 -3
  126. package/src/components/CAccordion.vue +31 -24
  127. package/src/components/CAccordionItem.vue +46 -45
  128. package/src/components/CAppBar.vue +108 -101
  129. package/src/components/CBadge.vue +33 -25
  130. package/src/components/CBottomSheet.vue +212 -199
  131. package/src/components/CButton/CButton.vue +135 -147
  132. package/src/components/CButtonStack.vue +21 -13
  133. package/src/components/CCard.vue +72 -69
  134. package/src/components/CCardFooter.vue +5 -5
  135. package/src/components/CCardHeader.vue +9 -7
  136. package/src/components/CCardSection.vue +15 -8
  137. package/src/components/CCheckbox.vue +68 -69
  138. package/src/components/CCol.vue +21 -22
  139. package/src/components/CDivider.vue +9 -8
  140. package/src/components/CDobField.vue +114 -105
  141. package/src/components/CDobSelect.vue +162 -164
  142. package/src/components/CEmailField.vue +39 -27
  143. package/src/components/CExpandTransition.vue +14 -17
  144. package/src/components/CFadeTransition.vue +3 -3
  145. package/src/components/CFileInput.vue +57 -50
  146. package/src/components/CFixedPageFooter.vue +23 -17
  147. package/src/components/CForm.vue +67 -60
  148. package/src/components/CFormFieldCounter.vue +25 -28
  149. package/src/components/CIconButton.vue +84 -65
  150. package/src/components/CLabel.vue +19 -13
  151. package/src/components/CListItem.vue +67 -66
  152. package/src/components/CListItemContent.vue +14 -16
  153. package/src/components/CListItemIcon.vue +18 -14
  154. package/src/components/CLoader.vue +47 -56
  155. package/src/components/CLogo.vue +13 -12
  156. package/src/components/CMaskedTextField.vue +80 -64
  157. package/src/components/CMenu.vue +14 -6
  158. package/src/components/CMenuItem.vue +28 -22
  159. package/src/components/CMenuLabel.vue +6 -5
  160. package/src/components/CModal.vue +76 -71
  161. package/src/components/CModalLoading.vue +24 -15
  162. package/src/components/CNotification.vue +77 -28
  163. package/src/components/CPhoneField.vue +34 -25
  164. package/src/components/CPill.vue +92 -88
  165. package/src/components/CPillGroup.vue +30 -21
  166. package/src/components/CPopup.vue +46 -37
  167. package/src/components/CProgressLinear.vue +17 -11
  168. package/src/components/CProgressRing.vue +33 -33
  169. package/src/components/CRadio.vue +57 -57
  170. package/src/components/CRadioGroup.vue +85 -72
  171. package/src/components/CRow.vue +22 -20
  172. package/src/components/CSectionHeader.vue +20 -12
  173. package/src/components/CSelect.vue +89 -73
  174. package/src/components/CSkeletonLoaderCard.vue +9 -15
  175. package/src/components/CSkeletonLoaderCircle.vue +1 -9
  176. package/src/components/CSkeletonLoaderText.vue +17 -18
  177. package/src/components/CSlideFadeTransition.vue +12 -34
  178. package/src/components/CSplitInput.vue +46 -45
  179. package/src/components/CSquaredIcon.vue +39 -29
  180. package/src/components/CSsnField.vue +48 -36
  181. package/src/components/CStatusDot.vue +16 -16
  182. package/src/components/CSwitch.vue +31 -22
  183. package/src/components/CSwitchListItem.vue +27 -28
  184. package/src/components/CTextArea.vue +116 -83
  185. package/src/components/CTextField.vue +194 -198
  186. package/src/components/CTextLink.vue +28 -25
  187. package/src/components/CThirdPartyLogo.vue +30 -59
  188. package/src/components/CToast.vue +135 -132
  189. package/src/components/CToastsList.vue +2 -15
  190. package/src/components/CValidationMessage.vue +31 -24
  191. package/src/components/CZipcodeField.vue +40 -27
  192. package/src/composables/elements.ts +1 -1
  193. package/src/composables/fields.ts +4 -4
  194. package/src/composables/router.ts +6 -5
  195. package/src/icons.ts +6 -0
  196. package/src/services/injections/buttons.ts +1 -1
  197. package/src/styles/_core.scss +1 -2
  198. package/src/styles/_reset.scss +1 -1
  199. package/src/styles/main.scss +2 -0
  200. package/src/types.ts +2 -0
  201. package/dist/index.cdn.css +0 -1
  202. package/dist/styles/utils.css +0 -2709
@@ -0,0 +1,41 @@
1
+ import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
+ import { VNode, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ type __VLS_Props = {
4
+ /** The icon to display. */
5
+ icon?: string | string[] | IconDefinition;
6
+ /**
7
+ * By default, this is a boolean that determines if the pill is selected or
8
+ * not. If in a pill group, this is a string that identifies this pill.
9
+ */
10
+ value?: boolean | string;
11
+ };
12
+ declare function __VLS_template(): {
13
+ attrs: Partial<{}>;
14
+ slots: Readonly<{
15
+ default?: () => VNode[];
16
+ icon?: () => VNode[];
17
+ }> & {
18
+ default?: () => VNode[];
19
+ icon?: () => VNode[];
20
+ };
21
+ refs: {};
22
+ rootEl: HTMLSpanElement;
23
+ };
24
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
25
+ declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
26
+ click: () => any;
27
+ input: (value: boolean) => any;
28
+ }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
29
+ onClick?: (() => any) | undefined;
30
+ onInput?: ((value: boolean) => any) | undefined;
31
+ }>, {
32
+ value: boolean | string;
33
+ icon: string | string[] | IconDefinition;
34
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
35
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
36
+ export default _default;
37
+ type __VLS_WithTemplateSlots<T, S> = T & {
38
+ new (): {
39
+ $slots: S;
40
+ };
41
+ };
@@ -0,0 +1,39 @@
1
+ import { VNode, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ import { FaIcon } from '../types/font-awesome';
3
+ interface PillConfig {
4
+ label: string;
5
+ value: string;
6
+ icon?: FaIcon;
7
+ }
8
+ type __VLS_Props = {
9
+ /** A list of pills to display. This is overwritten by the default slot. */
10
+ options?: PillConfig[];
11
+ /** Specifies which pill is selected. */
12
+ value?: string;
13
+ };
14
+ declare function __VLS_template(): {
15
+ attrs: Partial<{}>;
16
+ slots: Readonly<{
17
+ default?: () => VNode[];
18
+ }> & {
19
+ default?: () => VNode[];
20
+ };
21
+ refs: {};
22
+ rootEl: HTMLDivElement;
23
+ };
24
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
25
+ declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
26
+ input: (value: string | undefined) => any;
27
+ }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
28
+ onInput?: ((value: string | undefined) => any) | undefined;
29
+ }>, {
30
+ value: string;
31
+ options: PillConfig[];
32
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
33
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
34
+ export default _default;
35
+ type __VLS_WithTemplateSlots<T, S> = T & {
36
+ new (): {
37
+ $slots: S;
38
+ };
39
+ };
@@ -0,0 +1,37 @@
1
+ import { VNode, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ type __VLS_Props = {
3
+ value?: boolean;
4
+ };
5
+ declare function __VLS_template(): {
6
+ attrs: Partial<{}>;
7
+ slots: Readonly<{
8
+ default?: () => VNode[];
9
+ content?: () => VNode[];
10
+ }> & {
11
+ default?: () => VNode[];
12
+ content?: () => VNode[];
13
+ };
14
+ refs: {
15
+ popup: unknown;
16
+ };
17
+ rootEl: any;
18
+ };
19
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
20
+ declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
21
+ mouseleave: () => any;
22
+ "outside-click": () => any;
23
+ }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
24
+ onMouseleave?: (() => any) | undefined;
25
+ "onOutside-click"?: (() => any) | undefined;
26
+ }>, {
27
+ value: boolean;
28
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
29
+ popup: unknown;
30
+ }, any>;
31
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
32
+ export default _default;
33
+ type __VLS_WithTemplateSlots<T, S> = T & {
34
+ new (): {
35
+ $slots: S;
36
+ };
37
+ };
@@ -0,0 +1,21 @@
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ type __VLS_Props = {
3
+ /** Customizes screen reader only text alternative, should be translated */
4
+ accessibleText?: string;
5
+ /** Selector for testing */
6
+ dataTest?: string;
7
+ /** Renders an indefinite loading state */
8
+ indeterminate?: boolean;
9
+ /** Rounds the progress bar */
10
+ rounded?: boolean;
11
+ /** The current progress from 0 to 100 */
12
+ value?: number | string;
13
+ };
14
+ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
15
+ value: number | string;
16
+ dataTest: string;
17
+ accessibleText: string;
18
+ indeterminate: boolean;
19
+ rounded: boolean;
20
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
21
+ export default _default;
@@ -0,0 +1,48 @@
1
+ import { VNode, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ import { default as Colors, HexColor } from '../colors/colors';
3
+ type __VLS_Props = {
4
+ /** Customizes screen reader only text alternative, should be translated */
5
+ accessibleText?: string;
6
+ /** Selector for testing */
7
+ dataTest?: string;
8
+ /** The current progress, from 0 to valueMax */
9
+ value?: number | string;
10
+ /** Total progress */
11
+ valueMax?: number | string;
12
+ /** The outer diameter of the progress ring, in px */
13
+ size?: number | string;
14
+ /** The width of the progress ring, in px */
15
+ trackWidth?: number | string;
16
+ /** Sets the indicator color */
17
+ color?: HexColor | keyof typeof Colors;
18
+ /** Sets the track color underneath the indicator */
19
+ trackColor?: HexColor | keyof typeof Colors;
20
+ };
21
+ declare function __VLS_template(): {
22
+ attrs: Partial<{}>;
23
+ slots: Readonly<{
24
+ default?: () => VNode[];
25
+ }> & {
26
+ default?: () => VNode[];
27
+ };
28
+ refs: {};
29
+ rootEl: HTMLSpanElement;
30
+ };
31
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
32
+ declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
33
+ value: number | string;
34
+ size: number | string;
35
+ dataTest: string;
36
+ accessibleText: string;
37
+ color: HexColor | keyof typeof Colors;
38
+ trackColor: HexColor | keyof typeof Colors;
39
+ valueMax: number | string;
40
+ trackWidth: number | string;
41
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
42
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
43
+ export default _default;
44
+ type __VLS_WithTemplateSlots<T, S> = T & {
45
+ new (): {
46
+ $slots: S;
47
+ };
48
+ };
@@ -0,0 +1,40 @@
1
+ import { VNode, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ type __VLS_Props = {
3
+ value: any;
4
+ id?: string | null;
5
+ label?: string | null;
6
+ dataTest?: string;
7
+ hideRadio?: boolean;
8
+ };
9
+ declare function __VLS_template(): {
10
+ attrs: Partial<{}>;
11
+ slots: Readonly<{
12
+ label?: () => VNode[];
13
+ }> & {
14
+ label?: () => VNode[];
15
+ };
16
+ refs: {};
17
+ rootEl: HTMLLabelElement;
18
+ };
19
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
20
+ declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
21
+ change: (event: Event) => any;
22
+ blur: () => any;
23
+ focus: () => any;
24
+ }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
25
+ onChange?: ((event: Event) => any) | undefined;
26
+ onBlur?: (() => any) | undefined;
27
+ onFocus?: (() => any) | undefined;
28
+ }>, {
29
+ label: string | null;
30
+ id: string | null;
31
+ dataTest: string;
32
+ hideRadio: boolean;
33
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLLabelElement>;
34
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
35
+ export default _default;
36
+ type __VLS_WithTemplateSlots<T, S> = T & {
37
+ new (): {
38
+ $slots: S;
39
+ };
40
+ };
@@ -0,0 +1,54 @@
1
+ import { VNode, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ import { Rules } from '../composables/validations';
3
+ type __VLS_Props = {
4
+ value?: any;
5
+ id?: string | null;
6
+ dataTest?: string;
7
+ label?: string | null;
8
+ column?: boolean;
9
+ mandatory?: boolean;
10
+ rules?: Rules<string>;
11
+ hideDetails?: boolean | 'auto';
12
+ };
13
+ declare function __VLS_template(): {
14
+ attrs: Partial<{}>;
15
+ slots: Readonly<{
16
+ label?: () => VNode[];
17
+ default?: () => VNode[];
18
+ message?: () => VNode[];
19
+ }> & {
20
+ label?: () => VNode[];
21
+ default?: () => VNode[];
22
+ message?: () => VNode[];
23
+ };
24
+ refs: {
25
+ radioGroup: HTMLFieldSetElement;
26
+ };
27
+ rootEl: HTMLFieldSetElement;
28
+ };
29
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
30
+ declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
31
+ change: (value: any) => any;
32
+ input: (value: any) => any;
33
+ }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
34
+ onChange?: ((value: any) => any) | undefined;
35
+ onInput?: ((value: any) => any) | undefined;
36
+ }>, {
37
+ label: string | null;
38
+ id: string | null;
39
+ value: any;
40
+ dataTest: string;
41
+ rules: Rules<string>;
42
+ hideDetails: boolean | "auto";
43
+ column: boolean;
44
+ mandatory: boolean;
45
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
46
+ radioGroup: HTMLFieldSetElement;
47
+ }, HTMLFieldSetElement>;
48
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
49
+ export default _default;
50
+ type __VLS_WithTemplateSlots<T, S> = T & {
51
+ new (): {
52
+ $slots: S;
53
+ };
54
+ };
@@ -0,0 +1,28 @@
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ /**
3
+ * NOTE(slanden): This component is no longer used. We are keeping it around for now
4
+ * because it is used in the CMS, but other than applying the w-100 class, it has
5
+ * no effect. We will remove this component in a future PR.
6
+ */
7
+ type __VLS_Props = {
8
+ fullWidth?: boolean;
9
+ };
10
+ declare function __VLS_template(): {
11
+ attrs: Partial<{}>;
12
+ slots: {
13
+ default?(_: {}): any;
14
+ };
15
+ refs: {};
16
+ rootEl: HTMLDivElement;
17
+ };
18
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
+ declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
20
+ fullWidth: boolean;
21
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
22
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
23
+ export default _default;
24
+ type __VLS_WithTemplateSlots<T, S> = T & {
25
+ new (): {
26
+ $slots: S;
27
+ };
28
+ };
@@ -0,0 +1,41 @@
1
+ import { VNode, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ type __VLS_Props = {
3
+ /** Applies the align-items css property.
4
+ * Available options are: start, center, end and stretch. */
5
+ align?: 'center' | 'start' | 'end' | 'stretch' | null;
6
+ /** Applies the align-content css property.
7
+ * Available options are: start, center, end, and stretch. */
8
+ alignContent?: 'center' | 'start' | 'end' | 'stretch' | null;
9
+ /** Reduces the gutter between c-cols. */
10
+ dense?: boolean;
11
+ /** Removes the gutter between c-cols. */
12
+ noGutters?: boolean;
13
+ /** Applies the justify-content css property.
14
+ * Available options are: start, center, end, space-between and space-around. */
15
+ justify?: 'center' | 'start' | 'end' | 'space-between' | 'space-around' | null;
16
+ };
17
+ declare function __VLS_template(): {
18
+ attrs: Partial<{}>;
19
+ slots: Readonly<{
20
+ default?: () => VNode[];
21
+ }> & {
22
+ default?: () => VNode[];
23
+ };
24
+ refs: {};
25
+ rootEl: HTMLDivElement;
26
+ };
27
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
28
+ declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
29
+ align: "center" | "start" | "end" | "stretch" | null;
30
+ alignContent: "center" | "start" | "end" | "stretch" | null;
31
+ dense: boolean;
32
+ noGutters: boolean;
33
+ justify: "center" | "start" | "end" | "space-between" | "space-around" | null;
34
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
35
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
36
+ export default _default;
37
+ type __VLS_WithTemplateSlots<T, S> = T & {
38
+ new (): {
39
+ $slots: S;
40
+ };
41
+ };
@@ -0,0 +1,18 @@
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ declare function __VLS_template(): {
3
+ attrs: Partial<{}>;
4
+ slots: {
5
+ default?(_: {}): any;
6
+ };
7
+ refs: {};
8
+ rootEl: HTMLDivElement;
9
+ };
10
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
+ declare const __VLS_component: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
12
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
13
+ export default _default;
14
+ type __VLS_WithTemplateSlots<T, S> = T & {
15
+ new (): {
16
+ $slots: S;
17
+ };
18
+ };
@@ -0,0 +1,29 @@
1
+ import { VNode, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ type __VLS_Props = {
3
+ /** The tag used for the title text. */
4
+ tag?: string;
5
+ /** The title text to display. */
6
+ title?: string;
7
+ };
8
+ declare function __VLS_template(): {
9
+ attrs: Partial<{}>;
10
+ slots: Readonly<{
11
+ append?: () => VNode[];
12
+ }> & {
13
+ append?: () => VNode[];
14
+ };
15
+ refs: {};
16
+ rootEl: HTMLDivElement;
17
+ };
18
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
+ declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
20
+ title: string;
21
+ tag: string;
22
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
23
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
24
+ export default _default;
25
+ type __VLS_WithTemplateSlots<T, S> = T & {
26
+ new (): {
27
+ $slots: S;
28
+ };
29
+ };
@@ -0,0 +1,96 @@
1
+ import { VNode, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ interface SelectItem {
3
+ label: string;
4
+ value: string;
5
+ disabled?: boolean;
6
+ }
7
+ type __VLS_Props = {
8
+ /** Overrides label for screenreader-only */
9
+ ariaLabel?: string;
10
+ /** Prefix for test selectors */
11
+ dataTest?: string;
12
+ /** Controls whether the select is disabled */
13
+ disabled?: boolean;
14
+ /**
15
+ * Hides the validation message area. Defaults to `false` (show message area even
16
+ * when valid), so validations transition in gracefully.
17
+ *
18
+ * If set to 'auto', the validation message area will only display if there is a message.
19
+ */
20
+ hideDetails?: boolean | 'auto';
21
+ /** Hides the label and instead labels the field with `aria-label` */
22
+ hideLabel?: boolean;
23
+ /** Assigns the select input's id */
24
+ id?: string;
25
+ /** List of options like `{ label: 'Yes', value: 'yes' }` */
26
+ items?: SelectItem[];
27
+ /** The select's label, both visual and screenreader-only */
28
+ label?: string;
29
+ /** Controls whether the select is loading */
30
+ loading?: boolean;
31
+ /** Set the select's placeholder text */
32
+ placeholder?: string;
33
+ /** If true, the select will be required */
34
+ required?: boolean;
35
+ /**
36
+ * An array of functions that either return either true / false or a string
37
+ * containing an error message. The component passes the input value as an
38
+ * argument. The input field will enter an error state if a function does
39
+ * not return true.
40
+ */
41
+ rules?: ((value: string) => string | boolean)[];
42
+ /** Controls the value of the select */
43
+ value?: string;
44
+ };
45
+ declare function __VLS_template(): {
46
+ attrs: Partial<{}>;
47
+ slots: Readonly<{
48
+ label?: () => VNode[];
49
+ message?: () => VNode[];
50
+ }> & {
51
+ label?: () => VNode[];
52
+ message?: () => VNode[];
53
+ };
54
+ refs: {
55
+ select: HTMLSelectElement;
56
+ };
57
+ rootEl: HTMLDivElement;
58
+ };
59
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
60
+ declare const __VLS_component: DefineComponent<__VLS_Props, {
61
+ startValidating: () => boolean;
62
+ clearValidations: () => void;
63
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
64
+ blur: (event: FocusEvent) => any;
65
+ focus: (event: FocusEvent) => any;
66
+ input: (value: string) => any;
67
+ keydown: (event: KeyboardEvent) => any;
68
+ }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
69
+ onBlur?: ((event: FocusEvent) => any) | undefined;
70
+ onFocus?: ((event: FocusEvent) => any) | undefined;
71
+ onInput?: ((value: string) => any) | undefined;
72
+ onKeydown?: ((event: KeyboardEvent) => any) | undefined;
73
+ }>, {
74
+ label: string;
75
+ id: string;
76
+ value: string;
77
+ dataTest: string;
78
+ placeholder: string;
79
+ loading: boolean;
80
+ disabled: boolean;
81
+ ariaLabel: string;
82
+ rules: ((value: string) => string | boolean)[];
83
+ required: boolean;
84
+ hideDetails: boolean | "auto";
85
+ hideLabel: boolean;
86
+ items: SelectItem[];
87
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
88
+ select: HTMLSelectElement;
89
+ }, HTMLDivElement>;
90
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
91
+ export default _default;
92
+ type __VLS_WithTemplateSlots<T, S> = T & {
93
+ new (): {
94
+ $slots: S;
95
+ };
96
+ };
@@ -0,0 +1,3 @@
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
3
+ export default _default;
@@ -0,0 +1,9 @@
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ type __VLS_Props = {
3
+ /** Controls the height of the skeleton loader card */
4
+ height?: number | string;
5
+ };
6
+ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
7
+ height: number | string;
8
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
9
+ export default _default;
@@ -0,0 +1,3 @@
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
3
+ export default _default;
@@ -0,0 +1,16 @@
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ type SkeletonLoaderType = 'balance' | 'body' | 'caption' | 'eyebrow' | 'headline' | 'large-headline' | 'overline' | 'statement' | 'subheadline' | 'wallet-caption' | 'x-large-headline';
3
+ type __VLS_Props = {
4
+ /** Applies the align-items css property. */
5
+ align?: 'center' | 'start' | 'end';
6
+ /** Controls how many rows of loading text are shown */
7
+ rows?: number;
8
+ /** Controls the appearance of the loading text */
9
+ type?: SkeletonLoaderType;
10
+ };
11
+ declare const _default: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
12
+ type: SkeletonLoaderType;
13
+ align: "center" | "start" | "end";
14
+ rows: number;
15
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
16
+ export default _default;
@@ -0,0 +1,36 @@
1
+ import { VNode, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ type Direction = 'to-left' | 'to-right' | 'to-top' | 'to-bottom';
3
+ type __VLS_Props = {
4
+ /**
5
+ * The amount of pixels to slide the elements in or out. Should be >= 0
6
+ * @default 20
7
+ */
8
+ amount?: number;
9
+ /**
10
+ * Changes the direction of the slide fade transition
11
+ * @default 'to-left'
12
+ */
13
+ direction?: Direction;
14
+ };
15
+ declare function __VLS_template(): {
16
+ attrs: Partial<{}>;
17
+ slots: Readonly<{
18
+ default: () => VNode[];
19
+ }> & {
20
+ default: () => VNode[];
21
+ };
22
+ refs: {};
23
+ rootEl: HTMLDivElement;
24
+ };
25
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
26
+ declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
27
+ amount: number;
28
+ direction: Direction;
29
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
30
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
31
+ export default _default;
32
+ type __VLS_WithTemplateSlots<T, S> = T & {
33
+ new (): {
34
+ $slots: S;
35
+ };
36
+ };
@@ -0,0 +1,56 @@
1
+ import { HTMLAttributes, VNode, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ import { Rules } from '../composables/validations';
3
+ import { SplitInputField } from '../types';
4
+ type __VLS_Props = {
5
+ /** Controls the underlying input's autocomplete attribute */
6
+ autocomplete?: string;
7
+ /** Custom data-test selector */
8
+ dataTest?: string;
9
+ /** Controls whether the input is disabled */
10
+ disabled?: boolean;
11
+ /** The fields for each of the split inputs of type SplitInputField */
12
+ fields: SplitInputField[];
13
+ /** A hint to show the appropriate virtual keyboard, e.g. "numeric". */
14
+ inputmode?: HTMLAttributes['inputmode'];
15
+ /** The input's label */
16
+ label?: string | null;
17
+ /** The input's name */
18
+ name?: string;
19
+ /** Validation rules */
20
+ rules?: Rules<string>;
21
+ /** The input's type, either text or tel */
22
+ type?: 'text' | 'tel';
23
+ /** The input's value */
24
+ value?: string;
25
+ };
26
+ declare function __VLS_template(): {
27
+ attrs: Partial<{}>;
28
+ slots: Readonly<{
29
+ label?: () => VNode[];
30
+ message?: () => VNode[];
31
+ }> & {
32
+ label?: () => VNode[];
33
+ message?: () => VNode[];
34
+ };
35
+ refs: {};
36
+ rootEl: any;
37
+ };
38
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
39
+ declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
40
+ type: "text" | "tel";
41
+ label: string | null;
42
+ value: string;
43
+ dataTest: string;
44
+ name: string;
45
+ disabled: boolean;
46
+ rules: Rules<string>;
47
+ inputmode: "search" | "text" | "none" | "email" | "tel" | "url" | "decimal" | "numeric";
48
+ autocomplete: string;
49
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
50
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
51
+ export default _default;
52
+ type __VLS_WithTemplateSlots<T, S> = T & {
53
+ new (): {
54
+ $slots: S;
55
+ };
56
+ };
@@ -0,0 +1,33 @@
1
+ import { IconDefinition } from '@fortawesome/fontawesome-svg-core';
2
+ import { VNode, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ type __VLS_Props = {
4
+ /** The background color */
5
+ color?: string;
6
+ /** The Font Awesome icon to display */
7
+ icon?: string | string[] | IconDefinition | null;
8
+ /** Makes the icon and background larger */
9
+ large?: boolean;
10
+ };
11
+ declare function __VLS_template(): {
12
+ attrs: Partial<{}>;
13
+ slots: Readonly<{
14
+ default?: () => VNode[];
15
+ }> & {
16
+ default?: () => VNode[];
17
+ };
18
+ refs: {};
19
+ rootEl: HTMLDivElement;
20
+ };
21
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
22
+ declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
23
+ icon: string | string[] | IconDefinition | null;
24
+ color: string;
25
+ large: boolean;
26
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
27
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
28
+ export default _default;
29
+ type __VLS_WithTemplateSlots<T, S> = T & {
30
+ new (): {
31
+ $slots: S;
32
+ };
33
+ };