@ganpatiinfo/gids-web-dom-reference 2.0.9 → 2.1.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 (30) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/components/GidsBox/GidsBox.d.ts +6 -0
  3. package/dist/components/GidsBox/GidsBox.d.ts.map +1 -0
  4. package/dist/components/GidsBox/GidsBox.js +14 -0
  5. package/dist/components/GidsBox/GidsBox.js.map +1 -0
  6. package/dist/components/GidsBreadcrumb/GidsBreadcrumb.d.ts +8 -0
  7. package/dist/components/GidsBreadcrumb/GidsBreadcrumb.d.ts.map +1 -0
  8. package/dist/components/GidsBreadcrumb/GidsBreadcrumb.js +15 -0
  9. package/dist/components/GidsBreadcrumb/GidsBreadcrumb.js.map +1 -0
  10. package/dist/components/GidsBreadcrumbItem/GidsBreadcrumbItem.d.ts +10 -0
  11. package/dist/components/GidsBreadcrumbItem/GidsBreadcrumbItem.d.ts.map +1 -0
  12. package/dist/components/GidsBreadcrumbItem/GidsBreadcrumbItem.js +45 -0
  13. package/dist/components/GidsBreadcrumbItem/GidsBreadcrumbItem.js.map +1 -0
  14. package/dist/components/GidsButton/GidsButton.js +1 -1
  15. package/dist/components/GidsButton/GidsButton.js.map +1 -1
  16. package/dist/components/GidsContainer/GidsContainer.d.ts +7 -0
  17. package/dist/components/GidsContainer/GidsContainer.d.ts.map +1 -0
  18. package/dist/components/GidsContainer/GidsContainer.js +12 -0
  19. package/dist/components/GidsContainer/GidsContainer.js.map +1 -0
  20. package/dist/index.d.ts +4 -0
  21. package/dist/index.d.ts.map +1 -1
  22. package/dist/index.js +4 -0
  23. package/dist/index.js.map +1 -1
  24. package/package.json +3 -3
  25. package/src/components/GidsBox/GidsBox.ts +34 -0
  26. package/src/components/GidsBreadcrumb/GidsBreadcrumb.ts +31 -0
  27. package/src/components/GidsBreadcrumbItem/GidsBreadcrumbItem.ts +94 -0
  28. package/src/components/GidsButton/GidsButton.ts +4 -4
  29. package/src/components/GidsContainer/GidsContainer.ts +32 -0
  30. package/src/index.ts +4 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @ganpatiinfo/gids-web-dom-reference
2
2
 
3
+ ## 2.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Added layout components
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies
12
+ - Updated dependencies
13
+ - @ganpatiinfo/gids-core-shared@2.1.0
14
+ - @ganpatiinfo/gids-web-shared@2.1.0
15
+
3
16
  ## 2.0.9
4
17
 
5
18
  ### Patch Changes
@@ -0,0 +1,6 @@
1
+ import { type ClassValue, type GidsBoxWebProps, PermittedGidsBoxElements } from '@ganpatiinfo/gids-web-shared';
2
+ export type GidsBoxDomProps<ComponentType extends PermittedGidsBoxElements> = GidsBoxWebProps<Element, ComponentType> & {
3
+ className?: ClassValue;
4
+ };
5
+ export declare const GidsBoxDom: <ComponentType extends PermittedGidsBoxElements = "div">({ children, component, className, }: GidsBoxDomProps<ComponentType>) => HTMLElement;
6
+ //# sourceMappingURL=GidsBox.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GidsBox.d.ts","sourceRoot":"","sources":["../../../src/components/GidsBox/GidsBox.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,UAAU,EACf,KAAK,eAAe,EAEpB,wBAAwB,EACxB,MAAM,8BAA8B,CAAC;AAKtC,MAAM,MAAM,eAAe,CAAC,aAAa,SAAS,wBAAwB,IACzE,eAAe,CAAC,OAAO,EAAE,aAAa,CAAC,GAAG;IACzC,SAAS,CAAC,EAAE,UAAU,CAAC;CACvB,CAAC;AAEH,eAAO,MAAM,UAAU,GACtB,aAAa,SAAS,wBAAwB,GAAG,KAAK,EACrD,qCAIC,eAAe,CAAC,aAAa,CAAC,KAAG,WAYnC,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { GidsBoxWebUtils, } from '@ganpatiinfo/gids-web-shared';
2
+ import { appendAsChildren } from '../../utils/domUtils.js';
3
+ const { getGidsBoxClassNames } = GidsBoxWebUtils;
4
+ export const GidsBoxDom = ({ children, component, className, }) => {
5
+ const box = document.createElement(
6
+ //@ts-expect-error: ex
7
+ component && component !== '' ? component : 'div');
8
+ box.className = getGidsBoxClassNames(className);
9
+ if (children) {
10
+ appendAsChildren(box, children);
11
+ }
12
+ return box;
13
+ };
14
+ //# sourceMappingURL=GidsBox.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GidsBox.js","sourceRoot":"","sources":["../../../src/components/GidsBox/GidsBox.ts"],"names":[],"mappings":"AAAA,OAAO,EAGN,eAAe,GAEf,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAE3D,MAAM,EAAE,oBAAoB,EAAE,GAAG,eAAe,CAAC;AAOjD,MAAM,CAAC,MAAM,UAAU,GAAG,CAExB,EACD,QAAQ,EACR,SAAS,EACT,SAAS,GACuB,EAAe,EAAE;IACjD,MAAM,GAAG,GAAG,QAAQ,CAAC,aAAa;IACjC,sBAAsB;IACtB,SAAS,IAAI,SAAS,KAAK,EAAE,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,CAClC,CAAC;IACjB,GAAG,CAAC,SAAS,GAAG,oBAAoB,CAAC,SAAS,CAAC,CAAC;IAEhD,IAAI,QAAQ,EAAE,CAAC;QACd,gBAAgB,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC;IACjC,CAAC;IAED,OAAO,GAAG,CAAC;AACZ,CAAC,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { type ClassValue } from '@ganpatiinfo/gids-web-shared';
2
+ import { type DomChildren } from '../../utils/domUtils.js';
3
+ import { type GidsBreadcrumbCommonProps } from '@ganpatiinfo/gids-core-shared';
4
+ export interface GidsBreadcrumbDomProps extends GidsBreadcrumbCommonProps<DomChildren> {
5
+ extraClasses?: ClassValue;
6
+ }
7
+ export declare const GidsBreadcrumbDom: ({ children, extraClasses, }: GidsBreadcrumbDomProps) => HTMLElement;
8
+ //# sourceMappingURL=GidsBreadcrumb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GidsBreadcrumb.d.ts","sourceRoot":"","sources":["../../../src/components/GidsBreadcrumb/GidsBreadcrumb.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,UAAU,EAEf,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAoB,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC7E,OAAO,EAAE,KAAK,yBAAyB,EAAE,MAAM,+BAA+B,CAAC;AAI/E,MAAM,WAAW,sBAChB,SAAQ,yBAAyB,CAAC,WAAW,CAAC;IAC9C,YAAY,CAAC,EAAE,UAAU,CAAC;CAC1B;AAED,eAAO,MAAM,iBAAiB,GAAI,6BAG/B,sBAAsB,KAAG,WAa3B,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { GidsBreadcrumbWebUtils, } from '@ganpatiinfo/gids-web-shared';
2
+ import { appendAsChildren } from '../../utils/domUtils.js';
3
+ const { getGidsBreadcrumbClassNames } = GidsBreadcrumbWebUtils;
4
+ export const GidsBreadcrumbDom = ({ children, extraClasses, }) => {
5
+ const breadcrumb = document.createElement('nav');
6
+ breadcrumb.className = getGidsBreadcrumbClassNames(extraClasses);
7
+ breadcrumb.setAttribute('aria-label', 'Breadcrumb');
8
+ if (children) {
9
+ const orderedList = document.createElement('ol');
10
+ appendAsChildren(orderedList, children);
11
+ breadcrumb.appendChild(orderedList);
12
+ }
13
+ return breadcrumb;
14
+ };
15
+ //# sourceMappingURL=GidsBreadcrumb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GidsBreadcrumb.js","sourceRoot":"","sources":["../../../src/components/GidsBreadcrumb/GidsBreadcrumb.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,sBAAsB,GACtB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,gBAAgB,EAAoB,MAAM,yBAAyB,CAAC;AAG7E,MAAM,EAAE,2BAA2B,EAAE,GAAG,sBAAsB,CAAC;AAO/D,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,EACjC,QAAQ,EACR,YAAY,GACY,EAAe,EAAE;IACzC,MAAM,UAAU,GAAG,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;IACjD,UAAU,CAAC,SAAS,GAAG,2BAA2B,CAAC,YAAY,CAAC,CAAC;IAEjE,UAAU,CAAC,YAAY,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC;IAEpD,IAAI,QAAQ,EAAE,CAAC;QACd,MAAM,WAAW,GAAG,QAAQ,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;QACjD,gBAAgB,CAAC,WAAW,EAAE,QAAQ,CAAC,CAAC;QACxC,UAAU,CAAC,WAAW,CAAC,WAAW,CAAC,CAAC;IACrC,CAAC;IAED,OAAO,UAAU,CAAC;AACnB,CAAC,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { type GidsBreadcrumbItemCommonProps } from '@ganpatiinfo/gids-core-shared';
2
+ import { type ClassValue } from '@ganpatiinfo/gids-web-shared';
3
+ import { type DomNodeOrString } from '../../utils/domUtils.js';
4
+ export interface GidsBreadcrumbItemDomProps extends GidsBreadcrumbItemCommonProps<DomNodeOrString, DomNodeOrString, DomNodeOrString> {
5
+ className?: ClassValue;
6
+ href?: DomNodeOrString;
7
+ onClick?: (this: HTMLAnchorElement, event: Event) => void;
8
+ }
9
+ export declare const GidsBreadcrumbItemDom: ({ children, selected, leadingIcon, href, onClick, className, separator, isSeparatorVisible, renderingSystem, currentIndex, totalLength, }: GidsBreadcrumbItemDomProps) => HTMLLIElement;
10
+ //# sourceMappingURL=GidsBreadcrumbItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GidsBreadcrumbItem.d.ts","sourceRoot":"","sources":["../../../src/components/GidsBreadcrumbItem/GidsBreadcrumbItem.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,6BAA6B,EAAE,MAAM,+BAA+B,CAAC;AACnF,OAAO,EACN,KAAK,UAAU,EAEf,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAEN,KAAK,eAAe,EACpB,MAAM,yBAAyB,CAAC;AAMjC,MAAM,WAAW,0BAChB,SAAQ,6BAA6B,CACpC,eAAe,EACf,eAAe,EACf,eAAe,CACf;IACD,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,iBAAiB,EAAE,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;CAC1D;AAED,eAAO,MAAM,qBAAqB,GAAI,2IAYnC,0BAA0B,KAAG,aAwD/B,CAAC"}
@@ -0,0 +1,45 @@
1
+ import { GidsBreadcrumbItemWebUtils, } from '@ganpatiinfo/gids-web-shared';
2
+ import { appendAsChildren, } from '../../utils/domUtils.js';
3
+ import { GidsIconDom } from '../GidsIcon/GidsIcon.js';
4
+ const { getGidsBreadcrumbItemClassNames } = GidsBreadcrumbItemWebUtils;
5
+ export const GidsBreadcrumbItemDom = ({ children, selected, leadingIcon, href, onClick, className, separator, isSeparatorVisible = true, renderingSystem = 'non-array', currentIndex = 0, totalLength = 0, }) => {
6
+ const breadcrumbItem = document.createElement('li');
7
+ breadcrumbItem.className = getGidsBreadcrumbItemClassNames({ selected }, className);
8
+ const breadcrumbAnchorItem = document.createElement('a');
9
+ breadcrumbAnchorItem.className = `gids-breadcrumb-item__anchor-label`;
10
+ if (href) {
11
+ breadcrumbAnchorItem.setAttribute('href', href);
12
+ }
13
+ if (leadingIcon && leadingIcon !== '' && leadingIcon !== '(none)') {
14
+ breadcrumbAnchorItem.appendChild(GidsIconDom({
15
+ name: leadingIcon,
16
+ appearance: 'regular',
17
+ alt: '',
18
+ size: 'md',
19
+ className: 'gids-breadcrumb-item__leading-icon',
20
+ }));
21
+ }
22
+ if (children) {
23
+ appendAsChildren(breadcrumbAnchorItem, children);
24
+ }
25
+ breadcrumbItem.appendChild(breadcrumbAnchorItem);
26
+ if (isSeparatorVisible) {
27
+ if ((renderingSystem === 'array' && currentIndex < totalLength - 1) ||
28
+ renderingSystem === 'non-array') {
29
+ breadcrumbItem.appendChild(GidsIconDom({
30
+ name: separator && separator !== '' && separator !== '(none)'
31
+ ? separator
32
+ : 'chevron-right',
33
+ appearance: 'filled',
34
+ alt: '',
35
+ size: 'md',
36
+ className: 'gids-breadcrumb-item__separator-icon',
37
+ }));
38
+ }
39
+ }
40
+ if (onClick) {
41
+ breadcrumbItem.addEventListener('click', onClick);
42
+ }
43
+ return breadcrumbItem;
44
+ };
45
+ //# sourceMappingURL=GidsBreadcrumbItem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GidsBreadcrumbItem.js","sourceRoot":"","sources":["../../../src/components/GidsBreadcrumbItem/GidsBreadcrumbItem.ts"],"names":[],"mappings":"AACA,OAAO,EAEN,0BAA0B,GAC1B,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACN,gBAAgB,GAEhB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAGtD,MAAM,EAAE,+BAA+B,EAAE,GAAG,0BAA0B,CAAC;AAavE,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,EACrC,QAAQ,EACR,QAAQ,EACR,WAAW,EACX,IAAI,EACJ,OAAO,EACP,SAAS,EACT,SAAS,EACT,kBAAkB,GAAG,IAAI,EACzB,eAAe,GAAG,WAAW,EAC7B,YAAY,GAAG,CAAC,EAChB,WAAW,GAAG,CAAC,GACa,EAAiB,EAAE;IAC/C,MAAM,cAAc,GAAG,QAAQ,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;IACpD,cAAc,CAAC,SAAS,GAAG,+BAA+B,CACzD,EAAE,QAAQ,EAAE,EACZ,SAAS,CACT,CAAC;IACF,MAAM,oBAAoB,GAAG,QAAQ,CAAC,aAAa,CAAC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Dom = ({ as, appearance, size, disabled, destructive, loa
28
28
  if (loading) {
29
29
  button.appendChild(GidsSpinnerControlDom({
30
30
  size: size === 'lg' || size === undefined ? 'md' : size,
31
- indeterminate: true
31
+ indeterminate: true,
32
32
  }));
33
33
  }
34
34
  if (onClick && !loading) {
@@ -1 +1 @@
1
- {"version":3,"file":"GidsButton.js","sourceRoot":"","sources":["../../../src/components/GidsButton/GidsButton.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,kBAAkB,EAClB,QAAQ,GAGR,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,qBAAqB,EAAE,MAAM,8CAA8C,CAAC;AACrF,OAAO,EAAE,gBAAgB,EAAoB,MAAM,yBAAyB,CAAC;AAE7E,MAAM,EAAE,uBAAuB,EAAE,GAAG,kBAAkB,CAAC;AAUvD,MAAM,CAAC,MAAM,aAAa,GAAG,CAE3B,EACD,EAAE,EACF,UAAU,EACV,IAAI,EACJ,QAAQ,EACR,WAAW,EACX,OAAO,EACP,KAAK,EACL,QAAQ,EACR,WAAW,EACX,YAAY,EACZ,IAAI,EACJ,IAAI,EACJ,OAAO,GAC4B,EAEf,EAAE;IACtB,MAAM,MAAM,GAAG,QAAQ,CAAC,aAAa,CACpC,EAAE,IAAI,QAAQ,CAC4D,CAAC;IAE5E,MAAM,CAAC,SAAS,GAAG,uBAAuB,CACzC,EAAE,UAAU,EAAE,IAAI,EAAE,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE,EACjD,CAAC,QAAQ,IAAI,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,QAAQ,CAAC,YAAY,CAAC,CAC7D,CAAC;IAEF,IAAI,EAAE,KAAK,GAAG,EAAE,CAAC;QAChB,MAAM,CAAC,YAAY,CAAC,MAAM,EAAE,IAAI,IAAI,QAAQ,CAAC,CAAC;QAE9C,IAAI,QAAQ,EAAE,CAAC;YACd,MAAM,CAAC,YAAY,CAAC,UAAU,EAAE,EAAE,CAAC,CAAC;QACrC,CAAC;aAAM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AQ,CAAC,CAAC;IAEpC,MAAM,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;IAE5B,gBAAgB,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;IAEvC,IAAI,OAAO,EAAE,CAAC;QACb,MAAM,CAAC,WAAW,CACjB,qBAAqB,CAAC;YACrB,IAAI,EAAE,IAAI,KAAK,IAAI,IAAI,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI;YACvD,aAAa,EAAE,IAAI;SACnB,CAAC,CACF,CAAC;IACH,CAAC;IAED,IAAI,OAAO,IAAI,CAAC,OAAO,EAAE,CAAC;QACzB,MAAM,CAAC,gBAAgB,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAC3C,CAAC;IAED,OAAO,MAAM,CAAC;AACf,CAAC,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { type ClassValue, type GidsContainerWebProps } from '@ganpatiinfo/gids-web-shared';
2
+ import { type DomChildren } from '../../utils/domUtils.js';
3
+ export interface GidsContainerDomProps extends GidsContainerWebProps<DomChildren> {
4
+ className?: ClassValue;
5
+ }
6
+ export declare const GidsContainerDom: ({ children, fixed, maxWidth, className, }: GidsContainerDomProps) => HTMLDivElement;
7
+ //# sourceMappingURL=GidsContainer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GidsContainer.d.ts","sourceRoot":"","sources":["../../../src/components/GidsContainer/GidsContainer.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,UAAU,EACf,KAAK,qBAAqB,EAE1B,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAoB,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAI7E,MAAM,WAAW,qBAChB,SAAQ,qBAAqB,CAAC,WAAW,CAAC;IAC1C,SAAS,CAAC,EAAE,UAAU,CAAC;CACvB;AAED,eAAO,MAAM,gBAAgB,GAAI,2CAK9B,qBAAqB,KAAG,cAY1B,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { GidsContainerWebUtils, } from '@ganpatiinfo/gids-web-shared';
2
+ import { appendAsChildren } from '../../utils/domUtils.js';
3
+ const { getGidsContainerClassNames } = GidsContainerWebUtils;
4
+ export const GidsContainerDom = ({ children, fixed = false, maxWidth = 'lg', className, }) => {
5
+ const container = document.createElement('div');
6
+ container.className = getGidsContainerClassNames({ fixed, maxWidth }, className);
7
+ if (children) {
8
+ appendAsChildren(container, children);
9
+ }
10
+ return container;
11
+ };
12
+ //# sourceMappingURL=GidsContainer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GidsContainer.js","sourceRoot":"","sources":["../../../src/components/GidsContainer/GidsContainer.ts"],"names":[],"mappings":"AAAA,OAAO,EAGN,qBAAqB,GACrB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,gBAAgB,EAAoB,MAAM,yBAAyB,CAAC;AAE7E,MAAM,EAAE,0BAA0B,EAAE,GAAG,qBAAqB,CAAC;AAO7D,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,EAChC,QAAQ,EACR,KAAK,GAAG,KAAK,EACb,QAAQ,GAAG,IAAI,EACf,SAAS,GACc,EAAkB,EAAE;IAC3C,MAAM,SAAS,GAAG,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;IAChD,SAAS,CAAC,SAAS,GAAG,0BAA0B,CAC/C,EAAE,KAAK,EAAE,QAAQ,EAAE,EACnB,SAAS,CACT,CAAC;IAEF,IAAI,QAAQ,EAAE,CAAC;QACd,gBAAgB,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC;IACvC,CAAC;IAED,OAAO,SAAS,CAAC;AAClB,CAAC,CAAC"}
package/dist/index.d.ts CHANGED
@@ -30,6 +30,10 @@ export * from './components/GidsButtonGroup/GidsButtonGroup.js';
30
30
  export * from './components/GidsButtonDock/GidsButtonDock.js';
31
31
  export * from './components/GidsSectionNotice/GidsSectionNotice.js';
32
32
  export * from './components/GidsCompoundButton/GidsCompoundButton.js';
33
+ export * from './components/GidsBox/GidsBox.js';
34
+ export * from './components/GidsContainer/GidsContainer.js';
35
+ export * from './components/GidsBreadcrumbItem/GidsBreadcrumbItem.js';
36
+ export * from './components/GidsBreadcrumb/GidsBreadcrumb.js';
33
37
  /**
34
38
  * Utilities
35
39
  */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,cAAc,uCAAuC,CAAC;AACtD,cAAc,yCAAyC,CAAC;AACxD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,mCAAmC,CAAC;AAClD,cAAc,uDAAuD,CAAC;AACtE,cAAc,qCAAqC,CAAC;AACpD,cAAc,mCAAmC,CAAC;AAClD,cAAc,wDAAwD,CAAC;AACvE,cAAc,yCAAyC,CAAC;AACxD,cAAc,mDAAmD,CAAC;AAClE,cAAc,0DAA0D,CAAC;AACzE,cAAc,oDAAoD,CAAC;AACnE,cAAc,sDAAsD,CAAC;AACrE,cAAc,2CAA2C,CAAC;AAC1D,cAAc,qCAAqC,CAAC;AACpD,cAAc,uCAAuC,CAAC;AACtD,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,qEAAqE,CAAC;AACpF,cAAc,2CAA2C,CAAC;AAC1D,cAAc,iDAAiD,CAAC;AAChE,cAAc,+CAA+C,CAAC;AAC9D,cAAc,qDAAqD,CAAC;AACpE,cAAc,uDAAuD,CAAC;AAEtE;;GAEG;AACH,cAAc,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,cAAc,uCAAuC,CAAC;AACtD,cAAc,yCAAyC,CAAC;AACxD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,mCAAmC,CAAC;AAClD,cAAc,uDAAuD,CAAC;AACtE,cAAc,qCAAqC,CAAC;AACpD,cAAc,mCAAmC,CAAC;AAClD,cAAc,wDAAwD,CAAC;AACvE,cAAc,yCAAyC,CAAC;AACxD,cAAc,mDAAmD,CAAC;AAClE,cAAc,0DAA0D,CAAC;AACzE,cAAc,oDAAoD,CAAC;AACnE,cAAc,sDAAsD,CAAC;AACrE,cAAc,2CAA2C,CAAC;AAC1D,cAAc,qCAAqC,CAAC;AACpD,cAAc,uCAAuC,CAAC;AACtD,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,qEAAqE,CAAC;AACpF,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;AAE9D;;GAEG;AACH,cAAc,qBAAqB,CAAC"}
package/dist/index.js CHANGED
@@ -30,6 +30,10 @@ export * from './components/GidsButtonGroup/GidsButtonGroup.js';
30
30
  export * from './components/GidsButtonDock/GidsButtonDock.js';
31
31
  export * from './components/GidsSectionNotice/GidsSectionNotice.js';
32
32
  export * from './components/GidsCompoundButton/GidsCompoundButton.js';
33
+ export * from './components/GidsBox/GidsBox.js';
34
+ export * from './components/GidsContainer/GidsContainer.js';
35
+ export * from './components/GidsBreadcrumbItem/GidsBreadcrumbItem.js';
36
+ export * from './components/GidsBreadcrumb/GidsBreadcrumb.js';
33
37
  /**
34
38
  * Utilities
35
39
  */
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,cAAc,uCAAuC,CAAC;AACtD,cAAc,yCAAyC,CAAC;AACxD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,mCAAmC,CAAC;AAClD,cAAc,uDAAuD,CAAC;AACtE,cAAc,qCAAqC,CAAC;AACpD,cAAc,mCAAmC,CAAC;AAClD,cAAc,wDAAwD,CAAC;AACvE,cAAc,yCAAyC,CAAC;AACxD,cAAc,mDAAmD,CAAC;AAClE,cAAc,0DAA0D,CAAC;AACzE,cAAc,oDAAoD,CAAC;AACnE,cAAc,sDAAsD,CAAC;AACrE,cAAc,2CAA2C,CAAC;AAC1D,cAAc,qCAAqC,CAAC;AACpD,cAAc,uCAAuC,CAAC;AACtD,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,qEAAqE,CAAC;AACpF,cAAc,2CAA2C,CAAC;AAC1D,cAAc,iDAAiD,CAAC;AAChE,cAAc,+CAA+C,CAAC;AAC9D,cAAc,qDAAqD,CAAC;AACpE,cAAc,uDAAuD,CAAC;AAEtE;;GAEG;AACH,cAAc,qBAAqB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,cAAc,uCAAuC,CAAC;AACtD,cAAc,yCAAyC,CAAC;AACxD,cAAc,+CAA+C,CAAC;AAC9D,cAAc,mCAAmC,CAAC;AAClD,cAAc,uDAAuD,CAAC;AACtE,cAAc,qCAAqC,CAAC;AACpD,cAAc,mCAAmC,CAAC;AAClD,cAAc,wDAAwD,CAAC;AACvE,cAAc,yCAAyC,CAAC;AACxD,cAAc,mDAAmD,CAAC;AAClE,cAAc,0DAA0D,CAAC;AACzE,cAAc,oDAAoD,CAAC;AACnE,cAAc,sDAAsD,CAAC;AACrE,cAAc,2CAA2C,CAAC;AAC1D,cAAc,qCAAqC,CAAC;AACpD,cAAc,uCAAuC,CAAC;AACtD,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,qEAAqE,CAAC;AACpF,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;AAE9D;;GAEG;AACH,cAAc,qBAAqB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ganpatiinfo/gids-web-dom-reference",
3
- "version": "2.0.9",
3
+ "version": "2.1.0",
4
4
  "private": false,
5
5
  "description": "DOM for components reference implementations",
6
6
  "homepage": "https://ganpatiinfosystem.vercel.app/",
@@ -24,8 +24,8 @@
24
24
  "directory": "packages/private/web-dom-reference"
25
25
  },
26
26
  "dependencies": {
27
- "@ganpatiinfo/gids-core-shared": "2.0.9",
28
- "@ganpatiinfo/gids-web-shared": "2.0.9"
27
+ "@ganpatiinfo/gids-core-shared": "2.1.0",
28
+ "@ganpatiinfo/gids-web-shared": "2.1.0"
29
29
  },
30
30
  "peerDependencies": {
31
31
  "@ganpatiinfo/gids-web-theme-interface": "2.0.7",
@@ -0,0 +1,34 @@
1
+ import {
2
+ type ClassValue,
3
+ type GidsBoxWebProps,
4
+ GidsBoxWebUtils,
5
+ PermittedGidsBoxElements,
6
+ } from '@ganpatiinfo/gids-web-shared';
7
+ import { appendAsChildren } from '../../utils/domUtils.js';
8
+
9
+ const { getGidsBoxClassNames } = GidsBoxWebUtils;
10
+
11
+ export type GidsBoxDomProps<ComponentType extends PermittedGidsBoxElements> =
12
+ GidsBoxWebProps<Element, ComponentType> & {
13
+ className?: ClassValue;
14
+ };
15
+
16
+ export const GidsBoxDom = <
17
+ ComponentType extends PermittedGidsBoxElements = 'div',
18
+ >({
19
+ children,
20
+ component,
21
+ className,
22
+ }: GidsBoxDomProps<ComponentType>): HTMLElement => {
23
+ const box = document.createElement(
24
+ //@ts-expect-error: ex
25
+ component && component !== '' ? component : 'div',
26
+ ) as HTMLElement;
27
+ box.className = getGidsBoxClassNames(className);
28
+
29
+ if (children) {
30
+ appendAsChildren(box, children);
31
+ }
32
+
33
+ return box;
34
+ };
@@ -0,0 +1,31 @@
1
+ import {
2
+ type ClassValue,
3
+ GidsBreadcrumbWebUtils,
4
+ } from '@ganpatiinfo/gids-web-shared';
5
+ import { appendAsChildren, type DomChildren } from '../../utils/domUtils.js';
6
+ import { type GidsBreadcrumbCommonProps } from '@ganpatiinfo/gids-core-shared';
7
+
8
+ const { getGidsBreadcrumbClassNames } = GidsBreadcrumbWebUtils;
9
+
10
+ export interface GidsBreadcrumbDomProps
11
+ extends GidsBreadcrumbCommonProps<DomChildren> {
12
+ extraClasses?: ClassValue;
13
+ }
14
+
15
+ export const GidsBreadcrumbDom = ({
16
+ children,
17
+ extraClasses,
18
+ }: GidsBreadcrumbDomProps): HTMLElement => {
19
+ const breadcrumb = document.createElement('nav');
20
+ breadcrumb.className = getGidsBreadcrumbClassNames(extraClasses);
21
+
22
+ breadcrumb.setAttribute('aria-label', 'Breadcrumb');
23
+
24
+ if (children) {
25
+ const orderedList = document.createElement('ol');
26
+ appendAsChildren(orderedList, children);
27
+ breadcrumb.appendChild(orderedList);
28
+ }
29
+
30
+ return breadcrumb;
31
+ };
@@ -0,0 +1,94 @@
1
+ import { type GidsBreadcrumbItemCommonProps } from '@ganpatiinfo/gids-core-shared';
2
+ import {
3
+ type ClassValue,
4
+ GidsBreadcrumbItemWebUtils,
5
+ } from '@ganpatiinfo/gids-web-shared';
6
+ import {
7
+ appendAsChildren,
8
+ type DomNodeOrString,
9
+ } from '../../utils/domUtils.js';
10
+ import { GidsIconDom } from '../GidsIcon/GidsIcon.js';
11
+ import { IconName } from '@ganpatiinfo/gids-web-theme-interface';
12
+
13
+ const { getGidsBreadcrumbItemClassNames } = GidsBreadcrumbItemWebUtils;
14
+
15
+ export interface GidsBreadcrumbItemDomProps
16
+ extends GidsBreadcrumbItemCommonProps<
17
+ DomNodeOrString,
18
+ DomNodeOrString,
19
+ DomNodeOrString
20
+ > {
21
+ className?: ClassValue;
22
+ href?: DomNodeOrString;
23
+ onClick?: (this: HTMLAnchorElement, event: Event) => void;
24
+ }
25
+
26
+ export const GidsBreadcrumbItemDom = ({
27
+ children,
28
+ selected,
29
+ leadingIcon,
30
+ href,
31
+ onClick,
32
+ className,
33
+ separator,
34
+ isSeparatorVisible = true,
35
+ renderingSystem = 'non-array',
36
+ currentIndex = 0,
37
+ totalLength = 0,
38
+ }: GidsBreadcrumbItemDomProps): HTMLLIElement => {
39
+ const breadcrumbItem = document.createElement('li');
40
+ breadcrumbItem.className = getGidsBreadcrumbItemClassNames(
41
+ { selected },
42
+ className,
43
+ );
44
+ const breadcrumbAnchorItem = document.createElement('a');
45
+ breadcrumbAnchorItem.className = `gids-breadcrumb-item__anchor-label`;
46
+
47
+ if (href) {
48
+ breadcrumbAnchorItem.setAttribute('href', href as string);
49
+ }
50
+
51
+ if (leadingIcon && leadingIcon !== '' && leadingIcon !== '(none)') {
52
+ breadcrumbAnchorItem.appendChild(
53
+ GidsIconDom({
54
+ name: leadingIcon as IconName,
55
+ appearance: 'regular',
56
+ alt: '',
57
+ size: 'md',
58
+ className: 'gids-breadcrumb-item__leading-icon',
59
+ }),
60
+ );
61
+ }
62
+
63
+ if (children) {
64
+ appendAsChildren(breadcrumbAnchorItem, children);
65
+ }
66
+
67
+ breadcrumbItem.appendChild(breadcrumbAnchorItem);
68
+
69
+ if (isSeparatorVisible) {
70
+ if (
71
+ (renderingSystem === 'array' && currentIndex < totalLength - 1) ||
72
+ renderingSystem === 'non-array'
73
+ ) {
74
+ breadcrumbItem.appendChild(
75
+ GidsIconDom({
76
+ name:
77
+ separator && separator !== '' && separator !== '(none)'
78
+ ? (separator as IconName)
79
+ : 'chevron-right',
80
+ appearance: 'filled',
81
+ alt: '',
82
+ size: 'md',
83
+ className: 'gids-breadcrumb-item__separator-icon',
84
+ }),
85
+ );
86
+ }
87
+ }
88
+
89
+ if (onClick) {
90
+ breadcrumbItem.addEventListener('click', onClick);
91
+ }
92
+
93
+ return breadcrumbItem;
94
+ };
@@ -76,14 +76,14 @@ export const GidsButtonDom = <
76
76
  button.appendChild(
77
77
  GidsSpinnerControlDom({
78
78
  size: size === 'lg' || size === undefined ? 'md' : size,
79
- indeterminate: true
79
+ indeterminate: true,
80
80
  }),
81
81
  );
82
82
  }
83
83
 
84
- if (onClick && !loading) {
85
- button.addEventListener('click', onClick)
86
- }
84
+ if (onClick && !loading) {
85
+ button.addEventListener('click', onClick);
86
+ }
87
87
 
88
88
  return button;
89
89
  };
@@ -0,0 +1,32 @@
1
+ import {
2
+ type ClassValue,
3
+ type GidsContainerWebProps,
4
+ GidsContainerWebUtils,
5
+ } from '@ganpatiinfo/gids-web-shared';
6
+ import { appendAsChildren, type DomChildren } from '../../utils/domUtils.js';
7
+
8
+ const { getGidsContainerClassNames } = GidsContainerWebUtils;
9
+
10
+ export interface GidsContainerDomProps
11
+ extends GidsContainerWebProps<DomChildren> {
12
+ className?: ClassValue;
13
+ }
14
+
15
+ export const GidsContainerDom = ({
16
+ children,
17
+ fixed = false,
18
+ maxWidth = 'lg',
19
+ className,
20
+ }: GidsContainerDomProps): HTMLDivElement => {
21
+ const container = document.createElement('div');
22
+ container.className = getGidsContainerClassNames(
23
+ { fixed, maxWidth },
24
+ className,
25
+ );
26
+
27
+ if (children) {
28
+ appendAsChildren(container, children);
29
+ }
30
+
31
+ return container;
32
+ };
package/src/index.ts CHANGED
@@ -30,6 +30,10 @@ export * from './components/GidsButtonGroup/GidsButtonGroup.js';
30
30
  export * from './components/GidsButtonDock/GidsButtonDock.js';
31
31
  export * from './components/GidsSectionNotice/GidsSectionNotice.js';
32
32
  export * from './components/GidsCompoundButton/GidsCompoundButton.js';
33
+ export * from './components/GidsBox/GidsBox.js';
34
+ export * from './components/GidsContainer/GidsContainer.js';
35
+ export * from './components/GidsBreadcrumbItem/GidsBreadcrumbItem.js';
36
+ export * from './components/GidsBreadcrumb/GidsBreadcrumb.js';
33
37
 
34
38
  /**
35
39
  * Utilities