carbon-react 128.0.0 → 128.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/esm/__internal__/checkable-input/checkable-input.component.d.ts +2 -0
- package/esm/__internal__/checkable-input/checkable-input.component.js +4 -2
- package/esm/__internal__/fieldset/fieldset.style.js +7 -6
- package/esm/__internal__/form-field/form-field.component.d.ts +1 -1
- package/esm/__internal__/form-field/form-field.component.js +1 -0
- package/esm/__internal__/label/label.style.js +6 -5
- package/esm/__spec_helper__/test-utils.d.ts +5 -9
- package/esm/__spec_helper__/test-utils.js +2 -0
- package/esm/components/alert/alert.component.d.ts +1 -1
- package/esm/components/alert/alert.component.js +3 -1
- package/esm/components/button-minor/button-minor.component.d.ts +1 -1
- package/esm/components/button-minor/button-minor.component.js +5 -1
- package/esm/components/checkbox/{checkbox-group.component.d.ts → checkbox-group/checkbox-group.component.d.ts} +3 -1
- package/esm/components/checkbox/{checkbox-group.component.js → checkbox-group/checkbox-group.component.js} +14 -11
- package/esm/components/checkbox/{checkbox-group.style.js → checkbox-group/checkbox-group.style.js} +5 -5
- package/esm/components/checkbox/checkbox.component.js +4 -1
- package/esm/components/checkbox/index.d.ts +2 -2
- package/esm/components/checkbox/index.js +1 -1
- package/esm/components/date-range/date-range.component.d.ts +5 -1
- package/esm/components/date-range/date-range.component.js +5 -1
- package/esm/components/decimal/decimal.component.d.ts +0 -2
- package/esm/components/decimal/decimal.component.js +1 -2
- package/esm/components/definition-list/{dd.component.js → dd/dd.component.js} +2 -2
- package/esm/components/definition-list/dl.component.js +13 -11
- package/esm/components/definition-list/{dt.component.js → dt/dt.component.js} +2 -2
- package/esm/components/definition-list/index.d.ts +4 -4
- package/esm/components/definition-list/index.js +2 -2
- package/esm/components/dialog/dialog.component.d.ts +3 -1
- package/esm/components/dialog/dialog.component.js +11 -3
- package/esm/components/dialog-full-screen/dialog-full-screen.component.d.ts +4 -1
- package/esm/components/dialog-full-screen/dialog-full-screen.component.js +7 -3
- package/esm/components/draggable/{internal → __internal__}/drop-target.component.js +1 -1
- package/esm/components/draggable/draggable-container.component.js +2 -2
- package/esm/components/draggable/{draggable-item.component.js → draggable-item/draggable-item.component.js} +1 -1
- package/{lib/components/draggable → esm/components/draggable/draggable-item}/draggable-item.style.d.ts +1 -1
- package/esm/components/draggable/{draggable-item.style.js → draggable-item/draggable-item.style.js} +2 -2
- package/esm/components/draggable/index.d.ts +2 -2
- package/esm/components/draggable/index.js +1 -1
- package/esm/components/duelling-picklist/picklist-placeholder/picklist-placeholder.component.js +5 -3
- package/esm/components/fieldset/fieldset.component.d.ts +8 -3
- package/esm/components/fieldset/fieldset.component.js +16 -2
- package/esm/components/fieldset/fieldset.style.d.ts +4 -0
- package/esm/components/fieldset/fieldset.style.js +29 -2
- package/esm/components/file-input/file-input.component.d.ts +4 -0
- package/esm/components/file-input/file-input.component.js +3 -0
- package/esm/components/flat-table/flat-table-header/flat-table-header.component.d.ts +0 -3
- package/esm/components/flat-table/flat-table-header/flat-table-header.component.js +1 -4
- package/esm/components/flat-table/sort/sort.component.d.ts +1 -1
- package/esm/components/flat-table/sort/sort.component.js +1 -1
- package/esm/components/form/index.d.ts +1 -0
- package/esm/components/form/index.js +2 -1
- package/esm/components/form/required-fields-indicator/index.d.ts +1 -0
- package/esm/components/form/required-fields-indicator/index.js +1 -0
- package/esm/components/form/required-fields-indicator/required-fields-indicator.component.d.ts +7 -0
- package/esm/components/form/required-fields-indicator/required-fields-indicator.component.js +20 -0
- package/esm/components/hr/hr.component.d.ts +0 -1
- package/esm/components/inline-inputs/inline-inputs.component.d.ts +3 -1
- package/esm/components/inline-inputs/inline-inputs.component.js +13 -3
- package/esm/components/link/link.component.js +1 -16
- package/esm/components/modal/__internal__/modal-manager.js +2 -2
- package/esm/components/number/number.component.js +10 -1
- package/esm/components/numeral-date/numeral-date.component.d.ts +3 -1
- package/esm/components/numeral-date/numeral-date.component.js +4 -3
- package/esm/components/pager/__internal__/pager-navigation.component.d.ts +1 -1
- package/esm/components/pager/pager.component.d.ts +2 -2
- package/esm/components/popover-container/popover-container.component.d.ts +6 -2
- package/esm/components/popover-container/popover-container.component.js +11 -5
- package/esm/components/portal/portal.d.ts +1 -1
- package/esm/components/portal/portal.js +1 -1
- package/esm/components/preview/preview.component.d.ts +1 -0
- package/esm/components/radio-button/index.d.ts +3 -1
- package/esm/components/radio-button/index.js +1 -1
- package/esm/components/radio-button/{radio-button-group.component.d.ts → radio-button-group/radio-button-group.component.d.ts} +3 -1
- package/esm/components/radio-button/{radio-button-group.component.js → radio-button-group/radio-button-group.component.js} +17 -15
- package/esm/components/radio-button/radio-button.component.d.ts +1 -2
- package/esm/components/radio-button/radio-button.component.js +1 -3
- package/esm/components/select/filterable-select/filterable-select.component.d.ts +4 -0
- package/esm/components/select/filterable-select/filterable-select.component.js +5 -0
- package/esm/components/select/multi-select/multi-select.component.d.ts +2 -0
- package/esm/components/select/multi-select/multi-select.component.js +5 -0
- package/esm/components/select/select-textbox/select-textbox.component.d.ts +2 -0
- package/esm/components/select/select-textbox/select-textbox.component.js +3 -0
- package/esm/components/select/simple-select/simple-select.component.d.ts +4 -0
- package/esm/components/select/simple-select/simple-select.component.js +6 -0
- package/esm/components/switch/switch.component.js +1 -0
- package/esm/components/text-editor/text-editor.component.d.ts +3 -1
- package/esm/components/text-editor/text-editor.component.js +16 -2
- package/esm/components/textarea/textarea.component.d.ts +2 -2
- package/esm/components/textarea/textarea.component.js +7 -2
- package/esm/components/textbox/textbox.component.d.ts +6 -2
- package/esm/components/textbox/textbox.component.js +8 -4
- package/esm/components/tile/flex-tile-divider/flex-tile-divider.component.d.ts +0 -1
- package/esm/components/tile-select/index.d.ts +2 -2
- package/esm/components/tile-select/index.js +1 -1
- package/{lib/components/tile-select → esm/components/tile-select/tile-select-group}/tile-select-group.component.d.ts +1 -1
- package/esm/components/tile-select/{tile-select-group.component.js → tile-select-group/tile-select-group.component.js} +4 -4
- package/esm/components/tile-select/tile-select.style.d.ts +1 -1
- package/esm/components/toast/toast.component.d.ts +3 -0
- package/esm/components/toast/toast.component.js +10 -3
- package/esm/components/vertical-divider/vertical-divider.component.d.ts +0 -1
- package/esm/components/vertical-menu/index.d.ts +6 -6
- package/esm/components/vertical-menu/index.js +3 -3
- package/{lib/components/vertical-menu → esm/components/vertical-menu/vertical-menu-full-screen}/vertical-menu-full-screen.component.d.ts +1 -1
- package/esm/components/vertical-menu/{vertical-menu-full-screen.component.js → vertical-menu-full-screen/vertical-menu-full-screen.component.js} +10 -10
- package/{lib/components/vertical-menu → esm/components/vertical-menu/vertical-menu-item}/vertical-menu-item.component.d.ts +2 -2
- package/esm/components/vertical-menu/{vertical-menu-item.component.js → vertical-menu-item/vertical-menu-item.component.js} +4 -4
- package/esm/components/vertical-menu/{vertical-menu-trigger.component.d.ts → vertical-menu-trigger/vertical-menu-trigger.component.d.ts} +1 -1
- package/esm/components/vertical-menu/{vertical-menu-trigger.component.js → vertical-menu-trigger/vertical-menu-trigger.component.js} +3 -3
- package/esm/hooks/__internal__/useCharacterCount/useCharacterCount.d.ts +0 -1
- package/esm/hooks/__internal__/useScrollBlock/scroll-block-manager.js +2 -2
- package/esm/locales/__internal__/es-es.d.ts +3 -0
- package/esm/locales/__internal__/es-es.js +193 -0
- package/lib/__internal__/checkable-input/checkable-input.component.d.ts +2 -0
- package/lib/__internal__/checkable-input/checkable-input.component.js +4 -2
- package/lib/__internal__/fieldset/fieldset.style.js +7 -6
- package/lib/__internal__/form-field/form-field.component.d.ts +1 -1
- package/lib/__internal__/form-field/form-field.component.js +1 -0
- package/lib/__internal__/label/label.style.js +6 -5
- package/lib/__spec_helper__/test-utils.d.ts +5 -9
- package/lib/__spec_helper__/test-utils.js +2 -0
- package/lib/components/alert/alert.component.d.ts +1 -1
- package/lib/components/alert/alert.component.js +3 -1
- package/lib/components/button-minor/button-minor.component.d.ts +1 -1
- package/lib/components/button-minor/button-minor.component.js +5 -1
- package/lib/components/checkbox/{checkbox-group.component.d.ts → checkbox-group/checkbox-group.component.d.ts} +3 -1
- package/lib/components/checkbox/{checkbox-group.component.js → checkbox-group/checkbox-group.component.js} +14 -11
- package/lib/components/checkbox/{checkbox-group.style.js → checkbox-group/checkbox-group.style.js} +5 -5
- package/lib/components/checkbox/checkbox.component.js +4 -1
- package/lib/components/checkbox/index.d.ts +2 -2
- package/lib/components/checkbox/index.js +1 -1
- package/lib/components/date-range/date-range.component.d.ts +5 -1
- package/lib/components/date-range/date-range.component.js +5 -1
- package/lib/components/decimal/decimal.component.d.ts +0 -2
- package/lib/components/decimal/decimal.component.js +1 -2
- package/lib/components/definition-list/{dd.component.js → dd/dd.component.js} +2 -2
- package/lib/components/definition-list/dl.component.js +13 -11
- package/lib/components/definition-list/{dt.component.js → dt/dt.component.js} +2 -2
- package/lib/components/definition-list/index.d.ts +4 -4
- package/lib/components/definition-list/index.js +2 -2
- package/lib/components/dialog/dialog.component.d.ts +3 -1
- package/lib/components/dialog/dialog.component.js +11 -3
- package/lib/components/dialog-full-screen/dialog-full-screen.component.d.ts +4 -1
- package/lib/components/dialog-full-screen/dialog-full-screen.component.js +7 -3
- package/lib/components/draggable/{internal → __internal__}/drop-target.component.js +1 -1
- package/lib/components/draggable/draggable-container.component.js +2 -2
- package/lib/components/draggable/{draggable-item.component.js → draggable-item/draggable-item.component.js} +1 -1
- package/{esm/components/draggable → lib/components/draggable/draggable-item}/draggable-item.style.d.ts +1 -1
- package/lib/components/draggable/{draggable-item.style.js → draggable-item/draggable-item.style.js} +2 -2
- package/lib/components/draggable/index.d.ts +2 -2
- package/lib/components/draggable/index.js +1 -1
- package/lib/components/duelling-picklist/picklist-placeholder/picklist-placeholder.component.js +5 -3
- package/lib/components/fieldset/fieldset.component.d.ts +8 -3
- package/lib/components/fieldset/fieldset.component.js +18 -2
- package/lib/components/fieldset/fieldset.style.d.ts +4 -0
- package/lib/components/fieldset/fieldset.style.js +31 -2
- package/lib/components/file-input/file-input.component.d.ts +4 -0
- package/lib/components/file-input/file-input.component.js +3 -0
- package/lib/components/flat-table/flat-table-header/flat-table-header.component.d.ts +0 -3
- package/lib/components/flat-table/flat-table-header/flat-table-header.component.js +1 -4
- package/lib/components/flat-table/sort/sort.component.d.ts +1 -1
- package/lib/components/flat-table/sort/sort.component.js +2 -1
- package/lib/components/form/index.d.ts +1 -0
- package/lib/components/form/index.js +7 -0
- package/lib/components/form/required-fields-indicator/index.d.ts +1 -0
- package/lib/components/form/required-fields-indicator/index.js +13 -0
- package/lib/components/form/required-fields-indicator/package.json +6 -0
- package/lib/components/form/required-fields-indicator/required-fields-indicator.component.d.ts +7 -0
- package/lib/components/form/required-fields-indicator/required-fields-indicator.component.js +28 -0
- package/lib/components/hr/hr.component.d.ts +0 -1
- package/lib/components/inline-inputs/inline-inputs.component.d.ts +3 -1
- package/lib/components/inline-inputs/inline-inputs.component.js +14 -4
- package/lib/components/link/link.component.js +1 -16
- package/lib/components/modal/__internal__/modal-manager.js +2 -2
- package/lib/components/number/number.component.js +10 -1
- package/lib/components/numeral-date/numeral-date.component.d.ts +3 -1
- package/lib/components/numeral-date/numeral-date.component.js +4 -3
- package/lib/components/pager/__internal__/pager-navigation.component.d.ts +1 -1
- package/lib/components/pager/pager.component.d.ts +2 -2
- package/lib/components/popover-container/popover-container.component.d.ts +6 -2
- package/lib/components/popover-container/popover-container.component.js +11 -5
- package/lib/components/portal/portal.d.ts +1 -1
- package/lib/components/portal/portal.js +2 -1
- package/lib/components/preview/preview.component.d.ts +1 -0
- package/lib/components/radio-button/index.d.ts +3 -1
- package/lib/components/radio-button/index.js +1 -1
- package/lib/components/radio-button/{radio-button-group.component.d.ts → radio-button-group/radio-button-group.component.d.ts} +3 -1
- package/lib/components/radio-button/{radio-button-group.component.js → radio-button-group/radio-button-group.component.js} +17 -15
- package/lib/components/radio-button/radio-button.component.d.ts +1 -2
- package/lib/components/radio-button/radio-button.component.js +1 -3
- package/lib/components/select/filterable-select/filterable-select.component.d.ts +4 -0
- package/lib/components/select/filterable-select/filterable-select.component.js +5 -0
- package/lib/components/select/multi-select/multi-select.component.d.ts +2 -0
- package/lib/components/select/multi-select/multi-select.component.js +5 -0
- package/lib/components/select/select-textbox/select-textbox.component.d.ts +2 -0
- package/lib/components/select/select-textbox/select-textbox.component.js +3 -0
- package/lib/components/select/simple-select/simple-select.component.d.ts +4 -0
- package/lib/components/select/simple-select/simple-select.component.js +6 -0
- package/lib/components/switch/switch.component.js +1 -0
- package/lib/components/text-editor/text-editor.component.d.ts +3 -1
- package/lib/components/text-editor/text-editor.component.js +16 -2
- package/lib/components/textarea/textarea.component.d.ts +2 -2
- package/lib/components/textarea/textarea.component.js +7 -2
- package/lib/components/textbox/textbox.component.d.ts +6 -2
- package/lib/components/textbox/textbox.component.js +9 -5
- package/lib/components/tile/flex-tile-divider/flex-tile-divider.component.d.ts +0 -1
- package/lib/components/tile-select/index.d.ts +2 -2
- package/lib/components/tile-select/index.js +1 -1
- package/{esm/components/tile-select → lib/components/tile-select/tile-select-group}/tile-select-group.component.d.ts +1 -1
- package/lib/components/tile-select/{tile-select-group.component.js → tile-select-group/tile-select-group.component.js} +4 -4
- package/lib/components/tile-select/tile-select.style.d.ts +1 -1
- package/lib/components/toast/toast.component.d.ts +3 -0
- package/lib/components/toast/toast.component.js +10 -3
- package/lib/components/vertical-divider/vertical-divider.component.d.ts +0 -1
- package/lib/components/vertical-menu/index.d.ts +6 -6
- package/lib/components/vertical-menu/index.js +3 -3
- package/{esm/components/vertical-menu → lib/components/vertical-menu/vertical-menu-full-screen}/vertical-menu-full-screen.component.d.ts +1 -1
- package/lib/components/vertical-menu/{vertical-menu-full-screen.component.js → vertical-menu-full-screen/vertical-menu-full-screen.component.js} +10 -10
- package/{esm/components/vertical-menu → lib/components/vertical-menu/vertical-menu-item}/vertical-menu-item.component.d.ts +2 -2
- package/lib/components/vertical-menu/{vertical-menu-item.component.js → vertical-menu-item/vertical-menu-item.component.js} +4 -4
- package/lib/components/vertical-menu/{vertical-menu-trigger.component.d.ts → vertical-menu-trigger/vertical-menu-trigger.component.d.ts} +1 -1
- package/lib/components/vertical-menu/{vertical-menu-trigger.component.js → vertical-menu-trigger/vertical-menu-trigger.component.js} +3 -3
- package/lib/hooks/__internal__/useCharacterCount/useCharacterCount.d.ts +0 -1
- package/lib/hooks/__internal__/useScrollBlock/scroll-block-manager.js +2 -2
- package/lib/locales/__internal__/es-es.d.ts +3 -0
- package/lib/locales/__internal__/es-es.js +199 -0
- package/package.json +30 -26
- package/esm/locales/__internal__/pl-pl.d.ts +0 -5
- package/esm/locales/__internal__/pl-pl.js +0 -231
- package/lib/locales/__internal__/pl-pl.d.ts +0 -5
- package/lib/locales/__internal__/pl-pl.js +0 -237
- /package/esm/components/checkbox/{checkbox-group.style.d.ts → checkbox-group/checkbox-group.style.d.ts} +0 -0
- /package/esm/components/definition-list/{dd.component.d.ts → dd/dd.component.d.ts} +0 -0
- /package/esm/components/definition-list/{dt.component.d.ts → dt/dt.component.d.ts} +0 -0
- /package/esm/components/draggable/{internal → __internal__}/drop-target.component.d.ts +0 -0
- /package/esm/components/draggable/{draggable-item.component.d.ts → draggable-item/draggable-item.component.d.ts} +0 -0
- /package/esm/components/radio-button/{radio-button-group.style.d.ts → radio-button-group/radio-button-group.style.d.ts} +0 -0
- /package/esm/components/radio-button/{radio-button-group.style.js → radio-button-group/radio-button-group.style.js} +0 -0
- /package/esm/components/vertical-menu/{vertical-menu-full-screen.context.d.ts → vertical-menu-full-screen/vertical-menu-full-screen.context.d.ts} +0 -0
- /package/esm/components/vertical-menu/{vertical-menu-full-screen.context.js → vertical-menu-full-screen/vertical-menu-full-screen.context.js} +0 -0
- /package/lib/components/checkbox/{checkbox-group.style.d.ts → checkbox-group/checkbox-group.style.d.ts} +0 -0
- /package/lib/components/definition-list/{dd.component.d.ts → dd/dd.component.d.ts} +0 -0
- /package/lib/components/definition-list/{dt.component.d.ts → dt/dt.component.d.ts} +0 -0
- /package/lib/components/draggable/{internal → __internal__}/drop-target.component.d.ts +0 -0
- /package/lib/components/draggable/{draggable-item.component.d.ts → draggable-item/draggable-item.component.d.ts} +0 -0
- /package/lib/components/radio-button/{radio-button-group.style.d.ts → radio-button-group/radio-button-group.style.d.ts} +0 -0
- /package/lib/components/radio-button/{radio-button-group.style.js → radio-button-group/radio-button-group.style.js} +0 -0
- /package/lib/components/vertical-menu/{vertical-menu-full-screen.context.d.ts → vertical-menu-full-screen/vertical-menu-full-screen.context.d.ts} +0 -0
- /package/lib/components/vertical-menu/{vertical-menu-full-screen.context.js → vertical-menu-full-screen/vertical-menu-full-screen.context.js} +0 -0
|
@@ -8,8 +8,8 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
8
8
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
9
9
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
10
10
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
11
|
-
function _toPropertyKey(
|
|
12
|
-
function _toPrimitive(
|
|
11
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : String(i); }
|
|
12
|
+
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
13
13
|
// TODO: This component can be refactored to remove redundant code
|
|
14
14
|
// once we can confirm that all Sage products use version 105.0.0^
|
|
15
15
|
let ScrollBlockManager = /*#__PURE__*/function () {
|
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _dateFnsLocales = require("../date-fns-locales");
|
|
8
|
+
const isSingular = count => (typeof count === "string" ? parseInt(count) : count) === 1;
|
|
9
|
+
const esES = {
|
|
10
|
+
locale: () => "es-ES",
|
|
11
|
+
actions: {
|
|
12
|
+
edit: () => "Editar",
|
|
13
|
+
delete: () => "Borrar"
|
|
14
|
+
},
|
|
15
|
+
actionPopover: {
|
|
16
|
+
ariaLabel: () => "acciones"
|
|
17
|
+
},
|
|
18
|
+
advancedColorPicker: {
|
|
19
|
+
ariaLabel: () => "Cambiar color",
|
|
20
|
+
currentColorDescriptionTerm: () => "Color asignado: ",
|
|
21
|
+
currentColorAssigned: currentColor => currentColor
|
|
22
|
+
},
|
|
23
|
+
batchSelection: {
|
|
24
|
+
selected: count => `${count} seleccionados`
|
|
25
|
+
},
|
|
26
|
+
breadcrumbs: {
|
|
27
|
+
ariaLabel: () => "ruta de navegación"
|
|
28
|
+
},
|
|
29
|
+
confirm: {
|
|
30
|
+
no: () => "No",
|
|
31
|
+
yes: () => "Si"
|
|
32
|
+
},
|
|
33
|
+
characterCount: {
|
|
34
|
+
tooManyCharacters: (count, formattedCount) => count === 1 ? `${formattedCount} carácter de más` : `${formattedCount} caracteres de más`,
|
|
35
|
+
charactersLeft: (count, formattedCount) => count === 1 ? `${formattedCount} carácter restante` : `${formattedCount} caracteres restantes`,
|
|
36
|
+
visuallyHiddenHint: formattedCount => `Puede introducir hasta ${formattedCount} caracteres`
|
|
37
|
+
},
|
|
38
|
+
date: {
|
|
39
|
+
dateFnsLocale: () => _dateFnsLocales.es,
|
|
40
|
+
ariaLabels: {
|
|
41
|
+
previousMonthButton: () => "Mes anterior",
|
|
42
|
+
nextMonthButton: () => "Próximo mes"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
dialog: {
|
|
46
|
+
ariaLabels: {
|
|
47
|
+
close: () => "Cerrar"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
dialogFullScreen: {
|
|
51
|
+
ariaLabels: {
|
|
52
|
+
close: () => "Cerrar"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
dismissibleBox: {
|
|
56
|
+
ariaLabels: {
|
|
57
|
+
close: () => "Cerrar"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
errors: {
|
|
61
|
+
messages: {
|
|
62
|
+
formSummary: /* istanbul ignore next */
|
|
63
|
+
(errors, warnings, type) => {
|
|
64
|
+
const errorPlural = isSingular(errors) ? "error" : "errores";
|
|
65
|
+
const warningPlural = isSingular(warnings) ? "advertencia" : "advertencias";
|
|
66
|
+
if (errors && warnings && type === "warning") {
|
|
67
|
+
return ["y", `${warnings} ${warningPlural}`];
|
|
68
|
+
}
|
|
69
|
+
if (errors) {
|
|
70
|
+
return ["Hay", `${errors} ${errorPlural}`];
|
|
71
|
+
}
|
|
72
|
+
if (warnings) {
|
|
73
|
+
return ["Hay", `${warnings} ${warningPlural}`];
|
|
74
|
+
}
|
|
75
|
+
return null;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
fileInput: {
|
|
80
|
+
dragAndDrop: () => "o arrastre y suelte su arichivo aquí",
|
|
81
|
+
selectFile: () => "Seleccionar archivo",
|
|
82
|
+
fileUploadStatus: () => "Estado de carga del archivo",
|
|
83
|
+
actions: {
|
|
84
|
+
cancel: () => "Cancelar carga",
|
|
85
|
+
clear: () => "Quitar",
|
|
86
|
+
delete: () => "Borrar archivo"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
heading: {
|
|
90
|
+
backLinkAriaLabel: () => "Atrás"
|
|
91
|
+
},
|
|
92
|
+
link: {
|
|
93
|
+
skipLinkLabel: () => "Saltar al contenido principal"
|
|
94
|
+
},
|
|
95
|
+
loader: {
|
|
96
|
+
loading: () => "Cargando"
|
|
97
|
+
},
|
|
98
|
+
message: {
|
|
99
|
+
closeButtonAriaLabel: () => "Cerrar"
|
|
100
|
+
},
|
|
101
|
+
numeralDate: {
|
|
102
|
+
validation: {
|
|
103
|
+
day: (month, daysInMonth) => {
|
|
104
|
+
if (month && daysInMonth) {
|
|
105
|
+
return `El día en ${month} debe ser un número entre 1-${daysInMonth}.`;
|
|
106
|
+
}
|
|
107
|
+
return "El día debe ser un número entre 1-31.";
|
|
108
|
+
},
|
|
109
|
+
month: () => "El mes debe ser un número entre 1-12.",
|
|
110
|
+
year: () => "El año debe ser un número entre 1800-2200."
|
|
111
|
+
},
|
|
112
|
+
labels: {
|
|
113
|
+
day: () => "Día",
|
|
114
|
+
month: () => "Mes",
|
|
115
|
+
year: () => "Año"
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
pager: {
|
|
119
|
+
show: () => "Mostrar",
|
|
120
|
+
records: (count, showNumber = true) => {
|
|
121
|
+
const noun = isSingular(count) ? "elemento" : "elementos";
|
|
122
|
+
return showNumber ? `${count} ${noun}` : noun;
|
|
123
|
+
},
|
|
124
|
+
first: () => "Primera",
|
|
125
|
+
last: () => "Última",
|
|
126
|
+
next: () => "Siguiente",
|
|
127
|
+
previous: () => "Anterior",
|
|
128
|
+
pageX: () => "Página",
|
|
129
|
+
ofY: count => `de ${count}`
|
|
130
|
+
},
|
|
131
|
+
password: {
|
|
132
|
+
ariaLiveShownMessage: () => "Se ha mostrado su contraseña. Enfoque el campo de contraseña para que sea leida, si es seguro hacerlo.",
|
|
133
|
+
ariaLiveHiddenMessage: () => "Su contraseña esta oculta."
|
|
134
|
+
},
|
|
135
|
+
progressTracker: {
|
|
136
|
+
of: () => "de"
|
|
137
|
+
},
|
|
138
|
+
pod: {
|
|
139
|
+
undo: () => "Deshacer"
|
|
140
|
+
},
|
|
141
|
+
select: {
|
|
142
|
+
actionButtonText: () => "Añadir un nuevo elemento",
|
|
143
|
+
placeholder: () => "Por favor seleccione...",
|
|
144
|
+
noResultsForTerm: term => `No hay resultados para "${term}"`
|
|
145
|
+
},
|
|
146
|
+
sidebar: {
|
|
147
|
+
ariaLabels: {
|
|
148
|
+
close: () => "Cerrar"
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
splitButton: {
|
|
152
|
+
ariaLabel: () => "Mostrar más"
|
|
153
|
+
},
|
|
154
|
+
stepFlow: {
|
|
155
|
+
stepLabel: (currentStep, totalSteps) => `Paso ${currentStep} de ${totalSteps}`,
|
|
156
|
+
screenReaderOnlyTitle: (title, currentStep, totalSteps, category) => `${category ? `${category}.` : ""} ${title}. Paso ${currentStep} de ${totalSteps}.`,
|
|
157
|
+
closeIconAriaLabel: () => "Cerrar"
|
|
158
|
+
},
|
|
159
|
+
switch: {
|
|
160
|
+
on: () => "ON",
|
|
161
|
+
off: () => "OFF"
|
|
162
|
+
},
|
|
163
|
+
textEditor: {
|
|
164
|
+
tooltipMessages: {
|
|
165
|
+
bold: () => "Negrita",
|
|
166
|
+
italic: () => "Itálica",
|
|
167
|
+
bulletList: () => "Lista con viñetas",
|
|
168
|
+
numberList: () => "Lista numerada"
|
|
169
|
+
},
|
|
170
|
+
ariaLabels: {
|
|
171
|
+
bold: () => "negrita",
|
|
172
|
+
italic: () => "itálica",
|
|
173
|
+
bulletList: () => "lista con viñetas",
|
|
174
|
+
numberList: () => "lista numerada"
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
tileSelect: {
|
|
178
|
+
deselect: () => "Deseleccionar"
|
|
179
|
+
},
|
|
180
|
+
time: {
|
|
181
|
+
amText: () => "AM",
|
|
182
|
+
pmText: () => "PM",
|
|
183
|
+
hoursLabelText: () => "Hrs.",
|
|
184
|
+
minutesLabelText: () => "Mins.",
|
|
185
|
+
hoursAriaLabelText: () => "Horas",
|
|
186
|
+
minutesAriaLabelText: () => "Minutos"
|
|
187
|
+
},
|
|
188
|
+
toast: {
|
|
189
|
+
ariaLabels: {
|
|
190
|
+
close: () => "Cerrar"
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
verticalMenuFullScreen: {
|
|
194
|
+
ariaLabels: {
|
|
195
|
+
close: () => "Cerrar"
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
};
|
|
199
|
+
var _default = exports.default = esES;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "carbon-react",
|
|
3
|
-
"version": "128.
|
|
3
|
+
"version": "128.2.0",
|
|
4
4
|
"description": "A library of reusable React components for easily building user interfaces.",
|
|
5
5
|
"files": [
|
|
6
6
|
"lib",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"scripts/check_rfcs/index.js"
|
|
10
10
|
],
|
|
11
11
|
"scripts": {
|
|
12
|
-
"start": "node ./scripts/check_node_version.mjs && cross-env
|
|
12
|
+
"start": "node ./scripts/check_node_version.mjs && cross-env storybook dev -p 9001 -c .storybook",
|
|
13
13
|
"start:debug-theme": "cross-env STORYBOOK_DEBUG_THEME=true npm run start",
|
|
14
14
|
"test": "jest --config=./jest.config.json",
|
|
15
15
|
"test-update": "jest --config=./jest.config.json --updateSnapshot",
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
"prepublishOnly": "npm run precompile",
|
|
23
23
|
"postinstall": "node ./scripts/check_rfcs/index.js",
|
|
24
24
|
"watch": "npm run clean-lib && npm run copy-files -- --watch & npm run babel -- --watch",
|
|
25
|
-
"build-storybook": "cross-env STORYBOOK_BUILD=true
|
|
26
|
-
"start-storybook": "cross-env STORYBOOK_BUILD=true
|
|
25
|
+
"build-storybook": "cross-env STORYBOOK_BUILD=true storybook build -c .storybook",
|
|
26
|
+
"start-storybook": "cross-env STORYBOOK_BUILD=true storybook dev -c .storybook",
|
|
27
27
|
"start:static": "npx http-server -p 9001 ./storybook-static",
|
|
28
28
|
"babel": "cross-env NODE_ENV=production babel ./src --config-file ./babel.config.js --out-dir ./lib --ignore '**/*.spec.js','**/*.spec.ts','**/*.spec.tsx','**/*.d.ts' --quiet --extensions '.js','.ts','.tsx'",
|
|
29
29
|
"clean-lib": "rimraf ./lib && rimraf ./esm",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"homepage": "https://carbon.sage.com",
|
|
54
54
|
"peerDependencies": {
|
|
55
55
|
"@sage/design-tokens": "^4.17.0",
|
|
56
|
-
"draft-js": "^0.11.
|
|
56
|
+
"draft-js": "^0.11.7",
|
|
57
57
|
"react": "^17.0.2",
|
|
58
58
|
"react-dom": "^17.0.2",
|
|
59
59
|
"styled-components": "^4.4.1"
|
|
@@ -78,25 +78,26 @@
|
|
|
78
78
|
"@semantic-release/changelog": "^6.0.3",
|
|
79
79
|
"@semantic-release/exec": "^6.0.3",
|
|
80
80
|
"@semantic-release/git": "^10.0.1",
|
|
81
|
-
"@storybook/addon-a11y": "^6.
|
|
82
|
-
"@storybook/addon-actions": "^6.
|
|
83
|
-
"@storybook/addon-controls": "^6.
|
|
84
|
-
"@storybook/addon-docs": "^6.
|
|
85
|
-
"@storybook/addon-
|
|
86
|
-
"@storybook/addon-
|
|
87
|
-
"@storybook/addon-toolbars": "^6.
|
|
88
|
-
"@storybook/addon-viewport": "^6.
|
|
89
|
-
"@storybook/addons": "^6.
|
|
90
|
-
"@storybook/components": "^6.
|
|
91
|
-
"@storybook/react": "^6.
|
|
92
|
-
"@storybook/
|
|
81
|
+
"@storybook/addon-a11y": "^7.6.4",
|
|
82
|
+
"@storybook/addon-actions": "^7.6.4",
|
|
83
|
+
"@storybook/addon-controls": "^7.6.4",
|
|
84
|
+
"@storybook/addon-docs": "^7.6.4",
|
|
85
|
+
"@storybook/addon-links": "^7.6.4",
|
|
86
|
+
"@storybook/addon-mdx-gfm": "^7.6.4",
|
|
87
|
+
"@storybook/addon-toolbars": "^7.6.4",
|
|
88
|
+
"@storybook/addon-viewport": "^7.6.4",
|
|
89
|
+
"@storybook/addons": "^7.6.4",
|
|
90
|
+
"@storybook/components": "^7.6.4",
|
|
91
|
+
"@storybook/react": "^7.6.4",
|
|
92
|
+
"@storybook/react-webpack5": "^7.6.4",
|
|
93
|
+
"@storybook/theming": "^7.6.4",
|
|
93
94
|
"@testing-library/jest-dom": "^5.16.5",
|
|
94
95
|
"@testing-library/react": "^12.1.5",
|
|
95
96
|
"@testing-library/react-hooks": "^8.0.1",
|
|
96
97
|
"@testing-library/user-event": "^14.5.1",
|
|
97
98
|
"@types/crypto-js": "^4.2.1",
|
|
98
99
|
"@types/draft-js": "^0.11.10",
|
|
99
|
-
"@types/enzyme": "3.10.
|
|
100
|
+
"@types/enzyme": "3.10.13",
|
|
100
101
|
"@types/invariant": "^2.2.37",
|
|
101
102
|
"@types/jest": "^27.5.0",
|
|
102
103
|
"@types/lodash": "^4.14.202",
|
|
@@ -123,7 +124,7 @@
|
|
|
123
124
|
"conventional-changelog-conventionalcommits": "^4.6.3",
|
|
124
125
|
"core-js": "^3.33.3",
|
|
125
126
|
"cross-env": "^5.2.1",
|
|
126
|
-
"css-loader": "^
|
|
127
|
+
"css-loader": "^6.8.1",
|
|
127
128
|
"cypress": "~12.13.0",
|
|
128
129
|
"cypress-axe": "^1.5.0",
|
|
129
130
|
"cypress-each": "^1.13.3",
|
|
@@ -134,15 +135,16 @@
|
|
|
134
135
|
"draft-js": "^0.11.7",
|
|
135
136
|
"enzyme": "^3.11.0",
|
|
136
137
|
"enzyme-to-json": "^3.6.2",
|
|
137
|
-
"eslint": "^
|
|
138
|
-
"eslint-config-airbnb": "^
|
|
139
|
-
"eslint-config-prettier": "^
|
|
138
|
+
"eslint": "^8.55.0",
|
|
139
|
+
"eslint-config-airbnb": "^19.0.0",
|
|
140
|
+
"eslint-config-prettier": "^9.1.0",
|
|
140
141
|
"eslint-plugin-cypress": "^2.15.1",
|
|
141
142
|
"eslint-plugin-import": "^2.29.0",
|
|
142
|
-
"eslint-plugin-jest": "^
|
|
143
|
-
"eslint-plugin-jest-dom": "^
|
|
143
|
+
"eslint-plugin-jest": "^27.6.0",
|
|
144
|
+
"eslint-plugin-jest-dom": "^5.1.0",
|
|
144
145
|
"eslint-plugin-jsx-a11y": "^6.8.0",
|
|
145
|
-
"eslint-plugin-
|
|
146
|
+
"eslint-plugin-mdx": "^3.0.0",
|
|
147
|
+
"eslint-plugin-no-unsanitized": "^4.0.2",
|
|
146
148
|
"eslint-plugin-react": "^7.33.2",
|
|
147
149
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
148
150
|
"events": "~1.1.1",
|
|
@@ -163,12 +165,14 @@
|
|
|
163
165
|
"raf": "^3.4.1",
|
|
164
166
|
"react": "^17.0.2",
|
|
165
167
|
"react-dom": "^17.0.2",
|
|
168
|
+
"react-markdown": "^8.0.7",
|
|
166
169
|
"react-router-dom": "^6.20.0",
|
|
167
170
|
"react-test-renderer": "^17.0.2",
|
|
168
171
|
"rimraf": "^3.0.2",
|
|
169
|
-
"semantic-release": "^
|
|
172
|
+
"semantic-release": "^22.0.8",
|
|
170
173
|
"semver": "^7.5.4",
|
|
171
174
|
"sprintf-js": "^1.1.3",
|
|
175
|
+
"storybook": "^7.6.4",
|
|
172
176
|
"styled-components": "^4.4.1",
|
|
173
177
|
"typescript": "~4.7.0",
|
|
174
178
|
"typescript-to-proptypes": "^2.2.1",
|
|
@@ -1,231 +0,0 @@
|
|
|
1
|
-
import { pl as plDateLocale } from "../date-fns-locales";
|
|
2
|
-
const isSingular = count => (typeof count === "string" ? parseInt(count) : count) === 1;
|
|
3
|
-
export const PolishPlural = (singularNominativ, pluralNominativ, pluralGenitive, value) => {
|
|
4
|
-
if (value === 1) {
|
|
5
|
-
return singularNominativ;
|
|
6
|
-
}
|
|
7
|
-
if (value % 10 >= 2 && value % 10 <= 4 && (value % 100 < 10 || value % 100 >= 20)) {
|
|
8
|
-
return pluralNominativ;
|
|
9
|
-
}
|
|
10
|
-
return pluralGenitive;
|
|
11
|
-
};
|
|
12
|
-
const translateColor = color => {
|
|
13
|
-
switch (color.toLowerCase()) {
|
|
14
|
-
case "white":
|
|
15
|
-
return "biały";
|
|
16
|
-
case "transparent":
|
|
17
|
-
return "przezroczysty";
|
|
18
|
-
case "black":
|
|
19
|
-
return "czarny";
|
|
20
|
-
case "blue":
|
|
21
|
-
return "niebieski";
|
|
22
|
-
case "pink":
|
|
23
|
-
return "różowy";
|
|
24
|
-
case "purple":
|
|
25
|
-
return "fioletowy";
|
|
26
|
-
case "goldenrod":
|
|
27
|
-
return "złoty";
|
|
28
|
-
case "orchid":
|
|
29
|
-
return "ciemny róż";
|
|
30
|
-
case "desert":
|
|
31
|
-
return "pustynny";
|
|
32
|
-
case "turquoise":
|
|
33
|
-
return "turkusowy";
|
|
34
|
-
case "mint":
|
|
35
|
-
return "miętowy";
|
|
36
|
-
default:
|
|
37
|
-
return color;
|
|
38
|
-
}
|
|
39
|
-
};
|
|
40
|
-
const plPL = {
|
|
41
|
-
locale: () => "pl-PL",
|
|
42
|
-
actions: {
|
|
43
|
-
edit: () => "Edytuj",
|
|
44
|
-
delete: () => "Usuń"
|
|
45
|
-
},
|
|
46
|
-
actionPopover: {
|
|
47
|
-
ariaLabel: () => "akcje"
|
|
48
|
-
},
|
|
49
|
-
advancedColorPicker: {
|
|
50
|
-
ariaLabel: () => "Zmień kolor",
|
|
51
|
-
currentColorDescriptionTerm: currentColor => translateColor(currentColor) === "biały" ? "Aktualny przypisany kolor: " : "Aktualnie przypisany kolor: ",
|
|
52
|
-
currentColorAssigned: currentColor => translateColor(currentColor)
|
|
53
|
-
},
|
|
54
|
-
batchSelection: {
|
|
55
|
-
selected: count => `${count} wybrano`
|
|
56
|
-
},
|
|
57
|
-
breadcrumbs: {
|
|
58
|
-
ariaLabel: () => "okruszki"
|
|
59
|
-
},
|
|
60
|
-
confirm: {
|
|
61
|
-
no: () => "Nie",
|
|
62
|
-
yes: () => "Tak"
|
|
63
|
-
},
|
|
64
|
-
characterCount: {
|
|
65
|
-
tooManyCharacters: (count, formattedCount) => `Masz o ${formattedCount} ${PolishPlural("znak", "znaki", "znaków", count)} za dużo`,
|
|
66
|
-
charactersLeft: (count, formattedCount) => `Masz ${formattedCount} ${PolishPlural("pozostały", "pozostałe", "pozostałych", count)} ${PolishPlural("znak", "znaki", "znaków", count)}`,
|
|
67
|
-
visuallyHiddenHint: formattedCount => `Można wprowadzić do ${formattedCount} znaków`
|
|
68
|
-
},
|
|
69
|
-
date: {
|
|
70
|
-
dateFnsLocale: () => plDateLocale,
|
|
71
|
-
ariaLabels: {
|
|
72
|
-
previousMonthButton: () => "Poprzedni miesiąc",
|
|
73
|
-
nextMonthButton: () => "Następny miesiąc"
|
|
74
|
-
}
|
|
75
|
-
},
|
|
76
|
-
dialog: {
|
|
77
|
-
ariaLabels: {
|
|
78
|
-
close: () => "Zamknij"
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
dialogFullScreen: {
|
|
82
|
-
ariaLabels: {
|
|
83
|
-
close: () => "Zamknij"
|
|
84
|
-
}
|
|
85
|
-
},
|
|
86
|
-
dismissibleBox: {
|
|
87
|
-
ariaLabels: {
|
|
88
|
-
close: () => "Zamknij"
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
|
-
errors: {
|
|
92
|
-
messages: {
|
|
93
|
-
formSummary: /* istanbul ignore next */
|
|
94
|
-
(errors, warnings, type) => {
|
|
95
|
-
const errorPlural = isSingular(errors) ? "błąd" : "błędy";
|
|
96
|
-
const warningPlural = isSingular(warnings) ? "ostrzerzenie" : "ostrzerzenia";
|
|
97
|
-
if (errors && warnings && type === "warnings") {
|
|
98
|
-
return [`oraz`, `${warnings} ${warningPlural}`];
|
|
99
|
-
}
|
|
100
|
-
if (errors) {
|
|
101
|
-
return ["Znaleziono", `${errors} ${errorPlural}`];
|
|
102
|
-
}
|
|
103
|
-
if (warnings) {
|
|
104
|
-
return ["Znaleziono", `${warnings} ${warningPlural}`];
|
|
105
|
-
}
|
|
106
|
-
return null;
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
},
|
|
110
|
-
fileInput: {
|
|
111
|
-
dragAndDrop: () => "lub przeciągnij i upuść plik",
|
|
112
|
-
selectFile: () => "Wybierz pliki",
|
|
113
|
-
fileUploadStatus: () => "Status przesyłania plików",
|
|
114
|
-
actions: {
|
|
115
|
-
cancel: () => "Anuluj przesyłanie",
|
|
116
|
-
clear: () => "Wyczyść",
|
|
117
|
-
delete: () => "Usuń plik"
|
|
118
|
-
}
|
|
119
|
-
},
|
|
120
|
-
heading: {
|
|
121
|
-
backLinkAriaLabel: () => "Wstecz"
|
|
122
|
-
},
|
|
123
|
-
link: {
|
|
124
|
-
skipLinkLabel: () => "Przejdź do treści"
|
|
125
|
-
},
|
|
126
|
-
loader: {
|
|
127
|
-
loading: () => "Ładowanie"
|
|
128
|
-
},
|
|
129
|
-
message: {
|
|
130
|
-
closeButtonAriaLabel: () => "Zamknij"
|
|
131
|
-
},
|
|
132
|
-
numeralDate: {
|
|
133
|
-
validation: {
|
|
134
|
-
day: (month, daysInMonth) => {
|
|
135
|
-
if (month && daysInMonth) {
|
|
136
|
-
return `Dzień W ${month} musi być liczbą zakresie 1-${daysInMonth}.`;
|
|
137
|
-
}
|
|
138
|
-
return "Dzień musi być liczbą w zakresie 1-31.";
|
|
139
|
-
},
|
|
140
|
-
month: () => "Miesiąć musi być liczbą w zakresie 1-12.",
|
|
141
|
-
year: () => "Rok musi być liczbą w zakresie 1800-2200."
|
|
142
|
-
},
|
|
143
|
-
labels: {
|
|
144
|
-
day: () => "Dzień",
|
|
145
|
-
month: () => "Miesiąć",
|
|
146
|
-
year: () => "Rok"
|
|
147
|
-
}
|
|
148
|
-
},
|
|
149
|
-
pager: {
|
|
150
|
-
show: () => "Pokaż",
|
|
151
|
-
records: (count, showNumber = true) => {
|
|
152
|
-
const noun = isSingular(count) ? "rzecz" : "rzeczy";
|
|
153
|
-
return showNumber ? `${count} ${noun}` : noun;
|
|
154
|
-
},
|
|
155
|
-
first: () => "Pierwsza",
|
|
156
|
-
last: () => "Ostatnia",
|
|
157
|
-
next: () => "Następna",
|
|
158
|
-
previous: () => "Poprzednia",
|
|
159
|
-
pageX: () => "Strona",
|
|
160
|
-
ofY: count => `z ${count}`
|
|
161
|
-
},
|
|
162
|
-
password: {
|
|
163
|
-
ariaLiveShownMessage: () => "Zostało wyświetlone Twoje hasło. Skup się na haśle, aby je odczytać, jeśli jest to bezpieczne.",
|
|
164
|
-
ariaLiveHiddenMessage: () => "Twoje hasło jest obecnie ukryte."
|
|
165
|
-
},
|
|
166
|
-
progressTracker: {
|
|
167
|
-
of: () => "z"
|
|
168
|
-
},
|
|
169
|
-
pod: {
|
|
170
|
-
undo: () => "Cofnąć"
|
|
171
|
-
},
|
|
172
|
-
select: {
|
|
173
|
-
actionButtonText: () => "Dodaj nowy element",
|
|
174
|
-
placeholder: () => "Proszę wybierz...",
|
|
175
|
-
noResultsForTerm: term => `Brak wyników dla "${term}"`
|
|
176
|
-
},
|
|
177
|
-
sidebar: {
|
|
178
|
-
ariaLabels: {
|
|
179
|
-
close: () => "Zamknij"
|
|
180
|
-
}
|
|
181
|
-
},
|
|
182
|
-
splitButton: {
|
|
183
|
-
ariaLabel: () => "Pokaż więcej"
|
|
184
|
-
},
|
|
185
|
-
stepFlow: {
|
|
186
|
-
stepLabel: (currentStep, totalSteps) => `Krok ${currentStep} z ${totalSteps}`,
|
|
187
|
-
screenReaderOnlyTitle: (title, currentStep, totalSteps, category) => `${category ? `${category}.` : ""}. ${title}. Krok ${currentStep} of ${totalSteps}.`,
|
|
188
|
-
closeIconAriaLabel: () => "Zamknij"
|
|
189
|
-
},
|
|
190
|
-
switch: {
|
|
191
|
-
on: () => "WŁ",
|
|
192
|
-
off: () => "WYŁ"
|
|
193
|
-
},
|
|
194
|
-
textEditor: {
|
|
195
|
-
tooltipMessages: {
|
|
196
|
-
bold: () => "Pogrubiony",
|
|
197
|
-
italic: () => "Kursywa",
|
|
198
|
-
bulletList: () => "Lista Punktowana",
|
|
199
|
-
numberList: () => "Lista Numerowana"
|
|
200
|
-
},
|
|
201
|
-
ariaLabels: {
|
|
202
|
-
bold: () => "pogrubiony",
|
|
203
|
-
italic: () => "kursywa",
|
|
204
|
-
bulletList: () => "lista-punktowana",
|
|
205
|
-
numberList: () => "lista-numerowana"
|
|
206
|
-
}
|
|
207
|
-
},
|
|
208
|
-
tileSelect: {
|
|
209
|
-
deselect: () => "Odznacz"
|
|
210
|
-
},
|
|
211
|
-
time: {
|
|
212
|
-
amText: () => "AM",
|
|
213
|
-
pmText: () => "PM",
|
|
214
|
-
hoursLabelText: () => "Hrs.",
|
|
215
|
-
minutesLabelText: () => "Min.",
|
|
216
|
-
hoursAriaLabelText: () => "Godziny",
|
|
217
|
-
minutesAriaLabelText: () => "Minuty"
|
|
218
|
-
},
|
|
219
|
-
toast: {
|
|
220
|
-
ariaLabels: {
|
|
221
|
-
close: () => "Zamknij"
|
|
222
|
-
}
|
|
223
|
-
},
|
|
224
|
-
verticalMenuFullScreen: {
|
|
225
|
-
ariaLabels: {
|
|
226
|
-
close: () => "Zamknij"
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
};
|
|
230
|
-
export { PolishPlural as PolishPlurals };
|
|
231
|
-
export default plPL;
|