@gooddata/sdk-ui-ext 9.6.0-alpha.8 → 9.6.0-beta.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.
@@ -28,7 +28,7 @@ const AttributeDropdownBody = ({ items, isLoading, closeDropdown, onSelect, }) =
28
28
  setSelectedTab(tab.id);
29
29
  };
30
30
  const searchPlaceholderText = formatMessage(messages.hierarchyAttributeSearch);
31
- return (React.createElement(DropdownList, { className: "attribute-hierarchy-attribute-dropdown-body s-attribute-hierarchy-attribute-dropdown-body", tabsClassName: "attribute-hierarchy-attribute-dropdown-tabs s-attribute-hierarchy-attribute-dropdown-tabs", width: DEFAULT_DROPDOWN_WIDTH, maxHeight: DEFAULT_DROPDOWN_MAX_HEIGHT, showSearch: true, searchPlaceholder: searchPlaceholderText, searchString: searchString, onSearch: setSearchString, items: displayItems, itemsCount: displayItems.length, showTabs: true, tabs: TABS, onTabSelect: handleTabSelect, selectedTabId: selectedTab, isLoading: isLoading, renderItem: ({ item }) => {
31
+ return (React.createElement(DropdownList, { className: "attribute-hierarchy-attribute-dropdown-body s-attribute-hierarchy-attribute-dropdown-body", tabsClassName: "date-attribute-dropdown-tabs s-attribute-hierarchy-attribute-dropdown-tabs", width: DEFAULT_DROPDOWN_WIDTH, maxHeight: DEFAULT_DROPDOWN_MAX_HEIGHT, showSearch: true, searchPlaceholder: searchPlaceholderText, searchString: searchString, onSearch: setSearchString, items: displayItems, itemsCount: displayItems.length, showTabs: true, tabs: TABS, onTabSelect: handleTabSelect, selectedTabId: selectedTab, isLoading: isLoading, renderItem: ({ item }) => {
32
32
  const handleClick = () => {
33
33
  closeDropdown();
34
34
  onSelect(item);
@@ -1 +1 @@
1
- {"version":3,"file":"AttributeDropdownBody.js","sourceRoot":"","sources":["../../../../../src/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeDropdownBody.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,OAAO,KAAK,EAAE,EAAE,Q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C,YAAY,IACT,SAAS,EAAC,2FAA2F,EACrG,aAAa,EAAC,2FAA2F,EACzG,KAAK,EAAE,sBAAsB,EAC7B,SAAS,EAAE,2BAA2B,EACtC,UAAU,EAAE,IAAI,EAChB,iBAAiB,EAAE,qBAAqB,EACxC,YAAY,EAAE,YAAY,EAC1B,QAAQ,EAAE,eAAe,EACzB,KAAK,EAAE,YAAY,EACnB,UAAU,EAAE,YAAY,CAAC,MAAM,EAC/B,QAAQ,EAAE,IAAI,EACd,IAAI,EAAE,IAAI,EACV,WAAW,EAAE,eAAe,EAC5B,aAAa,EAAE,WAAW,EAC1B,SAAS,EAAE,SAAS,EACpB,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE;YACrB,MAAM,WAAW,GAAG,GAAG,EAAE;gBACrB,aAAa,EAAE,CAAC;gBAChB,QAAQ,CAAC,IAAI,CAAC,CAAC;YACnB,CAAC,CAAC;YAEF,OAAO,CACH,oBAAC,oBAAoB,IACjB,SAAS,EAAC,2FAA2F,EACrG,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,OAAO,EAAE,WAAW,EACpB,IAAI,EAAE,IAAI,CAAC,IAAI,GACjB,CACL,CAAC;QACN,CAAC,GACH,CACL,CAAC;AACN,CAAC,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
1
+ {"version":3,"file":"AttributeDropdownBody.js","sourceRoot":"","sources":["../../../../../src/internal/components/attributeHierarchies/attributeHierarchyDialog/AttributeDropdownBody.tsx"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,YAAY,EAAE,oBAAoB,EAAQ,MAAM,sBAAsB,CAAC;AAChF,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5C,OAAO,EAAE,wBAAwB,EAA6C,MAAM,YAAY,CAAC;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UAAU,EAAE,YAAY,CAAC,MAAM,EAC/B,QAAQ,EAAE,IAAI,EACd,IAAI,EAAE,IAAI,EACV,WAAW,EAAE,eAAe,EAC5B,aAAa,EAAE,WAAW,EAC1B,SAAS,EAAE,SAAS,EACpB,UAAU,EAAE,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE;YACrB,MAAM,WAAW,GAAG,GAAG,EAAE;gBACrB,aAAa,EAAE,CAAC;gBAChB,QAAQ,CAAC,IAAI,CAAC,CAAC;YACnB,CAAC,CAAC;YAEF,OAAO,CACH,oBAAC,oBAAoB,IACjB,SAAS,EAAC,2FAA2F,EACrG,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,OAAO,EAAE,WAAW,EACpB,IAAI,EAAE,IAAI,CAAC,IAAI,GACjB,CACL,CAAC;QACN,CAAC,GACH,CACL,CAAC;AACN,CAAC,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/sdk-ui-ext",
3
- "version": "9.6.0-alpha.8",
3
+ "version": "9.6.0-beta.0",
4
4
  "description": "GoodData.UI SDK - Extensions",
5
5
  "repository": {
6
6
  "type": "git",
@@ -49,19 +49,19 @@
49
49
  "uuid": "^8.3.2",
50
50
  "debounce-promise": "^3.1.2",
51
51
  "json-stable-stringify": "^1.0.1",
52
- "@gooddata/sdk-backend-base": "9.6.0-alpha.8",
53
- "@gooddata/sdk-backend-spi": "9.6.0-alpha.8",
54
- "@gooddata/sdk-model": "9.6.0-alpha.8",
55
- "@gooddata/sdk-embedding": "9.6.0-alpha.8",
56
- "@gooddata/sdk-ui": "9.6.0-alpha.8",
57
- "@gooddata/sdk-ui-charts": "9.6.0-alpha.8",
58
- "@gooddata/sdk-ui-geo": "9.6.0-alpha.8",
59
- "@gooddata/sdk-ui-filters": "9.6.0-alpha.8",
60
- "@gooddata/sdk-ui-kit": "9.6.0-alpha.8",
61
- "@gooddata/sdk-ui-pivot": "9.6.0-alpha.8",
62
- "@gooddata/sdk-ui-theme-provider": "9.6.0-alpha.8",
63
- "@gooddata/sdk-ui-vis-commons": "9.6.0-alpha.8",
64
- "@gooddata/util": "9.6.0-alpha.8"
52
+ "@gooddata/sdk-backend-base": "9.6.0-beta.0",
53
+ "@gooddata/sdk-backend-spi": "9.6.0-beta.0",
54
+ "@gooddata/sdk-embedding": "9.6.0-beta.0",
55
+ "@gooddata/sdk-model": "9.6.0-beta.0",
56
+ "@gooddata/sdk-ui": "9.6.0-beta.0",
57
+ "@gooddata/sdk-ui-charts": "9.6.0-beta.0",
58
+ "@gooddata/sdk-ui-filters": "9.6.0-beta.0",
59
+ "@gooddata/sdk-ui-geo": "9.6.0-beta.0",
60
+ "@gooddata/sdk-ui-kit": "9.6.0-beta.0",
61
+ "@gooddata/sdk-ui-pivot": "9.6.0-beta.0",
62
+ "@gooddata/sdk-ui-theme-provider": "9.6.0-beta.0",
63
+ "@gooddata/sdk-ui-vis-commons": "9.6.0-beta.0",
64
+ "@gooddata/util": "9.6.0-beta.0"
65
65
  },
66
66
  "peerDependencies": {
67
67
  "react": "^16.10.0 || ^17.0.0 || ^18.0.0",
@@ -116,10 +116,10 @@
116
116
  "vitest-dom": "0.1.1",
117
117
  "@types/debounce-promise": "^3.1.4",
118
118
  "@types/json-stable-stringify": "^1.0.32",
119
- "@gooddata/i18n-toolkit": "9.6.0-alpha.8",
120
- "@gooddata/reference-workspace": "9.6.0-alpha.8",
121
- "@gooddata/live-examples-workspace": "9.6.0-alpha.8",
122
- "@gooddata/sdk-backend-mockingbird": "9.6.0-alpha.8"
119
+ "@gooddata/i18n-toolkit": "9.6.0-beta.0",
120
+ "@gooddata/live-examples-workspace": "9.6.0-beta.0",
121
+ "@gooddata/reference-workspace": "9.6.0-beta.0",
122
+ "@gooddata/sdk-backend-mockingbird": "9.6.0-beta.0"
123
123
  },
124
124
  "scripts": {
125
125
  "clean": "rm -rf ci dist esm coverage *.log styles/css tsconfig.tsbuildinfo",
@@ -372,11 +372,11 @@
372
372
  text-decoration: underline;
373
373
  }
374
374
 
375
- .gd-dropdown-tabs.gd-tabs.attribute-hierarchy-attribute-dropdown-tabs {
375
+ .gd-dropdown-tabs.gd-tabs.date-attribute-dropdown-tabs {
376
376
  display: flex;
377
377
  flex-direction: row;
378
378
  }
379
- .gd-dropdown-tabs.gd-tabs.attribute-hierarchy-attribute-dropdown-tabs > div {
379
+ .gd-dropdown-tabs.gd-tabs.date-attribute-dropdown-tabs > div {
380
380
  display: flex;
381
381
  flex: 1 0 0;
382
382
  justify-content: center;
@@ -387,15 +387,15 @@
387
387
  border: 1px solid #ccd8e2;
388
388
  margin-right: 0;
389
389
  }
390
- .gd-dropdown-tabs.gd-tabs.attribute-hierarchy-attribute-dropdown-tabs > div:first-child {
390
+ .gd-dropdown-tabs.gd-tabs.date-attribute-dropdown-tabs > div:first-child {
391
391
  border-top-right-radius: 0;
392
392
  border-bottom-right-radius: 0;
393
393
  }
394
- .gd-dropdown-tabs.gd-tabs.attribute-hierarchy-attribute-dropdown-tabs > div:last-child {
394
+ .gd-dropdown-tabs.gd-tabs.date-attribute-dropdown-tabs > div:last-child {
395
395
  border-top-left-radius: 0;
396
396
  border-bottom-left-radius: 0;
397
397
  }
398
- .gd-dropdown-tabs.gd-tabs.attribute-hierarchy-attribute-dropdown-tabs > div.is-active {
398
+ .gd-dropdown-tabs.gd-tabs.date-attribute-dropdown-tabs > div.is-active {
399
399
  background: linear-gradient(180deg, #dee6ef 0%, #ecf0f5 100%);
400
400
  box-shadow: 0 2px 0 0 rgba(177, 193, 209, 0.65) inset;
401
401
  border: 1px solid rgba(31, 53, 74, 0.2);
@@ -418,7 +418,7 @@
418
418
 
419
419
  .gd-dialog.attribute-hierarchy-dialog .gd-icon-attribute::before,
420
420
  .attribute-hierarchy-attribute-dropdown-body .gd-icon-attribute::before,
421
- .attribute-hierarchy-attribute-dropdown-tabs .gd-icon-attribute::before {
421
+ .date-attribute-dropdown-tabs .gd-icon-attribute::before {
422
422
  width: 18px;
423
423
  height: 18px;
424
424
  margin-right: 5px;
@@ -426,7 +426,7 @@
426
426
  }
427
427
  .gd-dialog.attribute-hierarchy-dialog .gd-icon-date::before,
428
428
  .attribute-hierarchy-attribute-dropdown-body .gd-icon-date::before,
429
- .attribute-hierarchy-attribute-dropdown-tabs .gd-icon-date::before {
429
+ .date-attribute-dropdown-tabs .gd-icon-date::before {
430
430
  width: 16px;
431
431
  height: 16px;
432
432
  margin-right: 7px;
@@ -195,11 +195,11 @@
195
195
  text-decoration: underline;
196
196
  }
197
197
 
198
- .gd-dropdown-tabs.gd-tabs.attribute-hierarchy-attribute-dropdown-tabs {
198
+ .gd-dropdown-tabs.gd-tabs.date-attribute-dropdown-tabs {
199
199
  display: flex;
200
200
  flex-direction: row;
201
201
  }
202
- .gd-dropdown-tabs.gd-tabs.attribute-hierarchy-attribute-dropdown-tabs > div {
202
+ .gd-dropdown-tabs.gd-tabs.date-attribute-dropdown-tabs > div {
203
203
  display: flex;
204
204
  flex: 1 0 0;
205
205
  justify-content: center;
@@ -210,15 +210,15 @@
210
210
  border: 1px solid #ccd8e2;
211
211
  margin-right: 0;
212
212
  }
213
- .gd-dropdown-tabs.gd-tabs.attribute-hierarchy-attribute-dropdown-tabs > div:first-child {
213
+ .gd-dropdown-tabs.gd-tabs.date-attribute-dropdown-tabs > div:first-child {
214
214
  border-top-right-radius: 0;
215
215
  border-bottom-right-radius: 0;
216
216
  }
217
- .gd-dropdown-tabs.gd-tabs.attribute-hierarchy-attribute-dropdown-tabs > div:last-child {
217
+ .gd-dropdown-tabs.gd-tabs.date-attribute-dropdown-tabs > div:last-child {
218
218
  border-top-left-radius: 0;
219
219
  border-bottom-left-radius: 0;
220
220
  }
221
- .gd-dropdown-tabs.gd-tabs.attribute-hierarchy-attribute-dropdown-tabs > div.is-active {
221
+ .gd-dropdown-tabs.gd-tabs.date-attribute-dropdown-tabs > div.is-active {
222
222
  background: linear-gradient(180deg, #dee6ef 0%, #ecf0f5 100%);
223
223
  box-shadow: 0 2px 0 0 rgba(177, 193, 209, 0.65) inset;
224
224
  border: 1px solid rgba(31, 53, 74, 0.2);
@@ -241,7 +241,7 @@
241
241
 
242
242
  .gd-dialog.attribute-hierarchy-dialog .gd-icon-attribute::before,
243
243
  .attribute-hierarchy-attribute-dropdown-body .gd-icon-attribute::before,
244
- .attribute-hierarchy-attribute-dropdown-tabs .gd-icon-attribute::before {
244
+ .date-attribute-dropdown-tabs .gd-icon-attribute::before {
245
245
  width: 18px;
246
246
  height: 18px;
247
247
  margin-right: 5px;
@@ -249,7 +249,7 @@
249
249
  }
250
250
  .gd-dialog.attribute-hierarchy-dialog .gd-icon-date::before,
251
251
  .attribute-hierarchy-attribute-dropdown-body .gd-icon-date::before,
252
- .attribute-hierarchy-attribute-dropdown-tabs .gd-icon-date::before {
252
+ .date-attribute-dropdown-tabs .gd-icon-date::before {
253
253
  width: 16px;
254
254
  height: 16px;
255
255
  margin-right: 7px;
@@ -237,7 +237,7 @@
237
237
  }
238
238
  }
239
239
 
240
- .gd-dropdown-tabs.gd-tabs.attribute-hierarchy-attribute-dropdown-tabs {
240
+ .gd-dropdown-tabs.gd-tabs.date-attribute-dropdown-tabs {
241
241
  display: flex;
242
242
  flex-direction: row;
243
243
 
@@ -289,7 +289,7 @@
289
289
 
290
290
  .gd-dialog.attribute-hierarchy-dialog,
291
291
  .attribute-hierarchy-attribute-dropdown-body,
292
- .attribute-hierarchy-attribute-dropdown-tabs {
292
+ .date-attribute-dropdown-tabs {
293
293
  .gd-icon-attribute::before {
294
294
  width: 18px;
295
295
  height: 18px;