@stfrigerio/sito-template 0.1.4 → 0.1.6
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/dist/components/atoms/AllAtoms.stories.d.ts.map +1 -1
- package/dist/components/atoms/Card/Card.d.ts +1 -1
- package/dist/components/atoms/Card/Card.d.ts.map +1 -1
- package/dist/components/atoms/NumberStepper/NumberStepper.d.ts +67 -0
- package/dist/components/atoms/NumberStepper/NumberStepper.d.ts.map +1 -0
- package/dist/components/atoms/NumberStepper/NumberStepper.stories.d.ts +18 -0
- package/dist/components/atoms/NumberStepper/NumberStepper.stories.d.ts.map +1 -0
- package/dist/components/atoms/NumberStepper/index.d.ts +3 -0
- package/dist/components/atoms/NumberStepper/index.d.ts.map +1 -0
- package/dist/components/atoms/ToggleButton/ToggleButton.d.ts +69 -0
- package/dist/components/atoms/ToggleButton/ToggleButton.d.ts.map +1 -0
- package/dist/components/atoms/ToggleButton/ToggleButton.stories.d.ts +16 -0
- package/dist/components/atoms/ToggleButton/ToggleButton.stories.d.ts.map +1 -0
- package/dist/components/atoms/ToggleButton/index.d.ts +3 -0
- package/dist/components/atoms/ToggleButton/index.d.ts.map +1 -0
- package/dist/components/atoms/index.d.ts +4 -0
- package/dist/components/atoms/index.d.ts.map +1 -1
- package/dist/components/molecules/Tabs/Tabs.d.ts +9 -0
- package/dist/components/molecules/Tabs/Tabs.d.ts.map +1 -0
- package/dist/components/molecules/Tabs/Tabs.stories.d.ts +10 -0
- package/dist/components/molecules/Tabs/Tabs.stories.d.ts.map +1 -0
- package/dist/components/molecules/index.d.ts +2 -1
- package/dist/components/molecules/index.d.ts.map +1 -1
- package/dist/index.esm.js +350 -86
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +352 -85
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/styles.css.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AllAtoms.stories.d.ts","sourceRoot":"","sources":["../../../src/components/atoms/AllAtoms.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"AllAtoms.stories.d.ts","sourceRoot":"","sources":["../../../src/components/atoms/AllAtoms.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAiBvD,QAAA,MAAM,IAAI,EAAE,IAUX,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AA2wBnC,eAAO,MAAM,gBAAgB,EAAE,KAE9B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAiIzB,CAAC"}
|
|
@@ -6,7 +6,7 @@ import { HTMLMotionProps } from 'framer-motion';
|
|
|
6
6
|
*/
|
|
7
7
|
export interface CardProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onAnimationStart' | 'onDragStart' | 'onDragEnd' | 'onDrag'> {
|
|
8
8
|
/** Visual style variant of the card */
|
|
9
|
-
variant?: 'elevated' | 'outlined' | 'flat';
|
|
9
|
+
variant?: 'elevated' | 'outlined' | 'flat' | 'glass';
|
|
10
10
|
/** Whether the card should have hover animations */
|
|
11
11
|
hoverable?: boolean;
|
|
12
12
|
/** Whether the card should be clickable (adds pointer cursor and click handler) */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/Card/Card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzD,OAAO,EAAU,eAAe,EAAE,MAAM,eAAe,CAAC;AAGxD;;;GAGG;AACH,MAAM,WAAW,SAAU,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAA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eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CA6DpC,CAAC"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Props for the NumberStepper component
|
|
4
|
+
* @interface NumberStepperProps
|
|
5
|
+
*/
|
|
6
|
+
export interface NumberStepperProps {
|
|
7
|
+
/** Current value */
|
|
8
|
+
value: number;
|
|
9
|
+
/** Callback when value changes */
|
|
10
|
+
onChange: (value: number) => void;
|
|
11
|
+
/** Minimum allowed value */
|
|
12
|
+
min?: number;
|
|
13
|
+
/** Maximum allowed value */
|
|
14
|
+
max?: number;
|
|
15
|
+
/** Step increment/decrement amount */
|
|
16
|
+
step?: number;
|
|
17
|
+
/** Label text */
|
|
18
|
+
label?: string;
|
|
19
|
+
/** Icon or emoji to display */
|
|
20
|
+
icon?: string;
|
|
21
|
+
/** Whether the stepper is disabled */
|
|
22
|
+
disabled?: boolean;
|
|
23
|
+
/** Size variant */
|
|
24
|
+
size?: 'small' | 'medium' | 'large';
|
|
25
|
+
/** Visual variant */
|
|
26
|
+
variant?: 'default' | 'outlined' | 'filled';
|
|
27
|
+
/** Show plus/minus icons instead of arrows */
|
|
28
|
+
showPlusMinus?: boolean;
|
|
29
|
+
/** Allow keyboard navigation */
|
|
30
|
+
allowKeyboard?: boolean;
|
|
31
|
+
/** Custom className */
|
|
32
|
+
className?: string;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* NumberStepper Component
|
|
36
|
+
*
|
|
37
|
+
* @component
|
|
38
|
+
* @description
|
|
39
|
+
* A number input component with increment and decrement controls.
|
|
40
|
+
* Supports keyboard navigation, min/max limits, and custom step values.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* // Basic usage
|
|
44
|
+
* <NumberStepper
|
|
45
|
+
* value={count}
|
|
46
|
+
* onChange={setCount}
|
|
47
|
+
* min={0}
|
|
48
|
+
* max={10}
|
|
49
|
+
* />
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* // With label and icon
|
|
53
|
+
* <NumberStepper
|
|
54
|
+
* value={5}
|
|
55
|
+
* onChange={(val) => setValue(val)}
|
|
56
|
+
* min={0}
|
|
57
|
+
* max={100}
|
|
58
|
+
* step={5}
|
|
59
|
+
* label="Quantity"
|
|
60
|
+
* icon="📦"
|
|
61
|
+
* />
|
|
62
|
+
*
|
|
63
|
+
* @param {NumberStepperProps} props - The props for the NumberStepper component
|
|
64
|
+
* @returns {JSX.Element} The rendered NumberStepper component
|
|
65
|
+
*/
|
|
66
|
+
export declare const NumberStepper: React.FC<NumberStepperProps>;
|
|
67
|
+
//# sourceMappingURL=NumberStepper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NumberStepper.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/NumberStepper/NumberStepper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAIhE;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IAC/B,oBAAoB;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,kCAAkC;IAClC,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,4BAA4B;IAC5B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,4BAA4B;IAC5B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,sCAAsC;IACtC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,iBAAiB;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,+BAA+B;IAC/B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,sCAAsC;IACtC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mBAAmB;IACnB,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,qBAAqB;IACrB,OAAO,CAAC,EAAE,SAAS,GAAG,UAAU,GAAG,QAAQ,CAAC;IAC5C,8CAA8C;IAC9C,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,gCAAgC;IAChC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,uBAAuB;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA2MtD,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { NumberStepper } from './NumberStepper';
|
|
3
|
+
declare const meta: Meta<typeof NumberStepper>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const WithLabelAndIcon: Story;
|
|
8
|
+
export declare const QuantitySelector: Story;
|
|
9
|
+
export declare const TemperatureControl: Story;
|
|
10
|
+
export declare const SmallSize: Story;
|
|
11
|
+
export declare const LargeSize: Story;
|
|
12
|
+
export declare const OutlinedVariant: Story;
|
|
13
|
+
export declare const FilledVariant: Story;
|
|
14
|
+
export declare const Disabled: Story;
|
|
15
|
+
export declare const NoLimits: Story;
|
|
16
|
+
export declare const DecimalStep: Story;
|
|
17
|
+
export declare const HabitTracking: Story;
|
|
18
|
+
//# sourceMappingURL=NumberStepper.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NumberStepper.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/NumberStepper/NumberStepper.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,aAAa,CA2DpC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAkBnC,eAAO,MAAM,OAAO,EAAE,KAQrB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAU9B,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAW9B,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,KAWhC,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAUvB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAWvB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAW7B,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAW3B,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAUtB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAQtB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAUzB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAwC3B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/NumberStepper/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Props for the ToggleButton component
|
|
4
|
+
* @interface ToggleButtonProps
|
|
5
|
+
*/
|
|
6
|
+
export interface ToggleButtonProps {
|
|
7
|
+
/** Whether the button is active/selected */
|
|
8
|
+
active: boolean;
|
|
9
|
+
/** Click handler */
|
|
10
|
+
onClick: () => void;
|
|
11
|
+
/** Icon or emoji to display */
|
|
12
|
+
icon?: string | React.ReactNode;
|
|
13
|
+
/** Label text */
|
|
14
|
+
label?: string;
|
|
15
|
+
/** Whether the button is disabled */
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
/** Size variant */
|
|
18
|
+
size?: 'small' | 'medium' | 'large';
|
|
19
|
+
/** Visual variant */
|
|
20
|
+
variant?: 'default' | 'outlined' | 'filled' | 'ghost';
|
|
21
|
+
/** Color when active */
|
|
22
|
+
activeColor?: 'primary' | 'secondary' | 'success' | 'danger' | 'warning';
|
|
23
|
+
/** Show a checkmark when active */
|
|
24
|
+
showCheckmark?: boolean;
|
|
25
|
+
/** Animation type for state change */
|
|
26
|
+
animation?: 'scale' | 'rotate' | 'flip' | 'none';
|
|
27
|
+
/** Custom className */
|
|
28
|
+
className?: string;
|
|
29
|
+
/** Tooltip text */
|
|
30
|
+
tooltip?: string;
|
|
31
|
+
/** Whether to show the label on mobile */
|
|
32
|
+
hideLabelOnMobile?: boolean;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* ToggleButton Component
|
|
36
|
+
*
|
|
37
|
+
* @component
|
|
38
|
+
* @description
|
|
39
|
+
* A toggle button component that can be activated/deactivated with a click.
|
|
40
|
+
* Different from a toggle switch, this is a button with on/off states.
|
|
41
|
+
* Perfect for boolean habits tracking or feature toggles.
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* // Basic usage
|
|
45
|
+
* <ToggleButton
|
|
46
|
+
* active={isActive}
|
|
47
|
+
* onClick={() => setIsActive(!isActive)}
|
|
48
|
+
* icon="🦷"
|
|
49
|
+
* label="Teeth"
|
|
50
|
+
* />
|
|
51
|
+
*
|
|
52
|
+
* @example
|
|
53
|
+
* // With custom styling and animation
|
|
54
|
+
* <ToggleButton
|
|
55
|
+
* active={isEnabled}
|
|
56
|
+
* onClick={handleToggle}
|
|
57
|
+
* icon={<CustomIcon />}
|
|
58
|
+
* label="Feature"
|
|
59
|
+
* variant="filled"
|
|
60
|
+
* activeColor="success"
|
|
61
|
+
* animation="flip"
|
|
62
|
+
* showCheckmark
|
|
63
|
+
* />
|
|
64
|
+
*
|
|
65
|
+
* @param {ToggleButtonProps} props - The props for the ToggleButton component
|
|
66
|
+
* @returns {JSX.Element} The rendered ToggleButton component
|
|
67
|
+
*/
|
|
68
|
+
export declare const ToggleButton: React.FC<ToggleButtonProps>;
|
|
69
|
+
//# sourceMappingURL=ToggleButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToggleButton.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/ToggleButton/ToggleButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAC9B,4CAA4C;IAC5C,MAAM,EAAE,OAAO,CAAC;IAChB,oBAAoB;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,+BAA+B;IAC/B,IAAI,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IAChC,iBAAiB;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qCAAqC;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mBAAmB;IACnB,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,qBAAqB;IACrB,OAAO,CAAC,EAAE,SAAS,GAAG,UAAU,GAAG,QAAQ,GAAG,OAAO,CAAC;IACtD,wBAAwB;IACxB,WAAW,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,CAAC;IACzE,mCAAmC;IACnC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,sCAAsC;IACtC,SAAS,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,CAAC;IACjD,uBAAuB;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mBAAmB;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,0CAA0C;IAC1C,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC/B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA8JpD,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { ToggleButton } from './ToggleButton';
|
|
3
|
+
declare const meta: Meta<typeof ToggleButton>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const WithCheckmark: Story;
|
|
8
|
+
export declare const DifferentSizes: Story;
|
|
9
|
+
export declare const Variants: Story;
|
|
10
|
+
export declare const ActiveColors: Story;
|
|
11
|
+
export declare const AnimationTypes: Story;
|
|
12
|
+
export declare const BooleanHabits: Story;
|
|
13
|
+
export declare const IconOnly: Story;
|
|
14
|
+
export declare const Disabled: Story;
|
|
15
|
+
export declare const OutlinedWithColors: Story;
|
|
16
|
+
//# sourceMappingURL=ToggleButton.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToggleButton.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/ToggleButton/ToggleButton.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,YAAY,CA6DnC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAkBnC,eAAO,MAAM,OAAO,EAAE,KAOrB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAQ3B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAgC5B,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAwCtB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAgD1B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAwC5B,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KA+D3B,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAmCtB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAQtB,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,KAgDhC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/atoms/ToggleButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -18,4 +18,8 @@ export { TextInput } from './TextInput/index';
|
|
|
18
18
|
export type { TextInputProps } from './TextInput/index';
|
|
19
19
|
export { Toggle } from './Toggle';
|
|
20
20
|
export type { ToggleProps } from './Toggle';
|
|
21
|
+
export { NumberStepper } from './NumberStepper';
|
|
22
|
+
export type { NumberStepperProps } from './NumberStepper';
|
|
23
|
+
export { ToggleButton } from './ToggleButton';
|
|
24
|
+
export type { ToggleButtonProps } from './ToggleButton';
|
|
21
25
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/atoms/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAG5C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,YAAY,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAGpD,OAAO,EAAE,QAAQ,E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E,MAAM,aAAa,CAAC;AAGlD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,YAAY,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAGpE,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAGtD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAGhD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,YAAY,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAGxD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAG5C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAG1D,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type TabType = 'details' | 'github' | 'jira' | 'functional';
|
|
3
|
+
interface TabsProps {
|
|
4
|
+
activeTab: TabType;
|
|
5
|
+
onTabChange: (tab: TabType) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare const Tabs: React.FC<TabsProps>;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=Tabs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tabs.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Tabs/Tabs.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,MAAM,MAAM,OAAO,GAAG,SAAS,GAAG,QAAQ,GAAG,MAAM,GAAG,YAAY,CAAC;AAEnE,UAAU,SAAS;IACf,SAAS,EAAE,OAAO,CAAC;IACnB,WAAW,EAAE,CAAC,GAAG,EAAE,OAAO,KAAK,IAAI,CAAC;CACvC;AASD,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAkCpC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { Tabs } from './Tabs';
|
|
3
|
+
declare const meta: Meta<typeof Tabs>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const GithubActive: Story;
|
|
8
|
+
export declare const JiraActive: Story;
|
|
9
|
+
export declare const FunctionalActive: Story;
|
|
10
|
+
//# sourceMappingURL=Tabs.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tabs.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/molecules/Tabs/Tabs.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvD,OAAO,EAAE,IAAI,EAAW,MAAM,QAAQ,CAAC;AAEvC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,IAAI,CAa3B,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAgBrB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,KAgB1B,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAgBxB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAgB9B,CAAC"}
|
|
@@ -5,5 +5,6 @@ export type { SearchBarProps } from './SearchBar';
|
|
|
5
5
|
export { TimeInput } from './TimeInput';
|
|
6
6
|
export type { TimeInputProps } from './TimeInput';
|
|
7
7
|
export { ThemeSwitcher } from './ThemeSwitcher/ThemeSwitcher';
|
|
8
|
-
export
|
|
8
|
+
export { Tabs } from './Tabs/Tabs';
|
|
9
|
+
export type { TabType } from './Tabs/Tabs';
|
|
9
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/molecules/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,YAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAE9C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/molecules/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,YAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAE9C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAElD,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAE9D,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AACnC,YAAY,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC"}
|