@helpwave/hightide 0.0.4 → 0.0.5
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/package.json +9 -1
- package/.storybook/main.ts +0 -24
- package/.storybook/preview.tsx +0 -67
- package/eslint.config.js +0 -3
- package/postcss.config.mjs +0 -7
- package/stories/README.md +0 -23
- package/stories/coloring/shading.stories.tsx +0 -54
- package/stories/geometry/Circle.stories.tsx +0 -16
- package/stories/geometry/rings/AnimatedRing.stories.tsx +0 -18
- package/stories/geometry/rings/RadialRings.stories.tsx +0 -19
- package/stories/geometry/rings/Ring.stories.tsx +0 -17
- package/stories/geometry/rings/RingWave.stories.tsx +0 -20
- package/stories/layout/FAQSection.stories.tsx +0 -49
- package/stories/layout/InputGroup.stories.tsx +0 -19
- package/stories/layout/Table.stories.tsx +0 -19
- package/stories/layout/TextImage.stories.tsx +0 -24
- package/stories/layout/chip/Chip.stories.tsx +0 -19
- package/stories/layout/chip/ChipList.stories.tsx +0 -27
- package/stories/layout/tile/Tile.stories.ts +0 -20
- package/stories/layout/tile/TileWithImage.stories.tsx +0 -27
- package/stories/other/BreadCrumbs.stories.tsx +0 -21
- package/stories/other/HelpwaveBadge.stories.tsx +0 -18
- package/stories/other/HelpwaveSpinner.stories.tsx +0 -19
- package/stories/other/MarkdownInterpreter.stories.tsx +0 -18
- package/stories/other/Profile.stories.tsx +0 -52
- package/stories/other/SearchableList.stories.tsx +0 -21
- package/stories/other/StackingModals.stories.tsx +0 -16
- package/stories/other/TechRadar.stories.tsx +0 -14
- package/stories/other/Translation.stories.tsx +0 -56
- package/stories/other/VerticalDivider.stories.tsx +0 -20
- package/stories/other/avatar/Avatar.stories.tsx +0 -19
- package/stories/other/avatar/AvatarGroup.stories.tsx +0 -26
- package/stories/other/tooltip/Tooltip.stories.tsx +0 -30
- package/stories/other/tooltip/TooltipStack.stories.tsx +0 -39
- package/stories/user-action/button/LoadingButton.stories.tsx +0 -21
- package/stories/user-action/button/OutlineButton.stories.tsx +0 -22
- package/stories/user-action/button/SolidButton.stories.tsx +0 -22
- package/stories/user-action/button/TextButton.stories.tsx +0 -22
- package/stories/user-action/input/Checkbox.stories.tsx +0 -20
- package/stories/user-action/input/Label.stories.tsx +0 -18
- package/stories/user-action/input/ScrollPicker.stories.tsx +0 -20
- package/stories/user-action/input/Textarea.stories.tsx +0 -22
- package/stories/user-action/input/date/DatePicker.stories.tsx +0 -23
- package/stories/user-action/input/date/DateTimePicker.stories.tsx +0 -26
- package/stories/user-action/input/date/DayPicker.stories.tsx +0 -20
- package/stories/user-action/input/date/TimePicker.stories.tsx +0 -20
- package/stories/user-action/input/date/YearMonthPicker.stories.tsx +0 -21
- package/stories/user-action/input/select/MultiSelect.stories.tsx +0 -39
- package/stories/user-action/input/select/SearchableSelect.stories.tsx +0 -32
- package/stories/user-action/input/select/Select.stories.tsx +0 -30
- package/stories/user-action/properties/CheckboxProperty.stories.tsx +0 -20
- package/stories/user-action/properties/DateProperty.stories.tsx +0 -21
- package/stories/user-action/properties/MultiSelectProperty.stories.tsx +0 -33
- package/stories/user-action/properties/NumberProperty.stories.tsx +0 -21
- package/stories/user-action/properties/PropertyBase.stories.tsx +0 -28
- package/stories/user-action/properties/SingleSelectProperty.stories.tsx +0 -35
- package/stories/user-action/properties/TextProperty.stories.tsx +0 -20
- package/tsconfig.json +0 -20
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react'
|
|
2
|
-
import { MultiSelectPropertyExample } from '../../../components/examples/properties/MultiSelectPropertyExample'
|
|
3
|
-
|
|
4
|
-
const meta = {
|
|
5
|
-
title: 'User-Action/Property',
|
|
6
|
-
component: MultiSelectPropertyExample,
|
|
7
|
-
} satisfies Meta<typeof MultiSelectPropertyExample>
|
|
8
|
-
|
|
9
|
-
export default meta
|
|
10
|
-
type Story = StoryObj<typeof meta>;
|
|
11
|
-
|
|
12
|
-
export const MultiSelectPropertyVariation: Story = {
|
|
13
|
-
args: {
|
|
14
|
-
name: 'Fruits',
|
|
15
|
-
softRequired: false,
|
|
16
|
-
options: [
|
|
17
|
-
{ value: 'apple', label: 'Apple', selected: false },
|
|
18
|
-
{ value: 'pear', label: 'Pear', selected: false },
|
|
19
|
-
{ value: 'plum', label: 'Plum', selected: false },
|
|
20
|
-
{ value: 'strawberry', label: 'Strawberry', selected: false, disabled: true },
|
|
21
|
-
{ value: 'orange', label: 'Orange', selected: false },
|
|
22
|
-
{ value: 'maracuja', label: 'Maracuja', selected: false },
|
|
23
|
-
{ value: 'lemon', label: 'Lemon', selected: false },
|
|
24
|
-
{ value: 'pineapple', label: 'Pineapple', selected: false },
|
|
25
|
-
{ value: 'kiwi', label: 'Kiwi', selected: false },
|
|
26
|
-
{ value: 'watermelon', label: 'Watermelon', selected: false },
|
|
27
|
-
],
|
|
28
|
-
readOnly: false,
|
|
29
|
-
hintText: 'Select',
|
|
30
|
-
enableSearch: true,
|
|
31
|
-
showDisabledOptions: true
|
|
32
|
-
},
|
|
33
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react'
|
|
2
|
-
import { NumberPropertyExample } from '../../../components/examples/properties/NumberPropertyExample'
|
|
3
|
-
|
|
4
|
-
const meta = {
|
|
5
|
-
title: 'User-Action/Property',
|
|
6
|
-
component: NumberPropertyExample,
|
|
7
|
-
} satisfies Meta<typeof NumberPropertyExample>
|
|
8
|
-
|
|
9
|
-
export default meta
|
|
10
|
-
type Story = StoryObj<typeof meta>;
|
|
11
|
-
|
|
12
|
-
export const NumberPropertyVariation: Story = {
|
|
13
|
-
args: {
|
|
14
|
-
name: 'Property',
|
|
15
|
-
softRequired: false,
|
|
16
|
-
value: undefined,
|
|
17
|
-
suffix: 'kg',
|
|
18
|
-
readOnly: false,
|
|
19
|
-
className: '',
|
|
20
|
-
},
|
|
21
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react'
|
|
2
|
-
import clsx from 'clsx'
|
|
3
|
-
import { PropertyBase } from '../../../components/properties/PropertyBase'
|
|
4
|
-
|
|
5
|
-
const meta = {
|
|
6
|
-
title: 'User-Action/Property',
|
|
7
|
-
component: PropertyBase,
|
|
8
|
-
} satisfies Meta<typeof PropertyBase>
|
|
9
|
-
|
|
10
|
-
export default meta
|
|
11
|
-
type Story = StoryObj<typeof meta>;
|
|
12
|
-
|
|
13
|
-
export const PropertyBaseVariation: Story = {
|
|
14
|
-
args: {
|
|
15
|
-
name: 'Property',
|
|
16
|
-
softRequired: false,
|
|
17
|
-
hasValue: true,
|
|
18
|
-
input: ({ softRequired, hasValue }) => (
|
|
19
|
-
<div
|
|
20
|
-
className={clsx('row grow py-2 px-4', { 'text-warning': softRequired && !hasValue })}
|
|
21
|
-
>
|
|
22
|
-
Value
|
|
23
|
-
</div>
|
|
24
|
-
),
|
|
25
|
-
className: '',
|
|
26
|
-
readOnly: false,
|
|
27
|
-
},
|
|
28
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react'
|
|
2
|
-
import { SingleSelectPropertyExample } from '../../../components/examples/properties/SelectPropertyExample'
|
|
3
|
-
|
|
4
|
-
const meta = {
|
|
5
|
-
title: 'User-Action/Property',
|
|
6
|
-
component: SingleSelectPropertyExample,
|
|
7
|
-
} satisfies Meta<typeof SingleSelectPropertyExample>
|
|
8
|
-
|
|
9
|
-
export default meta
|
|
10
|
-
type Story = StoryObj<typeof meta>;
|
|
11
|
-
|
|
12
|
-
export const SingleSelectPropertyVariation: Story = {
|
|
13
|
-
args: {
|
|
14
|
-
value: undefined,
|
|
15
|
-
name: 'Fruits',
|
|
16
|
-
softRequired: false,
|
|
17
|
-
options: [
|
|
18
|
-
{ value: 'apple', label: 'Apple' },
|
|
19
|
-
{ value: 'pear', label: 'Pear' },
|
|
20
|
-
{ value: 'plum', label: 'Plum' },
|
|
21
|
-
{ value: 'strawberry', label: 'Strawberry', disabled: true },
|
|
22
|
-
{ value: 'orange', label: 'Orange' },
|
|
23
|
-
{ value: 'maracuja', label: 'Maracuja' },
|
|
24
|
-
{ value: 'lemon', label: 'Lemon' },
|
|
25
|
-
{ value: 'pineapple', label: 'Pineapple' },
|
|
26
|
-
{ value: 'kiwi', label: 'Kiwi' },
|
|
27
|
-
{ value: 'watermelon', label: 'Watermelon' },
|
|
28
|
-
],
|
|
29
|
-
readOnly: false,
|
|
30
|
-
hintText: 'Select',
|
|
31
|
-
showDisabledOptions: true,
|
|
32
|
-
isDisabled: false,
|
|
33
|
-
isHidingCurrentValue: true
|
|
34
|
-
},
|
|
35
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react'
|
|
2
|
-
import { TextPropertyExample } from '../../../components/examples/properties/TextPropertyExample'
|
|
3
|
-
|
|
4
|
-
const meta = {
|
|
5
|
-
title: 'User-Action/Property',
|
|
6
|
-
component: TextPropertyExample,
|
|
7
|
-
} satisfies Meta<typeof TextPropertyExample>
|
|
8
|
-
|
|
9
|
-
export default meta
|
|
10
|
-
type Story = StoryObj<typeof meta>;
|
|
11
|
-
|
|
12
|
-
export const TextPropertyVariation: Story = {
|
|
13
|
-
args: {
|
|
14
|
-
name: 'Property',
|
|
15
|
-
softRequired: false,
|
|
16
|
-
value: undefined,
|
|
17
|
-
readOnly: false,
|
|
18
|
-
className: '',
|
|
19
|
-
},
|
|
20
|
-
}
|
package/tsconfig.json
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"target": "esnext",
|
|
4
|
-
"module": "esnext",
|
|
5
|
-
"moduleResolution": "node",
|
|
6
|
-
"allowJs": true,
|
|
7
|
-
"esModuleInterop": true,
|
|
8
|
-
"strict": true,
|
|
9
|
-
"skipLibCheck": true,
|
|
10
|
-
"noEmit": true,
|
|
11
|
-
"resolveJsonModule": true,
|
|
12
|
-
"isolatedModules": true,
|
|
13
|
-
"jsx": "react-jsx",
|
|
14
|
-
"incremental": true,
|
|
15
|
-
"forceConsistentCasingInFileNames": true,
|
|
16
|
-
"allowSyntheticDefaultImports": true,
|
|
17
|
-
"noPropertyAccessFromIndexSignature": true,
|
|
18
|
-
"noUncheckedIndexedAccess": true
|
|
19
|
-
}
|
|
20
|
-
}
|