@ganpatiinfo/gids-react-web 5.0.0 → 7.0.0

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.
Files changed (51) hide show
  1. package/dist/components/GidsHeading/GidsHeading.d.ts +2 -2
  2. package/dist/components/GidsHeading/GidsHeading.d.ts.map +1 -1
  3. package/dist/components/GidsHeading/GidsHeading.js +7 -7
  4. package/dist/components/GidsHeading/GidsHeading.js.map +1 -1
  5. package/dist/components/GidsLogo/GidsLogo.d.ts +1 -1
  6. package/dist/components/GidsLogo/GidsLogo.d.ts.map +1 -1
  7. package/dist/components/GidsLogo/GidsLogo.js +5 -2
  8. package/dist/components/GidsLogo/GidsLogo.js.map +1 -1
  9. package/dist/components/GidsSearchBar/GidsSearchBar.d.ts +1 -1
  10. package/dist/components/GidsSearchBar/GidsSearchBar.d.ts.map +1 -1
  11. package/dist/components/GidsSegmentedControl/GidsSegmentedControl.d.ts +2 -2
  12. package/dist/components/GidsSegmentedControl/GidsSegmentedControl.d.ts.map +1 -1
  13. package/dist/components/GidsSegmentedControl/GidsSegmentedControl.js +2 -2
  14. package/dist/components/GidsSegmentedControl/GidsSegmentedControl.js.map +1 -1
  15. package/dist/components/GidsSegmentedTabItem/GidsSegmentedTabItem.d.ts +2 -2
  16. package/dist/components/GidsSegmentedTabItem/GidsSegmentedTabItem.d.ts.map +1 -1
  17. package/dist/components/GidsSegmentedTabItem/GidsSegmentedTabItem.js +14 -3
  18. package/dist/components/GidsSegmentedTabItem/GidsSegmentedTabItem.js.map +1 -1
  19. package/dist/components/GidsSideMenu/GidsSideMenu.d.ts +5 -0
  20. package/dist/components/GidsSideMenu/GidsSideMenu.d.ts.map +1 -0
  21. package/dist/components/GidsSideMenu/GidsSideMenu.js +7 -0
  22. package/dist/components/GidsSideMenu/GidsSideMenu.js.map +1 -0
  23. package/dist/components/GidsSideMenuHeader/GidsSideMenuHeader.d.ts +8 -0
  24. package/dist/components/GidsSideMenuHeader/GidsSideMenuHeader.d.ts.map +1 -0
  25. package/dist/components/GidsSideMenuHeader/GidsSideMenuHeader.js +14 -0
  26. package/dist/components/GidsSideMenuHeader/GidsSideMenuHeader.js.map +1 -0
  27. package/dist/components/GidsSideMenuItem/GidsSideMenuItem.d.ts +7 -0
  28. package/dist/components/GidsSideMenuItem/GidsSideMenuItem.d.ts.map +1 -0
  29. package/dist/components/GidsSideMenuItem/GidsSideMenuItem.js +44 -0
  30. package/dist/components/GidsSideMenuItem/GidsSideMenuItem.js.map +1 -0
  31. package/dist/components/GidsSideNavigation/GidsSideNavigation.d.ts +8 -0
  32. package/dist/components/GidsSideNavigation/GidsSideNavigation.d.ts.map +1 -0
  33. package/dist/components/GidsSideNavigation/GidsSideNavigation.js +11 -0
  34. package/dist/components/GidsSideNavigation/GidsSideNavigation.js.map +1 -0
  35. package/dist/components/GidsTopNavigation/GidsTopNavigation.d.ts +1 -1
  36. package/dist/components/GidsTopNavigation/GidsTopNavigation.d.ts.map +1 -1
  37. package/dist/components/GidsTopNavigation/GidsTopNavigation.js +15 -11
  38. package/dist/components/GidsTopNavigation/GidsTopNavigation.js.map +1 -1
  39. package/dist/components/stencil-generated/components.d.ts +1 -0
  40. package/dist/components/stencil-generated/components.d.ts.map +1 -1
  41. package/dist/components/stencil-generated/components.js +1 -0
  42. package/dist/components/stencil-generated/components.js.map +1 -1
  43. package/dist/components/stencil-generated/gids-scrim.d.ts +10 -0
  44. package/dist/components/stencil-generated/gids-scrim.d.ts.map +1 -0
  45. package/dist/components/stencil-generated/gids-scrim.js +13 -0
  46. package/dist/components/stencil-generated/gids-scrim.js.map +1 -0
  47. package/dist/index.d.ts +6 -0
  48. package/dist/index.d.ts.map +1 -1
  49. package/dist/index.js +6 -0
  50. package/dist/index.js.map +1 -1
  51. package/package.json +109 -109
@@ -1,6 +1,6 @@
1
1
  import { ComponentPropsWithoutRef, FC, ReactNode } from 'react';
2
- import { GidsHeadingCommonProps } from '@ganpatiinfo/gids-core-shared';
3
- export interface GidsHeadingProps extends GidsHeadingCommonProps<ReactNode, ReactNode | string>, Omit<ComponentPropsWithoutRef<'div'>, 'onClick'> {
2
+ import { GidsHeadingWebProps } from '@ganpatiinfo/gids-web-shared';
3
+ export interface GidsHeadingProps extends GidsHeadingWebProps<ReactNode, ReactNode | string>, Omit<ComponentPropsWithoutRef<'div'>, 'onClick'> {
4
4
  }
5
5
  export declare const GidsHeading: FC<GidsHeadingProps>;
6
6
  //# sourceMappingURL=GidsHeading.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"GidsHeading.d.ts","sourceRoot":"","sources":["../../../src/components/GidsHeading/GidsHeading.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,wBAAwB,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvE,OAAO,EAAE,sBAAsB,EAAE,MAAM,+BAA+B,CAAC;AAKvE,MAAM,WAAW,gBACf,SACE,sBAAsB,CAAC,SAAS,EAAE,SAAS,GAAG,MAAM,CAAC,EACrD,IAAI,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,SAAS,CAAC;CAAG;AAEvD,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CA0D5C,CAAC"}
1
+ {"version":3,"file":"GidsHeading.d.ts","sourceRoot":"","sources":["../../../src/components/GidsHeading/GidsHeading.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,wBAAwB,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvE,OAAO,EACL,mBAAmB,EAEpB,MAAM,8BAA8B,CAAC;AAQtC,MAAM,WAAW,gBACf,SACE,mBAAmB,CAAC,SAAS,EAAE,SAAS,GAAG,MAAM,CAAC,EAClD,IAAI,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,SAAS,CAAC;CAAG;AAEvD,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CA2D5C,CAAC"}
@@ -1,14 +1,14 @@
1
1
  import React from 'react';
2
- import { GidsHeadingWebUtils } from '@ganpatiinfo/gids-web-shared';
2
+ import { GidsHeadingWebUtils, } from '@ganpatiinfo/gids-web-shared';
3
3
  import { GidsButtonGroup } from '../GidsButtonGroup/GidsButtonGroup.js';
4
- const { getGidsHeadingClassNames } = GidsHeadingWebUtils;
5
- export const GidsHeading = ({ heading, supportingText, level = 'section', children, className, }) => {
4
+ const { getGidsHeadingClassNames, getGidsHeadingSupportingTextTypographyClass, } = GidsHeadingWebUtils;
5
+ export const GidsHeading = ({ heading, supportingText, level = 'section', children, supportingTextTypography, className, }) => {
6
6
  const renderHeading = () => {
7
7
  if (heading) {
8
8
  if (typeof heading === 'string') {
9
- return heading !== '' ? (React.createElement("span", { className: level === 'section'
9
+ return heading !== '' ? (React.createElement("span", { className: `${level === 'section'
10
10
  ? 'gids-heading__heading-text-section'
11
- : 'gids-heading__heading-text-group' }, heading)) : null;
11
+ : 'gids-heading__heading-text-group'}` }, heading)) : null;
12
12
  }
13
13
  return heading;
14
14
  }
@@ -17,9 +17,9 @@ export const GidsHeading = ({ heading, supportingText, level = 'section', childr
17
17
  const renderSupportingText = () => {
18
18
  if (supportingText) {
19
19
  if (typeof supportingText === 'string') {
20
- return supportingText !== '' ? (React.createElement("span", { className: level === 'section'
20
+ return supportingText !== '' ? (React.createElement("span", { className: `${level === 'section'
21
21
  ? 'gids-heading__supporting-text-section'
22
- : 'gids-heading__supporting-text-group' }, supportingText)) : null;
22
+ : 'gids-heading__supporting-text-group'} ${getGidsHeadingSupportingTextTypographyClass(supportingTextTypography)}` }, supportingText)) : null;
23
23
  }
24
24
  return supportingText;
25
25
  }
@@ -1 +1 @@
1
- {"version":3,"file":"GidsHeading.js","sourceRoot":"","sources":["../../../src/components/GidsHeading/GidsHeading.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AACvE,OAAO,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAEnE,OAAO,EAAE,eAAe,EAAE,MAAM,u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B,CAC5D,CAAC,CAAC,CAAC,IAAI,CACJ,CACP,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"GidsHeading.js","sourceRoot":"","sources":["../../../src/components/GidsHeading/GidsHeading.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AACvE,OAAO,EAEL,mBAAmB,GACpB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAC;AAExE,MAAM,EACJ,wBAAwB,EACxB,2CAA2C,GAC5C,GAAG,mBAAmB,CAAC;AAOxB,MAAM,CAAC,MAAM,WAAW,GAAyB,CAAC,EAChD,OAAO,EACP,cAAc,EACd,KAAK,GAAG,SAAS,EACjB,QAAQ,EACR,wBAAwB,EACxB,SAAS,GACQ,EAAE,EAAE;IACrB,MAAM,aAAa,GAAG,GAAG,EAAE;QACzB,IAAI,OAAO,EAAE,CAAC;YACZ,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE,CAAC;gBAChC,OAAO,OAAO,KAAK,EAAE,CAAC,CAAC,CAAC,CACtB,8BACE,SAAS,EAAE,GACT,KAAK,KAAK,SAAS;wBACjB,CAAC,CAAC,oCAAoC;wBACtC,CAAC,CAAC,kCACN,EAAE,IAED,OAAO,CACH,CACR,CAAC,CAAC,CAAC,IAAI,CAAC;YACX,CAAC;YACD,OAAO,OAAO,CAAC;QACjB,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC,CAAC;IAEF,MAAM,oBAAoB,GAAG,GAAG,EAAE;QAChC,IAAI,cAAc,EAAE,CAAC;YACnB,IAAI,OAAO,cAAc,KAAK,QAAQ,EAAE,CAAC;gBACvC,OAAO,cAAc,KAAK,EAAE,CAAC,CAAC,CAAC,CAC7B,8BACE,SAAS,EAAE,GACT,KAAK,KAAK,SAAS;wBACjB,CAAC,CAAC,uCAAuC;wBACzC,CAAC,CAAC,qCACN,IAAI,2CAA2C,CAAC,wBAAwB,CAAC,EAAE,IAE1E,cAAc,CACV,CACR,CAAC,CAAC,CAAC,IAAI,CAAC;YACX,CAAC;YACD,OAAO,cAAc,CAAC;QACxB,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO,CACL,6BAAK,SAAS,EAAE,wBAAwB,CAAC,SAAS,CAAC;QACjD,6BAAK,SAAS,EAAC,iCAAiC;YAC7C,aAAa,EAAE;YACf,oBAAoB,EAAE,CACnB;QACL,QAAQ,CAAC,CAAC,CAAC,CACV,oBAAC,eAAe,IAAC,MAAM,EAAC,MAAM,IAAE,QAAQ,CAAmB,CAC5D,CAAC,CAAC,CAAC,IAAI,CACJ,CACP,CAAC;AACJ,CAAC,CAAC"}
@@ -4,5 +4,5 @@ export interface GidsLogoProps extends Omit<ComponentPropsWithRef<'a'>, 'href'>,
4
4
  imgProps?: Omit<ComponentPropsWithRef<'img'>, 'className' | 'src' | 'alt' | 'height'>;
5
5
  imgClasses?: string;
6
6
  }
7
- export declare const GidsLogo: ({ className, href, imgProps, imgClasses, src, alt, clickable, imgHeight, ...rest }: GidsLogoProps) => JSX.Element;
7
+ export declare const GidsLogo: ({ className, href, imgProps, imgClasses, src, alt, clickable, imgHeight, invertedInLightMode, invertedInDarkMode, ...rest }: GidsLogoProps) => JSX.Element;
8
8
  //# sourceMappingURL=GidsLogo.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"GidsLogo.d.ts","sourceRoot":"","sources":["../../../src/components/GidsLogo/GidsLogo.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,KAAK,GAAG,EAAE,KAAK,qBAAqB,EAAE,MAAM,OAAO,CAAC;AACpE,OAAO,EAEL,KAAK,gBAAgB,EACtB,MAAM,8BAA8B,CAAC;AAKtC,MAAM,WAAW,aACf,SACE,IAAI,CAAC,qBAAqB,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,EACxC,gBAAgB,CAAC,MAAM,EAAE,MAAM,CAAC;IAClC,QAAQ,CAAC,EAAE,IAAI,CACb,qBAAqB,CAAC,KAAK,CAAC,EAC5B,WAAW,GAAG,KAAK,GAAG,KAAK,GAAG,QAAQ,CACvC,CAAC;IACF,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,QAAQ,GAAI,oFAUtB,aAAa,KAAG,GAAG,CAAC,OAkBtB,CAAC"}
1
+ {"version":3,"file":"GidsLogo.d.ts","sourceRoot":"","sources":["../../../src/components/GidsLogo/GidsLogo.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,KAAK,GAAG,EAAE,KAAK,qBAAqB,EAAE,MAAM,OAAO,CAAC;AACpE,OAAO,EAEL,KAAK,gBAAgB,EACtB,MAAM,8BAA8B,CAAC;AAKtC,MAAM,WAAW,aACf,SACE,IAAI,CAAC,qBAAqB,CAAC,GAAG,CAAC,EAAE,MAAM,CAAC,EACxC,gBAAgB,CAAC,MAAM,EAAE,MAAM,CAAC;IAClC,QAAQ,CAAC,EAAE,IAAI,CACb,qBAAqB,CAAC,KAAK,CAAC,EAC5B,WAAW,GAAG,KAAK,GAAG,KAAK,GAAG,QAAQ,CACvC,CAAC;IACF,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,QAAQ,GAAI,6HAYtB,aAAa,KAAG,GAAG,CAAC,OAsBtB,CAAC"}
@@ -2,8 +2,11 @@ import React from 'react';
2
2
  import { GidsLogoWebUtils, } from '@ganpatiinfo/gids-web-shared';
3
3
  import clsx from 'clsx';
4
4
  const { getGidsLogoClassNames } = GidsLogoWebUtils;
5
- export const GidsLogo = ({ className, href, imgProps, imgClasses, src, alt, clickable = true, imgHeight = '100', ...rest }) => {
5
+ export const GidsLogo = ({ className, href, imgProps, imgClasses, src, alt, clickable = true, imgHeight = '100', invertedInLightMode, invertedInDarkMode, ...rest }) => {
6
6
  return (React.createElement("a", { href: clickable && href && href !== '' ? href : undefined, className: getGidsLogoClassNames(className), ...rest },
7
- React.createElement("img", { className: clsx(`gids-logo__img gids-logo__img-height-${imgHeight}`, imgClasses), src: src, alt: alt, ...imgProps })));
7
+ React.createElement("img", { className: clsx(`gids-logo__img gids-logo__img-height-${imgHeight}`, {
8
+ 'gids-logo__inverted-img-in-dark': invertedInDarkMode,
9
+ 'gids-logo__inverted-img-in-light': invertedInLightMode,
10
+ }, imgClasses), src: src, alt: alt, ...imgProps })));
8
11
  };
9
12
  //# sourceMappingURL=GidsLogo.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"GidsLogo.js","sourceRoot":"","sources":["../../../src/components/GidsLogo/GidsLogo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;AACpE,OAAO,EACL,gBAAgB,GAEjB,MAAM,8BAA8B,CAAC;AACtC,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,MAAM,EAAE,qBAAqB,EAAE,GAAG,gBAAgB,CAAC;AAanD,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,EACvB,SAAS,EACT,IAAI,EACJ,QAAQ,EACR,UAAU,EACV,GAAG,EACH,GAAG,EACH,SAAS,GAAG,IAAI,EAChB,SAAS,GAAG,KAAK,EACjB,GAAG,IAAI,EACO,EAAe,EAAE;IAC/B,OAAO,CACL,2BACE,IAAI,EAAE,SAAS,IAAI,IAAI,IAAI,IAAI,KAAK,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EACzD,SAAS,EAAE,qBAAqB,CAAC,SAAS,CAAC,KACvC,IAAI;QAER,6BACE,SAAS,EAAE,IAAI,CACb,wCAAwC,SAAS,EAAE,EACnD,UAAU,CACX,EACD,GAAG,EAAE,GAAG,EACR,GAAG,EAAE,GAAG,KACJ,QAAQ,GACZ,CACA,CACL,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"GidsLogo.js","sourceRoot":"","sources":["../../../src/components/GidsLogo/GidsLogo.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;AACpE,OAAO,EACL,gBAAgB,GAEjB,MAAM,8BAA8B,CAAC;AACtC,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,MAAM,EAAE,qBAAqB,EAAE,GAAG,gBAAgB,CAAC;AAanD,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,EACvB,SAAS,EACT,IAAI,EACJ,QAAQ,EACR,UAAU,EACV,GAAG,EACH,GAAG,EACH,SAAS,GAAG,IAAI,EAChB,SAAS,GAAG,KAAK,EACjB,mBAAmB,EACnB,kBAAkB,EAClB,GAAG,IAAI,EACO,EAAe,EAAE;IAC/B,OAAO,CACL,2BACE,IAAI,EAAE,SAAS,IAAI,IAAI,IAAI,IAAI,KAAK,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EACzD,SAAS,EAAE,qBAAqB,CAAC,SAAS,CAAC,KACvC,IAAI;QAER,6BACE,SAAS,EAAE,IAAI,CACb,wCAAwC,SAAS,EAAE,EACnD;gBACE,iCAAiC,EAAE,kBAAkB;gBACrD,kCAAkC,EAAE,mBAAmB;aACxD,EACD,UAAU,CACX,EACD,GAAG,EAAE,GAAG,EACR,GAAG,EAAE,GAAG,KACJ,QAAQ,GACZ,CACA,CACL,CAAC;AACJ,CAAC,CAAC"}
@@ -2,7 +2,7 @@ import { ComponentPropsWithoutRef, FC, ReactNode } from 'react';
2
2
  import { GidsTextField } from '../stencil-generated/gids-text-field.js';
3
3
  import { type GidsSearchBarWebProps } from '@ganpatiinfo/gids-web-shared';
4
4
  type GidsTextFieldBaseProps = ComponentPropsWithoutRef<typeof GidsTextField>;
5
- type GidsTextFieldInputProps = GidsTextFieldBaseProps['inputProps'];
5
+ export type GidsTextFieldInputProps = GidsTextFieldBaseProps['inputProps'];
6
6
  export interface GidsSearchBarProps extends Omit<GidsSearchBarWebProps<ReactNode, ComponentPropsWithoutRef<'input'>>, 'inputProps' | 'trailingIcon'>, Pick<GidsTextFieldBaseProps, 'onChange' | 'onInput' | 'onBlur' | 'onFocus'> {
7
7
  wrapperClass?: string;
8
8
  onGidsSearchBarClear?: (event: CustomEvent<void>) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"GidsSearchBar.d.ts","sourceRoot":"","sources":["../../../src/components/GidsSearchBar/GidsSearchBar.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,wBAAwB,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvE,OAAO,EAAE,aAAa,EAAE,MAAM,yCAAyC,CAAC;AAExE,OAAO,EACL,KAAK,qBAAqB,EAE3B,MAAM,8BAA8B,CAAC;AAMtC,KAAK,sBAAsB,GAAG,wBAAwB,CAAC,OAAO,aAAa,CAAC,CAAC;AAC7E,KAAK,uBAAuB,GAAG,sBAAsB,CAAC,YAAY,CAAC,CAAC;AAEpE,MAAM,WAAW,kBACf,SACE,IAAI,CACF,qBAAqB,CAAC,SAAS,EAAE,wBAAwB,CAAC,OAAO,CAAC,CAAC,EACnE,YAAY,GAAG,cAAc,CAC9B,EACD,IAAI,CACF,sBAAsB,EACtB,UAAU,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,CAC9C;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,oBAAoB,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC;IAC1D,UAAU,CAAC,EAAE,uBAAuB,CAAC;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAuDhD,CAAC"}
1
+ {"version":3,"file":"GidsSearchBar.d.ts","sourceRoot":"","sources":["../../../src/components/GidsSearchBar/GidsSearchBar.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,wBAAwB,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvE,OAAO,EAAE,aAAa,EAAE,MAAM,yCAAyC,CAAC;AAExE,OAAO,EACL,KAAK,qBAAqB,EAE3B,MAAM,8BAA8B,CAAC;AAMtC,KAAK,sBAAsB,GAAG,wBAAwB,CAAC,OAAO,aAAa,CAAC,CAAC;AAC7E,MAAM,MAAM,uBAAuB,GAAG,sBAAsB,CAAC,YAAY,CAAC,CAAC;AAE3E,MAAM,WAAW,kBACf,SACE,IAAI,CACF,qBAAqB,CAAC,SAAS,EAAE,wBAAwB,CAAC,OAAO,CAAC,CAAC,EACnE,YAAY,GAAG,cAAc,CAC9B,EACD,IAAI,CACF,sBAAsB,EACtB,UAAU,GAAG,SAAS,GAAG,QAAQ,GAAG,SAAS,CAC9C;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,oBAAoB,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC;IAC1D,UAAU,CAAC,EAAE,uBAAuB,CAAC;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAuDhD,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { type JSX, type ComponentPropsWithRef, type ReactNode } from 'react';
2
2
  import { GidsSegmentedTabItemPressedReturnedProps, type GidsSegmentedControlCommonProps } from '@ganpatiinfo/gids-core-shared';
3
- export interface GidsSegmentedControlProps extends Omit<ComponentPropsWithRef<'div'>, 'onClick' | 'children' | 'onChange' | 'onBlur'>, GidsSegmentedControlCommonProps<ReactNode, string> {
3
+ export interface GidsSegmentedControlProps extends Omit<ComponentPropsWithRef<'div'>, 'onClick' | 'children' | 'onChange' | 'onBlur' | 'defaultChecked' | 'defaultValue'>, GidsSegmentedControlCommonProps<ReactNode, string, ReactNode> {
4
4
  onPress?: (props: GidsSegmentedTabItemPressedReturnedProps) => void;
5
5
  }
6
- export declare const GidsSegmentedControl: ({ width, tabItems, onPress, className, ...rest }: GidsSegmentedControlProps) => JSX.Element;
6
+ export declare const GidsSegmentedControl: ({ width, tabItems, onPress, className, defaultSelectedIndex, ...rest }: GidsSegmentedControlProps) => JSX.Element;
7
7
  //# sourceMappingURL=GidsSegmentedControl.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"GidsSegmentedControl.d.ts","sourceRoot":"","sources":["../../../src/components/GidsSegmentedControl/GidsSegmentedControl.tsx"],"names":[],"mappings":"AAAA,OAAc,EACZ,KAAK,GAAG,EACR,KAAK,qBAAqB,EAC1B,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EACL,wCAAwC,EACxC,KAAK,+BAA+B,EACrC,MAAM,+BAA+B,CAAC;AAMvC,MAAM,WAAW,yBACf,SACE,IAAI,CACF,qBAAqB,CAAC,KAAK,CAAC,EAC5B,SAAS,GAAG,UAAU,GAAG,UAAU,GAAG,QAAQ,CAC/C,EACD,+BAA+B,CAAC,SAAS,EAAE,MAAM,CAAC;IACpD,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,wCAAwC,KAAK,IAAI,CAAC;CACrE;AAED,eAAO,MAAM,oBAAoB,GAAI,kDAMlC,yBAAyB,KAAG,GAAG,CAAC,OAmClC,CAAC"}
1
+ {"version":3,"file":"GidsSegmentedControl.d.ts","sourceRoot":"","sources":["../../../src/components/GidsSegmentedControl/GidsSegmentedControl.tsx"],"names":[],"mappings":"AAAA,OAAc,EACZ,KAAK,GAAG,EACR,KAAK,qBAAqB,EAC1B,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EACL,wCAAwC,EACxC,KAAK,+BAA+B,EACrC,MAAM,+BAA+B,CAAC;AAMvC,MAAM,WAAW,yBACf,SACE,IAAI,CACF,qBAAqB,CAAC,KAAK,CAAC,EAC1B,SAAS,GACT,UAAU,GACV,UAAU,GACV,QAAQ,GACR,gBAAgB,GAChB,cAAc,CACjB,EACD,+BAA+B,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,CAAC;IAC/D,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,wCAAwC,KAAK,IAAI,CAAC;CACrE;AAED,eAAO,MAAM,oBAAoB,GAAI,wEAOlC,yBAAyB,KAAG,GAAG,CAAC,OAmClC,CAAC"}
@@ -2,8 +2,8 @@ import React from 'react';
2
2
  import { GidsSegmentedControlWebUtils } from '@ganpatiinfo/gids-web-shared';
3
3
  import { GidsSegmentedTabItem } from '../GidsSegmentedTabItem/GidsSegmentedTabItem.js';
4
4
  const { getGidsSegmentedControlClassNames } = GidsSegmentedControlWebUtils;
5
- export const GidsSegmentedControl = ({ width = 'intrinsic', tabItems = [], onPress, className, ...rest }) => {
6
- const [currentSelectedIndex, setCurrentSelectedIndex] = React.useState(0);
5
+ export const GidsSegmentedControl = ({ width = 'intrinsic', tabItems = [], onPress, className, defaultSelectedIndex, ...rest }) => {
6
+ const [currentSelectedIndex, setCurrentSelectedIndex] = React.useState(defaultSelectedIndex || 0);
7
7
  const handlePress = (props) => {
8
8
  if (props.selectedIndex !== undefined && props.selectedIndex !== null) {
9
9
  setCurrentSelectedIndex(props.selectedIndex);
@@ -1 +1 @@
1
- {"version":3,"file":"GidsSegmentedControl.js","sourceRoot":"","sources":["../../../src/components/GidsSegmentedControl/GidsSegmentedControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAIN,MAAM,OAAO,CAAC;AAKf,OAAO,EAAE,4BAA4B,EAAE,MAAM,8BAA8B,CAAC;AAC5E,OAAO,EAAE,oBAAoB,EAAE,MAAM,iDAAiD,CAAC;AAEvF,MAAM,EAAE,iCAAiC,EAAE,GAAG,4BAA4B,CAAC;AAY3E,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,EACnC,KAAK,GAAG,WAAW,EACnB,QAAQ,GAAG,EAAE,EACb,OAAO,EACP,SAAS,EACT,GAAG,IAAI,EACmB,EAAe,EAAE;IAC3C,MAAM,CAAC,oBAAoB,EAAE,uBAAuB,CAAC,GAAG,KAAK,CAAC,QAAQ,CAEpE,CAAC,CAAC,CAAC;IAEL,MAAM,WAAW,GAAG,CAAC,KAA+C,EAAE,EAAE;QACtE,IAAI,KAAK,CAAC,aAAa,KAAK,SAAS,IAAI,KAAK,CAAC,aAAa,KAAK,IAAI,EAAE,CAAC;YACtE,uBAAuB,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;YAC7C,IAAI,OAAO,EAAE,CAAC;gBACZ,OAAO,CAAC,KAAK,CAAC,CAAC;YACjB,CAAC;QACH,CAAC;IACH,CAAC,CAAC;IAEF,OAAO,CACL,6BACE,SAAS,EAAE,iCAAiC,CAAC,EAAE,KAAK,EAAE,EAAE,SAAS,CAAC,KAC9D,IAAI,IAEP,QAAQ,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,KAAK,EAAE,EAAE;QAC/B,OAAO,CACL,oBAAC,oBAAoB,OACf,OAAO,EACX,KAAK,EAAE,KAAK,EACZ,GAAG,EAAE,KAAK,CAAC,QAAQ,EAAE,EACrB,KAAK,EAAE,KAAK;YACZ,wDAAwD;YACxD,QAAQ,EAAE,KAAK,KAAK,oBAAoB;YACxC,6CAA6C;YAC7C,OAAO,EAAE,WAAW,GACpB,CACH,CAAC;IACJ,CAAC,CAAC,CACE,CACP,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"GidsSegmentedControl.js","sourceRoot":"","sources":["../../../src/components/GidsSegmentedControl/GidsSegmentedControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAIN,MAAM,OAAO,CAAC;AAKf,OAAO,EAAE,4BAA4B,EAAE,MAAM,8BAA8B,CAAC;AAC5E,OAAO,EAAE,oBAAoB,EAAE,MAAM,iDAAiD,CAAC;AAEvF,MAAM,EAAE,iCAAiC,EAAE,GAAG,4BAA4B,CAAC;AAiB3E,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,EACnC,KAAK,GAAG,WAAW,EACnB,QAAQ,GAAG,EAAE,EACb,OAAO,EACP,SAAS,EACT,oBAAoB,EACpB,GAAG,IAAI,EACmB,EAAe,EAAE;IAC3C,MAAM,CAAC,oBAAoB,EAAE,uBAAuB,CAAC,GAAG,KAAK,CAAC,QAAQ,CAEpE,oBAAoB,IAAI,CAAC,CAAC,CAAC;IAE7B,MAAM,WAAW,GAAG,CAAC,KAA+C,EAAE,EAAE;QACtE,IAAI,KAAK,CAAC,aAAa,KAAK,SAAS,IAAI,KAAK,CAAC,aAAa,KAAK,IAAI,EAAE,CAAC;YACtE,uBAAuB,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;YAC7C,IAAI,OAAO,EAAE,CAAC;gBACZ,OAAO,CAAC,KAAK,CAAC,CAAC;YACjB,CAAC;QACH,CAAC;IACH,CAAC,CAAC;IAEF,OAAO,CACL,6BACE,SAAS,EAAE,iCAAiC,CAAC,EAAE,KAAK,EAAE,EAAE,SAAS,CAAC,KAC9D,IAAI,IAEP,QAAQ,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,KAAK,EAAE,EAAE;QAC/B,OAAO,CACL,oBAAC,oBAAoB,OACf,OAAO,EACX,KAAK,EAAE,KAAK,EACZ,GAAG,EAAE,KAAK,CAAC,QAAQ,EAAE,EACrB,KAAK,EAAE,KAAK;YACZ,wDAAwD;YACxD,QAAQ,EAAE,KAAK,KAAK,oBAAoB;YACxC,6CAA6C;YAC7C,OAAO,EAAE,WAAW,GACpB,CACH,CAAC;IACJ,CAAC,CAAC,CACE,CACP,CAAC;AACJ,CAAC,CAAC"}
@@ -1,7 +1,7 @@
1
1
  import { type JSX, type ComponentPropsWithRef, type ReactNode } from 'react';
2
2
  import { GidsSegmentedTabItemPressedReturnedProps, type GidsSegmentedTabItemCommonProps } from '@ganpatiinfo/gids-core-shared';
3
- export interface GidsSegmentedTabItemProps extends Omit<ComponentPropsWithRef<'button'>, 'onClick' | 'children' | 'onChange' | 'onBlur'>, GidsSegmentedTabItemCommonProps<ReactNode, string> {
3
+ export interface GidsSegmentedTabItemProps extends Omit<ComponentPropsWithRef<'button'>, 'onClick' | 'children' | 'onChange' | 'onBlur'>, GidsSegmentedTabItemCommonProps<ReactNode, string, ReactNode> {
4
4
  onPress?: (props: GidsSegmentedTabItemPressedReturnedProps) => void;
5
5
  }
6
- export declare const GidsSegmentedTabItem: ({ index, label, selected, badge, badgeAccessibleText, badgeAppearance, className, onPress, width, ...rest }: GidsSegmentedTabItemProps) => JSX.Element;
6
+ export declare const GidsSegmentedTabItem: ({ leadingIcon, trailingIcon, index, label, selected, badge, badgeAccessibleText, badgeAppearance, className, onPress, width, ...rest }: GidsSegmentedTabItemProps) => JSX.Element;
7
7
  //# sourceMappingURL=GidsSegmentedTabItem.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"GidsSegmentedTabItem.d.ts","sourceRoot":"","sources":["../../../src/components/GidsSegmentedTabItem/GidsSegmentedTabItem.tsx"],"names":[],"mappings":"AAAA,OAAc,EACZ,KAAK,GAAG,EACR,KAAK,qBAAqB,EAC1B,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EACL,wCAAwC,EACxC,KAAK,+BAA+B,EACrC,MAAM,+BAA+B,CAAC;AAOvC,MAAM,WAAW,yBACf,SACE,IAAI,CACF,qBAAqB,CAAC,QAAQ,CAAC,EAC/B,SAAS,GAAG,UAAU,GAAG,UAAU,GAAG,QAAQ,CAC/C,EACD,+BAA+B,CAAC,SAAS,EAAE,MAAM,CAAC;IACpD,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,wCAAwC,KAAK,IAAI,CAAC;CACrE;AAED,eAAO,MAAM,oBAAoB,GAAI,6GAWlC,yBAAyB,KAAG,GAAG,CAAC,OAmDlC,CAAC"}
1
+ {"version":3,"file":"GidsSegmentedTabItem.d.ts","sourceRoot":"","sources":["../../../src/components/GidsSegmentedTabItem/GidsSegmentedTabItem.tsx"],"names":[],"mappings":"AAAA,OAAc,EACZ,KAAK,GAAG,EACR,KAAK,qBAAqB,EAC1B,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EACL,wCAAwC,EACxC,KAAK,+BAA+B,EACrC,MAAM,+BAA+B,CAAC;AAOvC,MAAM,WAAW,yBACf,SACE,IAAI,CACF,qBAAqB,CAAC,QAAQ,CAAC,EAC/B,SAAS,GAAG,UAAU,GAAG,UAAU,GAAG,QAAQ,CAC/C,EACD,+BAA+B,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,CAAC;IAC/D,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,wCAAwC,KAAK,IAAI,CAAC;CACrE;AAED,eAAO,MAAM,oBAAoB,GAAI,wIAalC,yBAAyB,KAAG,GAAG,CAAC,OA6ElC,CAAC"}
@@ -3,9 +3,9 @@ import { GidsSegmentedTabItemWebUtils } from '@ganpatiinfo/gids-web-shared';
3
3
  import { GidsBadge } from '../GidsBadge/GidsBadge.js';
4
4
  import clsx from 'clsx';
5
5
  const { getGidsSegmentedTabItemClassNames } = GidsSegmentedTabItemWebUtils;
6
- export const GidsSegmentedTabItem = ({ index, label, selected, badge, badgeAccessibleText, badgeAppearance = 'information', className, onPress, width = 'intrinsic', ...rest }) => {
6
+ export const GidsSegmentedTabItem = ({ leadingIcon, trailingIcon, index, label, selected, badge, badgeAccessibleText, badgeAppearance = 'information', className, onPress, width = 'intrinsic', ...rest }) => {
7
7
  const renderLabel = () => {
8
- if (typeof label === 'string') {
8
+ if (label && typeof label === 'string' && label !== '') {
9
9
  return (React.createElement("label", { className: clsx('gids-segmented-tab-item__label', {
10
10
  'gids-segmented-tab-item__selected-label': selected,
11
11
  }) }, label));
@@ -23,8 +23,19 @@ export const GidsSegmentedTabItem = ({ index, label, selected, badge, badgeAcces
23
23
  }
24
24
  return null;
25
25
  };
26
- return (React.createElement("button", { className: getGidsSegmentedTabItemClassNames({ selected, width }, className), onClick: onItemPress, role: "tab", "data-gids-segmented-item": "segmented-tab-item", ...rest },
26
+ let isIconOnly = false;
27
+ if ((leadingIcon && !trailingIcon && (!label || label === '') && !badge) ||
28
+ (!leadingIcon && trailingIcon && (!label || label === '') && !badge)) {
29
+ isIconOnly = true;
30
+ }
31
+ return (React.createElement("button", { className: getGidsSegmentedTabItemClassNames({ selected, width, isIconOnly }, className), onClick: onItemPress, role: "tab", "data-gids-segmented-item": "segmented-tab-item", ...rest },
32
+ leadingIcon ? (React.createElement("div", { className: clsx('gids-segmented-tab-item__icons', {
33
+ 'gids-segmented-tab-item__selected-icons': selected,
34
+ }) }, leadingIcon)) : null,
27
35
  renderLabel(),
36
+ trailingIcon ? (React.createElement("div", { className: clsx('gids-segmented-tab-item__icons', {
37
+ 'gids-segmented-tab-item__selected-icons': selected,
38
+ }) }, trailingIcon)) : null,
28
39
  renderBadge()));
29
40
  };
30
41
  //# sourceMappingURL=GidsSegmentedTabItem.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"GidsSegmentedTabItem.js","sourceRoot":"","sources":["../../../src/components/GidsSegmentedTabItem/GidsSegmentedTabItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAIN,MAAM,OAAO,CAAC;AAKf,OAAO,EAAE,4BAA4B,EAAE,MAAM,8BAA8B,CAAC;AAC5E,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,MAAM,EAAE,iCAAiC,EAAE,GAAG,4BAA4B,CAAC;AAY3E,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,EACnC,KAAK,EACL,KAAK,EACL,QAAQ,EACR,KAAK,EACL,mBAAmB,EACnB,eAAe,GAAG,aAAa,EAC/B,SAAS,EACT,OAAO,EACP,KAAK,GAAG,WAAW,EACnB,GAAG,IAAI,EACmB,EAAe,EAAE;IAC3C,MAAM,WAAW,GAAG,GAAG,EAAE;QACvB,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;YAC9B,OAAO,CACL,+BACE,SAAS,EAAE,IAAI,CAAC,gCAAgC,EAAE;oBAChD,yCAAyC,EAAE,QAAQ;iBACpD,CAAC,IAED,KAAK,CACA,CACT,CAAC;QACJ,CAAC;QACD,OAAO,KAAK,CAAC;IACf,CAAC,CAAC;IAEF,MAAM,WAAW,GAAG,GAAG,EAAE;QACvB,IAAI,OAAO,EAAE,CAAC;YACZ,OAAO,CAAC,EAAE,aAAa,EAAE,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;QAChD,CAAC;IACH,CAAC,CAAC;IAEF,MAAM,WAAW,GAAG,GAAG,EAAE;QACvB,IAAI,KAAK,EAAE,CAAC;YACV,OAAO,CACL,oBAAC,SAAS,IACR,cAAc,EAAE,mBAAmB,EACnC,UAAU,EAAE,eAAe,EAC3B,OAAO,EAAE,KAAK,EACd,IAAI,EAAC,KAAK,GACV,CACH,CAAC;QACJ,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO,CACL,gCACE,SAAS,EAAE,iCAAiC,CAC1C,EAAE,QAAQ,EAAE,KAAK,EAAE,EACnB,SAAS,CACV,EACD,OAAO,EAAE,WAAW,EACpB,IAAI,EAAC,KAAK,8BACe,oBAAoB,KACzC,IAAI;QAEP,WAAW,EAAE;QACb,WAAW,EAAE,CACP,CACV,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"GidsSegmentedTabItem.js","sourceRoot":"","sources":["../../../src/components/GidsSegmentedTabItem/GidsSegmentedTabItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAIN,MAAM,OAAO,CAAC;AAKf,OAAO,EAAE,4BAA4B,EAAE,MAAM,8BAA8B,CAAC;AAC5E,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,MAAM,EAAE,iCAAiC,EAAE,GAAG,4BAA4B,CAAC;AAY3E,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,EACnC,WAAW,EACX,YAAY,EACZ,KAAK,EACL,KAAK,EACL,QAAQ,EACR,KAAK,EACL,mBAAmB,EACnB,eAAe,GAAG,aAAa,EAC/B,SA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KAAK,EAAE,UAAU,EAAE,EAC/B,SAAS,CACV,EACD,OAAO,EAAE,WAAW,EACpB,IAAI,EAAC,KAAK,8BACe,oBAAoB,KACzC,IAAI;QAEP,WAAW,CAAC,CAAC,CAAC,CACb,6BACE,SAAS,EAAE,IAAI,CAAC,gCAAgC,EAAE;gBAChD,yCAAyC,EAAE,QAAQ;aACpD,CAAC,IAED,WAAW,CACR,CACP,CAAC,CAAC,CAAC,IAAI;QACP,WAAW,EAAE;QACb,YAAY,CAAC,CAAC,CAAC,CACd,6BACE,SAAS,EAAE,IAAI,CAAC,gCAAgC,EAAE;gBAChD,yCAAyC,EAAE,QAAQ;aACpD,CAAC,IAED,YAAY,CACT,CACP,CAAC,CAAC,CAAC,IAAI;QACP,WAAW,EAAE,CACP,CACV,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { ComponentPropsWithoutRef, FC, ReactNode } from 'react';
2
+ import { GidsSideMenuWebProps } from '@ganpatiinfo/gids-web-shared';
3
+ export type GidsSideMenuProps = GidsSideMenuWebProps<ReactNode> & Omit<ComponentPropsWithoutRef<'div'>, 'children' | 'onClick'>;
4
+ export declare const GidsSideMenu: FC<GidsSideMenuProps>;
5
+ //# sourceMappingURL=GidsSideMenu.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GidsSideMenu.d.ts","sourceRoot":"","sources":["../../../src/components/GidsSideMenu/GidsSideMenu.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,wBAAwB,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvE,OAAO,EACL,oBAAoB,EAErB,MAAM,8BAA8B,CAAC;AAItC,MAAM,MAAM,iBAAiB,GAAG,oBAAoB,CAAC,SAAS,CAAC,GAC7D,IAAI,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC,CAAC;AAEhE,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAc9C,CAAC"}
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { GidsSideMenuWebUtils, } from '@ganpatiinfo/gids-web-shared';
3
+ const { getGidsSideMenuClassNames } = GidsSideMenuWebUtils;
4
+ export const GidsSideMenu = ({ children, sideMenuAppearance = 'default', className, ...restProps }) => {
5
+ return (React.createElement("div", { className: getGidsSideMenuClassNames({ sideMenuAppearance }, className), ...restProps }, children ? children : null));
6
+ };
7
+ //# sourceMappingURL=GidsSideMenu.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GidsSideMenu.js","sourceRoot":"","sources":["../../../src/components/GidsSideMenu/GidsSideMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AACvE,OAAO,EAEL,oBAAoB,GACrB,MAAM,8BAA8B,CAAC;AAEtC,MAAM,EAAE,yBAAyB,EAAE,GAAG,oBAAoB,CAAC;AAK3D,MAAM,CAAC,MAAM,YAAY,GAA0B,CAAC,EAClD,QAAQ,EACR,kBAAkB,GAAG,SAAS,EAC9B,SAAS,EACT,GAAG,SAAS,EACM,EAAE,EAAE;IACtB,OAAO,CACL,6BACE,SAAS,EAAE,yBAAyB,CAAC,EAAE,kBAAkB,EAAE,EAAE,SAAS,CAAC,KACnE,SAAS,IAEZ,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CACvB,CACP,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { ComponentPropsWithoutRef, FC, ReactNode } from 'react';
2
+ import { type GidsSideMenuHeaderWebProps } from '@ganpatiinfo/gids-web-shared';
3
+ import { type GidsSearchBarProps } from '../GidsSearchBar/GidsSearchBar.js';
4
+ export interface GidsSideMenuHeaderProps extends Omit<GidsSideMenuHeaderWebProps<ReactNode, ReactNode, Omit<ComponentPropsWithoutRef<'input'>, 'ref'>>, 'inputProps'>, Pick<GidsSearchBarProps, 'wrapperClass' | 'onGidsSearchBarClear' | 'onChange' | 'onInput' | 'onFocus' | 'onBlur' | 'inputProps'> {
5
+ headerClasses?: string;
6
+ }
7
+ export declare const GidsSideMenuHeader: FC<GidsSideMenuHeaderProps>;
8
+ //# sourceMappingURL=GidsSideMenuHeader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GidsSideMenuHeader.d.ts","sourceRoot":"","sources":["../../../src/components/GidsSideMenuHeader/GidsSideMenuHeader.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,wBAAwB,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvE,OAAO,EACL,KAAK,0BAA0B,EAEhC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,mCAAmC,CAAC;AAK3C,MAAM,WAAW,uBACf,SACE,IAAI,CACF,0BAA0B,CACxB,SAAS,EACT,SAAS,EACT,IAAI,CAAC,wBAAwB,CAAC,OAAO,CAAC,EAAE,KAAK,CAAC,CAC/C,EACD,YAAY,CACb,EACD,IAAI,CACF,kBAAkB,EAChB,cAAc,GACd,sBAAsB,GACtB,UAAU,GACV,SAAS,GACT,SAAS,GACT,QAAQ,GACR,YAAY,CACf;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC,uBAAuB,CAgC1D,CAAC"}
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import { GidsSideMenuHeaderWebUtils, } from '@ganpatiinfo/gids-web-shared';
3
+ import { GidsSearchBar, } from '../GidsSearchBar/GidsSearchBar.js';
4
+ import { GidsDivider } from '../GidsDivider/GidsDivider.js';
5
+ const { getGidsSideMenuHeaderClassNames } = GidsSideMenuHeaderWebUtils;
6
+ export const GidsSideMenuHeader = ({ headerDividedByDivider = true, headerAppearance, customChildren, searchVisible = true, onGidsSearchBarClear, headerClasses, inputProps, ...restProps }) => {
7
+ return (React.createElement("div", { className: getGidsSideMenuHeaderClassNames({ headerAppearance }, headerClasses) },
8
+ React.createElement("div", { className: "gids-side-menu-header__content-wrapper" },
9
+ customChildren ? customChildren : null,
10
+ searchVisible ? (React.createElement("div", { className: "gids-side-menu-header__search-bar" },
11
+ React.createElement(GidsSearchBar, { ...restProps, onGidsSearchBarClear: onGidsSearchBarClear, inputProps: { ...inputProps } }))) : null),
12
+ headerDividedByDivider ? React.createElement(GidsDivider, { orientation: "horizontal" }) : null));
13
+ };
14
+ //# sourceMappingURL=GidsSideMenuHeader.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GidsSideMenuHeader.js","sourceRoot":"","sources":["../../../src/components/GidsSideMenuHeader/GidsSideMenuHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AACvE,OAAO,EAEL,0BAA0B,GAC3B,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,aAAa,GAEd,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAE5D,MAAM,EAAE,+BAA+B,EAAE,GAAG,0BAA0B,CAAC;AAyBvE,MAAM,CAAC,MAAM,kBAAkB,GAAgC,CAAC,EAC9D,sBAAsB,GAAG,IAAI,EAC7B,gBAAgB,EAChB,cAAc,EACd,aAAa,GAAG,IAAI,EACpB,oBAAoB,EACpB,aAAa,EACb,UAAU,EACV,GAAG,SAAS,EACY,EAAE,EAAE;IAC5B,OAAO,CACL,6BACE,SAAS,EAAE,+BAA+B,CACxC,EAAE,gBAAgB,EAAE,EACpB,aAAa,CACd;QAED,6BAAK,SAAS,EAAC,wCAAwC;YACpD,cAAc,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,IAAI;YACtC,aAAa,CAAC,CAAC,CAAC,CACf,6BAAK,SAAS,EAAC,mCAAmC;gBAChD,oBAAC,aAAa,OACR,SAAS,EACb,oBAAoB,EAAE,oBAAoB,EAC1C,UAAU,EAAE,EAAE,GAAG,UAAU,EAAE,GAC7B,CACE,CACP,CAAC,CAAC,CAAC,IAAI,CACJ;QACL,sBAAsB,CAAC,CAAC,CAAC,oBAAC,WAAW,IAAC,WAAW,EAAC,YAAY,GAAG,CAAC,CAAC,CAAC,IAAI,CACrE,CACP,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { ComponentPropsWithoutRef, FC, ReactNode } from 'react';
2
+ import { type GidsSideMenuItemOnPressEvent, type GidsSideMenuItemWebProps } from '@ganpatiinfo/gids-web-shared';
3
+ export interface GidsSideMenuItemProps extends GidsSideMenuItemWebProps<ReactNode | string, ReactNode, ReactNode>, Omit<ComponentPropsWithoutRef<'div'>, 'onClick' | 'children'> {
4
+ onPressSideMenuItem?: GidsSideMenuItemOnPressEvent;
5
+ }
6
+ export declare const GidsSideMenuItem: FC<GidsSideMenuItemProps>;
7
+ //# sourceMappingURL=GidsSideMenuItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GidsSideMenuItem.d.ts","sourceRoot":"","sources":["../../../src/components/GidsSideMenuItem/GidsSideMenuItem.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,wBAAwB,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvE,OAAO,EACL,KAAK,4BAA4B,EACjC,KAAK,wBAAwB,EAE9B,MAAM,8BAA8B,CAAC;AAStC,MAAM,WAAW,qBACf,SACE,wBAAwB,CAAC,SAAS,GAAG,MAAM,EAAE,SAAS,EAAE,SAAS,CAAC,EAClE,IAAI,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,SAAS,GAAG,UAAU,CAAC;IAC/D,mBAAmB,CAAC,EAAE,4BAA4B,CAAC;CACpD;AAED,eAAO,MAAM,gBAAgB,EAAE,EAAE,CAAC,qBAAqB,CAmEtD,CAAC"}
@@ -0,0 +1,44 @@
1
+ import React from 'react';
2
+ import { GidsSideMenuItemWebUtils, } from '@ganpatiinfo/gids-web-shared';
3
+ import { GidsIcon } from '../GidsIcon/GidsIcon.js';
4
+ import { GidsBadge } from '../GidsBadge/GidsBadge.js';
5
+ import { GidsSideMenuItemCommonUtils } from '@ganpatiinfo/gids-core-shared';
6
+ const { getGidsSideMenuItemClassNames } = GidsSideMenuItemWebUtils;
7
+ const { getSideMenuTrailingIcon } = GidsSideMenuItemCommonUtils;
8
+ export const GidsSideMenuItem = ({ appearance = 'default', index = 0, selected, isLeadingDotVisible = false, leadingDotAppearance = 'information', leadingAccessory, trailingAccessory, leadingIcon, trailingIcon, isTrailingArrowVisible = false, trailingArrowDirection = 'right', children, className, onPressSideMenuItem, }) => {
9
+ const renderLeadingContent = () => {
10
+ if (leadingAccessory) {
11
+ return leadingAccessory;
12
+ }
13
+ else {
14
+ if (isLeadingDotVisible) {
15
+ return React.createElement(GidsBadge, { appearance: leadingDotAppearance, type: "dot" });
16
+ }
17
+ }
18
+ return null;
19
+ };
20
+ const renderChildren = () => {
21
+ if (children) {
22
+ return React.createElement("span", { className: "gids-side-menu-item__label" }, children);
23
+ }
24
+ return null;
25
+ };
26
+ const renderTrailingIconContent = () => {
27
+ if (trailingIcon) {
28
+ return trailingIcon;
29
+ }
30
+ else {
31
+ if (isTrailingArrowVisible) {
32
+ return (React.createElement(GidsIcon, { name: getSideMenuTrailingIcon(trailingArrowDirection), size: "md", alt: "", appearance: "regular" }));
33
+ }
34
+ }
35
+ return null;
36
+ };
37
+ return (React.createElement("div", { className: getGidsSideMenuItemClassNames({ selected, appearance }, className), onClick: () => onPressSideMenuItem?.({ selectedIndex: index }) },
38
+ renderLeadingContent(),
39
+ leadingIcon ? leadingIcon : null,
40
+ renderChildren(),
41
+ trailingAccessory ? trailingAccessory : null,
42
+ renderTrailingIconContent()));
43
+ };
44
+ //# sourceMappingURL=GidsSideMenuItem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GidsSideMenuItem.js","sourceRoot":"","sources":["../../../src/components/GidsSideMenuItem/GidsSideMenuItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OA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tB,CAAC;aAAM,CAAC;YACN,IAAI,sBAAsB,EAAE,CAAC;gBAC3B,OAAO,CACL,oBAAC,QAAQ,IACP,IAAI,EAAE,uBAAuB,CAAW,sBAAsB,CAAC,EAC/D,IAAI,EAAC,IAAI,EACT,GAAG,EAAC,EAAE,EACN,UAAU,EAAC,SAAS,GACpB,CACH,CAAC;YACJ,CAAC;QACH,CAAC;QACD,OAAO,IAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO,CACL,6BACE,SAAS,EAAE,6BAA6B,CACtC,EAAE,QAAQ,EAAE,UAAU,EAAE,EACxB,SAAS,CACV,EACD,OAAO,EAAE,GAAG,EAAE,CAAC,mBAAmB,EAAE,CAAC,EAAE,aAAa,EAAE,KAAK,EAAE,CAAC;QAE7D,oBAAoB,EAAE;QACtB,WAAW,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI;QAChC,cAAc,EAAE;QAChB,iBAAiB,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,IAAI;QAC5C,yBAAyB,EAAE,CACxB,CACP,CAAC;AACJ,CAAC,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { ComponentPropsWithoutRef, FC, ReactNode } from 'react';
2
+ import { type GidsSideNavigationWebProps } from '@ganpatiinfo/gids-web-shared';
3
+ import { type GidsSideMenuHeaderProps } from '../GidsSideMenuHeader/GidsSideMenuHeader.js';
4
+ export interface GidsSideNavigationProps extends Omit<GidsSideNavigationWebProps<ReactNode, ReactNode, ReactNode, Omit<ComponentPropsWithoutRef<'input'>, 'ref'>>, 'inputProps'>, Pick<GidsSideMenuHeaderProps, 'headerClasses' | 'wrapperClass' | 'onGidsSearchBarClear' | 'onBlur' | 'onChange' | 'onFocus' | 'onInput' | 'inputProps'> {
5
+ extraSideNavigationClasses?: string;
6
+ }
7
+ export declare const GidsSideNavigation: FC<GidsSideNavigationProps>;
8
+ //# sourceMappingURL=GidsSideNavigation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GidsSideNavigation.d.ts","sourceRoot":"","sources":["../../../src/components/GidsSideNavigation/GidsSideNavigation.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,wBAAwB,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvE,OAAO,EACL,KAAK,0BAA0B,EAEhC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,KAAK,uBAAuB,EAE7B,MAAM,6CAA6C,CAAC;AAKrD,MAAM,WAAW,uBACf,SACE,IAAI,CACF,0BAA0B,CACxB,SAAS,EACT,SAAS,EACT,SAAS,EACT,IAAI,CAAC,wBAAwB,CAAC,OAAO,CAAC,EAAE,KAAK,CAAC,CAC/C,EACD,YAAY,CACb,EACD,IAAI,CACF,uBAAuB,EACrB,eAAe,GACf,cAAc,GACd,sBAAsB,GACtB,QAAQ,GACR,UAAU,GACV,SAAS,GACT,SAAS,GACT,YAAY,CACf;IACH,0BAA0B,CAAC,EAAE,MAAM,CAAC;CACrC;AAED,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC,uBAAuB,CA+C1D,CAAC"}
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { GidsSideNavigationWebUtils, } from '@ganpatiinfo/gids-web-shared';
3
+ import { GidsSideMenuHeader, } from '../GidsSideMenuHeader/GidsSideMenuHeader.js';
4
+ import { GidsSideMenu } from '../GidsSideMenu/GidsSideMenu.js';
5
+ const { getGidsSideNavigationClassNames } = GidsSideNavigationWebUtils;
6
+ export const GidsSideNavigation = ({ sideNavigationAppearance = 'default', headerDividedByDivider = true, headerClasses, extraSideNavigationClasses, customHeaderChildren, isHeaderVisible = true, searchVisible = true, children, onGidsSearchBarClear, onBlur, onChange, onFocus, onInput, inputProps, ...restProps }) => {
7
+ return (React.createElement("nav", { className: getGidsSideNavigationClassNames({ sideNavigationAppearance }, extraSideNavigationClasses) },
8
+ isHeaderVisible ? (React.createElement(GidsSideMenuHeader, { searchVisible: searchVisible, headerClasses: headerClasses, headerAppearance: sideNavigationAppearance, customChildren: customHeaderChildren, onBlur: onBlur, onChange: onChange, onFocus: onFocus, onInput: onInput, onGidsSearchBarClear: onGidsSearchBarClear, headerDividedByDivider: headerDividedByDivider, inputProps: { ...inputProps }, ...restProps })) : null,
9
+ children ? (React.createElement(GidsSideMenu, { sideMenuAppearance: sideNavigationAppearance }, children)) : null));
10
+ };
11
+ //# sourceMappingURL=GidsSideNavigation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GidsSideNavigation.js","sourceRoot":"","sources":["../../../src/components/GidsSideNavigation/GidsSideNavigation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AACvE,OAAO,EAEL,0BAA0B,GAC3B,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAEL,kBAAkB,GACnB,MAAM,6CAA6C,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAE/D,MAAM,EAAE,+BAA+B,EAAE,GAAG,0BAA0B,CAAC;AA2BvE,MAAM,CAAC,MAAM,kBAAkB,GAAgC,CAAC,EAC9D,wBAAwB,GAAG,SAAS,EACpC,sBAAsB,GAAG,IAAI,EAC7B,aAAa,EACb,0BAA0B,EAC1B,oBAAoB,EACpB,eAAe,GAAG,IAAI,EACtB,aAAa,GAAG,IAAI,EACpB,QAAQ,EACR,oBAAoB,EACpB,MAAM,EACN,QAAQ,EACR,OAAO,EACP,OAAO,EACP,UAAU,EACV,GAAG,SAAS,EACY,EAAE,EAAE;IAC5B,OAAO,CACL,6BACE,SAAS,EAAE,+BAA+B,CACxC,EAAE,wBAAwB,EAAE,EAC5B,0BAA0B,CAC3B;QAEA,eAAe,CAAC,CAAC,CAAC,CACjB,oBAAC,kBAAkB,IACjB,aAAa,EAAE,aAAa,EAC5B,aAAa,EAAE,aAAa,EAC5B,gBAAgB,EAAE,wBAAwB,EAC1C,cAAc,EAAE,oBAAoB,EACpC,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,EAChB,oBAAoB,EAAE,oBAAoB,EAC1C,sBAAsB,EAAE,sBAAsB,EAC9C,UAAU,EAAE,EAAE,GAAG,UAAU,EAAE,KACzB,SAAS,GACb,CACH,CAAC,CAAC,CAAC,IAAI;QACP,QAAQ,CAAC,CAAC,CAAC,CACV,oBAAC,YAAY,IAAC,kBAAkB,EAAE,wBAAwB,IACvD,QAAQ,CACI,CAChB,CAAC,CAAC,CAAC,IAAI,CACJ,CACP,CAAC;AACJ,CAAC,CAAC"}
@@ -2,7 +2,7 @@ import { FC, ReactNode } from 'react';
2
2
  import { type GidsSearchBarProps } from '../GidsSearchBar/GidsSearchBar.js';
3
3
  import { type GidsSegmentedControlProps } from '../GidsSegmentedControl/GidsSegmentedControl.js';
4
4
  import { type GidsTopNavigationWebProps } from '@ganpatiinfo/gids-web-shared';
5
- export interface GidsTopNavigationProps extends GidsTopNavigationWebProps<ReactNode, ReactNode, ReactNode, ReactNode | string, string, string, string>, Pick<GidsSearchBarProps, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'>, Pick<GidsSegmentedControlProps, 'onPress'> {
5
+ export interface GidsTopNavigationProps extends GidsTopNavigationWebProps<ReactNode, ReactNode, ReactNode, ReactNode | string, string, string, string, ReactNode>, Pick<GidsSearchBarProps, 'onBlur' | 'onChange' | 'onFocus' | 'onInput'>, Pick<GidsSegmentedControlProps, 'onPress'> {
6
6
  className?: string;
7
7
  }
8
8
  export declare const GidsTopNavigation: FC<GidsTopNavigationProps>;
@@ -1 +1 @@
1
- {"version":3,"file":"GidsTopNavigation.d.ts","sourceRoot":"","sources":["../../../src/components/GidsTopNavigation/GidsTopNavigation.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC7C,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAEL,KAAK,yBAAyB,EAC/B,MAAM,iDAAiD,CAAC;AAEzD,OAAO,EACL,KAAK,yBAAyB,EAE/B,MAAM,8BAA8B,CAAC;AAKtC,MAAM,WAAW,sBACf,SACE,yBAAyB,CACvB,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,GAAG,MAAM,EAClB,MAAM,EACN,MAAM,EACN,MAAM,CACP,EACD,IAAI,CAAC,kBAAkB,EAAE,QAAQ,GAAG,UAAU,GAAG,SAAS,GAAG,SAAS,CAAC,EACvE,IAAI,CAAC,yBAAyB,EAAE,SAAS,CAAC;IAC5C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CA6ExD,CAAC"}
1
+ {"version":3,"file":"GidsTopNavigation.d.ts","sourceRoot":"","sources":["../../../src/components/GidsTopNavigation/GidsTopNavigation.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC7C,OAAO,EAEL,KAAK,kBAAkB,EACxB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAEL,KAAK,yBAAyB,EAC/B,MAAM,iDAAiD,CAAC;AAEzD,OAAO,EACL,KAAK,yBAAyB,EAE/B,MAAM,8BAA8B,CAAC;AAMtC,MAAM,WAAW,sBACf,SACE,yBAAyB,CACvB,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,GAAG,MAAM,EAClB,MAAM,EACN,MAAM,EACN,MAAM,EACN,SAAS,CACV,EACD,IAAI,CAAC,kBAAkB,EAAE,QAAQ,GAAG,UAAU,GAAG,SAAS,GAAG,SAAS,CAAC,EACvE,IAAI,CAAC,yBAAyB,EAAE,SAAS,CAAC;IAC5C,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,sBAAsB,CA+FxD,CAAC"}
@@ -3,9 +3,10 @@ import { GidsSearchBar, } from '../GidsSearchBar/GidsSearchBar.js';
3
3
  import { GidsSegmentedControl, } from '../GidsSegmentedControl/GidsSegmentedControl.js';
4
4
  import { GidsLogo } from '../GidsLogo/GidsLogo.js';
5
5
  import { GidsTopNavigationWebUtils, } from '@ganpatiinfo/gids-web-shared';
6
+ import { GidsDivider } from '../GidsDivider/GidsDivider.js';
6
7
  const { getGidsTopNavigationClassNames, isContentValid } = GidsTopNavigationWebUtils;
7
8
  export const GidsTopNavigation = (props) => {
8
- const { isDefaultLeftContentRender = true, isDefaultMiddleContentRender = true, isDefaultRightContentRender = true, leftContent, middleContent, rightContent, src, imgHeight = '100', href, clickable, onPress, width, tabItems = [], className, ...rest } = props;
9
+ const { isDefaultLeftContentRender = true, isDefaultMiddleContentRender = true, isDefaultRightContentRender = true, leftContent, middleContent, rightContent, src, imgHeight = '100', href, clickable, onPress, width, tabItems = [], className, invertedInDarkMode, invertedInLightMode, dividerVisible = true, topNavigationAppearance = 'default', ...rest } = props;
9
10
  const isLeftContentValid = isContentValid({
10
11
  content: leftContent,
11
12
  defaultRender: isDefaultLeftContentRender,
@@ -18,15 +19,18 @@ export const GidsTopNavigation = (props) => {
18
19
  content: rightContent,
19
20
  defaultRender: isDefaultRightContentRender,
20
21
  });
21
- return (React.createElement("nav", { className: getGidsTopNavigationClassNames(className) },
22
- isLeftContentValid ? (React.createElement("div", { className: "gids-top-navigation__left-content" },
23
- leftContent ? leftContent : null,
24
- isDefaultLeftContentRender ? (React.createElement(GidsLogo, { src: src, imgHeight: imgHeight, alt: "logo-img", href: href && href !== '' ? href : '/', clickable: clickable })) : null)) : null,
25
- isMiddleContentValid ? (React.createElement("div", { className: "gids-top-navigation__middle-content" },
26
- middleContent ? middleContent : null,
27
- isDefaultMiddleContentRender ? (React.createElement(GidsSearchBar, { type: "default", appearance: "default", status: "default", ...rest })) : null)) : null,
28
- isRightContentValid ? (React.createElement("div", { className: "gids-top-navigation__right-content" },
29
- rightContent ? rightContent : null,
30
- isDefaultRightContentRender ? (React.createElement(GidsSegmentedControl, { width: width ? width : 'intrinsic', tabItems: tabItems, onPress: onPress })) : null)) : null));
22
+ return (React.createElement("nav", { className: getGidsTopNavigationClassNames({ topNavigationAppearance }, className) },
23
+ React.createElement("div", { className: "gids-top-navigation__wrapper" },
24
+ isLeftContentValid ? (React.createElement("div", { className: "gids-top-navigation__left-content" },
25
+ leftContent ? leftContent : null,
26
+ isDefaultLeftContentRender ? (React.createElement(GidsLogo, { src: src, imgHeight: imgHeight, alt: "logo-img", href: href && href !== '' ? href : '/', clickable: clickable, invertedInDarkMode: invertedInDarkMode, invertedInLightMode: invertedInLightMode })) : null)) : null,
27
+ isMiddleContentValid ? (React.createElement("div", { className: "gids-top-navigation__middle-content" },
28
+ middleContent ? middleContent : null,
29
+ isDefaultMiddleContentRender ? (React.createElement(GidsSearchBar, { type: "default", appearance: "default", status: "default", ...rest })) : null)) : null,
30
+ isRightContentValid ? (React.createElement("div", { className: "gids-top-navigation__right-content" },
31
+ rightContent ? rightContent : null,
32
+ isDefaultRightContentRender ? (React.createElement(GidsSegmentedControl, { width: width ? width : 'intrinsic', tabItems: tabItems, onPress: onPress })) : null)) : null),
33
+ dividerVisible ? (React.createElement("div", { className: "gids-top-navigation__divider-wrapper" },
34
+ React.createElement(GidsDivider, { orientation: "horizontal" }))) : null));
31
35
  };
32
36
  //# sourceMappingURL=GidsTopNavigation.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"GidsTopNavigation.js","sourceRoot":"","sources":["../../../src/components/GidsTopNavigation/GidsTopNavigation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwB,MAAM,OAAO,CAAC;AAC7C,OAAO,EACL,aAAa,GAEd,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,oBAAoB,GAErB,MAAM,iDAAiD,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,OAAO,EAEL,yBAAyB,GAC1B,MAAM,8BAA8B,CAAC;AAEtC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I;QACP,oBAAoB,CAAC,CAAC,CAAC,CACtB,6BAAK,SAAS,EAAC,qCAAqC;YACjD,aAAa,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,IAAI;YACpC,4BAA4B,CAAC,CAAC,CAAC,CAC9B,oBAAC,aAAa,IACZ,IAAI,EAAC,SAAS,EACd,UAAU,EAAC,SAAS,EACpB,MAAM,EAAC,SAAS,KACZ,IAAI,GACR,CACH,CAAC,CAAC,CAAC,IAAI,CACJ,CACP,CAAC,CAAC,CAAC,IAAI;QACP,mBAAmB,CAAC,CAAC,CAAC,CACrB,6BAAK,SAAS,EAAC,oCAAoC;YAChD,YAAY,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,IAAI;YAClC,2BAA2B,CAAC,CAAC,CAAC,CAC7B,oBAAC,oBAAoB,IACnB,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,WAAW,EAClC,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,OAAO,GAChB,CACH,CAAC,CAAC,CAAC,IAAI,CACJ,CACP,CAAC,CAAC,CAAC,IAAI,CACJ,CACP,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"GidsTopNavigation.js","sourceRoot":"","sources":["../../../src/components/GidsTopNavigation/GidsTopNavigation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwB,MAAM,OAAO,CAAC;AAC7C,OAAO,EACL,aAAa,GAEd,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,oBAAoB,GAErB,MAAM,iDAAiD,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACnD,OAAO,EAEL,yBAAyB,GAC1B,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAE5D,MAAM,EAAE,8BAA8B,EAAE,cAAc,EAAE,GACtD,yBAAyB,CAAC;AAmB5B,MAAM,CAAC,MAAM,i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EAAE,kBAAkB,EACtC,mBAAmB,EAAE,mBAAmB,GACxC,CACH,CAAC,CAAC,CAAC,IAAI,CACJ,CACP,CAAC,CAAC,CAAC,IAAI;YACP,oBAAoB,CAAC,CAAC,CAAC,CACtB,6BAAK,SAAS,EAAC,qCAAqC;gBACjD,aAAa,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,IAAI;gBACpC,4BAA4B,CAAC,CAAC,CAAC,CAC9B,oBAAC,aAAa,IACZ,IAAI,EAAC,SAAS,EACd,UAAU,EAAC,SAAS,EACpB,MAAM,EAAC,SAAS,KACZ,IAAI,GACR,CACH,CAAC,CAAC,CAAC,IAAI,CACJ,CACP,CAAC,CAAC,CAAC,IAAI;YACP,mBAAmB,CAAC,CAAC,CAAC,CACrB,6BAAK,SAAS,EAAC,oCAAoC;gBAChD,YAAY,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,IAAI;gBAClC,2BAA2B,CAAC,CAAC,CAAC,CAC7B,oBAAC,oBAAoB,IACnB,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,WAAW,EAClC,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,OAAO,GAChB,CACH,CAAC,CAAC,CAAC,IAAI,CACJ,CACP,CAAC,CAAC,CAAC,IAAI,CACJ;QACL,cAAc,CAAC,CAAC,CAAC,CAChB,6BAAK,SAAS,EAAC,sCAAsC;YACnD,oBAAC,WAAW,IAAC,WAAW,EAAC,YAAY,GAAG,CACpC,CACP,CAAC,CAAC,CAAC,IAAI,CACJ,CACP,CAAC;AACJ,CAAC,CAAC"}
@@ -7,6 +7,7 @@ export { GidsInput } from "./gids-input.js";
7
7
  export { GidsNotification } from "./gids-notification.js";
8
8
  export { GidsOverlayProvider } from "./gids-overlay-provider.js";
9
9
  export { GidsPasswordField } from "./gids-password-field.js";
10
+ export { GidsScrim } from "./gids-scrim.js";
10
11
  export { GidsSnackbar } from "./gids-snackbar.js";
11
12
  export { GidsTextField } from "./gids-text-field.js";
12
13
  export { GidsToggleButton } from "./gids-toggle-button.js";
@@ -1 +1 @@
1
- {"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../src/components/stencil-generated/components.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC"}
1
+ {"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../../src/components/stencil-generated/components.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC"}
@@ -8,6 +8,7 @@ export { GidsInput } from "./gids-input.js";
8
8
  export { GidsNotification } from "./gids-notification.js";
9
9
  export { GidsOverlayProvider } from "./gids-overlay-provider.js";
10
10
  export { GidsPasswordField } from "./gids-password-field.js";
11
+ export { GidsScrim } from "./gids-scrim.js";
11
12
  export { GidsSnackbar } from "./gids-snackbar.js";
12
13
  export { GidsTextField } from "./gids-text-field.js";
13
14
  export { GidsToggleButton } from "./gids-toggle-button.js";
@@ -1 +1 @@
1
- {"version":3,"file":"components.js","sourceRoot":"","sources":["../../../src/components/stencil-generated/components.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,oBAAoB;AACpB,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC"}
1
+ {"version":3,"file":"components.js","sourceRoot":"","sources":["../../../src/components/stencil-generated/components.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,oBAAoB;AACpB,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC"}
@@ -0,0 +1,10 @@
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 type { StencilReactComponent } from '@stencil/react-output-target/runtime';
6
+ import type { Components } from '@ganpatiinfo/gids-core-web';
7
+ import { GidsScrim as GidsScrimElement } from "@ganpatiinfo/gids-core-web/dist/gids-scrim.js";
8
+ export type GidsScrimEvents = NonNullable<unknown>;
9
+ export declare const GidsScrim: StencilReactComponent<GidsScrimElement, GidsScrimEvents, Components.GidsScrim>;
10
+ //# sourceMappingURL=gids-scrim.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gids-scrim.d.ts","sourceRoot":"","sources":["../../../src/components/stencil-generated/gids-scrim.ts"],"names":[],"mappings":"AAEA;;;GAGG;AAIH,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAIlF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAC7D,OAAO,EAAE,SAAS,IAAI,gBAAgB,EAA0C,MAAM,+CAA+C,CAAC;AAEtI,MAAM,MAAM,eAAe,GAAG,WAAW,CAAC,OAAO,CAAC,CAAC;AAEnD,eAAO,MAAM,SAAS,EAAE,qBAAqB,CAAC,gBAAgB,EAAE,eAAe,EAAE,UAAU,CAAC,SAAS,CAOnG,CAAC"}
@@ -0,0 +1,13 @@
1
+ 'use client';
2
+ import { createComponent } from '@stencil/react-output-target/runtime';
3
+ import React from 'react';
4
+ import { GidsScrim as GidsScrimElement, defineCustomElement as defineGidsScrim } from "@ganpatiinfo/gids-core-web/dist/gids-scrim.js";
5
+ export const GidsScrim = /*@__PURE__*/ createComponent({
6
+ tagName: 'gids-scrim',
7
+ elementClass: GidsScrimElement,
8
+ // @ts-ignore - ignore potential React type mismatches between the Stencil Output Target and your project.
9
+ react: React,
10
+ events: {},
11
+ defineCustomElement: defineGidsScrim
12
+ });
13
+ //# sourceMappingURL=gids-scrim.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gids-scrim.js","sourceRoot":"","sources":["../../../src/components/stencil-generated/gids-scrim.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAUb,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AACvE,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,SAAS,IAAI,gBAAgB,EAAE,mBAAmB,IAAI,eAAe,EAAE,MAAM,+CAA+C,CAAC;AAItI,MAAM,CAAC,MAAM,SAAS,GAAmF,aAAa,CAAC,eAAe,CAA0D;IAC5L,OAAO,EAAE,YAAY;IACrB,YAAY,EAAE,gBAAgB;IAC9B,0GAA0G;IAC1G,KAAK,EAAE,KAAK;IACZ,MAAM,EAAE,EAAqB;IAC7B,mBAAmB,EAAE,eAAe;CACvC,CAAC,CAAC"}
package/dist/index.d.ts CHANGED
@@ -38,6 +38,11 @@ export * from './components/GidsStepper/GidsStepper.js';
38
38
  export * from './components/GidsStatusTag/GidsStatusTag.js';
39
39
  export * from './components/GidsTopNavigation/GidsTopNavigation.js';
40
40
  export * from './components/GidsLabel/GidsLabelInfo/GidsLabelInfo.js';
41
+ export * from './components/GidsSideNavigation/GidsSideNavigation.js';
42
+ export * from './components/GidsHeading/GidsHeading.js';
43
+ export * from './components/GidsSideMenuHeader/GidsSideMenuHeader.js';
44
+ export * from './components/GidsSideMenuItem/GidsSideMenuItem.js';
45
+ export * from './components/GidsSideMenu/GidsSideMenu.js';
41
46
  /**
42
47
  * STENCIL GENERATED
43
48
  */
@@ -49,6 +54,7 @@ export * from './components/stencil-generated/gids-password-field.js';
49
54
  export * from './components/stencil-generated/gids-overlay-provider.js';
50
55
  export * from './components/stencil-generated/gids-snackbar.js';
51
56
  export * from './components/stencil-generated/gids-notification.js';
57
+ export * from './components/stencil-generated/gids-scrim.js';
52
58
  import { setGidsAssetPaths, type GidsThemeAsset } from '@ganpatiinfo/gids-core-web';
53
59
  export { GidsThemeAsset, setGidsAssetPaths };
54
60
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
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;AAChE,cAAc,2CAA2C,CAAC;AAC1D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,iDAAiD,CAAC;AAChE,cAAc,+CAA+C,CAAC;AAC9D,cAAc,qDAAqD,CAAC;AACpE,cAAc,uDAAuD,CAAC;AACtE,cAAc,iCAAiC,CAAC;AAChD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,uDAAuD,CAAC;AACtE,cAAc,+CAA+C,CAAC;AAC9D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,mCAAmC,CAAC;AAClD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,2DAA2D,CAAC;AAC1E,cAAc,2DAA2D,CAAC;AAC1E,cAAc,mCAAmC,CAAC;AAClD,cAAc,qDAAqD,CAAC;AACpE,cAAc,6CAA6C,CAAC;AAC5D,cAAc,qDAAqD,CAAC;AACpE,cAAc,6DAA6D,CAAC;AAC5E,cAAc,yCAAyC,CAAC;AACxD,cAAc,6CAA6C,C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,cAAc,+CAA+C,CAAC;AAC9D,cAAc,2DAA2D,CAAC;AAC1E,cAAc,2DAA2D,CAAC;AAC1E,cAAc,mCAAmC,CAAC;AAClD,cAAc,qDAAqD,CAAC;AACpE,cAAc,6CAA6C,CAAC;AAC5D,cAAc,qDAAqD,CAAC;AACpE,cAAc,6DAA6D,CAAC;AAC5E,cAAc,yCAAyC,CAAC;AACxD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,qDAAqD,CAAC;AACpE,cAAc,uDAAuD,CAAC;AACtE,cAAc,uDAAuD,CAAC;AACtE,cAAc,yCAAyC,CAAC;AACxD,cAAc,uDAAuD,CAAC;AACtE,cAAc,mDAAmD,CAAC;AAClE,cAAc,2CAA2C,CAAC;AAE1D;;GAEG;AACH,cAAc,sDAAsD,CAAC;AACrE,cAAc,8CAA8C,CAAC;AAC7D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,mDAAmD,CAAC;AAClE,cAAc,uDAAuD,CAAC;AACtE,cAAc,yDAAyD,CAAC;AACxE,cAAc,iDAAiD,CAAC;AAChE,cAAc,qDAAqD,CAAC;AACpE,cAAc,8CAA8C,CAAC;AAG7D,OAAO,EACL,iBAAiB,EACjB,KAAK,cAAc,EACpB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,CAAC"}
package/dist/index.js CHANGED
@@ -38,6 +38,11 @@ export * from './components/GidsStepper/GidsStepper.js';
38
38
  export * from './components/GidsStatusTag/GidsStatusTag.js';
39
39
  export * from './components/GidsTopNavigation/GidsTopNavigation.js';
40
40
  export * from './components/GidsLabel/GidsLabelInfo/GidsLabelInfo.js';
41
+ export * from './components/GidsSideNavigation/GidsSideNavigation.js';
42
+ export * from './components/GidsHeading/GidsHeading.js';
43
+ export * from './components/GidsSideMenuHeader/GidsSideMenuHeader.js';
44
+ export * from './components/GidsSideMenuItem/GidsSideMenuItem.js';
45
+ export * from './components/GidsSideMenu/GidsSideMenu.js';
41
46
  /**
42
47
  * STENCIL GENERATED
43
48
  */
@@ -49,6 +54,7 @@ export * from './components/stencil-generated/gids-password-field.js';
49
54
  export * from './components/stencil-generated/gids-overlay-provider.js';
50
55
  export * from './components/stencil-generated/gids-snackbar.js';
51
56
  export * from './components/stencil-generated/gids-notification.js';
57
+ export * from './components/stencil-generated/gids-scrim.js';
52
58
  // Re-export asset Api's
53
59
  import { setGidsAssetPaths, } from '@ganpatiinfo/gids-core-web';
54
60
  export { setGidsAssetPaths };
package/dist/index.js.map CHANGED
@@ -1 +1 @@
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;AAChE,cAAc,2CAA2C,CAAC;AAC1D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,iDAAiD,CAAC;AAChE,cAAc,+CAA+C,CAAC;AAC9D,cAAc,qDAAqD,CAAC;AACpE,cAAc,uDAAuD,CAAC;AACtE,cAAc,iCAAiC,CAAC;AAChD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,uDAAuD,CAAC;AACtE,cAAc,+CAA+C,CAAC;AAC9D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,mCAAmC,CAAC;AAClD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,2DAA2D,CAAC;AAC1E,cAAc,2DAA2D,CAAC;AAC1E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AAc,iCAAiC,CAAC;AAChD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,uDAAuD,CAAC;AACtE,cAAc,+CAA+C,CAAC;AAC9D,cAAc,2CAA2C,CAAC;AAC1D,cAAc,mCAAmC,CAAC;AAClD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,2DAA2D,CAAC;AAC1E,cAAc,2DAA2D,CAAC;AAC1E,cAAc,mCAAmC,CAAC;AAClD,cAAc,qDAAqD,CAAC;AACpE,cAAc,6CAA6C,CAAC;AAC5D,cAAc,qDAAqD,CAAC;AACpE,cAAc,6DAA6D,CAAC;AAC5E,cAAc,yCAAyC,CAAC;AACxD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,qDAAqD,CAAC;AACpE,cAAc,uDAAuD,CAAC;AACtE,cAAc,uDAAuD,CAAC;AACtE,cAAc,yCAAyC,CAAC;AACxD,cAAc,uDAAuD,CAAC;AACtE,cAAc,mDAAmD,CAAC;AAClE,cAAc,2CAA2C,CAAC;AAE1D;;GAEG;AACH,cAAc,sDAAsD,CAAC;AACrE,cAAc,8CAA8C,CAAC;AAC7D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,mDAAmD,CAAC;AAClE,cAAc,uDAAuD,CAAC;AACtE,cAAc,yDAAyD,CAAC;AACxE,cAAc,iDAAiD,CAAC;AAChE,cAAc,qDAAqD,CAAC;AACpE,cAAc,8CAA8C,CAAC;AAE7D,wBAAwB;AACxB,OAAO,EACL,iBAAiB,GAElB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAkB,iBAAiB,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,111 +1,111 @@
1
1
  {
2
- "name": "@ganpatiinfo/gids-react-web",
3
- "version": "5.0.0",
4
- "private": false,
5
- "description": "This package is react web package with all components",
6
- "homepage": "https://ganpatiinfosystem.vercel.app/",
7
- "type": "module",
8
- "sideEffects": false,
9
- "scripts": {
10
- "clean": "del-cli dist/** storybook-static/**",
11
- "build": "tsc",
12
- "postbuild": "node ./post-install.js",
13
- "test": "NODE_OPTIONS='--experimental-vm-modules' jest --coverage",
14
- "test:local": "NODE_OPTIONS='--experimental-vm-modules' jest --watch",
15
- "watch": "tsc --watch",
16
- "storybook": "storybook dev -p 6006",
17
- "build-site": "storybook build -o ../../site/public/workshop/react-web/",
18
- "size": "size-limit",
19
- "release:manually": "npm run build && npm publish --access public",
20
- "postinstall": "node ./post-install.js"
21
- },
22
- "files": [
23
- "dist/",
24
- "post-install.js"
25
- ],
26
- "exports": {
27
- "./index.css": {
28
- "style": "./dist/css/index.css",
29
- "default": "./dist/css/index.css"
30
- },
31
- "./elements.css": {
32
- "style": "./dist/css/elements.css",
33
- "default": "./dist/css/elements.css"
34
- },
35
- ".": {
36
- "style": "./dist/index.d.ts",
37
- "default": "./dist/index.js"
38
- }
39
- },
40
- "peerDependencies": {
41
- "@ganpatiinfo/gids-web-theme-interface": "3.1.0",
42
- "react": "^18.2.0 || ^19.0.0",
43
- "react-dom": "^18.2.0 || ^19.0.0"
44
- },
45
- "dependencies": {
46
- "@ganpatiinfo/gids-core-shared": "^4.0.0",
47
- "@ganpatiinfo/gids-core-web": "^4.0.0",
48
- "@ganpatiinfo/gids-web-shared": "^4.0.0",
49
- "@stencil/react-output-target": "^1.4.2"
50
- },
51
- "devDependencies": {
52
- "@fontsource/inter": "^5.2.8",
53
- "@fontsource/libre-caslon-text": "^5.2.7",
54
- "@ganpatiinfo/gids-storybook-theme": "^5.0.0",
55
- "@ganpatiinfo/gids-storybook-utilities": "^3.0.0",
56
- "@ganpatiinfo/gids-web-dom-reference": "^4.0.0",
57
- "@ganpatiinfo/gids-web-theme-ganpatiinfo": "^4.0.0",
58
- "@jest/globals": "^30.2.0",
59
- "@storybook/addon-a11y": "^10.2.17",
60
- "@storybook/addon-docs": "^10.2.17",
61
- "@storybook/addon-links": "^10.2.17",
62
- "@storybook/react-vite": "^10.1.3",
63
- "@testing-library/jest-dom": "^6.9.1",
64
- "@testing-library/react": "^16.3.2",
65
- "jest": "^30.3.0",
66
- "jest-environment-jsdom": "^30.3.0",
67
- "react": "19.2.0",
68
- "react-dom": "19.2.0",
69
- "storybook": "^10.2.17",
70
- "storybook-addon-tag-badges": "^3.0.6",
71
- "ts-jest": "^29.4.6"
72
- },
73
- "author": {
74
- "name": "Ganpatiinfo Design System",
75
- "email": "ganpatiinfosysystem0@gmail.com",
76
- "url": "https://ganpatiinfosystem.vercel.app/"
77
- },
78
- "license": "MIT",
79
- "repository": {
80
- "type": "git",
81
- "url": "https://github.com/ganpatiinfosystem/ganpatiinfo-design-system",
82
- "directory": "packages/react-web"
83
- },
84
- "nx": {
85
- "targets": {
86
- "build-site": {
87
- "dependsOn": [
88
- {
89
- "target": "build-site",
90
- "projects": [
91
- "@ganpatiinfo/gids-website"
92
- ]
93
- }
94
- ],
95
- "outputs": [
96
- "{workspaceRoot}/site/dist/workshop/react-web/"
97
- ]
98
- }
99
- }
100
- },
101
- "size-limit": [
102
- {
103
- "name": "JavaScript (GIDS dependencies)",
104
- "path": "dist/index.js",
105
- "ignore": [
106
- "@ganpatiinfo/gids-core-shared",
107
- "@ganpatiinfo/gids-web-shared"
108
- ]
109
- }
110
- ]
2
+ "name": "@ganpatiinfo/gids-react-web",
3
+ "version": "7.0.0",
4
+ "private": false,
5
+ "description": "This package is react web package with all components",
6
+ "homepage": "https://ganpatiinfosystem.vercel.app/",
7
+ "type": "module",
8
+ "sideEffects": false,
9
+ "scripts": {
10
+ "clean": "del-cli dist/** storybook-static/**",
11
+ "build": "tsc",
12
+ "postbuild": "node ./post-install.js",
13
+ "test": "NODE_OPTIONS='--experimental-vm-modules' jest --coverage",
14
+ "test:local": "NODE_OPTIONS='--experimental-vm-modules' jest --watch",
15
+ "watch": "tsc --watch",
16
+ "storybook": "storybook dev -p 6006",
17
+ "build-site": "storybook build -o ../../site/public/workshop/react-web/",
18
+ "size": "size-limit",
19
+ "release:manually": "npm run build && npm publish --access public",
20
+ "postinstall": "node ./post-install.js"
21
+ },
22
+ "files": [
23
+ "dist/",
24
+ "post-install.js"
25
+ ],
26
+ "exports": {
27
+ "./index.css": {
28
+ "style": "./dist/css/index.css",
29
+ "default": "./dist/css/index.css"
30
+ },
31
+ "./elements.css": {
32
+ "style": "./dist/css/elements.css",
33
+ "default": "./dist/css/elements.css"
34
+ },
35
+ ".": {
36
+ "style": "./dist/index.d.ts",
37
+ "default": "./dist/index.js"
38
+ }
39
+ },
40
+ "peerDependencies": {
41
+ "@ganpatiinfo/gids-web-theme-interface": "3.1.0",
42
+ "react": "^18.2.0 || ^19.0.0",
43
+ "react-dom": "^18.2.0 || ^19.0.0"
44
+ },
45
+ "dependencies": {
46
+ "@ganpatiinfo/gids-core-shared": "^6.0.0",
47
+ "@ganpatiinfo/gids-core-web": "^6.0.0",
48
+ "@ganpatiinfo/gids-web-shared": "^6.0.0",
49
+ "@stencil/react-output-target": "^1.4.2"
50
+ },
51
+ "devDependencies": {
52
+ "@fontsource/inter": "^5.2.8",
53
+ "@fontsource/libre-caslon-text": "^5.2.7",
54
+ "@ganpatiinfo/gids-storybook-theme": "^5.0.0",
55
+ "@ganpatiinfo/gids-storybook-utilities": "^3.0.0",
56
+ "@ganpatiinfo/gids-web-dom-reference": "^6.0.0",
57
+ "@ganpatiinfo/gids-web-theme-ganpatiinfo": "^4.0.0",
58
+ "@jest/globals": "^30.2.0",
59
+ "@storybook/addon-a11y": "^10.2.17",
60
+ "@storybook/addon-docs": "^10.2.17",
61
+ "@storybook/addon-links": "^10.2.17",
62
+ "@storybook/react-vite": "^10.1.3",
63
+ "@testing-library/jest-dom": "^6.9.1",
64
+ "@testing-library/react": "^16.3.2",
65
+ "jest": "^30.3.0",
66
+ "jest-environment-jsdom": "^30.3.0",
67
+ "react": "19.2.0",
68
+ "react-dom": "19.2.0",
69
+ "storybook": "^10.2.17",
70
+ "storybook-addon-tag-badges": "^3.0.6",
71
+ "ts-jest": "^29.4.6"
72
+ },
73
+ "author": {
74
+ "name": "Ganpatiinfo Design System",
75
+ "email": "ganpatiinfosysystem0@gmail.com",
76
+ "url": "https://ganpatiinfosystem.vercel.app/"
77
+ },
78
+ "license": "MIT",
79
+ "repository": {
80
+ "type": "git",
81
+ "url": "https://github.com/ganpatiinfosystem/ganpatiinfo-design-system",
82
+ "directory": "packages/react-web"
83
+ },
84
+ "nx": {
85
+ "targets": {
86
+ "build-site": {
87
+ "dependsOn": [
88
+ {
89
+ "target": "build-site",
90
+ "projects": [
91
+ "@ganpatiinfo/gids-website"
92
+ ]
93
+ }
94
+ ],
95
+ "outputs": [
96
+ "{workspaceRoot}/site/dist/workshop/react-web/"
97
+ ]
98
+ }
99
+ }
100
+ },
101
+ "size-limit": [
102
+ {
103
+ "name": "JavaScript (GIDS dependencies)",
104
+ "path": "dist/index.js",
105
+ "ignore": [
106
+ "@ganpatiinfo/gids-core-shared",
107
+ "@ganpatiinfo/gids-web-shared"
108
+ ]
109
+ }
110
+ ]
111
111
  }