@mattermost/compass-ui 0.1.0-alpha.18 → 0.1.0-alpha.19

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 (70) hide show
  1. package/dist/compass-ui.css +1 -0
  2. package/dist/components/modal/Modal.cjs +1 -1
  3. package/dist/components/modal/Modal.cjs.map +1 -1
  4. package/dist/components/modal/Modal.css +1 -1
  5. package/dist/components/modal/Modal.d.ts +11 -2
  6. package/dist/components/modal/Modal.d.ts.map +1 -1
  7. package/dist/components/modal/Modal.js +70 -64
  8. package/dist/components/modal/Modal.js.map +1 -1
  9. package/dist/components/modal/Modal.module.scss.cjs +1 -1
  10. package/dist/components/modal/Modal.module.scss.js +16 -12
  11. package/dist/components/modal/Modal.module.scss.js.map +1 -1
  12. package/dist/components/modal/ModalOverlay.css +1 -0
  13. package/dist/components/modal/ModalOverlay.module.scss.cjs +2 -0
  14. package/dist/components/modal/ModalOverlay.module.scss.cjs.map +1 -0
  15. package/dist/components/modal/ModalOverlay.module.scss.js +9 -0
  16. package/dist/components/modal/ModalOverlay.module.scss.js.map +1 -0
  17. package/dist/components/modal/index.cjs +1 -1
  18. package/dist/components/modal/index.d.ts +1 -0
  19. package/dist/components/modal/index.d.ts.map +1 -1
  20. package/dist/components/modal/index.js +4 -2
  21. package/dist/components/modal/index.js.map +1 -1
  22. package/dist/components/popover-notice/PopoverNotice.css +1 -1
  23. package/dist/components/popover-notice/PopoverNotice.module.scss.cjs +1 -1
  24. package/dist/components/popover-notice/PopoverNotice.module.scss.js +14 -14
  25. package/dist/components/scrollbar/Scrollbar.cjs +1 -1
  26. package/dist/components/scrollbar/Scrollbar.cjs.map +1 -1
  27. package/dist/components/scrollbar/Scrollbar.css +1 -1
  28. package/dist/components/scrollbar/Scrollbar.d.ts +4 -0
  29. package/dist/components/scrollbar/Scrollbar.d.ts.map +1 -1
  30. package/dist/components/scrollbar/Scrollbar.js +31 -25
  31. package/dist/components/scrollbar/Scrollbar.js.map +1 -1
  32. package/dist/components/scrollbar/Scrollbar.module.scss.cjs +1 -1
  33. package/dist/components/scrollbar/Scrollbar.module.scss.js +3 -2
  34. package/dist/components/scrollbar/Scrollbar.module.scss.js.map +1 -1
  35. package/dist/components/scrollbar/index.d.ts +1 -1
  36. package/dist/components/scrollbar/index.d.ts.map +1 -1
  37. package/dist/hooks/use-modal-focus.cjs +1 -1
  38. package/dist/hooks/use-modal-focus.cjs.map +1 -1
  39. package/dist/hooks/use-modal-focus.d.ts +9 -1
  40. package/dist/hooks/use-modal-focus.d.ts.map +1 -1
  41. package/dist/hooks/use-modal-focus.js +43 -41
  42. package/dist/hooks/use-modal-focus.js.map +1 -1
  43. package/dist/illustrations/names.cjs +1 -1
  44. package/dist/illustrations/names.cjs.map +1 -1
  45. package/dist/illustrations/names.d.ts +1 -1
  46. package/dist/illustrations/names.d.ts.map +1 -1
  47. package/dist/illustrations/names.js +2 -0
  48. package/dist/illustrations/names.js.map +1 -1
  49. package/dist/illustrations/oauth.cjs +2 -0
  50. package/dist/illustrations/oauth.cjs.map +1 -0
  51. package/dist/illustrations/oauth.d.ts +4 -0
  52. package/dist/illustrations/oauth.js +5 -0
  53. package/dist/illustrations/oauth.js.map +1 -0
  54. package/dist/illustrations/oauth.svg.cjs +2 -0
  55. package/dist/illustrations/oauth.svg.cjs.map +1 -0
  56. package/dist/illustrations/oauth.svg.js +6 -0
  57. package/dist/illustrations/oauth.svg.js.map +1 -0
  58. package/dist/illustrations/outgoing-oauth-connections.cjs +2 -0
  59. package/dist/illustrations/outgoing-oauth-connections.cjs.map +1 -0
  60. package/dist/illustrations/outgoing-oauth-connections.d.ts +4 -0
  61. package/dist/illustrations/outgoing-oauth-connections.js +5 -0
  62. package/dist/illustrations/outgoing-oauth-connections.js.map +1 -0
  63. package/dist/illustrations/outgoing-oauth-connections.svg.cjs +2 -0
  64. package/dist/illustrations/outgoing-oauth-connections.svg.cjs.map +1 -0
  65. package/dist/illustrations/outgoing-oauth-connections.svg.js +6 -0
  66. package/dist/illustrations/outgoing-oauth-connections.svg.js.map +1 -0
  67. package/dist/index.cjs +1 -1
  68. package/dist/index.js +91 -89
  69. package/dist/index.js.map +1 -1
  70. package/package.json +7 -1
package/dist/index.js CHANGED
@@ -17,7 +17,7 @@ import { default as N } from "./components/chip/ChipGroup.js";
17
17
  import { default as R } from "./components/combobox/Combobox.js";
18
18
  import { default as D } from "./components/date-range-picker/DateRangePicker.js";
19
19
  import { default as U } from "./components/divider/Divider.js";
20
- import { default as j } from "./components/dropdown/Dropdown.js";
20
+ import { default as k } from "./components/dropdown/Dropdown.js";
21
21
  import { default as Z } from "./components/emoji/Emoji.js";
22
22
  import { EMOJI_BUTTON_EMOJI_SIZES as L, default as V } from "./components/emoji-button/EmojiButton.js";
23
23
  import { default as q } from "./components/emoji-popover/EmojiPopover.js";
@@ -41,46 +41,47 @@ import { default as Ge } from "./components/reactions-row/ReactionsRow.js";
41
41
  import { default as we } from "./components/reaction-button/ReactionButton.js";
42
42
  import { default as He } from "./components/message-separator/MessageSeparator.js";
43
43
  import { default as Fe } from "./components/modal/Modal.js";
44
- import { default as ke } from "./components/modal-footer/ModalFooter.js";
45
- import { default as ye } from "./components/modal-header/ModalHeader.js";
46
- import { default as Je } from "./components/more-unreads-banner/MoreUnreadsBanner.js";
47
- import { default as Ve } from "./components/new-message-banner/NewMessageBanner.js";
48
- import { default as qe } from "./components/pagination-dots/PaginationDots.js";
49
- import { default as Qe } from "./components/permalink-preview/PermalinkPreview.js";
50
- import { default as Xe } from "./components/pinned-saved-indicators/PinnedSavedIndicators.js";
51
- import { default as $e, PopoverMenuDivider as eo, PopoverMenuGroup as oo, PopoverMenuGroupTitle as ro, PopoverMenuScroll as to, PopoverMenuTitle as ao } from "./components/popover-menu/PopoverMenu.js";
52
- import { default as so } from "./components/popover-notice/PopoverNotice.js";
53
- import { default as lo } from "./components/profile-popover/ProfilePopover.js";
54
- import { default as mo } from "./components/progress-bar/ProgressBar.js";
55
- import { default as no } from "./components/radio/Radio.js";
56
- import { default as Po } from "./components/right-sidebar-header/RightSidebarHeader.js";
57
- import { default as co } from "./components/scrollbar/Scrollbar.js";
58
- import { default as Io } from "./components/password-input/PasswordInput.js";
59
- import { default as vo } from "./components/search-input/SearchInput.js";
60
- import { default as Bo } from "./components/search-tip-banner/SearchTipBanner.js";
61
- import { default as Ao, ShortcutTagGroup as ho } from "./components/shortcut-tag/ShortcutTag.js";
62
- import { default as Eo } from "./components/section-notice/SectionNotice.js";
63
- import { default as _o } from "./components/select/Select.js";
64
- import { default as No } from "./components/spinner/Spinner.js";
65
- import { default as Ro } from "./components/status-badge/StatusBadge.js";
66
- import { default as Do } from "./components/switch/Switch.js";
67
- import { default as Uo } from "./components/tabs/Tabs.js";
68
- import { default as jo } from "./components/team-avatar/TeamAvatar.js";
69
- import { default as Zo } from "./components/text-area/TextArea.js";
70
- import { default as Lo } from "./components/text-input/TextInput.js";
71
- import { default as Ko } from "./components/thread-footer/ThreadFooter.js";
72
- import { default as zo } from "./components/thread-list-item/ThreadListItem.js";
73
- import { default as Wo } from "./components/toast/Toast.js";
74
- import { default as Yo } from "./components/tooltip/Tooltip.js";
75
- import { default as er } from "./components/tour-point/TourPoint.js";
76
- import { default as rr } from "./components/unread-badge/UnreadBadge.js";
77
- import { default as ar } from "./components/user-avatar/UserAvatar.js";
78
- import { default as sr } from "./components/user-avatar-group/UserAvatarGroup.js";
79
- import { useControllable as ur } from "./hooks/use-controllable.js";
80
- import { useExitAnimation as pr } from "./hooks/use-exit-animation.js";
81
- import { useOutsideClose as xr } from "./hooks/use-outside-close.js";
82
- import { POPOVER_TRANSITION_MS as ir, usePopoverTransition as Pr } from "./hooks/use-popover-transition.js";
83
- import { toKebab as cr } from "./utils/string.js";
44
+ import { default as ye } from "./components/modal/ModalOverlay.module.scss.js";
45
+ import { default as je } from "./components/modal-footer/ModalFooter.js";
46
+ import { default as Je } from "./components/modal-header/ModalHeader.js";
47
+ import { default as Ve } from "./components/more-unreads-banner/MoreUnreadsBanner.js";
48
+ import { default as qe } from "./components/new-message-banner/NewMessageBanner.js";
49
+ import { default as Qe } from "./components/pagination-dots/PaginationDots.js";
50
+ import { default as Xe } from "./components/permalink-preview/PermalinkPreview.js";
51
+ import { default as $e } from "./components/pinned-saved-indicators/PinnedSavedIndicators.js";
52
+ import { default as oo, PopoverMenuDivider as ro, PopoverMenuGroup as to, PopoverMenuGroupTitle as ao, PopoverMenuScroll as fo, PopoverMenuTitle as so } from "./components/popover-menu/PopoverMenu.js";
53
+ import { default as lo } from "./components/popover-notice/PopoverNotice.js";
54
+ import { default as mo } from "./components/profile-popover/ProfilePopover.js";
55
+ import { default as no } from "./components/progress-bar/ProgressBar.js";
56
+ import { default as Po } from "./components/radio/Radio.js";
57
+ import { default as co } from "./components/right-sidebar-header/RightSidebarHeader.js";
58
+ import { default as Io } from "./components/scrollbar/Scrollbar.js";
59
+ import { default as vo } from "./components/password-input/PasswordInput.js";
60
+ import { default as Bo } from "./components/search-input/SearchInput.js";
61
+ import { default as Ao } from "./components/search-tip-banner/SearchTipBanner.js";
62
+ import { default as bo, ShortcutTagGroup as Eo } from "./components/shortcut-tag/ShortcutTag.js";
63
+ import { default as _o } from "./components/section-notice/SectionNotice.js";
64
+ import { default as No } from "./components/select/Select.js";
65
+ import { default as Ro } from "./components/spinner/Spinner.js";
66
+ import { default as Do } from "./components/status-badge/StatusBadge.js";
67
+ import { default as Uo } from "./components/switch/Switch.js";
68
+ import { default as ko } from "./components/tabs/Tabs.js";
69
+ import { default as Zo } from "./components/team-avatar/TeamAvatar.js";
70
+ import { default as Lo } from "./components/text-area/TextArea.js";
71
+ import { default as Ko } from "./components/text-input/TextInput.js";
72
+ import { default as zo } from "./components/thread-footer/ThreadFooter.js";
73
+ import { default as Wo } from "./components/thread-list-item/ThreadListItem.js";
74
+ import { default as Yo } from "./components/toast/Toast.js";
75
+ import { default as er } from "./components/tooltip/Tooltip.js";
76
+ import { default as rr } from "./components/tour-point/TourPoint.js";
77
+ import { default as ar } from "./components/unread-badge/UnreadBadge.js";
78
+ import { default as sr } from "./components/user-avatar/UserAvatar.js";
79
+ import { default as ur } from "./components/user-avatar-group/UserAvatarGroup.js";
80
+ import { useControllable as pr } from "./hooks/use-controllable.js";
81
+ import { useExitAnimation as xr } from "./hooks/use-exit-animation.js";
82
+ import { useOutsideClose as ir } from "./hooks/use-outside-close.js";
83
+ import { POPOVER_TRANSITION_MS as Sr, usePopoverTransition as cr } from "./hooks/use-popover-transition.js";
84
+ import { toKebab as Ir } from "./utils/string.js";
84
85
  export {
85
86
  r as ActionButton,
86
87
  u as AdminConsoleFooter,
@@ -100,7 +101,7 @@ export {
100
101
  R as Combobox,
101
102
  D as DateRangePicker,
102
103
  U as Divider,
103
- j as Dropdown,
104
+ k as Dropdown,
104
105
  L as EMOJI_BUTTON_EMOJI_SIZES,
105
106
  Z as Emoji,
106
107
  V as EmojiButton,
@@ -124,58 +125,59 @@ export {
124
125
  Oe as MessageHeader,
125
126
  He as MessageSeparator,
126
127
  Fe as Modal,
127
- ke as ModalFooter,
128
- ye as ModalHeader,
129
- Je as MoreUnreadsBanner,
130
- Ve as NewMessageBanner,
131
- ir as POPOVER_TRANSITION_MS,
132
- qe as PaginationDots,
133
- Io as PasswordInput,
134
- Qe as PermalinkPreview,
135
- Xe as PinnedSavedIndicators,
136
- $e as PopoverMenu,
137
- eo as PopoverMenuDivider,
138
- oo as PopoverMenuGroup,
139
- ro as PopoverMenuGroupTitle,
140
- to as PopoverMenuScroll,
141
- ao as PopoverMenuTitle,
142
- so as PopoverNotice,
143
- lo as ProfilePopover,
144
- mo as ProgressBar,
145
- no as Radio,
128
+ je as ModalFooter,
129
+ Je as ModalHeader,
130
+ Ve as MoreUnreadsBanner,
131
+ qe as NewMessageBanner,
132
+ Sr as POPOVER_TRANSITION_MS,
133
+ Qe as PaginationDots,
134
+ vo as PasswordInput,
135
+ Xe as PermalinkPreview,
136
+ $e as PinnedSavedIndicators,
137
+ oo as PopoverMenu,
138
+ ro as PopoverMenuDivider,
139
+ to as PopoverMenuGroup,
140
+ ao as PopoverMenuGroupTitle,
141
+ fo as PopoverMenuScroll,
142
+ so as PopoverMenuTitle,
143
+ lo as PopoverNotice,
144
+ mo as ProfilePopover,
145
+ no as ProgressBar,
146
+ Po as Radio,
146
147
  we as ReactionButton,
147
148
  Ge as ReactionsRow,
148
- Po as RightSidebarHeader,
149
+ co as RightSidebarHeader,
149
150
  de as SVG_SIZE_MAP,
150
- co as Scrollbar,
151
- vo as SearchInput,
152
- Bo as SearchTipBanner,
153
- Eo as SectionNotice,
154
- _o as Select,
155
- Ao as ShortcutTag,
156
- ho as ShortcutTagGroup,
157
- No as Spinner,
158
- Ro as StatusBadge,
159
- Do as Switch,
160
- Uo as Tabs,
151
+ Io as Scrollbar,
152
+ Bo as SearchInput,
153
+ Ao as SearchTipBanner,
154
+ _o as SectionNotice,
155
+ No as Select,
156
+ bo as ShortcutTag,
157
+ Eo as ShortcutTagGroup,
158
+ Ro as Spinner,
159
+ Do as StatusBadge,
160
+ Uo as Switch,
161
+ ko as Tabs,
161
162
  ce as Tag,
162
- jo as TeamAvatar,
163
- Zo as TextArea,
164
- Lo as TextInput,
165
- Ko as ThreadFooter,
166
- zo as ThreadListItem,
167
- Wo as Toast,
168
- Yo as Tooltip,
169
- er as TourPoint,
170
- rr as UnreadBadge,
171
- ar as UserAvatar,
172
- sr as UserAvatarGroup,
163
+ Zo as TeamAvatar,
164
+ Lo as TextArea,
165
+ Ko as TextInput,
166
+ zo as ThreadFooter,
167
+ Wo as ThreadListItem,
168
+ Yo as Toast,
169
+ er as Tooltip,
170
+ rr as TourPoint,
171
+ ar as UnreadBadge,
172
+ sr as UserAvatar,
173
+ ur as UserAvatarGroup,
173
174
  M as btnStyles,
174
- cr as toKebab,
175
- ur as useControllable,
176
- pr as useExitAnimation,
175
+ ye as modalOverlayStyles,
176
+ Ir as toKebab,
177
+ pr as useControllable,
178
+ xr as useExitAnimation,
177
179
  ue as useIconSlotContext,
178
- xr as useOutsideClose,
179
- Pr as usePopoverTransition
180
+ ir as useOutsideClose,
181
+ cr as usePopoverTransition
180
182
  };
181
183
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mattermost/compass-ui",
3
- "version": "0.1.0-alpha.18",
3
+ "version": "0.1.0-alpha.19",
4
4
  "description": "Compass design system UI components for Mattermost products",
5
5
  "repository": {
6
6
  "type": "git",
@@ -473,9 +473,15 @@
473
473
  "illustrations/no-unreads-on-sidebar-bg": [
474
474
  "./dist/illustrations/no-unreads-on-sidebar-bg.d.ts"
475
475
  ],
476
+ "illustrations/oauth": [
477
+ "./dist/illustrations/oauth.d.ts"
478
+ ],
476
479
  "illustrations/office": [
477
480
  "./dist/illustrations/office.d.ts"
478
481
  ],
482
+ "illustrations/outgoing-oauth-connections": [
483
+ "./dist/illustrations/outgoing-oauth-connections.d.ts"
484
+ ],
479
485
  "illustrations/outgoing-webhook": [
480
486
  "./dist/illustrations/outgoing-webhook.d.ts"
481
487
  ],