@ganpatiinfo/gids-react-web 2.0.5 → 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.
@@ -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,GAAG,QAAQ,EAAE,0HAa1E,eAAe,CAAC,CAAC,CAAC,KAAG,GAAG,CAAC,OAiC3B,CAAC"}
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"}
@@ -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,GAAI,8DAQ5B,mBAAmB,KAAG,GAAG,CAAC,OAa5B,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,GAAI,iBAAiB,gBAAgB,KAAG,GAAG,CAAC,OAEnE,CAAC"}
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,GAAI,8DAQtB,aAAa,KAAG,GAAG,CAAC,OAmBtB,CAAC"}
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,GAAI,gDAM3B,kBAAkB,sBAoBpB,CAAC"}
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"}
@@ -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,GAAI,gFASzB,gBAAgB,KAAG,GAAG,CAAC,OAoBzB,CAAC"}
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"}
@@ -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,GAAI,yDAOhC,uBAAuB,KAAG,GAAG,CAAC,OAgChC,CAAC"}
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
@@ -11,6 +11,7 @@ export * from './components/GidsSpinner/GidsSpinner';
11
11
  export * from './components/GidsCheckboxGroup/GidsCheckboxGroup';
12
12
  export * from './components/GidsRadioGroup/GidsRadioGroup';
13
13
  export * from './components/GidsSwitchGroup/GidsSwitchGroup';
14
+ export * from './components/GidsBadge/GidsBadge';
14
15
  /**
15
16
  * STENCIL GENERATED
16
17
  */
@@ -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,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;AAE7D;;GAEG;AACH,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,iDAAiD,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
@@ -11,6 +11,7 @@ export * from './components/GidsSpinner/GidsSpinner';
11
11
  export * from './components/GidsCheckboxGroup/GidsCheckboxGroup';
12
12
  export * from './components/GidsRadioGroup/GidsRadioGroup';
13
13
  export * from './components/GidsSwitchGroup/GidsSwitchGroup';
14
+ export * from './components/GidsBadge/GidsBadge';
14
15
  /**
15
16
  * STENCIL GENERATED
16
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,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;AAE7D;;GAEG;AACH,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,iDAAiD,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.5",
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/",
@@ -29,8 +29,8 @@
29
29
  },
30
30
  "dependencies": {
31
31
  "@stencil/react-output-target": "0.8.2",
32
- "@ganpatiinfo/gids-core-shared": "2.0.5",
33
- "@ganpatiinfo/gids-web-shared": "2.0.5"
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",
@@ -57,7 +57,7 @@
57
57
  "sass": "^1.88.0",
58
58
  "@ganpatiinfo/gids-storybook-theme": "2.0.5",
59
59
  "@ganpatiinfo/gids-storybook-utilities": "2.0.5",
60
- "@ganpatiinfo/gids-web-dom-reference": "2.0.5",
60
+ "@ganpatiinfo/gids-web-dom-reference": "2.0.6",
61
61
  "@ganpatiinfo/gids-web-theme-ganpatiinfo": "2.0.5"
62
62
  },
63
63
  "author": {
@@ -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"}