@veeqo/ui 14.2.0 → 14.3.0-beta-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 (114) hide show
  1. package/dist/components/Accordion/styled.cjs +19 -9
  2. package/dist/components/Accordion/styled.cjs.map +1 -1
  3. package/dist/components/Accordion/styled.d.ts +9 -23
  4. package/dist/components/Accordion/styled.js +19 -9
  5. package/dist/components/Accordion/styled.js.map +1 -1
  6. package/dist/components/Action/Action.d.ts +4 -4
  7. package/dist/components/AnimatedDropdown/components/styled.d.ts +2 -1
  8. package/dist/components/AnimatedDropdown/styled.d.ts +2 -2
  9. package/dist/components/Badge/styled.cjs +27 -4
  10. package/dist/components/Badge/styled.cjs.map +1 -1
  11. package/dist/components/Badge/styled.d.ts +4 -3
  12. package/dist/components/Badge/styled.js +27 -4
  13. package/dist/components/Badge/styled.js.map +1 -1
  14. package/dist/components/Banner/styled.cjs +27 -8
  15. package/dist/components/Banner/styled.cjs.map +1 -1
  16. package/dist/components/Banner/styled.d.ts +7 -7
  17. package/dist/components/Banner/styled.js +27 -8
  18. package/dist/components/Banner/styled.js.map +1 -1
  19. package/dist/components/BaseContainer/BaseContainer.cjs +7 -3
  20. package/dist/components/BaseContainer/BaseContainer.cjs.map +1 -1
  21. package/dist/components/BaseContainer/BaseContainer.d.ts +2 -1
  22. package/dist/components/BaseContainer/BaseContainer.js +6 -2
  23. package/dist/components/BaseContainer/BaseContainer.js.map +1 -1
  24. package/dist/components/BaseContainer/BaseContainer.module.scss.cjs +9 -0
  25. package/dist/components/BaseContainer/BaseContainer.module.scss.cjs.map +1 -0
  26. package/dist/components/BaseContainer/BaseContainer.module.scss.js +7 -0
  27. package/dist/components/BaseContainer/BaseContainer.module.scss.js.map +1 -0
  28. package/dist/components/DataTable/components/ColumnHeader.d.ts +1 -1
  29. package/dist/components/DimensionsInput/DimensionsInput.cjs +8 -8
  30. package/dist/components/DimensionsInput/DimensionsInput.cjs.map +1 -1
  31. package/dist/components/DimensionsInput/DimensionsInput.d.ts +8 -8
  32. package/dist/components/DimensionsInput/DimensionsInput.js +1 -1
  33. package/dist/components/FilterTag/styled.d.ts +4 -4
  34. package/dist/components/Grid/index.cjs +7 -1
  35. package/dist/components/Grid/index.cjs.map +1 -1
  36. package/dist/components/Grid/index.d.ts +2 -1
  37. package/dist/components/Grid/index.js +7 -1
  38. package/dist/components/Grid/index.js.map +1 -1
  39. package/dist/components/InputAffix/InputAffix.cjs +3 -4
  40. package/dist/components/InputAffix/InputAffix.cjs.map +1 -1
  41. package/dist/components/InputAffix/InputAffix.js +1 -2
  42. package/dist/components/InputAffix/InputAffix.js.map +1 -1
  43. package/dist/components/InputGroup/InputGroup.cjs +21 -0
  44. package/dist/components/InputGroup/InputGroup.cjs.map +1 -0
  45. package/dist/components/InputGroup/InputGroup.d.ts +2 -0
  46. package/dist/components/InputGroup/InputGroup.js +15 -0
  47. package/dist/components/InputGroup/InputGroup.js.map +1 -0
  48. package/dist/components/InputGroup/InputGroup.module.scss.cjs +9 -0
  49. package/dist/components/InputGroup/InputGroup.module.scss.cjs.map +1 -0
  50. package/dist/components/InputGroup/InputGroup.module.scss.js +7 -0
  51. package/dist/components/InputGroup/InputGroup.module.scss.js.map +1 -0
  52. package/dist/components/InputGroup/index.d.ts +2 -4
  53. package/dist/components/InputGroup/types.d.ts +3 -0
  54. package/dist/components/LegacyDataTable/SpecificState/styled.d.ts +4 -4
  55. package/dist/components/Pagination/styled.d.ts +8 -8
  56. package/dist/components/PhoneInput/index.d.ts +8 -8
  57. package/dist/components/PriceInput/PriceInput.cjs +4 -4
  58. package/dist/components/PriceInput/PriceInput.cjs.map +1 -1
  59. package/dist/components/PriceInput/PriceInput.js +1 -1
  60. package/dist/components/Search/Search.d.ts +8 -8
  61. package/dist/components/Search/styled.cjs +12 -2
  62. package/dist/components/Search/styled.cjs.map +1 -1
  63. package/dist/components/Search/styled.d.ts +9 -9
  64. package/dist/components/Search/styled.js +12 -2
  65. package/dist/components/Search/styled.js.map +1 -1
  66. package/dist/components/SegmentedControl/styled.d.ts +2 -1
  67. package/dist/components/Stack/Stack.cjs +26 -45
  68. package/dist/components/Stack/Stack.cjs.map +1 -1
  69. package/dist/components/Stack/Stack.d.ts +9 -2
  70. package/dist/components/Stack/Stack.js +25 -44
  71. package/dist/components/Stack/Stack.js.map +1 -1
  72. package/dist/components/Stack/Stack.module.scss.cjs +9 -0
  73. package/dist/components/Stack/Stack.module.scss.cjs.map +1 -0
  74. package/dist/components/Stack/Stack.module.scss.js +7 -0
  75. package/dist/components/Stack/Stack.module.scss.js.map +1 -0
  76. package/dist/components/Stack/types.d.ts +6 -6
  77. package/dist/components/Stepper/styled.cjs +16 -3
  78. package/dist/components/Stepper/styled.cjs.map +1 -1
  79. package/dist/components/Stepper/styled.d.ts +9 -1
  80. package/dist/components/Stepper/styled.js +16 -3
  81. package/dist/components/Stepper/styled.js.map +1 -1
  82. package/dist/components/Text/Text.d.ts +1 -1
  83. package/dist/components/TextField/TextField.d.ts +8 -8
  84. package/dist/components/TextField/index.d.ts +8 -8
  85. package/dist/components/ToastsLayout/components/styled.cjs +37 -4
  86. package/dist/components/ToastsLayout/components/styled.cjs.map +1 -1
  87. package/dist/components/ToastsLayout/components/styled.d.ts +26 -5
  88. package/dist/components/ToastsLayout/components/styled.js +37 -4
  89. package/dist/components/ToastsLayout/components/styled.js.map +1 -1
  90. package/dist/components/Toggle/styled.d.ts +2 -1
  91. package/dist/components/VideoModal/components/styled.d.ts +4 -3
  92. package/dist/components/View/styled.d.ts +4 -4
  93. package/dist/components/ViewTab/ViewTab.d.ts +1 -1
  94. package/dist/components/WeightInput/WeightInput.cjs +8 -8
  95. package/dist/components/WeightInput/WeightInput.cjs.map +1 -1
  96. package/dist/components/WeightInput/WeightInput.js +1 -1
  97. package/dist/components/index.d.ts +1 -1
  98. package/dist/hoc/withClassNames/withClassNames.d.ts +1 -1
  99. package/dist/hoc/withLabels/styled.d.ts +9 -1
  100. package/dist/index.cjs +10 -10
  101. package/dist/index.js +1 -1
  102. package/dist/utils/forms/inputStyles.cjs +1 -2
  103. package/dist/utils/forms/inputStyles.cjs.map +1 -1
  104. package/dist/utils/forms/inputStyles.js +1 -2
  105. package/dist/utils/forms/inputStyles.js.map +1 -1
  106. package/package.json +1 -1
  107. package/dist/components/InputGroup/index.cjs +0 -13
  108. package/dist/components/InputGroup/index.cjs.map +0 -1
  109. package/dist/components/InputGroup/index.js +0 -7
  110. package/dist/components/InputGroup/index.js.map +0 -1
  111. package/dist/components/Stack/Alignments.cjs +0 -12
  112. package/dist/components/Stack/Alignments.cjs.map +0 -1
  113. package/dist/components/Stack/Alignments.js +0 -12
  114. package/dist/components/Stack/Alignments.js.map +0 -1
@@ -1,20 +1,20 @@
1
1
  /// <reference types="react" />
2
- declare const BannerLayout: import("styled-components").StyledComponent<"div", any, import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
2
+ declare const BannerLayout: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>, any, import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
3
3
  children?: import("react").ReactNode;
4
4
  className?: string | undefined;
5
5
  accentColor?: string | undefined;
6
6
  backgroundColor?: string | undefined;
7
7
  }, never>;
8
- declare const Row: import("styled-components").StyledComponent<"div", any, {}, never>;
9
- declare const Col: import("styled-components").StyledComponent<"div", any, {}, never>;
10
- export declare const IconCol: import("styled-components").StyledComponent<"div", any, {
8
+ declare const Row: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>, any, {}, never>;
9
+ declare const Col: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>, any, {}, never>;
10
+ export declare const IconCol: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>, any, {
11
11
  accentColor: string;
12
12
  }, never>;
13
- export declare const ChildContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
14
- declare const HeaderCol: import("styled-components").StyledComponent<"div", any, {}, never>;
13
+ export declare const ChildContainer: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>, any, {}, never>;
14
+ declare const HeaderCol: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>, any, {}, never>;
15
15
  declare const StyledText: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<{
16
16
  as?: import("../Text").ValidTextTag | undefined;
17
17
  muted?: boolean | undefined;
18
- variant?: "body" | "button" | "link" | "headingXXL" | "headingXL" | "headingLarge" | "headingMedium" | "headingSmall" | "headingTable" | "subheadingLarge" | "subheadingMedium" | "subheadingSmall" | "subheadingSmallBold" | "bodySmall" | "bodyBold" | "bodyBoldDark" | "bodySmallBold" | "inputLabel" | "inputLabelSmall" | "hintText" | "placeholder" | "placeholderSmall" | "placeholderCode" | "placeholderCodeSmall" | "error" | "errorSmall" | "successSmall" | "buttonSmall" | "linkLarge" | "linkMedium" | "linkSmall" | undefined;
18
+ variant?: "placeholder" | "link" | "body" | "button" | "headingXXL" | "headingXL" | "headingLarge" | "headingMedium" | "headingSmall" | "headingTable" | "subheadingLarge" | "subheadingMedium" | "subheadingSmall" | "subheadingSmallBold" | "bodySmall" | "bodyBold" | "bodyBoldDark" | "bodySmallBold" | "inputLabel" | "inputLabelSmall" | "hintText" | "placeholderSmall" | "placeholderCode" | "placeholderCodeSmall" | "error" | "errorSmall" | "successSmall" | "buttonSmall" | "linkLarge" | "linkMedium" | "linkSmall" | undefined;
19
19
  } & import("react").HTMLAttributes<HTMLElement> & import("react").LabelHTMLAttributes<HTMLLabelElement> & import("react").RefAttributes<HTMLElement>>, any, {}, never>;
20
20
  export { BannerLayout as Pill, StyledText as Text, Row, Col, HeaderCol };
@@ -3,16 +3,35 @@ import { Text } from '../Text/Text.js';
3
3
  import { BaseContainer } from '../BaseContainer/BaseContainer.js';
4
4
  import { sizes } from '../../theme/modules/sizes.js';
5
5
 
6
- const BannerLayout = styled(BaseContainer).withConfig({ displayName: "vui--BannerLayout", componentId: "vui--c6sp3u" }) `display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;padding:20px 24px 24px 24px;border-radius:4px;${({ accentColor }) => accentColor &&
6
+ const BannerLayout = styled(BaseContainer).withConfig({
7
+ shouldForwardProp: (prop) => !['accentColor', 'backgroundColor'].includes(prop),
8
+ }) `
9
+ display: flex;
10
+ flex-direction: column;
11
+ justify-content: flex-start;
12
+ align-items: stretch;
13
+ padding: 20px 24px 24px 24px;
14
+ border-radius: 4px;
15
+ ${({ accentColor }) => accentColor &&
7
16
  `
8
17
  box-shadow: 0px 1px 3px rgba(55, 66, 77, 0.15), inset 4px 0px 0px ${accentColor};
9
- `} background-color:${({ backgroundColor }) => backgroundColor || 'white'};`;
10
- const Row = styled(BaseContainer).withConfig({ displayName: "vui--Row", componentId: "vui--1rdjrmx" }) `display:flex;flex-direction:row;`;
11
- const Col = styled(BaseContainer).withConfig({ displayName: "vui--Col", componentId: "vui--1ttgibs" }) `display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;`;
12
- const IconCol = styled(Col).withConfig({ displayName: "vui--IconCol", componentId: "vui--1z6c5f" }) `svg{width:${sizes.md};height:${sizes.md};color:${({ accentColor }) => accentColor};}`;
13
- const ChildContainer = styled(BaseContainer).withConfig({ displayName: "vui--ChildContainer", componentId: "vui--kn3qcr" }) `width:100%;`;
14
- const HeaderCol = styled(Col).withConfig({ displayName: "vui--HeaderCol", componentId: "vui--1nlkkdb" }) `flex-grow:2;margin-right:12px;`;
15
- const StyledText = styled(Text).withConfig({ displayName: "vui--StyledText", componentId: "vui--1ioilg" }) `position:relative;top:-2px;`;
18
+ `}
19
+ background-color: ${({ backgroundColor }) => backgroundColor || 'white'};
20
+ `;
21
+ const Row = styled(BaseContainer).withConfig({ displayName: "vui--Row", componentId: "vui--efzdvm" }) `display:flex;flex-direction:row;`;
22
+ const Col = styled(BaseContainer).withConfig({ displayName: "vui--Col", componentId: "vui--1c3cv6m" }) `display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;`;
23
+ const IconCol = styled(Col).withConfig({
24
+ shouldForwardProp: (prop) => !['accentColor'].includes(prop),
25
+ }) `
26
+ svg {
27
+ width: ${sizes.md};
28
+ height: ${sizes.md};
29
+ color: ${({ accentColor }) => accentColor};
30
+ }
31
+ `;
32
+ const ChildContainer = styled(BaseContainer).withConfig({ displayName: "vui--ChildContainer", componentId: "vui--1ryyp4c" }) `width:100%;`;
33
+ const HeaderCol = styled(Col).withConfig({ displayName: "vui--HeaderCol", componentId: "vui--2c6441" }) `flex-grow:2;margin-right:12px;`;
34
+ const StyledText = styled(Text).withConfig({ displayName: "vui--StyledText", componentId: "vui--53focc" }) `position:relative;top:-2px;`;
16
35
 
17
36
  export { ChildContainer, Col, HeaderCol, IconCol, BannerLayout as Pill, Row, StyledText as Text };
18
37
  //# sourceMappingURL=styled.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"styled.js","sources":["../../../src/components/Banner/styled.ts"],"sourcesContent":["import styled from 'styled-components';\n\nimport { Text } from '../Text';\nimport { BaseContainer } from '../BaseContainer';\nimport { PillProps } from './types';\nimport { sizes } from '../../theme/modules/sizes';\n\nconst BannerLayout = styled(BaseContainer)<PillProps>`\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: stretch;\n padding: 20px 24px 24px 24px;\n border-radius: 4px;\n ${({ accentColor }) =>\n accentColor &&\n `\n box-shadow: 0px 1px 3px rgba(55, 66, 77, 0.15), inset 4px 0px 0px ${accentColor};\n `}\n background-color: ${({ backgroundColor }) => backgroundColor || 'white'};\n`;\n\nconst Row = styled(BaseContainer)`\n display: flex;\n flex-direction: row;\n`;\n\nconst Col = styled(BaseContainer)`\n display: flex;\n flex-direction: row;\n align-items: center;\n flex-wrap: wrap;\n`;\n\nexport const IconCol = styled(Col)<{ accentColor: string }>`\n svg {\n width: ${sizes.md};\n height: ${sizes.md};\n color: ${({ accentColor }) => accentColor};\n }\n`;\n\nexport const ChildContainer = styled(BaseContainer)`\n width: 100%;\n`;\n\nconst HeaderCol = styled(Col)`\n flex-grow: 2;\n margin-right: 12px;\n`;\n\nconst StyledText = styled(Text)`\n position: relative;\n top: -2px;\n`;\n\nexport { BannerLayout as Pill, StyledText as Text, Row, Col, HeaderCol };\n"],"names":[],"mappings":";;;;;AAOA,MAAM,YAAY,GAAG,MAAM,CAAC,aAAa,CAAC,CAAA,UAAA,CAAA,EAAA,WAAA,EAAA,mBAAA,EAAA,WAAA,EAAA,aAAA,EAAA,CAAA,CAAA,CAAA,gIAAA,EAOtC,CAAC,EAAE,WAAW,EAAE,KAChB,WAAW;AACX,IAAA;0EACsE,WAAW,CAAA;KAChF,CAAA,kBAAA,EACiB,CAAC,EAAE,eAAe,EAAE,KAAK,eAAe,IAAI,OAAO,CAAA,CAAA;AAGzE,MAAM,GAAG,GAAG,MAAM,CAAC,aAAa,CAAC;AAKjC,MAAM,GAAG,GAAG,MAAM,CAAC,aAAa,CAAC;AAO1B,MAAM,OAAO,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA,UAAA,CAAA,EAAA,WAAA,EAAA,cAAA,EAAA,WAAA,EAAA,aAAA,EAAA,CAAA,CAAA,CAAA,UAAA,EAErB,KAAK,CAAC,EAAE,CAAA,QAAA,EACP,KAAK,CAAC,EAAE,CAAA,OAAA,EACT,CAAC,EAAE,WAAW,EAAE,KAAK,WAAW,CAAA,EAAA;MAIhC,cAAc,GAAG,MAAM,CAAC,aAAa,CAAC,CAAA,UAAA,CAAA,EAAA,WAAA,EAAA,qBAAA,EAAA,WAAA,EAAA,aAAA,EAAA,CAAA,CAAA,CAAA,WAAA;AAInD,MAAM,SAAS,GAAG,MAAM,CAAC,GAAG,CAAC;AAK7B,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC;;;;"}
1
+ {"version":3,"file":"styled.js","sources":["../../../src/components/Banner/styled.ts"],"sourcesContent":["import styled from 'styled-components';\n\nimport { Text } from '../Text';\nimport { BaseContainer } from '../BaseContainer';\nimport { PillProps } from './types';\nimport { sizes } from '../../theme/modules/sizes';\n\nconst BannerLayout = styled(BaseContainer).withConfig({\n shouldForwardProp: (prop) => !['accentColor', 'backgroundColor'].includes(prop),\n})<PillProps>`\n display: flex;\n flex-direction: column;\n justify-content: flex-start;\n align-items: stretch;\n padding: 20px 24px 24px 24px;\n border-radius: 4px;\n ${({ accentColor }) =>\n accentColor &&\n `\n box-shadow: 0px 1px 3px rgba(55, 66, 77, 0.15), inset 4px 0px 0px ${accentColor};\n `}\n background-color: ${({ backgroundColor }) => backgroundColor || 'white'};\n`;\n\nconst Row = styled(BaseContainer)`\n display: flex;\n flex-direction: row;\n`;\n\nconst Col = styled(BaseContainer)`\n display: flex;\n flex-direction: row;\n align-items: center;\n flex-wrap: wrap;\n`;\n\nexport const IconCol = styled(Col).withConfig({\n shouldForwardProp: (prop) => !['accentColor'].includes(prop),\n})<{ accentColor: string }>`\n svg {\n width: ${sizes.md};\n height: ${sizes.md};\n color: ${({ accentColor }) => accentColor};\n }\n`;\n\nexport const ChildContainer = styled(BaseContainer)`\n width: 100%;\n`;\n\nconst HeaderCol = styled(Col)`\n flex-grow: 2;\n margin-right: 12px;\n`;\n\nconst StyledText = styled(Text)`\n position: relative;\n top: -2px;\n`;\n\nexport { BannerLayout as Pill, StyledText as Text, Row, Col, HeaderCol };\n"],"names":[],"mappings":";;;;;AAOA,MAAM,YAAY,GAAG,MAAM,CAAC,aAAa,CAAC,CAAC,UAAU,CAAC;AACpD,IAAA,iBAAiB,EAAE,CAAC,IAAI,KAAK,CAAC,CAAC,aAAa,EAAE,iBAAiB,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC;AAChF,CAAA,CAAC,CAAW;;;;;;;AAOT,EAAA,EAAA,CAAC,EAAE,WAAW,EAAE,KAChB,WAAW;AACX,IAAA;0EACsE,WAAW,CAAA;AAChF,IAAA,CAAA;sBACiB,CAAC,EAAE,eAAe,EAAE,KAAK,eAAe,IAAI,OAAO,CAAA;;AAGzE,MAAM,GAAG,GAAG,MAAM,CAAC,aAAa,CAAC;AAKjC,MAAM,GAAG,GAAG,MAAM,CAAC,aAAa,CAAC;AAO1B,MAAM,OAAO,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,UAAU,CAAC;AAC5C,IAAA,iBAAiB,EAAE,CAAC,IAAI,KAAK,CAAC,CAAC,aAAa,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC;AAC7D,CAAA,CAAC,CAAyB;;AAEd,WAAA,EAAA,KAAK,CAAC,EAAE,CAAA;AACP,YAAA,EAAA,KAAK,CAAC,EAAE,CAAA;AACT,WAAA,EAAA,CAAC,EAAE,WAAW,EAAE,KAAK,WAAW,CAAA;;;MAIhC,cAAc,GAAG,MAAM,CAAC,aAAa,CAAC,CAAA,UAAA,CAAA,EAAA,WAAA,EAAA,qBAAA,EAAA,WAAA,EAAA,cAAA,EAAA,CAAA,CAAA,CAAA,WAAA;AAInD,MAAM,SAAS,GAAG,MAAM,CAAC,GAAG,CAAC;AAK7B,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC;;;;"}
@@ -1,12 +1,16 @@
1
1
  'use strict';
2
2
 
3
- var styled = require('styled-components');
3
+ var React = require('react');
4
+ var buildClassnames = require('../../utils/buildClassnames.cjs');
5
+ require('uid/secure');
6
+ var BaseContainer_module = require('./BaseContainer.module.scss.cjs');
4
7
 
5
8
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
6
9
 
7
- var styled__default = /*#__PURE__*/_interopDefaultCompat(styled);
10
+ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
8
11
 
9
- const BaseContainer = styled__default.default.div.withConfig({ displayName: "vui--BaseContainer", componentId: "vui--jtpszk" }) `box-sizing:border-box;position:relative;margin:0;padding:0;`;
12
+ const BaseContainer = React__default.default.forwardRef(({ className, children, ...rest }, ref) => (React__default.default.createElement("div", { className: buildClassnames.buildClassnames([BaseContainer_module.base, className]), ref: ref, ...rest }, children)));
13
+ BaseContainer.displayName = 'BaseContainer';
10
14
 
11
15
  exports.BaseContainer = BaseContainer;
12
16
  //# sourceMappingURL=BaseContainer.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"BaseContainer.cjs","sources":["../../../src/components/BaseContainer/BaseContainer.ts"],"sourcesContent":["import styled from 'styled-components';\n\nexport const BaseContainer = styled.div`\n box-sizing: border-box;\n position: relative;\n margin: 0;\n padding: 0;\n`;\n"],"names":["styled"],"mappings":";;;;;;;;MAEa,aAAa,GAAGA,uBAAM,CAAC,GAAG;;;;"}
1
+ {"version":3,"file":"BaseContainer.cjs","sources":["../../../src/components/BaseContainer/BaseContainer.tsx"],"sourcesContent":["import React from 'react';\nimport { buildClassnames } from '../../utils';\nimport styles from './BaseContainer.module.scss';\n\nexport const BaseContainer = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, children, ...rest }, ref) => (\n <div className={buildClassnames([styles.base, className])} ref={ref} {...rest}>\n {children}\n </div>\n));\n\nBaseContainer.displayName = 'BaseContainer';\n"],"names":["React","buildClassnames","styles"],"mappings":";;;;;;;;;;;MAIa,aAAa,GAAGA,sBAAK,CAAC,UAAU,CAG3C,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,GAAG,MACtCA,8CAAK,SAAS,EAAEC,+BAAe,CAAC,CAACC,oBAAM,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC,EAAE,GAAG,EAAE,GAAG,EAAA,GAAM,IAAI,IAC1E,QAAQ,CACL,CACP;AAED,aAAa,CAAC,WAAW,GAAG,eAAe;;;;"}
@@ -1 +1,2 @@
1
- export declare const BaseContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
1
+ import React from 'react';
2
+ export declare const BaseContainer: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
@@ -1,6 +1,10 @@
1
- import styled from 'styled-components';
1
+ import React__default from 'react';
2
+ import { buildClassnames } from '../../utils/buildClassnames.js';
3
+ import 'uid/secure';
4
+ import styles from './BaseContainer.module.scss.js';
2
5
 
3
- const BaseContainer = styled.div.withConfig({ displayName: "vui--BaseContainer", componentId: "vui--jtpszk" }) `box-sizing:border-box;position:relative;margin:0;padding:0;`;
6
+ const BaseContainer = React__default.forwardRef(({ className, children, ...rest }, ref) => (React__default.createElement("div", { className: buildClassnames([styles.base, className]), ref: ref, ...rest }, children)));
7
+ BaseContainer.displayName = 'BaseContainer';
4
8
 
5
9
  export { BaseContainer };
6
10
  //# sourceMappingURL=BaseContainer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BaseContainer.js","sources":["../../../src/components/BaseContainer/BaseContainer.ts"],"sourcesContent":["import styled from 'styled-components';\n\nexport const BaseContainer = styled.div`\n box-sizing: border-box;\n position: relative;\n margin: 0;\n padding: 0;\n`;\n"],"names":[],"mappings":";;MAEa,aAAa,GAAG,MAAM,CAAC,GAAG;;;;"}
1
+ {"version":3,"file":"BaseContainer.js","sources":["../../../src/components/BaseContainer/BaseContainer.tsx"],"sourcesContent":["import React from 'react';\nimport { buildClassnames } from '../../utils';\nimport styles from './BaseContainer.module.scss';\n\nexport const BaseContainer = React.forwardRef<\n HTMLDivElement,\n React.HTMLAttributes<HTMLDivElement>\n>(({ className, children, ...rest }, ref) => (\n <div className={buildClassnames([styles.base, className])} ref={ref} {...rest}>\n {children}\n </div>\n));\n\nBaseContainer.displayName = 'BaseContainer';\n"],"names":["React"],"mappings":";;;;;MAIa,aAAa,GAAGA,cAAK,CAAC,UAAU,CAG3C,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,GAAG,MACtCA,sCAAK,SAAS,EAAE,eAAe,CAAC,CAAC,MAAM,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC,EAAE,GAAG,EAAE,GAAG,EAAA,GAAM,IAAI,IAC1E,QAAQ,CACL,CACP;AAED,aAAa,CAAC,WAAW,GAAG,eAAe;;;;"}
@@ -0,0 +1,9 @@
1
+ 'use strict';
2
+
3
+ var ___$insertStyle = require('../../_virtual/____insertStyle.cjs');
4
+
5
+ ___$insertStyle("._base_1khh5_1 {\n box-sizing: border-box;\n position: relative;\n margin: 0;\n padding: 0;\n}");
6
+ var styles = {"base":"_base_1khh5_1"};
7
+
8
+ module.exports = styles;
9
+ //# sourceMappingURL=BaseContainer.module.scss.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BaseContainer.module.scss.cjs","sources":["../../../src/components/BaseContainer/BaseContainer.module.scss"],"sourcesContent":[".base {\n box-sizing: border-box;\n position: relative;\n margin: 0;\n padding: 0;\n}\n"],"names":[],"mappings":";;;;AACE,eAAA,CAAA,oGAAA;AACA,aAAA,CAAA,MAAA,CAAA,eAAA;;;;"}
@@ -0,0 +1,7 @@
1
+ import insertStyle from '../../_virtual/____insertStyle.js';
2
+
3
+ insertStyle("._base_1khh5_1 {\n box-sizing: border-box;\n position: relative;\n margin: 0;\n padding: 0;\n}");
4
+ var styles = {"base":"_base_1khh5_1"};
5
+
6
+ export { styles as default };
7
+ //# sourceMappingURL=BaseContainer.module.scss.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BaseContainer.module.scss.js","sources":["../../../src/components/BaseContainer/BaseContainer.module.scss"],"sourcesContent":[".base {\n box-sizing: border-box;\n position: relative;\n margin: 0;\n padding: 0;\n}\n"],"names":["___$insertStyle"],"mappings":";;AACEA,WAAA,CAAA,oGAAA;AACA,aAAA,CAAA,MAAA,CAAA,eAAA;;;;"}
@@ -3,4 +3,4 @@ export declare const HeaderContent: import("styled-components").StyledComponent<
3
3
  export declare const ClickableHeaderContent: import("styled-components").StyledComponent<"span", any, {
4
4
  as: string;
5
5
  type: string;
6
- }, "type" | "as">;
6
+ }, "as" | "type">;
@@ -5,9 +5,9 @@ var withLabels = require('../../hoc/withLabels/withLabels.cjs');
5
5
  var invalidCharactersNumeric = require('../../utils/invalidCharactersNumeric.cjs');
6
6
  var blockInvalidCharacters = require('../../utils/blockInvalidCharacters.cjs');
7
7
  var InputAffix = require('../InputAffix/InputAffix.cjs');
8
- var index$1 = require('../TextField/index.cjs');
8
+ var index = require('../TextField/index.cjs');
9
9
  var Stack = require('../Stack/Stack.cjs');
10
- var index = require('../InputGroup/index.cjs');
10
+ var InputGroup = require('../InputGroup/InputGroup.cjs');
11
11
 
12
12
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
13
13
 
@@ -46,17 +46,17 @@ const DimensionsInput = withLabels.withLabels(({ size = 'base', handleChangeHeig
46
46
  },
47
47
  };
48
48
  return (React__default.default.createElement(Stack.Stack, { direction: "horizontal", alignY: "center", className: className },
49
- React__default.default.createElement(index.InputGroup, { ...childProps.inputGroup, style: { flex: 1 } },
49
+ React__default.default.createElement(InputGroup.InputGroup, { ...childProps.inputGroup, style: { flex: 1 } },
50
50
  React__default.default.createElement(InputAffix.InputAffix, { ...childProps.inputAffix }, "L"),
51
- React__default.default.createElement(index$1.TextField, { ...childProps.textField, name: "length", value: length, "aria-label": "Length", "aria-describedby": "length-unit", onChange: handleChangeLength, placeholder: "0" }),
51
+ React__default.default.createElement(index.TextField, { ...childProps.textField, name: "length", value: length, "aria-label": "Length", "aria-describedby": "length-unit", onChange: handleChangeLength, placeholder: "0" }),
52
52
  React__default.default.createElement(InputAffix.InputAffix, { id: "length-unit", ...childProps.inputAffix }, unit)),
53
- React__default.default.createElement(index.InputGroup, { ...childProps.inputGroup, style: { flex: 1 } },
53
+ React__default.default.createElement(InputGroup.InputGroup, { ...childProps.inputGroup, style: { flex: 1 } },
54
54
  React__default.default.createElement(InputAffix.InputAffix, { ...childProps.inputAffix }, "W"),
55
- React__default.default.createElement(index$1.TextField, { ...childProps.textField, name: "width", value: width, "aria-label": "Width", "aria-describedby": "width-unit", onChange: handleChangeWidth, placeholder: "0" }),
55
+ React__default.default.createElement(index.TextField, { ...childProps.textField, name: "width", value: width, "aria-label": "Width", "aria-describedby": "width-unit", onChange: handleChangeWidth, placeholder: "0" }),
56
56
  React__default.default.createElement(InputAffix.InputAffix, { id: "width-unit", ...childProps.inputAffix }, unit)),
57
- React__default.default.createElement(index.InputGroup, { ...childProps.inputGroup, style: { flex: 1 } },
57
+ React__default.default.createElement(InputGroup.InputGroup, { ...childProps.inputGroup, style: { flex: 1 } },
58
58
  React__default.default.createElement(InputAffix.InputAffix, { ...childProps.inputAffix }, "H"),
59
- React__default.default.createElement(index$1.TextField, { ...childProps.textField, name: "height", value: height, "aria-label": "Height", "aria-describedby": "height-unit", onChange: handleChangeHeight, placeholder: "0" }),
59
+ React__default.default.createElement(index.TextField, { ...childProps.textField, name: "height", value: height, "aria-label": "Height", "aria-describedby": "height-unit", onChange: handleChangeHeight, placeholder: "0" }),
60
60
  React__default.default.createElement(InputAffix.InputAffix, { id: "height-unit", ...childProps.inputAffix }, unit))));
61
61
  });
62
62
  DimensionsInput.displayName = 'DimensionsInput';
@@ -1 +1 @@
1
- {"version":3,"file":"DimensionsInput.cjs","sources":["../../../src/components/DimensionsInput/DimensionsInput.tsx"],"sourcesContent":["import React from 'react';\n\nimport { withLabels } from '../../hoc';\nimport { invalidCharsList } from '../../utils/invalidCharactersNumeric';\nimport { blockInvalidCharacters } from '../../utils/blockInvalidCharacters';\n\nimport { InputAffix, InputAffixProps } from '../InputAffix';\nimport { TextField, TextFieldProps } from '../TextField';\nimport { Stack } from '../Stack';\nimport { InputGroup, InputGroupProps } from '../InputGroup';\n\nimport { DimensionsProps } from './types';\n\ntype ChildComponentProps = {\n inputGroup: Partial<InputGroupProps>;\n textField: Partial<TextFieldProps>;\n inputAffix: Partial<InputAffixProps>;\n};\n\nconst blockInvalidChars = (e: React.KeyboardEvent) => blockInvalidCharacters(e, invalidCharsList);\n\nconst styles = {\n inputGroup: {\n flex: 1,\n },\n textField: {\n flex: 1,\n },\n};\n\nexport const DimensionsInput = withLabels<DimensionsProps>(\n ({\n size = 'base',\n handleChangeHeight,\n handleChangeWidth,\n handleChangeLength,\n className,\n height,\n width,\n length,\n unit = 'cm',\n hasError,\n ...rest\n }) => {\n const compact = size === 'sm';\n\n const childProps: ChildComponentProps = {\n inputGroup: {\n hasError,\n compact,\n style: styles.inputGroup,\n },\n textField: {\n type: 'number',\n min: '0',\n step: 'any',\n onKeyDown: blockInvalidChars,\n size,\n hasError,\n style: styles.textField,\n ...rest,\n },\n inputAffix: {\n compact,\n hasError,\n },\n };\n\n return (\n <Stack direction=\"horizontal\" alignY=\"center\" className={className}>\n <InputGroup {...childProps.inputGroup} style={{ flex: 1 }}>\n <InputAffix {...childProps.inputAffix}>L</InputAffix>\n <TextField\n {...childProps.textField}\n name=\"length\"\n value={length}\n aria-label=\"Length\"\n aria-describedby=\"length-unit\"\n onChange={handleChangeLength}\n placeholder=\"0\"\n />\n <InputAffix id=\"length-unit\" {...childProps.inputAffix}>\n {unit}\n </InputAffix>\n </InputGroup>\n <InputGroup {...childProps.inputGroup} style={{ flex: 1 }}>\n <InputAffix {...childProps.inputAffix}>W</InputAffix>\n <TextField\n {...childProps.textField}\n name=\"width\"\n value={width}\n aria-label=\"Width\"\n aria-describedby=\"width-unit\"\n onChange={handleChangeWidth}\n placeholder=\"0\"\n />\n <InputAffix id=\"width-unit\" {...childProps.inputAffix}>\n {unit}\n </InputAffix>\n </InputGroup>\n <InputGroup {...childProps.inputGroup} style={{ flex: 1 }}>\n <InputAffix {...childProps.inputAffix}>H</InputAffix>\n <TextField\n {...childProps.textField}\n name=\"height\"\n value={height}\n aria-label=\"Height\"\n aria-describedby=\"height-unit\"\n onChange={handleChangeHeight}\n placeholder=\"0\"\n />\n <InputAffix id=\"height-unit\" {...childProps.inputAffix}>\n {unit}\n </InputAffix>\n </InputGroup>\n </Stack>\n );\n },\n);\n\nDimensionsInput.displayName = 'DimensionsInput';\n"],"names":["blockInvalidCharacters","invalidCharsList","withLabels","React","Stack","InputGroup","InputAffix","TextField"],"mappings":"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"}
1
+ {"version":3,"file":"DimensionsInput.cjs","sources":["../../../src/components/DimensionsInput/DimensionsInput.tsx"],"sourcesContent":["import React from 'react';\n\nimport { withLabels } from '../../hoc';\nimport { invalidCharsList } from '../../utils/invalidCharactersNumeric';\nimport { blockInvalidCharacters } from '../../utils/blockInvalidCharacters';\n\nimport { InputAffix, InputAffixProps } from '../InputAffix';\nimport { TextField, TextFieldProps } from '../TextField';\nimport { Stack } from '../Stack';\nimport { InputGroup, InputGroupProps } from '../InputGroup';\n\nimport { DimensionsProps } from './types';\n\ntype ChildComponentProps = {\n inputGroup: Partial<InputGroupProps>;\n textField: Partial<TextFieldProps>;\n inputAffix: Partial<InputAffixProps>;\n};\n\nconst blockInvalidChars = (e: React.KeyboardEvent) => blockInvalidCharacters(e, invalidCharsList);\n\nconst styles = {\n inputGroup: {\n flex: 1,\n },\n textField: {\n flex: 1,\n },\n};\n\nexport const DimensionsInput = withLabels<DimensionsProps>(\n ({\n size = 'base',\n handleChangeHeight,\n handleChangeWidth,\n handleChangeLength,\n className,\n height,\n width,\n length,\n unit = 'cm',\n hasError,\n ...rest\n }) => {\n const compact = size === 'sm';\n\n const childProps: ChildComponentProps = {\n inputGroup: {\n hasError,\n compact,\n style: styles.inputGroup,\n },\n textField: {\n type: 'number',\n min: '0',\n step: 'any',\n onKeyDown: blockInvalidChars,\n size,\n hasError,\n style: styles.textField,\n ...rest,\n },\n inputAffix: {\n compact,\n hasError,\n },\n };\n\n return (\n <Stack direction=\"horizontal\" alignY=\"center\" className={className}>\n <InputGroup {...childProps.inputGroup} style={{ flex: 1 }}>\n <InputAffix {...childProps.inputAffix}>L</InputAffix>\n <TextField\n {...childProps.textField}\n name=\"length\"\n value={length}\n aria-label=\"Length\"\n aria-describedby=\"length-unit\"\n onChange={handleChangeLength}\n placeholder=\"0\"\n />\n <InputAffix id=\"length-unit\" {...childProps.inputAffix}>\n {unit}\n </InputAffix>\n </InputGroup>\n <InputGroup {...childProps.inputGroup} style={{ flex: 1 }}>\n <InputAffix {...childProps.inputAffix}>W</InputAffix>\n <TextField\n {...childProps.textField}\n name=\"width\"\n value={width}\n aria-label=\"Width\"\n aria-describedby=\"width-unit\"\n onChange={handleChangeWidth}\n placeholder=\"0\"\n />\n <InputAffix id=\"width-unit\" {...childProps.inputAffix}>\n {unit}\n </InputAffix>\n </InputGroup>\n <InputGroup {...childProps.inputGroup} style={{ flex: 1 }}>\n <InputAffix {...childProps.inputAffix}>H</InputAffix>\n <TextField\n {...childProps.textField}\n name=\"height\"\n value={height}\n aria-label=\"Height\"\n aria-describedby=\"height-unit\"\n onChange={handleChangeHeight}\n placeholder=\"0\"\n />\n <InputAffix id=\"height-unit\" {...childProps.inputAffix}>\n {unit}\n </InputAffix>\n </InputGroup>\n </Stack>\n );\n },\n);\n\nDimensionsInput.displayName = 'DimensionsInput';\n"],"names":["blockInvalidCharacters","invalidCharsList","withLabels","React","Stack","InputGroup","InputAffix","TextField"],"mappings":"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"}
@@ -1,13 +1,6 @@
1
1
  import React from 'react';
2
2
  export declare const DimensionsInput: React.ForwardRefExoticComponent<{
3
- form?: string | undefined;
4
- slot?: string | undefined;
5
- style?: React.CSSProperties | undefined;
6
- title?: string | undefined;
7
- pattern?: string | undefined;
8
3
  rel?: string | undefined;
9
- placeholder?: string | undefined;
10
- list?: string | undefined;
11
4
  className?: string | undefined;
12
5
  children?: React.ReactNode;
13
6
  defaultChecked?: boolean | undefined;
@@ -24,8 +17,12 @@ export declare const DimensionsInput: React.ForwardRefExoticComponent<{
24
17
  id?: string | undefined;
25
18
  lang?: string | undefined;
26
19
  nonce?: string | undefined;
20
+ placeholder?: string | undefined;
21
+ slot?: string | undefined;
27
22
  spellCheck?: (boolean | "true" | "false") | undefined;
23
+ style?: React.CSSProperties | undefined;
28
24
  tabIndex?: number | undefined;
25
+ title?: string | undefined;
29
26
  translate?: "yes" | "no" | undefined;
30
27
  radioGroup?: string | undefined;
31
28
  role?: React.AriaRole | undefined;
@@ -51,7 +48,7 @@ export declare const DimensionsInput: React.ForwardRefExoticComponent<{
51
48
  results?: number | undefined;
52
49
  security?: string | undefined;
53
50
  unselectable?: "on" | "off" | undefined;
54
- inputMode?: "text" | "none" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
51
+ inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
55
52
  is?: string | undefined;
56
53
  'aria-activedescendant'?: string | undefined;
57
54
  'aria-atomic'?: (boolean | "true" | "false") | undefined;
@@ -263,6 +260,9 @@ export declare const DimensionsInput: React.ForwardRefExoticComponent<{
263
260
  onAnimationIterationCapture?: (React.AnimationEventHandler<HTMLInputElement> & React.AnimationEventHandler<HTMLTextAreaElement>) | undefined;
264
261
  onTransitionEnd?: (React.TransitionEventHandler<HTMLInputElement> & React.TransitionEventHandler<HTMLTextAreaElement>) | undefined;
265
262
  onTransitionEndCapture?: (React.TransitionEventHandler<HTMLInputElement> & React.TransitionEventHandler<HTMLTextAreaElement>) | undefined;
263
+ form?: string | undefined;
264
+ pattern?: string | undefined;
265
+ list?: string | undefined;
266
266
  alt?: string | undefined;
267
267
  disabled?: boolean | undefined;
268
268
  formAction?: string | undefined;
@@ -5,7 +5,7 @@ import { blockInvalidCharacters } from '../../utils/blockInvalidCharacters.js';
5
5
  import { InputAffix } from '../InputAffix/InputAffix.js';
6
6
  import { TextField } from '../TextField/index.js';
7
7
  import { Stack } from '../Stack/Stack.js';
8
- import { InputGroup } from '../InputGroup/index.js';
8
+ import { InputGroup } from '../InputGroup/InputGroup.js';
9
9
 
10
10
  const blockInvalidChars = (e) => blockInvalidCharacters(e, invalidCharsList);
11
11
  const styles = {
@@ -1,20 +1,20 @@
1
1
  /// <reference types="react" />
2
2
  import { Text } from '../Text';
3
3
  import { AnimatedDropdown } from '../AnimatedDropdown';
4
- declare const Container: import("styled-components").StyledComponent<"div", any, {
4
+ declare const Container: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>, any, {
5
5
  as: string;
6
6
  }, "as">;
7
7
  declare const GroupLabel: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<{
8
8
  as?: import("../Text").ValidTextTag | undefined;
9
9
  muted?: boolean | undefined;
10
- variant?: "body" | "button" | "link" | "headingXXL" | "headingXL" | "headingLarge" | "headingMedium" | "headingSmall" | "headingTable" | "subheadingLarge" | "subheadingMedium" | "subheadingSmall" | "subheadingSmallBold" | "bodySmall" | "bodyBold" | "bodyBoldDark" | "bodySmallBold" | "inputLabel" | "inputLabelSmall" | "hintText" | "placeholder" | "placeholderSmall" | "placeholderCode" | "placeholderCodeSmall" | "error" | "errorSmall" | "successSmall" | "buttonSmall" | "linkLarge" | "linkMedium" | "linkSmall" | undefined;
10
+ variant?: "placeholder" | "link" | "body" | "button" | "headingXXL" | "headingXL" | "headingLarge" | "headingMedium" | "headingSmall" | "headingTable" | "subheadingLarge" | "subheadingMedium" | "subheadingSmall" | "subheadingSmallBold" | "bodySmall" | "bodyBold" | "bodyBoldDark" | "bodySmallBold" | "inputLabel" | "inputLabelSmall" | "hintText" | "placeholderSmall" | "placeholderCode" | "placeholderCodeSmall" | "error" | "errorSmall" | "successSmall" | "buttonSmall" | "linkLarge" | "linkMedium" | "linkSmall" | undefined;
11
11
  } & import("react").HTMLAttributes<HTMLElement> & import("react").LabelHTMLAttributes<HTMLLabelElement> & import("react").RefAttributes<HTMLElement>>, any, {}, never>;
12
12
  declare const MainIcon: import("styled-components").StyledComponent<(props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element, any, {
13
13
  $shouldShow?: boolean | undefined;
14
14
  }, never>;
15
15
  declare const StyledCrossIcon: import("styled-components").StyledComponent<(props: import("react").SVGProps<SVGSVGElement>) => import("react").JSX.Element, any, {}, never>;
16
- declare const Content: import("styled-components").StyledComponent<"div", any, {}, never>;
17
- declare const Header: import("styled-components").StyledComponent<"div", any, {
16
+ declare const Content: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>, any, {}, never>;
17
+ declare const Header: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>, any, {
18
18
  color: string;
19
19
  }, never>;
20
20
  export { Container, Text, AnimatedDropdown as Dropdown, GroupLabel, Content, Header, MainIcon, StyledCrossIcon as CrossIcon, };
@@ -8,7 +8,13 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
8
8
 
9
9
  var styled__default = /*#__PURE__*/_interopDefaultCompat(styled);
10
10
 
11
- const Grid = styled__default.default(BaseContainer.BaseContainer).withConfig({ displayName: "vui--Grid", componentId: "vui--12w0ynf" }) `display:grid;grid-template-columns:repeat(${({ columns }) => columns}, 1fr);grid-gap:${({ spacing = 'base' }) => (spacing ? sizes.sizes[spacing] : 0)};`;
11
+ const Grid = styled__default.default(BaseContainer.BaseContainer).withConfig({
12
+ shouldForwardProp: (prop) => !['columns', 'spacing'].includes(prop),
13
+ }) `
14
+ display: grid;
15
+ grid-template-columns: repeat(${({ columns }) => columns}, 1fr);
16
+ grid-gap: ${({ spacing = 'base' }) => (spacing ? sizes.sizes[spacing] : 0)};
17
+ `;
12
18
 
13
19
  exports.Grid = Grid;
14
20
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sources":["../../../src/components/Grid/index.ts"],"sourcesContent":["import styled from 'styled-components';\n\nimport { BaseContainer } from '../BaseContainer';\nimport { sizes } from '../../theme/modules/sizes';\n\nimport { GridProps } from './types';\n\nexport const Grid = styled(BaseContainer)<GridProps>`\n display: grid;\n grid-template-columns: repeat(${({ columns }) => columns}, 1fr);\n grid-gap: ${({ spacing = 'base' }) => (spacing ? sizes[spacing] : 0)};\n`;\n"],"names":["styled","BaseContainer","sizes"],"mappings":";;;;;;;;;;AAOO,MAAM,IAAI,GAAGA,uBAAM,CAACC,2BAAa,CAAC,CAAA,UAAA,CAAA,EAAA,WAAA,EAAA,WAAA,EAAA,WAAA,EAAA,cAAA,EAAA,CAAA,CAAA,CAAA,0CAAA,EAEP,CAAC,EAAE,OAAO,EAAE,KAAK,OAAO,CAAA,gBAAA,EAC5C,CAAC,EAAE,OAAO,GAAG,MAAM,EAAE,MAAM,OAAO,GAAGC,WAAK,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;;;;"}
1
+ {"version":3,"file":"index.cjs","sources":["../../../src/components/Grid/index.ts"],"sourcesContent":["import styled from 'styled-components';\n\nimport { BaseContainer } from '../BaseContainer';\nimport { sizes } from '../../theme/modules/sizes';\n\nimport { GridProps } from './types';\n\nexport const Grid = styled(BaseContainer).withConfig({\n shouldForwardProp: (prop) => !['columns', 'spacing'].includes(prop),\n})<GridProps>`\n display: grid;\n grid-template-columns: repeat(${({ columns }) => columns}, 1fr);\n grid-gap: ${({ spacing = 'base' }) => (spacing ? sizes[spacing] : 0)};\n`;\n"],"names":["styled","BaseContainer","sizes"],"mappings":";;;;;;;;;;AAOO,MAAM,IAAI,GAAGA,uBAAM,CAACC,2BAAa,CAAC,CAAC,UAAU,CAAC;AACnD,IAAA,iBAAiB,EAAE,CAAC,IAAI,KAAK,CAAC,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC;AACpE,CAAA,CAAC,CAAW;;AAEqB,gCAAA,EAAA,CAAC,EAAE,OAAO,EAAE,KAAK,OAAO,CAAA;cAC5C,CAAC,EAAE,OAAO,GAAG,MAAM,EAAE,MAAM,OAAO,GAAGC,WAAK,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAA;;;;;"}
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  import { GridProps } from './types';
2
- export declare const Grid: import("styled-components").StyledComponent<"div", any, GridProps, never>;
3
+ export declare const Grid: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>, any, GridProps, never>;
@@ -2,7 +2,13 @@ import styled from 'styled-components';
2
2
  import { BaseContainer } from '../BaseContainer/BaseContainer.js';
3
3
  import { sizes } from '../../theme/modules/sizes.js';
4
4
 
5
- const Grid = styled(BaseContainer).withConfig({ displayName: "vui--Grid", componentId: "vui--12w0ynf" }) `display:grid;grid-template-columns:repeat(${({ columns }) => columns}, 1fr);grid-gap:${({ spacing = 'base' }) => (spacing ? sizes[spacing] : 0)};`;
5
+ const Grid = styled(BaseContainer).withConfig({
6
+ shouldForwardProp: (prop) => !['columns', 'spacing'].includes(prop),
7
+ }) `
8
+ display: grid;
9
+ grid-template-columns: repeat(${({ columns }) => columns}, 1fr);
10
+ grid-gap: ${({ spacing = 'base' }) => (spacing ? sizes[spacing] : 0)};
11
+ `;
6
12
 
7
13
  export { Grid };
8
14
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../src/components/Grid/index.ts"],"sourcesContent":["import styled from 'styled-components';\n\nimport { BaseContainer } from '../BaseContainer';\nimport { sizes } from '../../theme/modules/sizes';\n\nimport { GridProps } from './types';\n\nexport const Grid = styled(BaseContainer)<GridProps>`\n display: grid;\n grid-template-columns: repeat(${({ columns }) => columns}, 1fr);\n grid-gap: ${({ spacing = 'base' }) => (spacing ? sizes[spacing] : 0)};\n`;\n"],"names":[],"mappings":";;;;AAOO,MAAM,IAAI,GAAG,MAAM,CAAC,aAAa,CAAC,CAAA,UAAA,CAAA,EAAA,WAAA,EAAA,WAAA,EAAA,WAAA,EAAA,cAAA,EAAA,CAAA,CAAA,CAAA,0CAAA,EAEP,CAAC,EAAE,OAAO,EAAE,KAAK,OAAO,CAAA,gBAAA,EAC5C,CAAC,EAAE,OAAO,GAAG,MAAM,EAAE,MAAM,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../../../src/components/Grid/index.ts"],"sourcesContent":["import styled from 'styled-components';\n\nimport { BaseContainer } from '../BaseContainer';\nimport { sizes } from '../../theme/modules/sizes';\n\nimport { GridProps } from './types';\n\nexport const Grid = styled(BaseContainer).withConfig({\n shouldForwardProp: (prop) => !['columns', 'spacing'].includes(prop),\n})<GridProps>`\n display: grid;\n grid-template-columns: repeat(${({ columns }) => columns}, 1fr);\n grid-gap: ${({ spacing = 'base' }) => (spacing ? sizes[spacing] : 0)};\n`;\n"],"names":[],"mappings":";;;;AAOO,MAAM,IAAI,GAAG,MAAM,CAAC,aAAa,CAAC,CAAC,UAAU,CAAC;AACnD,IAAA,iBAAiB,EAAE,CAAC,IAAI,KAAK,CAAC,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC;AACpE,CAAA,CAAC,CAAW;;AAEqB,gCAAA,EAAA,CAAC,EAAE,OAAO,EAAE,KAAK,OAAO,CAAA;cAC5C,CAAC,EAAE,OAAO,GAAG,MAAM,EAAE,MAAM,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,CAAA;;;;;"}
@@ -3,17 +3,16 @@
3
3
  var React = require('react');
4
4
  var styled = require('styled-components');
5
5
  var inputStyles = require('../../utils/forms/inputStyles.cjs');
6
- var index$1 = require('../../theme/index.cjs');
6
+ var index = require('../../theme/index.cjs');
7
7
  var Text = require('../Text/Text.cjs');
8
- var index = require('../InputGroup/index.cjs');
9
8
 
10
9
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
11
10
 
12
11
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
13
12
  var styled__default = /*#__PURE__*/_interopDefaultCompat(styled);
14
13
 
15
- const Container = styled__default.default.div.withConfig({ displayName: "vui--Container", componentId: "vui--zm6t34" }) `user-select:none;flex-shrink:0;${inputStyles.inputFullStyles} ${index.InputGroup}:has(:disabled)&{background-color:${index$1.theme.colors.neutral.grey.light};}`;
16
- const StyledHint = styled__default.default(Text.Text).attrs({ variant: 'hintText' }).withConfig({ displayName: "vui--StyledHint", componentId: "vui--8xnkei" }) `font-size:${index$1.theme.text.body.fontSize};`;
14
+ const Container = styled__default.default.div.withConfig({ displayName: "vui--Container", componentId: "vui--zm6t34" }) `user-select:none;flex-shrink:0;${inputStyles.inputFullStyles} [data-input-group]:has(:disabled)&{background-color:${index.theme.colors.neutral.grey.light};}`;
15
+ const StyledHint = styled__default.default(Text.Text).attrs({ variant: 'hintText' }).withConfig({ displayName: "vui--StyledHint", componentId: "vui--8xnkei" }) `font-size:${index.theme.text.body.fontSize};`;
17
16
  function InputAffix({ children, ...otherProps }) {
18
17
  return (React__default.default.createElement(Container, { ...otherProps },
19
18
  React__default.default.createElement(StyledHint, { variant: "hintText" }, children)));
@@ -1 +1 @@
1
- {"version":3,"file":"InputAffix.cjs","sources":["../../../src/components/InputAffix/InputAffix.tsx"],"sourcesContent":["import React from 'react';\nimport styled from 'styled-components';\nimport { inputFullStyles } from '../../utils/forms/inputStyles';\nimport { theme } from '../../theme';\nimport { Text } from '../Text';\nimport { InputGroup } from '../InputGroup';\nimport { FormComponentProps } from '../types';\n\nexport type InputAffixProps = React.HTMLAttributes<HTMLDivElement> & FormComponentProps;\n\nconst Container = styled.div<InputAffixProps>`\n user-select: none;\n flex-shrink: 0;\n\n ${inputFullStyles}\n\n ${InputGroup}:has(:disabled) & {\n background-color: ${theme.colors.neutral.grey.light};\n }\n`;\n\nconst StyledHint = styled(Text).attrs({ variant: 'hintText' })`\n font-size: ${theme.text.body.fontSize};\n`;\n\nexport function InputAffix({ children, ...otherProps }: InputAffixProps) {\n return (\n <Container {...otherProps}>\n <StyledHint variant=\"hintText\">{children}</StyledHint>\n </Container>\n );\n}\n\nInputAffix.Container = Container;\n"],"names":["styled","inputFullStyles","InputGroup","theme","Text","React"],"mappings":";;;;;;;;;;;;;;AAUA,MAAM,SAAS,GAAGA,uBAAM,CAAC,GAAG,CAAA,UAAA,CAAA,EAAA,WAAA,EAAA,gBAAA,EAAA,WAAA,EAAA,aAAA,EAAA,CAAA,CAAA,CAAA,+BAAA,EAIxBC,2BAAe,IAEfC,gBAAU,CAAA,kCAAA,EACUC,aAAK,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,IAEtD;AAED,MAAM,UAAU,GAAGH,uBAAM,CAACI,SAAI,CAAC,CAAC,KAAK,CAAC,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC,CAAA,UAAA,CAAA,EAAA,WAAA,EAAA,iBAAA,EAAA,WAAA,EAAA,aAAA,EAAA,CAAA,CAAA,CAAA,UAAA,EAC/CD,aAAK,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAA,CAAA,CACtC;AAEK,SAAU,UAAU,CAAC,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAmB,EAAA;AACrE,IAAA,QACEE,sBAAA,CAAA,aAAA,CAAC,SAAS,EAAA,EAAA,GAAK,UAAU,EAAA;QACvBA,sBAAA,CAAA,aAAA,CAAC,UAAU,EAAA,EAAC,OAAO,EAAC,UAAU,IAAE,QAAQ,CAAc,CAC5C;AAEhB;AAEA,UAAU,CAAC,SAAS,GAAG,SAAS;;;;"}
1
+ {"version":3,"file":"InputAffix.cjs","sources":["../../../src/components/InputAffix/InputAffix.tsx"],"sourcesContent":["import React from 'react';\nimport styled from 'styled-components';\nimport { inputFullStyles } from '../../utils/forms/inputStyles';\nimport { theme } from '../../theme';\nimport { Text } from '../Text';\nimport { FormComponentProps } from '../types';\n\nexport type InputAffixProps = React.HTMLAttributes<HTMLDivElement> & FormComponentProps;\n\nconst Container = styled.div<InputAffixProps>`\n user-select: none;\n flex-shrink: 0;\n\n ${inputFullStyles}\n\n [data-input-group]:has(:disabled) & {\n background-color: ${theme.colors.neutral.grey.light};\n }\n`;\n\nconst StyledHint = styled(Text).attrs({ variant: 'hintText' })`\n font-size: ${theme.text.body.fontSize};\n`;\n\nexport function InputAffix({ children, ...otherProps }: InputAffixProps) {\n return (\n <Container {...otherProps}>\n <StyledHint variant=\"hintText\">{children}</StyledHint>\n </Container>\n );\n}\n\nInputAffix.Container = Container;\n"],"names":["styled","inputFullStyles","theme","Text","React"],"mappings":";;;;;;;;;;;;;AASA,MAAM,SAAS,GAAGA,uBAAM,CAAC,GAAG,CAAA,UAAA,CAAA,EAAA,WAAA,EAAA,gBAAA,EAAA,WAAA,EAAA,aAAA,EAAA,CAAA,CAAA,CAAA,+BAAA,EAIxBC,2BAAe,CAAA,qDAAA,EAGKC,WAAK,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,IAEtD;AAED,MAAM,UAAU,GAAGF,uBAAM,CAACG,SAAI,CAAC,CAAC,KAAK,CAAC,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC,CAAA,UAAA,CAAA,EAAA,WAAA,EAAA,iBAAA,EAAA,WAAA,EAAA,aAAA,EAAA,CAAA,CAAA,CAAA,UAAA,EAC/CD,WAAK,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAA,CAAA,CACtC;AAEK,SAAU,UAAU,CAAC,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAmB,EAAA;AACrE,IAAA,QACEE,sBAAA,CAAA,aAAA,CAAC,SAAS,EAAA,EAAA,GAAK,UAAU,EAAA;QACvBA,sBAAA,CAAA,aAAA,CAAC,UAAU,EAAA,EAAC,OAAO,EAAC,UAAU,IAAE,QAAQ,CAAc,CAC5C;AAEhB;AAEA,UAAU,CAAC,SAAS,GAAG,SAAS;;;;"}
@@ -3,9 +3,8 @@ import styled from 'styled-components';
3
3
  import { inputFullStyles } from '../../utils/forms/inputStyles.js';
4
4
  import { theme } from '../../theme/index.js';
5
5
  import { Text } from '../Text/Text.js';
6
- import { InputGroup } from '../InputGroup/index.js';
7
6
 
8
- const Container = styled.div.withConfig({ displayName: "vui--Container", componentId: "vui--zm6t34" }) `user-select:none;flex-shrink:0;${inputFullStyles} ${InputGroup}:has(:disabled)&{background-color:${theme.colors.neutral.grey.light};}`;
7
+ const Container = styled.div.withConfig({ displayName: "vui--Container", componentId: "vui--zm6t34" }) `user-select:none;flex-shrink:0;${inputFullStyles} [data-input-group]:has(:disabled)&{background-color:${theme.colors.neutral.grey.light};}`;
9
8
  const StyledHint = styled(Text).attrs({ variant: 'hintText' }).withConfig({ displayName: "vui--StyledHint", componentId: "vui--8xnkei" }) `font-size:${theme.text.body.fontSize};`;
10
9
  function InputAffix({ children, ...otherProps }) {
11
10
  return (React__default.createElement(Container, { ...otherProps },
@@ -1 +1 @@
1
- {"version":3,"file":"InputAffix.js","sources":["../../../src/components/InputAffix/InputAffix.tsx"],"sourcesContent":["import React from 'react';\nimport styled from 'styled-components';\nimport { inputFullStyles } from '../../utils/forms/inputStyles';\nimport { theme } from '../../theme';\nimport { Text } from '../Text';\nimport { InputGroup } from '../InputGroup';\nimport { FormComponentProps } from '../types';\n\nexport type InputAffixProps = React.HTMLAttributes<HTMLDivElement> & FormComponentProps;\n\nconst Container = styled.div<InputAffixProps>`\n user-select: none;\n flex-shrink: 0;\n\n ${inputFullStyles}\n\n ${InputGroup}:has(:disabled) & {\n background-color: ${theme.colors.neutral.grey.light};\n }\n`;\n\nconst StyledHint = styled(Text).attrs({ variant: 'hintText' })`\n font-size: ${theme.text.body.fontSize};\n`;\n\nexport function InputAffix({ children, ...otherProps }: InputAffixProps) {\n return (\n <Container {...otherProps}>\n <StyledHint variant=\"hintText\">{children}</StyledHint>\n </Container>\n );\n}\n\nInputAffix.Container = Container;\n"],"names":["React"],"mappings":";;;;;;;AAUA,MAAM,SAAS,GAAG,MAAM,CAAC,GAAG,CAAA,UAAA,CAAA,EAAA,WAAA,EAAA,gBAAA,EAAA,WAAA,EAAA,aAAA,EAAA,CAAA,CAAA,CAAA,+BAAA,EAIxB,eAAe,IAEf,UAAU,CAAA,kCAAA,EACU,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,IAEtD;AAED,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC,CAAA,UAAA,CAAA,EAAA,WAAA,EAAA,iBAAA,EAAA,WAAA,EAAA,aAAA,EAAA,CAAA,CAAA,CAAA,UAAA,EAC/C,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAA,CAAA,CACtC;AAEK,SAAU,UAAU,CAAC,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAmB,EAAA;AACrE,IAAA,QACEA,cAAA,CAAA,aAAA,CAAC,SAAS,EAAA,EAAA,GAAK,UAAU,EAAA;QACvBA,cAAA,CAAA,aAAA,CAAC,UAAU,EAAA,EAAC,OAAO,EAAC,UAAU,IAAE,QAAQ,CAAc,CAC5C;AAEhB;AAEA,UAAU,CAAC,SAAS,GAAG,SAAS;;;;"}
1
+ {"version":3,"file":"InputAffix.js","sources":["../../../src/components/InputAffix/InputAffix.tsx"],"sourcesContent":["import React from 'react';\nimport styled from 'styled-components';\nimport { inputFullStyles } from '../../utils/forms/inputStyles';\nimport { theme } from '../../theme';\nimport { Text } from '../Text';\nimport { FormComponentProps } from '../types';\n\nexport type InputAffixProps = React.HTMLAttributes<HTMLDivElement> & FormComponentProps;\n\nconst Container = styled.div<InputAffixProps>`\n user-select: none;\n flex-shrink: 0;\n\n ${inputFullStyles}\n\n [data-input-group]:has(:disabled) & {\n background-color: ${theme.colors.neutral.grey.light};\n }\n`;\n\nconst StyledHint = styled(Text).attrs({ variant: 'hintText' })`\n font-size: ${theme.text.body.fontSize};\n`;\n\nexport function InputAffix({ children, ...otherProps }: InputAffixProps) {\n return (\n <Container {...otherProps}>\n <StyledHint variant=\"hintText\">{children}</StyledHint>\n </Container>\n );\n}\n\nInputAffix.Container = Container;\n"],"names":["React"],"mappings":";;;;;;AASA,MAAM,SAAS,GAAG,MAAM,CAAC,GAAG,CAAA,UAAA,CAAA,EAAA,WAAA,EAAA,gBAAA,EAAA,WAAA,EAAA,aAAA,EAAA,CAAA,CAAA,CAAA,+BAAA,EAIxB,eAAe,CAAA,qDAAA,EAGK,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,IAEtD;AAED,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC,CAAA,UAAA,CAAA,EAAA,WAAA,EAAA,iBAAA,EAAA,WAAA,EAAA,aAAA,EAAA,CAAA,CAAA,CAAA,UAAA,EAC/C,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAA,CAAA,CACtC;AAEK,SAAU,UAAU,CAAC,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAmB,EAAA;AACrE,IAAA,QACEA,cAAA,CAAA,aAAA,CAAC,SAAS,EAAA,EAAA,GAAK,UAAU,EAAA;QACvBA,cAAA,CAAA,aAAA,CAAC,UAAU,EAAA,EAAC,OAAO,EAAC,UAAU,IAAE,QAAQ,CAAc,CAC5C;AAEhB;AAEA,UAAU,CAAC,SAAS,GAAG,SAAS;;;;"}
@@ -0,0 +1,21 @@
1
+ 'use strict';
2
+
3
+ var React = require('react');
4
+ var buildClassnames = require('../../utils/buildClassnames.cjs');
5
+ require('uid/secure');
6
+ var InputGroup_module = require('./InputGroup.module.scss.cjs');
7
+
8
+ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
9
+
10
+ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
11
+
12
+ const InputGroup = React__default.default.forwardRef(({ hasError, disabled, compact, className, children, ...rest }, ref) => (React__default.default.createElement("div", { className: buildClassnames.buildClassnames([
13
+ InputGroup_module.base,
14
+ hasError ? InputGroup_module.error : undefined,
15
+ compact ? InputGroup_module.compact : undefined,
16
+ className,
17
+ ]), ...rest, "data-input-group": true, ref: ref }, children)));
18
+ InputGroup.displayName = 'InputGroup';
19
+
20
+ exports.InputGroup = InputGroup;
21
+ //# sourceMappingURL=InputGroup.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InputGroup.cjs","sources":["../../../src/components/InputGroup/InputGroup.tsx"],"sourcesContent":["import React from 'react';\nimport { buildClassnames } from '../../utils';\nimport styles from './InputGroup.module.scss';\nimport { InputGroupProps } from './types';\n\nexport const InputGroup = React.forwardRef<HTMLDivElement, InputGroupProps>(\n ({ hasError, disabled, compact, className, children, ...rest }, ref) => (\n <div\n className={buildClassnames([\n styles.base,\n hasError ? styles.error : undefined,\n compact ? styles.compact : undefined,\n className,\n ])}\n {...rest}\n data-input-group\n ref={ref}\n >\n {children}\n </div>\n ),\n);\n\nInputGroup.displayName = 'InputGroup';\n"],"names":["React","buildClassnames","styles"],"mappings":";;;;;;;;;;;AAKO,MAAM,UAAU,GAAGA,sBAAK,CAAC,UAAU,CACxC,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,GAAG,MACjEA,sBAAA,CAAA,aAAA,CAAA,KAAA,EAAA,EACE,SAAS,EAAEC,+BAAe,CAAC;AACzB,QAAAC,iBAAM,CAAC,IAAI;QACX,QAAQ,GAAGA,iBAAM,CAAC,KAAK,GAAG,SAAS;QACnC,OAAO,GAAGA,iBAAM,CAAC,OAAO,GAAG,SAAS;QACpC,SAAS;KACV,CAAC,EAAA,GACE,IAAI,EAAA,kBAAA,EAAA,IAAA,EAER,GAAG,EAAE,GAAG,EAAA,EAEP,QAAQ,CACL,CACP;AAGH,UAAU,CAAC,WAAW,GAAG,YAAY;;;;"}
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const InputGroup: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & import("../types").FormComponentProps & React.RefAttributes<HTMLDivElement>>;
@@ -0,0 +1,15 @@
1
+ import React__default from 'react';
2
+ import { buildClassnames } from '../../utils/buildClassnames.js';
3
+ import 'uid/secure';
4
+ import styles from './InputGroup.module.scss.js';
5
+
6
+ const InputGroup = React__default.forwardRef(({ hasError, disabled, compact, className, children, ...rest }, ref) => (React__default.createElement("div", { className: buildClassnames([
7
+ styles.base,
8
+ hasError ? styles.error : undefined,
9
+ compact ? styles.compact : undefined,
10
+ className,
11
+ ]), ...rest, "data-input-group": true, ref: ref }, children)));
12
+ InputGroup.displayName = 'InputGroup';
13
+
14
+ export { InputGroup };
15
+ //# sourceMappingURL=InputGroup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InputGroup.js","sources":["../../../src/components/InputGroup/InputGroup.tsx"],"sourcesContent":["import React from 'react';\nimport { buildClassnames } from '../../utils';\nimport styles from './InputGroup.module.scss';\nimport { InputGroupProps } from './types';\n\nexport const InputGroup = React.forwardRef<HTMLDivElement, InputGroupProps>(\n ({ hasError, disabled, compact, className, children, ...rest }, ref) => (\n <div\n className={buildClassnames([\n styles.base,\n hasError ? styles.error : undefined,\n compact ? styles.compact : undefined,\n className,\n ])}\n {...rest}\n data-input-group\n ref={ref}\n >\n {children}\n </div>\n ),\n);\n\nInputGroup.displayName = 'InputGroup';\n"],"names":["React"],"mappings":";;;;;AAKO,MAAM,UAAU,GAAGA,cAAK,CAAC,UAAU,CACxC,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,GAAG,MACjEA,cAAA,CAAA,aAAA,CAAA,KAAA,EAAA,EACE,SAAS,EAAE,eAAe,CAAC;AACzB,QAAA,MAAM,CAAC,IAAI;QACX,QAAQ,GAAG,MAAM,CAAC,KAAK,GAAG,SAAS;QACnC,OAAO,GAAG,MAAM,CAAC,OAAO,GAAG,SAAS;QACpC,SAAS;KACV,CAAC,EAAA,GACE,IAAI,EAAA,kBAAA,EAAA,IAAA,EAER,GAAG,EAAE,GAAG,EAAA,EAEP,QAAQ,CACL,CACP;AAGH,UAAU,CAAC,WAAW,GAAG,YAAY;;;;"}
@@ -0,0 +1,9 @@
1
+ 'use strict';
2
+
3
+ var ___$insertStyle = require('../../_virtual/____insertStyle.cjs');
4
+
5
+ ___$insertStyle("._base_1wk6x_1 {\n --padding: var(--sizes-3);\n --padding-right: var(--padding);\n --outline-size: var(--sizes-xs);\n --border-color: var(--colors-neutral-ink-lightest);\n --shadow-color: var(--colors-secondary-blue-light);\n display: flex;\n /* Remove inline margins and shadows from all children.\n !important needed because SC-based children (e.g. Button) inject\n their box-shadow dynamically after CSS Module static styles. */\n /* Bring in-focus and active children to the front to maintain outlines */\n /* Remove inline borders for children in the middle */\n /* Remove right border radius from first child */\n /* Remove left border radius from last child */\n}\n._base_1wk6x_1 > * {\n margin-left: 0;\n margin-right: 0;\n box-shadow: none !important;\n}\n._base_1wk6x_1 > *:focus, ._base_1wk6x_1 > *:active {\n z-index: 5;\n}\n._base_1wk6x_1 > *:not(:first-child):not(:last-child) {\n border-radius: 0 !important;\n border-inline: 0 !important;\n}\n._base_1wk6x_1 > *:first-child {\n border-top-right-radius: 0 !important;\n border-bottom-right-radius: 0 !important;\n border-right: 0 !important;\n}\n._base_1wk6x_1 > *:last-child {\n border-top-left-radius: 0 !important;\n border-bottom-left-radius: 0 !important;\n border-left: 0 !important;\n}\n\n._error_1wk6x_39 {\n --border-color: var(--colors-secondary-red-base);\n --shadow-color: var(--colors-secondary-red-light);\n}\n\n._compact_1wk6x_44 {\n --outline-size: 2px;\n}");
6
+ var styles = {"base":"_base_1wk6x_1","error":"_error_1wk6x_39","compact":"_compact_1wk6x_44"};
7
+
8
+ module.exports = styles;
9
+ //# sourceMappingURL=InputGroup.module.scss.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InputGroup.module.scss.cjs","sources":["../../../src/components/InputGroup/InputGroup.module.scss"],"sourcesContent":[".base {\n --padding: var(--sizes-3);\n --padding-right: var(--padding);\n --outline-size: var(--sizes-xs);\n --border-color: var(--colors-neutral-ink-lightest);\n --shadow-color: var(--colors-secondary-blue-light);\n\n display: flex;\n\n /* Remove inline margins and shadows from all children.\n !important needed because SC-based children (e.g. Button) inject\n their box-shadow dynamically after CSS Module static styles. */\n & > * {\n margin-left: 0;\n margin-right: 0;\n box-shadow: none !important;\n }\n\n /* Bring in-focus and active children to the front to maintain outlines */\n & > *:focus,\n & > *:active {\n z-index: 5;\n }\n\n /* Remove inline borders for children in the middle */\n & > *:not(:first-child):not(:last-child) {\n border-radius: 0 !important;\n border-inline: 0 !important;\n }\n\n /* Remove right border radius from first child */\n & > *:first-child {\n border-top-right-radius: 0 !important;\n border-bottom-right-radius: 0 !important;\n border-right: 0 !important;\n }\n\n /* Remove left border radius from last child */\n & > *:last-child {\n border-top-left-radius: 0 !important;\n border-bottom-left-radius: 0 !important;\n border-left: 0 !important;\n }\n}\n\n.error {\n --border-color: var(--colors-secondary-red-base);\n --shadow-color: var(--colors-secondary-red-light);\n}\n\n.compact {\n --outline-size: 2px;\n}\n"],"names":[],"mappings":";;;;AACE,eAAA,CAAA,i8CAAA;AACA,aAAA,CAAA,MAAA,CAAA,eAAA,CAAA,OAAA,CAAA,iBAAA,CAAA,SAAA,CAAA,mBAAA;;;;"}
@@ -0,0 +1,7 @@
1
+ import insertStyle from '../../_virtual/____insertStyle.js';
2
+
3
+ insertStyle("._base_1wk6x_1 {\n --padding: var(--sizes-3);\n --padding-right: var(--padding);\n --outline-size: var(--sizes-xs);\n --border-color: var(--colors-neutral-ink-lightest);\n --shadow-color: var(--colors-secondary-blue-light);\n display: flex;\n /* Remove inline margins and shadows from all children.\n !important needed because SC-based children (e.g. Button) inject\n their box-shadow dynamically after CSS Module static styles. */\n /* Bring in-focus and active children to the front to maintain outlines */\n /* Remove inline borders for children in the middle */\n /* Remove right border radius from first child */\n /* Remove left border radius from last child */\n}\n._base_1wk6x_1 > * {\n margin-left: 0;\n margin-right: 0;\n box-shadow: none !important;\n}\n._base_1wk6x_1 > *:focus, ._base_1wk6x_1 > *:active {\n z-index: 5;\n}\n._base_1wk6x_1 > *:not(:first-child):not(:last-child) {\n border-radius: 0 !important;\n border-inline: 0 !important;\n}\n._base_1wk6x_1 > *:first-child {\n border-top-right-radius: 0 !important;\n border-bottom-right-radius: 0 !important;\n border-right: 0 !important;\n}\n._base_1wk6x_1 > *:last-child {\n border-top-left-radius: 0 !important;\n border-bottom-left-radius: 0 !important;\n border-left: 0 !important;\n}\n\n._error_1wk6x_39 {\n --border-color: var(--colors-secondary-red-base);\n --shadow-color: var(--colors-secondary-red-light);\n}\n\n._compact_1wk6x_44 {\n --outline-size: 2px;\n}");
4
+ var styles = {"base":"_base_1wk6x_1","error":"_error_1wk6x_39","compact":"_compact_1wk6x_44"};
5
+
6
+ export { styles as default };
7
+ //# sourceMappingURL=InputGroup.module.scss.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InputGroup.module.scss.js","sources":["../../../src/components/InputGroup/InputGroup.module.scss"],"sourcesContent":[".base {\n --padding: var(--sizes-3);\n --padding-right: var(--padding);\n --outline-size: var(--sizes-xs);\n --border-color: var(--colors-neutral-ink-lightest);\n --shadow-color: var(--colors-secondary-blue-light);\n\n display: flex;\n\n /* Remove inline margins and shadows from all children.\n !important needed because SC-based children (e.g. Button) inject\n their box-shadow dynamically after CSS Module static styles. */\n & > * {\n margin-left: 0;\n margin-right: 0;\n box-shadow: none !important;\n }\n\n /* Bring in-focus and active children to the front to maintain outlines */\n & > *:focus,\n & > *:active {\n z-index: 5;\n }\n\n /* Remove inline borders for children in the middle */\n & > *:not(:first-child):not(:last-child) {\n border-radius: 0 !important;\n border-inline: 0 !important;\n }\n\n /* Remove right border radius from first child */\n & > *:first-child {\n border-top-right-radius: 0 !important;\n border-bottom-right-radius: 0 !important;\n border-right: 0 !important;\n }\n\n /* Remove left border radius from last child */\n & > *:last-child {\n border-top-left-radius: 0 !important;\n border-bottom-left-radius: 0 !important;\n border-left: 0 !important;\n }\n}\n\n.error {\n --border-color: var(--colors-secondary-red-base);\n --shadow-color: var(--colors-secondary-red-light);\n}\n\n.compact {\n --outline-size: 2px;\n}\n"],"names":["___$insertStyle"],"mappings":";;AACEA,WAAA,CAAA,i8CAAA;AACA,aAAA,CAAA,MAAA,CAAA,eAAA,CAAA,OAAA,CAAA,iBAAA,CAAA,SAAA,CAAA,mBAAA;;;;"}
@@ -1,4 +1,2 @@
1
- /// <reference types="react" />
2
- import { FormComponentProps } from '../types';
3
- export type InputGroupProps = React.HTMLAttributes<HTMLDivElement> & FormComponentProps;
4
- export declare const InputGroup: import("styled-components").StyledComponent<"div", any, import("react").HTMLAttributes<HTMLDivElement> & FormComponentProps, never>;
1
+ export { InputGroup } from './InputGroup';
2
+ export type { InputGroupProps } from './types';
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { FormComponentProps } from '../types';
3
+ export type InputGroupProps = React.HTMLAttributes<HTMLDivElement> & FormComponentProps;