@charcoal-ui/react 3.10.1 → 3.11.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 (91) hide show
  1. package/dist/components/Checkbox/index.d.ts.map +1 -1
  2. package/dist/components/DropdownSelector/Popover/index.d.ts +1 -2
  3. package/dist/components/DropdownSelector/Popover/index.d.ts.map +1 -1
  4. package/dist/components/Modal/index.d.ts +1 -1
  5. package/dist/components/Modal/index.d.ts.map +1 -1
  6. package/dist/components/Modal/useCustomModalOverlay.d.ts.map +1 -1
  7. package/dist/components/MultiSelect/index.d.ts.map +1 -1
  8. package/dist/components/Radio/index.d.ts +4 -4
  9. package/dist/components/Radio/index.d.ts.map +1 -1
  10. package/dist/components/TextArea/index.d.ts.map +1 -1
  11. package/dist/components/TextField/index.d.ts.map +1 -1
  12. package/dist/core/CharcoalProvider.d.ts +1 -1
  13. package/dist/core/CharcoalProvider.d.ts.map +1 -1
  14. package/dist/index.cjs.js +120 -348
  15. package/dist/index.cjs.js.map +1 -1
  16. package/dist/index.esm.js +82 -310
  17. package/dist/index.esm.js.map +1 -1
  18. package/package.json +13 -17
  19. package/src/components/Checkbox/__snapshots__/index.story.storyshot +560 -154
  20. package/src/components/Checkbox/index.story.tsx +46 -74
  21. package/src/components/Checkbox/index.tsx +1 -0
  22. package/src/components/DropdownSelector/Popover/index.tsx +1 -2
  23. package/src/components/IconButton/__snapshots__/index.story.storyshot +6 -8
  24. package/src/components/IconButton/index.story.tsx +14 -37
  25. package/src/components/LoadingSpinner/__snapshots__/index.story.storyshot +139 -1
  26. package/src/components/LoadingSpinner/index.story.tsx +18 -7
  27. package/src/components/Modal/index.tsx +1 -1
  28. package/src/components/Modal/useCustomModalOverlay.tsx +5 -4
  29. package/src/components/MultiSelect/__snapshots__/index.story.storyshot +32 -44
  30. package/src/components/MultiSelect/index.story.tsx +88 -192
  31. package/src/components/MultiSelect/index.tsx +2 -1
  32. package/src/components/Radio/__snapshots__/index.story.storyshot +1 -1
  33. package/src/components/Radio/index.story.tsx +20 -21
  34. package/src/components/Radio/index.tsx +14 -13
  35. package/src/components/Switch/__snapshots__/index.story.storyshot +8 -9
  36. package/src/components/Switch/index.story.tsx +10 -18
  37. package/src/components/TagItem/__snapshots__/index.story.storyshot +791 -665
  38. package/src/components/TagItem/index.story.tsx +44 -161
  39. package/src/components/TextArea/TextArea.story.tsx +62 -24
  40. package/src/components/TextArea/__snapshots__/TextArea.story.storyshot +1858 -472
  41. package/src/components/TextArea/index.tsx +2 -0
  42. package/src/components/TextField/TextField.story.tsx +77 -67
  43. package/src/components/TextField/__snapshots__/TextField.story.storyshot +2004 -786
  44. package/src/components/TextField/index.tsx +2 -0
  45. package/src/components/a11y.test.tsx +1 -1
  46. package/src/core/CharcoalProvider.tsx +1 -1
  47. package/dist/components/Button/index.story.d.ts +0 -14
  48. package/dist/components/Button/index.story.d.ts.map +0 -1
  49. package/dist/components/Checkbox/index.story.d.ts +0 -8
  50. package/dist/components/Checkbox/index.story.d.ts.map +0 -1
  51. package/dist/components/Clickable/index.story.d.ts +0 -6
  52. package/dist/components/Clickable/index.story.d.ts.map +0 -1
  53. package/dist/components/DropdownSelector/ListItem/index.story.d.ts +0 -9
  54. package/dist/components/DropdownSelector/ListItem/index.story.d.ts.map +0 -1
  55. package/dist/components/DropdownSelector/MenuList/index.story.d.ts +0 -8
  56. package/dist/components/DropdownSelector/MenuList/index.story.d.ts.map +0 -1
  57. package/dist/components/DropdownSelector/Popover/index.story.d.ts +0 -5
  58. package/dist/components/DropdownSelector/Popover/index.story.d.ts.map +0 -1
  59. package/dist/components/DropdownSelector/index.story.d.ts +0 -19
  60. package/dist/components/DropdownSelector/index.story.d.ts.map +0 -1
  61. package/dist/components/Icon/index.story.d.ts +0 -6
  62. package/dist/components/Icon/index.story.d.ts.map +0 -1
  63. package/dist/components/IconButton/index.story.d.ts +0 -9
  64. package/dist/components/IconButton/index.story.d.ts.map +0 -1
  65. package/dist/components/LoadingSpinner/LoadingSpinnerIcon.story.d.ts +0 -8
  66. package/dist/components/LoadingSpinner/LoadingSpinnerIcon.story.d.ts.map +0 -1
  67. package/dist/components/LoadingSpinner/index.story.d.ts +0 -6
  68. package/dist/components/LoadingSpinner/index.story.d.ts.map +0 -1
  69. package/dist/components/Modal/index.story.d.ts +0 -21
  70. package/dist/components/Modal/index.story.d.ts.map +0 -1
  71. package/dist/components/MultiSelect/index.story.d.ts +0 -82
  72. package/dist/components/MultiSelect/index.story.d.ts.map +0 -1
  73. package/dist/components/MultiSelect/index.test.d.ts +0 -2
  74. package/dist/components/MultiSelect/index.test.d.ts.map +0 -1
  75. package/dist/components/Radio/index.story.d.ts +0 -26
  76. package/dist/components/Radio/index.story.d.ts.map +0 -1
  77. package/dist/components/Radio/index.test.d.ts +0 -2
  78. package/dist/components/Radio/index.test.d.ts.map +0 -1
  79. package/dist/components/SegmentedControl/index.story.d.ts +0 -7
  80. package/dist/components/SegmentedControl/index.story.d.ts.map +0 -1
  81. package/dist/components/Switch/index.story.d.ts +0 -9
  82. package/dist/components/Switch/index.story.d.ts.map +0 -1
  83. package/dist/components/TagItem/index.story.d.ts +0 -16
  84. package/dist/components/TagItem/index.story.d.ts.map +0 -1
  85. package/dist/components/TextArea/TextArea.story.d.ts +0 -9
  86. package/dist/components/TextArea/TextArea.story.d.ts.map +0 -1
  87. package/dist/components/TextField/TextField.story.d.ts +0 -22
  88. package/dist/components/TextField/TextField.story.d.ts.map +0 -1
  89. package/dist/components/a11y.test.d.ts +0 -2
  90. package/dist/components/a11y.test.d.ts.map +0 -1
  91. package/src/components/LoadingSpinner/LoadingSpinnerIcon.story.tsx +0 -13
@@ -57,6 +57,7 @@ const TextField = React.forwardRef<HTMLInputElement, TextFieldProps>(
57
57
  disabled = false,
58
58
  required,
59
59
  invalid = false,
60
+ readOnly = false,
60
61
  assistiveText,
61
62
  maxLength,
62
63
  prefix = null,
@@ -99,6 +100,7 @@ const TextField = React.forwardRef<HTMLInputElement, TextFieldProps>(
99
100
  inputElementType: 'input',
100
101
  isDisabled: disabled,
101
102
  isRequired: required,
103
+ isReadOnly: readOnly,
102
104
  validationState: invalid ? 'invalid' : 'valid',
103
105
  description: !invalid && assistiveText,
104
106
  errorMessage: invalid && assistiveText,
@@ -1,5 +1,5 @@
1
1
  import path from 'path'
2
- import glob from 'glob'
2
+ import * as glob from 'glob'
3
3
  import { axe, toHaveNoViolations } from 'jest-axe'
4
4
  import { render } from '@testing-library/react'
5
5
  import { ThemeProvider } from 'styled-components'
@@ -2,7 +2,7 @@ import * as React from 'react'
2
2
  import { ThemeProvider } from 'styled-components'
3
3
  import ComponentAbstraction, { Components } from './ComponentAbstraction'
4
4
  import { TokenInjector } from '@charcoal-ui/styled'
5
- import { ThemeMap } from '@charcoal-ui/styled/src/TokenInjector'
5
+ import type { ThemeMap } from '@charcoal-ui/styled/src/TokenInjector'
6
6
  import { CharcoalTheme, ThemeColor } from '@charcoal-ui/theme'
7
7
 
8
8
  import { OverlayProvider } from './OverlayProvider'
@@ -1,14 +0,0 @@
1
- import Button from '.';
2
- import { StoryObj } from '@storybook/react';
3
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import(".").ButtonProps & import("react").RefAttributes<import("../Clickable").ClickableElement>>;
4
- export default _default;
5
- export declare const Default: StoryObj<typeof Button>;
6
- export declare const Primary: StoryObj<typeof Button>;
7
- export declare const Navigation: StoryObj<typeof Button>;
8
- export declare const Overlay: StoryObj<typeof Button>;
9
- export declare const Danger: StoryObj<typeof Button>;
10
- export declare const Small: StoryObj<typeof Button>;
11
- export declare const FullWidth: StoryObj<typeof Button>;
12
- export declare const Disabled: StoryObj<typeof Button>;
13
- export declare const IsActive: StoryObj<typeof Button>;
14
- //# sourceMappingURL=index.story.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/components/Button/index.story.tsx"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,GAAG,CAAA;AACtB,OAAO,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAA;;AAEjD,wBAGwB;AAExB,eAAO,MAAM,OAAO,EAAE,QAAQ,CAAC,OAAO,MAAM,CAE3C,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,QAAQ,CAAC,OAAO,MAAM,CAE3C,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,QAAQ,CAAC,OAAO,MAAM,CAE9C,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,QAAQ,CAAC,OAAO,MAAM,CAE3C,CAAA;AAED,eAAO,MAAM,MAAM,EAAE,QAAQ,CAAC,OAAO,MAAM,CAE1C,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,QAAQ,CAAC,OAAO,MAAM,CAEzC,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,QAAQ,CAAC,OAAO,MAAM,CAE7C,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,QAAQ,CAAC,OAAO,MAAM,CAE5C,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,QAAQ,CAAC,OAAO,MAAM,CAE5C,CAAA"}
@@ -1,8 +0,0 @@
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>>;
4
- export default _default;
5
- export declare const Labelled: StoryObj<typeof Checkbox>;
6
- export declare const Invalid: StoryObj<typeof Checkbox>;
7
- export declare const Unlabelled: StoryObj<typeof Checkbox>;
8
- //# sourceMappingURL=index.story.d.ts.map
@@ -1 +0,0 @@
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,6 +0,0 @@
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>>;
3
- export default _default;
4
- export declare const Button: StoryObj;
5
- export declare const Link: StoryObj;
6
- //# sourceMappingURL=index.story.d.ts.map
@@ -1 +0,0 @@
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"}
@@ -1,9 +0,0 @@
1
- import ListItem from '.';
2
- import { StoryObj } from '@storybook/react';
3
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, {
4
- children?: import("react").ReactNode;
5
- as?: import(".").CustomJSXElement | undefined;
6
- } & Omit<any, "children">>;
7
- export default _default;
8
- export declare const Basic: StoryObj<typeof ListItem>;
9
- //# sourceMappingURL=index.story.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../../src/components/DropdownSelector/ListItem/index.story.tsx"],"names":[],"mappings":"AAGA,OAAO,QAAQ,MAAM,GAAG,CAAA;AAExB,OAAO,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAA;;;;;AAEjD,wBAG0B;AA0C1B,eAAO,MAAM,KAAK,EAAE,QAAQ,CAAC,OAAO,QAAQ,CAE3C,CAAA"}
@@ -1,8 +0,0 @@
1
- import MenuList from '.';
2
- import { StoryObj } from '@storybook/react';
3
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import(".").MenuListProps>;
4
- export default _default;
5
- export declare const Basic: StoryObj<typeof MenuList>;
6
- export declare const Disabled: StoryObj<typeof MenuList>;
7
- export declare const Group: StoryObj<typeof MenuList>;
8
- //# sourceMappingURL=index.story.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../../src/components/DropdownSelector/MenuList/index.story.tsx"],"names":[],"mappings":"AACA,OAAO,QAAQ,MAAM,GAAG,CAAA;AAGxB,OAAO,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAA;;AAEjD,wBAG0B;AAa1B,eAAO,MAAM,KAAK,EAAE,QAAQ,CAAC,OAAO,QAAQ,CAQ3C,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,QAAQ,CAAC,OAAO,QAAQ,CAa9C,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,QAAQ,CAAC,OAAO,QAAQ,CAS3C,CAAA"}
@@ -1,5 +0,0 @@
1
- import { StoryObj } from '@storybook/react';
2
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import(".").PopoverProps>;
3
- export default _default;
4
- export declare const Basic: StoryObj;
5
- //# sourceMappingURL=index.story.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../../src/components/DropdownSelector/Popover/index.story.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAA;;AAEjD,wBAGyB;AA2BzB,eAAO,MAAM,KAAK,EAAE,QA6BnB,CAAA"}
@@ -1,19 +0,0 @@
1
- import DropdownSelector from '.';
2
- import { StoryObj } from '@storybook/react';
3
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import(".").DropdownSelectorProps>;
4
- export default _default;
5
- export declare const Default: StoryObj<typeof DropdownSelector>;
6
- export declare const Label: StoryObj<typeof DropdownSelector>;
7
- export declare const Disabled: StoryObj<typeof DropdownSelector>;
8
- export declare const DisabledItem: StoryObj<typeof DropdownSelector>;
9
- export declare const Invalid: StoryObj<typeof DropdownSelector>;
10
- export declare const AssistiveText: StoryObj<typeof DropdownSelector>;
11
- export declare const InvalidAssistiveText: StoryObj<typeof DropdownSelector>;
12
- export declare const RequiredText: StoryObj<typeof DropdownSelector>;
13
- export declare const SubLabel: StoryObj<typeof DropdownSelector>;
14
- export declare const LongNames: StoryObj<typeof DropdownSelector>;
15
- export declare const InModal: StoryObj<typeof DropdownSelector>;
16
- export declare const InFormTag: StoryObj<typeof DropdownSelector>;
17
- export declare const CustomChildren: StoryObj<typeof DropdownSelector>;
18
- export declare const Section: StoryObj<typeof DropdownSelector>;
19
- //# sourceMappingURL=index.story.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/components/DropdownSelector/index.story.tsx"],"names":[],"mappings":"AACA,OAAO,gBAAgB,MAAM,GAAG,CAAA;AAMhC,OAAO,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAA;;AAKjD,wBAGkC;AAElC,eAAO,MAAM,OAAO,EAAE,QAAQ,CAAC,OAAO,gBAAgB,CAoBrD,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,QAAQ,CAAC,OAAO,gBAAgB,CAkBnD,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,QAAQ,CAAC,OAAO,gBAAgB,CAkBtD,CAAA;AAED,eAAO,MAAM,YAAY,EAAE,QAAQ,CAAC,OAAO,gBAAgB,CAiB1D,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,QAAQ,CAAC,OAAO,gBAAgB,CAkBrD,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,QAAQ,CAAC,OAAO,gBAAgB,CAkB3D,CAAA;AAED,eAAO,MAAM,oBAAoB,EAAE,QAAQ,CAAC,OAAO,gBAAgB,CAmBlE,CAAA;AAED,eAAO,MAAM,YAAY,EAAE,QAAQ,CAAC,OAAO,gBAAgB,CAqB1D,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,QAAQ,CAAC,OAAO,gBAAgB,CAoBtD,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,QAAQ,CAAC,OAAO,gBAAgB,CA+BvD,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,QAAQ,CAAC,OAAO,gBAAgB,CAkFrD,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,QAAQ,CAAC,OAAO,gBAAgB,CAwCvD,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,QAAQ,CAAC,OAAO,gBAAgB,CAoC5D,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,QAAQ,CAAC,OAAO,gBAAgB,CA4BrD,CAAA"}
@@ -1,6 +0,0 @@
1
- import Icon from '.';
2
- import { StoryObj } from '@storybook/react';
3
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import(".").IconProps & import("react").RefAttributes<import("@charcoal-ui/icons").PixivIcon>>;
4
- export default _default;
5
- export declare const Default: StoryObj<typeof Icon>;
6
- //# sourceMappingURL=index.story.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/components/Icon/index.story.tsx"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,GAAG,CAAA;AAEpB,OAAO,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAA;;AAEjD,wBAqBsB;AAEtB,eAAO,MAAM,OAAO,EAAE,QAAQ,CAAC,OAAO,IAAI,CAAM,CAAA"}
@@ -1,9 +0,0 @@
1
- import '@charcoal-ui/icons';
2
- import IconButton from '.';
3
- import { StoryObj } from '@storybook/react';
4
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import(".").IconButtonProps & import("react").RefAttributes<import("../Clickable").ClickableElement>>;
5
- export default _default;
6
- export declare const DefaultM: StoryObj<typeof IconButton>;
7
- export declare const IsActive: StoryObj<typeof IconButton>;
8
- export declare const OverlayM: StoryObj<typeof IconButton>;
9
- //# sourceMappingURL=index.story.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/components/IconButton/index.story.tsx"],"names":[],"mappings":"AAAA,OAAO,oBAAoB,CAAA;AAC3B,OAAO,UAAU,MAAM,GAAG,CAAA;AAE1B,OAAO,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAA;;AAEjD,wBA+B4B;AAE5B,eAAO,MAAM,QAAQ,EAAE,QAAQ,CAAC,OAAO,UAAU,CAKhD,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,QAAQ,CAAC,OAAO,UAAU,CAIhD,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,QAAQ,CAAC,OAAO,UAAU,CAKhD,CAAA"}
@@ -1,8 +0,0 @@
1
- import { StoryObj } from '@storybook/react';
2
- import { LoadingSpinnerIcon } from '.';
3
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, {
4
- once?: boolean | undefined;
5
- } & import("react").RefAttributes<import(".").LoadingSpinnerIconHandler>>;
6
- export default _default;
7
- export declare const Icon: StoryObj<typeof LoadingSpinnerIcon>;
8
- //# sourceMappingURL=LoadingSpinnerIcon.story.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LoadingSpinnerIcon.story.d.ts","sourceRoot":"","sources":["../../../src/components/LoadingSpinner/LoadingSpinnerIcon.story.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,GAAG,CAAA;;;;AAEtC,wBAOoC;AAEpC,eAAO,MAAM,IAAI,EAAE,QAAQ,CAAC,OAAO,kBAAkB,CAAM,CAAA"}
@@ -1,6 +0,0 @@
1
- import { StoryObj } from '@storybook/react';
2
- import LoadingSpinner from '.';
3
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import(".").LoadingSpinnerProps & import("react").RefAttributes<HTMLDivElement>>;
4
- export default _default;
5
- export declare const Default: StoryObj<typeof LoadingSpinner>;
6
- //# sourceMappingURL=index.story.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/components/LoadingSpinner/index.story.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,cAAc,MAAM,GAAG,CAAA;;AAE9B,wBAUgC;AAEhC,eAAO,MAAM,OAAO,EAAE,QAAQ,CAAC,OAAO,cAAc,CAAM,CAAA"}
@@ -1,21 +0,0 @@
1
- import Modal from '.';
2
- import { StoryObj } from '@storybook/react';
3
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import("@react-aria/overlays").AriaModalOverlayProps & import("@react-types/dialog").AriaDialogProps & {
4
- children: import("react").ReactNode;
5
- zIndex?: number | undefined;
6
- title: string;
7
- size?: import(".").Size | undefined;
8
- bottomSheet?: import(".").BottomSheet | undefined;
9
- isOpen: boolean;
10
- onClose: () => void;
11
- className?: string | undefined;
12
- portalContainer?: HTMLElement | undefined;
13
- } & import("react").RefAttributes<HTMLDivElement>>;
14
- export default _default;
15
- export declare const Default: StoryObj<typeof Modal>;
16
- export declare const FullBottomSheet: StoryObj<typeof Modal>;
17
- export declare const BottomSheet: StoryObj<typeof Modal>;
18
- export declare const NotDismmissableStory: StoryObj<typeof Modal>;
19
- export declare const BackgroundScroll: StoryObj<typeof Modal>;
20
- export { InternalScrollStory as InternalScroll } from './__stories__/InternalScrollStory';
21
- //# sourceMappingURL=index.story.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/components/Modal/index.story.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,GAAG,CAAA;AAezD,OAAO,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;AAEjD,wBAuCuB;AA6DvB,eAAO,MAAM,OAAO,EAAE,QAAQ,CAAC,OAAO,KAAK,CAAM,CAAA;AAEjD,eAAO,MAAM,eAAe,EAAE,QAAQ,CAAC,OAAO,KAAK,CAuDlD,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,QAAQ,CAAC,OAAO,KAAK,CAqC9C,CAAA;AAED,eAAO,MAAM,oBAAoB,EAAE,QAAQ,CAAC,OAAO,KAAK,CA4BvD,CAAA;AAED,eAAO,MAAM,gBAAgB,EAAE,QAAQ,CAAC,OAAO,KAAK,CAqBnD,CAAA;AAED,OAAO,EAAE,mBAAmB,IAAI,cAAc,EAAE,MAAM,mCAAmC,CAAA"}
@@ -1,82 +0,0 @@
1
- import { Story } from '../../_lib/compat';
2
- declare const _default: {
3
- title: string;
4
- component: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<{
5
- value: string;
6
- disabled?: boolean | undefined;
7
- variant?: "default" | "overlay" | undefined;
8
- className?: string | undefined;
9
- onChange?: ((payload: {
10
- value: string;
11
- selected: boolean;
12
- }) => void) | undefined;
13
- } & {
14
- children?: import("react").ReactNode;
15
- } & import("react").RefAttributes<HTMLInputElement>>>;
16
- argTypes: {
17
- name: {
18
- control: {
19
- type: string;
20
- };
21
- };
22
- label: {
23
- control: {
24
- type: string;
25
- };
26
- };
27
- selected: {
28
- control: {
29
- type: string;
30
- };
31
- };
32
- disabled: {
33
- control: {
34
- type: string;
35
- };
36
- };
37
- readonly: {
38
- control: {
39
- type: string;
40
- };
41
- };
42
- invalid: {
43
- control: {
44
- type: string;
45
- };
46
- };
47
- variant: {
48
- control: {
49
- type: string;
50
- options: string[];
51
- };
52
- };
53
- };
54
- };
55
- export default _default;
56
- type Props = {
57
- name: string;
58
- label: string;
59
- selected: boolean;
60
- onChange: (selected: string[]) => void;
61
- disabled?: boolean;
62
- readonly?: boolean;
63
- invalid?: boolean;
64
- variant?: 'default' | 'overlay';
65
- className?: string;
66
- };
67
- export declare const Default: import("react").FunctionComponent<Props> & {
68
- args?: Props | undefined;
69
- };
70
- type PlaygroundProps = {
71
- name: string;
72
- label: string;
73
- disabled?: boolean;
74
- readonly?: boolean;
75
- invalid?: boolean;
76
- className?: string;
77
- variant?: 'default' | 'overlay';
78
- };
79
- export declare const Playground: Story<PlaygroundProps>;
80
- export declare const Invalid: Story<PlaygroundProps>;
81
- export declare const Overlay: Story<PlaygroundProps>;
82
- //# sourceMappingURL=index.story.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/components/MultiSelect/index.story.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIzC,wBAyCC;AAED,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,OAAO,CAAA;IACjB,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,IAAI,CAAA;IACtC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,CAAA;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AA6CD,eAAO,MAAM,OAAO;;CAAoB,CAAA;AAaxC,KAAK,eAAe,GAAG;IACrB,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,OAAO,CAAC,EAAE,SAAS,GAAG,SAAS,CAAA;CAChC,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,eAAe,CAqB7C,CAAA;AAUD,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,eAAe,CAsB1C,CAAA;AASD,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,eAAe,CAqB1C,CAAA"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.test.d.ts","sourceRoot":"","sources":["../../../src/components/MultiSelect/index.test.tsx"],"names":[],"mappings":""}
@@ -1,26 +0,0 @@
1
- import Radio from '.';
2
- import { StoryObj } from '@storybook/react';
3
- declare const _default: {
4
- title: string;
5
- component: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<{
6
- value: string;
7
- disabled?: boolean | undefined;
8
- className?: string | undefined;
9
- } & {
10
- children?: import("react").ReactNode;
11
- } & import("react").RefAttributes<HTMLInputElement>>>;
12
- args: {
13
- name: string;
14
- label: string;
15
- };
16
- parameters: {
17
- layout: string;
18
- };
19
- };
20
- export default _default;
21
- export declare const Basic: StoryObj<typeof Radio>;
22
- export declare const Disabled: StoryObj<typeof Radio>;
23
- export declare const PartialDisabled: StoryObj<typeof Radio>;
24
- export declare const Readonly: StoryObj<typeof Radio>;
25
- export declare const Invalid: StoryObj<typeof Radio>;
26
- //# sourceMappingURL=index.story.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/components/Radio/index.story.tsx"],"names":[],"mappings":"AACA,OAAO,KAAqB,MAAM,GAAG,CAAA;AAErC,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;;;;;;;;AAG3C,wBAUC;AAQD,eAAO,MAAM,KAAK,EAAE,QAAQ,CAAC,OAAO,KAAK,CAqBxC,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,QAAQ,CAAC,OAAO,KAAK,CAsB3C,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,QAAQ,CAAC,OAAO,KAAK,CAqBlD,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,QAAQ,CAAC,OAAO,KAAK,CAsB3C,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,QAAQ,CAAC,OAAO,KAAK,CAsB1C,CAAA"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=index.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.test.d.ts","sourceRoot":"","sources":["../../../src/components/Radio/index.test.tsx"],"names":[],"mappings":""}
@@ -1,7 +0,0 @@
1
- import SegmentedControl from '.';
2
- import { StoryObj } from '@storybook/react';
3
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import(".").SegmentedControlProps & import("react").RefAttributes<HTMLDivElement>>;
4
- export default _default;
5
- export declare const StringSegments: StoryObj<typeof SegmentedControl>;
6
- export declare const ObjectSegments: StoryObj<typeof SegmentedControl>;
7
- //# sourceMappingURL=index.story.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/components/SegmentedControl/index.story.tsx"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,MAAM,GAAG,CAAA;AAChC,OAAO,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAA;;AAEjD,wBAGkC;AAElC,eAAO,MAAM,cAAc,EAAE,QAAQ,CAAC,OAAO,gBAAgB,CAQ5D,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,QAAQ,CAAC,OAAO,gBAAgB,CAa5D,CAAA"}
@@ -1,9 +0,0 @@
1
- import Switch from '.';
2
- import { StoryObj } from '@storybook/react';
3
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import(".").SwitchProps & import("react").RefAttributes<HTMLInputElement>>;
4
- export default _default;
5
- export declare const Basic: StoryObj<typeof Switch>;
6
- export declare const Checked: StoryObj<typeof Switch>;
7
- export declare const Labelled: StoryObj<typeof Switch>;
8
- export declare const Disabled: StoryObj<typeof Switch>;
9
- //# sourceMappingURL=index.story.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/index.story.tsx"],"names":[],"mappings":"AACA,OAAO,MAAM,MAAM,GAAG,CAAA;AACtB,OAAO,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAA;;AAEjD,wBAUwB;AAExB,eAAO,MAAM,KAAK,EAAE,QAAQ,CAAC,OAAO,MAAM,CAgBzC,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,QAAQ,CAAC,OAAO,MAAM,CAgB3C,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,QAAQ,CAAC,OAAO,MAAM,CAe5C,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,QAAQ,CAAC,OAAO,MAAM,CAgB5C,CAAA"}
@@ -1,16 +0,0 @@
1
- import TagItem from '.';
2
- import { StoryObj } from '@storybook/react';
3
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, {
4
- label: string;
5
- translatedLabel?: string | undefined;
6
- bgColor?: string | undefined;
7
- bgImage?: string | undefined;
8
- status?: "default" | "active" | "inactive" | undefined;
9
- size?: "S" | "M" | undefined;
10
- disabled?: boolean | undefined;
11
- className?: string | undefined;
12
- } & Pick<Pick<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "key" | "css" | keyof import("react").AnchorHTMLAttributes<HTMLAnchorElement>>, "href" | "rel" | "target" | "onClick"> & import("react").RefAttributes<HTMLAnchorElement>>;
13
- export default _default;
14
- export declare const Default: StoryObj<typeof TagItem>;
15
- export declare const Playground: StoryObj<typeof TagItem>;
16
- //# sourceMappingURL=index.story.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.story.d.ts","sourceRoot":"","sources":["../../../src/components/TagItem/index.story.tsx"],"names":[],"mappings":"AAEA,OAAO,OAAO,MAAM,GAAG,CAAA;AACvB,OAAO,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAA;;;;;;;;;;;AAEjD,wBAayB;AAEzB,eAAO,MAAM,OAAO,EAAE,QAAQ,CAAC,OAAO,OAAO,CAK5C,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,QAAQ,CAAC,OAAO,OAAO,CA+I/C,CAAA"}
@@ -1,9 +0,0 @@
1
- import TextArea from '.';
2
- import { StoryObj } from '@storybook/react';
3
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import(".").TextAreaProps & import("react").RefAttributes<HTMLTextAreaElement>>;
4
- export default _default;
5
- export declare const Default: StoryObj<typeof TextArea>;
6
- export declare const HasLabel: StoryObj<typeof TextArea>;
7
- export declare const HasCount: StoryObj<typeof TextArea>;
8
- export declare const AutoHeight: StoryObj<typeof TextArea>;
9
- //# sourceMappingURL=TextArea.story.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextArea.story.d.ts","sourceRoot":"","sources":["../../../src/components/TextArea/TextArea.story.tsx"],"names":[],"mappings":"AAGA,OAAO,QAAQ,MAAM,GAAG,CAAA;AAExB,OAAO,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAA;;AAEjD,wBAsB0B;AAO1B,eAAO,MAAM,OAAO,EAAE,QAAQ,CAAC,OAAO,QAAQ,CAAM,CAAA;AAEpD,eAAO,MAAM,QAAQ,EAAE,QAAQ,CAAC,OAAO,QAAQ,CAM9C,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,QAAQ,CAAC,OAAO,QAAQ,CAK9C,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,QAAQ,CAAC,OAAO,QAAQ,CAIhD,CAAA"}
@@ -1,22 +0,0 @@
1
- import TextField from '.';
2
- import { StoryObj } from '@storybook/react';
3
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, import(".").TextFieldProps & import("react").RefAttributes<HTMLInputElement>>;
4
- export default _default;
5
- export declare const Default: {};
6
- export declare const Number: StoryObj<typeof TextField>;
7
- export declare const HasLabel: {
8
- args: {
9
- showLabel: boolean;
10
- assistiveText: string;
11
- required: boolean;
12
- };
13
- };
14
- export declare const HasCount: {
15
- args: {
16
- showCount: boolean;
17
- maxLength: number;
18
- };
19
- };
20
- export declare const HasAffix: StoryObj<typeof TextField>;
21
- export declare const PrefixIcon: StoryObj<typeof TextField>;
22
- //# sourceMappingURL=TextField.story.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextField.story.d.ts","sourceRoot":"","sources":["../../../src/components/TextField/TextField.story.tsx"],"names":[],"mappings":"AAEA,OAAO,SAAS,MAAM,GAAG,CAAA;AAIzB,OAAO,EAAQ,QAAQ,EAAE,MAAM,kBAAkB,CAAA;;AAEjD,wBAsB2B;AAO3B,eAAO,MAAM,OAAO,IAAK,CAAA;AAEzB,eAAO,MAAM,MAAM,EAAE,QAAQ,CAAC,OAAO,SAAS,CAkB7C,CAAA;AAED,eAAO,MAAM,QAAQ;;;;;;CAMpB,CAAA;AAED,eAAO,MAAM,QAAQ;;;;;CAKpB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,QAAQ,CAAC,OAAO,SAAS,CAO/C,CAAA;AAQD,eAAO,MAAM,UAAU,EAAE,QAAQ,CAAC,OAAO,SAAS,CAgCjD,CAAA"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=a11y.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"a11y.test.d.ts","sourceRoot":"","sources":["../../src/components/a11y.test.tsx"],"names":[],"mappings":""}
@@ -1,13 +0,0 @@
1
- import { Meta, StoryObj } from '@storybook/react'
2
- import { LoadingSpinnerIcon } from '.'
3
-
4
- export default {
5
- title: 'LoadingSpinnerIcon',
6
- component: LoadingSpinnerIcon,
7
- args: {
8
- once: false,
9
- },
10
- tags: ['skip-test'],
11
- } as Meta<typeof LoadingSpinnerIcon>
12
-
13
- export const Icon: StoryObj<typeof LoadingSpinnerIcon> = {}