@bigbinary/neetoui 8.3.43 → 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.
- package/dist/ActionDropdown.js +2 -2
- package/dist/Alert.js +3 -3
- package/dist/Checkbox.js +2 -2
- package/dist/ColorPicker.js +52 -43
- package/dist/ColorPicker.js.map +1 -1
- package/dist/DatePicker.js +15 -10
- package/dist/DatePicker.js.map +1 -1
- package/dist/Dropdown.js +2 -2
- package/dist/Input.js +2 -2
- package/dist/Modal.js +3 -3
- package/dist/MultiEmailInput.js +2 -2
- package/dist/Pagination.js +2 -2
- package/dist/Pane.js +3 -3
- package/dist/Radio.js +2 -2
- package/dist/Select.js +2 -2
- package/dist/Sidebar.js +2 -2
- package/dist/Slider.js +2 -2
- package/dist/Switch.js +2 -2
- package/dist/Table.js +97 -15
- package/dist/Table.js.map +1 -1
- package/dist/{Textarea-Cn12kZAy.js → Textarea-CoY3q1mA.js} +2 -2
- package/dist/{Textarea-Cn12kZAy.js.map → Textarea-CoY3q1mA.js.map} +1 -1
- package/dist/Textarea.js +3 -3
- package/dist/TimePicker.js +15 -10
- package/dist/TimePicker.js.map +1 -1
- package/dist/Toastr.js +2 -2
- package/dist/TranslationProvider.js +61 -25
- package/dist/TranslationProvider.js.map +1 -1
- package/dist/Tree.js +2 -2
- package/dist/TreeSelect.js +2 -2
- package/dist/cjs/ActionDropdown.js +2 -2
- package/dist/cjs/Alert.js +3 -3
- package/dist/cjs/Checkbox.js +2 -2
- package/dist/cjs/ColorPicker.js +52 -43
- package/dist/cjs/ColorPicker.js.map +1 -1
- package/dist/cjs/DatePicker.js +15 -10
- package/dist/cjs/DatePicker.js.map +1 -1
- package/dist/cjs/Dropdown.js +2 -2
- package/dist/cjs/Input.js +2 -2
- package/dist/cjs/Modal.js +3 -3
- package/dist/cjs/MultiEmailInput.js +2 -2
- package/dist/cjs/Pagination.js +2 -2
- package/dist/cjs/Pane.js +3 -3
- package/dist/cjs/Radio.js +2 -2
- package/dist/cjs/Select.js +2 -2
- package/dist/cjs/Sidebar.js +2 -2
- package/dist/cjs/Slider.js +2 -2
- package/dist/cjs/Switch.js +2 -2
- package/dist/cjs/Table.js +112 -30
- package/dist/cjs/Table.js.map +1 -1
- package/dist/cjs/{Textarea-BF9uNO2J.js → Textarea-DzetFleJ.js} +2 -2
- package/dist/cjs/{Textarea-BF9uNO2J.js.map → Textarea-DzetFleJ.js.map} +1 -1
- package/dist/cjs/Textarea.js +3 -3
- package/dist/cjs/TimePicker.js +15 -10
- package/dist/cjs/TimePicker.js.map +1 -1
- package/dist/cjs/Toastr.js +2 -2
- package/dist/cjs/TranslationProvider.js +61 -25
- package/dist/cjs/TranslationProvider.js.map +1 -1
- package/dist/cjs/Tree.js +2 -2
- package/dist/cjs/TreeSelect.js +2 -2
- package/dist/cjs/{en-BoX6pwZe.js → en-BfFI1Si2.js} +11 -5
- package/dist/cjs/en-BfFI1Si2.js.map +1 -0
- package/dist/cjs/formik/ActionBlock.js +2 -2
- package/dist/cjs/formik/BlockNavigation.js +3 -3
- package/dist/cjs/formik/Checkbox.js +2 -2
- package/dist/cjs/formik/Input.js +2 -2
- package/dist/cjs/formik/MultiEmailInput.js +2 -2
- package/dist/cjs/formik/Radio.js +2 -2
- package/dist/cjs/formik/Select.js +2 -2
- package/dist/cjs/formik/Slider.js +2 -2
- package/dist/cjs/formik/Switch.js +2 -2
- package/dist/cjs/formik/Textarea.js +3 -3
- package/dist/cjs/formik/TreeSelect.js +2 -2
- package/dist/cjs/formik/index.js +4 -4
- package/dist/cjs/{index-CcLewRhe.js → index-BlcVTw2b.js} +2 -2
- package/dist/cjs/{index-CcLewRhe.js.map → index-BlcVTw2b.js.map} +1 -1
- package/dist/cjs/{index-CHSpscO7.js → index-DruCXsxo.js} +394 -23
- package/dist/cjs/index-DruCXsxo.js.map +1 -0
- package/dist/cjs/index.js +13 -8
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/layouts.js +2 -2
- package/dist/cjs/{useOverlayManager-Bmn7TLVG.js → useOverlayManager-T0kuI6q4.js} +2 -2
- package/dist/cjs/{useOverlayManager-Bmn7TLVG.js.map → useOverlayManager-T0kuI6q4.js.map} +1 -1
- package/dist/cjs/{useRecentlyUsedColors-Cfbf5D9L.js → useRecentlyUsedColors-CThW5BOM.js} +2 -2
- package/dist/cjs/{useRecentlyUsedColors-Cfbf5D9L.js.map → useRecentlyUsedColors-CThW5BOM.js.map} +1 -1
- package/dist/{en-Cj1tGKrT.js → en-DVlE9xuu.js} +11 -5
- package/dist/en-DVlE9xuu.js.map +1 -0
- package/dist/formik/ActionBlock.js +2 -2
- package/dist/formik/BlockNavigation.js +3 -3
- package/dist/formik/Checkbox.js +2 -2
- package/dist/formik/Input.js +2 -2
- package/dist/formik/MultiEmailInput.js +2 -2
- package/dist/formik/Radio.js +2 -2
- package/dist/formik/Select.js +2 -2
- package/dist/formik/Slider.js +2 -2
- package/dist/formik/Switch.js +2 -2
- package/dist/formik/Textarea.js +3 -3
- package/dist/formik/TreeSelect.js +2 -2
- package/dist/formik/index.js +4 -4
- package/dist/{index-PdVtY1Cx.js → index-BRcfDAre.js} +387 -27
- package/dist/index-BRcfDAre.js.map +1 -0
- package/dist/{index-DFo1kTlC.js → index-BbZEp6Op.js} +3 -3
- package/dist/{index-DFo1kTlC.js.map → index-BbZEp6Op.js.map} +1 -1
- package/dist/index.js +13 -8
- package/dist/index.js.map +1 -1
- package/dist/layouts.js +2 -2
- package/dist/src/translations/ar.json +10 -4
- package/dist/src/translations/bg.json +10 -4
- package/dist/src/translations/ca.json +10 -4
- package/dist/src/translations/cs.json +10 -4
- package/dist/src/translations/da.json +10 -4
- package/dist/src/translations/de.json +10 -4
- package/dist/src/translations/en.json +10 -4
- package/dist/src/translations/es-MX.json +10 -4
- package/dist/src/translations/es.json +10 -4
- package/dist/src/translations/et.json +10 -4
- package/dist/src/translations/fi.json +10 -4
- package/dist/src/translations/fil.json +10 -4
- package/dist/src/translations/fr.json +10 -4
- package/dist/src/translations/he.json +50 -0
- package/dist/src/translations/hi.json +10 -4
- package/dist/src/translations/hr.json +10 -4
- package/dist/src/translations/id.json +10 -4
- package/dist/src/translations/it.json +10 -4
- package/dist/src/translations/ja.json +10 -4
- package/dist/src/translations/ko.json +10 -4
- package/dist/src/translations/nl.json +10 -4
- package/dist/src/translations/pl.json +10 -4
- package/dist/src/translations/pt-BR.json +10 -4
- package/dist/src/translations/pt.json +10 -4
- package/dist/src/translations/ro.json +10 -4
- package/dist/src/translations/ru.json +10 -4
- package/dist/src/translations/sk.json +10 -4
- package/dist/src/translations/sl.json +10 -4
- package/dist/src/translations/sv.json +10 -4
- package/dist/src/translations/th.json +10 -4
- package/dist/src/translations/tr.json +10 -4
- package/dist/src/translations/uk.json +10 -4
- package/dist/src/translations/vi.json +10 -4
- package/dist/src/translations/zh-CN.json +10 -4
- package/dist/src/translations/zh-TW.json +10 -4
- package/dist/{useOverlayManager-CofhPkL6.js → useOverlayManager-BtEqSq_z.js} +2 -2
- package/dist/{useOverlayManager-CofhPkL6.js.map → useOverlayManager-BtEqSq_z.js.map} +1 -1
- package/dist/{useRecentlyUsedColors-Bz5p2xal.js → useRecentlyUsedColors-C18GFyJC.js} +2 -2
- package/dist/{useRecentlyUsedColors-Bz5p2xal.js.map → useRecentlyUsedColors-C18GFyJC.js.map} +1 -1
- package/package.json +3 -3
- package/types/ColorPicker.d.ts +1 -0
- package/dist/cjs/en-BoX6pwZe.js.map +0 -1
- package/dist/cjs/index-CHSpscO7.js.map +0 -1
- package/dist/cjs/useRestoreScrollPosition-6TwcjUT5.js +0 -233
- package/dist/cjs/useRestoreScrollPosition-6TwcjUT5.js.map +0 -1
- package/dist/en-Cj1tGKrT.js.map +0 -1
- package/dist/index-PdVtY1Cx.js.map +0 -1
- package/dist/useRestoreScrollPosition-C0t8os3c.js +0 -222
- package/dist/useRestoreScrollPosition-C0t8os3c.js.map +0 -1
package/dist/Textarea.js
CHANGED
|
@@ -7,16 +7,16 @@ import './useId-Jj9hXm-g.js';
|
|
|
7
7
|
import 'react-router-dom';
|
|
8
8
|
import '@bigbinary/neeto-hotkeys';
|
|
9
9
|
import './overlayManager.js';
|
|
10
|
-
import './index-
|
|
10
|
+
import './index-BbZEp6Op.js';
|
|
11
11
|
import 'qs';
|
|
12
|
-
export { T as default } from './Textarea-
|
|
12
|
+
export { T as default } from './Textarea-CoY3q1mA.js';
|
|
13
13
|
import './Label.js';
|
|
14
14
|
import 'react/jsx-runtime';
|
|
15
15
|
import '@babel/runtime/helpers/classCallCheck';
|
|
16
16
|
import '@babel/runtime/helpers/createClass';
|
|
17
17
|
import '@bigbinary/neeto-cist';
|
|
18
18
|
import 'ramda';
|
|
19
|
-
import './en-
|
|
19
|
+
import './en-DVlE9xuu.js';
|
|
20
20
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
21
21
|
import 'dayjs';
|
|
22
22
|
import 'dayjs/plugin/localeData';
|
package/dist/TimePicker.js
CHANGED
|
@@ -21,13 +21,13 @@ import './Checkbox.js';
|
|
|
21
21
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
22
22
|
import '@babel/runtime/helpers/asyncToGenerator';
|
|
23
23
|
import '@babel/runtime/regenerator';
|
|
24
|
-
import '@bigbinary/neeto-icons/Down';
|
|
25
24
|
import '@bigbinary/neeto-icons/ColorPicker';
|
|
26
25
|
import 'react-colorful';
|
|
27
|
-
import './useRecentlyUsedColors-
|
|
26
|
+
import './useRecentlyUsedColors-C18GFyJC.js';
|
|
28
27
|
import './Dropdown.js';
|
|
29
|
-
import './index-
|
|
30
|
-
|
|
28
|
+
import './index-BbZEp6Op.js';
|
|
29
|
+
import '@bigbinary/neeto-icons/Down';
|
|
30
|
+
export { T as default } from './index-BRcfDAre.js';
|
|
31
31
|
import './Input.js';
|
|
32
32
|
import './Label.js';
|
|
33
33
|
import './MultiEmailInput.js';
|
|
@@ -38,7 +38,7 @@ import './useId-Jj9hXm-g.js';
|
|
|
38
38
|
import '@bigbinary/neeto-hotkeys';
|
|
39
39
|
import './overlayManager.js';
|
|
40
40
|
import 'qs';
|
|
41
|
-
import './Textarea-
|
|
41
|
+
import './Textarea-CoY3q1mA.js';
|
|
42
42
|
import './Pane.js';
|
|
43
43
|
import './Popover.js';
|
|
44
44
|
import 'framer-motion';
|
|
@@ -64,14 +64,13 @@ import 'react-drag-listview';
|
|
|
64
64
|
import '@bigbinary/neeto-icons/DownArrow';
|
|
65
65
|
import '@bigbinary/neeto-icons/UpArrow';
|
|
66
66
|
import '@bigbinary/neeto-icons/InfoRound';
|
|
67
|
-
import './useRestoreScrollPosition-C0t8os3c.js';
|
|
68
67
|
import 'react-resizable';
|
|
69
68
|
import './Tag.js';
|
|
70
69
|
import './Toastr.js';
|
|
71
70
|
import 'i18next';
|
|
72
71
|
import 'antd/lib/tree';
|
|
73
72
|
import './TreeSelect.js';
|
|
74
|
-
import './en-
|
|
73
|
+
import './en-DVlE9xuu.js';
|
|
75
74
|
import 'dayjs';
|
|
76
75
|
import 'dayjs/plugin/localeData';
|
|
77
76
|
import 'dayjs/plugin/utc';
|
|
@@ -79,7 +78,7 @@ import 'dayjs/plugin/weekday';
|
|
|
79
78
|
import 'dayjs/plugin/weekOfYear';
|
|
80
79
|
import './Spinner.js';
|
|
81
80
|
import './Tooltip.js';
|
|
82
|
-
import './useOverlayManager-
|
|
81
|
+
import './useOverlayManager-BtEqSq_z.js';
|
|
83
82
|
import '@babel/runtime/helpers/esm/objectWithoutPropertiesLoose';
|
|
84
83
|
import '@babel/runtime/helpers/esm/inheritsLoose';
|
|
85
84
|
import '@bigbinary/neeto-icons/Help';
|
|
@@ -92,6 +91,14 @@ import 'antd/locale/fr_FR';
|
|
|
92
91
|
import 'antd/locale/nl_NL';
|
|
93
92
|
import 'antd/locale/pl_PL';
|
|
94
93
|
import 'antd/locale/pt_PT';
|
|
94
|
+
import '@bigbinary/neeto-icons/Check';
|
|
95
|
+
import '@bigbinary/neeto-icons/Ascending';
|
|
96
|
+
import '@bigbinary/neeto-icons/Descending';
|
|
97
|
+
import '@bigbinary/neeto-icons/Pin';
|
|
98
|
+
import '@bigbinary/neeto-icons/ColumnToLeft';
|
|
99
|
+
import '@bigbinary/neeto-icons/ColumnToRight';
|
|
100
|
+
import '@bigbinary/neeto-icons/Hide';
|
|
101
|
+
import 'zustand';
|
|
95
102
|
import './Select.js';
|
|
96
103
|
import './react-select-creatable.esm-opiJTCqo.js';
|
|
97
104
|
import '@babel/runtime/helpers/esm/objectSpread2';
|
|
@@ -107,8 +114,6 @@ import '@babel/runtime/helpers/esm/slicedToArray';
|
|
|
107
114
|
import '@babel/runtime/helpers/esm/typeof';
|
|
108
115
|
import '@babel/runtime/helpers/esm/defineProperty';
|
|
109
116
|
import '@babel/runtime/helpers/toArray';
|
|
110
|
-
import '@bigbinary/neeto-icons/Check';
|
|
111
|
-
import 'zustand';
|
|
112
117
|
import '@bigbinary/neeto-icons/CheckCircle';
|
|
113
118
|
import '@bigbinary/neeto-icons/Warning';
|
|
114
119
|
import '@bigbinary/neeto-icons/Info';
|
package/dist/TimePicker.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimePicker.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TimePicker.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/Toastr.js
CHANGED
|
@@ -9,7 +9,7 @@ import Warning from '@bigbinary/neeto-icons/Warning';
|
|
|
9
9
|
import Info from '@bigbinary/neeto-icons/Info';
|
|
10
10
|
import Close from '@bigbinary/neeto-icons/Close';
|
|
11
11
|
import { toast, Slide } from 'react-toastify';
|
|
12
|
-
import { n as noop, U as UniqueArray } from './index-
|
|
12
|
+
import { n as noop, U as UniqueArray } from './index-BbZEp6Op.js';
|
|
13
13
|
import Linkify from 'linkify-react';
|
|
14
14
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
15
15
|
import '@babel/runtime/helpers/classCallCheck';
|
|
@@ -17,7 +17,7 @@ import '@babel/runtime/helpers/createClass';
|
|
|
17
17
|
import '@bigbinary/neeto-cist';
|
|
18
18
|
import 'qs';
|
|
19
19
|
import 'ramda';
|
|
20
|
-
import './en-
|
|
20
|
+
import './en-DVlE9xuu.js';
|
|
21
21
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
22
22
|
import 'dayjs';
|
|
23
23
|
import 'dayjs/plugin/localeData';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useEffect } from 'react';
|
|
2
2
|
import { initReactI18next, I18nextProvider } from 'react-i18next';
|
|
3
3
|
import i18n from 'i18next';
|
|
4
|
-
import { e as enTranslations } from './en-
|
|
4
|
+
import { e as enTranslations } from './en-DVlE9xuu.js';
|
|
5
5
|
import { jsx } from 'react/jsx-runtime';
|
|
6
6
|
|
|
7
7
|
var neetoui$5 = {
|
|
@@ -27,12 +27,17 @@ var neetoui$5 = {
|
|
|
27
27
|
columnInfo: "Spalteninformationen",
|
|
28
28
|
hideColumn: "Spalte ausblenden",
|
|
29
29
|
deleteColumn: "Spalte löschen",
|
|
30
|
-
ascending: "Aufsteigend
|
|
31
|
-
descending: "Absteigend
|
|
30
|
+
ascending: "Aufsteigend",
|
|
31
|
+
descending: "Absteigend",
|
|
32
32
|
allRowsSelected: "Alle Zeilen sind ausgewählt",
|
|
33
33
|
clearSelection: "Klare Auswahl",
|
|
34
34
|
freezeColumn: "Spalte einfrieren",
|
|
35
|
-
unFreezeColumn: "Spalte aufheben"
|
|
35
|
+
unFreezeColumn: "Spalte aufheben",
|
|
36
|
+
moveColumnLeft: "Spalte nach links verschieben",
|
|
37
|
+
moveColumnRight: "Spalte nach rechts verschieben",
|
|
38
|
+
addColumnInfo: "Spalteninformation hinzufügen",
|
|
39
|
+
editColumnInfo: "Spalteninformation bearbeiten",
|
|
40
|
+
info: "Tabelleninformationen"
|
|
36
41
|
},
|
|
37
42
|
timePicker: {
|
|
38
43
|
hours: "Stunden",
|
|
@@ -43,7 +48,8 @@ var neetoui$5 = {
|
|
|
43
48
|
noOptions: "Keine Optionen."
|
|
44
49
|
},
|
|
45
50
|
common: {
|
|
46
|
-
timezone: "Zeitzone"
|
|
51
|
+
timezone: "Zeitzone",
|
|
52
|
+
description: "Beschreibung"
|
|
47
53
|
}
|
|
48
54
|
};
|
|
49
55
|
var deTranslations = {
|
|
@@ -73,12 +79,17 @@ var neetoui$4 = {
|
|
|
73
79
|
columnInfo: "Información de la columna",
|
|
74
80
|
hideColumn: "Ocultar columna",
|
|
75
81
|
deleteColumn: "Eliminar columna",
|
|
76
|
-
ascending: "
|
|
77
|
-
descending: "
|
|
82
|
+
ascending: "Ascendente",
|
|
83
|
+
descending: "Descendente",
|
|
78
84
|
allRowsSelected: "Todas las filas están seleccionadas",
|
|
79
85
|
clearSelection: "Borrar selección",
|
|
80
86
|
freezeColumn: "Congelar columna",
|
|
81
|
-
unFreezeColumn: "Descongelar columna"
|
|
87
|
+
unFreezeColumn: "Descongelar columna",
|
|
88
|
+
moveColumnLeft: "Mover columna a la izquierda",
|
|
89
|
+
moveColumnRight: "Mover columna a la derecha",
|
|
90
|
+
addColumnInfo: "Agregar información de columna",
|
|
91
|
+
editColumnInfo: "Editar información de columna",
|
|
92
|
+
info: "Información de la tabla"
|
|
82
93
|
},
|
|
83
94
|
timePicker: {
|
|
84
95
|
hours: "Horas",
|
|
@@ -89,7 +100,8 @@ var neetoui$4 = {
|
|
|
89
100
|
noOptions: "No hay opciones."
|
|
90
101
|
},
|
|
91
102
|
common: {
|
|
92
|
-
timezone: "Zona horaria"
|
|
103
|
+
timezone: "Zona horaria",
|
|
104
|
+
description: "Descripción"
|
|
93
105
|
}
|
|
94
106
|
};
|
|
95
107
|
var esTranslations = {
|
|
@@ -119,12 +131,17 @@ var neetoui$3 = {
|
|
|
119
131
|
columnInfo: "Informations sur la colonne",
|
|
120
132
|
hideColumn: "Masquer la colonne",
|
|
121
133
|
deleteColumn: "Supprimer la colonne",
|
|
122
|
-
ascending: "
|
|
123
|
-
descending: "
|
|
134
|
+
ascending: "Ascendant",
|
|
135
|
+
descending: "Descendant",
|
|
124
136
|
allRowsSelected: "Toutes les lignes sont sélectionnées",
|
|
125
137
|
clearSelection: "Effacer la sélection",
|
|
126
138
|
freezeColumn: "Geler la colonne",
|
|
127
|
-
unFreezeColumn: "Dégeler la colonne"
|
|
139
|
+
unFreezeColumn: "Dégeler la colonne",
|
|
140
|
+
moveColumnLeft: "Déplacer la colonne vers la gauche",
|
|
141
|
+
moveColumnRight: "Déplacer la colonne vers la droite",
|
|
142
|
+
addColumnInfo: "Ajouter des informations sur la colonne",
|
|
143
|
+
editColumnInfo: "Modifier les informations sur la colonne",
|
|
144
|
+
info: "Informations sur la table"
|
|
128
145
|
},
|
|
129
146
|
timePicker: {
|
|
130
147
|
hours: "Heures",
|
|
@@ -135,7 +152,8 @@ var neetoui$3 = {
|
|
|
135
152
|
noOptions: "Pas d'options."
|
|
136
153
|
},
|
|
137
154
|
common: {
|
|
138
|
-
timezone: "Fuseau horaire"
|
|
155
|
+
timezone: "Fuseau horaire",
|
|
156
|
+
description: "Description"
|
|
139
157
|
}
|
|
140
158
|
};
|
|
141
159
|
var frTranslations = {
|
|
@@ -165,12 +183,17 @@ var neetoui$2 = {
|
|
|
165
183
|
columnInfo: "Kolominformatie",
|
|
166
184
|
hideColumn: "Kolom verbergen",
|
|
167
185
|
deleteColumn: "Kolom verwijderen",
|
|
168
|
-
ascending: "
|
|
169
|
-
descending: "
|
|
186
|
+
ascending: "Oplopend",
|
|
187
|
+
descending: "Aflopend",
|
|
170
188
|
allRowsSelected: "Alle rijen zijn geselecteerd",
|
|
171
189
|
clearSelection: "Duidelijke selectie",
|
|
172
190
|
freezeColumn: "Kolom vastzetten",
|
|
173
|
-
unFreezeColumn: "Kolom ontgrendelen"
|
|
191
|
+
unFreezeColumn: "Kolom ontgrendelen",
|
|
192
|
+
moveColumnLeft: "Verplaats kolom naar links",
|
|
193
|
+
moveColumnRight: "Verplaats kolom naar rechts",
|
|
194
|
+
addColumnInfo: "Voeg kolominformatie toe",
|
|
195
|
+
editColumnInfo: "Bewerk kolominformatie",
|
|
196
|
+
info: "Tabel informatie"
|
|
174
197
|
},
|
|
175
198
|
timePicker: {
|
|
176
199
|
hours: "Uur",
|
|
@@ -181,7 +204,8 @@ var neetoui$2 = {
|
|
|
181
204
|
noOptions: "Geen opties."
|
|
182
205
|
},
|
|
183
206
|
common: {
|
|
184
|
-
timezone: "Tijdszone"
|
|
207
|
+
timezone: "Tijdszone",
|
|
208
|
+
description: "Beschrijving"
|
|
185
209
|
}
|
|
186
210
|
};
|
|
187
211
|
var nlTranslations = {
|
|
@@ -211,12 +235,17 @@ var neetoui$1 = {
|
|
|
211
235
|
columnInfo: "Informacje o kolumnie",
|
|
212
236
|
hideColumn: "Ukryj kolumnę",
|
|
213
237
|
deleteColumn: "Usuń kolumnę",
|
|
214
|
-
ascending: "
|
|
215
|
-
descending: "
|
|
238
|
+
ascending: "Rosnąco",
|
|
239
|
+
descending: "Malejąco",
|
|
216
240
|
allRowsSelected: "Wszystkie wiersze są zaznaczone",
|
|
217
241
|
clearSelection: "Wyczyść wybór",
|
|
218
242
|
freezeColumn: "Zablokuj kolumnę",
|
|
219
|
-
unFreezeColumn: "Odblokuj kolumnę"
|
|
243
|
+
unFreezeColumn: "Odblokuj kolumnę",
|
|
244
|
+
moveColumnLeft: "Przenieś kolumnę w lewo",
|
|
245
|
+
moveColumnRight: "Przenieś kolumnę w prawo",
|
|
246
|
+
addColumnInfo: "Dodaj informacje o kolumnie",
|
|
247
|
+
editColumnInfo: "Edytuj informacje o kolumnie",
|
|
248
|
+
info: "Informacje o tabeli"
|
|
220
249
|
},
|
|
221
250
|
timePicker: {
|
|
222
251
|
hours: "godziny",
|
|
@@ -227,7 +256,8 @@ var neetoui$1 = {
|
|
|
227
256
|
noOptions: "Brak opcji."
|
|
228
257
|
},
|
|
229
258
|
common: {
|
|
230
|
-
timezone: "Strefa czasowa"
|
|
259
|
+
timezone: "Strefa czasowa",
|
|
260
|
+
description: "Opis"
|
|
231
261
|
}
|
|
232
262
|
};
|
|
233
263
|
var plTranslations = {
|
|
@@ -257,12 +287,17 @@ var neetoui = {
|
|
|
257
287
|
columnInfo: "Informações da coluna",
|
|
258
288
|
hideColumn: "Ocultar coluna",
|
|
259
289
|
deleteColumn: "Excluir coluna",
|
|
260
|
-
ascending: "
|
|
261
|
-
descending: "
|
|
290
|
+
ascending: "Ascendente",
|
|
291
|
+
descending: "Descendente",
|
|
262
292
|
allRowsSelected: "Todas as linhas estão selecionadas",
|
|
263
293
|
clearSelection: "Limpar seleção",
|
|
264
294
|
freezeColumn: "Congelar coluna",
|
|
265
|
-
unFreezeColumn: "Descongelar coluna"
|
|
295
|
+
unFreezeColumn: "Descongelar coluna",
|
|
296
|
+
moveColumnLeft: "Mover coluna para a esquerda",
|
|
297
|
+
moveColumnRight: "Mover coluna para a direita",
|
|
298
|
+
addColumnInfo: "Adicionar informações da coluna",
|
|
299
|
+
editColumnInfo: "Editar informações da coluna",
|
|
300
|
+
info: "Informações da tabela"
|
|
266
301
|
},
|
|
267
302
|
timePicker: {
|
|
268
303
|
hours: "Horas",
|
|
@@ -273,7 +308,8 @@ var neetoui = {
|
|
|
273
308
|
noOptions: "Sem opções."
|
|
274
309
|
},
|
|
275
310
|
common: {
|
|
276
|
-
timezone: "Fuso horário"
|
|
311
|
+
timezone: "Fuso horário",
|
|
312
|
+
description: "Descrição"
|
|
277
313
|
}
|
|
278
314
|
};
|
|
279
315
|
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":"
|
|
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,gBAAgB,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,SAAS,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,GAAA,CAACC,eAAe,EAAA;AAAOd,IAAAA,IAAI,EAAJA,IAAI;AAAAU,IAAAA,QAAA,EAAKA;AAAQ,GAAkB,CAAC;AACpE;;;;"}
|
package/dist/Tree.js
CHANGED
|
@@ -6,7 +6,7 @@ import 'react';
|
|
|
6
6
|
import classnames from 'classnames';
|
|
7
7
|
import { useTranslation } from 'react-i18next';
|
|
8
8
|
import { ANTD_LOCALE } from './constants.js';
|
|
9
|
-
import { A as ANT_DESIGN_GLOBAL_TOKEN_OVERRIDES } from './index-
|
|
9
|
+
import { A as ANT_DESIGN_GLOBAL_TOKEN_OVERRIDES } from './index-BbZEp6Op.js';
|
|
10
10
|
import Down from '@bigbinary/neeto-icons/Down';
|
|
11
11
|
import Right from '@bigbinary/neeto-icons/Right';
|
|
12
12
|
import { jsx } from 'react/jsx-runtime';
|
|
@@ -23,7 +23,7 @@ import '@babel/runtime/helpers/createClass';
|
|
|
23
23
|
import '@bigbinary/neeto-cist';
|
|
24
24
|
import 'qs';
|
|
25
25
|
import 'ramda';
|
|
26
|
-
import './en-
|
|
26
|
+
import './en-DVlE9xuu.js';
|
|
27
27
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
28
28
|
import 'dayjs';
|
|
29
29
|
import 'dayjs/plugin/localeData';
|
package/dist/TreeSelect.js
CHANGED
|
@@ -6,7 +6,7 @@ import { forwardRef } from 'react';
|
|
|
6
6
|
import classnames from 'classnames';
|
|
7
7
|
import Down from '@bigbinary/neeto-icons/Down';
|
|
8
8
|
import { useTranslation } from 'react-i18next';
|
|
9
|
-
import { g as getLocale, A as ANT_DESIGN_GLOBAL_TOKEN_OVERRIDES } from './index-
|
|
9
|
+
import { g as getLocale, A as ANT_DESIGN_GLOBAL_TOKEN_OVERRIDES } from './index-BbZEp6Op.js';
|
|
10
10
|
import { ANTD_LOCALE } from './constants.js';
|
|
11
11
|
import Label from './Label.js';
|
|
12
12
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
@@ -16,7 +16,7 @@ import '@babel/runtime/helpers/createClass';
|
|
|
16
16
|
import '@bigbinary/neeto-cist';
|
|
17
17
|
import 'qs';
|
|
18
18
|
import 'ramda';
|
|
19
|
-
import './en-
|
|
19
|
+
import './en-DVlE9xuu.js';
|
|
20
20
|
import '@babel/runtime/helpers/toConsumableArray';
|
|
21
21
|
import 'dayjs';
|
|
22
22
|
import 'dayjs/plugin/localeData';
|
|
@@ -4,7 +4,7 @@ var _defineProperty = require('@babel/runtime/helpers/defineProperty');
|
|
|
4
4
|
var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProperties');
|
|
5
5
|
require('react');
|
|
6
6
|
var classnames = require('classnames');
|
|
7
|
-
var index = require('./index-
|
|
7
|
+
var index = require('./index-BlcVTw2b.js');
|
|
8
8
|
var Button = require('./Button.js');
|
|
9
9
|
var Dropdown = require('./Dropdown.js');
|
|
10
10
|
var jsxRuntime = require('react/jsx-runtime');
|
|
@@ -14,7 +14,7 @@ require('@babel/runtime/helpers/createClass');
|
|
|
14
14
|
require('@bigbinary/neeto-cist');
|
|
15
15
|
require('qs');
|
|
16
16
|
require('ramda');
|
|
17
|
-
require('./en-
|
|
17
|
+
require('./en-BfFI1Si2.js');
|
|
18
18
|
require('@babel/runtime/helpers/toConsumableArray');
|
|
19
19
|
require('dayjs');
|
|
20
20
|
require('dayjs/plugin/localeData');
|
package/dist/cjs/Alert.js
CHANGED
|
@@ -15,7 +15,7 @@ require('@babel/runtime/helpers/slicedToArray');
|
|
|
15
15
|
require('@tippyjs/react');
|
|
16
16
|
require('tippy.js');
|
|
17
17
|
require('@bigbinary/neeto-icons/Close');
|
|
18
|
-
require('./useOverlayManager-
|
|
18
|
+
require('./useOverlayManager-T0kuI6q4.js');
|
|
19
19
|
require('@babel/runtime/helpers/esm/extends');
|
|
20
20
|
require('@babel/runtime/helpers/esm/objectWithoutPropertiesLoose');
|
|
21
21
|
require('@babel/runtime/helpers/esm/inheritsLoose');
|
|
@@ -25,10 +25,10 @@ require('@bigbinary/neeto-hotkeys');
|
|
|
25
25
|
require('./overlayManager.js');
|
|
26
26
|
require('@babel/runtime/helpers/classCallCheck');
|
|
27
27
|
require('@babel/runtime/helpers/createClass');
|
|
28
|
-
require('./index-
|
|
28
|
+
require('./index-BlcVTw2b.js');
|
|
29
29
|
require('@bigbinary/neeto-cist');
|
|
30
30
|
require('qs');
|
|
31
|
-
require('./en-
|
|
31
|
+
require('./en-BfFI1Si2.js');
|
|
32
32
|
require('@babel/runtime/helpers/toConsumableArray');
|
|
33
33
|
require('dayjs');
|
|
34
34
|
require('dayjs/plugin/localeData');
|
package/dist/cjs/Checkbox.js
CHANGED
|
@@ -9,7 +9,7 @@ require('@babel/runtime/helpers/slicedToArray');
|
|
|
9
9
|
require('react-router-dom');
|
|
10
10
|
require('@bigbinary/neeto-hotkeys');
|
|
11
11
|
require('./overlayManager.js');
|
|
12
|
-
var index = require('./index-
|
|
12
|
+
var index = require('./index-BlcVTw2b.js');
|
|
13
13
|
require('qs');
|
|
14
14
|
var Label = require('./Label.js');
|
|
15
15
|
var jsxRuntime = require('react/jsx-runtime');
|
|
@@ -17,7 +17,7 @@ require('@babel/runtime/helpers/classCallCheck');
|
|
|
17
17
|
require('@babel/runtime/helpers/createClass');
|
|
18
18
|
require('@bigbinary/neeto-cist');
|
|
19
19
|
require('ramda');
|
|
20
|
-
require('./en-
|
|
20
|
+
require('./en-BfFI1Si2.js');
|
|
21
21
|
require('@babel/runtime/helpers/toConsumableArray');
|
|
22
22
|
require('dayjs');
|
|
23
23
|
require('dayjs/plugin/localeData');
|
package/dist/cjs/ColorPicker.js
CHANGED
|
@@ -7,16 +7,16 @@ 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');
|
|
14
|
-
var useRecentlyUsedColors = require('./useRecentlyUsedColors-
|
|
13
|
+
var useRecentlyUsedColors = require('./useRecentlyUsedColors-CThW5BOM.js');
|
|
15
14
|
var Button = require('./Button.js');
|
|
16
15
|
var Dropdown = require('./Dropdown.js');
|
|
17
16
|
var Typography = require('./Typography.js');
|
|
18
|
-
var index = require('./index-
|
|
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');
|
|
@@ -28,7 +28,7 @@ require('@bigbinary/neeto-cist');
|
|
|
28
28
|
require('@babel/runtime/helpers/classCallCheck');
|
|
29
29
|
require('@babel/runtime/helpers/createClass');
|
|
30
30
|
require('qs');
|
|
31
|
-
require('./en-
|
|
31
|
+
require('./en-BfFI1Si2.js');
|
|
32
32
|
require('dayjs');
|
|
33
33
|
require('dayjs/plugin/localeData');
|
|
34
34
|
require('dayjs/plugin/utc');
|
|
@@ -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, {
|