@gravitee/graphene-core 3.36.0-feat-app-context-switcher.344fef8 → 3.37.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 (43) hide show
  1. package/USAGE_GUIDE.md +13 -57
  2. package/dist/__stories__/fixtures/index.d.ts +0 -1
  3. package/dist/__stories__/fixtures/index.d.ts.map +1 -1
  4. package/dist/base/Calendar/Calendar.d.ts +6 -0
  5. package/dist/base/Calendar/Calendar.d.ts.map +1 -1
  6. package/dist/base/Command/Command.d.ts +2 -3
  7. package/dist/base/Command/Command.d.ts.map +1 -1
  8. package/dist/base/FileUploadInput/FileUploadInput.d.ts.map +1 -1
  9. package/dist/index.d.ts +0 -1
  10. package/dist/index.d.ts.map +1 -1
  11. package/dist/index.js +6266 -6734
  12. package/dist/lib/test-ids.d.ts +3 -0
  13. package/dist/lib/test-ids.d.ts.map +1 -0
  14. package/dist/styles/globals.css +1 -1
  15. package/package.json +1 -2
  16. package/dist/__stories__/fixtures/shell/app-context-switcher.fixture.d.ts +0 -20
  17. package/dist/__stories__/fixtures/shell/app-context-switcher.fixture.d.ts.map +0 -1
  18. package/dist/composed/AppContextSwitcher/AppColumn.d.ts +0 -29
  19. package/dist/composed/AppContextSwitcher/AppColumn.d.ts.map +0 -1
  20. package/dist/composed/AppContextSwitcher/AppContextSwitcher.d.ts +0 -22
  21. package/dist/composed/AppContextSwitcher/AppContextSwitcher.d.ts.map +0 -1
  22. package/dist/composed/AppContextSwitcher/AppContextSwitcherTrigger.d.ts +0 -15
  23. package/dist/composed/AppContextSwitcher/AppContextSwitcherTrigger.d.ts.map +0 -1
  24. package/dist/composed/AppContextSwitcher/AppRow.d.ts +0 -15
  25. package/dist/composed/AppContextSwitcher/AppRow.d.ts.map +0 -1
  26. package/dist/composed/AppContextSwitcher/CurrentPageRow.d.ts +0 -16
  27. package/dist/composed/AppContextSwitcher/CurrentPageRow.d.ts.map +0 -1
  28. package/dist/composed/AppContextSwitcher/EntranceRow.d.ts +0 -18
  29. package/dist/composed/AppContextSwitcher/EntranceRow.d.ts.map +0 -1
  30. package/dist/composed/AppContextSwitcher/EnvironmentColumn.d.ts +0 -15
  31. package/dist/composed/AppContextSwitcher/EnvironmentColumn.d.ts.map +0 -1
  32. package/dist/composed/AppContextSwitcher/EnvironmentRow.d.ts +0 -19
  33. package/dist/composed/AppContextSwitcher/EnvironmentRow.d.ts.map +0 -1
  34. package/dist/composed/AppContextSwitcher/appContextSwitcher.types.d.ts +0 -62
  35. package/dist/composed/AppContextSwitcher/appContextSwitcher.types.d.ts.map +0 -1
  36. package/dist/composed/AppContextSwitcher/environmentList.d.ts +0 -17
  37. package/dist/composed/AppContextSwitcher/environmentList.d.ts.map +0 -1
  38. package/dist/composed/AppContextSwitcher/index.d.ts +0 -3
  39. package/dist/composed/AppContextSwitcher/index.d.ts.map +0 -1
  40. package/dist/composed/AppContextSwitcher/panelNavigation.d.ts +0 -28
  41. package/dist/composed/AppContextSwitcher/panelNavigation.d.ts.map +0 -1
  42. package/dist/composed/AppContextSwitcher/use-app-context-switcher.d.ts +0 -45
  43. package/dist/composed/AppContextSwitcher/use-app-context-switcher.d.ts.map +0 -1
package/USAGE_GUIDE.md CHANGED
@@ -358,60 +358,9 @@ App and environment switching has moved from the sidebar header into the top con
358
358
 
359
359
  **Local dev shells:** Module-local dev shells (`LocalDevShell`) that previously passed `apps`/`activeAppKey` to `AppSidebar` need the same migration. For minimal single-app dev setups, `AppContextBar` can be omitted entirely — just remove the old props from `AppSidebar`.
360
360
 
361
- ### App context switcher
362
-
363
- `AppContextSwitcher` is the other way to fill `appContext`: one menu for the app and the environment, where `AppContextBar` has a menu for each. The entrance (Account Management on Cloud, Home elsewhere) sits on top, the environments on the left with the pinned ones first, and the apps of the selected environment on the right. Picking an environment only shows its apps: nothing happens until the user picks an app or the entrance, so one pick changes both. With a single environment, the column and the search go away and the apps show as tiles.
364
-
365
- Both go in the same slot, and a host uses one of them. The switcher fits a host with several environments: an app in another environment is one pick away, and a long list can be searched. It renders no links: keep `AppContextBar` if users need to open an app or an environment in a new tab. Like `AppContextBar`, it is host-owned: federated modules don't set it.
366
-
367
- **`AppContextSwitcher` props:**
368
-
369
- | Prop | Type | Required | Notes |
370
- | --- | --- | --- | --- |
371
- | `apps` | `AppDefinition[]` | Yes | The apps of an environment. `pinned` and `href` are ignored |
372
- | `environments` | `EnvironmentDefinition[]` | Yes | `{ key, label, pinned? }`. Pinned environments come first |
373
- | `entrance` | `EntranceDefinition` | No | `{ key, label, icon, contextLabel? }`. `contextLabel` (the account name) ends the entrance row in muted text, and takes the place of the environment in the trigger while the entrance is the active page |
374
- | `activeAppKey` | `string` | Yes | The entrance key while the entrance is the active page |
375
- | `activeEnvironmentKey` | `string` | Yes | |
376
- | `onSelect` | `(selection: AppContextSwitcherSelection) => void` | Yes | See below |
377
- | `toHref` | `(selection: AppContextSwitcherSelection) => string \| undefined` | No | The URL of a selection. With it, the apps, "Open this page" and the entrance are real links: cmd/ctrl-click, middle-click or cmd/ctrl/shift+Enter open one in a new tab, a plain click or Enter still goes through `onSelect` |
378
- | `onViewAllEnvironments` | `() => void` | No | Adds "View all environments" below the list when the list leaves some out |
379
- | `maxVisibleEnvironments` | `number` | No | How many environments the list shows without a search, the active and selected ones aside. Defaults to 8. The search looks through all of them |
380
- | `defaultOpen` | `boolean` | No | Opens the panel on the first render |
381
- | `onOpenChange` | `(open: boolean) => void` | No | |
382
-
383
- **`onSelect`** gets one of:
384
-
385
- - `{ kind: 'app', appKey, environmentKey, keepPage }`: open the app in that environment. `keepPage` is `true` when the user picked "Open this page", on top of the apps of another environment: open the current page there, not the app's home.
386
- - `{ kind: 'entrance', environmentKey }`: open the entrance. `environmentKey` is the environment selected in the panel, for an entrance that depends on it, such as Home.
387
-
388
- The panel closes on every pick. Picking the page already shown calls nothing.
389
-
390
- **Pins** are read-only: the panel shows them, with no control to change them, because a button inside an option is out of keyboard reach. Store them on the host and let users pin on a page you own, such as the environments page.
391
-
392
- ```tsx
393
- <ContentHeader
394
- leading={slots.leading}
395
- appContext={
396
- <AppContextSwitcher
397
- apps={apps}
398
- environments={environments}
399
- entrance={{ key: 'account', label: 'Account Management', icon: <GioProductizeIcon />, contextLabel: accountName }}
400
- activeAppKey={activeAppKey}
401
- activeEnvironmentKey={envHrid}
402
- onSelect={handleSelect}
403
- toHref={(selection) => (selection.kind === 'app' ? appPath(selection) : '/account')}
404
- onViewAllEnvironments={() => navigate('/environments')}
405
- />
406
- }
407
- breadcrumbs={slots.breadcrumbs}
408
- trailing={...}
409
- />
410
- ```
411
-
412
361
  ### Breadcrumbs
413
362
 
414
- When using `AppContextBar` or `AppContextSwitcher` in the `appContext` slot, the active application name is already visible in the header bar. Remove the app/module name (e.g. "API Management", "Access Management") from your first breadcrumb segment to avoid duplication. Breadcrumbs should start at the **page level**:
363
+ When using `AppContextBar` in the `appContext` slot, the active application name is already visible in the header bar. Remove the app/module name (e.g. "API Management", "Access Management") from your first breadcrumb segment to avoid duplication. Breadcrumbs should start at the **page level**:
415
364
 
416
365
  ```tsx
417
366
  /* Good — starts at the page, app name is in AppContextBar */
@@ -434,7 +383,7 @@ If you have not migrated to `AppContextBar` yet, keeping the app name as the fir
434
383
 
435
384
  **Linear breadcrumbs:** When each step maps to a **path string** and React Router’s `navigate`, use **`buildLinearBreadcrumbs(navigate, segments)`** so `ContentHeader` / `useLayoutConfig` get consistent `BreadcrumbEntry[]` without copying the same `onClick` wiring. If the first crumb is a **custom action** (e.g. “back” that is not `navigate('/path')`), build that entry by hand or mix with `buildLinearBreadcrumbs`—see Storybook **Composed/ContentHeader → Linear breadcrumbs from builder** for the canonical route-based pattern. API edge cases are covered in `packages/core/src/lib/breadcrumbs/buildLinearBreadcrumbs.test.ts`.
436
385
 
437
- **Opening navigation in a new tab:** an app (`AppDefinition`), an environment or other `SelectorDropdown` option (`SelectorOption`), a side menu item (`NavItem`) or a breadcrumb (`BreadcrumbEntry`) with an `href`, or a row of `AppContextSwitcher` whose `toHref` gives a URL, renders as a real link, so users can right-click, middle-click or cmd/ctrl-click it to open it in a new tab. A plain click still calls your callback (`onAppChange`, `onEnvironmentChange`, `onItemSelect`, the crumb's `onClick`) and navigates without a reload. A modified click leaves the app switcher or environment menu open, so several items can be opened in turn. Without a callback, a plain click loads the `href`, except on the current app, environment or side menu item, which stays put. The browser opens an `href` as-is, without React Router's relative resolution or `basename`, so pass the full URL. `buildLinearBreadcrumbs` adds `href` only when you pass `toHref`, which turns each segment's `to` into that URL: `to` still goes to `navigate` unchanged, so `toHref` must resolve it the same way `navigate` does. `(to) => to` is enough when every `to` is an absolute path and the router has no `basename`; for a relative `to` such as `'..'`, resolve it, e.g. with React Router's `resolvePath(to, location.pathname).pathname` for `relative: 'path'`, and add the `basename` if there is one.
386
+ **Opening navigation in a new tab:** an app (`AppDefinition`), an environment or other `SelectorDropdown` option (`SelectorOption`), a side menu item (`NavItem`) or a breadcrumb (`BreadcrumbEntry`) with an `href` renders as a real link, so users can right-click, middle-click or cmd/ctrl-click it to open it in a new tab. A plain click still calls your callback (`onAppChange`, `onEnvironmentChange`, `onItemSelect`, the crumb's `onClick`) and navigates without a reload. A modified click leaves the app switcher or environment menu open, so several items can be opened in turn. Without a callback, a plain click loads the `href`, except on the current app, environment or side menu item, which stays put. The browser opens an `href` as-is, without React Router's relative resolution or `basename`, so pass the full URL. `buildLinearBreadcrumbs` adds `href` only when you pass `toHref`, which turns each segment's `to` into that URL: `to` still goes to `navigate` unchanged, so `toHref` must resolve it the same way `navigate` does. `(to) => to` is enough when every `to` is an absolute path and the router has no `basename`; for a relative `to` such as `'..'`, resolve it, e.g. with React Router's `resolvePath(to, location.pathname).pathname` for `relative: 'path'`, and add the `basename` if there is one.
438
387
 
439
388
  ### `contentVariant` — content width
440
389
 
@@ -1122,10 +1071,17 @@ The platform e2e suite selects elements by `data-testid` only. These are the rul
1122
1071
 
1123
1072
  The components that derive ids from yours. A part exists only when you pass an id and its element is rendered.
1124
1073
 
1125
- | Component | Part | Element |
1126
- | ----------------- | --------------- | ----------------------------------------------- |
1127
- | `FileUploadInput` | `${id}-input` | Hidden file input |
1128
- | `FileUploadInput` | `${id}-trigger` | Trigger button, when `triggerLabel` renders one |
1074
+ | Component | Part | Element |
1075
+ | ----------------- | ------------------------ | ---------------------------------------------------------------------------------------------------------- |
1076
+ | `FileUploadInput` | `${id}-input` | Hidden file input |
1077
+ | `FileUploadInput` | `${id}-trigger` | Trigger button, when `triggerLabel` renders one |
1078
+ | `Calendar` | `${id}-previous` | Previous month button |
1079
+ | `Calendar` | `${id}-next` | Next month button |
1080
+ | `Calendar` | `${id}-day-<yyyy-MM-dd>` | Day button, with `mode` or `onDayClick`; an outside day too, unless another displayed month shows its date |
1081
+ | `Calendar` | `${id}-month-<n>` | Month dropdown of the displayed month at position `n` (from 0), with a dropdown `captionLayout` |
1082
+ | `Calendar` | `${id}-year-<n>` | Year dropdown of the displayed month at position `n` (from 0), with a dropdown `captionLayout` |
1083
+
1084
+ The `Calendar` day keys are dates as react-day-picker formats them: they assume react-day-picker's default `numerals` (`latn`) and no `dateLib` override (Gregorian calendar); the `locale` doesn't change them. The dropdown keys are positions: navigating or picking a month doesn't change them. A `Calendar` part you replace through `components` gets no id. Replacing `MonthCaption` also drops the `month` and `year` ids, even though the dropdowns still render.
1129
1085
 
1130
1086
  **Exception: toasts**
1131
1087
 
@@ -2,7 +2,6 @@
2
2
  * Storybook fixtures by feature area. Prefer importing from this barrel or from a
3
3
  * specific module (e.g. `./apim/navigation.fixture`) in large stories.
4
4
  */
5
- export { accountManagementEntrance, cloudEnvironments, gammaConsoleApps, homeEntrance, manyEnvironments, selfHostedEnvironments, teamEnvironments, } from './shell/app-context-switcher.fixture';
6
5
  export { sampleApps, sampleAppsExtended } from './shell/app-switcher.fixture';
7
6
  export { sampleEnvironments, sampleEnvironmentsForSidebar } from './shell/environment-picker.fixture';
8
7
  export { agentManagementApps, agentManagementNavGroups, contextNavGroups, contextPageTabKeys, findContextLabel, findNavLabel, licenseAwareNavGroups, pageLayoutNavGroups, sampleNavGroups, } from './navigation.fixture';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/__stories__/fixtures/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EACL,yBAAyB,EACzB,iBAAiB,EACjB,gBAAgB,EAChB,YAAY,EACZ,gBAAgB,EAChB,sBAAsB,EACtB,gBAAgB,GACjB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAC9E,OAAO,EAAE,kBAAkB,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAEtG,OAAO,EACL,mBAAmB,EACnB,wBAAwB,EACxB,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,EAChB,YAAY,EACZ,qBAAqB,EACrB,mBAAmB,EACnB,eAAe,GAChB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,gCAAgC,EAChC,0BAA0B,EAC1B,8BAA8B,EAC9B,sCAAsC,EACtC,gCAAgC,EAChC,8BAA8B,EAC9B,6BAA6B,EAC7B,6BAA6B,EAC7B,sBAAsB,EACtB,+BAA+B,EAC/B,8BAA8B,GAC/B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,kCAAkC,EAAE,MAAM,4CAA4C,CAAC;AAChG,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAC;AAEpF,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAEpE,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/__stories__/fixtures/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAC9E,OAAO,EAAE,kBAAkB,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAEtG,OAAO,EACL,mBAAmB,EACnB,wBAAwB,EACxB,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,EAChB,YAAY,EACZ,qBAAqB,EACrB,mBAAmB,EACnB,eAAe,GAChB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,gCAAgC,EAChC,0BAA0B,EAC1B,8BAA8B,EAC9B,sCAAsC,EACtC,gCAAgC,EAChC,8BAA8B,EAC9B,6BAA6B,EAC7B,6BAA6B,EAC7B,sBAAsB,EACtB,+BAA+B,EAC/B,8BAA8B,GAC/B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,kCAAkC,EAAE,MAAM,4CAA4C,CAAC;AAChG,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAC;AAEpF,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAEpE,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC"}
@@ -3,6 +3,12 @@ import { Button } from '../Button';
3
3
  import * as React from 'react';
4
4
  declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, locale, formatters, components, ...props }: React.ComponentProps<typeof DayPicker> & {
5
5
  buttonVariant?: React.ComponentProps<typeof Button>['variant'];
6
+ /**
7
+ * Lands on the root. The month buttons, the day buttons and the caption dropdowns get `${id}-previous`,
8
+ * `${id}-next`, `${id}-day-<yyyy-MM-dd>`, `${id}-month-<n>` and `${id}-year-<n>`, `n` being the display position
9
+ * of the month, from 0.
10
+ */
11
+ 'data-testid'?: string;
6
12
  }): React.JSX.Element;
7
13
  declare function CalendarDayButton({ className, modifiers, ...props }: React.ComponentProps<typeof DayButton>): React.JSX.Element;
8
14
  export { Calendar, CalendarDayButton };
@@ -1 +1 @@
1
- {"version":3,"file":"Calendar.d.ts","sourceRoot":"","sources":["../../../src/base/Calendar/Calendar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,KAAK,SAAS,EAAE,SAAS,EAAwB,MAAM,kBAAkB,CAAC;AACnF,OAAO,EAAE,MAAM,EAAkB,MAAM,qCAAqC,CAAC;AAI7E,iBAAS,QAAQ,CAAC,EAChB,SAAS,EACT,UAAU,EACV,eAAsB,EACtB,aAAuB,EACvB,aAAuB,EACvB,MAAM,EACN,UAAU,EACV,UAAU,EACV,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,GAAG;IAC1C,aAAa,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC,SAAS,CAAC,CAAC;CAChE,qBAgHA;AAED,iBAAS,iBAAiB,CAAC,EAAE,SAAS,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,qBA2BpG;AAED,OAAO,EAAE,QAAQ,EAAE,iBAAiB,EAAE,CAAC"}
1
+ {"version":3,"file":"Calendar.d.ts","sourceRoot":"","sources":["../../../src/base/Calendar/Calendar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EACL,KAAK,SAAS,EACd,SAAS,EAQV,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAkB,MAAM,qCAAqC,CAAC;AAiB7E,iBAAS,QAAQ,CAAC,EAChB,SAAS,EACT,UAAU,EACV,eAAsB,EACtB,aAAuB,EACvB,aAAuB,EACvB,MAAM,EACN,UAAU,EACV,UAAU,EACV,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,GAAG;IAC1C,aAAa,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC,SAAS,CAAC,CAAC;IAC/D;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,qBA2HA;AAoDD,iBAAS,iBAAiB,CAAC,EAAE,SAAS,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,qBA2BpG;AAED,OAAO,EAAE,QAAQ,EAAE,iBAAiB,EAAE,CAAC"}
@@ -8,13 +8,12 @@ declare function CommandDialog({ title, description, children, className, showCl
8
8
  className?: string;
9
9
  showCloseButton?: boolean;
10
10
  }): React.JSX.Element;
11
- /** `children` land in the group after the input: a trailing addon, such as a clear button. */
12
- declare function CommandInput({ className, children, ...props }: React.ComponentProps<typeof CommandPrimitive.Input>): React.JSX.Element;
11
+ declare function CommandInput({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Input>): React.JSX.Element;
13
12
  declare function CommandList({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.List>): React.JSX.Element;
14
13
  declare function CommandEmpty({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Empty>): React.JSX.Element;
15
14
  declare function CommandGroup({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Group>): React.JSX.Element;
16
15
  declare function CommandSeparator({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
17
- declare function CommandItem({ className, children, asChild, ...props }: React.ComponentProps<typeof CommandPrimitive.Item>): React.JSX.Element;
16
+ declare function CommandItem({ className, children, ...props }: React.ComponentProps<typeof CommandPrimitive.Item>): React.JSX.Element;
18
17
  declare function CommandShortcut({ className, ...props }: React.ComponentProps<'span'>): React.JSX.Element;
19
18
  export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, };
20
19
  //# sourceMappingURL=Command.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Command.d.ts","sourceRoot":"","sources":["../../../src/base/Command/Command.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,MAAM,CAAC;AACnD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EACL,MAAM,EAKP,MAAM,qCAAqC,CAAC;AAK7C,iBAAS,OAAO,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,qBAWtF;AAED,iBAAS,aAAa,CAAC,EACrB,KAAyB,EACzB,WAA8C,EAC9C,QAAQ,EACR,SAAS,EACT,eAAuB,EACvB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,GAAG;IACvC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B,qBAeA;AAED,8FAA8F;AAC9F,iBAAS,YAAY,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,KAAK,CAAC,qBAmB3G;AAED,iBAAS,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,IAAI,CAAC,qBAQ/F;AAED,iBAAS,YAAY,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,KAAK,CAAC,qBAQjG;AAED,iBAAS,YAAY,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,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,MAAM,gBAAgB,CAAC;AAC5D,YAAY,EAAE,oBAAoB,EAAE,CAAC"}
package/dist/index.d.ts CHANGED
@@ -50,7 +50,6 @@ export * from './base/ToggleGroup';
50
50
  export * from './base/Textarea';
51
51
  export * from './base/Tooltip';
52
52
  export * from './composed/AppContextBar';
53
- export * from './composed/AppContextSwitcher';
54
53
  export * from './composed/AppLayout';
55
54
  export * from './composed/AppSidebar';
56
55
  export * from './composed/AppSwitcher';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAC3F,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAGhE,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,oBAAoB,CAAC;AACnC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,wBAAwB,CAAC;AACvC,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;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