@vincentgraul/react-components 1.0.29 → 1.0.30

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.
@@ -24,7 +24,7 @@ export default function CountrySelector(props) {
24
24
  const Flag = yield fetchIcon(language);
25
25
  return {
26
26
  value: language,
27
- label: _jsx(Flag, { className: "country-selector-img", style: Object.assign({}, FlagStyle) }),
27
+ label: _jsx(Flag, { className: "country-selector-flag", style: Object.assign({}, FlagStyle) }),
28
28
  };
29
29
  }))));
30
30
  });
@@ -1 +1 @@
1
- {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../src/select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAA+B,MAAM,OAAO,CAAC;AAKtE,UAAU,MAAM;IACd,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;AAEjD,UAAU,KAAK;IACb,OAAO,EAAE,eAAe,EAAE,CAAC;IAC3B,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,KAAK,EAAE,KAAK,2CAiE1C;AAoCD,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmBX,CAAC"}
1
+ {"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../src/select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAA+B,MAAM,OAAO,CAAC;AAKtE,UAAU,MAAM;IACd,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;AAEjD,UAAU,KAAK;IACb,OAAO,EAAE,eAAe,EAAE,CAAC;IAC3B,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,KAAK,EAAE,KAAK,2CA0E1C;AAoCD,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmBX,CAAC"}
@@ -37,9 +37,9 @@ export default function Select(props) {
37
37
  if (!options || !selectedOption) {
38
38
  return null;
39
39
  }
40
- return (_jsxs(Container, { className: `select ${className}`, ref: ref, children: [_jsxs(SelectedOptionContainer, { onClick: handleSelectedOptionClick, children: [_jsx(SelectedOptionText, { children: selectedOption.label }), _jsx(SelectedOptionArrow, {})] }), isListVisible && (_jsx(OptionsList, { className: "select-options", children: options
40
+ return (_jsxs(Container, { className: `select ${className}`, ref: ref, children: [_jsxs(SelectedOptionContainer, { className: "select-selected-option", onClick: handleSelectedOptionClick, children: [_jsx(SelectedOptionText, { className: "select-selected-option-text", children: selectedOption.label }), _jsx(SelectedOptionArrow, { className: "select-arrow" })] }), isListVisible && (_jsx(OptionsList, { className: "select-options", children: options
41
41
  .filter((option) => option.id !== selectedOption.id)
42
- .map((option) => (_jsx(Option, { onClick: () => handleOptionClick(option), children: option.label }, option.id))) }))] }));
42
+ .map((option) => (_jsx(Option, { className: "select-option", onClick: () => handleOptionClick(option), children: option.label }, option.id))) }))] }));
43
43
  }
44
44
  const Container = styled.div `
45
45
  width: fit-content;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vincentgraul/react-components",
3
- "version": "1.0.29",
3
+ "version": "1.0.30",
4
4
  "exports": {
5
5
  "./match-device": {
6
6
  "import": "./build/match-device/useMatchDevice.js"