@commmerce/ui-react 1.0.0-rc.5 → 1.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.
package/LICENSE.md CHANGED
@@ -1,17 +1,152 @@
1
- # Commmerce UI Licence — DRAFT, NOT YET IN FORCE
2
-
3
- > Draft for legal review. Do not publish packages until this is approved.
4
-
5
- Copyright (c) 2026 Outdo Inc. (Commmerce). All rights reserved.
6
-
7
- 1. **Grant.** You may install, use and include unmodified copies of the Commmerce UI packages
8
- (`@commmerce/tokens`, `@commmerce/ui`, `@commmerce/ui-react`, `@commmerce/app-bridge`) in
9
- software whose purpose is to run on, integrate with or extend a Commmerce platform, including
10
- apps listed in, or privately installed through, the Commmerce app marketplace.
11
- 2. **Restrictions.** You may not use the packages, or the Commmerce name, logo or visual identity
12
- they carry, to build a product that is not for use with a Commmerce platform, or one that
13
- presents itself as made or endorsed by Commmerce. You may not redistribute the packages on their
14
- own or as a competing design system.
15
- 3. **No warranty.** The packages are provided "as is", without warranty of any kind. Commmerce is
16
- not liable for any claim or damages arising from their use.
17
- 4. **Termination.** This licence ends automatically if you breach it.
1
+ # Commmerce UI Licence
2
+
3
+ Version 1.0 | Copyright © 2026 Outdo Inc. (Commmerce)
4
+
5
+ All rights not expressly granted under this licence are reserved.
6
+
7
+ ## 1. Definitions
8
+
9
+ "**Commmerce**" means Outdo Inc. and its affiliates.
10
+
11
+ "**Packages**" means the Commmerce UI software and assets distributed by Commmerce under this licence,
12
+ including the npm packages `@commmerce/tokens`, `@commmerce/icons`, `@commmerce/ui`, `@commmerce/ui-react`
13
+ and `@commmerce/app-bridge`, the Flutter package `commmerce_ui`, and the corresponding files hosted at
14
+ commmerce.com/blog/commmerceui/.
15
+
16
+ "**Commmerce Platform**" means the products, services, infrastructure and applications operated or provided
17
+ by Commmerce.
18
+
19
+ "**Commmerce Software**" means software developed to run on, integrate with, extend or provide functionality
20
+ for a Commmerce Platform, including applications listed in or privately installed through the Commmerce app
21
+ marketplace, and internal business applications used in connection with a Commmerce Platform.
22
+
23
+ "**You**" means the individual or legal entity exercising rights under this licence, including its
24
+ authorised employees, contractors, consultants and agencies acting on its behalf solely for the
25
+ development, maintenance or operation of Commmerce Software.
26
+
27
+ ## 2. Licence Grant
28
+
29
+ Subject to your compliance with this licence, Commmerce grants you a worldwide, non-exclusive,
30
+ royalty-free, limited, non-transferable licence to:
31
+
32
+ (a) install, access and use the Packages;
33
+
34
+ (b) incorporate the Packages into Commmerce Software;
35
+
36
+ (c) modify and adapt the Packages solely to the extent reasonably necessary to develop, maintain, customise
37
+ and operate Commmerce Software;
38
+
39
+ (d) distribute the Packages as integrated components of Commmerce Software, in source, bundled, minified,
40
+ compiled or other executable forms; and
41
+
42
+ (e) permit merchants and end users to use Commmerce Software incorporating the Packages.
43
+
44
+ Normal software development and build processes, including bundling, minification, compilation,
45
+ tree-shaking and configuration through documented options, are permitted.
46
+
47
+ No ownership of the Packages or underlying intellectual property is transferred to you.
48
+
49
+ ## 3. Starter Applications and Code Samples
50
+
51
+ Starter applications, templates and code samples published by Commmerce may be copied, modified, adapted
52
+ and used as the basis for developing your own Commmerce Software.
53
+
54
+ You may incorporate such modifications into your applications and distribute those applications.
55
+
56
+ The Packages and any separately identified third-party components remain subject to their respective
57
+ licences. This section does not grant rights to Commmerce trademarks, logos or other separately protected
58
+ assets.
59
+
60
+ ## 4. Restrictions
61
+
62
+ You must not:
63
+
64
+ (a) use the Packages to develop, operate or distribute software that is not Commmerce Software;
65
+
66
+ (b) redistribute, sublicense, sell, publish or otherwise make the Packages, or modified versions of the
67
+ Packages, available independently or as part of a standalone design system, component library, UI
68
+ toolkit, framework or developer platform intended for use outside the Commmerce ecosystem;
69
+
70
+ (c) extract, repurpose or reuse the Packages or their components to create or distribute a competing
71
+ design system, component library or equivalent developer toolkit;
72
+
73
+ (d) use the Commmerce name, logo or other trademarks in a manner that suggests ownership, official
74
+ affiliation, sponsorship or endorsement, except where expressly authorised under Commmerce's brand or
75
+ developer guidelines; or
76
+
77
+ (e) remove, obscure or alter copyright notices, licence notices or attribution requirements included with
78
+ the Packages.
79
+
80
+ Nothing in this section prevents you from developing and distributing your own applications, business
81
+ logic, integrations, themes or other original software for the Commmerce Platform.
82
+
83
+ ## 5. Third-Party Components
84
+
85
+ Certain components, libraries, typefaces or other materials included with or used by the Packages may be
86
+ subject to third-party licences.
87
+
88
+ Those third-party licences govern the applicable components and prevail to the extent of any
89
+ inconsistency with this licence.
90
+
91
+ Applicable third-party notices and licence texts are provided in the relevant Packages or accompanying
92
+ documentation.
93
+
94
+ ## 6. Later Versions
95
+
96
+ Commmerce may publish new versions of the Packages under this licence or under different licence terms.
97
+
98
+ Each published version is governed by the licence accompanying that version. No change to a later version
99
+ retroactively changes the licence applicable to an earlier version already distributed.
100
+
101
+ ## 7. Intellectual Property and Trademarks
102
+
103
+ The Packages, including their original code, design tokens, component implementations, documentation and
104
+ associated intellectual property, remain the property of Commmerce or their respective rights holders.
105
+
106
+ This licence does not grant any ownership interest or general trademark licence.
107
+
108
+ You may make factual references to compatibility or integration with Commmerce, provided those references
109
+ are accurate and do not imply official endorsement, sponsorship or ownership.
110
+
111
+ ## 8. Disclaimer of Warranties
112
+
113
+ To the maximum extent permitted by applicable law, the Packages are provided "AS IS" and "AS AVAILABLE",
114
+ without warranties, representations or conditions of any kind, whether express, implied or statutory,
115
+ including warranties of merchantability, fitness for a particular purpose, title and non-infringement.
116
+
117
+ Commmerce does not warrant that the Packages will be uninterrupted, error-free, secure or compatible with
118
+ every third-party environment.
119
+
120
+ ## 9. Limitation of Liability
121
+
122
+ To the maximum extent permitted by applicable law, Commmerce and its affiliates, directors, officers,
123
+ employees and licensors shall not be liable for any indirect, incidental, special, exemplary or
124
+ consequential damages, or for loss of profits, revenue, business opportunities, goodwill, business
125
+ interruption or data arising out of or relating to the Packages or this licence.
126
+
127
+ Nothing in this licence excludes or limits liability to the extent that such exclusion or limitation is
128
+ prohibited by applicable law.
129
+
130
+ ## 10. Termination
131
+
132
+ This licence terminates automatically if you materially breach its terms and, where the breach is capable
133
+ of remedy, fail to remedy it within thirty (30) days after receiving written notice.
134
+
135
+ Commmerce may terminate the licence immediately where a breach is incapable of remedy or involves
136
+ unauthorised redistribution, infringement of intellectual property, or a material security risk.
137
+
138
+ Upon termination, you must cease using and distributing the Packages and remove them from systems under
139
+ your control, except to the extent retention is required by applicable law.
140
+
141
+ Where reasonably practicable and where termination does not arise from a security or intellectual property
142
+ violation, Commmerce may permit a limited transition period for existing merchant applications.
143
+
144
+ Termination does not affect rights or obligations accrued before termination.
145
+
146
+ Sections 4, 5, 7, 8, 9 and this section survive termination.
147
+
148
+ ## 11. Contact
149
+
150
+ Questions concerning this licence may be sent to: support@commmerce.com
151
+
152
+ End of Licence
package/README.md CHANGED
@@ -3,14 +3,12 @@
3
3
  React components for Commmerce UI, generated from the `@commmerce/ui` web components, with typed props and
4
4
  `on…` event props for each component's events.
5
5
 
6
- **Preview.** APIs can change between releases. Docs: https://commmerce.com/blog/commmerceui/
7
-
8
6
  ```sh
9
7
  npm install @commmerce/ui-react @commmerce/tokens
10
8
  ```
11
9
 
12
10
  ```jsx
13
- import '@commmerce/tokens/fonts.css'; // the Poppins typeface (Google Fonts)
11
+ import '@commmerce/tokens/fonts.css'; // the Poppins typeface (self-hosted, ships with @commmerce/tokens)
14
12
  import '@commmerce/tokens/tokens.css';
15
13
  import { Button, TextField } from '@commmerce/ui-react';
16
14
 
@@ -0,0 +1,175 @@
1
+ COMMMERCE UI: THIRD-PARTY NOTICES
2
+
3
+ The Commmerce UI packages include or depend on the third-party components
4
+ listed below. Each component is licensed under its own terms, reproduced in
5
+ full here. Those terms, not the Commmerce UI Licence, govern each component.
6
+
7
+ Component Version Licence Where it is used
8
+ -------------------------------- -------- ------------- ----------------------------------------------
9
+ lit, lit-html, lit-element, 3.x BSD-3-Clause Dependency of @commmerce/ui; bundled into the
10
+ @lit/reactive-element hosted cdn.js
11
+ @lit/react 1.0.6 BSD-3-Clause Dependency of @commmerce/ui-react
12
+ Poppins typeface - OFL-1.1 Font files in @commmerce/tokens, the hosted
13
+ files and the Flutter package commmerce_ui
14
+ path_drawing (Dart) 1.0.1 MIT Dependency of the Flutter package commmerce_ui
15
+
16
+ The line icons in @commmerce/icons and the design tokens are original
17
+ Commmerce work and contain no third-party material.
18
+
19
+ ==============================================================================
20
+
21
+ Lit (lit, lit-html, lit-element, @lit/reactive-element) and @lit/react
22
+ https://github.com/lit/lit
23
+
24
+ BSD 3-Clause License
25
+
26
+ Copyright (c) 2017 Google LLC. All rights reserved.
27
+
28
+ Redistribution and use in source and binary forms, with or without
29
+ modification, are permitted provided that the following conditions are met:
30
+
31
+ 1. Redistributions of source code must retain the above copyright notice, this
32
+ list of conditions and the following disclaimer.
33
+
34
+ 2. Redistributions in binary form must reproduce the above copyright notice,
35
+ this list of conditions and the following disclaimer in the documentation
36
+ and/or other materials provided with the distribution.
37
+
38
+ 3. Neither the name of the copyright holder nor the names of its
39
+ contributors may be used to endorse or promote products derived from
40
+ this software without specific prior written permission.
41
+
42
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
43
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
44
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
45
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
46
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
47
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
48
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
49
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
50
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
51
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
52
+
53
+ ==============================================================================
54
+
55
+ Poppins typeface
56
+ https://github.com/itfoundry/Poppins
57
+
58
+ Copyright 2020 The Poppins Project Authors (https://github.com/itfoundry/Poppins)
59
+
60
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
61
+ This license is copied below, and is also available with a FAQ at:
62
+ http://scripts.sil.org/OFL
63
+
64
+
65
+ -----------------------------------------------------------
66
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
67
+ -----------------------------------------------------------
68
+
69
+ PREAMBLE
70
+ The goals of the Open Font License (OFL) are to stimulate worldwide
71
+ development of collaborative font projects, to support the font creation
72
+ efforts of academic and linguistic communities, and to provide a free and
73
+ open framework in which fonts may be shared and improved in partnership
74
+ with others.
75
+
76
+ The OFL allows the licensed fonts to be used, studied, modified and
77
+ redistributed freely as long as they are not sold by themselves. The
78
+ fonts, including any derivative works, can be bundled, embedded,
79
+ redistributed and/or sold with any software provided that any reserved
80
+ names are not used by derivative works. The fonts and derivatives,
81
+ however, cannot be released under any other type of license. The
82
+ requirement for fonts to remain under this license does not apply
83
+ to any document created using the fonts or their derivatives.
84
+
85
+ DEFINITIONS
86
+ "Font Software" refers to the set of files released by the Copyright
87
+ Holder(s) under this license and clearly marked as such. This may
88
+ include source files, build scripts and documentation.
89
+
90
+ "Reserved Font Name" refers to any names specified as such after the
91
+ copyright statement(s).
92
+
93
+ "Original Version" refers to the collection of Font Software components as
94
+ distributed by the Copyright Holder(s).
95
+
96
+ "Modified Version" refers to any derivative made by adding to, deleting,
97
+ or substituting -- in part or in whole -- any of the components of the
98
+ Original Version, by changing formats or by porting the Font Software to a
99
+ new environment.
100
+
101
+ "Author" refers to any designer, engineer, programmer, technical
102
+ writer or other person who contributed to the Font Software.
103
+
104
+ PERMISSION & CONDITIONS
105
+ Permission is hereby granted, free of charge, to any person obtaining
106
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
107
+ redistribute, and sell modified and unmodified copies of the Font
108
+ Software, subject to the following conditions:
109
+
110
+ 1) Neither the Font Software nor any of its individual components,
111
+ in Original or Modified Versions, may be sold by itself.
112
+
113
+ 2) Original or Modified Versions of the Font Software may be bundled,
114
+ redistributed and/or sold with any software, provided that each copy
115
+ contains the above copyright notice and this license. These can be
116
+ included either as stand-alone text files, human-readable headers or
117
+ in the appropriate machine-readable metadata fields within text or
118
+ binary files as long as those fields can be easily viewed by the user.
119
+
120
+ 3) No Modified Version of the Font Software may use the Reserved Font
121
+ Name(s) unless explicit written permission is granted by the corresponding
122
+ Copyright Holder. This restriction only applies to the primary font name as
123
+ presented to the users.
124
+
125
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
126
+ Software shall not be used to promote, endorse or advertise any
127
+ Modified Version, except to acknowledge the contribution(s) of the
128
+ Copyright Holder(s) and the Author(s) or with their explicit written
129
+ permission.
130
+
131
+ 5) The Font Software, modified or unmodified, in part or in whole,
132
+ must be distributed entirely under this license, and must not be
133
+ distributed under any other license. The requirement for fonts to
134
+ remain under this license does not apply to any document created
135
+ using the Font Software.
136
+
137
+ TERMINATION
138
+ This license becomes null and void if any of the above conditions are
139
+ not met.
140
+
141
+ DISCLAIMER
142
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
143
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
144
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
145
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
146
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
147
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
148
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
149
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
150
+ OTHER DEALINGS IN THE FONT SOFTWARE.
151
+
152
+ ==============================================================================
153
+
154
+ path_drawing
155
+ https://pub.dev/packages/path_drawing
156
+
157
+ Copyright (c) 2018 Dan Field
158
+
159
+ Permission is hereby granted, free of charge, to any person obtaining a copy
160
+ of this software and associated documentation files (the "Software"), to deal
161
+ in the Software without restriction, including without limitation the rights
162
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
163
+ copies of the Software, and to permit persons to whom the Software is
164
+ furnished to do so, subject to the following conditions:
165
+
166
+ The above copyright notice and this permission notice shall be included in all
167
+ copies or substantial portions of the Software.
168
+
169
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
170
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
171
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
172
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
173
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
174
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
175
+ SOFTWARE.
package/dist/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import { type EventName } from '@lit/react';
2
- import { CmButton, CmTextField, CmCheckbox, CmRadio, CmRadioGroup, CmToggle, CmSelect, CmSearch, CmCombobox, CmDatePicker, CmDateRangePicker, CmFileUpload, CmOptionGroup, CmTag, CmBadge, CmCard, CmBanner, CmIcon, CmPageHeader, CmActionBar, CmSaveBar, CmInfoPanel, CmInfoItem, CmAccordion, CmEmptyState, CmSkeleton, CmSkeletonDisplay, CmComment, CmCommentBox, CmSmartTip, CmSmartTips, CmPagination, CmStatusTabs, CmTableHeader, CmDataTable, CmResourceList, CmResourceItem, CmNestedList, CmNestedItem, CmReportTile, CmReportTiles, CmNavItem, CmSideNavigation, CmHeaderBar, CmBottomNavigation, CmMobileMenu, CmFlashOfferBar, CmLinkTabs, CmAppCard, CmModal, CmSidePanel, CmFilterPanel, CmMenuItem, CmActionMenu, CmBottomSheet, CmNotificationPanel, CmNotificationItem, CmAvatar, CmThumbnail, CmTooltip, CmToast, CmToastRegion, CmSpinner, CmProgressBar, CmStack, CmGrid, CmLayout, CmLayoutSection, CmPage } from '@commmerce/ui';
3
- import type { CloseReason, FilterValues, MenuItem, NotificationItem, ToastDismissReason } from '@commmerce/ui';
2
+ import { CmButton, CmTextField, CmCheckbox, CmRadio, CmRadioGroup, CmToggle, CmSelect, CmSearch, CmCombobox, CmGlobalSearch, CmDatePicker, CmDateRangePicker, CmFileUpload, CmOptionGroup, CmTag, CmBadge, CmCard, CmBanner, CmIcon, CmPageHeader, CmActionBar, CmSaveBar, CmInfoPanel, CmInfoItem, CmAccordion, CmEmptyState, CmSkeleton, CmSkeletonDisplay, CmComment, CmCommentBox, CmSmartTip, CmSmartTips, CmPagination, CmStatusTabs, CmTableHeader, CmDataTable, CmResourceList, CmResourceItem, CmNestedList, CmNestedItem, CmReportTile, CmReportTiles, CmNavItem, CmSideNavigation, CmHeaderBar, CmBottomNavigation, CmMobileMenu, CmFlashOfferBar, CmLinkTabs, CmAppCard, CmModal, CmSidePanel, CmFilterPanel, CmMenuItem, CmActionMenu, CmBottomSheet, CmNotificationPanel, CmNotificationItem, CmAvatar, CmThumbnail, CmTooltip, CmToast, CmToastRegion, CmSpinner, CmProgressBar, CmStack, CmGrid, CmLayout, CmLayoutSection, CmPage, CmAppFrame } from '@commmerce/ui';
3
+ import type { CloseReason, FilterValues, MenuItem, NotificationItem, ToastDismissReason, GlobalSearchGroup, GlobalSearchItem } from '@commmerce/ui';
4
+ export type { GlobalSearchGroup, GlobalSearchItem, NotificationItem } from '@commmerce/ui';
4
5
  export { showToast, configure, setStrings, resetStrings, getDefaultStrings, formatNumber, formatDate } from '@commmerce/ui';
5
6
  export type { CmStrings, CmStringsInput, Message, MessageVars, PluralMessage } from '@commmerce/ui';
6
7
  export type { ShowToastOptions, DateRangePreset, DateRangePresetKey } from '@commmerce/ui';
@@ -43,6 +44,16 @@ export declare const Combobox: import("@lit/react").ReactWebComponent<CmCombobox
43
44
  value: string;
44
45
  }>>;
45
46
  }>;
47
+ export declare const GlobalSearch: import("@lit/react").ReactWebComponent<CmGlobalSearch, {
48
+ onSearch: EventName<CustomEvent<{
49
+ query: string;
50
+ }>>;
51
+ onSelect: EventName<CustomEvent<{
52
+ href: string;
53
+ item?: GlobalSearchItem;
54
+ group: GlobalSearchGroup;
55
+ }>>;
56
+ }>;
46
57
  export declare const DatePicker: import("@lit/react").ReactWebComponent<CmDatePicker, {
47
58
  onChange: EventName<Event>;
48
59
  onInput: EventName<Event>;
@@ -70,6 +81,11 @@ export declare const Grid: import("@lit/react").ReactWebComponent<CmGrid, {}>;
70
81
  export declare const Layout: import("@lit/react").ReactWebComponent<CmLayout, {}>;
71
82
  export declare const LayoutSection: import("@lit/react").ReactWebComponent<CmLayoutSection, {}>;
72
83
  export declare const Page: import("@lit/react").ReactWebComponent<CmPage, {}>;
84
+ export declare const AppFrame: import("@lit/react").ReactWebComponent<CmAppFrame, {
85
+ onMenuToggle: EventName<CustomEvent<{
86
+ open: boolean;
87
+ }>>;
88
+ }>;
73
89
  export declare const Card: import("@lit/react").ReactWebComponent<CmCard, {}>;
74
90
  export declare const Banner: import("@lit/react").ReactWebComponent<CmBanner, {
75
91
  onDismiss: EventName<CustomEvent>;
@@ -172,11 +188,17 @@ export declare const SideNavigation: import("@lit/react").ReactWebComponent<CmSi
172
188
  item: NavItem;
173
189
  expanded: boolean;
174
190
  }>>;
191
+ onCollapse: EventName<CustomEvent<{
192
+ collapsed: boolean;
193
+ }>>;
175
194
  }>;
176
195
  export declare const HeaderBar: import("@lit/react").ReactWebComponent<CmHeaderBar, {
177
196
  onStoreSwitch: EventName<CustomEvent>;
178
197
  onWallet: EventName<CustomEvent>;
179
198
  onAccount: EventName<CustomEvent>;
199
+ onSearchToggle: EventName<CustomEvent<{
200
+ open: boolean;
201
+ }>>;
180
202
  }>;
181
203
  export declare const BottomNavigation: import("@lit/react").ReactWebComponent<CmBottomNavigation, {
182
204
  onNavigate: EventName<CustomEvent<NavigateDetail>>;
@@ -246,6 +268,7 @@ export declare const NotificationPanel: import("@lit/react").ReactWebComponent<C
246
268
  value: string;
247
269
  item: NotificationItem;
248
270
  }>>;
271
+ onMarkAllRead: EventName<CustomEvent>;
249
272
  onOpen: EventName<CustomEvent>;
250
273
  onClose: EventName<CustomEvent<{
251
274
  reason: CloseReason;
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { createComponent } from '@lit/react';
3
- import { CmButton, CmTextField, CmCheckbox, CmRadio, CmRadioGroup, CmToggle, CmSelect, CmSearch, CmCombobox, CmDatePicker, CmDateRangePicker, CmFileUpload, CmOptionGroup, CmTag, CmBadge, CmCard, CmBanner, CmIcon, CmPageHeader, CmActionBar, CmSaveBar, CmInfoPanel, CmInfoItem, CmAccordion, CmEmptyState, CmSkeleton, CmSkeletonDisplay, CmComment, CmCommentBox, CmSmartTip, CmSmartTips, CmPagination, CmStatusTabs, CmTableHeader, CmDataTable, CmResourceList, CmResourceItem, CmNestedList, CmNestedItem, CmReportTile, CmReportTiles, CmNavItem, CmSideNavigation, CmHeaderBar, CmBottomNavigation, CmMobileMenu, CmFlashOfferBar, CmLinkTabs, CmAppCard, CmModal, CmSidePanel, CmFilterPanel, CmMenuItem, CmActionMenu, CmBottomSheet, CmNotificationPanel, CmNotificationItem, CmAvatar, CmThumbnail, CmTooltip, CmToast, CmToastRegion, CmSpinner, CmProgressBar, CmStack, CmGrid, CmLayout, CmLayoutSection, CmPage } from '@commmerce/ui';
3
+ import { CmButton, CmTextField, CmCheckbox, CmRadio, CmRadioGroup, CmToggle, CmSelect, CmSearch, CmCombobox, CmGlobalSearch, CmDatePicker, CmDateRangePicker, CmFileUpload, CmOptionGroup, CmTag, CmBadge, CmCard, CmBanner, CmIcon, CmPageHeader, CmActionBar, CmSaveBar, CmInfoPanel, CmInfoItem, CmAccordion, CmEmptyState, CmSkeleton, CmSkeletonDisplay, CmComment, CmCommentBox, CmSmartTip, CmSmartTips, CmPagination, CmStatusTabs, CmTableHeader, CmDataTable, CmResourceList, CmResourceItem, CmNestedList, CmNestedItem, CmReportTile, CmReportTiles, CmNavItem, CmSideNavigation, CmHeaderBar, CmBottomNavigation, CmMobileMenu, CmFlashOfferBar, CmLinkTabs, CmAppCard, CmModal, CmSidePanel, CmFilterPanel, CmMenuItem, CmActionMenu, CmBottomSheet, CmNotificationPanel, CmNotificationItem, CmAvatar, CmThumbnail, CmTooltip, CmToast, CmToastRegion, CmSpinner, CmProgressBar, CmStack, CmGrid, CmLayout, CmLayoutSection, CmPage, CmAppFrame } from '@commmerce/ui';
4
4
  export { showToast, configure, setStrings, resetStrings, getDefaultStrings, formatNumber, formatDate } from '@commmerce/ui';
5
5
  export const Button = createComponent({ tagName: 'cm-button', elementClass: CmButton, react: React });
6
6
  export const TextField = createComponent({
@@ -65,6 +65,15 @@ export const Combobox = createComponent({
65
65
  onCreate: 'cm-create',
66
66
  },
67
67
  });
68
+ export const GlobalSearch = createComponent({
69
+ tagName: 'cm-global-search',
70
+ elementClass: CmGlobalSearch,
71
+ react: React,
72
+ events: {
73
+ onSearch: 'cm-search',
74
+ onSelect: 'cm-select',
75
+ },
76
+ });
68
77
  export const DatePicker = createComponent({
69
78
  tagName: 'cm-date-picker',
70
79
  elementClass: CmDatePicker,
@@ -113,6 +122,12 @@ export const Grid = createComponent({ tagName: 'cm-grid', elementClass: CmGrid,
113
122
  export const Layout = createComponent({ tagName: 'cm-layout', elementClass: CmLayout, react: React });
114
123
  export const LayoutSection = createComponent({ tagName: 'cm-layout-section', elementClass: CmLayoutSection, react: React });
115
124
  export const Page = createComponent({ tagName: 'cm-page', elementClass: CmPage, react: React });
125
+ export const AppFrame = createComponent({
126
+ tagName: 'cm-app-frame',
127
+ elementClass: CmAppFrame,
128
+ react: React,
129
+ events: { onMenuToggle: 'cm-menu-toggle' },
130
+ });
116
131
  export const Card = createComponent({ tagName: 'cm-card', elementClass: CmCard, react: React });
117
132
  export const Banner = createComponent({
118
133
  tagName: 'cm-banner',
@@ -239,6 +254,7 @@ export const SideNavigation = createComponent({
239
254
  events: {
240
255
  onNavigate: 'cm-navigate',
241
256
  onExpand: 'cm-expand',
257
+ onCollapse: 'cm-collapse',
242
258
  },
243
259
  });
244
260
  export const HeaderBar = createComponent({
@@ -249,6 +265,7 @@ export const HeaderBar = createComponent({
249
265
  onStoreSwitch: 'cm-store-switch',
250
266
  onWallet: 'cm-wallet',
251
267
  onAccount: 'cm-account',
268
+ onSearchToggle: 'cm-search-toggle',
252
269
  },
253
270
  });
254
271
  export const BottomNavigation = createComponent({
@@ -319,7 +336,11 @@ export const NotificationPanel = createComponent({
319
336
  tagName: 'cm-notification-panel',
320
337
  elementClass: CmNotificationPanel,
321
338
  react: React,
322
- events: { ...overlayEvents, onSelect: 'cm-select' },
339
+ events: {
340
+ ...overlayEvents,
341
+ onSelect: 'cm-select',
342
+ onMarkAllRead: 'cm-mark-all-read',
343
+ },
323
344
  });
324
345
  export const Tooltip = createComponent({
325
346
  tagName: 'cm-tooltip',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@commmerce/ui-react",
3
- "version": "1.0.0-rc.5",
3
+ "version": "1.1.0",
4
4
  "description": "React components for Commmerce UI, generated from the web components.",
5
5
  "keywords": [
6
6
  "react",
@@ -10,7 +10,7 @@
10
10
  "ui"
11
11
  ],
12
12
  "author": "Commmerce",
13
- "homepage": "https://commmerce.com/blog/commmerceui/",
13
+ "homepage": "https://commmerce.com/commmerceui/",
14
14
  "bugs": {
15
15
  "email": "support@commmerce.com"
16
16
  },
@@ -27,6 +27,7 @@
27
27
  "files": [
28
28
  "dist",
29
29
  "LICENSE.md",
30
+ "THIRD_PARTY_NOTICES.txt",
30
31
  "README.md"
31
32
  ],
32
33
  "publishConfig": {
@@ -38,7 +39,7 @@
38
39
  "test:react19": "npm ci --prefix react19 --no-audit --no-fund && vitest run --config vitest.react19.config.ts"
39
40
  },
40
41
  "dependencies": {
41
- "@commmerce/ui": "1.0.0-rc.5",
42
+ "@commmerce/ui": "1.1.0",
42
43
  "@lit/react": "1.0.6"
43
44
  },
44
45
  "peerDependencies": {