@ganpatiinfo/gids-web-dom-reference 8.0.0 → 9.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 (144) hide show
  1. package/CHANGELOG.md +71 -0
  2. package/dist/components/GidsActionBar/GidsActionBar.d.ts +8 -0
  3. package/dist/components/GidsActionBar/GidsActionBar.d.ts.map +1 -0
  4. package/dist/components/GidsActionBar/GidsActionBar.js +29 -0
  5. package/dist/components/GidsActionBar/GidsActionBar.js.map +1 -0
  6. package/dist/components/GidsActivityGauge/GidsActivityGauge.d.ts +8 -0
  7. package/dist/components/GidsActivityGauge/GidsActivityGauge.d.ts.map +1 -0
  8. package/dist/components/GidsActivityGauge/GidsActivityGauge.js +17 -0
  9. package/dist/components/GidsActivityGauge/GidsActivityGauge.js.map +1 -0
  10. package/dist/components/GidsBarChart/GidsBarChart.d.ts +6 -0
  11. package/dist/components/GidsBarChart/GidsBarChart.d.ts.map +1 -0
  12. package/dist/components/GidsBarChart/GidsBarChart.js +19 -0
  13. package/dist/components/GidsBarChart/GidsBarChart.js.map +1 -0
  14. package/dist/components/GidsCalendar/GidsCalendar.d.ts +6 -0
  15. package/dist/components/GidsCalendar/GidsCalendar.d.ts.map +1 -0
  16. package/dist/components/GidsCalendar/GidsCalendar.js +36 -0
  17. package/dist/components/GidsCalendar/GidsCalendar.js.map +1 -0
  18. package/dist/components/GidsCalendarCell/GidsCalendarCell.d.ts +8 -0
  19. package/dist/components/GidsCalendarCell/GidsCalendarCell.d.ts.map +1 -0
  20. package/dist/components/GidsCalendarCell/GidsCalendarCell.js +55 -0
  21. package/dist/components/GidsCalendarCell/GidsCalendarCell.js.map +1 -0
  22. package/dist/components/GidsCalendarDayCell/GidsCalendarDayCell.d.ts +6 -0
  23. package/dist/components/GidsCalendarDayCell/GidsCalendarDayCell.d.ts.map +1 -0
  24. package/dist/components/GidsCalendarDayCell/GidsCalendarDayCell.js +17 -0
  25. package/dist/components/GidsCalendarDayCell/GidsCalendarDayCell.js.map +1 -0
  26. package/dist/components/GidsCalendarHeaderPanel/GidsCalendarHeaderPanel.d.ts +13 -0
  27. package/dist/components/GidsCalendarHeaderPanel/GidsCalendarHeaderPanel.d.ts.map +1 -0
  28. package/dist/components/GidsCalendarHeaderPanel/GidsCalendarHeaderPanel.js +45 -0
  29. package/dist/components/GidsCalendarHeaderPanel/GidsCalendarHeaderPanel.js.map +1 -0
  30. package/dist/components/GidsCalendarMonthList/GidsCalendarMonthList.d.ts +6 -0
  31. package/dist/components/GidsCalendarMonthList/GidsCalendarMonthList.d.ts.map +1 -0
  32. package/dist/components/GidsCalendarMonthList/GidsCalendarMonthList.js +19 -0
  33. package/dist/components/GidsCalendarMonthList/GidsCalendarMonthList.js.map +1 -0
  34. package/dist/components/GidsCalendarYearList/GidsCalendarYearList.d.ts +6 -0
  35. package/dist/components/GidsCalendarYearList/GidsCalendarYearList.d.ts.map +1 -0
  36. package/dist/components/GidsCalendarYearList/GidsCalendarYearList.js +34 -0
  37. package/dist/components/GidsCalendarYearList/GidsCalendarYearList.js.map +1 -0
  38. package/dist/components/GidsChart/GidsChart.d.ts +8 -0
  39. package/dist/components/GidsChart/GidsChart.d.ts.map +1 -0
  40. package/dist/components/GidsChart/GidsChart.js +16 -0
  41. package/dist/components/GidsChart/GidsChart.js.map +1 -0
  42. package/dist/components/GidsChartLegend/GidsChartLegend.d.ts +8 -0
  43. package/dist/components/GidsChartLegend/GidsChartLegend.d.ts.map +1 -0
  44. package/dist/components/GidsChartLegend/GidsChartLegend.js +13 -0
  45. package/dist/components/GidsChartLegend/GidsChartLegend.js.map +1 -0
  46. package/dist/components/GidsChartLegendItem/GidsChartLegendItem.d.ts +8 -0
  47. package/dist/components/GidsChartLegendItem/GidsChartLegendItem.d.ts.map +1 -0
  48. package/dist/components/GidsChartLegendItem/GidsChartLegendItem.js +14 -0
  49. package/dist/components/GidsChartLegendItem/GidsChartLegendItem.js.map +1 -0
  50. package/dist/components/GidsChevronButton/GidsChevronButton.d.ts +7 -0
  51. package/dist/components/GidsChevronButton/GidsChevronButton.d.ts.map +1 -0
  52. package/dist/components/GidsChevronButton/GidsChevronButton.js +18 -0
  53. package/dist/components/GidsChevronButton/GidsChevronButton.js.map +1 -0
  54. package/dist/components/GidsDot/GidsDot.d.ts +6 -0
  55. package/dist/components/GidsDot/GidsDot.d.ts.map +1 -0
  56. package/dist/components/GidsDot/GidsDot.js +19 -0
  57. package/dist/components/GidsDot/GidsDot.js.map +1 -0
  58. package/dist/components/GidsDropdown/GidsDropdown.d.ts +15 -0
  59. package/dist/components/GidsDropdown/GidsDropdown.d.ts.map +1 -0
  60. package/dist/components/GidsDropdown/GidsDropdown.js +62 -0
  61. package/dist/components/GidsDropdown/GidsDropdown.js.map +1 -0
  62. package/dist/components/GidsDropdownField/GidsDropdownField.d.ts +10 -0
  63. package/dist/components/GidsDropdownField/GidsDropdownField.d.ts.map +1 -0
  64. package/dist/components/GidsDropdownField/GidsDropdownField.js +38 -0
  65. package/dist/components/GidsDropdownField/GidsDropdownField.js.map +1 -0
  66. package/dist/components/GidsDropdownItem/GidsDropdownItem.d.ts +1 -1
  67. package/dist/components/GidsDropdownItem/GidsDropdownItem.d.ts.map +1 -1
  68. package/dist/components/GidsDropdownItem/GidsDropdownItem.js +8 -3
  69. package/dist/components/GidsDropdownItem/GidsDropdownItem.js.map +1 -1
  70. package/dist/components/GidsDropdownMenuGroup/GidsDropdownMenuGroup.d.ts +1 -1
  71. package/dist/components/GidsDropdownMenuGroup/GidsDropdownMenuGroup.d.ts.map +1 -1
  72. package/dist/components/GidsDropdownMenuGroup/GidsDropdownMenuGroup.js +15 -4
  73. package/dist/components/GidsDropdownMenuGroup/GidsDropdownMenuGroup.js.map +1 -1
  74. package/dist/components/GidsDropdownPicker/GidsDropdownPicker.d.ts +20 -0
  75. package/dist/components/GidsDropdownPicker/GidsDropdownPicker.d.ts.map +1 -0
  76. package/dist/components/GidsDropdownPicker/GidsDropdownPicker.js +62 -0
  77. package/dist/components/GidsDropdownPicker/GidsDropdownPicker.js.map +1 -0
  78. package/dist/components/GidsFilter/GidsFilter.d.ts +16 -0
  79. package/dist/components/GidsFilter/GidsFilter.d.ts.map +1 -0
  80. package/dist/components/GidsFilter/GidsFilter.js +49 -0
  81. package/dist/components/GidsFilter/GidsFilter.js.map +1 -0
  82. package/dist/components/GidsLevelGauge/GidsLevelGauge.d.ts +6 -0
  83. package/dist/components/GidsLevelGauge/GidsLevelGauge.d.ts.map +1 -0
  84. package/dist/components/GidsLevelGauge/GidsLevelGauge.js +17 -0
  85. package/dist/components/GidsLevelGauge/GidsLevelGauge.js.map +1 -0
  86. package/dist/components/GidsLineChart/GidsLineChart.d.ts +6 -0
  87. package/dist/components/GidsLineChart/GidsLineChart.d.ts.map +1 -0
  88. package/dist/components/GidsLineChart/GidsLineChart.js +19 -0
  89. package/dist/components/GidsLineChart/GidsLineChart.js.map +1 -0
  90. package/dist/components/GidsListItem/GidsListItem.d.ts.map +1 -1
  91. package/dist/components/GidsListItem/GidsListItem.js +30 -15
  92. package/dist/components/GidsListItem/GidsListItem.js.map +1 -1
  93. package/dist/components/GidsMenu/GidsMenu.d.ts.map +1 -1
  94. package/dist/components/GidsMenu/GidsMenu.js +0 -7
  95. package/dist/components/GidsMenu/GidsMenu.js.map +1 -1
  96. package/dist/components/GidsMenuGroup/GidsMenuGroup.d.ts.map +1 -1
  97. package/dist/components/GidsMenuGroup/GidsMenuGroup.js +0 -7
  98. package/dist/components/GidsMenuGroup/GidsMenuGroup.js.map +1 -1
  99. package/dist/components/GidsPageTitle/GidsPageTitle.d.ts +9 -0
  100. package/dist/components/GidsPageTitle/GidsPageTitle.d.ts.map +1 -0
  101. package/dist/components/GidsPageTitle/GidsPageTitle.js +32 -0
  102. package/dist/components/GidsPageTitle/GidsPageTitle.js.map +1 -0
  103. package/dist/components/GidsPieChart/GidsPieChart.d.ts +8 -0
  104. package/dist/components/GidsPieChart/GidsPieChart.d.ts.map +1 -0
  105. package/dist/components/GidsPieChart/GidsPieChart.js +16 -0
  106. package/dist/components/GidsPieChart/GidsPieChart.js.map +1 -0
  107. package/dist/components/GidsProgressCircle/GidsProgressCircle.d.ts +6 -0
  108. package/dist/components/GidsProgressCircle/GidsProgressCircle.d.ts.map +1 -0
  109. package/dist/components/GidsProgressCircle/GidsProgressCircle.js +17 -0
  110. package/dist/components/GidsProgressCircle/GidsProgressCircle.js.map +1 -0
  111. package/dist/index.d.ts +23 -0
  112. package/dist/index.d.ts.map +1 -1
  113. package/dist/index.js +23 -0
  114. package/dist/index.js.map +1 -1
  115. package/package.json +3 -3
  116. package/src/components/GidsActionBar/GidsActionBar.ts +67 -0
  117. package/src/components/GidsActivityGauge/GidsActivityGauge.ts +48 -0
  118. package/src/components/GidsBarChart/GidsBarChart.ts +47 -0
  119. package/src/components/GidsCalendar/GidsCalendar.ts +72 -0
  120. package/src/components/GidsCalendarCell/GidsCalendarCell.ts +95 -0
  121. package/src/components/GidsCalendarDayCell/GidsCalendarDayCell.ts +29 -0
  122. package/src/components/GidsCalendarHeaderPanel/GidsCalendarHeaderPanel.ts +107 -0
  123. package/src/components/GidsCalendarMonthList/GidsCalendarMonthList.ts +56 -0
  124. package/src/components/GidsCalendarYearList/GidsCalendarYearList.ts +76 -0
  125. package/src/components/GidsChart/GidsChart.ts +41 -0
  126. package/src/components/GidsChartLegend/GidsChartLegend.ts +38 -0
  127. package/src/components/GidsChartLegendItem/GidsChartLegendItem.ts +40 -0
  128. package/src/components/GidsChevronButton/GidsChevronButton.ts +55 -0
  129. package/src/components/GidsDot/GidsDot.ts +42 -0
  130. package/src/components/GidsDropdown/GidsDropdown.ts +149 -0
  131. package/src/components/GidsDropdownField/GidsDropdownField.ts +106 -0
  132. package/src/components/GidsDropdownItem/GidsDropdownItem.ts +11 -3
  133. package/src/components/GidsDropdownMenuGroup/GidsDropdownMenuGroup.ts +23 -3
  134. package/src/components/GidsDropdownPicker/GidsDropdownPicker.ts +144 -0
  135. package/src/components/GidsFilter/GidsFilter.ts +110 -0
  136. package/src/components/GidsLevelGauge/GidsLevelGauge.ts +46 -0
  137. package/src/components/GidsLineChart/GidsLineChart.ts +50 -0
  138. package/src/components/GidsListItem/GidsListItem.ts +39 -18
  139. package/src/components/GidsMenu/GidsMenu.ts +0 -8
  140. package/src/components/GidsMenuGroup/GidsMenuGroup.ts +0 -8
  141. package/src/components/GidsPageTitle/GidsPageTitle.ts +60 -0
  142. package/src/components/GidsPieChart/GidsPieChart.ts +43 -0
  143. package/src/components/GidsProgressCircle/GidsProgressCircle.ts +46 -0
  144. package/src/index.ts +23 -0
@@ -31,8 +31,9 @@ export const GidsListItemDom = (
31
31
  props: GidsListItemDomProps,
32
32
  ): HTMLButtonElement => {
33
33
  const {
34
+ id,
34
35
  index,
35
- defaultSelectedIndex,
36
+ defaultSelected,
36
37
  children,
37
38
  disabled = false,
38
39
  selected,
@@ -48,27 +49,32 @@ export const GidsListItemDom = (
48
49
  trailingParagraph,
49
50
  divider,
50
51
  extraClasses,
51
- value,
52
52
  name,
53
+ value,
54
+ isPlaceholderItem,
53
55
  } = props;
54
56
 
57
+ const isSelected = selected || defaultSelected;
58
+
55
59
  const listItem = document.createElement('button');
56
60
  listItem.type = 'button';
57
61
  listItem.className = getGidsListItemClassNames(
58
- { disabled, selected },
62
+ { disabled, selected: isSelected },
59
63
  extraClasses,
60
64
  );
61
65
  listItem.setAttribute('role', 'list-item-option');
62
- listItem.setAttribute('aria-selected', selected ? 'true' : 'false');
66
+ listItem.setAttribute('aria-selected', isSelected ? 'true' : 'false');
67
+ listItem.setAttribute('id', id);
68
+ listItem.setAttribute('tabIndex', `${index}`);
69
+ listItem.setAttribute(
70
+ 'is-placeholder-item',
71
+ isPlaceholderItem ? 'true' : 'false',
72
+ );
63
73
  listItem.disabled = disabled;
64
74
  if (name) {
65
75
  listItem.name = name;
66
76
  }
67
77
 
68
- if (typeof value === 'string') {
69
- listItem.value = value;
70
- }
71
-
72
78
  const mainContainer = document.createElement('div');
73
79
  mainContainer.className = 'gids-list-item__main-container';
74
80
 
@@ -107,17 +113,17 @@ export const GidsListItemDom = (
107
113
  'gids-list-item__leading-content-container';
108
114
 
109
115
  if (children !== undefined && children !== null) {
116
+ const leadingLabel = document.createElement('span');
117
+ leadingLabel.className = disabled
118
+ ? 'gids-list-item__leading-content-label gids-list-item__text-content-disabled'
119
+ : 'gids-list-item__leading-content-label';
110
120
  if (typeof children === 'string') {
111
- const leadingLabel = document.createElement('span');
112
- leadingLabel.className = disabled
113
- ? 'gids-list-item__leading-content-label gids-list-item__text-content-disabled'
114
- : 'gids-list-item__leading-content-label';
115
121
  leadingLabel.textContent = children;
116
-
117
- appendAsChildren(leadingContentContainer, leadingLabel);
118
122
  } else {
119
- appendAsChildren(leadingContentContainer, children);
123
+ appendAsChildren(leadingLabel, children);
120
124
  }
125
+
126
+ appendAsChildren(leadingContentContainer, leadingLabel);
121
127
  }
122
128
 
123
129
  if (
@@ -223,7 +229,7 @@ export const GidsListItemDom = (
223
229
  trailingAccessoryContainer.className = disabled
224
230
  ? 'gids-list-item__trailing-accessory-container gids-list-item__accessory-content-disabled'
225
231
  : 'gids-list-item__trailing-accessory-container';
226
- if (selected) {
232
+ if (isSelected) {
227
233
  trailingAccessoryContainer.append(
228
234
  GidsIconDom({
229
235
  name: 'checkmark',
@@ -240,7 +246,7 @@ export const GidsListItemDom = (
240
246
  }
241
247
 
242
248
  appendAsChildren(listItem, mainContainer);
243
- if (divider && !selected) {
249
+ if (divider && !isSelected) {
244
250
  const dividerWrapper = document.createElement('div');
245
251
  dividerWrapper.className = 'gids-list-item__divider';
246
252
 
@@ -267,7 +273,8 @@ export const GidsListItemDom = (
267
273
  composed: true,
268
274
  detail: {
269
275
  selectedIndex: index,
270
- defaultSelectedIndex, // Toggles or passes current state
276
+ defaultSelected, // Toggles or passes current state
277
+ isPlaceholderItem,
271
278
  },
272
279
  },
273
280
  );
@@ -277,5 +284,19 @@ export const GidsListItemDom = (
277
284
  });
278
285
  }
279
286
 
287
+ let newValue: DomNodeOrString | undefined = value;
288
+ if (children) {
289
+ newValue = children;
290
+ }
291
+
292
+ if (typeof newValue === 'string') {
293
+ listItem.value = newValue;
294
+ } else {
295
+ const textContent = newValue?.textContent;
296
+ if (textContent) {
297
+ listItem.value = textContent;
298
+ }
299
+ }
300
+
280
301
  return listItem;
281
302
  };
@@ -8,7 +8,6 @@ import {
8
8
  DomNodeOrString,
9
9
  } from '../../utils/domUtils.js';
10
10
  import { GidsHeadingDom } from '../GidsHeading/GidsHeading.js';
11
- import { testDomChildrenValidity } from '../../utils/childrenValidationUtils.js';
12
11
 
13
12
  const { getGidsMenuClassNames } = GidsMenuWebUtils;
14
13
 
@@ -46,13 +45,6 @@ export const GidsMenuDom = ({
46
45
  );
47
46
  }
48
47
 
49
- testDomChildrenValidity({
50
- children,
51
- classNameToBeValidated: 'gids-list-item',
52
- childrenNameToBeValidated: 'GidsListItemDom',
53
- currentComponentName: 'GidsMenu',
54
- });
55
-
56
48
  if (children !== undefined && children !== null) {
57
49
  const childrenContainer = document.createElement('div');
58
50
  childrenContainer.className = 'gids-menu__children';
@@ -4,7 +4,6 @@ import {
4
4
  } from '@ganpatiinfo/gids-web-shared';
5
5
  import { appendAsChildren, DomChildren } from '../../utils/domUtils.js';
6
6
  import { GidsSpinnerDom } from '../GidsSpinner/GidsSpinner.js';
7
- import { testDomChildrenValidity } from '../../utils/childrenValidationUtils.js';
8
7
 
9
8
  const { getGidsMenuGroupClassNames } = GidsMenuGroupWebUtils;
10
9
 
@@ -36,13 +35,6 @@ export const GidsMenuGroupDom = ({
36
35
  appendAsChildren(menuGroup, noOptionText);
37
36
  }
38
37
 
39
- testDomChildrenValidity({
40
- children,
41
- classNameToBeValidated: 'gids-menu',
42
- childrenNameToBeValidated: 'GidsMenuDom',
43
- currentComponentName: 'GidsMenuGroup',
44
- });
45
-
46
38
  if (type === 'default' && children !== undefined && children !== null) {
47
39
  appendAsChildren(menuGroup, children);
48
40
  }
@@ -0,0 +1,60 @@
1
+ import {
2
+ GidsPageTitleWebProps,
3
+ GidsPageTitleWebUtils,
4
+ } from '@ganpatiinfo/gids-web-shared';
5
+ import {
6
+ appendAsChildren,
7
+ DomChildren,
8
+ DomNodeOrString,
9
+ } from '../../utils/domUtils';
10
+
11
+ const { getGidsPageTitleClassNames } = GidsPageTitleWebUtils;
12
+
13
+ type GidsPageTitleBaseWebProps = GidsPageTitleWebProps<
14
+ DomChildren,
15
+ DomNodeOrString
16
+ >;
17
+
18
+ export interface GidsPageTitleDomProps extends GidsPageTitleBaseWebProps {
19
+ extraClasses?: string;
20
+ }
21
+
22
+ export const GidsPageTitleDom = ({
23
+ level = 'parent',
24
+ children,
25
+ leadingAccessory,
26
+ trailingAccessory,
27
+ extraClasses,
28
+ }: GidsPageTitleDomProps): HTMLDivElement => {
29
+ const pageTitle = document.createElement('div');
30
+ pageTitle.className = getGidsPageTitleClassNames(extraClasses);
31
+
32
+ if (leadingAccessory && level === 'child') {
33
+ const leadingAccContainer = document.createElement('div');
34
+ leadingAccContainer.className = 'gids-page-title__leading-accessory';
35
+ appendAsChildren(leadingAccContainer, leadingAccessory);
36
+ pageTitle.append(leadingAccContainer);
37
+ }
38
+
39
+ if (children) {
40
+ const h1El = document.createElement('h1');
41
+ h1El.className = 'gids-page-title__heading';
42
+
43
+ if (children instanceof Node) {
44
+ h1El.append(children);
45
+ } else {
46
+ h1El.textContent = children;
47
+ }
48
+
49
+ appendAsChildren(pageTitle, h1El);
50
+ }
51
+
52
+ if (trailingAccessory) {
53
+ const trailingAccContainer = document.createElement('div');
54
+ trailingAccContainer.className = 'gids-page-title__trailing-accessory';
55
+ appendAsChildren(trailingAccContainer, trailingAccessory);
56
+ pageTitle.append(trailingAccContainer);
57
+ }
58
+
59
+ return pageTitle;
60
+ };
@@ -0,0 +1,43 @@
1
+ import {
2
+ GidsPieChartWebProps,
3
+ GidsPieChartWebUtils,
4
+ } from '@ganpatiinfo/gids-web-shared';
5
+
6
+ const { getGidsPieChartClassNames } = GidsPieChartWebUtils;
7
+
8
+ type GidsPieChartBaseWebProps = GidsPieChartWebProps;
9
+
10
+ type GidsPieChartElement = HTMLElement & GidsPieChartBaseWebProps;
11
+
12
+ export interface GidsPieChartDomProps extends GidsPieChartBaseWebProps {
13
+ extraClasses?: string;
14
+ }
15
+
16
+ export const GidsPieChartDom = ({
17
+ breakpoint = 'desktop',
18
+ chartLoading = false,
19
+ chartLoaderSize,
20
+ chartLoadingSupportingText,
21
+ chartLoadingTitle,
22
+ legendVisible,
23
+ size = 'xxs',
24
+ chartData = [],
25
+ extraClasses,
26
+ }: GidsPieChartDomProps): HTMLElement => {
27
+ const pieChart = document.createElement(
28
+ 'gids-pie-chart',
29
+ ) as GidsPieChartElement;
30
+
31
+ pieChart.breakpoint = breakpoint;
32
+ pieChart.size = size;
33
+ pieChart.legendVisible = legendVisible;
34
+ pieChart.chartData = chartData;
35
+ pieChart.chartLoading = chartLoading;
36
+ pieChart.chartLoaderSize = chartLoaderSize;
37
+ pieChart.chartLoadingTitle = chartLoadingTitle;
38
+ pieChart.chartLoadingSupportingText = chartLoadingSupportingText;
39
+
40
+ pieChart.className = getGidsPieChartClassNames({ breakpoint }, extraClasses);
41
+
42
+ return pieChart;
43
+ };
@@ -0,0 +1,46 @@
1
+ import {
2
+ GidsProgressCircleWebProps,
3
+ GidsProgressCircleWebUtils,
4
+ } from '@ganpatiinfo/gids-web-shared';
5
+
6
+ const { getGidsProgressCircleClassNames } = GidsProgressCircleWebUtils;
7
+
8
+ type GidsProgressCircleElement = HTMLElement & GidsProgressCircleWebProps;
9
+
10
+ export interface GidsProgressCircleDomProps extends GidsProgressCircleWebProps {
11
+ extraClasses?: string;
12
+ }
13
+
14
+ export const GidsProgressCircleDom = ({
15
+ label,
16
+ shape = 'circle',
17
+ value = 0,
18
+ breakpoint = 'desktop',
19
+ chartLoading = false,
20
+ chartLoaderSize,
21
+ chartLoadingSupportingText,
22
+ chartLoadingTitle,
23
+ size = 'xxs',
24
+ extraClasses,
25
+ }: GidsProgressCircleDomProps): HTMLElement => {
26
+ const progressCircle = document.createElement(
27
+ 'gids-progress-circle',
28
+ ) as GidsProgressCircleElement;
29
+
30
+ progressCircle.breakpoint = breakpoint;
31
+ progressCircle.size = size;
32
+ progressCircle.label = label;
33
+ progressCircle.value = value;
34
+ progressCircle.shape = shape;
35
+ progressCircle.chartLoading = chartLoading;
36
+ progressCircle.chartLoaderSize = chartLoaderSize;
37
+ progressCircle.chartLoadingTitle = chartLoadingTitle;
38
+ progressCircle.chartLoadingSupportingText = chartLoadingSupportingText;
39
+
40
+ progressCircle.className = getGidsProgressCircleClassNames(
41
+ { breakpoint },
42
+ extraClasses,
43
+ );
44
+
45
+ return progressCircle;
46
+ };
package/src/index.ts CHANGED
@@ -80,6 +80,29 @@ export * from './components/GidsMenuGroup/GidsMenuGroup.js';
80
80
  export * from './components/GidsDropdownItem/GidsDropdownItem.js';
81
81
  export * from './components/GidsDropdownMenu/GidsDropdownMenu.js';
82
82
  export * from './components/GidsDropdownMenuGroup/GidsDropdownMenuGroup.js';
83
+ export * from './components/GidsDropdown/GidsDropdown.js';
84
+ export * from './components/GidsChevronButton/GidsChevronButton.js';
85
+ export * from './components/GidsDropdownField/GidsDropdownField.js';
86
+ export * from './components/GidsCalendarCell/GidsCalendarCell.js';
87
+ export * from './components/GidsDot/GidsDot.js';
88
+ export * from './components/GidsCalendarDayCell/GidsCalendarDayCell.js';
89
+ export * from './components/GidsCalendarMonthList/GidsCalendarMonthList.js';
90
+ export * from './components/GidsCalendarYearList/GidsCalendarYearList.js';
91
+ export * from './components/GidsDropdownPicker/GidsDropdownPicker.js';
92
+ export * from './components/GidsCalendarHeaderPanel/GidsCalendarHeaderPanel.js';
93
+ export * from './components/GidsCalendar/GidsCalendar.js';
94
+ export * from './components/GidsPageTitle/GidsPageTitle.js';
95
+ export * from './components/GidsChartLegendItem/GidsChartLegendItem.js';
96
+ export * from './components/GidsChartLegend/GidsChartLegend.js';
97
+ export * from './components/GidsLineChart/GidsLineChart.js';
98
+ export * from './components/GidsBarChart/GidsBarChart.js';
99
+ export * from './components/GidsPieChart/GidsPieChart.js';
100
+ export * from './components/GidsLevelGauge/GidsLevelGauge.js';
101
+ export * from './components/GidsProgressCircle/GidsProgressCircle.js';
102
+ export * from './components/GidsActivityGauge/GidsActivityGauge.js';
103
+ export * from './components/GidsChart/GidsChart.js';
104
+ export * from './components/GidsFilter/GidsFilter.js';
105
+ export * from './components/GidsActionBar/GidsActionBar.js';
83
106
 
84
107
  /**
85
108
  * Utilities