@westpac/ui 0.9.0 → 0.10.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 (56) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/package.json +1 -1
  3. package/tsconfig.build.json +1 -1
  4. package/dist/components/accordion/accordion.stories.d.ts +0 -24
  5. package/dist/components/alert/alert.stories.d.ts +0 -29
  6. package/dist/components/autocomplete/autocomplete.stories.d.ts +0 -33
  7. package/dist/components/badge/badge.stories.d.ts +0 -25
  8. package/dist/components/breadcrumb/breadcrumb.stories.d.ts +0 -9
  9. package/dist/components/breadcrumb/components/breadcrumb-item/breadcrumb-item.stories.d.ts +0 -13
  10. package/dist/components/button/button.stories.d.ts +0 -37
  11. package/dist/components/button-dropdown/button-dropdown.stories.d.ts +0 -42
  12. package/dist/components/button-group/button-group.stories.d.ts +0 -33
  13. package/dist/components/checkbox-group/checkbox-group.stories.d.ts +0 -49
  14. package/dist/components/checkbox-group/components/checkbox/checkbox.stories.d.ts +0 -17
  15. package/dist/components/circle/circle.stories.d.ts +0 -9
  16. package/dist/components/collapsible/collapsible.stories.d.ts +0 -17
  17. package/dist/components/compacta/compacta.stories.d.ts +0 -8
  18. package/dist/components/date-picker/date-picker.stories.d.ts +0 -33
  19. package/dist/components/field/field.stories.d.ts +0 -16
  20. package/dist/components/flexi-cell/flexi-cell.stories.d.ts +0 -26
  21. package/dist/components/form/form.stories.d.ts +0 -21
  22. package/dist/components/grid/grid.stories.d.ts +0 -9
  23. package/dist/components/icon/icon.stories.d.ts +0 -21
  24. package/dist/components/input/input.stories.d.ts +0 -25
  25. package/dist/components/input-field/input-field.scenarios.stories.d.ts +0 -26
  26. package/dist/components/input-field/input-field.sizes.stories.d.ts +0 -9
  27. package/dist/components/input-field/input-field.state.stories.d.ts +0 -17
  28. package/dist/components/input-field/input-field.stories.d.ts +0 -25
  29. package/dist/components/input-field/input-field.type.stories.d.ts +0 -37
  30. package/dist/components/link/link.stories.d.ts +0 -22
  31. package/dist/components/list/list.stories.d.ts +0 -25
  32. package/dist/components/modal/modal.stories.d.ts +0 -21
  33. package/dist/components/pagination/pagination.stories.d.ts +0 -32
  34. package/dist/components/panel/panel.stories.d.ts +0 -21
  35. package/dist/components/pictogram/pictogram.stories.d.ts +0 -10
  36. package/dist/components/popover/popover.stories.d.ts +0 -29
  37. package/dist/components/progress-bar/progress-bar.stories.d.ts +0 -21
  38. package/dist/components/progress-rope/progress-rope.stories.d.ts +0 -13
  39. package/dist/components/radio-group/components/radio/radio.stories.d.ts +0 -17
  40. package/dist/components/radio-group/radio-group.stories.d.ts +0 -49
  41. package/dist/components/repeater/repeater.stories.d.ts +0 -13
  42. package/dist/components/select/select.stories.d.ts +0 -21
  43. package/dist/components/selector/selector.stories.d.ts +0 -56
  44. package/dist/components/skip-link/skip-link.stories.d.ts +0 -8
  45. package/dist/components/switch/switch.stories.d.ts +0 -29
  46. package/dist/components/symbol/symbol.stories.d.ts +0 -12
  47. package/dist/components/table/table.stories.d.ts +0 -25
  48. package/dist/components/tabs/tabs.stories.d.ts +0 -21
  49. package/dist/components/textarea/textarea.stories.d.ts +0 -25
  50. package/dist/components/visually-hidden/visually-hidden.stories.d.ts +0 -12
  51. package/dist/components/well/well.stories.d.ts +0 -25
  52. package/dist/stories/foundation/breakpoints.stories.d.ts +0 -8
  53. package/dist/stories/foundation/colours.stories.d.ts +0 -16
  54. package/dist/stories/foundation/spacing.stories.d.ts +0 -15
  55. package/dist/stories/foundation/theme.stories.d.ts +0 -7
  56. package/dist/stories/foundation/typography.stories.d.ts +0 -19
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @westpac/ui
2
2
 
3
+ ## 0.10.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 626c503: misc. styling fixes and optimised the build package
8
+
3
9
  ## 0.9.0
4
10
 
5
11
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@westpac/ui",
3
- "version": "0.9.0",
3
+ "version": "0.10.0",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "type": "module",
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "extends": "./tsconfig.json",
3
- "exclude": ["**/*.spec.*", "**/*.test.*"]
3
+ "exclude": ["**/*.spec.*", "**/*.test.*", "**/*.stories.*"]
4
4
  }
@@ -1,24 +0,0 @@
1
- import { type Meta, type StoryObj } from '@storybook/react';
2
- import { Accordion } from './accordion.component.js';
3
- declare const meta: Meta<typeof Accordion>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- /**
7
- * > Default usage example
8
- */
9
- export declare const Default: Story;
10
- /**
11
- * > Lego look using Hero color
12
- */
13
- export declare const LegoLook: Story;
14
- /**
15
- * > Controlled example
16
- */
17
- export declare const Controlled: Story;
18
- /**
19
- * > Example showing how you can use styling to change accordion to tabs responsively.
20
- * > Replicates GEL Tabcordion functionality.
21
- * NOTE: Due to how items work the Accordion.Item that are children of Tabs should be Tab.Panel but can't due to name sharing on this page.
22
- * See the source of this example in, https://github.com/WestpacGEL/GEL-next/blob/main/packages/ui/src/components/accordion/accordion.stories.tsx#L142
23
- */
24
- export declare const Responsive: Story;
@@ -1,29 +0,0 @@
1
- import { type Meta, type StoryObj } from '@storybook/react';
2
- import { Alert } from './alert.component.js';
3
- declare const meta: Meta<typeof Alert>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- /**
7
- * > Default usage example
8
- */
9
- export declare const Default: Story;
10
- /**
11
- * > All looks example
12
- */
13
- export declare const Looks: Story;
14
- /**
15
- * > Text mode example
16
- */
17
- export declare const TextMode: Story;
18
- /**
19
- * > Heading example
20
- */
21
- export declare const Heading: Story;
22
- /**
23
- * > Dismissible example
24
- */
25
- export declare const Dismissible: Story;
26
- /**
27
- * > Custom icon example
28
- */
29
- export declare const CustomIcon: Story;
@@ -1,33 +0,0 @@
1
- import { type Meta, type StoryObj } from '@storybook/react';
2
- import { Autocomplete } from './autocomplete.component.js';
3
- declare const meta: Meta<typeof Autocomplete>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- /**
7
- * > Default usage example
8
- */
9
- export declare const Default: Story;
10
- /**
11
- * > Controlled usage example
12
- */
13
- export declare const Controlled: Story;
14
- /**
15
- * > Disabled usage example
16
- */
17
- export declare const Disabled: Story;
18
- /**
19
- * > Invalid usage example
20
- */
21
- export declare const Invalid: Story;
22
- /**
23
- * > Sizes example
24
- */
25
- export declare const Sizes: Story;
26
- /**
27
- * > Footer example
28
- */
29
- export declare const Footer: Story;
30
- /**
31
- * Error message and label
32
- */
33
- export declare const ErrorMessageAndLabel: Story;
@@ -1,25 +0,0 @@
1
- import { type Meta, type StoryObj } from '@storybook/react';
2
- import { Badge } from './badge.component.js';
3
- declare const meta: Meta<typeof Badge>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- /**
7
- * > Default usage example
8
- */
9
- export declare const Default: Story;
10
- /**
11
- * > Default usage example
12
- */
13
- export declare const Pill: Story;
14
- /**
15
- * > Different colors
16
- */
17
- export declare const Colors: () => import("react/jsx-runtime").JSX.Element;
18
- /**
19
- * > Example next to link
20
- */
21
- export declare const Links: () => import("react/jsx-runtime").JSX.Element;
22
- /**
23
- * > Example next to link
24
- */
25
- export declare const Buttons: () => import("react/jsx-runtime").JSX.Element;
@@ -1,9 +0,0 @@
1
- import { type Meta, type StoryObj } from '@storybook/react';
2
- import { Breadcrumb } from './breadcrumb.component.js';
3
- declare const meta: Meta<typeof Breadcrumb>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- /**
7
- * > Default usage example
8
- */
9
- export declare const Default: Story;
@@ -1,13 +0,0 @@
1
- import { type Meta, type StoryObj } from '@storybook/react';
2
- import { BreadcrumbItem } from './breadcrumb-item.component.js';
3
- declare const meta: Meta<typeof BreadcrumbItem>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- /**
7
- * > Default usage example
8
- */
9
- export declare const Default: Story;
10
- /**
11
- * > Disabled
12
- */
13
- export declare const IsDisabled: Story;
@@ -1,37 +0,0 @@
1
- import { type Meta, type StoryObj } from '@storybook/react';
2
- import { Button } from './button.component.js';
3
- declare const meta: Meta<typeof Button>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- /**
7
- * > Default usage example
8
- */
9
- export declare const Default: Story;
10
- /**
11
- * > Button looks
12
- */
13
- export declare const Colors: () => import("react/jsx-runtime").JSX.Element;
14
- /**
15
- * > Button sizes
16
- */
17
- export declare const Sizes: () => import("react/jsx-runtime").JSX.Element;
18
- /**
19
- * > Block buttons
20
- */
21
- export declare const Block: () => import("react/jsx-runtime").JSX.Element;
22
- /**
23
- * > Buttons with icons
24
- */
25
- export declare const Icons: () => import("react/jsx-runtime").JSX.Element;
26
- /**
27
- * > Responsive styles
28
- */
29
- export declare const ResponsiveSize: () => import("react/jsx-runtime").JSX.Element;
30
- /**
31
- * > As anchor tag
32
- */
33
- export declare const AsLink: Story;
34
- /**
35
- * > Disabled look
36
- */
37
- export declare const Disabled: Story;
@@ -1,42 +0,0 @@
1
- import { type Meta, type StoryObj } from '@storybook/react';
2
- import { ButtonDropdown } from './button-dropdown.component.js';
3
- declare const meta: Meta<typeof ButtonDropdown>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- /**
7
- * > Default usage example
8
- */
9
- export declare const Default: Story;
10
- /**
11
- * > Standard looks of button
12
- */
13
- export declare const StandardLooks: () => import("react/jsx-runtime").JSX.Element;
14
- /**
15
- * > Soft looks of button
16
- */
17
- export declare const SoftLooks: () => import("react/jsx-runtime").JSX.Element;
18
- /**
19
- * > Sizes of buttons
20
- */
21
- export declare const ButtonSizes: () => import("react/jsx-runtime").JSX.Element;
22
- /**
23
- * > Sizes of dropdown
24
- */
25
- export declare const DropdownSizes: () => import("react/jsx-runtime").JSX.Element;
26
- /**
27
- * > Block usage example
28
- */
29
- export declare const BlockDropdownButton: () => import("react/jsx-runtime").JSX.Element;
30
- /**
31
- * > Icon usage example
32
- */
33
- export declare const DropdownButtonWithIcons: Story;
34
- /**
35
- * > With headings example
36
- */
37
- export declare const DropdownWithHeadings: Story;
38
- /**
39
- * > Open by default
40
- * NOTE: This element has a visual bug on the Storybook Docs page when page loaded but doesn't in dev docs/canvas view
41
- */
42
- export declare const Open: Story;
@@ -1,33 +0,0 @@
1
- import { type Meta, type StoryObj } from '@storybook/react';
2
- import { ButtonGroup } from './button-group.component.js';
3
- declare const meta: Meta<typeof ButtonGroup>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- /**
7
- * > Default usage example
8
- */
9
- export declare const Default: Story;
10
- /**
11
- * Button group looks
12
- */
13
- export declare const Colors: () => import("react/jsx-runtime").JSX.Element;
14
- /**
15
- * Button group sizes
16
- */
17
- export declare const Sizes: () => import("react/jsx-runtime").JSX.Element;
18
- /**
19
- * Button group responsive sizing
20
- */
21
- export declare const ResponsiveSize: Story;
22
- /**
23
- * Button group block
24
- */
25
- export declare const Block: () => import("react/jsx-runtime").JSX.Element;
26
- /**
27
- * Disabled button group
28
- */
29
- export declare const Disabled: Story;
30
- /**
31
- * Error message and label
32
- */
33
- export declare const ErrorMessageAndLabel: Story;
@@ -1,49 +0,0 @@
1
- import { type Meta, type StoryObj } from '@storybook/react';
2
- import { CheckboxGroup } from './checkbox-group.component.js';
3
- declare const meta: Meta<typeof CheckboxGroup>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- /**
7
- * > Default usage example
8
- */
9
- export declare const Default: Story;
10
- /**
11
- * > Default usage example
12
- */
13
- export declare const LongLines: Story;
14
- /**
15
- * > CheckboxGroup with default value
16
- */
17
- export declare const DefaultValue: Story;
18
- /**
19
- * > CheckboxGroup with checkboxes aligned horizontally
20
- */
21
- export declare const Inline: Story;
22
- /**
23
- * > Horizontal long lines
24
- */
25
- export declare const InlineLongLines: Story;
26
- /**
27
- * > CheckboxGroup that is disabled
28
- */
29
- export declare const Disabled: Story;
30
- /**
31
- * > CheckboxGroup with large checkboxes
32
- */
33
- export declare const Large: Story;
34
- /**
35
- * > CheckboxGroup that has hidden checkboxes that will be revealed on clicking on button
36
- */
37
- export declare const HiddenItems: Story;
38
- /**
39
- * > Hint text
40
- */
41
- export declare const HintText: Story;
42
- /**
43
- * > On change (check console log)
44
- */
45
- export declare const OnChange: Story;
46
- /**
47
- * Error message and label
48
- */
49
- export declare const ErrorMessageAndLabel: Story;
@@ -1,17 +0,0 @@
1
- import { type Meta, type StoryObj } from '@storybook/react';
2
- import { Checkbox } from './checkbox.component.js';
3
- declare const meta: Meta<typeof Checkbox>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- /**
7
- * > Base Checkbox Item, unchecked as that is handled by Checkbox
8
- */
9
- export declare const Default: Story;
10
- /**
11
- * > Checkbox Item with hint example
12
- */
13
- export declare const HintText: Story;
14
- /**
15
- * > Disabled Checkbox Item example
16
- */
17
- export declare const Disabled: Story;
@@ -1,9 +0,0 @@
1
- import { type Meta, type StoryObj } from '@storybook/react';
2
- import { Circle } from './circle.component.js';
3
- declare const meta: Meta<typeof Circle>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- /**
7
- * > Default usage example
8
- */
9
- export declare const Default: Story;
@@ -1,17 +0,0 @@
1
- import { type Meta, type StoryObj } from '@storybook/react';
2
- import { Collapsible } from './collapsible.component.js';
3
- declare const meta: Meta<typeof Collapsible>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- /**
7
- * > Default usage example
8
- */
9
- export declare const Default: Story;
10
- /**
11
- * > Examples of sizes of collapsible button
12
- */
13
- export declare const Sizes: () => import("react/jsx-runtime").JSX.Element;
14
- /**
15
- * > Setting the default of collapsible to open
16
- */
17
- export declare const Open: () => import("react/jsx-runtime").JSX.Element;
@@ -1,8 +0,0 @@
1
- import { type Meta } from '@storybook/react';
2
- import { Compacta } from './compacta.component.js';
3
- declare const meta: Meta<typeof Compacta>;
4
- export default meta;
5
- /**
6
- * > Default usage example
7
- */
8
- export declare const Default: () => import("react/jsx-runtime").JSX.Element;
@@ -1,33 +0,0 @@
1
- import { type Meta, type StoryObj } from '@storybook/react';
2
- import { DatePicker } from './date-picker.component.js';
3
- declare const meta: Meta<typeof DatePicker>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- /**
7
- * > Default usage example
8
- */
9
- export declare const Default: Story;
10
- /**
11
- * > Different sizes example
12
- */
13
- export declare const Sizes: Story;
14
- /**
15
- * > Controlled value
16
- */
17
- export declare const Controlled: Story;
18
- /**
19
- * > Disable weekends
20
- */
21
- export declare const DisableWeekends: Story;
22
- /**
23
- * > Disable days of the week (Mon, Wed, Fri in example)
24
- */
25
- export declare const DisableDaysOfWeek: Story;
26
- /**
27
- * > Disable specific dates (2023-10-10 in example)
28
- */
29
- export declare const DisableSpecificDates: Story;
30
- /**
31
- * > Form field example
32
- */
33
- export declare const FormField: Story;
@@ -1,16 +0,0 @@
1
- import { type Meta, type StoryObj } from '@storybook/react';
2
- import { Field } from './field.component.js';
3
- /**
4
- * Field component provides label, hint message and error message to form components such as Select, Input etc.
5
- */
6
- declare const meta: Meta<typeof Field>;
7
- export default meta;
8
- type Story = StoryObj<typeof meta>;
9
- /**
10
- * > Default usage example
11
- */
12
- export declare const DefaultStory: Story;
13
- /**
14
- * > Select usage example
15
- */
16
- export declare const SelectStory: Story;
@@ -1,26 +0,0 @@
1
- import { type Meta, type StoryObj } from '@storybook/react';
2
- import { FlexiCell } from './flexi-cell.component.js';
3
- declare const meta: Meta<typeof FlexiCell>;
4
- export default meta;
5
- type Story = StoryObj<unknown>;
6
- /**
7
- * > Default usage example
8
- */
9
- export declare const Default: Story;
10
- export declare const CreditCard: Story;
11
- export declare const Account: Story;
12
- export declare const Payee: Story;
13
- export declare const PayeeWithInfo: Story;
14
- export declare const FlagPayee: Story;
15
- export declare const ListItemWithFlag: Story;
16
- export declare const ListItem: Story;
17
- export declare const WestpacSpecialProduct: Story;
18
- export declare const FlexiCellWithImage: Story;
19
- export declare const StickyFooterExample: Story;
20
- export declare const AccountList: Story;
21
- export declare const PayeeList: Story;
22
- export declare const CountryList: Story;
23
- export declare const ForeignCurrencyList: Story;
24
- export declare const PromotilesHorizontalList: Story;
25
- export declare const PromotilesVerticalList: Story;
26
- export declare const ProductTiles: Story;
@@ -1,21 +0,0 @@
1
- import { type Meta, type StoryObj } from '@storybook/react';
2
- import { Form } from './form.component.js';
3
- declare const meta: Meta<typeof Form>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- /**
7
- * > Default size and spacing
8
- */
9
- export declare const Default: Story;
10
- /**
11
- * > Multiple errors
12
- */
13
- export declare const MultipleErrors: Story;
14
- /**
15
- * > All sizes Story
16
- */
17
- export declare const Size: Story;
18
- /**
19
- * > All spacings Story. Increases space between label, hint and form groups
20
- */
21
- export declare const AllSpacings: Story;
@@ -1,9 +0,0 @@
1
- import { type Meta } from '@storybook/react';
2
- import { Grid } from './grid.component.js';
3
- declare const meta: Meta<typeof Grid>;
4
- export default meta;
5
- export declare const Default: () => import("react/jsx-runtime").JSX.Element;
6
- export declare const DefaultContainer: () => import("react/jsx-runtime").JSX.Element;
7
- export declare const ResponsiveItems: () => import("react/jsx-runtime").JSX.Element;
8
- export declare const Positioning: () => import("react/jsx-runtime").JSX.Element;
9
- export declare const HolyGrailLayout: () => import("react/jsx-runtime").JSX.Element;
@@ -1,21 +0,0 @@
1
- import { type Meta, type StoryObj } from '@storybook/react';
2
- import { Icon } from './icon.component.js';
3
- declare const meta: Meta<typeof Icon>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- /**
7
- * > Default usage example
8
- */
9
- export declare const Default: Story;
10
- /**
11
- * > With primary color example
12
- */
13
- export declare const Primary: Story;
14
- /**
15
- * > With large size example
16
- */
17
- export declare const Size: Story;
18
- /**
19
- * > With outlined look example
20
- */
21
- export declare const Outlined: Story;
@@ -1,25 +0,0 @@
1
- import { type Meta, type StoryObj } from '@storybook/react';
2
- import { Input } from './input.component.js';
3
- declare const meta: Meta<typeof Input>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- /**
7
- * > Default usage example
8
- */
9
- export declare const Default: Story;
10
- /**
11
- * > Invalid usage example
12
- */
13
- export declare const Invalid: Story;
14
- /**
15
- * > Disabled usage example
16
- */
17
- export declare const Disabled: Story;
18
- /**
19
- * >Sizes
20
- */
21
- export declare const Sizes: () => import("react/jsx-runtime").JSX.Element;
22
- /**
23
- * > ReadOnly usage example
24
- */
25
- export declare const ReadOnly: Story;
@@ -1,26 +0,0 @@
1
- import { type Meta, type StoryObj } from '@storybook/react';
2
- import { InputField } from './input-field.component.js';
3
- declare const meta: Meta<typeof InputField>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- /**
7
- * > Number of dependents
8
- */
9
- export declare const NumberStepper: Story;
10
- /**
11
- * > Masked characters in field
12
- */
13
- export declare const MaskedCharacters: Story;
14
- /**
15
- * > Search with left icon and clear button
16
- */
17
- export declare const SearchWithLeftIconAndClearButton: Story;
18
- /**
19
- * > Inline field validation flow
20
- */
21
- export declare const InlineFieldValidationFlow: Story;
22
- /**
23
- * > Search Currency and frequency
24
- */
25
- export declare const CurrencyAndFrequency: Story;
26
- export declare const TextareaWithCharacterCount: Story;
@@ -1,9 +0,0 @@
1
- import { type Meta, type StoryObj } from '@storybook/react';
2
- import { InputField } from './input-field.component.js';
3
- declare const meta: Meta<typeof InputField>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- /**
7
- * > Input field with different sizes
8
- */
9
- export declare const InputFieldWithDifferentSizes: Story;
@@ -1,17 +0,0 @@
1
- import { type Meta, type StoryObj } from '@storybook/react';
2
- import { InputField } from './input-field.component.js';
3
- declare const meta: Meta<typeof InputField>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- /**
7
- * > Invalid with error message/s
8
- */
9
- export declare const InvalidWithErrorMessages: Story;
10
- /**
11
- * > Input field with disabled state
12
- */
13
- export declare const InputFieldWithDisabledState: Story;
14
- /**
15
- * > Input field with read-only state
16
- */
17
- export declare const InputFieldWithReadOnlyState: Story;
@@ -1,25 +0,0 @@
1
- import { type Meta, type StoryObj } from '@storybook/react';
2
- import { InputField } from './input-field.component.js';
3
- declare const meta: Meta<typeof InputField>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- /**
7
- * > Default usage example
8
- */
9
- export declare const Default: Story;
10
- /**
11
- * > Another usage example
12
- */
13
- export declare const AnotherDefault: Story;
14
- /**
15
- * > SrOnlyLabel usage example
16
- */
17
- export declare const SrOnlyLabel: Story;
18
- /**
19
- * > Combination usage example
20
- */
21
- export declare const Combination: Story;
22
- /**
23
- * > Fieldset as tag
24
- */
25
- export declare const WithFieldset: Story;
@@ -1,37 +0,0 @@
1
- import { type Meta, type StoryObj } from '@storybook/react';
2
- import { InputField } from './input-field.component.js';
3
- declare const meta: Meta<typeof InputField>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- /**
7
- * > Text Beforoe story example
8
- */
9
- export declare const TextBeforeStory: Story;
10
- /**
11
- * > Text Beforoe story example
12
- */
13
- export declare const TextAfter: Story;
14
- /**
15
- * > Text After and Beforoe story example
16
- */
17
- export declare const TextAfterAndBefore: Story;
18
- /**
19
- * > Textarea
20
- */
21
- export declare const IconAddOn: Story;
22
- /**
23
- * > Icons in buttons
24
- */
25
- export declare const IconInButtonsOn: Story;
26
- /**
27
- * > Button add ons
28
- */
29
- export declare const ButtonAddOn: Story;
30
- /**
31
- * > Select add ons
32
- */
33
- export declare const SelectAddOn: Story;
34
- /**
35
- * > Textarea
36
- */
37
- export declare const TextArea: Story;