@charcoal-ui/react 3.6.0 → 3.7.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.
Files changed (48) hide show
  1. package/dist/_lib/compat.d.ts +1 -0
  2. package/dist/_lib/compat.d.ts.map +1 -1
  3. package/dist/components/Button/StyledButton.d.ts +12 -0
  4. package/dist/components/Button/StyledButton.d.ts.map +1 -0
  5. package/dist/components/Button/index.d.ts +2 -2
  6. package/dist/components/Button/index.d.ts.map +1 -1
  7. package/dist/components/Button/lib/variantToBackground.d.ts +3 -0
  8. package/dist/components/Button/lib/variantToBackground.d.ts.map +1 -0
  9. package/dist/components/Button/lib/variantToFont.d.ts +3 -0
  10. package/dist/components/Button/lib/variantToFont.d.ts.map +1 -0
  11. package/dist/components/Checkbox/index.story.d.ts +6 -16
  12. package/dist/components/Checkbox/index.story.d.ts.map +1 -1
  13. package/dist/components/Clickable/index.story.d.ts +4 -6
  14. package/dist/components/Clickable/index.story.d.ts.map +1 -1
  15. package/dist/components/DropdownSelector/index.story.d.ts +1 -0
  16. package/dist/components/DropdownSelector/index.story.d.ts.map +1 -1
  17. package/dist/components/Icon/index.story.d.ts +1 -1
  18. package/dist/components/SegmentedControl/RadioGroupContext.d.ts +1 -1
  19. package/dist/components/SegmentedControl/RadioGroupContext.d.ts.map +1 -1
  20. package/dist/index.cjs.js +341 -123
  21. package/dist/index.cjs.js.map +1 -1
  22. package/dist/index.esm.js +310 -92
  23. package/dist/index.esm.js.map +1 -1
  24. package/package.json +17 -20
  25. package/src/_lib/compat.ts +8 -0
  26. package/src/components/Button/StyledButton.tsx +66 -0
  27. package/src/components/Button/index.tsx +12 -104
  28. package/src/components/Button/lib/variantToBackground.tsx +19 -0
  29. package/src/components/Button/lib/variantToFont.tsx +19 -0
  30. package/src/components/Checkbox/index.story.tsx +82 -88
  31. package/src/components/Clickable/index.story.tsx +12 -9
  32. package/src/components/DropdownSelector/DropdownMenuItem.tsx +1 -14
  33. package/src/components/DropdownSelector/__snapshots__/index.story.storyshot +173 -109
  34. package/src/components/DropdownSelector/index.story.tsx +33 -0
  35. package/src/components/DropdownSelector/index.tsx +8 -15
  36. package/src/components/Modal/__snapshots__/index.story.storyshot +19 -23
  37. package/src/components/SegmentedControl/RadioGroupContext.tsx +1 -1
  38. package/src/components/SegmentedControl/__snapshots__/index.story.storyshot +9 -9
  39. package/src/components/SegmentedControl/index.tsx +1 -1
  40. package/src/components/TextArea/__snapshots__/TextArea.story.storyshot +17 -15
  41. package/src/components/TextField/__snapshots__/TextField.story.storyshot +21 -20
  42. package/dist/components/Checkbox/performance.test.d.ts +0 -4
  43. package/dist/components/Checkbox/performance.test.d.ts.map +0 -1
  44. package/dist/components/Checkbox/snapshot.test.d.ts +0 -2
  45. package/dist/components/Checkbox/snapshot.test.d.ts.map +0 -1
  46. package/src/components/Checkbox/__snapshots__/snapshot.test.tsx.snap +0 -1093
  47. package/src/components/Checkbox/performance.test.tsx +0 -30
  48. package/src/components/Checkbox/snapshot.test.tsx +0 -66
@@ -28,5 +28,6 @@ export interface ReactAreaUseTextFieldCompat<E = Element> {
28
28
  readonly onSelect?: React.ReactEventHandler<E>;
29
29
  readonly onBeforeInput?: React.FormEventHandler<E>;
30
30
  readonly onInput?: React.FormEventHandler<E>;
31
+ readonly autoCapitalize?: 'none' | 'on' | 'off' | 'sentences' | 'words' | 'characters' | undefined;
31
32
  }
32
33
  //# sourceMappingURL=compat.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"compat.d.ts","sourceRoot":"","sources":["../../src/_lib/compat.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B;;;;;;;;GAQG;AACH,MAAM,MAAM,KAAK,CAAC,CAAC,IAAI,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,GAAG;IAAE,IAAI,CAAC,EAAE,CAAC,CAAA;CAAE,CAAA;AAE5D;;;;;;GAMG;AACH,MAAM,WAAW,2BAA2B,CAAC,CAAC,GAAG,OAAO;IACtD,QAAQ,CAAC,MAAM,CAAC,EAAE,KAAK,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAA;IAChD,QAAQ,CAAC,OAAO,CAAC,EAAE,KAAK,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAA;IACjD,QAAQ,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAA;IAC/C,QAAQ,CAAC,kBAAkB,CAAC,EAAE,KAAK,CAAC,uBAAuB,CAAC,CAAC,CAAC,CAAA;IAC9D,QAAQ,CAAC,gBAAgB,CAAC,EAAE,KAAK,CAAC,uBAAuB,CAAC,CAAC,CAAC,CAAA;IAC5D,QAAQ,CAAC,mBAAmB,CAAC,EAAE,KAAK,CAAC,uBAAuB,CAAC,CAAC,CAAC,CAAA;IAC/D,QAAQ,CAAC,QAAQ,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAA;IAC9C,QAAQ,CAAC,aAAa,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAA;IAClD,QAAQ,CAAC,OAAO,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAA;CAC7C"}
1
+ {"version":3,"file":"compat.d.ts","sourceRoot":"","sources":["../../src/_lib/compat.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B;;;;;;;;GAQG;AACH,MAAM,MAAM,KAAK,CAAC,CAAC,IAAI,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,GAAG;IAAE,IAAI,CAAC,EAAE,CAAC,CAAA;CAAE,CAAA;AAE5D;;;;;;GAMG;AACH,MAAM,WAAW,2BAA2B,CAAC,CAAC,GAAG,OAAO;IACtD,QAAQ,CAAC,MAAM,CAAC,EAAE,KAAK,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAA;IAChD,QAAQ,CAAC,OAAO,CAAC,EAAE,KAAK,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAA;IACjD,QAAQ,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC,qBAAqB,CAAC,CAAC,CAAC,CAAA;IAC/C,QAAQ,CAAC,kBAAkB,CAAC,EAAE,KAAK,CAAC,uBAAuB,CAAC,CAAC,CAAC,CAAA;IAC9D,QAAQ,CAAC,gBAAgB,CAAC,EAAE,KAAK,CAAC,uBAAuB,CAAC,CAAC,CAAC,CAAA;IAC5D,QAAQ,CAAC,mBAAmB,CAAC,EAAE,KAAK,CAAC,uBAAuB,CAAC,CAAC,CAAC,CAAA;IAC/D,QAAQ,CAAC,QAAQ,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAA;IAC9C,QAAQ,CAAC,aAAa,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAA;IAClD,QAAQ,CAAC,OAAO,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAA;IAC5C,QAAQ,CAAC,cAAc,CAAC,EACpB,MAAM,GACN,IAAI,GACJ,KAAK,GACL,WAAW,GACX,OAAO,GACP,YAAY,GACZ,SAAS,CAAA;CACd"}
@@ -0,0 +1,12 @@
1
+ import { variantToFont } from './lib/variantToFont';
2
+ import { variantToBackground } from './lib/variantToBackground';
3
+ import type { Size } from '.';
4
+ type StyledButtonProps = {
5
+ $fullWidth: boolean;
6
+ $size: Size;
7
+ $background: ReturnType<typeof variantToBackground>;
8
+ $color: ReturnType<typeof variantToFont>;
9
+ };
10
+ export declare const StyledButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../Clickable").ClickableProps & import("react").RefAttributes<import("../Clickable").ClickableElement>>, import("styled-components").DefaultTheme, StyledButtonProps, never>;
11
+ export {};
12
+ //# sourceMappingURL=StyledButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StyledButton.d.ts","sourceRoot":"","sources":["../../../src/components/Button/StyledButton.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AACnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAA;AAC/D,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,GAAG,CAAA;AAY7B,KAAK,iBAAiB,GAAG;IACvB,UAAU,EAAE,OAAO,CAAA;IACnB,KAAK,EAAE,IAAI,CAAA;IACX,WAAW,EAAE,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAA;IACnD,MAAM,EAAE,UAAU,CAAC,OAAO,aAAa,CAAC,CAAA;CACzC,CAAA;AAED,eAAO,MAAM,YAAY,4QA0CxB,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import { ClickableElement, ClickableProps } from '../Clickable';
2
- type Variant = 'Primary' | 'Default' | 'Overlay' | 'Danger' | 'Navigation';
3
- type Size = 'S' | 'M';
2
+ export type Variant = 'Primary' | 'Default' | 'Overlay' | 'Danger' | 'Navigation';
3
+ export type Size = 'S' | 'M';
4
4
  export type ButtonProps = Partial<{
5
5
  variant: Variant;
6
6
  size: Size;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Button/index.tsx"],"names":[],"mappings":"AAGA,OAAkB,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAE1E,KAAK,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,GAAG,YAAY,CAAA;AAC1E,KAAK,IAAI,GAAG,GAAG,GAAG,GAAG,CAAA;AAQrB,MAAM,MAAM,WAAW,GAAG,OAAO,CAAC;IAChC,OAAO,EAAE,OAAO,CAAA;IAChB,IAAI,EAAE,IAAI,CAAA;IACV,SAAS,EAAE,OAAO,CAAA;CACnB,CAAC,GACA,cAAc,CAAA;AAEhB,QAAA,MAAM,MAAM,0GAwBV,CAAA;AACF,eAAe,MAAM,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Button/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAK/D,MAAM,MAAM,OAAO,GACf,SAAS,GACT,SAAS,GACT,SAAS,GACT,QAAQ,GACR,YAAY,CAAA;AAEhB,MAAM,MAAM,IAAI,GAAG,GAAG,GAAG,GAAG,CAAA;AAE5B,MAAM,MAAM,WAAW,GAAG,OAAO,CAAC;IAChC,OAAO,EAAE,OAAO,CAAA;IAChB,IAAI,EAAE,IAAI,CAAA;IACV,SAAS,EAAE,OAAO,CAAA;CACnB,CAAC,GACA,cAAc,CAAA;AAEhB,QAAA,MAAM,MAAM,0GAwBV,CAAA;AAEF,eAAe,MAAM,CAAA"}
@@ -0,0 +1,3 @@
1
+ import type { Variant } from '..';
2
+ export declare function variantToBackground(variant: Variant): "assertive" | "surface4" | "surface3" | "brand" | "surface6";
3
+ //# sourceMappingURL=variantToBackground.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"variantToBackground.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/lib/variantToBackground.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,IAAI,CAAA;AAEjC,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,OAAO,gEAenD"}
@@ -0,0 +1,3 @@
1
+ import type { Variant } from '..';
2
+ export declare function variantToFont(variant: Variant): "text5" | "text2";
3
+ //# sourceMappingURL=variantToFont.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"variantToFont.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/lib/variantToFont.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,IAAI,CAAA;AAEjC,wBAAgB,aAAa,CAAC,OAAO,EAAE,OAAO,qBAe7C"}
@@ -1,18 +1,8 @@
1
- import { Story } from '../../_lib/compat';
2
- declare const _default: {
3
- title: string;
4
- component: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<import(".").CheckboxProps & import("react").RefAttributes<HTMLInputElement>>>;
5
- };
1
+ import Checkbox from '.';
2
+ import { StoryObj } from '@storybook/react';
3
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import(".").CheckboxProps & import("react").RefAttributes<HTMLInputElement>>;
6
4
  export default _default;
7
- type Props = {
8
- checked: boolean;
9
- defaultChecked: boolean;
10
- disabled: boolean;
11
- readonly: boolean;
12
- className?: string;
13
- invalid: boolean;
14
- };
15
- export declare const Labelled: Story<Props>;
16
- export declare const Invalid: Story<Omit<Props, 'invalid'>>;
17
- export declare const Unlabelled: Story<Props>;
5
+ export declare const Labelled: StoryObj<typeof Checkbox>;
6
+ export declare const Invalid: StoryObj<typeof Checkbox>;
7
+ export declare const Unlabelled: StoryObj<typeof Checkbox>;
18
8
  //# sourceMappingURL=index.story.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/index.story.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA;;;;;AAEzC,wBAGC;AAED,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,OAAO,CAAA;IAChB,cAAc,EAAE,OAAO,CAAA;IACvB,QAAQ,EAAE,OAAO,CAAA;IACjB,QAAQ,EAAE,OAAO,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,OAAO,EAAE,OAAO,CAAA;CACjB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,KAAK,CAkCjC,CAAA;AAUD,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,IAAI,CAAC,KAAK,EAAE,SAAS,CAAC,CAejD,CAAA;AASD,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,KAAK,CAcnC,CAAA"}
1
+ {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/components/Checkbox/index.story.tsx"],"names":[],"mappings":"AACA,OAAO,QAAQ,MAAM,GAAG,CAAA;AACxB,OAAO,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAA;;AAEjD,wBAG0B;AAE1B,eAAO,MAAM,QAAQ,EAAE,QAAQ,CAAC,OAAO,QAAQ,CA2C9C,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,QAAQ,CAAC,OAAO,QAAQ,CAuB7C,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,QAAQ,CAAC,OAAO,QAAQ,CAuBhD,CAAA"}
@@ -1,8 +1,6 @@
1
- declare const _default: {
2
- title: string;
3
- component: import("react").ForwardRefExoticComponent<import(".").ClickableProps & import("react").RefAttributes<import(".").ClickableElement>>;
4
- };
1
+ import { StoryObj } from '@storybook/react';
2
+ declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import(".").ClickableProps & import("react").RefAttributes<import(".").ClickableElement>>;
5
3
  export default _default;
6
- export declare const Button: () => JSX.Element;
7
- export declare const Link: () => JSX.Element;
4
+ export declare const Button: StoryObj;
5
+ export declare const Link: StoryObj;
8
6
  //# sourceMappingURL=index.story.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/components/Clickable/index.story.tsx"],"names":[],"mappings":";;;;AAGA,wBAGC;AAED,eAAO,MAAM,MAAM,mBAElB,CAAA;AAED,eAAO,MAAM,IAAI,mBAIhB,CAAA"}
1
+ {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/components/Clickable/index.story.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAA;;AAEjD,wBAG2B;AAE3B,eAAO,MAAM,MAAM,EAAE,QAEpB,CAAA;AAED,eAAO,MAAM,IAAI,EAAE,QAMlB,CAAA"}
@@ -7,6 +7,7 @@ declare const _default: {
7
7
  export default _default;
8
8
  export declare const Playground: Story<DropdownSelectorProps>;
9
9
  export declare const Basic: Story<DropdownSelectorProps>;
10
+ export declare const LongNames: Story<DropdownSelectorProps>;
10
11
  export declare const InModal: Story<DropdownSelectorProps>;
11
12
  export declare const InFormTag: Story<DropdownSelectorProps>;
12
13
  export declare const CustomChildren: Story<DropdownSelectorProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/components/DropdownSelector/index.story.tsx"],"names":[],"mappings":"AACA,OAAO,gBAAgB,EAAE,EAAE,qBAAqB,EAAE,MAAM,GAAG,CAAA;AAC3D,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA;;;;;AASzC,wBAGC;AAYD,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,qBAAqB,CAyBnD,CAAA;AAID,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,qBAAqB,CAQ9C,CAAA;AA8BD,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,qBAAqB,CAmChD,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,qBAAqB,CAoBlD,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,qBAAqB,CA+CvD,CAAA;AAID,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,qBAAqB,CA4BpD,CAAA"}
1
+ {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/components/DropdownSelector/index.story.tsx"],"names":[],"mappings":"AACA,OAAO,gBAAgB,EAAE,EAAE,qBAAqB,EAAE,MAAM,GAAG,CAAA;AAC3D,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA;;;;;AASzC,wBAGC;AAYD,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,qBAAqB,CAyBnD,CAAA;AAID,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,qBAAqB,CAQ9C,CAAA;AAID,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,qBAAqB,CA+BlD,CAAA;AA4BD,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,qBAAqB,CAmChD,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,qBAAqB,CAoBlD,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,qBAAqB,CA+CvD,CAAA;AAID,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,qBAAqB,CA4BpD,CAAA"}
@@ -6,7 +6,7 @@ declare const _default: {
6
6
  name: {
7
7
  control: {
8
8
  type: string;
9
- options: ("16/Add" | "16/Archive" | "16/ArrowDown" | "16/Artwork" | "16/Back" | "16/Book" | "16/BookmarkOff" | "16/BookmarkOn" | "16/Check" | "16/Comment" | "16/Dot" | "16/Error" | "16/Filter" | "16/ImageResponse" | "16/Info" | "16/Like" | "16/Menu" | "16/More" | "16/Nextworks" | "16/Pencil" | "16/Question" | "16/Ranking" | "16/Remove" | "16/Search" | "16/Smile" | "16/Speaker" | "16/View" | "24/Add" | "24/AddImage" | "24/AddModel" | "24/AddPeople" | "24/AddRubi" | "24/AddText" | "24/Alart" | "24/Announcement" | "24/Ar" | "24/Archive" | "24/ArrowDown" | "24/ArrowUp" | "24/Binet" | "24/Body" | "24/BodyEdit" | "24/Book" | "24/BringBackward" | "24/BringForward" | "24/Calendar" | "24/Camera" | "24/CameraVideo" | "24/ChangeCharactor" | "24/ChatBot" | "24/Check" | "24/ChromaticAberration" | "24/Close" | "24/Codes" | "24/Collapse" | "24/CommentFill" | "24/CommentOutline" | "24/Contest" | "24/Contrast" | "24/Description" | "24/DeviceRotation" | "24/Discovery" | "24/Dot" | "24/DotAlt" | "24/Down" | "24/DownloadAlt" | "24/Duplicate" | "24/Dust" | "24/Emoji" | "24/Error" | "24/ErrorOctagon" | "24/Events" | "24/Expand" | "24/FaceEdit" | "24/Fashion" | "24/Feed" | "24/File" | "24/Filter" | "24/Flare" | "24/FormatAlignCenter" | "24/FormatAlignLeft" | "24/FormatAlignRight" | "24/FormatColorFill" | "24/FormatColorFillNoColor" | "24/FormatFontFamily" | "24/FormatFontSize" | "24/FormatLetterSpacing" | "24/FormatLineSpacing" | "24/Fov" | "24/FrameEffect" | "24/FrameSize" | "24/Gift" | "24/Glow" | "24/Groups" | "24/HairEdit" | "24/Hashtag" | "24/Hide" | "24/Home" | "24/Hue" | "24/Idea" | "24/Image" | "24/ImageAlt" | "24/ImageHidden" | "24/ImageReplace" | "24/Images" | "24/ImgContain" | "24/ImgCover" | "24/Index" | "24/Info" | "24/Invalid" | "24/Invoice" | "24/ItemRemove" | "24/LatestWorks" | "24/LikeOff" | "24/LikeOn" | "24/Link" | "24/List" | "24/LockLock" | "24/LockUnlock" | "24/Logout" | "24/Manga" | "24/Menu" | "24/Message" | "24/Microphone" | "24/MobilePhone" | "24/Move1" | "24/Next" | "24/NoImage" | "24/Notification" | "24/NotificationOff" | "24/Novels" | "24/OpenInNew" | "24/Options" | "24/OptionsAlt" | "24/Overlay" | "24/Palette" | "24/Pause" | "24/PauseAlt" | "24/Pencil" | "24/PencilDraw" | "24/PencilLive" | "24/PencilText" | "24/Person" | "24/Play" | "24/Pose" | "24/Prev" | "24/Projects" | "24/PullDown" | "24/PullUp" | "24/Question" | "24/QuestionOutline" | "24/Ranking" | "24/ReadHorizontalLeft" | "24/ReadHorizontalRight" | "24/ReadVertical" | "24/Reload" | "24/ReloadLoop" | "24/Reorder" | "24/Roll" | "24/Rotate90DegreesC" | "24/Rotate90DegreesCc" | "24/RotateRight" | "24/Saturation" | "24/Save" | "24/Search" | "24/Send" | "24/Services" | "24/Set" | "24/Settings" | "24/ShareAndroid" | "24/ShareIos" | "24/Shopping" | "24/Show" | "24/ShowOutline" | "24/Shutter" | "24/Star" | "24/Subtract" | "24/Sun" | "24/Temperature" | "24/Text" | "24/Trash" | "24/TrashAlt" | "24/Up" | "24/Upload" | "24/UploadAlt" | "24/Usagi" | "24/UsagiAlt" | "24/Users" | "24/Video" | "24/ViewGrid2Columns" | "24/ViewGrid3Columns" | "24/ViewList" | "24/Warning" | "32/BookmarkOff" | "32/BookmarkOn" | "32/Camera" | "32/Close" | "32/Collapse" | "32/CommentOff" | "32/CommentOn" | "32/Delete" | "32/Dot" | "32/Edit" | "32/Expand" | "32/Gift" | "32/Home" | "32/HorizontalWriting" | "32/Index" | "32/LikeOff" | "32/LikeOn" | "32/LikeOnPrivate" | "32/Message" | "32/Next" | "32/Notification" | "32/NotificationOff" | "32/NovelViewerSettings" | "32/Pan" | "32/Prev" | "32/PullDown" | "32/PullUp" | "32/ReadHorizontalLeft" | "32/ReadHorizontalRight" | "32/ReadVertical" | "32/RollHorizontal" | "32/RollVertical" | "32/SansSerif" | "32/Serif" | "32/ShareAndroid" | "32/ShareIos" | "32/Shopping" | "32/Upload" | "32/User" | "32/VerticalWriting" | "32/ZoomIn" | "Inline/Add" | "Inline/BookmarkOff" | "Inline/BookmarkOn" | "Inline/Breadcrumbs" | "Inline/Check" | "Inline/Comment" | "Inline/ContextMenu" | "Inline/External" | "Inline/Filter" | "Inline/Folder" | "Inline/ImageResponse" | "Inline/Images" | "Inline/Like" | "Inline/LikeOff" | "Inline/List" | "Inline/Location" | "Inline/Lock" | "Inline/More" | "Inline/Nextworks" | "Inline/OpenInNew" | "Inline/Pencil" | "Inline/Remove" | "Inline/Smile" | "Inline/SmileOn" | "Inline/Users" | "Inline/View" | "Inline/ViewOutline")[];
9
+ options: ("16/Add" | "16/Archive" | "16/ArrowDown" | "16/Artwork" | "16/Back" | "16/Book" | "16/BookmarkOff" | "16/BookmarkOn" | "16/Check" | "16/Comment" | "16/Dot" | "16/Error" | "16/Filter" | "16/ImageResponse" | "16/Info" | "16/Like" | "16/Menu" | "16/More" | "16/Nextworks" | "16/Pencil" | "16/Question" | "16/Ranking" | "16/Remove" | "16/Search" | "16/Smile" | "16/Speaker" | "16/View" | "16/Warning" | "24/Add" | "24/AddImage" | "24/AddModel" | "24/AddPeople" | "24/AddRubi" | "24/AddText" | "24/Alart" | "24/Announcement" | "24/Ar" | "24/Archive" | "24/ArrowDown" | "24/ArrowUp" | "24/Binet" | "24/Body" | "24/BodyEdit" | "24/Book" | "24/BringBackward" | "24/BringForward" | "24/Calendar" | "24/Camera" | "24/CameraVideo" | "24/ChangeCharactor" | "24/ChatBot" | "24/Check" | "24/ChromaticAberration" | "24/Close" | "24/Codes" | "24/Collapse" | "24/CommentFill" | "24/CommentOutline" | "24/Contest" | "24/Contrast" | "24/Description" | "24/DeviceRotation" | "24/Discovery" | "24/Dot" | "24/DotAlt" | "24/Down" | "24/DownloadAlt" | "24/Duplicate" | "24/Dust" | "24/Emoji" | "24/Error" | "24/ErrorOctagon" | "24/Events" | "24/Expand" | "24/FaceEdit" | "24/Fashion" | "24/Feed" | "24/File" | "24/Filter" | "24/Flare" | "24/FormatAlignCenter" | "24/FormatAlignLeft" | "24/FormatAlignRight" | "24/FormatColorFill" | "24/FormatColorFillNoColor" | "24/FormatFontFamily" | "24/FormatFontSize" | "24/FormatLetterSpacing" | "24/FormatLineSpacing" | "24/Fov" | "24/FrameEffect" | "24/FrameSize" | "24/Gift" | "24/Glow" | "24/Groups" | "24/HairEdit" | "24/Hashtag" | "24/Hide" | "24/Home" | "24/Hue" | "24/Idea" | "24/Image" | "24/ImageAlt" | "24/ImageHidden" | "24/ImageReplace" | "24/Images" | "24/ImgContain" | "24/ImgCover" | "24/Index" | "24/Info" | "24/Invalid" | "24/Invoice" | "24/ItemRemove" | "24/LatestWorks" | "24/LikeOff" | "24/LikeOn" | "24/Link" | "24/List" | "24/LockLock" | "24/LockUnlock" | "24/Logout" | "24/Manga" | "24/Menu" | "24/Message" | "24/Microphone" | "24/MobilePhone" | "24/Move1" | "24/Next" | "24/NoImage" | "24/Notification" | "24/NotificationOff" | "24/Novels" | "24/OpenInNew" | "24/Options" | "24/OptionsAlt" | "24/Overlay" | "24/Palette" | "24/Pause" | "24/PauseAlt" | "24/Pencil" | "24/PencilDraw" | "24/PencilLive" | "24/PencilText" | "24/Person" | "24/Play" | "24/Pose" | "24/Prev" | "24/Projects" | "24/PullDown" | "24/PullUp" | "24/Question" | "24/QuestionOutline" | "24/Ranking" | "24/ReadHorizontalLeft" | "24/ReadHorizontalRight" | "24/ReadVertical" | "24/Reload" | "24/ReloadLoop" | "24/Reorder" | "24/Roll" | "24/Rotate90DegreesC" | "24/Rotate90DegreesCc" | "24/RotateRight" | "24/Saturation" | "24/Save" | "24/Search" | "24/Send" | "24/Services" | "24/Set" | "24/Settings" | "24/ShareAndroid" | "24/ShareIos" | "24/Shopping" | "24/Show" | "24/ShowOutline" | "24/Shutter" | "24/Star" | "24/Subtract" | "24/Sun" | "24/Temperature" | "24/Text" | "24/Trash" | "24/TrashAlt" | "24/Up" | "24/Upload" | "24/UploadAlt" | "24/Usagi" | "24/UsagiAlt" | "24/Users" | "24/Video" | "24/ViewGrid2Columns" | "24/ViewGrid3Columns" | "24/ViewList" | "24/Warning" | "32/BookmarkOff" | "32/BookmarkOn" | "32/Camera" | "32/Close" | "32/Collapse" | "32/CommentOff" | "32/CommentOn" | "32/Delete" | "32/Dot" | "32/Edit" | "32/Expand" | "32/Gift" | "32/Home" | "32/HorizontalWriting" | "32/Index" | "32/LikeOff" | "32/LikeOn" | "32/LikeOnPrivate" | "32/Message" | "32/Next" | "32/Notification" | "32/NotificationOff" | "32/NovelViewerSettings" | "32/Pan" | "32/Prev" | "32/PullDown" | "32/PullUp" | "32/ReadHorizontalLeft" | "32/ReadHorizontalRight" | "32/ReadVertical" | "32/RollHorizontal" | "32/RollVertical" | "32/SansSerif" | "32/Serif" | "32/ShareAndroid" | "32/ShareIos" | "32/Shopping" | "32/Upload" | "32/User" | "32/VerticalWriting" | "32/ZoomIn" | "Inline/Add" | "Inline/BookmarkOff" | "Inline/BookmarkOn" | "Inline/Breadcrumbs" | "Inline/Check" | "Inline/Comment" | "Inline/ContextMenu" | "Inline/External" | "Inline/Filter" | "Inline/Folder" | "Inline/ImageResponse" | "Inline/Images" | "Inline/Like" | "Inline/LikeOff" | "Inline/List" | "Inline/Location" | "Inline/Lock" | "Inline/More" | "Inline/Nextworks" | "Inline/OpenInNew" | "Inline/Pencil" | "Inline/Remove" | "Inline/Smile" | "Inline/SmileOn" | "Inline/Users" | "Inline/View" | "Inline/ViewOutline")[];
10
10
  };
11
11
  };
12
12
  scale: {
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { RadioGroupState } from 'react-stately';
2
+ import type { RadioGroupState } from '@react-stately/radio';
3
3
  type RadioProviderProps = React.PropsWithChildren<{
4
4
  value: RadioGroupState;
5
5
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"RadioGroupContext.d.ts","sourceRoot":"","sources":["../../../src/components/SegmentedControl/RadioGroupContext.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAI/C,KAAK,kBAAkB,GAAG,KAAK,CAAC,iBAAiB,CAAC;IAChD,KAAK,EAAE,eAAe,CAAA;CACvB,CAAC,CAAA;AACF,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAKtD,CAAA;AACD,eAAO,MAAM,eAAe,uBAO3B,CAAA"}
1
+ {"version":3,"file":"RadioGroupContext.d.ts","sourceRoot":"","sources":["../../../src/components/SegmentedControl/RadioGroupContext.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAI3D,KAAK,kBAAkB,GAAG,KAAK,CAAC,iBAAiB,CAAC;IAChD,KAAK,EAAE,eAAe,CAAA;CACvB,CAAC,CAAA;AACF,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAKtD,CAAA;AACD,eAAO,MAAM,eAAe,uBAO3B,CAAA"}