@bigbinary/neetoui 8.3.44 → 8.3.45

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 (56) hide show
  1. package/dist/ColorPicker.js +49 -40
  2. package/dist/ColorPicker.js.map +1 -1
  3. package/dist/DatePicker.js +2 -2
  4. package/dist/Table.js +1 -1
  5. package/dist/TimePicker.js +2 -2
  6. package/dist/TranslationProvider.js +60 -24
  7. package/dist/TranslationProvider.js.map +1 -1
  8. package/dist/cjs/ColorPicker.js +49 -40
  9. package/dist/cjs/ColorPicker.js.map +1 -1
  10. package/dist/cjs/DatePicker.js +2 -2
  11. package/dist/cjs/Table.js +1 -1
  12. package/dist/cjs/TimePicker.js +2 -2
  13. package/dist/cjs/TranslationProvider.js +60 -24
  14. package/dist/cjs/TranslationProvider.js.map +1 -1
  15. package/dist/cjs/{index-i_QMY9OC.js → index-DruCXsxo.js} +2 -2
  16. package/dist/cjs/{index-i_QMY9OC.js.map → index-DruCXsxo.js.map} +1 -1
  17. package/dist/cjs/index.js +2 -2
  18. package/dist/{index-cQSKx75O.js → index-BRcfDAre.js} +2 -2
  19. package/dist/{index-cQSKx75O.js.map → index-BRcfDAre.js.map} +1 -1
  20. package/dist/index.js +2 -2
  21. package/dist/src/translations/ar.json +10 -4
  22. package/dist/src/translations/bg.json +10 -4
  23. package/dist/src/translations/ca.json +10 -4
  24. package/dist/src/translations/cs.json +10 -4
  25. package/dist/src/translations/da.json +10 -4
  26. package/dist/src/translations/de.json +10 -4
  27. package/dist/src/translations/es-MX.json +10 -4
  28. package/dist/src/translations/es.json +10 -4
  29. package/dist/src/translations/et.json +10 -4
  30. package/dist/src/translations/fi.json +10 -4
  31. package/dist/src/translations/fil.json +10 -4
  32. package/dist/src/translations/fr.json +10 -4
  33. package/dist/src/translations/he.json +50 -0
  34. package/dist/src/translations/hi.json +10 -4
  35. package/dist/src/translations/hr.json +10 -4
  36. package/dist/src/translations/id.json +10 -4
  37. package/dist/src/translations/it.json +10 -4
  38. package/dist/src/translations/ja.json +10 -4
  39. package/dist/src/translations/ko.json +10 -4
  40. package/dist/src/translations/nl.json +10 -4
  41. package/dist/src/translations/pl.json +10 -4
  42. package/dist/src/translations/pt-BR.json +10 -4
  43. package/dist/src/translations/pt.json +10 -4
  44. package/dist/src/translations/ro.json +10 -4
  45. package/dist/src/translations/ru.json +10 -4
  46. package/dist/src/translations/sk.json +10 -4
  47. package/dist/src/translations/sl.json +10 -4
  48. package/dist/src/translations/sv.json +10 -4
  49. package/dist/src/translations/th.json +10 -4
  50. package/dist/src/translations/tr.json +10 -4
  51. package/dist/src/translations/uk.json +10 -4
  52. package/dist/src/translations/vi.json +10 -4
  53. package/dist/src/translations/zh-CN.json +10 -4
  54. package/dist/src/translations/zh-TW.json +10 -4
  55. package/package.json +1 -1
  56. package/types/ColorPicker.d.ts +1 -0
@@ -7,7 +7,6 @@ var _slicedToArray = require('@babel/runtime/helpers/slicedToArray');
7
7
  var _regeneratorRuntime = require('@babel/runtime/regenerator');
8
8
  var React = require('react');
9
9
  var classnames = require('classnames');
10
- var Down = require('@bigbinary/neeto-icons/Down');
11
10
  var ColorPickerIcon = require('@bigbinary/neeto-icons/ColorPicker');
12
11
  var reactColorful = require('react-colorful');
13
12
  var reactI18next = require('react-i18next');
@@ -17,6 +16,7 @@ var Dropdown = require('./Dropdown.js');
17
16
  var Typography = require('./Typography.js');
18
17
  var index = require('./index-BlcVTw2b.js');
19
18
  var jsxRuntime = require('react/jsx-runtime');
19
+ var Down = require('@bigbinary/neeto-icons/Down');
20
20
  require('@babel/runtime/helpers/objectWithoutProperties');
21
21
  require('react-router-dom');
22
22
  require('./Spinner.js');
@@ -68,6 +68,11 @@ var DEFAULT_PALETTE_COLORS = [{
68
68
  }, {
69
69
  hex: "#095482"
70
70
  }];
71
+ var TARGET_SIZES = {
72
+ large: "large",
73
+ medium: "medium",
74
+ small: "small"
75
+ };
71
76
 
72
77
  var Palette = function Palette(_ref) {
73
78
  var color = _ref.color,
@@ -105,13 +110,42 @@ var Palette = function Palette(_ref) {
105
110
  });
106
111
  };
107
112
 
113
+ var Target = function Target(_ref) {
114
+ var size = _ref.size,
115
+ showHexValue = _ref.showHexValue,
116
+ color = _ref.color,
117
+ colorValue = _ref.colorValue;
118
+ return /*#__PURE__*/jsxRuntime.jsxs("button", {
119
+ "data-cy": "color-picker-target",
120
+ "data-testid": "neeto-color-picker",
121
+ type: "button",
122
+ className: classnames("neeto-ui-colorpicker__target", {
123
+ "neeto-ui-colorpicker__target-size--large": size === TARGET_SIZES.large,
124
+ "neeto-ui-colorpicker__target-size--medium": size === TARGET_SIZES.medium,
125
+ "neeto-ui-colorpicker__target-size--small": size === TARGET_SIZES.small
126
+ }),
127
+ children: [showHexValue && /*#__PURE__*/jsxRuntime.jsx("span", {
128
+ className: "neeto-ui-colorpicker-target__code",
129
+ children: color
130
+ }), /*#__PURE__*/jsxRuntime.jsxs("span", {
131
+ className: "neeto-ui-colorpicker-target__color-wrapper",
132
+ children: [/*#__PURE__*/jsxRuntime.jsx("span", {
133
+ className: "neeto-ui-colorpicker-target__color neeto-ui-border-gray-200",
134
+ style: {
135
+ backgroundColor: colorValue
136
+ }
137
+ }), /*#__PURE__*/jsxRuntime.jsx("span", {
138
+ className: "neeto-ui-colorpicker-target__icon",
139
+ children: /*#__PURE__*/jsxRuntime.jsx(Down, {
140
+ size: 16
141
+ })
142
+ })]
143
+ })]
144
+ });
145
+ };
146
+
108
147
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
109
148
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
110
- var TARGET_SIZES = {
111
- large: "large",
112
- medium: "medium",
113
- small: "small"
114
- };
115
149
  var ColorPicker = function ColorPicker(_ref) {
116
150
  var _ref2;
117
151
  var _ref$color = _ref.color,
@@ -129,6 +163,8 @@ var ColorPicker = function ColorPicker(_ref) {
129
163
  showTransparencyControl = _ref$showTransparency === void 0 ? false : _ref$showTransparency,
130
164
  _ref$showPicker = _ref.showPicker,
131
165
  showPicker = _ref$showPicker === void 0 ? true : _ref$showPicker,
166
+ _ref$showHexPicker = _ref.showHexPicker,
167
+ showHexPicker = _ref$showHexPicker === void 0 ? true : _ref$showHexPicker,
132
168
  portalProps = _ref.portalProps,
133
169
  colorPalette = _ref.colorPalette,
134
170
  _ref$showRecentlyUsed = _ref.showRecentlyUsedColors,
@@ -229,52 +265,25 @@ var ColorPicker = function ColorPicker(_ref) {
229
265
  setRecentlyUsedColors(updatedColors);
230
266
  setIsColorSelected(false);
231
267
  };
232
- var Target = function Target(_ref5) {
233
- var size = _ref5.size;
234
- return /*#__PURE__*/jsxRuntime.jsxs("button", {
235
- "data-cy": "color-picker-target",
236
- "data-testid": "neeto-color-picker",
237
- type: "button",
238
- className: classnames("neeto-ui-colorpicker__target", {
239
- "neeto-ui-colorpicker__target-size--large": size === TARGET_SIZES.large,
240
- "neeto-ui-colorpicker__target-size--medium": size === TARGET_SIZES.medium,
241
- "neeto-ui-colorpicker__target-size--small": size === TARGET_SIZES.small
242
- }),
243
- children: [showHexValue && /*#__PURE__*/jsxRuntime.jsx("span", {
244
- className: "neeto-ui-colorpicker-target__code",
245
- children: color
246
- }), /*#__PURE__*/jsxRuntime.jsxs("span", {
247
- className: "neeto-ui-colorpicker-target__color-wrapper",
248
- children: [/*#__PURE__*/jsxRuntime.jsx("span", {
249
- className: "neeto-ui-colorpicker-target__color neeto-ui-border-gray-200",
250
- style: {
251
- backgroundColor: colorValue
252
- }
253
- }), /*#__PURE__*/jsxRuntime.jsx("span", {
254
- className: "neeto-ui-colorpicker-target__icon",
255
- children: /*#__PURE__*/jsxRuntime.jsx(Down, {
256
- size: 16
257
- })
258
- })]
259
- })]
260
- });
261
- };
262
268
  return /*#__PURE__*/jsxRuntime.jsx(Dropdown, _objectSpread(_objectSpread({
263
269
  className: "neeto-ui-colorpicker__dropdown",
264
270
  closeOnSelect: false,
265
- customTarget: /*#__PURE__*/jsxRuntime.jsx(Target, {
266
- size: size
267
- }),
268
271
  label: colorValue,
269
272
  position: "bottom-start"
270
273
  }, _objectSpread(_objectSpread({}, dropdownProps), {}, {
271
274
  onClose: onClose
272
275
  })), {}, {
276
+ customTarget: /*#__PURE__*/jsxRuntime.jsx(Target, {
277
+ color: color,
278
+ colorValue: colorValue,
279
+ showHexValue: showHexValue,
280
+ size: size
281
+ }),
273
282
  dropdownProps: _objectSpread(_objectSpread({}, dropdownProps === null || dropdownProps === void 0 ? void 0 : dropdownProps.dropdownProps), portalProps),
274
283
  children: /*#__PURE__*/jsxRuntime.jsxs("div", {
275
284
  className: "neeto-ui-colorpicker__popover",
276
285
  children: [showPicker && /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
277
- children: [/*#__PURE__*/jsxRuntime.jsx("div", {
286
+ children: [showHexPicker && /*#__PURE__*/jsxRuntime.jsx("div", {
278
287
  className: "neeto-ui-colorpicker__pointer",
279
288
  "data-testid": "neeto-color-picker-section",
280
289
  children: /*#__PURE__*/jsxRuntime.jsx(PickerComponent, {
@@ -1 +1 @@
1
- {"version":3,"file":"ColorPicker.js","sources":["../../node_modules/use-eye-dropper/lib/use-eye-dropper.module.js","../../node_modules/use-eye-dropper/lib/index.module.js","../../src/components/ColorPicker/constants.js","../../src/components/ColorPicker/Palette.jsx","../../src/components/ColorPicker/index.jsx"],"sourcesContent":["import{useMemo as r,useRef as o,useCallback as n,useEffect as t,useState as e}from\"react\";const i=()=>\"undefined\"!=typeof window&&\"EyeDropper\"in window,s=()=>{throw new Error(\"Unsupported browser.\")},a=a=>{const c=r(()=>{var r;return(r=i()&&new EyeDropper(a))?EyeDropper.prototype.open.bind(r):s},[a]),[p,w]=(()=>{const r=o(),[s,a]=e(!1);t(()=>(r.current=!0,a(i()),()=>{r.current=!1}),[]);const c=n(()=>s,[s]);return[r,c]})(),f=o(),u=n(()=>{void 0!==f.current&&f.current.abort()},[f]),d=n(async function(r){void 0===r&&(r={}),u();const{signal:o,...n}=r,t=new AbortController;f.current=t;const e=void 0!==o?(r=>{if(\"any\"in AbortSignal)return AbortSignal.any(r);const o=new AbortController,n=()=>{o.abort();for(const o of r)o.removeEventListener(\"abort\",n)};for(const o of r){if(o.aborted){n();break}o.addEventListener(\"abort\",n)}return o.signal})([o,t.signal]):t.signal;try{return await c({...n,signal:e})}catch(r){throw p.current||(r.canceled=!0),r}},[f,p,u,c]);return t(()=>u,[u]),{open:d,close:u,isSupported:w}};export{a as default};\n","import { default as DropperDev } from './use-eye-dropper.module.dev.js'\nimport { default as Dropper } from './use-eye-dropper.module.js'\n\nexport default process.env.NODE_ENV === 'production' ? Dropper : DropperDev\n","export const DEFAULT_PALETTE_COLORS = [\n { hex: \"#FFFFFF\" },\n { hex: \"#D6D6D6\" },\n { hex: \"#0A0E13\" },\n { hex: \"#FECE1E\" },\n { hex: \"#F32E48\" },\n { hex: \"#02C39A\" },\n { hex: \"#2A79C4\" },\n { hex: \"#B3E5FC\" },\n { hex: \"#C3C6F9\" },\n { hex: \"#8064CE\" },\n { hex: \"#FE861E\" },\n { hex: \"#FF7DC9\" },\n { hex: \"#028090\" },\n { hex: \"#095482\" },\n];\n","import React from \"react\";\n\nimport classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport tinycolor from \"tinycolor2\";\n\nimport { DEFAULT_PALETTE_COLORS } from \"./constants\";\n\nconst Palette = ({ color, colorList = DEFAULT_PALETTE_COLORS, onChange }) => (\n <div className=\"neeto-ui-flex neeto-ui-flex-row neeto-ui-flex-wrap neeto-ui-items-start neeto-ui-justify-start neeto-ui-color-palette neeto-ui-gap-1\">\n {colorList.map(item => {\n const { hex, rgb } = item;\n const colorObject = tinycolor(hex ?? rgb);\n const isTransparent = colorObject.getAlpha() === 0;\n const isActive = Boolean(\n // hex is case insensitive.\n color?.toLocaleLowerCase() === hex?.toLocaleLowerCase() || color === rgb\n );\n\n return (\n <div\n data-testid=\"color-palette-item\"\n key={hex ?? rgb}\n className={classnames(\n \"neeto-ui-color-palette__item neeto-ui-border\",\n { active: isActive }\n )}\n onClick={() => onChange(hex ?? rgb)}\n >\n <div\n style={{ backgroundColor: hex ?? rgb }}\n className={classnames({\n \"transparent-bg-pattern\": isTransparent,\n })}\n />\n </div>\n );\n })}\n </div>\n);\n\nPalette.propTypes = {\n color: PropTypes.string,\n colorList: PropTypes.arrayOf(\n PropTypes.shape({\n hex: PropTypes.string,\n rgb: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.shape({\n r: PropTypes.number,\n g: PropTypes.number,\n b: PropTypes.number,\n }),\n ]),\n })\n ),\n onChange: PropTypes.func,\n};\n\nexport default Palette;\n","import React, { useState, useRef } from \"react\";\n\nimport classnames from \"classnames\";\nimport { Down, ColorPicker as ColorPickerIcon } from \"neetoicons\";\nimport PropTypes from \"prop-types\";\nimport {\n HexColorPicker,\n HexColorInput,\n HexAlphaColorPicker,\n} from \"react-colorful\";\nimport { useTranslation } from \"react-i18next\";\nimport tinycolor from \"tinycolor2\";\nimport useEyeDropper from \"use-eye-dropper\";\n\nimport Button from \"components/Button\";\nimport Dropdown from \"components/Dropdown\";\nimport Typography from \"components/Typography\";\nimport { getLocale, noop } from \"utils\";\n\nimport useRecentlyUsedColors from \"./hooks/useRecentlyUsedColors\";\nimport Palette from \"./Palette\";\n\nconst TARGET_SIZES = {\n large: \"large\",\n medium: \"medium\",\n small: \"small\",\n};\n\nconst ColorPicker = ({\n color = \"\",\n size = TARGET_SIZES.large,\n onChange = noop,\n dropdownProps,\n showEyeDropper = true,\n showHexValue = false,\n showTransparencyControl = false,\n showPicker = true,\n portalProps,\n colorPalette,\n showRecentlyUsedColors = showPicker,\n}) => {\n const { t, i18n } = useTranslation();\n const [colorInternal, setColorInternal] = useState(color);\n const [isColorSelected, setIsColorSelected] = useState(false);\n const hexColorInputValue = useRef(\"\");\n const { open, isSupported } = useEyeDropper({ pickRadius: 3 });\n const [recentlyUsedColors, setRecentlyUsedColors] = useRecentlyUsedColors();\n\n const PickerComponent = showTransparencyControl\n ? HexAlphaColorPicker\n : HexColorPicker;\n\n const colorValue = color ?? colorInternal ?? \"\";\n\n const getColor = colorValue => {\n const color = tinycolor(colorValue);\n\n if (color.isValid()) {\n let hex = color.toHexString();\n // return `transparent` for transparent colors.\n if (color.getAlpha() === 0) hex = colorValue;\n else if (showTransparencyControl) hex = color.toHex8String();\n\n return { hex, rgb: color.toRgb() };\n }\n\n return { hex: colorValue, rgb: colorValue };\n };\n\n const onColorChange = color => {\n setIsColorSelected(true);\n const changeHandler = onChange ?? setColorInternal;\n\n changeHandler(getColor(color));\n };\n\n const onColorInputChange = hex => {\n // HexColorInput onChange will trigger only if the input value is a valid color\n hexColorInputValue.current = hex;\n if (hex.length !== (showTransparencyControl ? 9 : 7)) return;\n\n onColorChange(hex);\n hexColorInputValue.current = \"\";\n };\n\n const onBlur = () => {\n if (!hexColorInputValue.current) return;\n\n onColorChange(hexColorInputValue.current);\n hexColorInputValue.current = \"\";\n };\n\n const pickColor = async () => {\n try {\n const colorResponse = await open();\n const hex = tinycolor(colorResponse.sRGBHex).toHexString();\n onColorChange(hex);\n } catch {\n // Ensures component is still mounted\n // before calling setState\n // if (!e.canceled) setError(e);\n }\n };\n\n const onClose = () => {\n if (!showRecentlyUsedColors || !isColorSelected) return;\n\n const newColor = getColor(colorValue);\n\n const recentColorsExcludingNew = recentlyUsedColors.filter(\n ({ hex }) => hex !== newColor.hex\n );\n\n const updatedColors = [newColor, ...recentColorsExcludingNew];\n\n if (updatedColors.length > 14) updatedColors.pop();\n\n setRecentlyUsedColors(updatedColors);\n setIsColorSelected(false);\n };\n\n const Target = ({ size }) => (\n <button\n data-cy=\"color-picker-target\"\n data-testid=\"neeto-color-picker\"\n type=\"button\"\n className={classnames(\"neeto-ui-colorpicker__target\", {\n \"neeto-ui-colorpicker__target-size--large\": size === TARGET_SIZES.large,\n \"neeto-ui-colorpicker__target-size--medium\":\n size === TARGET_SIZES.medium,\n \"neeto-ui-colorpicker__target-size--small\": size === TARGET_SIZES.small,\n })}\n >\n {showHexValue && (\n <span className=\"neeto-ui-colorpicker-target__code\">{color}</span>\n )}\n <span className=\"neeto-ui-colorpicker-target__color-wrapper\">\n <span\n className=\"neeto-ui-colorpicker-target__color neeto-ui-border-gray-200\"\n style={{ backgroundColor: colorValue }}\n />\n <span className=\"neeto-ui-colorpicker-target__icon\">\n <Down size={16} />\n </span>\n </span>\n </button>\n );\n\n return (\n <Dropdown\n className=\"neeto-ui-colorpicker__dropdown\"\n closeOnSelect={false}\n customTarget={<Target {...{ size }} />}\n label={colorValue}\n position=\"bottom-start\"\n {...{ ...dropdownProps, onClose }}\n dropdownProps={{ ...dropdownProps?.dropdownProps, ...portalProps }}\n >\n <div className=\"neeto-ui-colorpicker__popover\">\n {showPicker && (\n <>\n <div\n className=\"neeto-ui-colorpicker__pointer\"\n data-testid=\"neeto-color-picker-section\"\n >\n <PickerComponent color={colorValue} onChange={onColorChange} />\n </div>\n <div className=\"neeto-ui-flex neeto-ui-items-center neeto-ui-justify-center neeto-ui-mt-3 neeto-ui-gap-2\">\n {showEyeDropper && isSupported() && (\n <Button\n className=\"neeto-ui-colorpicker__eyedropper-btn\"\n icon={ColorPickerIcon}\n size=\"small\"\n style=\"text\"\n type=\"button\"\n onClick={pickColor}\n />\n )}\n <div className=\"neeto-ui-input__wrapper\">\n <div\n className=\"neeto-ui-colorpicker__input neeto-ui-input neeto-ui-input--small\"\n data-cy=\"colorpicker-editable-input\"\n >\n <HexColorInput\n {...{ onBlur }}\n prefixed\n alpha={!!showTransparencyControl}\n color={colorValue}\n data-cy=\"colorpicker-editable-input-textbox\"\n onChange={onColorInputChange}\n />\n </div>\n </div>\n </div>\n </>\n )}\n <div\n data-testid=\"color-palette\"\n className={classnames(\"neeto-ui-colorpicker__palette-wrapper\", {\n \"neeto-ui-colorpicker__palette-wrapper--hidden-picker\": !showPicker,\n \"neeto-ui-pt-3 neeto-ui-border-t neeto-ui-border-gray-200\":\n showPicker,\n })}\n >\n <Palette\n {...{ color }}\n colorList={colorPalette}\n onChange={onColorChange}\n />\n </div>\n {showRecentlyUsedColors && recentlyUsedColors.length > 0 && (\n <div\n className=\"neeto-ui-colorpicker__palette-wrapper neeto-ui-border-t neeto-ui-border-gray-200 neeto-ui-pt-3\"\n data-testid=\"color-palette-recently-used\"\n >\n <Typography\n className=\"neeto-ui-text-gray-600 mb-2\"\n style=\"body3\"\n weight=\"medium\"\n >\n {getLocale(i18n, t, \"neetoui.colorPicker.recentlyUsed\")}\n </Typography>\n <Palette colorList={recentlyUsedColors} onChange={onColorChange} />\n </div>\n )}\n </div>\n </Dropdown>\n );\n};\n\nColorPicker.propTypes = {\n /**\n * To specify the color value.\n */\n color: PropTypes.string,\n /**\n * <div class=\"neeto-ui-tag neeto-ui-tag--size-small neeto-ui-tag--style-outline neeto-ui-tag--style-success mb-2\">\n * New\n * </div>\n * To set the size of the target.\n */\n size: PropTypes.oneOf(Object.values(TARGET_SIZES)),\n /**\n * To specify the action to be triggered on changing the color.\n */\n onChange: PropTypes.func,\n /**\n * To specify the colors shown in the palette.\n */\n colorPalette: PropTypes.arrayOf(\n PropTypes.shape({ hex: PropTypes.string, rgb: PropTypes.string })\n ),\n /**\n * Shows eye dropper to pick color.\n */\n showEyeDropper: PropTypes.bool,\n /**\n * To show hex value near to the color in the dropdown.\n * By default it will be enabled.\n */\n showHexValue: PropTypes.bool,\n /**\n * To show transparency control. By default it will be hidden.\n */\n showTransparencyControl: PropTypes.bool,\n /**\n * To show the color picker. Used to hide the picker in cases where only palette is required. By default it will be true.\n */\n showPicker: PropTypes.bool,\n /**\n * To specify the props to be passed to the dropdown portal.\n */\n portalProps: PropTypes.object,\n /**\n * To show the recently used colors.\n */\n showRecentlyUsedColors: PropTypes.bool,\n};\n\nexport default ColorPicker;\n"],"names":["r","o","e","t","n","Dropper","DEFAULT_PALETTE_COLORS","hex","Palette","_ref","color","_ref$colorList","colorList","onChange","_jsx","className","children","map","item","rgb","colorObject","tinycolor","isTransparent","getAlpha","isActive","Boolean","toLocaleLowerCase","classnames","active","onClick","style","backgroundColor","TARGET_SIZES","large","medium","small","ColorPicker","_ref2","_ref$color","_ref$size","size","_ref$onChange","noop","dropdownProps","_ref$showEyeDropper","showEyeDropper","_ref$showHexValue","showHexValue","_ref$showTransparency","showTransparencyControl","_ref$showPicker","showPicker","portalProps","colorPalette","_ref$showRecentlyUsed","showRecentlyUsedColors","_useTranslation","useTranslation","i18n","_useState","useState","_useState2","_slicedToArray","colorInternal","setColorInternal","_useState3","_useState4","isColorSelected","setIsColorSelected","hexColorInputValue","useRef","_useEyeDropper","useEyeDropper","pickRadius","open","isSupported","_useRecentlyUsedColor","useRecentlyUsedColors","_useRecentlyUsedColor2","recentlyUsedColors","setRecentlyUsedColors","PickerComponent","HexAlphaColorPicker","HexColorPicker","colorValue","getColor","isValid","toHexString","toHex8String","toRgb","onColorChange","changeHandler","onColorInputChange","current","length","onBlur","pickColor","_ref3","_asyncToGenerator","_regeneratorRuntime","mark","_callee","colorResponse","wrap","_context","prev","next","sent","sRGBHex","_t","stop","apply","arguments","onClose","newColor","recentColorsExcludingNew","filter","_ref4","updatedColors","concat","_toConsumableArray","pop","Target","_ref5","_jsxs","type","Down","Dropdown","_objectSpread","closeOnSelect","customTarget","label","position","_Fragment","Button","icon","ColorPickerIcon","HexColorInput","prefixed","alpha","Typography","weight","getLocale"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAA0F,MAAM,CAAC,CAAC,IAAI,WAAW,EAAE,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AAA,SAAS,EAAEY,UAAU,CAAC,uCAAuC,EAAE;UAC7D,sDAAsD,EAAE,CAACwB,UAAU;AACnE,UAAA,0DAA0D,EACxDA;AACJ,SAAC,CAAE;QAAAnC,QAAA,eAEHF,cAAA,CAACN,OAAO,EAAA;AACAE,UAAAA,KAAK,EAALA,KAAK;AACXE,UAAAA,SAAS,EAAEyC,YAAa;AACxBxC,UAAAA,QAAQ,EAAE6E;SACX;OACE,CAAC,EACLnC,sBAAsB,IAAIwB,kBAAkB,CAACe,MAAM,GAAG,CAAC,iBACtD8B,eAAA,CAAA,KAAA,EAAA;AACE7G,QAAAA,SAAS,EAAC,gGAAgG;AAC1G,QAAA,aAAA,EAAY,6BAA6B;QAAAC,QAAA,EAAA,cAEzCF,cAAA,CAAC8H,UAAU,EAAA;AACT7H,UAAAA,SAAS,EAAC,6BAA6B;AACvCe,UAAAA,KAAK,EAAC,OAAO;AACb+G,UAAAA,MAAM,EAAC,QAAQ;AAAA7H,UAAAA,QAAA,EAEd8H,eAAS,CAACpF,IAAI,EAAEvD,CAAC,EAAE,kCAAkC;AAAC,SAC7C,CAAC,eACbW,cAAA,CAACN,OAAO,EAAA;AAACI,UAAAA,SAAS,EAAEmE,kBAAmB;AAAClE,UAAAA,QAAQ,EAAE6E;AAAc,SAAE,CAAC;AAAA,OAChE,CACN;KACE;AAAC,GAAA,CACE,CAAC;AAEf;;;;","x_google_ignoreList":[0,1]}
1
+ {"version":3,"file":"ColorPicker.js","sources":["../../node_modules/use-eye-dropper/lib/use-eye-dropper.module.js","../../node_modules/use-eye-dropper/lib/index.module.js","../../src/components/ColorPicker/constants.js","../../src/components/ColorPicker/Palette.jsx","../../src/components/ColorPicker/Target.jsx","../../src/components/ColorPicker/index.jsx"],"sourcesContent":["import{useMemo as r,useRef as o,useCallback as n,useEffect as t,useState as e}from\"react\";const i=()=>\"undefined\"!=typeof window&&\"EyeDropper\"in window,s=()=>{throw new Error(\"Unsupported browser.\")},a=a=>{const c=r(()=>{var r;return(r=i()&&new EyeDropper(a))?EyeDropper.prototype.open.bind(r):s},[a]),[p,w]=(()=>{const r=o(),[s,a]=e(!1);t(()=>(r.current=!0,a(i()),()=>{r.current=!1}),[]);const c=n(()=>s,[s]);return[r,c]})(),f=o(),u=n(()=>{void 0!==f.current&&f.current.abort()},[f]),d=n(async function(r){void 0===r&&(r={}),u();const{signal:o,...n}=r,t=new AbortController;f.current=t;const e=void 0!==o?(r=>{if(\"any\"in AbortSignal)return AbortSignal.any(r);const o=new AbortController,n=()=>{o.abort();for(const o of r)o.removeEventListener(\"abort\",n)};for(const o of r){if(o.aborted){n();break}o.addEventListener(\"abort\",n)}return o.signal})([o,t.signal]):t.signal;try{return await c({...n,signal:e})}catch(r){throw p.current||(r.canceled=!0),r}},[f,p,u,c]);return t(()=>u,[u]),{open:d,close:u,isSupported:w}};export{a as default};\n","import { default as DropperDev } from './use-eye-dropper.module.dev.js'\nimport { default as Dropper } from './use-eye-dropper.module.js'\n\nexport default process.env.NODE_ENV === 'production' ? Dropper : DropperDev\n","export const DEFAULT_PALETTE_COLORS = [\n { hex: \"#FFFFFF\" },\n { hex: \"#D6D6D6\" },\n { hex: \"#0A0E13\" },\n { hex: \"#FECE1E\" },\n { hex: \"#F32E48\" },\n { hex: \"#02C39A\" },\n { hex: \"#2A79C4\" },\n { hex: \"#B3E5FC\" },\n { hex: \"#C3C6F9\" },\n { hex: \"#8064CE\" },\n { hex: \"#FE861E\" },\n { hex: \"#FF7DC9\" },\n { hex: \"#028090\" },\n { hex: \"#095482\" },\n];\n\nexport const TARGET_SIZES = {\n large: \"large\",\n medium: \"medium\",\n small: \"small\",\n};\n","import React from \"react\";\n\nimport classnames from \"classnames\";\nimport PropTypes from \"prop-types\";\nimport tinycolor from \"tinycolor2\";\n\nimport { DEFAULT_PALETTE_COLORS } from \"./constants\";\n\nconst Palette = ({ color, colorList = DEFAULT_PALETTE_COLORS, onChange }) => (\n <div className=\"neeto-ui-flex neeto-ui-flex-row neeto-ui-flex-wrap neeto-ui-items-start neeto-ui-justify-start neeto-ui-color-palette neeto-ui-gap-1\">\n {colorList.map(item => {\n const { hex, rgb } = item;\n const colorObject = tinycolor(hex ?? rgb);\n const isTransparent = colorObject.getAlpha() === 0;\n const isActive = Boolean(\n // hex is case insensitive.\n color?.toLocaleLowerCase() === hex?.toLocaleLowerCase() || color === rgb\n );\n\n return (\n <div\n data-testid=\"color-palette-item\"\n key={hex ?? rgb}\n className={classnames(\n \"neeto-ui-color-palette__item neeto-ui-border\",\n { active: isActive }\n )}\n onClick={() => onChange(hex ?? rgb)}\n >\n <div\n style={{ backgroundColor: hex ?? rgb }}\n className={classnames({\n \"transparent-bg-pattern\": isTransparent,\n })}\n />\n </div>\n );\n })}\n </div>\n);\n\nPalette.propTypes = {\n color: PropTypes.string,\n colorList: PropTypes.arrayOf(\n PropTypes.shape({\n hex: PropTypes.string,\n rgb: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.shape({\n r: PropTypes.number,\n g: PropTypes.number,\n b: PropTypes.number,\n }),\n ]),\n })\n ),\n onChange: PropTypes.func,\n};\n\nexport default Palette;\n","import React from \"react\";\n\nimport classnames from \"classnames\";\nimport { Down } from \"neetoicons\";\nimport PropTypes from \"prop-types\";\n\nimport { TARGET_SIZES } from \"./constants\";\n\nconst Target = ({ size, showHexValue, color, colorValue }) => (\n <button\n data-cy=\"color-picker-target\"\n data-testid=\"neeto-color-picker\"\n type=\"button\"\n className={classnames(\"neeto-ui-colorpicker__target\", {\n \"neeto-ui-colorpicker__target-size--large\": size === TARGET_SIZES.large,\n \"neeto-ui-colorpicker__target-size--medium\": size === TARGET_SIZES.medium,\n \"neeto-ui-colorpicker__target-size--small\": size === TARGET_SIZES.small,\n })}\n >\n {showHexValue && (\n <span className=\"neeto-ui-colorpicker-target__code\">{color}</span>\n )}\n <span className=\"neeto-ui-colorpicker-target__color-wrapper\">\n <span\n className=\"neeto-ui-colorpicker-target__color neeto-ui-border-gray-200\"\n style={{ backgroundColor: colorValue }}\n />\n <span className=\"neeto-ui-colorpicker-target__icon\">\n <Down size={16} />\n </span>\n </span>\n </button>\n);\n\nTarget.propTypes = {\n size: PropTypes.oneOf(Object.values(TARGET_SIZES)),\n showHexValue: PropTypes.bool,\n color: PropTypes.string,\n colorValue: PropTypes.string,\n};\n\nexport default Target;\n","import React, { useState, useRef } from \"react\";\n\nimport classnames from \"classnames\";\nimport { ColorPicker as ColorPickerIcon } from \"neetoicons\";\nimport PropTypes from \"prop-types\";\nimport {\n HexColorPicker,\n HexColorInput,\n HexAlphaColorPicker,\n} from \"react-colorful\";\nimport { useTranslation } from \"react-i18next\";\nimport tinycolor from \"tinycolor2\";\nimport useEyeDropper from \"use-eye-dropper\";\n\nimport Button from \"components/Button\";\nimport Dropdown from \"components/Dropdown\";\nimport Typography from \"components/Typography\";\nimport { getLocale, noop } from \"utils\";\n\nimport useRecentlyUsedColors from \"./hooks/useRecentlyUsedColors\";\nimport Palette from \"./Palette\";\nimport Target from \"./Target\";\nimport { TARGET_SIZES } from \"./constants\";\n\nconst ColorPicker = ({\n color = \"\",\n size = TARGET_SIZES.large,\n onChange = noop,\n dropdownProps,\n showEyeDropper = true,\n showHexValue = false,\n showTransparencyControl = false,\n showPicker = true,\n showHexPicker = true,\n portalProps,\n colorPalette,\n showRecentlyUsedColors = showPicker,\n}) => {\n const { t, i18n } = useTranslation();\n const [colorInternal, setColorInternal] = useState(color);\n const [isColorSelected, setIsColorSelected] = useState(false);\n const hexColorInputValue = useRef(\"\");\n const { open, isSupported } = useEyeDropper({ pickRadius: 3 });\n const [recentlyUsedColors, setRecentlyUsedColors] = useRecentlyUsedColors();\n\n const PickerComponent = showTransparencyControl\n ? HexAlphaColorPicker\n : HexColorPicker;\n\n const colorValue = color ?? colorInternal ?? \"\";\n\n const getColor = colorValue => {\n const color = tinycolor(colorValue);\n\n if (color.isValid()) {\n let hex = color.toHexString();\n // return `transparent` for transparent colors.\n if (color.getAlpha() === 0) hex = colorValue;\n else if (showTransparencyControl) hex = color.toHex8String();\n\n return { hex, rgb: color.toRgb() };\n }\n\n return { hex: colorValue, rgb: colorValue };\n };\n\n const onColorChange = color => {\n setIsColorSelected(true);\n const changeHandler = onChange ?? setColorInternal;\n\n changeHandler(getColor(color));\n };\n\n const onColorInputChange = hex => {\n // HexColorInput onChange will trigger only if the input value is a valid color\n hexColorInputValue.current = hex;\n if (hex.length !== (showTransparencyControl ? 9 : 7)) return;\n\n onColorChange(hex);\n hexColorInputValue.current = \"\";\n };\n\n const onBlur = () => {\n if (!hexColorInputValue.current) return;\n\n onColorChange(hexColorInputValue.current);\n hexColorInputValue.current = \"\";\n };\n\n const pickColor = async () => {\n try {\n const colorResponse = await open();\n const hex = tinycolor(colorResponse.sRGBHex).toHexString();\n onColorChange(hex);\n } catch {\n // Ensures component is still mounted\n // before calling setState\n // if (!e.canceled) setError(e);\n }\n };\n\n const onClose = () => {\n if (!showRecentlyUsedColors || !isColorSelected) return;\n\n const newColor = getColor(colorValue);\n\n const recentColorsExcludingNew = recentlyUsedColors.filter(\n ({ hex }) => hex !== newColor.hex\n );\n\n const updatedColors = [newColor, ...recentColorsExcludingNew];\n\n if (updatedColors.length > 14) updatedColors.pop();\n\n setRecentlyUsedColors(updatedColors);\n setIsColorSelected(false);\n };\n\n return (\n <Dropdown\n className=\"neeto-ui-colorpicker__dropdown\"\n closeOnSelect={false}\n label={colorValue}\n position=\"bottom-start\"\n {...{ ...dropdownProps, onClose }}\n customTarget={<Target {...{ color, colorValue, showHexValue, size }} />}\n dropdownProps={{ ...dropdownProps?.dropdownProps, ...portalProps }}\n >\n <div className=\"neeto-ui-colorpicker__popover\">\n {showPicker && (\n <>\n {showHexPicker && (\n <div\n className=\"neeto-ui-colorpicker__pointer\"\n data-testid=\"neeto-color-picker-section\"\n >\n <PickerComponent color={colorValue} onChange={onColorChange} />\n </div>\n )}\n <div className=\"neeto-ui-flex neeto-ui-items-center neeto-ui-justify-center neeto-ui-mt-3 neeto-ui-gap-2\">\n {showEyeDropper && isSupported() && (\n <Button\n className=\"neeto-ui-colorpicker__eyedropper-btn\"\n icon={ColorPickerIcon}\n size=\"small\"\n style=\"text\"\n type=\"button\"\n onClick={pickColor}\n />\n )}\n <div className=\"neeto-ui-input__wrapper\">\n <div\n className=\"neeto-ui-colorpicker__input neeto-ui-input neeto-ui-input--small\"\n data-cy=\"colorpicker-editable-input\"\n >\n <HexColorInput\n {...{ onBlur }}\n prefixed\n alpha={!!showTransparencyControl}\n color={colorValue}\n data-cy=\"colorpicker-editable-input-textbox\"\n onChange={onColorInputChange}\n />\n </div>\n </div>\n </div>\n </>\n )}\n <div\n data-testid=\"color-palette\"\n className={classnames(\"neeto-ui-colorpicker__palette-wrapper\", {\n \"neeto-ui-colorpicker__palette-wrapper--hidden-picker\": !showPicker,\n \"neeto-ui-pt-3 neeto-ui-border-t neeto-ui-border-gray-200\":\n showPicker,\n })}\n >\n <Palette\n {...{ color }}\n colorList={colorPalette}\n onChange={onColorChange}\n />\n </div>\n {showRecentlyUsedColors && recentlyUsedColors.length > 0 && (\n <div\n className=\"neeto-ui-colorpicker__palette-wrapper neeto-ui-border-t neeto-ui-border-gray-200 neeto-ui-pt-3\"\n data-testid=\"color-palette-recently-used\"\n >\n <Typography\n className=\"neeto-ui-text-gray-600 mb-2\"\n style=\"body3\"\n weight=\"medium\"\n >\n {getLocale(i18n, t, \"neetoui.colorPicker.recentlyUsed\")}\n </Typography>\n <Palette colorList={recentlyUsedColors} onChange={onColorChange} />\n </div>\n )}\n </div>\n </Dropdown>\n );\n};\n\nColorPicker.propTypes = {\n /**\n * To specify the color value.\n */\n color: PropTypes.string,\n /**\n * <div class=\"neeto-ui-tag neeto-ui-tag--size-small neeto-ui-tag--style-outline neeto-ui-tag--style-success mb-2\">\n * New\n * </div>\n * To set the size of the target.\n */\n size: PropTypes.oneOf(Object.values(TARGET_SIZES)),\n /**\n * To specify the action to be triggered on changing the color.\n */\n onChange: PropTypes.func,\n /**\n * To specify the colors shown in the palette.\n */\n colorPalette: PropTypes.arrayOf(\n PropTypes.shape({ hex: PropTypes.string, rgb: PropTypes.string })\n ),\n /**\n * Shows eye dropper to pick color.\n */\n showEyeDropper: PropTypes.bool,\n /**\n * To show hex value near to the color in the dropdown.\n * By default it will be enabled.\n */\n showHexValue: PropTypes.bool,\n /**\n * To show transparency control. By default it will be hidden.\n */\n showTransparencyControl: PropTypes.bool,\n /**\n * To show the color picker. Used to hide the picker in cases where only palette is required. By default it will be true.\n */\n showPicker: PropTypes.bool,\n /**\n * To show the hex color picker (color pointer). Used to hide the picker while keeping the hex input and eye dropper. By default it will be true.\n */\n showHexPicker: PropTypes.bool,\n /**\n * To specify the props to be passed to the dropdown portal.\n */\n portalProps: PropTypes.object,\n /**\n * To show the recently used colors.\n */\n showRecentlyUsedColors: PropTypes.bool,\n};\n\nexport default ColorPicker;\n"],"names":["r","o","e","t","n","Dropper","DEFAULT_PALETTE_COLORS","hex","TARGET_SIZES","large","medium","small","Palette","_ref","color","_ref$colorList","colorList","onChange","_jsx","className","children","map","item","rgb","colorObject","tinycolor","isTransparent","getAlpha","isActive","Boolean","toLocaleLowerCase","classnames","active","onClick","style","backgroundColor","Target","size","showHexValue","colorValue","_jsxs","type","Down","ColorPicker","_ref2","_ref$color","_ref$size","_ref$onChange","noop","dropdownProps","_ref$showEyeDropper","showEyeDropper","_ref$showHexValue","_ref$showTransparency","showTransparencyControl","_ref$showPicker","showPicker","_ref$showHexPicker","showHexPicker","portalProps","colorPalette","_ref$showRecentlyUsed","showRecentlyUsedColors","_useTranslation","useTranslation","i18n","_useState","useState","_useState2","_slicedToArray","colorInternal","setColorInternal","_useState3","_useState4","isColorSelected","setIsColorSelected","hexColorInputValue","useRef","_useEyeDropper","useEyeDropper","pickRadius","open","isSupported","_useRecentlyUsedColor","useRecentlyUsedColors","_useRecentlyUsedColor2","recentlyUsedColors","setRecentlyUsedColors","PickerComponent","HexAlphaColorPicker","HexColorPicker","getColor","isValid","toHexString","toHex8String","toRgb","onColorChange","changeHandler","onColorInputChange","current","length","onBlur","pickColor","_ref3","_asyncToGenerator","_regeneratorRuntime","mark","_callee","colorResponse","wrap","_context","prev","next","sent","sRGBHex","_t","stop","apply","arguments","onClose","newColor","recentColorsExcludingNew","filter","_ref4","updatedColors","concat","_toConsumableArray","pop","Dropdown","_objectSpread","closeOnSelect","label","position","customTarget","_Fragment","Button","icon","ColorPickerIcon","HexColorInput","prefixed","alpha","Typography","weight","getLocale"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAA0F,MAAM,CAAC,CAAC,IAAI,WAAW,EAAE,OAAO,MAAM,EAAE,YAAY,GAAG,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,IAAI,KAAK,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,MAAM,CAAC,CAACA,aAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,OAAM,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,IAAI,UAAU,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAACC,YAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAACC,cAAC,CAAC,KAAE,CAAC,CAACC,eAAC,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,IAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,MAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,CAACC,iBAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAACH,YA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,6BAA6B;AACvCe,UAAAA,KAAK,EAAC,OAAO;AACb4G,UAAAA,MAAM,EAAC,QAAQ;AAAA1H,UAAAA,QAAA,EAEd2H,eAAS,CAAC9E,IAAI,EAAE9D,CAAC,EAAE,kCAAkC;AAAC,SAC7C,CAAC,eACbe,cAAA,CAACN,OAAO,EAAA;AAACI,UAAAA,SAAS,EAAEsE,kBAAmB;AAACrE,UAAAA,QAAQ,EAAE+E;AAAc,SAAE,CAAC;AAAA,OAChE,CACN;KACE;AAAC,GAAA,CACE,CAAC;AAEf;;;;","x_google_ignoreList":[0,1]}
@@ -26,14 +26,14 @@ require('./Checkbox.js');
26
26
  require('@babel/runtime/helpers/toConsumableArray');
27
27
  require('@babel/runtime/helpers/asyncToGenerator');
28
28
  require('@babel/runtime/regenerator');
29
- require('@bigbinary/neeto-icons/Down');
30
29
  require('@bigbinary/neeto-icons/ColorPicker');
31
30
  require('react-colorful');
32
31
  require('react-i18next');
33
32
  require('./useRecentlyUsedColors-CThW5BOM.js');
34
33
  require('./Dropdown.js');
35
34
  require('./index-BlcVTw2b.js');
36
- var DatePicker = require('./index-i_QMY9OC.js');
35
+ require('@bigbinary/neeto-icons/Down');
36
+ var DatePicker = require('./index-DruCXsxo.js');
37
37
  require('./Input.js');
38
38
  require('./Label.js');
39
39
  require('./MultiEmailInput.js');
package/dist/cjs/Table.js CHANGED
@@ -24,7 +24,7 @@ var Button = require('./Button.js');
24
24
  var Callout = require('./Callout.js');
25
25
  var Typography = require('./Typography.js');
26
26
  var jsxRuntime = require('react/jsx-runtime');
27
- var DatePicker = require('./index-i_QMY9OC.js');
27
+ var DatePicker = require('./index-DruCXsxo.js');
28
28
  var _toConsumableArray = require('@babel/runtime/helpers/toConsumableArray');
29
29
  var DownArrow = require('@bigbinary/neeto-icons/DownArrow');
30
30
  var UpArrow = require('@bigbinary/neeto-icons/UpArrow');
@@ -23,13 +23,13 @@ require('./Checkbox.js');
23
23
  require('@babel/runtime/helpers/toConsumableArray');
24
24
  require('@babel/runtime/helpers/asyncToGenerator');
25
25
  require('@babel/runtime/regenerator');
26
- require('@bigbinary/neeto-icons/Down');
27
26
  require('@bigbinary/neeto-icons/ColorPicker');
28
27
  require('react-colorful');
29
28
  require('./useRecentlyUsedColors-CThW5BOM.js');
30
29
  require('./Dropdown.js');
31
30
  require('./index-BlcVTw2b.js');
32
- var DatePicker = require('./index-i_QMY9OC.js');
31
+ require('@bigbinary/neeto-icons/Down');
32
+ var DatePicker = require('./index-DruCXsxo.js');
33
33
  require('./Input.js');
34
34
  require('./Label.js');
35
35
  require('./MultiEmailInput.js');
@@ -29,12 +29,17 @@ var neetoui$5 = {
29
29
  columnInfo: "Spalteninformationen",
30
30
  hideColumn: "Spalte ausblenden",
31
31
  deleteColumn: "Spalte löschen",
32
- ascending: "Aufsteigend sortieren",
33
- descending: "Absteigend sortieren",
32
+ ascending: "Aufsteigend",
33
+ descending: "Absteigend",
34
34
  allRowsSelected: "Alle Zeilen sind ausgewählt",
35
35
  clearSelection: "Klare Auswahl",
36
36
  freezeColumn: "Spalte einfrieren",
37
- unFreezeColumn: "Spalte aufheben"
37
+ unFreezeColumn: "Spalte aufheben",
38
+ moveColumnLeft: "Spalte nach links verschieben",
39
+ moveColumnRight: "Spalte nach rechts verschieben",
40
+ addColumnInfo: "Spalteninformation hinzufügen",
41
+ editColumnInfo: "Spalteninformation bearbeiten",
42
+ info: "Tabelleninformationen"
38
43
  },
39
44
  timePicker: {
40
45
  hours: "Stunden",
@@ -45,7 +50,8 @@ var neetoui$5 = {
45
50
  noOptions: "Keine Optionen."
46
51
  },
47
52
  common: {
48
- timezone: "Zeitzone"
53
+ timezone: "Zeitzone",
54
+ description: "Beschreibung"
49
55
  }
50
56
  };
51
57
  var deTranslations = {
@@ -75,12 +81,17 @@ var neetoui$4 = {
75
81
  columnInfo: "Información de la columna",
76
82
  hideColumn: "Ocultar columna",
77
83
  deleteColumn: "Eliminar columna",
78
- ascending: "Ordenar ascendente",
79
- descending: "Ordenar descendente",
84
+ ascending: "Ascendente",
85
+ descending: "Descendente",
80
86
  allRowsSelected: "Todas las filas están seleccionadas",
81
87
  clearSelection: "Borrar selección",
82
88
  freezeColumn: "Congelar columna",
83
- unFreezeColumn: "Descongelar columna"
89
+ unFreezeColumn: "Descongelar columna",
90
+ moveColumnLeft: "Mover columna a la izquierda",
91
+ moveColumnRight: "Mover columna a la derecha",
92
+ addColumnInfo: "Agregar información de columna",
93
+ editColumnInfo: "Editar información de columna",
94
+ info: "Información de la tabla"
84
95
  },
85
96
  timePicker: {
86
97
  hours: "Horas",
@@ -91,7 +102,8 @@ var neetoui$4 = {
91
102
  noOptions: "No hay opciones."
92
103
  },
93
104
  common: {
94
- timezone: "Zona horaria"
105
+ timezone: "Zona horaria",
106
+ description: "Descripción"
95
107
  }
96
108
  };
97
109
  var esTranslations = {
@@ -121,12 +133,17 @@ var neetoui$3 = {
121
133
  columnInfo: "Informations sur la colonne",
122
134
  hideColumn: "Masquer la colonne",
123
135
  deleteColumn: "Supprimer la colonne",
124
- ascending: "Trier par ordre croissant",
125
- descending: "Trier par ordre décroissant",
136
+ ascending: "Ascendant",
137
+ descending: "Descendant",
126
138
  allRowsSelected: "Toutes les lignes sont sélectionnées",
127
139
  clearSelection: "Effacer la sélection",
128
140
  freezeColumn: "Geler la colonne",
129
- unFreezeColumn: "Dégeler la colonne"
141
+ unFreezeColumn: "Dégeler la colonne",
142
+ moveColumnLeft: "Déplacer la colonne vers la gauche",
143
+ moveColumnRight: "Déplacer la colonne vers la droite",
144
+ addColumnInfo: "Ajouter des informations sur la colonne",
145
+ editColumnInfo: "Modifier les informations sur la colonne",
146
+ info: "Informations sur la table"
130
147
  },
131
148
  timePicker: {
132
149
  hours: "Heures",
@@ -137,7 +154,8 @@ var neetoui$3 = {
137
154
  noOptions: "Pas d'options."
138
155
  },
139
156
  common: {
140
- timezone: "Fuseau horaire"
157
+ timezone: "Fuseau horaire",
158
+ description: "Description"
141
159
  }
142
160
  };
143
161
  var frTranslations = {
@@ -167,12 +185,17 @@ var neetoui$2 = {
167
185
  columnInfo: "Kolominformatie",
168
186
  hideColumn: "Kolom verbergen",
169
187
  deleteColumn: "Kolom verwijderen",
170
- ascending: "Sorteer oplopend",
171
- descending: "Sorteer aflopend",
188
+ ascending: "Oplopend",
189
+ descending: "Aflopend",
172
190
  allRowsSelected: "Alle rijen zijn geselecteerd",
173
191
  clearSelection: "Duidelijke selectie",
174
192
  freezeColumn: "Kolom vastzetten",
175
- unFreezeColumn: "Kolom ontgrendelen"
193
+ unFreezeColumn: "Kolom ontgrendelen",
194
+ moveColumnLeft: "Verplaats kolom naar links",
195
+ moveColumnRight: "Verplaats kolom naar rechts",
196
+ addColumnInfo: "Voeg kolominformatie toe",
197
+ editColumnInfo: "Bewerk kolominformatie",
198
+ info: "Tabel informatie"
176
199
  },
177
200
  timePicker: {
178
201
  hours: "Uur",
@@ -183,7 +206,8 @@ var neetoui$2 = {
183
206
  noOptions: "Geen opties."
184
207
  },
185
208
  common: {
186
- timezone: "Tijdszone"
209
+ timezone: "Tijdszone",
210
+ description: "Beschrijving"
187
211
  }
188
212
  };
189
213
  var nlTranslations = {
@@ -213,12 +237,17 @@ var neetoui$1 = {
213
237
  columnInfo: "Informacje o kolumnie",
214
238
  hideColumn: "Ukryj kolumnę",
215
239
  deleteColumn: "Usuń kolumnę",
216
- ascending: "Sortuj rosnąco",
217
- descending: "Sortuj malejąco",
240
+ ascending: "Rosnąco",
241
+ descending: "Malejąco",
218
242
  allRowsSelected: "Wszystkie wiersze są zaznaczone",
219
243
  clearSelection: "Wyczyść wybór",
220
244
  freezeColumn: "Zablokuj kolumnę",
221
- unFreezeColumn: "Odblokuj kolumnę"
245
+ unFreezeColumn: "Odblokuj kolumnę",
246
+ moveColumnLeft: "Przenieś kolumnę w lewo",
247
+ moveColumnRight: "Przenieś kolumnę w prawo",
248
+ addColumnInfo: "Dodaj informacje o kolumnie",
249
+ editColumnInfo: "Edytuj informacje o kolumnie",
250
+ info: "Informacje o tabeli"
222
251
  },
223
252
  timePicker: {
224
253
  hours: "godziny",
@@ -229,7 +258,8 @@ var neetoui$1 = {
229
258
  noOptions: "Brak opcji."
230
259
  },
231
260
  common: {
232
- timezone: "Strefa czasowa"
261
+ timezone: "Strefa czasowa",
262
+ description: "Opis"
233
263
  }
234
264
  };
235
265
  var plTranslations = {
@@ -259,12 +289,17 @@ var neetoui = {
259
289
  columnInfo: "Informações da coluna",
260
290
  hideColumn: "Ocultar coluna",
261
291
  deleteColumn: "Excluir coluna",
262
- ascending: "Ordenar de forma ascendente",
263
- descending: "Ordenar de forma descendente",
292
+ ascending: "Ascendente",
293
+ descending: "Descendente",
264
294
  allRowsSelected: "Todas as linhas estão selecionadas",
265
295
  clearSelection: "Limpar seleção",
266
296
  freezeColumn: "Congelar coluna",
267
- unFreezeColumn: "Descongelar coluna"
297
+ unFreezeColumn: "Descongelar coluna",
298
+ moveColumnLeft: "Mover coluna para a esquerda",
299
+ moveColumnRight: "Mover coluna para a direita",
300
+ addColumnInfo: "Adicionar informações da coluna",
301
+ editColumnInfo: "Editar informações da coluna",
302
+ info: "Informações da tabela"
268
303
  },
269
304
  timePicker: {
270
305
  hours: "Horas",
@@ -275,7 +310,8 @@ var neetoui = {
275
310
  noOptions: "Sem opções."
276
311
  },
277
312
  common: {
278
- timezone: "Fuso horário"
313
+ timezone: "Fuso horário",
314
+ description: "Descrição"
279
315
  }
280
316
  };
281
317
  var ptTranslations = {
@@ -1 +1 @@
1
- {"version":3,"file":"TranslationProvider.js","sources":["../../src/translations/index.js","../../src/components/TranslationProvider/i18n.js","../../src/components/TranslationProvider/index.jsx"],"sourcesContent":["/* eslint-disable import/extensions */\nimport deTranslations from \"./de.json\";\nimport enTranslations from \"./en.json\";\nimport esTranslations from \"./es.json\";\nimport frTranslations from \"./fr.json\";\nimport nlTranslations from \"./nl.json\";\nimport plTranslations from \"./pl.json\";\nimport ptTranslations from \"./pt.json\";\n\nexport const resources = {\n en: { translation: enTranslations },\n es: { translation: esTranslations },\n fr: { translation: frTranslations },\n de: { translation: deTranslations },\n nl: { translation: nlTranslations },\n pl: { translation: plTranslations },\n pt: { translation: ptTranslations },\n};\n","/* eslint-disable @bigbinary/neeto/file-name-and-export-name-standards */\n/* eslint-disable import/extensions */\n\nimport i18n from \"i18next\";\nimport { initReactI18next } from \"react-i18next\";\n\nimport { resources } from \"src/translations\";\n\nexport const initializeI18n = (language = \"en\") => {\n i18n.use(initReactI18next).init({\n resources,\n lang: language,\n fallbackLng: \"en\",\n interpolation: { escapeValue: false },\n });\n\n return i18n;\n};\n","import React, { useEffect } from \"react\";\n\nimport { I18nextProvider } from \"react-i18next\";\n\nimport { initializeI18n } from \"./i18n\";\n\nconst TranslationProvider = ({ children, language }) => {\n const i18n = initializeI18n(language);\n\n useEffect(() => {\n if (!language || i18n.language === language) return;\n\n i18n.changeLanguage(language);\n }, [language]);\n\n return <I18nextProvider {...{ i18n }}>{children}</I18nextProvider>;\n};\n\nexport default TranslationProvider;\n"],"names":["resources","en","translation","enTranslations","es","esTranslations","fr","frTranslations","de","deTranslations","nl","nlTranslations","pl","plTranslations","pt","ptTranslations","initializeI18n","language","arguments","length","undefined","i18n","use","initReactI18next","init","lang","fallbackLng","interpolation","escapeValue","TranslationProvider","_ref","children","useEffect","changeLanguage","_jsx","I18nextProvider"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AASO,IAAMA,SAAS,GAAG;AACvBC,EAAAA,EAAE,EAAE;AAAEC,IAAAA,WAAW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AAA,IAAI,CAACY,cAAc,CAAChB,QAAQ,CAAC;AAC/B,EAAA,CAAC,EAAE,CAACA,QAAQ,CAAC,CAAC;EAEd,oBAAOiB,cAAA,CAACC,4BAAe,EAAA;AAAOd,IAAAA,IAAI,EAAJA,IAAI;AAAAU,IAAAA,QAAA,EAAKA;AAAQ,GAAkB,CAAC;AACpE;;;;"}
1
+ {"version":3,"file":"TranslationProvider.js","sources":["../../src/translations/index.js","../../src/components/TranslationProvider/i18n.js","../../src/components/TranslationProvider/index.jsx"],"sourcesContent":["/* eslint-disable import/extensions */\nimport deTranslations from \"./de.json\";\nimport enTranslations from \"./en.json\";\nimport esTranslations from \"./es.json\";\nimport frTranslations from \"./fr.json\";\nimport nlTranslations from \"./nl.json\";\nimport plTranslations from \"./pl.json\";\nimport ptTranslations from \"./pt.json\";\n\nexport const resources = {\n en: { translation: enTranslations },\n es: { translation: esTranslations },\n fr: { translation: frTranslations },\n de: { translation: deTranslations },\n nl: { translation: nlTranslations },\n pl: { translation: plTranslations },\n pt: { translation: ptTranslations },\n};\n","/* eslint-disable @bigbinary/neeto/file-name-and-export-name-standards */\n/* eslint-disable import/extensions */\n\nimport i18n from \"i18next\";\nimport { initReactI18next } from \"react-i18next\";\n\nimport { resources } from \"src/translations\";\n\nexport const initializeI18n = (language = \"en\") => {\n i18n.use(initReactI18next).init({\n resources,\n lang: language,\n fallbackLng: \"en\",\n interpolation: { escapeValue: false },\n });\n\n return i18n;\n};\n","import React, { useEffect } from \"react\";\n\nimport { I18nextProvider } from \"react-i18next\";\n\nimport { initializeI18n } from \"./i18n\";\n\nconst TranslationProvider = ({ children, language }) => {\n const i18n = initializeI18n(language);\n\n useEffect(() => {\n if (!language || i18n.language === language) return;\n\n i18n.changeLanguage(language);\n }, [language]);\n\n return <I18nextProvider {...{ i18n }}>{children}</I18nextProvider>;\n};\n\nexport default TranslationProvider;\n"],"names":["resources","en","translation","enTranslations","es","esTranslations","fr","frTranslations","de","deTranslations","nl","nlTranslations","pl","plTranslations","pt","ptTranslations","initializeI18n","language","arguments","length","undefined","i18n","use","initReactI18next","init","lang","fallbackLng","interpolation","escapeValue","TranslationProvider","_ref","children","useEffect","changeLanguage","_jsx","I18nextProvider"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AASO,IAAMA,SAAS,GAAG;AACvBC,EAAAA,EAAE,EAAE;AAAEC,IAAAA,WAAW,EAAEC;GAAgB;AACnCC,EAAAA,EAAE,EAAE;AAAEF,IAAAA,WAAW,EAAEG;GAAgB;AACnCC,EAAAA,EAAE,EAAE;AAAEJ,IAAAA,WAAW,EAAEK;GAAgB;AACnCC,EAAAA,EAAE,EAAE;AAAEN,IAAAA,WAAW,EAAEO;GAAgB;AACnCC,EAAAA,EAAE,EAAE;AAAER,IAAAA,WAAW,EAAES;GAAgB;AACnCC,EAAAA,EAAE,EAAE;AAAEV,IAAAA,WAAW,EAAEW;GAAgB;AACnCC,EAAAA,EAAE,EAAE;AAAEZ,IAAAA,WAAW,EAAEa;AAAe;AACpC,CAAC;;ACjBD;AACA;;AAOO,IAAMC,cAAc,GAAG,SAAjBA,cAAcA,GAAwB;AAAA,EAAA,IAApBC,QAAQ,GAAAC,SAAA,CAAAC,MAAA,GAAA,CAAA,IAAAD,SAAA,CAAA,CAAA,CAAA,KAAAE,SAAA,GAAAF,SAAA,CAAA,CAAA,CAAA,GAAG,IAAI;AAC5CG,EAAAA,IAAI,CAACC,GAAG,CAACC,6BAAgB,CAAC,CAACC,IAAI,CAAC;AAC9BxB,IAAAA,SAAS,EAATA,SAAS;AACTyB,IAAAA,IAAI,EAAER,QAAQ;AACdS,IAAAA,WAAW,EAAE,IAAI;AACjBC,IAAAA,aAAa,EAAE;AAAEC,MAAAA,WAAW,EAAE;AAAM;AACtC,GAAC,CAAC;AAEF,EAAA,OAAOP,IAAI;AACb,CAAC;;ACXD,IAAMQ,mBAAmB,GAAG,SAAtBA,mBAAmBA,CAAAC,IAAA,EAA+B;AAAA,EAAA,IAAzBC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAEd,QAAQ,GAAAa,IAAA,CAARb,QAAQ;AAC/C,EAAA,IAAMI,IAAI,GAAGL,cAAc,CAACC,QAAQ,CAAC;AAErCe,EAAAA,eAAS,CAAC,YAAM;IACd,IAAI,CAACf,QAAQ,IAAII,IAAI,CAACJ,QAAQ,KAAKA,QAAQ,EAAE;AAE7CI,IAAAA,IAAI,CAACY,cAAc,CAAChB,QAAQ,CAAC;AAC/B,EAAA,CAAC,EAAE,CAACA,QAAQ,CAAC,CAAC;EAEd,oBAAOiB,cAAA,CAACC,4BAAe,EAAA;AAAOd,IAAAA,IAAI,EAAJA,IAAI;AAAAU,IAAAA,QAAA,EAAKA;AAAQ,GAAkB,CAAC;AACpE;;;;"}
@@ -23,12 +23,12 @@ require('./Checkbox.js');
23
23
  require('@babel/runtime/helpers/toConsumableArray');
24
24
  require('@babel/runtime/helpers/asyncToGenerator');
25
25
  require('@babel/runtime/regenerator');
26
- require('@bigbinary/neeto-icons/Down');
27
26
  require('@bigbinary/neeto-icons/ColorPicker');
28
27
  require('react-colorful');
29
28
  require('./useRecentlyUsedColors-CThW5BOM.js');
30
29
  var Dropdown = require('./Dropdown.js');
31
30
  var index = require('./index-BlcVTw2b.js');
31
+ require('@bigbinary/neeto-icons/Down');
32
32
  var _DatePicker = require('antd/lib/date-picker');
33
33
  var neetoCist = require('@bigbinary/neeto-cist');
34
34
  var Left = require('@bigbinary/neeto-icons/Left');
@@ -978,4 +978,4 @@ exports.TableInfoPane = TableInfoPane;
978
978
  exports.TimePicker = TimePicker;
979
979
  exports.URL_SORT_ORDERS = URL_SORT_ORDERS;
980
980
  exports.useRestoreScrollPosition = useRestoreScrollPosition;
981
- //# sourceMappingURL=index-i_QMY9OC.js.map
981
+ //# sourceMappingURL=index-DruCXsxo.js.map