@surveycake/rc 3.0.0-alpha.113 → 3.0.0-alpha.115

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 CHANGED
@@ -2,6 +2,22 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [3.0.0-alpha.115](https://fox.25sprout.com/surveycake/sdk/rc/compare/v3.0.0-alpha.114...v3.0.0-alpha.115) (2024-03-21)
6
+
7
+
8
+ ### Features
9
+
10
+ * add AccordionSelect component ([6fd1737](https://fox.25sprout.com/surveycake/sdk/rc/commit/6fd17371769799d01eef8157314486fb87690b7a))
11
+ * add warning lightest ([1ab66a5](https://fox.25sprout.com/surveycake/sdk/rc/commit/1ab66a58445958db44969cae60702b6d5e5955e5))
12
+ * update ui details of AccordionSelect ([c53b19a](https://fox.25sprout.com/surveycake/sdk/rc/commit/c53b19a12d1f3fc4503e49c03ea59209336f60b4))
13
+
14
+ ## [3.0.0-alpha.114](https://fox.25sprout.com/surveycake/sdk/rc/compare/v3.0.0-alpha.113...v3.0.0-alpha.114) (2024-03-13)
15
+
16
+
17
+ ### Bug Fixes
18
+
19
+ * replace fill-rule, clip-rule properties with fillRule, clipRule in the TypeDigitSlide icon ([21899b9](https://fox.25sprout.com/surveycake/sdk/rc/commit/21899b90f8352409c3a6568839380c5f08ffb757))
20
+
5
21
  ## [3.0.0-alpha.113](https://fox.25sprout.com/surveycake/sdk/rc/compare/v3.0.0-alpha.112...v3.0.0-alpha.113) (2024-03-12)
6
22
 
7
23
 
@@ -0,0 +1,5 @@
1
+ import { Story, Meta } from '@storybook/react';
2
+ declare const _default: Meta<import("@storybook/react").Args>;
3
+ export default _default;
4
+ export declare const Base: Story;
5
+ export declare const Disabled: Story;
@@ -0,0 +1,4 @@
1
+ import { Story, Meta } from '@storybook/react';
2
+ declare const _default: Meta<import("@storybook/react").Args>;
3
+ export default _default;
4
+ export declare const Base: Story;
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ export declare type OptionData = {
3
+ text: string;
4
+ value: string;
5
+ };
6
+ interface AccordionSelectGroupProps {
7
+ mainOption: OptionData;
8
+ subOptions: OptionData[];
9
+ selectedValue: string[];
10
+ handleChangeValue: (value: string[]) => void;
11
+ }
12
+ declare const AccordionSelectGroup: React.ForwardRefExoticComponent<AccordionSelectGroupProps & React.RefAttributes<HTMLDivElement>>;
13
+ export default AccordionSelectGroup;
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ interface AccordionSelectItemProps {
3
+ value: string;
4
+ checked: boolean;
5
+ indeterminate?: boolean;
6
+ text: string;
7
+ handleChangeValue: (value: string) => void;
8
+ }
9
+ export declare const useCustomStyle: (props?: any) => Record<"checkbox" | "container" | "greyBlock", string>;
10
+ declare const AccordionSelectItem: React.FC<AccordionSelectItemProps>;
11
+ export default AccordionSelectItem;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ interface GreyBlockProps {
3
+ text: string;
4
+ }
5
+ declare const GreyBlock: React.FC<GreyBlockProps>;
6
+ export default GreyBlock;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ interface PlaceholderProps {
3
+ text: string;
4
+ disabled: boolean;
5
+ }
6
+ declare const Placeholder: React.FC<PlaceholderProps>;
7
+ export default Placeholder;
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ import { OptionData } from './components/AccordionSelectGroup';
3
+ import { SelectProps } from '../Select';
4
+ interface AccordionSelectProps extends SelectProps {
5
+ options: {
6
+ mainOption: OptionData;
7
+ subOptions: OptionData[];
8
+ }[];
9
+ value: string[];
10
+ handleChangeValue: (value: string[]) => void;
11
+ placeholder?: string;
12
+ hint?: string;
13
+ disabled?: boolean;
14
+ }
15
+ declare const AccordionSelect: React.ForwardRefExoticComponent<Pick<AccordionSelectProps, "input" | "label" | "style" | "title" | "className" | "classes" | "innerRef" | "color" | "id" | "lang" | "name" | "type" | "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" | "css" | "disabled" | "error" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "slot" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "autoFocus" | "value" | "open" | "autoComplete" | "multiple" | "readOnly" | "required" | "rows" | "margin" | "variant" | "fullWidth" | "inputProps" | "inputRef" | "onClose" | "onOpen" | "multiline" | "endAdornment" | "inputComponent" | "renderSuffix" | "rowsMax" | "rowsMin" | "maxRows" | "minRows" | "startAdornment" | "disableUnderline" | "options" | "handleChangeValue" | "hint" | "autoWidth" | "displayEmpty" | "IconComponent" | "labelId" | "labelWidth" | "MenuProps" | "native" | "renderValue" | "SelectDisplayProps"> & React.RefAttributes<HTMLDivElement>>;
16
+ export default AccordionSelect;
@@ -242,6 +242,7 @@ styles$6.createTheme({
242
242
  warning: {
243
243
  light: '#F6CD81',
244
244
  lighter: '#FBE1B1',
245
+ lightest: '#FEF2DD',
245
246
  main: '#F4A91F',
246
247
  dark: '#E9A01C'
247
248
  },
@@ -2004,8 +2005,8 @@ React.forwardRef(function (props, ref) {
2004
2005
  ref: ref,
2005
2006
  viewBox: "0 0 24 24"
2006
2007
  }), React__default.createElement("path", {
2007
- "fill-rule": "evenodd",
2008
- "clip-rule": "evenodd",
2008
+ fillRule: "evenodd",
2009
+ clipRule: "evenodd",
2009
2010
  d: "M12.0857 8.14283C9.95548 8.14283 8.22857 9.86973 8.22857 12C8.22857 14.1302 9.95548 15.8571 12.0857 15.8571C14.216 15.8571 15.9429 14.1302 15.9429 12C15.9429 9.86973 14.216 8.14283 12.0857 8.14283ZM6.78356 10.9714C7.26383 8.48101 9.4551 6.59998 12.0857 6.59998C14.7163 6.59998 16.9076 8.48101 17.3879 10.9714H22.3714V13.0285H17.3879C16.9076 15.5189 14.7163 17.4 12.0857 17.4C9.4551 17.4 7.26383 15.5189 6.78356 13.0285H1.8V10.9714H6.78356Z"
2010
2011
  }));
2011
2012
  });