@ganpatiinfo/gids-react-web 2.0.5 → 2.0.7
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/GidsAvatar/GidsAvatar.d.ts +20 -0
- package/dist/components/GidsAvatar/GidsAvatar.d.ts.map +1 -0
- package/dist/components/GidsAvatar/GidsAvatar.js +28 -0
- package/dist/components/GidsAvatar/GidsAvatar.js.map +1 -0
- package/dist/components/GidsAvatarGroup/GidsAvatarGroup.d.ts +30 -0
- package/dist/components/GidsAvatarGroup/GidsAvatarGroup.d.ts.map +1 -0
- package/dist/components/GidsAvatarGroup/GidsAvatarGroup.js +32 -0
- package/dist/components/GidsAvatarGroup/GidsAvatarGroup.js.map +1 -0
- package/dist/components/GidsBadge/GidsBadge.d.ts +44 -0
- package/dist/components/GidsBadge/GidsBadge.d.ts.map +1 -0
- package/dist/components/GidsBadge/GidsBadge.js +51 -0
- package/dist/components/GidsBadge/GidsBadge.js.map +1 -0
- package/dist/components/GidsButton/GidsButton.js +2 -2
- package/dist/components/GidsButton/GidsButton.js.map +1 -1
- package/dist/components/GidsLabel/GidsLabelInfo/GidsLabelInfo.js +1 -1
- package/dist/components/GidsLabel/GidsLabelInfo/GidsLabelInfo.js.map +1 -1
- package/dist/components/GidsSpinner/GidsSpinner.js +1 -1
- package/dist/components/GidsSpinner/GidsSpinner.js.map +1 -1
- package/dist/index.d.ts +17 -14
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +17 -14
- package/dist/index.js.map +1 -1
- package/package.json +9 -9
- package/dist/components/stencil-generated/gids-toggle-button.d.ts +0 -11
- package/dist/components/stencil-generated/gids-toggle-button.d.ts.map +0 -1
- package/dist/components/stencil-generated/gids-toggle-button.js +0 -18
- package/dist/components/stencil-generated/gids-toggle-button.js.map +0 -1
- package/dist/components/stencil-generated/ids-toggle-button.d.ts +0 -11
- package/dist/components/stencil-generated/ids-toggle-button.d.ts.map +0 -1
- package/dist/components/stencil-generated/ids-toggle-button.js +0 -18
- package/dist/components/stencil-generated/ids-toggle-button.js.map +0 -1
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React, { type ReactNode, type ComponentPropsWithRef } from 'react';
|
|
2
|
+
import { type GidsAvatarWebProps } from '@ganpatiinfo/gids-web-shared';
|
|
3
|
+
export type GidsAvatarProps = GidsAvatarWebProps<ReactNode> & ComponentPropsWithRef<'span'>;
|
|
4
|
+
/**
|
|
5
|
+
* React DOM implementation of GIDS Avatar component.
|
|
6
|
+
*
|
|
7
|
+
* **Usage**
|
|
8
|
+
*
|
|
9
|
+
* ```tsx
|
|
10
|
+
* import { GidsAvatar } from "@ganpatiinfo/gids-react-web";
|
|
11
|
+
*
|
|
12
|
+
* export const MyComponent = () => (
|
|
13
|
+
* <GidsAvatar appearance="text" text="J" />
|
|
14
|
+
* );
|
|
15
|
+
* ```
|
|
16
|
+
*
|
|
17
|
+
* **Note:** Any additional props are passed to the outermost `<span>` DOM element that this component renders. For example, `<GidsAvatar id="foo" />` will render `<span id="foo" ... >...</span>`.
|
|
18
|
+
*/
|
|
19
|
+
export declare function GidsAvatar({ appearance, color, size, badge, text, imageSrc, alt, iconTitleId, className, ...rest }: GidsAvatarProps): React.JSX.Element;
|
|
20
|
+
//# sourceMappingURL=GidsAvatar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GidsAvatar.d.ts","sourceRoot":"","sources":["../../../src/components/GidsAvatar/GidsAvatar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,SAAS,EAAE,KAAK,qBAAqB,EAAE,MAAM,OAAO,CAAC;AAE1E,OAAO,EAEN,KAAK,kBAAkB,EACvB,MAAM,8BAA8B,CAAC;AAMtC,MAAM,MAAM,eAAe,GAAG,kBAAkB,CAAC,SAAS,CAAC,GAC1D,qBAAqB,CAAC,MAAM,CAAC,CAAC;AAE/B;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,UAAU,CAAC,EAC1B,UAAU,EACV,KAAK,EACL,IAAI,EACJ,KAAK,EACL,IAAI,EACJ,QAAQ,EACR,GAAG,EACH,WAAW,EACX,SAAS,EACT,GAAG,IAAI,EACP,EAAE,eAAe,qBAwBjB"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { GidsAvatarCommonUtils } from '@ganpatiinfo/gids-core-shared';
|
|
3
|
+
import { GidsAvatarWebUtils, } from '@ganpatiinfo/gids-web-shared';
|
|
4
|
+
import { GidsIcon } from '../GidsIcon/GidsIcon.js';
|
|
5
|
+
const { shouldTextBeHiddenFromAt } = GidsAvatarCommonUtils;
|
|
6
|
+
const { getGidsAvatarClassNames } = GidsAvatarWebUtils;
|
|
7
|
+
/**
|
|
8
|
+
* React DOM implementation of GIDS Avatar component.
|
|
9
|
+
*
|
|
10
|
+
* **Usage**
|
|
11
|
+
*
|
|
12
|
+
* ```tsx
|
|
13
|
+
* import { GidsAvatar } from "@ganpatiinfo/gids-react-web";
|
|
14
|
+
*
|
|
15
|
+
* export const MyComponent = () => (
|
|
16
|
+
* <GidsAvatar appearance="text" text="J" />
|
|
17
|
+
* );
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* **Note:** Any additional props are passed to the outermost `<span>` DOM element that this component renders. For example, `<GidsAvatar id="foo" />` will render `<span id="foo" ... >...</span>`.
|
|
21
|
+
*/
|
|
22
|
+
export function GidsAvatar({ appearance, color, size, badge, text, imageSrc, alt, iconTitleId, className, ...rest }) {
|
|
23
|
+
const hideTextFromAt = shouldTextBeHiddenFromAt({ text, alt });
|
|
24
|
+
return (React.createElement("span", { className: getGidsAvatarClassNames({ color, size }, className), ...rest },
|
|
25
|
+
appearance === 'image' ? (React.createElement("img", { src: imageSrc, alt: alt ?? text ?? '', width: "100", height: "100" })) : appearance === 'icon' ? (React.createElement(GidsIcon, { name: "user", alt: alt ?? text, titleId: iconTitleId })) : (React.createElement("span", { role: hideTextFromAt ? undefined : 'img', "aria-hidden": hideTextFromAt ? 'true' : undefined, "aria-label": hideTextFromAt ? undefined : (alt ?? text) }, text)),
|
|
26
|
+
badge));
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=GidsAvatar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GidsAvatar.js","sourceRoot":"","sources":["../../../src/components/GidsAvatar/GidsAvatar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqD,MAAM,OAAO,CAAC;AAC1E,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EACN,kBAAkB,GAElB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAEnD,MAAM,EAAE,wBAAwB,EAAE,GAAG,qBAAqB,CAAC;AAC3D,MAAM,EAAE,uBAAuB,EAAE,GAAG,kBAAkB,CAAC;AAKvD;;;;;;;;;;;;;;GAcG;AACH,MAAM,UAAU,UAAU,CAAC,EAC1B,UAAU,EACV,KAAK,EACL,IAAI,EACJ,KAAK,EACL,IAAI,EACJ,QAAQ,EACR,GAAG,EACH,WAAW,EACX,SAAS,EACT,GAAG,IAAI,EACU;IACjB,MAAM,cAAc,GAAG,wBAAwB,CAAC,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,CAAC;IAE/D,OAAO,CACN,8BACC,SAAS,EAAE,uBAAuB,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,SAAS,CAAC,KAC1D,IAAI;QAEP,UAAU,KAAK,OAAO,CAAC,CAAC,CAAC,CACzB,6BAAK,GAAG,EAAE,QAAQ,EAAE,GAAG,EAAE,GAAG,IAAI,IAAI,IAAI,EAAE,EAAE,KAAK,EAAC,KAAK,EAAC,MAAM,EAAC,KAAK,GAAG,CACvE,CAAC,CAAC,CAAC,UAAU,KAAK,MAAM,CAAC,CAAC,CAAC,CAC3B,oBAAC,QAAQ,IAAC,IAAI,EAAC,MAAM,EAAC,GAAG,EAAE,GAAG,IAAI,IAAI,EAAE,OAAO,EAAE,WAAW,GAAI,CAChE,CAAC,CAAC,CAAC,CACH,8BACC,IAAI,EAAE,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,iBAC3B,cAAc,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,gBACpC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,GAAG,IAAI,IAAI,CAAC,IAErD,IAAI,CACC,CACP;QACA,KAAK,CACA,CACP,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import React, { ReactNode, type ComponentPropsWithRef } from 'react';
|
|
2
|
+
import { GidsAvatarGroupCommonProps } from '@ganpatiinfo/gids-core-shared';
|
|
3
|
+
export type GidsAvatarGroupProps = GidsAvatarGroupCommonProps<ReactNode> & ComponentPropsWithRef<'span'>;
|
|
4
|
+
/**
|
|
5
|
+
* React DOM implementation of GIDS Avatar Group component
|
|
6
|
+
*
|
|
7
|
+
* **Usage**
|
|
8
|
+
*
|
|
9
|
+
* ```tsx
|
|
10
|
+
*
|
|
11
|
+
* import { GidsAvatarGroup } from "@ganpatiinfo/gids-react-web";
|
|
12
|
+
*
|
|
13
|
+
* export const MyComponent = () => (
|
|
14
|
+
* <GidsAvatarGroup
|
|
15
|
+
* appearance="spread"
|
|
16
|
+
* layout="wrap">
|
|
17
|
+
* <GidsAvatar
|
|
18
|
+
* appearance="text"
|
|
19
|
+
* color="random"
|
|
20
|
+
* size="md"
|
|
21
|
+
* text="A"/>
|
|
22
|
+
<!-- more avatars -->
|
|
23
|
+
* </GidsAvatarGroup>
|
|
24
|
+
* );
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* **Note:** Any additional props are passed to the outermost `<span>` DOM element that this component renders.
|
|
28
|
+
*/
|
|
29
|
+
export declare function GidsAvatarGroup({ appearance, layout, children, className, ...rest }: GidsAvatarGroupProps): React.JSX.Element;
|
|
30
|
+
//# sourceMappingURL=GidsAvatarGroup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GidsAvatarGroup.d.ts","sourceRoot":"","sources":["../../../src/components/GidsAvatarGroup/GidsAvatarGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,KAAK,qBAAqB,EAAE,MAAM,OAAO,CAAC;AACrE,OAAO,EAAE,0BAA0B,EAAE,MAAM,+BAA+B,CAAC;AAK3E,MAAM,MAAM,oBAAoB,GAAG,0BAA0B,CAAC,SAAS,CAAC,GACvE,qBAAqB,CAAC,MAAM,CAAC,CAAC;AAE/B;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAEH,wBAAgB,eAAe,CAAC,EAC/B,UAAqB,EACrB,MAAe,EACf,QAAQ,EACR,SAAS,EACT,GAAG,IAAI,EACP,EAAE,oBAAoB,qBAYtB"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { GidsAvatarGroupWebUtils } from '@ganpatiinfo/gids-web-shared';
|
|
3
|
+
const { getGidsAvatarGroupClassNames } = GidsAvatarGroupWebUtils;
|
|
4
|
+
/**
|
|
5
|
+
* React DOM implementation of GIDS Avatar Group component
|
|
6
|
+
*
|
|
7
|
+
* **Usage**
|
|
8
|
+
*
|
|
9
|
+
* ```tsx
|
|
10
|
+
*
|
|
11
|
+
* import { GidsAvatarGroup } from "@ganpatiinfo/gids-react-web";
|
|
12
|
+
*
|
|
13
|
+
* export const MyComponent = () => (
|
|
14
|
+
* <GidsAvatarGroup
|
|
15
|
+
* appearance="spread"
|
|
16
|
+
* layout="wrap">
|
|
17
|
+
* <GidsAvatar
|
|
18
|
+
* appearance="text"
|
|
19
|
+
* color="random"
|
|
20
|
+
* size="md"
|
|
21
|
+
* text="A"/>
|
|
22
|
+
<!-- more avatars -->
|
|
23
|
+
* </GidsAvatarGroup>
|
|
24
|
+
* );
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* **Note:** Any additional props are passed to the outermost `<span>` DOM element that this component renders.
|
|
28
|
+
*/
|
|
29
|
+
export function GidsAvatarGroup({ appearance = 'spread', layout = 'wrap', children, className, ...rest }) {
|
|
30
|
+
return (React.createElement("span", { className: getGidsAvatarGroupClassNames({ appearance, layout }, className), ...rest }, children));
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=GidsAvatarGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GidsAvatarGroup.js","sourceRoot":"","sources":["../../../src/components/GidsAvatarGroup/GidsAvatarGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgD,MAAM,OAAO,CAAC;AAErE,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAEvE,MAAM,EAAE,4BAA4B,EAAE,GAAG,uBAAuB,CAAC;AAKjE;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAEH,MAAM,UAAU,eAAe,CAAC,EAC/B,UAAU,GAAG,QAAQ,EACrB,MAAM,GAAG,MAAM,EACf,QAAQ,EACR,SAAS,EACT,GAAG,IAAI,EACe;IACtB,OAAO,CACN,8BACC,SAAS,EAAE,4BAA4B,CACtC,EAAE,UAAU,EAAE,MAAM,EAAE,EACtB,SAAS,CACT,KACG,IAAI,IAEP,QAAQ,CACH,CACP,CAAC;AACH,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { type JSX, type ReactNode, type ComponentPropsWithRef } from 'react';
|
|
2
|
+
import { type GidsBadgeCommonProps } from '@ganpatiinfo/gids-core-shared';
|
|
3
|
+
export type GidsBadgeProps = GidsBadgeCommonProps<ReactNode> & ComponentPropsWithRef<'span'>;
|
|
4
|
+
/**
|
|
5
|
+
* React DOM implementation of GIDS Button component.
|
|
6
|
+
*
|
|
7
|
+
* Badges are commonly used in user interfaces to highlight notifications, updates, or other important information that requires the user's attention.
|
|
8
|
+
*
|
|
9
|
+
* **Usage**
|
|
10
|
+
*
|
|
11
|
+
* ```tsx
|
|
12
|
+
* import { GidsBadge } from "@ganpatiinfo/gids-react-web";
|
|
13
|
+
*
|
|
14
|
+
* export const MyComponent = () => (
|
|
15
|
+
* <GidsBadge appearance="information" type="notification"/>
|
|
16
|
+
* );
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
19
|
+
* **Note** If the count of items requiring the user's attention exceeds 99, then "99+" will be displayed in the badge.
|
|
20
|
+
*
|
|
21
|
+
* When displaying a truncated "99+" value, or if screen reader users require some additional context, accessible text should be provided:
|
|
22
|
+
*
|
|
23
|
+
* ```tsx
|
|
24
|
+
* <GidsBadge
|
|
25
|
+
accessibleText="102 notifications"
|
|
26
|
+
appearance="warning"
|
|
27
|
+
count={102}
|
|
28
|
+
type="notification"/>
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
* When using the `dot` type, there must be no visible content inside the badge, but accessible text for screen readers **must** be provided:
|
|
32
|
+
*
|
|
33
|
+
* ```tsx
|
|
34
|
+
<GidsBadge
|
|
35
|
+
accessibleText="102 notifications"
|
|
36
|
+
appearance="warning"
|
|
37
|
+
count={102}
|
|
38
|
+
type="dot"/>
|
|
39
|
+
* ```
|
|
40
|
+
*
|
|
41
|
+
* **Note:** Any additional props are passed to the outermost `<span>` DOM element that this component renders. For example, `<GidsBadge id="foo" />` will render `<span id="foo" ... >...</span>`.
|
|
42
|
+
*/
|
|
43
|
+
export declare function GidsBadge({ appearance, type, count, outline, accessibleText, className, ...rest }: GidsBadgeProps): JSX.Element;
|
|
44
|
+
//# sourceMappingURL=GidsBadge.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GidsBadge.d.ts","sourceRoot":"","sources":["../../../src/components/GidsBadge/GidsBadge.tsx"],"names":[],"mappings":"AAAA,OAAc,EACb,KAAK,GAAG,EACR,KAAK,SAAS,EACd,KAAK,qBAAqB,EAC1B,MAAM,OAAO,CAAC;AACf,OAAO,EACN,KAAK,oBAAoB,EAEzB,MAAM,+BAA+B,CAAC;AAMvC,MAAM,MAAM,cAAc,GAAG,oBAAoB,CAAC,SAAS,CAAC,GAC3D,qBAAqB,CAAC,MAAM,CAAC,CAAC;AAE/B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,wBAAgB,SAAS,CAAC,EACzB,UAAU,EACV,IAAI,EACJ,KAAK,EACL,OAAO,EACP,cAAc,EACd,SAAS,EACT,GAAG,IAAI,EACP,EAAE,cAAc,GAAG,GAAG,CAAC,OAAO,CA2B9B"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { GidsBadgeCommonUtils, } from '@ganpatiinfo/gids-core-shared';
|
|
3
|
+
import { GidsBadgeWebUtils } from '@ganpatiinfo/gids-web-shared';
|
|
4
|
+
const { getDisplayContent, shouldIncludeA11yText } = GidsBadgeCommonUtils;
|
|
5
|
+
const { getGidsBadgeClassNames } = GidsBadgeWebUtils;
|
|
6
|
+
/**
|
|
7
|
+
* React DOM implementation of GIDS Button component.
|
|
8
|
+
*
|
|
9
|
+
* Badges are commonly used in user interfaces to highlight notifications, updates, or other important information that requires the user's attention.
|
|
10
|
+
*
|
|
11
|
+
* **Usage**
|
|
12
|
+
*
|
|
13
|
+
* ```tsx
|
|
14
|
+
* import { GidsBadge } from "@ganpatiinfo/gids-react-web";
|
|
15
|
+
*
|
|
16
|
+
* export const MyComponent = () => (
|
|
17
|
+
* <GidsBadge appearance="information" type="notification"/>
|
|
18
|
+
* );
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* **Note** If the count of items requiring the user's attention exceeds 99, then "99+" will be displayed in the badge.
|
|
22
|
+
*
|
|
23
|
+
* When displaying a truncated "99+" value, or if screen reader users require some additional context, accessible text should be provided:
|
|
24
|
+
*
|
|
25
|
+
* ```tsx
|
|
26
|
+
* <GidsBadge
|
|
27
|
+
accessibleText="102 notifications"
|
|
28
|
+
appearance="warning"
|
|
29
|
+
count={102}
|
|
30
|
+
type="notification"/>
|
|
31
|
+
* ```
|
|
32
|
+
*
|
|
33
|
+
* When using the `dot` type, there must be no visible content inside the badge, but accessible text for screen readers **must** be provided:
|
|
34
|
+
*
|
|
35
|
+
* ```tsx
|
|
36
|
+
<GidsBadge
|
|
37
|
+
accessibleText="102 notifications"
|
|
38
|
+
appearance="warning"
|
|
39
|
+
count={102}
|
|
40
|
+
type="dot"/>
|
|
41
|
+
* ```
|
|
42
|
+
*
|
|
43
|
+
* **Note:** Any additional props are passed to the outermost `<span>` DOM element that this component renders. For example, `<GidsBadge id="foo" />` will render `<span id="foo" ... >...</span>`.
|
|
44
|
+
*/
|
|
45
|
+
export function GidsBadge({ appearance, type, count, outline, accessibleText, className, ...rest }) {
|
|
46
|
+
const includeA11yText = shouldIncludeA11yText(type, count, !!accessibleText);
|
|
47
|
+
return (React.createElement("span", { className: getGidsBadgeClassNames({ appearance, type, outline }, className), ...rest },
|
|
48
|
+
includeA11yText && (React.createElement("span", { className: "gids-visually-hidden" }, accessibleText ? accessibleText : count)),
|
|
49
|
+
type === 'notification' ? (includeA11yText ? (React.createElement("span", { "aria-hidden": "true" }, getDisplayContent(count, accessibleText))) : (getDisplayContent(count, accessibleText))) : null));
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=GidsBadge.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GidsBadge.js","sourceRoot":"","sources":["../../../src/components/GidsBadge/GidsBadge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAIN,MAAM,OAAO,CAAC;AACf,OAAO,EAEN,oBAAoB,GACpB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAEjE,MAAM,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,GAAG,oBAAoB,CAAC;AAC1E,MAAM,EAAE,sBAAsB,EAAE,GAAG,iBAAiB,CAAC;AAKrD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAM,UAAU,SAAS,CAAC,EACzB,UAAU,EACV,IAAI,EACJ,KAAK,EACL,OAAO,EACP,cAAc,EACd,SAAS,EACT,GAAG,IAAI,EACS;IAChB,MAAM,eAAe,GAAG,qBAAqB,CAAC,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC,cAAc,CAAC,CAAC;IAE7E,OAAO,CACN,8BACC,SAAS,EAAE,sBAAsB,CAChC,EAAE,UAAU,EAAE,IAAI,EAAE,OAAO,EAAE,EAC7B,SAAS,CACT,KACG,IAAI;QAEP,eAAe,IAAI,CACnB,8BAAM,SAAS,EAAC,sBAAsB,IACpC,cAAc,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,KAAK,CAClC,CACP;QACA,IAAI,KAAK,cAAc,CAAC,CAAC,CAAC,CAC1B,eAAe,CAAC,CAAC,CAAC,CACjB,6CAAkB,MAAM,IACtB,iBAAiB,CAAC,KAAK,EAAE,cAAc,CAAC,CACnC,CACP,CAAC,CAAC,CAAC,CACH,iBAAiB,CAAC,KAAK,EAAE,cAAc,CAAC,CACxC,CACD,CAAC,CAAC,CAAC,IAAI,CACF,CACP,CAAC;AACH,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GidsButtonWebUtils, } from '@ganpatiinfo/gids-web-shared';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { GidsSpinnerControl } from '../_GidsSpinnerControl/GidsSpinnerControl';
|
|
3
|
+
import { GidsSpinnerControl } from '../_GidsSpinnerControl/GidsSpinnerControl.js';
|
|
4
4
|
const { getGidsButtonClassNames } = GidsButtonWebUtils;
|
|
5
5
|
export const GidsButton = ({ as, children, appearance, size, width, destructive, loading, leadingIcon, trailingIcon, disabled, className, ...rest }) => {
|
|
6
6
|
const Component = as || 'button';
|
|
@@ -9,7 +9,7 @@ export const GidsButton = ({ as, children, appearance, size, width, destructive,
|
|
|
9
9
|
rest.type = 'button';
|
|
10
10
|
}
|
|
11
11
|
return (
|
|
12
|
-
// @ts-expect-error
|
|
12
|
+
// @ts-expect-error: Expected error
|
|
13
13
|
React.createElement(Component, { className: getGidsButtonClassNames({
|
|
14
14
|
appearance,
|
|
15
15
|
width,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GidsButton.js","sourceRoot":"","sources":["../../../src/components/GidsButton/GidsButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,kBAAkB,GAGlB,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAIN,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,kBAAkB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"GidsButton.js","sourceRoot":"","sources":["../../../src/components/GidsButton/GidsButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,kBAAkB,GAGlB,MAAM,8BAA8B,CAAC;AACtC,OAAO,KAIN,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,kBAAkB,EAAE,MAAM,8CAA8C,CAAC;AAElF,MAAM,EAAE,uBAAuB,EAAE,GAAG,kBAAkB,CAAC;AAKvD,MAAM,CAAC,MAAM,UAAU,GAAG,CAAmD,EAC5E,EAAE,EACF,QAAQ,EACR,UAAU,EACV,IAAI,EACJ,KAAK,EACL,WAAW,EACX,OAAO,EACP,WAAW,EACX,YAAY,EACZ,QAAQ,EACR,SAAS,EACT,GAAG,IAAI,EACa,EAAe,EAAE;IACrC,MAAM,SAAS,GAAG,EAAE,IAAI,QAAQ,CAAC;IACjC,MAAM,WAAW,GAAG,IAAI,KAAK,IAAI,IAAI,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC;IAEtE,IAAI,EAAE,KAAK,QAAQ,IAAI,CAAC,CAAC,MAAM,IAAI,IAAI,CAAC,EAAE,CAAC;QACzC,IAAwC,CAAC,IAAI,GAAG,QAAQ,CAAC;IAC3D,CAAC;IAED,OAAO;IACN,mCAAmC;IACnC,oBAAC,SAAS,IACT,SAAS,EAAE,uBAAuB,CACjC;YACC,UAAU;YACV,KAAK;YACL,IAAI;YACJ,OAAO;YACP,WAAW;SACX,EACD,CAAC,QAAQ,IAAI,CAAC,CAAC,WAAW,IAAI,CAAC,YAAY,EAC3C,SAAS,CACT,EACD,QAAQ,EAAE,EAAE,KAAK,GAAG,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,KACvC,IAAI;QAER,8BAAM,SAAS,EAAC,sBAAsB;YACpC,WAAW;YACX,QAAQ,CACH;QACN,OAAO,IAAI,oBAAC,kBAAkB,IAAC,IAAI,EAAE,WAAW,EAAE,aAAa,SAAG;QAClE,YAAY,CACF,CACZ,CAAC;AACH,CAAC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GidsLabelInfoCommonUtils, } from '@ganpatiinfo/gids-core-shared';
|
|
2
2
|
import { GidsLabelInfoWebUtils } from '@ganpatiinfo/gids-web-shared';
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import { GidsIcon } from '../../GidsIcon/GidsIcon';
|
|
4
|
+
import { GidsIcon } from '../../GidsIcon/GidsIcon.js';
|
|
5
5
|
const { getLabelInfoAltText } = GidsLabelInfoCommonUtils;
|
|
6
6
|
const { getGidsLabelInfoClassNames } = GidsLabelInfoWebUtils;
|
|
7
7
|
export const GidsLabelInfo = ({ onClick, disabled, alt, className, ...rest }) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GidsLabelInfo.js","sourceRoot":"","sources":["../../../../src/components/GidsLabel/GidsLabelInfo/GidsLabelInfo.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEN,wBAAwB,GACxB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,KAAqC,MAAM,OAAO,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"GidsLabelInfo.js","sourceRoot":"","sources":["../../../../src/components/GidsLabel/GidsLabelInfo/GidsLabelInfo.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEN,wBAAwB,GACxB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,KAAqC,MAAM,OAAO,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAEtD,MAAM,EAAE,mBAAmB,EAAE,GAAG,wBAAwB,CAAC;AACzD,MAAM,EAAE,0BAA0B,EAAE,GAAG,qBAAqB,CAAC;AAK7D,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,EAC7B,OAAO,EACP,QAAQ,EACR,GAAG,EACH,SAAS,EACT,GAAG,IAAI,EACa,EAAE,EAAE;IACxB,OAAO,CACN,gCACC,SAAS,EAAE,0BAA0B,CAAC,SAAS,CAAC,EAChD,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,OAAO,EAChB,IAAI,EAAC,QAAQ,KACT,IAAI;QAER,8BAAM,SAAS,EAAC,sBAAsB,IACpC,mBAAmB,CAAC,EAAE,GAAG,EAAE,CAAC,CACvB;QACP,oBAAC,QAAQ,IACR,IAAI,EAAC,aAAa,EAClB,GAAG,EAAC,EAAE,EACN,UAAU,EAAC,SAAS,EACpB,IAAI,EAAC,IAAI,GACE,CACJ,CACT,CAAC;AACH,CAAC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GidsSpinnerCommonUtils, } from '@ganpatiinfo/gids-core-shared';
|
|
2
2
|
import { GidsSpinnerWebUtils } from '@ganpatiinfo/gids-web-shared';
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import { GidsSpinnerControl } from '../_GidsSpinnerControl/GidsSpinnerControl';
|
|
4
|
+
import { GidsSpinnerControl } from '../_GidsSpinnerControl/GidsSpinnerControl.js';
|
|
5
5
|
const { getGidsSpinnerClassNames } = GidsSpinnerWebUtils;
|
|
6
6
|
const { getElementVisibility } = GidsSpinnerCommonUtils;
|
|
7
7
|
export const GidsSpinner = ({ label, supportingText, size, indeterminate, value, max, className, ...rest }) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GidsSpinner.js","sourceRoot":"","sources":["../../../src/components/GidsSpinner/GidsSpinner.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEN,sBAAsB,GACtB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,KAA+C,MAAM,OAAO,CAAC;AACpE,OAAO,EAAE,kBAAkB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"GidsSpinner.js","sourceRoot":"","sources":["../../../src/components/GidsSpinner/GidsSpinner.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEN,sBAAsB,GACtB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,KAA+C,MAAM,OAAO,CAAC;AACpE,OAAO,EAAE,kBAAkB,EAAE,MAAM,8CAA8C,CAAC;AAElF,MAAM,EAAE,wBAAwB,EAAE,GAAG,mBAAmB,CAAC;AACzD,MAAM,EAAE,oBAAoB,EAAE,GAAG,sBAAsB,CAAC;AAKxD,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,EAC3B,KAAK,EACL,cAAc,EACd,IAAI,EACJ,aAAa,EACb,KAAK,EACL,GAAG,EACH,SAAS,EACT,GAAG,IAAI,EACW,EAAe,EAAE;IACnC,MAAM,EAAE,QAAQ,EAAE,iBAAiB,EAAE,GAAG,oBAAoB,CAAC;QAC5D,KAAK;QACL,cAAc;KACd,CAAC,CAAC;IAEH,OAAO,CACN,8BAAM,SAAS,EAAE,wBAAwB,CAAC,EAAE,IAAI,EAAE,EAAE,SAAS,CAAC,KAAM,IAAI;QACvE,oBAAC,kBAAkB,IAClB,IAAI,EAAE,IAAI,EACV,aAAa,EAAE,aAAa,EAC5B,KAAK,EAAE,KAAK,EACZ,GAAG,EAAE,GAAG,GACP;QACD,QAAQ,IAAI,8BAAM,SAAS,EAAC,qBAAqB,IAAE,KAAK,CAAQ;QAChE,iBAAiB,IAAI,CACrB,8BAAM,SAAS,EAAC,+BAA+B,IAAE,cAAc,CAAQ,CACvE,CACK,CACP,CAAC;AACH,CAAC,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,18 +1,21 @@
|
|
|
1
|
-
export * from './components/GidsDivider/GidsDivider';
|
|
2
|
-
export * from './components/GidsDisplayTag/GidsDisplayTag';
|
|
3
|
-
export * from './components/GidsIcon/GidsIcon';
|
|
4
|
-
export * from './components/GidsLabel/GidsLabel';
|
|
5
|
-
export * from './components/GidsLink/GidsLink';
|
|
6
|
-
export * from './components/GidsCheckbox/GidsCheckbox';
|
|
7
|
-
export * from './components/GidsRadio/GidsRadio';
|
|
8
|
-
export * from './components/GidsSwitch/GidsSwitch';
|
|
9
|
-
export * from './components/GidsButton/GidsButton';
|
|
10
|
-
export * from './components/GidsSpinner/GidsSpinner';
|
|
11
|
-
export * from './components/GidsCheckboxGroup/GidsCheckboxGroup';
|
|
12
|
-
export * from './components/GidsRadioGroup/GidsRadioGroup';
|
|
13
|
-
export * from './components/GidsSwitchGroup/GidsSwitchGroup';
|
|
1
|
+
export * from './components/GidsDivider/GidsDivider.js';
|
|
2
|
+
export * from './components/GidsDisplayTag/GidsDisplayTag.js';
|
|
3
|
+
export * from './components/GidsIcon/GidsIcon.js';
|
|
4
|
+
export * from './components/GidsLabel/GidsLabel.js';
|
|
5
|
+
export * from './components/GidsLink/GidsLink.js';
|
|
6
|
+
export * from './components/GidsCheckbox/GidsCheckbox.js';
|
|
7
|
+
export * from './components/GidsRadio/GidsRadio.js';
|
|
8
|
+
export * from './components/GidsSwitch/GidsSwitch.js';
|
|
9
|
+
export * from './components/GidsButton/GidsButton.js';
|
|
10
|
+
export * from './components/GidsSpinner/GidsSpinner.js';
|
|
11
|
+
export * from './components/GidsCheckboxGroup/GidsCheckboxGroup.js';
|
|
12
|
+
export * from './components/GidsRadioGroup/GidsRadioGroup.js';
|
|
13
|
+
export * from './components/GidsSwitchGroup/GidsSwitchGroup.js';
|
|
14
|
+
export * from './components/GidsBadge/GidsBadge.js';
|
|
15
|
+
export * from './components/GidsAvatar/GidsAvatar.js';
|
|
16
|
+
export * from './components/GidsAvatarGroup/GidsAvatarGroup.js';
|
|
14
17
|
/**
|
|
15
18
|
* STENCIL GENERATED
|
|
16
19
|
*/
|
|
17
|
-
export { default as GidsToggleButton } from './components/stencil-generated/GidsToggleButton';
|
|
20
|
+
export { default as GidsToggleButton } from './components/stencil-generated/GidsToggleButton.js';
|
|
18
21
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,yCAAyC,CAAC;AACxD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,mCAAmC,CAAC;AAClD,cAAc,qCAAqC,CAAC;AACpD,cAAc,mCAAmC,CAAC;AAClD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,qCAAqC,CAAC;AACpD,cAAc,uCAAuC,CAAC;AACtD,cAAc,uCAAuC,CAAC;AACtD,cAAc,yCAAyC,CAAC;AACxD,cAAc,qDAAqD,CAAC;AACpE,cAAc,+CAA+C,CAAC;AAC9D,cAAc,iDAAiD,CAAC;AAChE,cAAc,qCAAqC,CAAC;AACpD,cAAc,uCAAuC,CAAC;AACtD,cAAc,iDAAiD,CAAC;AAEhE;;GAEG;AACH,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,oDAAoD,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,18 +1,21 @@
|
|
|
1
|
-
export * from './components/GidsDivider/GidsDivider';
|
|
2
|
-
export * from './components/GidsDisplayTag/GidsDisplayTag';
|
|
3
|
-
export * from './components/GidsIcon/GidsIcon';
|
|
4
|
-
export * from './components/GidsLabel/GidsLabel';
|
|
5
|
-
export * from './components/GidsLink/GidsLink';
|
|
6
|
-
export * from './components/GidsCheckbox/GidsCheckbox';
|
|
7
|
-
export * from './components/GidsRadio/GidsRadio';
|
|
8
|
-
export * from './components/GidsSwitch/GidsSwitch';
|
|
9
|
-
export * from './components/GidsButton/GidsButton';
|
|
10
|
-
export * from './components/GidsSpinner/GidsSpinner';
|
|
11
|
-
export * from './components/GidsCheckboxGroup/GidsCheckboxGroup';
|
|
12
|
-
export * from './components/GidsRadioGroup/GidsRadioGroup';
|
|
13
|
-
export * from './components/GidsSwitchGroup/GidsSwitchGroup';
|
|
1
|
+
export * from './components/GidsDivider/GidsDivider.js';
|
|
2
|
+
export * from './components/GidsDisplayTag/GidsDisplayTag.js';
|
|
3
|
+
export * from './components/GidsIcon/GidsIcon.js';
|
|
4
|
+
export * from './components/GidsLabel/GidsLabel.js';
|
|
5
|
+
export * from './components/GidsLink/GidsLink.js';
|
|
6
|
+
export * from './components/GidsCheckbox/GidsCheckbox.js';
|
|
7
|
+
export * from './components/GidsRadio/GidsRadio.js';
|
|
8
|
+
export * from './components/GidsSwitch/GidsSwitch.js';
|
|
9
|
+
export * from './components/GidsButton/GidsButton.js';
|
|
10
|
+
export * from './components/GidsSpinner/GidsSpinner.js';
|
|
11
|
+
export * from './components/GidsCheckboxGroup/GidsCheckboxGroup.js';
|
|
12
|
+
export * from './components/GidsRadioGroup/GidsRadioGroup.js';
|
|
13
|
+
export * from './components/GidsSwitchGroup/GidsSwitchGroup.js';
|
|
14
|
+
export * from './components/GidsBadge/GidsBadge.js';
|
|
15
|
+
export * from './components/GidsAvatar/GidsAvatar.js';
|
|
16
|
+
export * from './components/GidsAvatarGroup/GidsAvatarGroup.js';
|
|
14
17
|
/**
|
|
15
18
|
* STENCIL GENERATED
|
|
16
19
|
*/
|
|
17
|
-
export { default as GidsToggleButton } from './components/stencil-generated/GidsToggleButton';
|
|
20
|
+
export { default as GidsToggleButton } from './components/stencil-generated/GidsToggleButton.js';
|
|
18
21
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,yCAAyC,CAAC;AACxD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,mCAAmC,CAAC;AAClD,cAAc,qCAAqC,CAAC;AACpD,cAAc,mCAAmC,CAAC;AAClD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,qCAAqC,CAAC;AACpD,cAAc,uCAAuC,CAAC;AACtD,cAAc,uCAAuC,CAAC;AACtD,cAAc,yCAAyC,CAAC;AACxD,cAAc,qDAAqD,CAAC;AACpE,cAAc,+CAA+C,CAAC;AAC9D,cAAc,iDAAiD,CAAC;AAChE,cAAc,qCAAqC,CAAC;AACpD,cAAc,uCAAuC,CAAC;AACtD,cAAc,iDAAiD,CAAC;AAEhE;;GAEG;AACH,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,oDAAoD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ganpatiinfo/gids-react-web",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.7",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "This package is react web package with all components",
|
|
6
6
|
"homepage": "https://ganpatiinfosystem.vercel.app/",
|
|
@@ -22,15 +22,15 @@
|
|
|
22
22
|
"dist/"
|
|
23
23
|
],
|
|
24
24
|
"peerDependencies": {
|
|
25
|
-
"@ganpatiinfo/gids-core-web": "2.0.
|
|
26
|
-
"@ganpatiinfo/gids-web-theme-interface": "2.0.
|
|
25
|
+
"@ganpatiinfo/gids-core-web": "2.0.6",
|
|
26
|
+
"@ganpatiinfo/gids-web-theme-interface": "2.0.6",
|
|
27
27
|
"react": "19.1.0",
|
|
28
28
|
"react-dom": "19.1.0"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@stencil/react-output-target": "0.8.2",
|
|
32
|
-
"@ganpatiinfo/gids-core-shared": "2.0.
|
|
33
|
-
"@ganpatiinfo/gids-web-shared": "2.0.
|
|
32
|
+
"@ganpatiinfo/gids-core-shared": "2.0.7",
|
|
33
|
+
"@ganpatiinfo/gids-web-shared": "2.0.7"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@fontsource/inter": "5.2.5",
|
|
@@ -55,10 +55,10 @@
|
|
|
55
55
|
"storybook-addon-tag-badges": "1.4.0",
|
|
56
56
|
"ts-jest": "29.3.2",
|
|
57
57
|
"sass": "^1.88.0",
|
|
58
|
-
"@ganpatiinfo/gids-storybook-theme": "2.0.
|
|
59
|
-
"@ganpatiinfo/gids-storybook-utilities": "2.0.
|
|
60
|
-
"@ganpatiinfo/gids-web-dom-reference": "2.0.
|
|
61
|
-
"@ganpatiinfo/gids-web-theme-ganpatiinfo": "2.0.
|
|
58
|
+
"@ganpatiinfo/gids-storybook-theme": "2.0.6",
|
|
59
|
+
"@ganpatiinfo/gids-storybook-utilities": "2.0.6",
|
|
60
|
+
"@ganpatiinfo/gids-web-dom-reference": "2.0.7",
|
|
61
|
+
"@ganpatiinfo/gids-web-theme-ganpatiinfo": "2.0.6"
|
|
62
62
|
},
|
|
63
63
|
"author": {
|
|
64
64
|
"name": "Ganpatiinfo Design System",
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was automatically generated by the Stencil React Output Target.
|
|
3
|
-
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4
|
-
*/
|
|
5
|
-
import { GidsToggleButton as GidsToggleButtonElement } from "@ganpatiinfo/gids-core-web/dist/gids-toggle-button.js";
|
|
6
|
-
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
7
|
-
export type GidsToggleButtonEvents = {
|
|
8
|
-
onSelect: EventName<CustomEvent<boolean>>;
|
|
9
|
-
};
|
|
10
|
-
export declare const GidsToggleButton: StencilReactComponent<GidsToggleButtonElement, GidsToggleButtonEvents>;
|
|
11
|
-
//# sourceMappingURL=gids-toggle-button.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"gids-toggle-button.d.ts","sourceRoot":"","sources":["../../../src/components/stencil-generated/gids-toggle-button.ts"],"names":[],"mappings":"AAEA;;;GAGG;AAIH,OAAO,EAAE,gBAAgB,IAAI,uBAAuB,EAAiD,MAAM,uDAAuD,CAAC;AACnK,OAAO,KAAK,EAAE,SAAS,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAI7F,MAAM,MAAM,sBAAsB,GAAG;IAAE,QAAQ,EAAE,SAAS,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,CAAA;CAAE,CAAC;AAEnF,eAAO,MAAM,gBAAgB,EAAE,qBAAqB,CAAC,uBAAuB,EAAE,sBAAsB,CAOlG,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
/**
|
|
3
|
-
* This file was automatically generated by the Stencil React Output Target.
|
|
4
|
-
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
5
|
-
*/
|
|
6
|
-
/* eslint-disable */
|
|
7
|
-
import { GidsToggleButton as GidsToggleButtonElement, defineCustomElement as defineGidsToggleButton } from "@ganpatiinfo/gids-core-web/dist/gids-toggle-button.js";
|
|
8
|
-
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
9
|
-
import React from 'react';
|
|
10
|
-
export const GidsToggleButton = /*@__PURE__*/ createComponent({
|
|
11
|
-
tagName: 'gids-toggle-button',
|
|
12
|
-
elementClass: GidsToggleButtonElement,
|
|
13
|
-
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
14
|
-
react: React,
|
|
15
|
-
events: { onSelect: 'select' },
|
|
16
|
-
defineCustomElement: defineGidsToggleButton
|
|
17
|
-
});
|
|
18
|
-
//# sourceMappingURL=gids-toggle-button.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"gids-toggle-button.js","sourceRoot":"","sources":["../../../src/components/stencil-generated/gids-toggle-button.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb;;;GAGG;AAEH,oBAAoB;AAEpB,OAAO,EAAE,gBAAgB,IAAI,uBAAuB,EAAE,mBAAmB,IAAI,sBAAsB,EAAE,MAAM,uDAAuD,CAAC;AAEnK,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AACvE,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,CAAC,MAAM,gBAAgB,GAA2E,aAAa,CAAC,eAAe,CAAkD;IACnL,OAAO,EAAE,oBAAoB;IAC7B,YAAY,EAAE,uBAAuB;IACrC,uIAAuI;IACvI,KAAK,EAAE,KAAK;IACZ,MAAM,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAA4B;IACxD,mBAAmB,EAAE,sBAAsB;CAC9C,CAAC,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was automatically generated by the Stencil React Output Target.
|
|
3
|
-
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4
|
-
*/
|
|
5
|
-
import { IdsToggleButton as IdsToggleButtonElement } from "@ganpatiinfo/gids-core-web/dist/ids-toggle-button.js";
|
|
6
|
-
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
7
|
-
export type IdsToggleButtonEvents = {
|
|
8
|
-
onSelect: EventName<CustomEvent<boolean>>;
|
|
9
|
-
};
|
|
10
|
-
export declare const IdsToggleButton: StencilReactComponent<IdsToggleButtonElement, IdsToggleButtonEvents>;
|
|
11
|
-
//# sourceMappingURL=ids-toggle-button.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ids-toggle-button.d.ts","sourceRoot":"","sources":["../../../src/components/stencil-generated/ids-toggle-button.ts"],"names":[],"mappings":"AAEA;;;GAGG;AAIH,OAAO,EAAE,eAAe,IAAI,sBAAsB,EAAgD,MAAM,sDAAsD,CAAC;AAC/J,OAAO,KAAK,EAAE,SAAS,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAI7F,MAAM,MAAM,qBAAqB,GAAG;IAAE,QAAQ,EAAE,SAAS,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC,CAAA;CAAE,CAAC;AAElF,eAAO,MAAM,eAAe,EAAE,qBAAqB,CAAC,sBAAsB,EAAE,qBAAqB,CAO/F,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
/**
|
|
3
|
-
* This file was automatically generated by the Stencil React Output Target.
|
|
4
|
-
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
5
|
-
*/
|
|
6
|
-
/* eslint-disable */
|
|
7
|
-
import { IdsToggleButton as IdsToggleButtonElement, defineCustomElement as defineIdsToggleButton } from "@ganpatiinfo/gids-core-web/dist/ids-toggle-button.js";
|
|
8
|
-
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
9
|
-
import React from 'react';
|
|
10
|
-
export const IdsToggleButton = /*@__PURE__*/ createComponent({
|
|
11
|
-
tagName: 'ids-toggle-button',
|
|
12
|
-
elementClass: IdsToggleButtonElement,
|
|
13
|
-
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
14
|
-
react: React,
|
|
15
|
-
events: { onSelect: 'select' },
|
|
16
|
-
defineCustomElement: defineIdsToggleButton
|
|
17
|
-
});
|
|
18
|
-
//# sourceMappingURL=ids-toggle-button.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ids-toggle-button.js","sourceRoot":"","sources":["../../../src/components/stencil-generated/ids-toggle-button.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb;;;GAGG;AAEH,oBAAoB;AAEpB,OAAO,EAAE,eAAe,IAAI,sBAAsB,EAAE,mBAAmB,IAAI,qBAAqB,EAAE,MAAM,sDAAsD,CAAC;AAE/J,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AACvE,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,CAAC,MAAM,eAAe,GAAyE,aAAa,CAAC,eAAe,CAAgD;IAC9K,OAAO,EAAE,mBAAmB;IAC5B,YAAY,EAAE,sBAAsB;IACpC,uIAAuI;IACvI,KAAK,EAAE,KAAK;IACZ,MAAM,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAA2B;IACvD,mBAAmB,EAAE,qBAAqB;CAC7C,CAAC,CAAC"}
|