@digigov/ui 0.35.2 → 0.35.4
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/CHANGELOG.md +18 -1
- package/admin/AccessibilityMenu/index.d.ts +1 -1
- package/admin/AutoComplete/index.d.ts +1 -2
- package/admin/AutoComplete/index.js +3 -9
- package/admin/Chip/Chip.stories.d.ts +12 -0
- package/admin/Chip/Chip.stories.js +88 -0
- package/admin/Chip/__stories__/ClickableChip.d.ts +2 -0
- package/admin/Chip/__stories__/ClickableChip.js +24 -0
- package/admin/Chip/__stories__/ClickableDeletableChip.d.ts +2 -0
- package/admin/Chip/__stories__/ClickableDeletableChip.js +27 -0
- package/admin/Chip/__stories__/Default.d.ts +2 -0
- package/admin/Chip/__stories__/Default.js +22 -0
- package/admin/Chip/__stories__/DeletableChip.d.ts +2 -0
- package/admin/Chip/__stories__/DeletableChip.js +24 -0
- package/admin/Chip/__stories__/GroupOfChips.d.ts +2 -0
- package/admin/Chip/__stories__/GroupOfChips.js +28 -0
- package/admin/Chip/index.d.ts +0 -1
- package/admin/Chip/index.js +0 -14
- package/admin/Dropdown/index.d.ts +1 -1
- package/admin/Modal/index.d.ts +2 -2
- package/admin/Pagination/Pagination.stories.d.ts +1 -0
- package/admin/Pagination/Pagination.stories.js +14 -0
- package/admin/Pagination/__stories__/PaginationWithSmallFont.d.ts +2 -0
- package/admin/Pagination/__stories__/PaginationWithSmallFont.js +62 -0
- package/admin/Pagination/index.d.ts +1 -1
- package/admin/StepNav/__stories__/Default.js +5 -7
- package/admin/StepNav/index.d.ts +2 -4
- package/admin/StepNav/index.js +3 -19
- package/app/BottomInfoContainer/index.d.ts +1 -1
- package/app/BottomInfoContent/index.d.ts +1 -1
- package/app/Header/Header.stories.playwright.json +16 -0
- package/core/Accordion/index.d.ts +3 -3
- package/core/Button/BackButton.d.ts +1 -1
- package/core/Checkbox/__stories__/ConditionalReveal.js +2 -2
- package/core/Checkbox/__stories__/Default.js +3 -3
- package/core/Checkbox/__stories__/MultipleQuestions.js +3 -3
- package/core/Checkbox/__stories__/NoneAnswer.js +3 -4
- package/core/Checkbox/__stories__/NoneAnswerWithError.js +6 -7
- package/core/Checkbox/__stories__/WithErrorMessage.js +4 -4
- package/core/Checkbox/__stories__/WithHint.js +6 -6
- package/core/Divider/index.d.ts +2 -1
- package/core/Divider/index.js +16 -0
- package/core/RadioContainer/__stories__/NoneAnswer.js +8 -9
- package/core/RadioContainer/__stories__/WithErrorMessage.js +4 -4
- package/core/Table/index.d.ts +1 -1
- package/es/admin/AutoComplete/index.js +4 -3
- package/es/admin/Chip/Chip.stories.js +12 -0
- package/es/admin/Chip/__stories__/ClickableChip.js +10 -0
- package/es/admin/Chip/__stories__/ClickableDeletableChip.js +13 -0
- package/es/admin/Chip/__stories__/Default.js +9 -0
- package/es/admin/Chip/__stories__/DeletableChip.js +10 -0
- package/es/admin/Chip/__stories__/GroupOfChips.js +9 -0
- package/es/admin/Chip/index.js +0 -1
- package/es/admin/Pagination/Pagination.stories.js +2 -1
- package/es/admin/Pagination/__stories__/PaginationWithSmallFont.js +44 -0
- package/es/admin/StepNav/__stories__/Default.js +6 -8
- package/es/admin/StepNav/index.js +2 -4
- package/es/app/Header/Header.stories.playwright.json +16 -0
- package/es/core/Checkbox/__stories__/ConditionalReveal.js +2 -2
- package/es/core/Checkbox/__stories__/Default.js +3 -3
- package/es/core/Checkbox/__stories__/MultipleQuestions.js +3 -3
- package/es/core/Checkbox/__stories__/NoneAnswer.js +3 -4
- package/es/core/Checkbox/__stories__/NoneAnswerWithError.js +6 -7
- package/es/core/Checkbox/__stories__/WithErrorMessage.js +4 -4
- package/es/core/Checkbox/__stories__/WithHint.js +6 -6
- package/es/core/Divider/index.js +1 -0
- package/es/core/RadioContainer/__stories__/NoneAnswer.js +8 -9
- package/es/core/RadioContainer/__stories__/WithErrorMessage.js +4 -4
- package/es/locales/el.js +14 -0
- package/es/locales/en.js +14 -0
- package/es/registry.js +3 -0
- package/esm/admin/AutoComplete/index.js +4 -3
- package/esm/admin/Chip/Chip.stories.js +12 -0
- package/esm/admin/Chip/__stories__/ClickableChip.js +10 -0
- package/esm/admin/Chip/__stories__/ClickableDeletableChip.js +13 -0
- package/esm/admin/Chip/__stories__/Default.js +9 -0
- package/esm/admin/Chip/__stories__/DeletableChip.js +10 -0
- package/esm/admin/Chip/__stories__/GroupOfChips.js +9 -0
- package/esm/admin/Chip/index.js +0 -1
- package/esm/admin/Pagination/Pagination.stories.js +2 -1
- package/esm/admin/Pagination/__stories__/PaginationWithSmallFont.js +44 -0
- package/esm/admin/StepNav/__stories__/Default.js +6 -8
- package/esm/admin/StepNav/index.js +2 -4
- package/esm/app/Header/Header.stories.playwright.json +16 -0
- package/esm/core/Checkbox/__stories__/ConditionalReveal.js +2 -2
- package/esm/core/Checkbox/__stories__/Default.js +3 -3
- package/esm/core/Checkbox/__stories__/MultipleQuestions.js +3 -3
- package/esm/core/Checkbox/__stories__/NoneAnswer.js +3 -4
- package/esm/core/Checkbox/__stories__/NoneAnswerWithError.js +6 -7
- package/esm/core/Checkbox/__stories__/WithErrorMessage.js +4 -4
- package/esm/core/Checkbox/__stories__/WithHint.js +6 -6
- package/esm/core/Divider/index.js +1 -0
- package/esm/core/RadioContainer/__stories__/NoneAnswer.js +8 -9
- package/esm/core/RadioContainer/__stories__/WithErrorMessage.js +4 -4
- package/esm/index.js +1 -1
- package/esm/locales/el.js +14 -0
- package/esm/locales/en.js +14 -0
- package/esm/registry.js +3 -0
- package/layouts/Basic/Content/index.d.ts +1 -1
- package/layouts/Basic/Side/index.d.ts +1 -1
- package/locales/el.d.ts +14 -0
- package/locales/el.js +14 -0
- package/locales/en.d.ts +14 -0
- package/locales/en.js +14 -0
- package/package.json +3 -3
- package/registry.d.ts +2 -0
- package/registry.js +4 -0
- package/src/admin/AutoComplete/index.tsx +3 -3
- package/src/admin/Chip/Chip.stories.js +12 -0
- package/src/admin/Chip/__stories__/ClickableChip.tsx +16 -0
- package/src/admin/Chip/__stories__/ClickableDeletableChip.tsx +19 -0
- package/src/admin/Chip/__stories__/Default.tsx +10 -0
- package/src/admin/Chip/__stories__/DeletableChip.tsx +16 -0
- package/src/admin/Chip/__stories__/GroupOfChips.tsx +15 -0
- package/src/admin/Chip/index.tsx +0 -1
- package/src/admin/Pagination/Pagination.stories.js +1 -0
- package/src/admin/Pagination/__stories__/PaginationWithSmallFont.tsx +66 -0
- package/src/admin/StepNav/__stories__/Default.tsx +9 -23
- package/src/admin/StepNav/index.tsx +2 -6
- package/src/app/Header/Header.stories.playwright.json +16 -0
- package/src/core/Checkbox/__stories__/ConditionalReveal.tsx +2 -2
- package/src/core/Checkbox/__stories__/Default.tsx +3 -3
- package/src/core/Checkbox/__stories__/MultipleQuestions.tsx +3 -3
- package/src/core/Checkbox/__stories__/NoneAnswer.tsx +1 -2
- package/src/core/Checkbox/__stories__/NoneAnswerWithError.tsx +3 -4
- package/src/core/Checkbox/__stories__/WithErrorMessage.tsx +2 -2
- package/src/core/Checkbox/__stories__/WithHint.tsx +3 -3
- package/src/core/Divider/index.tsx +1 -0
- package/src/core/RadioContainer/__stories__/NoneAnswer.tsx +3 -4
- package/src/core/RadioContainer/__stories__/WithErrorMessage.tsx +2 -2
- package/src/locales/el.ts +14 -0
- package/src/locales/en.ts +14 -0
- package/src/registry.js +3 -0
- package/typography/Caption/index.d.ts +1 -1
package/core/Divider/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { SectionBreakProps as CoreSectionBreakProps } from '@digigov/react-core/SectionBreak';
|
|
3
|
+
export * from '@digigov/react-core/ChoiceDivider';
|
|
3
4
|
export declare type DividerProps = CoreSectionBreakProps;
|
|
4
|
-
export declare const Divider: import("react").ForwardRefExoticComponent<Pick<CoreSectionBreakProps, "slot" | "style" | "title" | "as" | "className" | "color" | "id" | "lang" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "size" | "margin" | "marginTop" | "marginBottom" | "marginLeft" | "marginRight" | "padding" | "paddingTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "printHidden" | "xsUpHidden" | "smUpHidden" | "mdUpHidden" | "lgUpHidden" | "xlUpHidden" | "xsHidden" | "smHidden" | "mdHidden" | "lgHidden" | "xlHidden" | "visible"> & import("react").RefAttributes<HTMLHRElement>>;
|
|
5
|
+
export declare const Divider: import("react").ForwardRefExoticComponent<Pick<CoreSectionBreakProps, "slot" | "style" | "title" | "as" | "className" | "color" | "id" | "lang" | "role" | "tabIndex" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "size" | "margin" | "marginTop" | "marginBottom" | "marginLeft" | "marginRight" | "padding" | "paddingTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "printHidden" | "printVisible" | "xsUpHidden" | "smUpHidden" | "mdUpHidden" | "lgUpHidden" | "xlUpHidden" | "xsHidden" | "smHidden" | "mdHidden" | "lgHidden" | "xlHidden" | "visible"> & import("react").RefAttributes<HTMLHRElement>>;
|
|
5
6
|
export default Divider;
|
package/core/Divider/index.js
CHANGED
|
@@ -5,12 +5,28 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
+
var _exportNames = {
|
|
9
|
+
Divider: true
|
|
10
|
+
};
|
|
8
11
|
exports["default"] = exports.Divider = void 0;
|
|
9
12
|
|
|
10
13
|
var _SectionBreak = _interopRequireDefault(require("@digigov/react-core/SectionBreak"));
|
|
11
14
|
|
|
12
15
|
var _withDeprecation = _interopRequireDefault(require("@digigov/ui/utils/withDeprecation"));
|
|
13
16
|
|
|
17
|
+
var _ChoiceDivider = require("@digigov/react-core/ChoiceDivider");
|
|
18
|
+
|
|
19
|
+
Object.keys(_ChoiceDivider).forEach(function (key) {
|
|
20
|
+
if (key === "default" || key === "__esModule") return;
|
|
21
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
22
|
+
if (key in exports && exports[key] === _ChoiceDivider[key]) return;
|
|
23
|
+
Object.defineProperty(exports, key, {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
get: function get() {
|
|
26
|
+
return _ChoiceDivider[key];
|
|
27
|
+
}
|
|
28
|
+
});
|
|
29
|
+
});
|
|
14
30
|
var Divider = (0, _withDeprecation["default"])(_SectionBreak["default"], {
|
|
15
31
|
name: 'Divider',
|
|
16
32
|
rename: 'SectionBreak'
|
|
@@ -14,16 +14,15 @@ var _RadioContainer = require("@digigov/ui/core/RadioContainer");
|
|
|
14
14
|
var _FieldContainer = require("@digigov/ui/core/FieldContainer");
|
|
15
15
|
|
|
16
16
|
var _ref = /*#__PURE__*/_react["default"].createElement(_FieldContainer.FieldContainer, null, /*#__PURE__*/_react["default"].createElement(_FieldContainer.Fieldset, null, /*#__PURE__*/_react["default"].createElement(_FieldContainer.FieldsetLegend, null, "\u03A0\u03CC\u03C3\u03B1 \u03C0\u03B1\u03B9\u03B4\u03B9\u03AC \u03AD\u03C7\u03B5\u03C4\u03B5;"), /*#__PURE__*/_react["default"].createElement(_RadioContainer.RadioContainer, null, /*#__PURE__*/_react["default"].createElement(_RadioContainer.RadioItem, {
|
|
17
|
-
name: "
|
|
18
|
-
value: "
|
|
17
|
+
name: "children",
|
|
18
|
+
value: "onetwo"
|
|
19
19
|
}, "1-2 \u03C0\u03B1\u03B9\u03B4\u03B9\u03AC"), /*#__PURE__*/_react["default"].createElement(_RadioContainer.RadioItem, {
|
|
20
|
-
name: "
|
|
21
|
-
value: "
|
|
22
|
-
}, "3 \u03AE \u03C0\u03B5\u03C1\u03B9\u03C3\u03C3\u03CC\u03C4\u03B5\u03C1\u03B1 \u03C0\u03B1\u03B9\u03B4\u03B9\u03AC"), /*#__PURE__*/_react["default"].createElement(
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
value: "fatigue"
|
|
20
|
+
name: "children",
|
|
21
|
+
value: "threefour"
|
|
22
|
+
}, "3 \u03AE \u03C0\u03B5\u03C1\u03B9\u03C3\u03C3\u03CC\u03C4\u03B5\u03C1\u03B1 \u03C0\u03B1\u03B9\u03B4\u03B9\u03AC"), /*#__PURE__*/_react["default"].createElement(_RadioContainer.RadioItem, {
|
|
23
|
+
divider: "\u03AE",
|
|
24
|
+
name: "children",
|
|
25
|
+
value: "none"
|
|
27
26
|
}, "\u039A\u03B1\u03BD\u03AD\u03BD\u03B1 \u03C0\u03B1\u03B9\u03B4\u03AF"))));
|
|
28
27
|
|
|
29
28
|
var NoneAnswer = function NoneAnswer() {
|
|
@@ -28,11 +28,11 @@ var _ref = /*#__PURE__*/_react["default"].createElement(_FieldContainer.FieldCon
|
|
|
28
28
|
}, "\u039C\u03C0\u03BF\u03C1\u03B5\u03AF\u03C4\u03B5 \u03BD\u03B1 \u03B5\u03C0\u03B9\u03BB\u03AD\u03BE\u03B5\u03C4\u03B5 \u03BC\u03CC\u03BD\u03BF \u03BC\u03AF\u03B1 \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE."), /*#__PURE__*/_react["default"].createElement(_ErrorMessage.ErrorMessage, {
|
|
29
29
|
id: "travel-error"
|
|
30
30
|
}, /*#__PURE__*/_react["default"].createElement(_VisuallyHidden.VisuallyHidden, null, "\u039B\u03AC\u03B8\u03BF\u03C2:"), " \u03A0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03B5\u03C0\u03B9\u03BB\u03AD\u03BE\u03B5\u03C4\u03B5 \u03BC\u03B9\u03B1 \u03B1\u03C0\u03AC\u03BD\u03C4\u03B7\u03C3\u03B7."), /*#__PURE__*/_react["default"].createElement(_RadioContainer.RadioContainer, null, /*#__PURE__*/_react["default"].createElement(_RadioContainer.RadioItem, {
|
|
31
|
-
name: "
|
|
32
|
-
value: "
|
|
31
|
+
name: "country",
|
|
32
|
+
value: "en"
|
|
33
33
|
}, "\u0391\u03B3\u03B3\u03BB\u03AF\u03B1"), /*#__PURE__*/_react["default"].createElement(_RadioContainer.RadioItem, {
|
|
34
|
-
name: "
|
|
35
|
-
value: "
|
|
34
|
+
name: "country",
|
|
35
|
+
value: "fr"
|
|
36
36
|
}, "\u0393\u03B1\u03BB\u03BB\u03AF\u03B1"))));
|
|
37
37
|
|
|
38
38
|
var WithErrorMessage = function WithErrorMessage() {
|
package/core/Table/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export interface TableSortLabelProps extends DropdownProps {
|
|
|
11
11
|
direction?: SortDirection;
|
|
12
12
|
onSort: (direction: SortDirection) => void;
|
|
13
13
|
}
|
|
14
|
-
export declare const TableSortLabel: React.ForwardRefExoticComponent<Pick<TableSortLabelProps, "slot" | "style" | "title" | "as" | "className" | "color" | "id" | "lang" | "role" | "tabIndex" | "direction" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "disabled" | "open" | "onToggle" | "align" | "margin" | "marginTop" | "marginBottom" | "marginLeft" | "marginRight" | "padding" | "paddingTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "printHidden" | "xsUpHidden" | "smUpHidden" | "mdUpHidden" | "lgUpHidden" | "xlUpHidden" | "xsHidden" | "smHidden" | "mdHidden" | "lgHidden" | "xlHidden" | "placement" | "closeBehaviour" | "float" | "labels" | "onSort"> & React.RefAttributes<HTMLDetailsElement>>;
|
|
14
|
+
export declare const TableSortLabel: React.ForwardRefExoticComponent<Pick<TableSortLabelProps, "slot" | "style" | "title" | "as" | "className" | "color" | "id" | "lang" | "role" | "tabIndex" | "direction" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "disabled" | "open" | "onToggle" | "align" | "margin" | "marginTop" | "marginBottom" | "marginLeft" | "marginRight" | "padding" | "paddingTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "printHidden" | "printVisible" | "xsUpHidden" | "smUpHidden" | "mdUpHidden" | "lgUpHidden" | "xlUpHidden" | "xsHidden" | "smHidden" | "mdHidden" | "lgHidden" | "xlHidden" | "placement" | "closeBehaviour" | "float" | "labels" | "onSort"> & React.RefAttributes<HTMLDetailsElement>>;
|
|
15
15
|
export * from '@digigov/react-core/TableContainer';
|
|
16
16
|
export * from '@digigov/react-core/Table';
|
|
17
17
|
export * from '@digigov/react-core/TableBody';
|
|
@@ -13,7 +13,6 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
|
|
|
13
13
|
import React from 'react';
|
|
14
14
|
import AutoCompleteInput from '@digigov/react-extensions/admin/AutoCompleteInput';
|
|
15
15
|
import AutoCompleteInputTypeahead from '@digigov/react-extensions/admin/AutoCompleteInputTypeahead';
|
|
16
|
-
import AutoCompleteNoResult from '@digigov/react-extensions/admin/AutoCompleteNoResult';
|
|
17
16
|
import AutoCompleteResultList from '@digigov/react-extensions/admin/AutoCompleteResultList';
|
|
18
17
|
import AutoCompleteResultListItem from '@digigov/react-extensions/admin/AutoCompleteResultListItem';
|
|
19
18
|
import AutoCompleteWrapper from '@digigov/react-extensions/admin/AutoCompleteWrapper';
|
|
@@ -611,7 +610,9 @@ var AutoComplete = /*#__PURE__*/function (_Component) {
|
|
|
611
610
|
"aria-posinset": index + 1,
|
|
612
611
|
"aria-setsize": options.length
|
|
613
612
|
}, _this7.templateSuggestion(option), " ", iosPosinsetHtml);
|
|
614
|
-
}), showNoOptionsFound && /*#__PURE__*/React.createElement(
|
|
613
|
+
}), showNoOptionsFound && /*#__PURE__*/React.createElement(AutoCompleteResultListItem, {
|
|
614
|
+
empty: true
|
|
615
|
+
}, tNoResults === null || tNoResults === void 0 ? void 0 : tNoResults())), /*#__PURE__*/React.createElement(AutoCompleteAssistiveHint, {
|
|
615
616
|
id: assistiveHintID
|
|
616
617
|
}, tAssistiveHint === null || tAssistiveHint === void 0 ? void 0 : tAssistiveHint()));
|
|
617
618
|
}
|
|
@@ -644,4 +645,4 @@ AutoComplete.defaultProps = {
|
|
|
644
645
|
dropdownArrow: DropdownArrowDown
|
|
645
646
|
};
|
|
646
647
|
export { AutoComplete as default };
|
|
647
|
-
export { AutoComplete, AutoCompleteInput, AutoCompleteInputTypeahead,
|
|
648
|
+
export { AutoComplete, AutoCompleteInput, AutoCompleteInputTypeahead, AutoCompleteResultList, AutoCompleteResultListItem, AutoCompleteWrapper, AutoCompleteAssistiveHint };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import Chip from '@digigov/ui/admin/Chip';
|
|
2
|
+
export default {
|
|
3
|
+
title: 'Digigov UI/admin/Chip',
|
|
4
|
+
component: Chip,
|
|
5
|
+
displayName: 'Chip'
|
|
6
|
+
}; // eslint-disable-next-line digigov/no-relative-import
|
|
7
|
+
|
|
8
|
+
export * from '@digigov/ui/admin/Chip/__stories__/Default';
|
|
9
|
+
export * from '@digigov/ui/admin/Chip/__stories__/ClickableChip';
|
|
10
|
+
export * from '@digigov/ui/admin/Chip/__stories__/DeletableChip';
|
|
11
|
+
export * from '@digigov/ui/admin/Chip/__stories__/ClickableDeletableChip';
|
|
12
|
+
export * from '@digigov/ui/admin/Chip/__stories__/GroupOfChips';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Chip from '@digigov/ui/admin/Chip';
|
|
3
|
+
export var ClickableChip = function ClickableChip() {
|
|
4
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Chip, {
|
|
5
|
+
onClick: function onClick() {
|
|
6
|
+
console.log('clicked');
|
|
7
|
+
}
|
|
8
|
+
}, "\u0391\u03B8\u03AE\u03BD\u03B1"));
|
|
9
|
+
};
|
|
10
|
+
export default ClickableChip;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Chip from '@digigov/ui/admin/Chip';
|
|
3
|
+
export var ClickableDeletableChip = function ClickableDeletableChip() {
|
|
4
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Chip, {
|
|
5
|
+
onClick: function onClick() {
|
|
6
|
+
console.log('clicked');
|
|
7
|
+
},
|
|
8
|
+
onDelete: function onDelete() {
|
|
9
|
+
console.log('remove chip');
|
|
10
|
+
}
|
|
11
|
+
}, "\u0391\u03B8\u03AE\u03BD\u03B1"));
|
|
12
|
+
};
|
|
13
|
+
export default ClickableDeletableChip;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Chip from '@digigov/ui/admin/Chip';
|
|
3
|
+
|
|
4
|
+
var _ref = /*#__PURE__*/React.createElement(Chip, null, "\u0391\u03B8\u03AE\u03BD\u03B1");
|
|
5
|
+
|
|
6
|
+
export var Default = function Default() {
|
|
7
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, _ref);
|
|
8
|
+
};
|
|
9
|
+
export default Default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Chip from '@digigov/ui/admin/Chip';
|
|
3
|
+
export var DeletableChip = function DeletableChip() {
|
|
4
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Chip, {
|
|
5
|
+
onDelete: function onDelete() {
|
|
6
|
+
console.log('remove chip');
|
|
7
|
+
}
|
|
8
|
+
}, "\u0391\u03B8\u03AE\u03BD\u03B1"));
|
|
9
|
+
};
|
|
10
|
+
export default DeletableChip;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Chip, { ChipSection } from '@digigov/ui/admin/Chip';
|
|
3
|
+
|
|
4
|
+
var _ref = /*#__PURE__*/React.createElement(ChipSection, null, /*#__PURE__*/React.createElement(Chip, null, "\u0391\u03B8\u03AE\u03BD\u03B1"), /*#__PURE__*/React.createElement(Chip, null, "\u0398\u03B5\u03C3\u03C3\u03B1\u03BB\u03BF\u03BD\u03AF\u03BA\u03B7"), /*#__PURE__*/React.createElement(Chip, null, "\u039A\u03C1\u03AE\u03C4\u03B7"), /*#__PURE__*/React.createElement(Chip, null, "\u03A0\u03AC\u03C4\u03C1\u03B1"));
|
|
5
|
+
|
|
6
|
+
export var GroupOfChips = function GroupOfChips() {
|
|
7
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, _ref);
|
|
8
|
+
};
|
|
9
|
+
export default GroupOfChips;
|
package/es/admin/Chip/index.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export * from '@digigov/react-extensions/admin/Chip';
|
|
2
2
|
export * from '@digigov/react-extensions/admin/ChipHeading';
|
|
3
3
|
export * from '@digigov/react-extensions/admin/ChipSection';
|
|
4
|
-
export * from '@digigov/react-extensions/admin/ChipSectionHorizontal';
|
|
5
4
|
export * from '@digigov/react-extensions/admin/ChipSectionWrapper';
|
|
6
5
|
export * from '@digigov/react-extensions/admin/ChipKeyValue';
|
|
7
6
|
import Chip from '@digigov/react-extensions/admin/Chip';
|
|
@@ -9,4 +9,5 @@ export default {
|
|
|
9
9
|
export * from '@digigov/ui/admin/Pagination/__stories__/Default';
|
|
10
10
|
export * from '@digigov/ui/admin/Pagination/__stories__/WithInactiveValues';
|
|
11
11
|
export * from '@digigov/ui/admin/Pagination/__stories__/WithResultsPerPage';
|
|
12
|
-
export * from '@digigov/ui/admin/Pagination/__stories__/PaginationSmall';
|
|
12
|
+
export * from '@digigov/ui/admin/Pagination/__stories__/PaginationSmall';
|
|
13
|
+
export * from '@digigov/ui/admin/Pagination/__stories__/PaginationWithSmallFont';
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Pagination, PaginationList, PaginationListItem, PaginationLabel } from '@digigov/ui/admin/Pagination';
|
|
3
|
+
import { SelectContainer, SelectOption } from '@digigov/ui/core/SelectContainer';
|
|
4
|
+
import { ArrowIcon } from '@digigov/ui/core/SvgIcon';
|
|
5
|
+
import { Link } from '@digigov/ui/core/Link';
|
|
6
|
+
import { I18NProvider } from '@digigov/ui/app/i18n';
|
|
7
|
+
import { LabelContainer } from '@digigov/react-core';
|
|
8
|
+
|
|
9
|
+
var _ref = /*#__PURE__*/React.createElement(Pagination, {
|
|
10
|
+
fontSize: "sm"
|
|
11
|
+
}, /*#__PURE__*/React.createElement(PaginationLabel, {
|
|
12
|
+
start: 1,
|
|
13
|
+
end: 10,
|
|
14
|
+
total: 15
|
|
15
|
+
}), /*#__PURE__*/React.createElement(LabelContainer, null, "\u0391\u03C0\u03BF\u03C4\u03B5\u03BB\u03AD\u03C3\u03BC\u03B1\u03C4\u03B1 \u03B1\u03BD\u03AC \u03C3\u03B5\u03BB\u03AF\u03B4\u03B1", /*#__PURE__*/React.createElement(SelectContainer, null, /*#__PURE__*/React.createElement(SelectOption, null, "5"), /*#__PURE__*/React.createElement(SelectOption, null, "10"), /*#__PURE__*/React.createElement(SelectOption, null, "15"))), /*#__PURE__*/React.createElement(PaginationList, null, /*#__PURE__*/React.createElement(PaginationListItem, null, /*#__PURE__*/React.createElement(Link, null, /*#__PURE__*/React.createElement(ArrowIcon, {
|
|
16
|
+
direction: "left"
|
|
17
|
+
}), "\u03A0\u03C1\u03BF\u03B7\u03B3\u03BF\u03CD\u03BC\u03B5\u03BD\u03BF")), /*#__PURE__*/React.createElement(PaginationListItem, null, /*#__PURE__*/React.createElement(Link, {
|
|
18
|
+
href: "#page1"
|
|
19
|
+
}, "1")), /*#__PURE__*/React.createElement(PaginationListItem, {
|
|
20
|
+
variant: "dots"
|
|
21
|
+
}), /*#__PURE__*/React.createElement(PaginationListItem, null, /*#__PURE__*/React.createElement(Link, {
|
|
22
|
+
href: "#page2"
|
|
23
|
+
}, "2")), /*#__PURE__*/React.createElement(PaginationListItem, {
|
|
24
|
+
currentPage: true
|
|
25
|
+
}, "8"), /*#__PURE__*/React.createElement(PaginationListItem, null, /*#__PURE__*/React.createElement(Link, {
|
|
26
|
+
href: "#page9"
|
|
27
|
+
}, "9")), /*#__PURE__*/React.createElement(PaginationListItem, {
|
|
28
|
+
variant: "dots"
|
|
29
|
+
}), /*#__PURE__*/React.createElement(PaginationListItem, null, /*#__PURE__*/React.createElement(Link, {
|
|
30
|
+
href: "#page20"
|
|
31
|
+
}, "20")), /*#__PURE__*/React.createElement(PaginationListItem, null, /*#__PURE__*/React.createElement(Link, null, "\u0395\u03C0\u03CC\u03BC\u03B5\u03BD\u03BF", /*#__PURE__*/React.createElement(ArrowIcon, {
|
|
32
|
+
direction: "right"
|
|
33
|
+
})))));
|
|
34
|
+
|
|
35
|
+
export var PaginationWithSmallFont = function PaginationWithSmallFont() {
|
|
36
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
37
|
+
className: "example"
|
|
38
|
+
}, /*#__PURE__*/React.createElement(I18NProvider, {
|
|
39
|
+
t: function t(str) {
|
|
40
|
+
return str;
|
|
41
|
+
}
|
|
42
|
+
}, _ref));
|
|
43
|
+
};
|
|
44
|
+
export default PaginationWithSmallFont;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
|
|
2
2
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
3
3
|
import React, { useState, useEffect } from 'react';
|
|
4
|
-
import { StepNav,
|
|
4
|
+
import { StepNav, StepNavCircleNumber, StepNavControls, StepNavList, StepNavListItem, StepNavAccordion, StepNavAccordionContent, StepNavAccordionSummary, StepNavAccordionSummaryHeading, StepNavAccordionHeadingTitle, StepNavAccordionHeadingText } from '@digigov/ui/admin/StepNav';
|
|
5
5
|
import { Paragraph } from '@digigov/ui/typography/Paragraph';
|
|
6
6
|
import { List } from '@digigov/ui/core/List/List';
|
|
7
7
|
import { ListItem } from '@digigov/ui/core/List/ListItem';
|
|
@@ -26,23 +26,19 @@ var data = [{
|
|
|
26
26
|
link: 'A link to navigate'
|
|
27
27
|
}];
|
|
28
28
|
|
|
29
|
-
var _ref = /*#__PURE__*/React.createElement(
|
|
29
|
+
var _ref = /*#__PURE__*/React.createElement(StepNavCircleNumber, {
|
|
30
30
|
border: false
|
|
31
31
|
}, /*#__PURE__*/React.createElement(VisuallyHidden, null, "Step"), "and");
|
|
32
32
|
|
|
33
33
|
var _ref2 = /*#__PURE__*/React.createElement(VisuallyHidden, null, "Step");
|
|
34
34
|
|
|
35
|
-
var _ref3 = /*#__PURE__*/React.createElement(StepNavAccordionOpened, null, "\u0391\u03C0\u03CC\u03BA\u03C1\u03C5\u03C8\u03B7");
|
|
36
|
-
|
|
37
|
-
var _ref4 = /*#__PURE__*/React.createElement(StepNavAccordionClosed, null, "\u0395\u03BC\u03C6\u03AC\u03BD\u03B9\u03C3\u03B7");
|
|
38
|
-
|
|
39
35
|
export var Default = function Default() {
|
|
40
36
|
var _useState = useState(false),
|
|
41
37
|
_useState2 = _slicedToArray(_useState, 2),
|
|
42
38
|
open = _useState2[0],
|
|
43
39
|
SetOpen = _useState2[1];
|
|
44
40
|
|
|
45
|
-
var _useState3 = useState(
|
|
41
|
+
var _useState3 = useState(Array(data.length).fill(false)),
|
|
46
42
|
_useState4 = _slicedToArray(_useState3, 2),
|
|
47
43
|
openItem = _useState4[0],
|
|
48
44
|
setOpenItem = _useState4[1];
|
|
@@ -90,7 +86,9 @@ export var Default = function Default() {
|
|
|
90
86
|
}
|
|
91
87
|
}, /*#__PURE__*/React.createElement(StepNavAccordionSummaryHeading, {
|
|
92
88
|
"aria-controls": "content1"
|
|
93
|
-
}, index === 2 ? _ref : /*#__PURE__*/React.createElement(
|
|
89
|
+
}, index === 2 ? _ref : /*#__PURE__*/React.createElement(StepNavCircleNumber, null, _ref2, index + 1), /*#__PURE__*/React.createElement(StepNavAccordionHeadingTitle, null, /*#__PURE__*/React.createElement(StepNavAccordionHeadingText, {
|
|
90
|
+
open: openItem[index]
|
|
91
|
+
}, dt.title)))), /*#__PURE__*/React.createElement(StepNavAccordionContent, {
|
|
94
92
|
id: "content1"
|
|
95
93
|
}, /*#__PURE__*/React.createElement(Paragraph, null, dt.description), /*#__PURE__*/React.createElement(List, null, /*#__PURE__*/React.createElement(ListItem, null, /*#__PURE__*/React.createElement(Link, null, dt.link))))));
|
|
96
94
|
})));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import StepNavCircleNumber from '@digigov/react-extensions/admin/StepNavCircleNumber';
|
|
2
2
|
import StepNav from '@digigov/react-extensions/admin/StepNav';
|
|
3
3
|
import StepNavControls from '@digigov/react-extensions/admin/StepNavControls';
|
|
4
4
|
import StepNavList from '@digigov/react-extensions/admin/StepNavList';
|
|
@@ -6,10 +6,8 @@ import StepNavListItem from '@digigov/react-extensions/admin/StepNavListItem';
|
|
|
6
6
|
import StepNavAccordion from '@digigov/react-extensions/admin/StepNavAccordion';
|
|
7
7
|
import StepNavAccordionContent from '@digigov/react-extensions/admin/StepNavAccordionContent';
|
|
8
8
|
import StepNavAccordionSummary from '@digigov/react-extensions/admin/StepNavAccordionSummary';
|
|
9
|
-
import StepNavAccordionOpened from '@digigov/react-extensions/admin/StepNavAccordionOpened';
|
|
10
|
-
import StepNavAccordionClosed from '@digigov/react-extensions/admin/StepNavAccordionClosed';
|
|
11
9
|
import StepNavAccordionSummaryHeading from '@digigov/react-extensions/admin/StepNavAccordionSummaryHeading';
|
|
12
10
|
import StepNavAccordionHeadingTitle from '@digigov/react-extensions/admin/StepNavAccordionHeadingTitle';
|
|
13
11
|
import StepNavAccordionHeadingText from '@digigov/react-extensions/admin/StepNavAccordionHeadingText';
|
|
14
|
-
export { StepNavAccordion, StepNavAccordionContent, StepNavAccordionSummary, StepNavAccordionSummaryHeading, StepNavAccordionHeadingTitle, StepNavAccordionHeadingText,
|
|
12
|
+
export { StepNavAccordion, StepNavAccordionContent, StepNavAccordionSummary, StepNavAccordionSummaryHeading, StepNavAccordionHeadingTitle, StepNavAccordionHeadingText, StepNavCircleNumber, StepNav, StepNavControls, StepNavList, StepNavListItem };
|
|
15
13
|
export default StepNav;
|
|
@@ -28,6 +28,22 @@
|
|
|
28
28
|
"title": "Keyboard navigation"
|
|
29
29
|
}
|
|
30
30
|
]
|
|
31
|
+
},
|
|
32
|
+
"digigov-ui-app-header--with-header-navigation": {
|
|
33
|
+
"actionSets": [
|
|
34
|
+
{
|
|
35
|
+
"actions": [
|
|
36
|
+
{
|
|
37
|
+
"name": "hover",
|
|
38
|
+
"args": {
|
|
39
|
+
"selector": "html>body>div:nth-child(5)>div>header>div>div:nth-child(2)>details>summary"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"id": "CweCKhM6Ql7t",
|
|
44
|
+
"title": "Hover on dropdown"
|
|
45
|
+
}
|
|
46
|
+
]
|
|
31
47
|
}
|
|
32
48
|
}
|
|
33
49
|
}
|
|
@@ -13,10 +13,10 @@ var _ref = /*#__PURE__*/React.createElement(FieldContainer, null, /*#__PURE__*/R
|
|
|
13
13
|
name: "email",
|
|
14
14
|
value: "email"
|
|
15
15
|
}, "Email"), /*#__PURE__*/React.createElement(CheckboxConditional, null, "Email address", /*#__PURE__*/React.createElement(TextInput, {
|
|
16
|
-
name: "email",
|
|
16
|
+
name: "email-address",
|
|
17
17
|
cellWidth: "one-third"
|
|
18
18
|
})), /*#__PURE__*/React.createElement(CheckboxItem, {
|
|
19
|
-
name: "
|
|
19
|
+
name: "email",
|
|
20
20
|
value: "phone"
|
|
21
21
|
}, "\u03A4\u03B7\u03BB\u03AD\u03C6\u03C9\u03BD\u03BF"))));
|
|
22
22
|
|
|
@@ -8,13 +8,13 @@ var _ref = /*#__PURE__*/React.createElement(FieldContainer, null, /*#__PURE__*/R
|
|
|
8
8
|
}, /*#__PURE__*/React.createElement(FieldsetLegend, null, "\u03A0\u03CE\u03C2 \u03B1\u03B9\u03C3\u03B8\u03AC\u03BD\u03B5\u03C4\u03B1\u03B9 \u03B1\u03C5\u03C4\u03AE \u03C4\u03B7 \u03C3\u03C4\u03B9\u03B3\u03BC\u03AE;"), /*#__PURE__*/React.createElement(Hint, {
|
|
9
9
|
id: "feeling-hint"
|
|
10
10
|
}, "\u03A0\u03B5\u03AF\u03C4\u03B5 \u03BC\u03B1\u03C2 \u03C3\u03C7\u03B5\u03C4\u03B9\u03BA\u03AC \u03BC\u03B5 \u03C0\u03C1\u03CC\u03C3\u03C6\u03B1\u03C4\u03B5\u03C2 \u03B1\u03BB\u03BB\u03B1\u03B3\u03AD\u03C2. \u0395\u03C0\u03B9\u03BB\u03AD\u03BE\u03C4\u03B5 \u03CC,\u03C4\u03B9 \u03B9\u03C3\u03C7\u03CD\u03B5\u03B9."), /*#__PURE__*/React.createElement(Checkbox, null, /*#__PURE__*/React.createElement(CheckboxItem, {
|
|
11
|
-
name: "
|
|
11
|
+
name: "feeling",
|
|
12
12
|
value: "cold"
|
|
13
13
|
}, "\u0388\u03C7\u03C9 \u03C3\u03C5\u03BD\u03AC\u03C7\u03B9"), /*#__PURE__*/React.createElement(CheckboxItem, {
|
|
14
|
-
name: "
|
|
14
|
+
name: "feeling",
|
|
15
15
|
value: "fever"
|
|
16
16
|
}, "\u0388\u03C7\u03C9 \u03C0\u03C5\u03C1\u03B5\u03C4\u03CC"), /*#__PURE__*/React.createElement(CheckboxItem, {
|
|
17
|
-
name: "
|
|
17
|
+
name: "feeling",
|
|
18
18
|
value: "fatigue"
|
|
19
19
|
}, "\u0391\u03B9\u03C3\u03B8\u03AC\u03BD\u03BF\u03BC\u03B1\u03B9 \u03BA\u03BF\u03CD\u03C1\u03B1\u03C3\u03B7"))));
|
|
20
20
|
|
|
@@ -10,13 +10,13 @@ var _ref = /*#__PURE__*/React.createElement(FieldContainer, null, /*#__PURE__*/R
|
|
|
10
10
|
}, "\u03A0\u03CE\u03C2 \u03B1\u03B9\u03C3\u03B8\u03AC\u03BD\u03B5\u03C4\u03B1\u03B9 \u03B1\u03C5\u03C4\u03AE \u03C4\u03B7 \u03C3\u03C4\u03B9\u03B3\u03BC\u03AE;"), /*#__PURE__*/React.createElement(Hint, {
|
|
11
11
|
id: "feeling-hint"
|
|
12
12
|
}, "\u03A0\u03B5\u03AF\u03C4\u03B5 \u03BC\u03B1\u03C2 \u03C3\u03C7\u03B5\u03C4\u03B9\u03BA\u03AC \u03BC\u03B5 \u03C0\u03C1\u03CC\u03C3\u03C6\u03B1\u03C4\u03B5\u03C2 \u03B1\u03BB\u03BB\u03B1\u03B3\u03AD\u03C2. \u0395\u03C0\u03B9\u03BB\u03AD\u03BE\u03C4\u03B5 \u03CC,\u03C4\u03B9 \u03B9\u03C3\u03C7\u03CD\u03B5\u03B9."), /*#__PURE__*/React.createElement(Checkbox, null, /*#__PURE__*/React.createElement(CheckboxItem, {
|
|
13
|
-
name: "
|
|
13
|
+
name: "feeling",
|
|
14
14
|
value: "cold"
|
|
15
15
|
}, "\u0388\u03C7\u03C9 \u03C3\u03C5\u03BD\u03AC\u03C7\u03B9"), /*#__PURE__*/React.createElement(CheckboxItem, {
|
|
16
|
-
name: "
|
|
16
|
+
name: "feeling",
|
|
17
17
|
value: "fever"
|
|
18
18
|
}, "\u0388\u03C7\u03C9 \u03C0\u03C5\u03C1\u03B5\u03C4\u03CC"), /*#__PURE__*/React.createElement(CheckboxItem, {
|
|
19
|
-
name: "
|
|
19
|
+
name: "feeling",
|
|
20
20
|
value: "fatigue"
|
|
21
21
|
}, "\u0391\u03B9\u03C3\u03B8\u03AC\u03BD\u03BF\u03BC\u03B1\u03B9 \u03BA\u03BF\u03CD\u03C1\u03B1\u03C3\u03B7"))));
|
|
22
22
|
|
|
@@ -13,11 +13,10 @@ var _ref = /*#__PURE__*/React.createElement(FieldContainer, null, /*#__PURE__*/R
|
|
|
13
13
|
}, "\u0391\u03B3\u03B3\u03BB\u03AF\u03B1"), /*#__PURE__*/React.createElement(CheckboxItem, {
|
|
14
14
|
name: "fever",
|
|
15
15
|
value: "fever"
|
|
16
|
-
}, "\u0393\u03B1\u03BB\u03BB\u03AF\u03B1"), /*#__PURE__*/React.createElement(
|
|
17
|
-
className: "govgr-checkboxes__divider"
|
|
18
|
-
}, "\u03AE"), /*#__PURE__*/React.createElement(CheckboxItem, {
|
|
16
|
+
}, "\u0393\u03B1\u03BB\u03BB\u03AF\u03B1"), /*#__PURE__*/React.createElement(CheckboxItem, {
|
|
19
17
|
name: "fatigue",
|
|
20
|
-
value: "fatigue"
|
|
18
|
+
value: "fatigue",
|
|
19
|
+
divider: "\u03AE"
|
|
21
20
|
}, "\u038C\u03C7\u03B9, \u03B4\u03B5\u03BD \u03B8\u03B1 \u03C4\u03B1\u03BE\u03B9\u03B4\u03AD\u03C8\u03C9 \u03C3\u03B5 \u03BA\u03B1\u03BC\u03AF\u03B1 \u03B1\u03C0\u03CC \u03B1\u03C5\u03C4\u03AD\u03C2 \u03C4\u03B9\u03C2 \u03C7\u03CE\u03C1\u03B5\u03C2"))));
|
|
22
21
|
|
|
23
22
|
export var NoneAnswer = function NoneAnswer() {
|
|
@@ -15,16 +15,15 @@ var _ref = /*#__PURE__*/React.createElement(FieldContainer, {
|
|
|
15
15
|
id: "travel-error"
|
|
16
16
|
}, /*#__PURE__*/React.createElement(VisuallyHidden, null, "\u039B\u03AC\u03B8\u03BF\u03C2:"), "\u0395\u03C0\u03B9\u03BB\u03AD\u03BE\u03C4\u03B5 \u03C4\u03B9\u03C2 \u03C7\u03CE\u03C1\u03B5\u03C2 \u03C3\u03C4\u03B9\u03C2 \u03BF\u03C0\u03BF\u03AF\u03B5\u03C2 \u03B8\u03B1 \u03C4\u03B1\u03BE\u03B9\u03B4\u03AD\u03C8\u03B5\u03C4\u03B5, \u03AE \u03B5\u03C0\u03B9\u03BB\u03AD\u03BE\u03C4\u03B5 \xAB\u038C\u03C7\u03B9, \u03B4\u03B5\u03BD \u03B8\u03B1 \u03C4\u03B1\u03BE\u03B9\u03B4\u03AD\u03C8\u03C9 \u03C3\u03B5 \u03BA\u03B1\u03BC\u03AF\u03B1 \u03B1\u03C0\u03CC \u03B1\u03C5\u03C4\u03AD\u03C2 \u03C4\u03B9\u03C2 \u03C7\u03CE\u03C1\u03B5\u03C2\xBB."), /*#__PURE__*/React.createElement(Checkbox, null, /*#__PURE__*/React.createElement(CheckboxItem, {
|
|
17
17
|
defaultChecked: true,
|
|
18
|
-
name: "
|
|
18
|
+
name: "country",
|
|
19
19
|
value: "en"
|
|
20
20
|
}, "\u0391\u03B3\u03B3\u03BB\u03AF\u03B1"), /*#__PURE__*/React.createElement(CheckboxItem, {
|
|
21
|
-
name: "
|
|
22
|
-
value: "
|
|
23
|
-
}, "\u0393\u03B1\u03BB\u03BB\u03AF\u03B1"), /*#__PURE__*/React.createElement(
|
|
24
|
-
|
|
25
|
-
}, "\u03AE"), /*#__PURE__*/React.createElement(CheckboxItem, {
|
|
21
|
+
name: "country",
|
|
22
|
+
value: "fr"
|
|
23
|
+
}, "\u0393\u03B1\u03BB\u03BB\u03AF\u03B1"), /*#__PURE__*/React.createElement(CheckboxItem, {
|
|
24
|
+
divider: "\u03AE",
|
|
26
25
|
defaultChecked: true,
|
|
27
|
-
name: "
|
|
26
|
+
name: "country",
|
|
28
27
|
value: "none"
|
|
29
28
|
}, "\u038C\u03C7\u03B9, \u03B4\u03B5\u03BD \u03B8\u03B1 \u03C4\u03B1\u03BE\u03B9\u03B4\u03AD\u03C8\u03C9 \u03C3\u03B5 \u03BA\u03B1\u03BC\u03AF\u03B1 \u03B1\u03C0\u03CC \u03B1\u03C5\u03C4\u03AD\u03C2 \u03C4\u03B9\u03C2 \u03C7\u03CE\u03C1\u03B5\u03C2"))));
|
|
30
29
|
|
|
@@ -14,11 +14,11 @@ var _ref = /*#__PURE__*/React.createElement(FieldContainer, {
|
|
|
14
14
|
}, "\u0391\u03BD \u03AD\u03C7\u03B5\u03C4\u03B5 \u03C0\u03BF\u03BB\u03BB\u03B1\u03C0\u03BB\u03AE \u03C5\u03C0\u03B7\u03BA\u03BF\u03CC\u03C4\u03B7\u03C4\u03B1, \u03B5\u03C0\u03B9\u03BB\u03AD\u03BE\u03C4\u03B5 \u03CC,\u03C4\u03B9 \u03B9\u03C3\u03C7\u03CD\u03B5\u03B9."), /*#__PURE__*/React.createElement(ErrorMessage, {
|
|
15
15
|
id: "nationality-error"
|
|
16
16
|
}, /*#__PURE__*/React.createElement(VisuallyHidden, null, "\u039B\u03AC\u03B8\u03BF\u03C2:"), " \u0395\u03C0\u03B9\u03BB\u03AD\u03BE\u03C4\u03B5 \u03BC\u03AF\u03B1 \u03AE \u03C0\u03B1\u03C1\u03B1\u03C0\u03AC\u03BD\u03C9 \u03C7\u03CE\u03C1\u03B5\u03C2."), /*#__PURE__*/React.createElement(Checkbox, null, /*#__PURE__*/React.createElement(CheckboxItem, {
|
|
17
|
-
name: "
|
|
18
|
-
value: "
|
|
17
|
+
name: "country",
|
|
18
|
+
value: "en"
|
|
19
19
|
}, "\u0391\u03B3\u03B3\u03BB\u03AF\u03B1"), /*#__PURE__*/React.createElement(CheckboxItem, {
|
|
20
|
-
name: "
|
|
21
|
-
value: "
|
|
20
|
+
name: "country",
|
|
21
|
+
value: "fr"
|
|
22
22
|
}, "\u0393\u03B1\u03BB\u03BB\u03AF\u03B1"))));
|
|
23
23
|
|
|
24
24
|
export var WithErrorMessage = function WithErrorMessage() {
|
|
@@ -8,14 +8,14 @@ var _ref = /*#__PURE__*/React.createElement(FieldContainer, null, /*#__PURE__*/R
|
|
|
8
8
|
}, /*#__PURE__*/React.createElement(FieldsetLegend, null, "\u03A0\u03BF\u03B9\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 \u03B7 \u03B5\u03B8\u03BD\u03B9\u03BA\u03CC\u03C4\u03B7\u03C4\u03B1 \u03C3\u03B1\u03C2;"), /*#__PURE__*/React.createElement(Hint, {
|
|
9
9
|
id: "nationality-hint"
|
|
10
10
|
}, "\u0391\u03BD \u03AD\u03C7\u03B5\u03C4\u03B5 \u03C0\u03BF\u03BB\u03BB\u03B1\u03C0\u03BB\u03AE \u03C5\u03C0\u03B7\u03BA\u03BF\u03CC\u03C4\u03B7\u03C4\u03B1, \u03B5\u03C0\u03B9\u03BB\u03AD\u03BE\u03C4\u03B5 \u03CC,\u03C4\u03B9 \u03B9\u03C3\u03C7\u03CD\u03B5\u03B9."), /*#__PURE__*/React.createElement(Checkbox, null, /*#__PURE__*/React.createElement(CheckboxItem, {
|
|
11
|
-
name: "
|
|
12
|
-
value: "
|
|
11
|
+
name: "nationality",
|
|
12
|
+
value: "gr"
|
|
13
13
|
}, "\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AE", /*#__PURE__*/React.createElement(Hint, null, "\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03C9\u03BD \u03B1\u03C0\u03CC\u03B4\u03B7\u03BC\u03C9\u03BD \u03C0\u03BF\u03BB\u03B9\u03C4\u03CE\u03BD")), /*#__PURE__*/React.createElement(CheckboxItem, {
|
|
14
|
-
name: "
|
|
15
|
-
value: "
|
|
14
|
+
name: "nationality",
|
|
15
|
+
value: "cy"
|
|
16
16
|
}, "\u039A\u03C5\u03C0\u03C1\u03B9\u03B1\u03BA\u03AE"), /*#__PURE__*/React.createElement(CheckboxItem, {
|
|
17
|
-
name: "
|
|
18
|
-
value: "
|
|
17
|
+
name: "nationality",
|
|
18
|
+
value: "other"
|
|
19
19
|
}, "\u0386\u03BB\u03BB\u03B7 \u03C7\u03CE\u03C1\u03B1"))));
|
|
20
20
|
|
|
21
21
|
export var WithHint = function WithHint() {
|
package/es/core/Divider/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import CoreSectionBreak from '@digigov/react-core/SectionBreak';
|
|
2
2
|
import withDeprecation from '@digigov/ui/utils/withDeprecation';
|
|
3
|
+
export * from '@digigov/react-core/ChoiceDivider';
|
|
3
4
|
export var Divider = withDeprecation(CoreSectionBreak, {
|
|
4
5
|
name: 'Divider',
|
|
5
6
|
rename: 'SectionBreak'
|
|
@@ -3,16 +3,15 @@ import { RadioContainer, RadioItem } from '@digigov/ui/core/RadioContainer';
|
|
|
3
3
|
import { FieldContainer, Fieldset, FieldsetLegend } from '@digigov/ui/core/FieldContainer';
|
|
4
4
|
|
|
5
5
|
var _ref = /*#__PURE__*/React.createElement(FieldContainer, null, /*#__PURE__*/React.createElement(Fieldset, null, /*#__PURE__*/React.createElement(FieldsetLegend, null, "\u03A0\u03CC\u03C3\u03B1 \u03C0\u03B1\u03B9\u03B4\u03B9\u03AC \u03AD\u03C7\u03B5\u03C4\u03B5;"), /*#__PURE__*/React.createElement(RadioContainer, null, /*#__PURE__*/React.createElement(RadioItem, {
|
|
6
|
-
name: "
|
|
7
|
-
value: "
|
|
6
|
+
name: "children",
|
|
7
|
+
value: "onetwo"
|
|
8
8
|
}, "1-2 \u03C0\u03B1\u03B9\u03B4\u03B9\u03AC"), /*#__PURE__*/React.createElement(RadioItem, {
|
|
9
|
-
name: "
|
|
10
|
-
value: "
|
|
11
|
-
}, "3 \u03AE \u03C0\u03B5\u03C1\u03B9\u03C3\u03C3\u03CC\u03C4\u03B5\u03C1\u03B1 \u03C0\u03B1\u03B9\u03B4\u03B9\u03AC"), /*#__PURE__*/React.createElement(
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
value: "fatigue"
|
|
9
|
+
name: "children",
|
|
10
|
+
value: "threefour"
|
|
11
|
+
}, "3 \u03AE \u03C0\u03B5\u03C1\u03B9\u03C3\u03C3\u03CC\u03C4\u03B5\u03C1\u03B1 \u03C0\u03B1\u03B9\u03B4\u03B9\u03AC"), /*#__PURE__*/React.createElement(RadioItem, {
|
|
12
|
+
divider: "\u03AE",
|
|
13
|
+
name: "children",
|
|
14
|
+
value: "none"
|
|
16
15
|
}, "\u039A\u03B1\u03BD\u03AD\u03BD\u03B1 \u03C0\u03B1\u03B9\u03B4\u03AF"))));
|
|
17
16
|
|
|
18
17
|
export var NoneAnswer = function NoneAnswer() {
|
|
@@ -14,11 +14,11 @@ var _ref = /*#__PURE__*/React.createElement(FieldContainer, {
|
|
|
14
14
|
}, "\u039C\u03C0\u03BF\u03C1\u03B5\u03AF\u03C4\u03B5 \u03BD\u03B1 \u03B5\u03C0\u03B9\u03BB\u03AD\u03BE\u03B5\u03C4\u03B5 \u03BC\u03CC\u03BD\u03BF \u03BC\u03AF\u03B1 \u03B5\u03C0\u03B9\u03BB\u03BF\u03B3\u03AE."), /*#__PURE__*/React.createElement(ErrorMessage, {
|
|
15
15
|
id: "travel-error"
|
|
16
16
|
}, /*#__PURE__*/React.createElement(VisuallyHidden, null, "\u039B\u03AC\u03B8\u03BF\u03C2:"), " \u03A0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03B5\u03C0\u03B9\u03BB\u03AD\u03BE\u03B5\u03C4\u03B5 \u03BC\u03B9\u03B1 \u03B1\u03C0\u03AC\u03BD\u03C4\u03B7\u03C3\u03B7."), /*#__PURE__*/React.createElement(RadioContainer, null, /*#__PURE__*/React.createElement(RadioItem, {
|
|
17
|
-
name: "
|
|
18
|
-
value: "
|
|
17
|
+
name: "country",
|
|
18
|
+
value: "en"
|
|
19
19
|
}, "\u0391\u03B3\u03B3\u03BB\u03AF\u03B1"), /*#__PURE__*/React.createElement(RadioItem, {
|
|
20
|
-
name: "
|
|
21
|
-
value: "
|
|
20
|
+
name: "country",
|
|
21
|
+
value: "fr"
|
|
22
22
|
}, "\u0393\u03B1\u03BB\u03BB\u03AF\u03B1"))));
|
|
23
23
|
|
|
24
24
|
export var WithErrorMessage = function WithErrorMessage() {
|