@ganpatiinfo/gids-react-web 2.0.3 → 2.0.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/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.d.ts.map +1 -1
- package/dist/components/GidsCheckboxGroup/GidsCheckboxGroup.d.ts +23 -0
- package/dist/components/GidsCheckboxGroup/GidsCheckboxGroup.d.ts.map +1 -0
- package/dist/components/GidsCheckboxGroup/GidsCheckboxGroup.js +25 -0
- package/dist/components/GidsCheckboxGroup/GidsCheckboxGroup.js.map +1 -0
- package/dist/components/GidsDisplayTag/GidsDisplayTag.d.ts.map +1 -1
- package/dist/components/GidsDivider/GidsDivider.d.ts.map +1 -1
- package/dist/components/GidsIcon/GidsIcon.d.ts.map +1 -1
- package/dist/components/GidsLabel/GidsLabelInfo/GidsLabelInfo.d.ts.map +1 -1
- package/dist/components/GidsRadioGroup/GidsRadioGroup.d.ts +23 -0
- package/dist/components/GidsRadioGroup/GidsRadioGroup.d.ts.map +1 -0
- package/dist/components/GidsRadioGroup/GidsRadioGroup.js +25 -0
- package/dist/components/GidsRadioGroup/GidsRadioGroup.js.map +1 -0
- package/dist/components/GidsSpinner/GidsSpinner.d.ts.map +1 -1
- package/dist/components/GidsSwitchGroup/GidsSwitchGroup.d.ts +23 -0
- package/dist/components/GidsSwitchGroup/GidsSwitchGroup.d.ts.map +1 -0
- package/dist/components/GidsSwitchGroup/GidsSwitchGroup.js +25 -0
- package/dist/components/GidsSwitchGroup/GidsSwitchGroup.js.map +1 -0
- package/dist/components/_GidsSpinnerControl/GidsSpinnerControl.d.ts.map +1 -1
- package/dist/index.d.ts +11 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +11 -1
- 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,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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GidsButton.d.ts","sourceRoot":"","sources":["../../../src/components/GidsButton/GidsButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEN,KAAK,kBAAkB,EACvB,KAAK,2BAA2B,EAChC,MAAM,8BAA8B,CAAC;AACtC,OAAc,EACb,KAAK,wBAAwB,EAC7B,KAAK,SAAS,EACd,KAAK,GAAG,EACR,MAAM,OAAO,CAAC;AAKf,MAAM,MAAM,eAAe,CAAC,CAAC,SAAS,2BAA2B,IAChE,kBAAkB,CAAC,SAAS,EAAE,SAAS,EAAE,CAAC,CAAC,GAAG,wBAAwB,CAAC,CAAC,CAAC,CAAC;AAE3E,eAAO,MAAM,UAAU,GAAI,CAAC,SAAS,2BAA2B,
|
|
1
|
+
{"version":3,"file":"GidsButton.d.ts","sourceRoot":"","sources":["../../../src/components/GidsButton/GidsButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEN,KAAK,kBAAkB,EACvB,KAAK,2BAA2B,EAChC,MAAM,8BAA8B,CAAC;AACtC,OAAc,EACb,KAAK,wBAAwB,EAC7B,KAAK,SAAS,EACd,KAAK,GAAG,EACR,MAAM,OAAO,CAAC;AAKf,MAAM,MAAM,eAAe,CAAC,CAAC,SAAS,2BAA2B,IAChE,kBAAkB,CAAC,SAAS,EAAE,SAAS,EAAE,CAAC,CAAC,GAAG,wBAAwB,CAAC,CAAC,CAAC,CAAC;AAE3E,eAAO,MAAM,UAAU,GAAI,CAAC,SAAS,2BAA2B,uIAa7D,eAAe,CAAC,CAAC,CAAC,KAAG,GAAG,CAAC,OAiC3B,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React, { type ComponentPropsWithRef, type ReactNode } from 'react';
|
|
2
|
+
import { type GidsCheckboxGroupCommonProps } from '@ganpatiinfo/gids-core-shared';
|
|
3
|
+
export type GidsCheckboxGroupProps = GidsCheckboxGroupCommonProps<ReactNode> & ComponentPropsWithRef<'div'>;
|
|
4
|
+
/**
|
|
5
|
+
* React DOM implementation of GIDS Checkbox Group component.
|
|
6
|
+
*
|
|
7
|
+
* **Usage**
|
|
8
|
+
*
|
|
9
|
+
* ```tsx
|
|
10
|
+
* import { GidsCheckboxGroup, GidsCheckbox } from '@ganpatiinfo/gids-react-web';
|
|
11
|
+
*
|
|
12
|
+
* export const MyComponent = () => (
|
|
13
|
+
* <GidsCheckboxGroup>
|
|
14
|
+
* <GidsCheckbox>Option 1</GidsCheckbox>
|
|
15
|
+
* <GidsCheckbox>Option 2</GidsCheckbox>
|
|
16
|
+
* <GidsCheckbox>Option 3</GidsCheckbox>
|
|
17
|
+
* ...
|
|
18
|
+
* <GidsCheckboxGroup>
|
|
19
|
+
* );
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function GidsCheckboxGroup({ children, className, ...rest }: GidsCheckboxGroupProps): React.JSX.Element;
|
|
23
|
+
//# sourceMappingURL=GidsCheckboxGroup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GidsCheckboxGroup.d.ts","sourceRoot":"","sources":["../../../src/components/GidsCheckboxGroup/GidsCheckboxGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,qBAAqB,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC1E,OAAO,EAAE,KAAK,4BAA4B,EAAE,MAAM,+BAA+B,CAAC;AAKlF,MAAM,MAAM,sBAAsB,GAAG,4BAA4B,CAAC,SAAS,CAAC,GAC3E,qBAAqB,CAAC,KAAK,CAAC,CAAC;AAE9B;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,iBAAiB,CAAC,EACjC,QAAQ,EACR,SAAS,EACT,GAAG,IAAI,EACP,EAAE,sBAAsB,qBAMxB"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { GidsCheckboxGroupWebUtils } from '@ganpatiinfo/gids-web-shared';
|
|
3
|
+
const { getGidsCheckboxGroupClassNames } = GidsCheckboxGroupWebUtils;
|
|
4
|
+
/**
|
|
5
|
+
* React DOM implementation of GIDS Checkbox Group component.
|
|
6
|
+
*
|
|
7
|
+
* **Usage**
|
|
8
|
+
*
|
|
9
|
+
* ```tsx
|
|
10
|
+
* import { GidsCheckboxGroup, GidsCheckbox } from '@ganpatiinfo/gids-react-web';
|
|
11
|
+
*
|
|
12
|
+
* export const MyComponent = () => (
|
|
13
|
+
* <GidsCheckboxGroup>
|
|
14
|
+
* <GidsCheckbox>Option 1</GidsCheckbox>
|
|
15
|
+
* <GidsCheckbox>Option 2</GidsCheckbox>
|
|
16
|
+
* <GidsCheckbox>Option 3</GidsCheckbox>
|
|
17
|
+
* ...
|
|
18
|
+
* <GidsCheckboxGroup>
|
|
19
|
+
* );
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export function GidsCheckboxGroup({ children, className, ...rest }) {
|
|
23
|
+
return (React.createElement("div", { className: getGidsCheckboxGroupClassNames(className), ...rest }, children));
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=GidsCheckboxGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GidsCheckboxGroup.js","sourceRoot":"","sources":["../../../src/components/GidsCheckboxGroup/GidsCheckboxGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqD,MAAM,OAAO,CAAC;AAE1E,OAAO,EAAE,yBAAyB,EAAE,MAAM,8BAA8B,CAAC;AAEzE,MAAM,EAAE,8BAA8B,EAAE,GAAG,yBAAyB,CAAC;AAKrE;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,UAAU,iBAAiB,CAAC,EACjC,QAAQ,EACR,SAAS,EACT,GAAG,IAAI,EACiB;IACxB,OAAO,CACN,6BAAK,SAAS,EAAE,8BAA8B,CAAC,SAAS,CAAC,KAAM,IAAI,IACjE,QAAQ,CACJ,CACN,CAAC;AACH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GidsDisplayTag.d.ts","sourceRoot":"","sources":["../../../src/components/GidsDisplayTag/GidsDisplayTag.tsx"],"names":[],"mappings":"AAAA,OAAc,EACb,KAAK,GAAG,EACR,KAAK,qBAAqB,EAC1B,KAAK,SAAS,EACd,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAK/E,MAAM,MAAM,mBAAmB,GAAG,yBAAyB,CAAC,SAAS,CAAC,GACrE,qBAAqB,CAAC,MAAM,CAAC,CAAC;AAE/B,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"GidsDisplayTag.d.ts","sourceRoot":"","sources":["../../../src/components/GidsDisplayTag/GidsDisplayTag.tsx"],"names":[],"mappings":"AAAA,OAAc,EACb,KAAK,GAAG,EACR,KAAK,qBAAqB,EAC1B,KAAK,SAAS,EACd,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAK/E,MAAM,MAAM,mBAAmB,GAAG,yBAAyB,CAAC,SAAS,CAAC,GACrE,qBAAqB,CAAC,MAAM,CAAC,CAAC;AAE/B,eAAO,MAAM,cAAc,iEAQxB,mBAAmB,KAAG,GAAG,CAAC,OAa5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GidsDivider.d.ts","sourceRoot":"","sources":["../../../src/components/GidsDivider/GidsDivider.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,KAAK,GAAG,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAK5E,MAAM,MAAM,gBAAgB,GAAG,sBAAsB,CAAC;AAEtD,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"GidsDivider.d.ts","sourceRoot":"","sources":["../../../src/components/GidsDivider/GidsDivider.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,KAAK,GAAG,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAK5E,MAAM,MAAM,gBAAgB,GAAG,sBAAsB,CAAC;AAEtD,eAAO,MAAM,WAAW,oBAAqB,gBAAgB,KAAG,GAAG,CAAC,OAEnE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GidsIcon.d.ts","sourceRoot":"","sources":["../../../src/components/GidsIcon/GidsIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,gBAAgB,EAGrB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACN,KAAK,QAAQ,EACb,KAAK,cAAc,EAEnB,MAAM,uCAAuC,CAAC;AAC/C,OAAc,EAAS,KAAK,qBAAqB,EAAE,KAAK,GAAG,EAAE,MAAM,OAAO,CAAC;AAI3E,MAAM,MAAM,aAAa,GAAG,gBAAgB,CAAC,QAAQ,EAAE,cAAc,CAAC,GACrE,qBAAqB,CAAC,KAAK,CAAC,GAAG;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;CACd,CAAC;AAEH,eAAO,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"GidsIcon.d.ts","sourceRoot":"","sources":["../../../src/components/GidsIcon/GidsIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,gBAAgB,EAGrB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACN,KAAK,QAAQ,EACb,KAAK,cAAc,EAEnB,MAAM,uCAAuC,CAAC;AAC/C,OAAc,EAAS,KAAK,qBAAqB,EAAE,KAAK,GAAG,EAAE,MAAM,OAAO,CAAC;AAI3E,MAAM,MAAM,aAAa,GAAG,gBAAgB,CAAC,QAAQ,EAAE,cAAc,CAAC,GACrE,qBAAqB,CAAC,KAAK,CAAC,GAAG;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;CACd,CAAC;AAEH,eAAO,MAAM,QAAQ,iEAQlB,aAAa,KAAG,GAAG,CAAC,OAmBtB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GidsLabelInfo.d.ts","sourceRoot":"","sources":["../../../../src/components/GidsLabel/GidsLabelInfo/GidsLabelInfo.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,wBAAwB,EAE7B,MAAM,+BAA+B,CAAC;AAEvC,OAAO,KAAK,EAAE,EAAE,KAAK,qBAAqB,EAAE,MAAM,OAAO,CAAC;AAM1D,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,qBAAqB,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC,GAC7E,wBAAwB,CAAC;AAE1B,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"GidsLabelInfo.d.ts","sourceRoot":"","sources":["../../../../src/components/GidsLabel/GidsLabelInfo/GidsLabelInfo.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,wBAAwB,EAE7B,MAAM,+BAA+B,CAAC;AAEvC,OAAO,KAAK,EAAE,EAAE,KAAK,qBAAqB,EAAE,MAAM,OAAO,CAAC;AAM1D,MAAM,MAAM,kBAAkB,GAAG,IAAI,CAAC,qBAAqB,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC,GAC7E,wBAAwB,CAAC;AAE1B,eAAO,MAAM,aAAa,mDAMvB,kBAAkB,sBAoBpB,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React, { type ComponentPropsWithRef, type ReactNode } from 'react';
|
|
2
|
+
import { type GidsRadioGroupCommonProps } from '@ganpatiinfo/gids-core-shared';
|
|
3
|
+
export type GidsRadioGroupProps = GidsRadioGroupCommonProps<ReactNode> & ComponentPropsWithRef<'div'>;
|
|
4
|
+
/**
|
|
5
|
+
* React DOM implementation of GIDS Radio Group component.
|
|
6
|
+
*
|
|
7
|
+
* **Usage**
|
|
8
|
+
*
|
|
9
|
+
* ```tsx
|
|
10
|
+
* import { GidsRadioGroup, GidsRadio } from '@ganpatiinfo/gids-react-web';
|
|
11
|
+
*
|
|
12
|
+
* export const MyComponent = () => (
|
|
13
|
+
* <GidsRadioGroup>
|
|
14
|
+
* <GidsRadio>Option 1</GidsRadio>
|
|
15
|
+
* <GidsRadio>Option 2</GidsRadio>
|
|
16
|
+
* <GidsRadio>Option 3</GidsRadio>
|
|
17
|
+
* ...
|
|
18
|
+
* <GidsRadioGroup>
|
|
19
|
+
* );
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function GidsRadioGroup({ children, className, ...rest }: GidsRadioGroupProps): React.JSX.Element;
|
|
23
|
+
//# sourceMappingURL=GidsRadioGroup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GidsRadioGroup.d.ts","sourceRoot":"","sources":["../../../src/components/GidsRadioGroup/GidsRadioGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,qBAAqB,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC1E,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAK/E,MAAM,MAAM,mBAAmB,GAAG,yBAAyB,CAAC,SAAS,CAAC,GACrE,qBAAqB,CAAC,KAAK,CAAC,CAAC;AAE9B;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,cAAc,CAAC,EAC9B,QAAQ,EACR,SAAS,EACT,GAAG,IAAI,EACP,EAAE,mBAAmB,qBAMrB"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { GidsRadioGroupWebUtils } from '@ganpatiinfo/gids-web-shared';
|
|
3
|
+
const { getGidsRadioGroupClassNames } = GidsRadioGroupWebUtils;
|
|
4
|
+
/**
|
|
5
|
+
* React DOM implementation of GIDS Radio Group component.
|
|
6
|
+
*
|
|
7
|
+
* **Usage**
|
|
8
|
+
*
|
|
9
|
+
* ```tsx
|
|
10
|
+
* import { GidsRadioGroup, GidsRadio } from '@ganpatiinfo/gids-react-web';
|
|
11
|
+
*
|
|
12
|
+
* export const MyComponent = () => (
|
|
13
|
+
* <GidsRadioGroup>
|
|
14
|
+
* <GidsRadio>Option 1</GidsRadio>
|
|
15
|
+
* <GidsRadio>Option 2</GidsRadio>
|
|
16
|
+
* <GidsRadio>Option 3</GidsRadio>
|
|
17
|
+
* ...
|
|
18
|
+
* <GidsRadioGroup>
|
|
19
|
+
* );
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export function GidsRadioGroup({ children, className, ...rest }) {
|
|
23
|
+
return (React.createElement("div", { className: getGidsRadioGroupClassNames(className), ...rest }, children));
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=GidsRadioGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GidsRadioGroup.js","sourceRoot":"","sources":["../../../src/components/GidsRadioGroup/GidsRadioGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqD,MAAM,OAAO,CAAC;AAE1E,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AAEtE,MAAM,EAAE,2BAA2B,EAAE,GAAG,sBAAsB,CAAC;AAK/D;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,UAAU,cAAc,CAAC,EAC9B,QAAQ,EACR,SAAS,EACT,GAAG,IAAI,EACc;IACrB,OAAO,CACN,6BAAK,SAAS,EAAE,2BAA2B,CAAC,SAAS,CAAC,KAAM,IAAI,IAC9D,QAAQ,CACJ,CACN,CAAC;AACH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GidsSpinner.d.ts","sourceRoot":"","sources":["../../../src/components/GidsSpinner/GidsSpinner.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,sBAAsB,EAE3B,MAAM,+BAA+B,CAAC;AAEvC,OAAc,EAAE,KAAK,GAAG,EAAE,KAAK,qBAAqB,EAAE,MAAM,OAAO,CAAC;AAMpE,MAAM,MAAM,gBAAgB,GAAG,sBAAsB,GACpD,qBAAqB,CAAC,MAAM,CAAC,CAAC;AAE/B,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"GidsSpinner.d.ts","sourceRoot":"","sources":["../../../src/components/GidsSpinner/GidsSpinner.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,sBAAsB,EAE3B,MAAM,+BAA+B,CAAC;AAEvC,OAAc,EAAE,KAAK,GAAG,EAAE,KAAK,qBAAqB,EAAE,MAAM,OAAO,CAAC;AAMpE,MAAM,MAAM,gBAAgB,GAAG,sBAAsB,GACpD,qBAAqB,CAAC,MAAM,CAAC,CAAC;AAE/B,eAAO,MAAM,WAAW,mFASrB,gBAAgB,KAAG,GAAG,CAAC,OAoBzB,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React, { type ComponentPropsWithRef, type ReactNode } from 'react';
|
|
2
|
+
import { GidsSwitchGroupCommonProps } from '@ganpatiinfo/gids-core-shared';
|
|
3
|
+
export type GidsSwitchGroupProps = GidsSwitchGroupCommonProps<ReactNode> & ComponentPropsWithRef<'div'>;
|
|
4
|
+
/**
|
|
5
|
+
* React DOM implementation of GIDS Switch Group component.
|
|
6
|
+
*
|
|
7
|
+
* **Usage**
|
|
8
|
+
*
|
|
9
|
+
* ```tsx
|
|
10
|
+
* import { GidsSwitchGroup, GidsSwitch } from '@ganpatiinfo/gids-react-web';
|
|
11
|
+
*
|
|
12
|
+
* export const MyComponent = () => (
|
|
13
|
+
* <GidsSwitchGroup>
|
|
14
|
+
* <GidsSwitch>Option 1</GidsSwitch>
|
|
15
|
+
* <GidsSwitch>Option 2</GidsSwitch>
|
|
16
|
+
* <GidsSwitch>Option 3</GidsSwitch>
|
|
17
|
+
* ...
|
|
18
|
+
* <GidsSwitchGroup>
|
|
19
|
+
* );
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function GidsSwitchGroup({ children, className, ...rest }: GidsSwitchGroupProps): React.JSX.Element;
|
|
23
|
+
//# sourceMappingURL=GidsSwitchGroup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GidsSwitchGroup.d.ts","sourceRoot":"","sources":["../../../src/components/GidsSwitchGroup/GidsSwitchGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,KAAK,qBAAqB,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC1E,OAAO,EAAE,0BAA0B,EAAE,MAAM,+BAA+B,CAAC;AAK3E,MAAM,MAAM,oBAAoB,GAAG,0BAA0B,CAAC,SAAS,CAAC,GACvE,qBAAqB,CAAC,KAAK,CAAC,CAAC;AAE9B;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,eAAe,CAAC,EAC/B,QAAQ,EACR,SAAS,EACT,GAAG,IAAI,EACP,EAAE,oBAAoB,qBAMtB"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { GidsSwitchGroupWebUtils } from '@ganpatiinfo/gids-web-shared';
|
|
3
|
+
const { getGidsSwitchGroupClassNames } = GidsSwitchGroupWebUtils;
|
|
4
|
+
/**
|
|
5
|
+
* React DOM implementation of GIDS Switch Group component.
|
|
6
|
+
*
|
|
7
|
+
* **Usage**
|
|
8
|
+
*
|
|
9
|
+
* ```tsx
|
|
10
|
+
* import { GidsSwitchGroup, GidsSwitch } from '@ganpatiinfo/gids-react-web';
|
|
11
|
+
*
|
|
12
|
+
* export const MyComponent = () => (
|
|
13
|
+
* <GidsSwitchGroup>
|
|
14
|
+
* <GidsSwitch>Option 1</GidsSwitch>
|
|
15
|
+
* <GidsSwitch>Option 2</GidsSwitch>
|
|
16
|
+
* <GidsSwitch>Option 3</GidsSwitch>
|
|
17
|
+
* ...
|
|
18
|
+
* <GidsSwitchGroup>
|
|
19
|
+
* );
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export function GidsSwitchGroup({ children, className, ...rest }) {
|
|
23
|
+
return (React.createElement("div", { className: getGidsSwitchGroupClassNames(className), ...rest }, children));
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=GidsSwitchGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GidsSwitchGroup.js","sourceRoot":"","sources":["../../../src/components/GidsSwitchGroup/GidsSwitchGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqD,MAAM,OAAO,CAAC;AAE1E,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAEvE,MAAM,EAAE,4BAA4B,EAAE,GAAG,uBAAuB,CAAC;AAKjE;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,UAAU,eAAe,CAAC,EAC/B,QAAQ,EACR,SAAS,EACT,GAAG,IAAI,EACe;IACtB,OAAO,CACN,6BAAK,SAAS,EAAE,4BAA4B,CAAC,SAAS,CAAC,KAAM,IAAI,IAC/D,QAAQ,CACJ,CACN,CAAC;AACH,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GidsSpinnerControl.d.ts","sourceRoot":"","sources":["../../../src/components/_GidsSpinnerControl/GidsSpinnerControl.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,KAAK,qBAAqB,EAAE,KAAK,GAAG,EAAE,MAAM,OAAO,CAAC;AACpE,OAAO,EACN,KAAK,6BAA6B,EAElC,MAAM,+BAA+B,CAAC;AAOvC,MAAM,MAAM,uBAAuB,GAAG,6BAA6B,GAClE,qBAAqB,CAAC,KAAK,CAAC,GAAG;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;CACd,CAAC;AAEH,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"GidsSpinnerControl.d.ts","sourceRoot":"","sources":["../../../src/components/_GidsSpinnerControl/GidsSpinnerControl.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,KAAK,qBAAqB,EAAE,KAAK,GAAG,EAAE,MAAM,OAAO,CAAC;AACpE,OAAO,EACN,KAAK,6BAA6B,EAElC,MAAM,+BAA+B,CAAC;AAOvC,MAAM,MAAM,uBAAuB,GAAG,6BAA6B,GAClE,qBAAqB,CAAC,KAAK,CAAC,GAAG;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;CACd,CAAC;AAEH,eAAO,MAAM,kBAAkB,4DAO5B,uBAAuB,KAAG,GAAG,CAAC,OAgChC,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,17 @@
|
|
|
1
1
|
export * from './components/GidsDivider/GidsDivider';
|
|
2
2
|
export * from './components/GidsDisplayTag/GidsDisplayTag';
|
|
3
3
|
export * from './components/GidsIcon/GidsIcon';
|
|
4
|
-
export * from './components/
|
|
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';
|
|
14
|
+
export * from './components/GidsBadge/GidsBadge';
|
|
5
15
|
/**
|
|
6
16
|
* STENCIL GENERATED
|
|
7
17
|
*/
|
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,sCAAsC,CAAC;AACrD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,gCAAgC,CAAC;AAC/C,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,sCAAsC,CAAC;AACrD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,gCAAgC,CAAC;AAC/C,cAAc,kCAAkC,CAAC;AACjD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,wCAAwC,CAAC;AACvD,cAAc,kCAAkC,CAAC;AACjD,cAAc,oCAAoC,CAAC;AACnD,cAAc,oCAAoC,CAAC;AACnD,cAAc,sCAAsC,CAAC;AACrD,cAAc,kDAAkD,CAAC;AACjE,cAAc,4CAA4C,CAAC;AAC3D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,kCAAkC,CAAC;AAEjD;;GAEG;AACH,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,iDAAiD,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,17 @@
|
|
|
1
1
|
export * from './components/GidsDivider/GidsDivider';
|
|
2
2
|
export * from './components/GidsDisplayTag/GidsDisplayTag';
|
|
3
3
|
export * from './components/GidsIcon/GidsIcon';
|
|
4
|
-
export * from './components/
|
|
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';
|
|
14
|
+
export * from './components/GidsBadge/GidsBadge';
|
|
5
15
|
/**
|
|
6
16
|
* STENCIL GENERATED
|
|
7
17
|
*/
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,sCAAsC,CAAC;AACrD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,gCAAgC,CAAC;AAC/C,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,sCAAsC,CAAC;AACrD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,gCAAgC,CAAC;AAC/C,cAAc,kCAAkC,CAAC;AACjD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,wCAAwC,CAAC;AACvD,cAAc,kCAAkC,CAAC;AACjD,cAAc,oCAAoC,CAAC;AACnD,cAAc,oCAAoC,CAAC;AACnD,cAAc,sCAAsC,CAAC;AACrD,cAAc,kDAAkD,CAAC;AACjE,cAAc,4CAA4C,CAAC;AAC3D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,kCAAkC,CAAC;AAEjD;;GAEG;AACH,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,iDAAiD,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.6",
|
|
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.5",
|
|
26
|
+
"@ganpatiinfo/gids-web-theme-interface": "2.0.5",
|
|
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.6",
|
|
33
|
+
"@ganpatiinfo/gids-web-shared": "2.0.6"
|
|
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.5",
|
|
59
|
+
"@ganpatiinfo/gids-storybook-utilities": "2.0.5",
|
|
60
|
+
"@ganpatiinfo/gids-web-dom-reference": "2.0.6",
|
|
61
|
+
"@ganpatiinfo/gids-web-theme-ganpatiinfo": "2.0.5"
|
|
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"}
|